* test/automated/simple-test.el (undo-auto-boundary-timer): Update
[emacs.git] / lisp / ChangeLog.15
blob9adac3ccb0c4b9ee37b357b6d92020416ad24609
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  Paul Eggert  <eggert@cs.ucla.edu>
583         * emacs-lisp/find-gc.el (find-gc-source-files): Remove filemode.c.
585 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
587         * net/netrc.el (netrc-parse): Comment fix.
589 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
591         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
592         Autoload.  Add optional arg FRAME, and pass it to color-values.
593         (color-complement): Caller changed.  Doc fix.
594         (color-gradient): Rewrite for better clarity and efficiency.
596         * faces.el (color-values): Use cond for clarity.  Doc fix.
598         * facemenu.el (color-rgb-to-hsv): Delete; use the version in
599         color.el instead.
600         (list-colors-sort-key, list-colors-print):
601         Use color-normalized-values.
603 2011-02-20  Drew Adams  <drew.adams@oracle.com>
605         * color.el: First part of merge from hexrgb.el.
606         (color-rgb-to-hex): Rename from color-rgb->hex.
607         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
608         saturation to zero if the value is too small.
609         (color-rgb-to-hsl): Rename from color-rgb->hsl.
610         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
611         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
612         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
613         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
614         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
615         (color-cie-de2000): Doc fix.
617 2011-02-20  Alan Mackenzie  <acm@muc.de>
619         * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
620         locating the beginning of a macro.  (Bug#7595)
622 2011-02-20  Glenn Morris  <rgm@gnu.org>
624         * edmacro.el (edmacro-eight-bits): Make it a defcustom.
625         Don't autoload it.
627         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
628         (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
630 2011-02-19  Dmitry Bolshakov  <dmitry.bolshakov@bridge-quest.com>
631             Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
633         * progmodes/hideshow.el (hs-find-block-beginning)
634         (hs-hide-level-recursive): Ignore comments when parsing braces
635         (Bug#8036).
637 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
639         * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
640         (vc-bzr-pull): Use it.
642 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
644         * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
645         (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
646         but returning an alist.  Ignore comments in bzr conffile.
647         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
648         (vc-bzr-error-regex-alist): New var.
649         (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
651         * vc/vc-dispatcher.el (vc-do-async-command):
652         Bind inhibit-read-only to t.
654         * progmodes/compile.el (compilation--flush-directory-cache):
655         Handle the case where cdr of compilation--flush-directory-cache
656         points to no buffer, which can occur if we previously switched to
657         compilation-mode in a pregenerated buffer.
659 2011-02-19  Kenichi Handa  <handa@m17n.org>
661         * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
662         get the header copy into the temporary buffer.
663         (rmail-mime-insert-decoded-text): Ignore us-ascii.
664         (rmail-show-mime): When rmail-mime-coding-system is nil, set
665         buffer-file-coding-system to undecided.
667 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
669         * international/mule-cmds.el (read-char-by-name, ucs-insert):
670         Document completion with asterisk and a substring.
672 2011-02-19  Glenn Morris  <rgm@gnu.org>
674         * files.el (find-file-literally): Doc fix.
676         * simple.el (rfc822-goto-eoh): Give it a doc-string.
678         * log-edit.el (log-edit-insert-changelog):
679         Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
681 2011-02-19  Glenn Morris  <rgm@gnu.org>
683         * dired-x.el: Don't require dired-aux.
684         (dired-do-create-files, dired-mark-read-regexp)
685         (dired-do-create-files-regexp): Autoload from dired-aux.
687         * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
688         * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
690         * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
691         * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
693         * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
694         * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
695         (dired-clean-up-buffers-too): Declare.
697         * dired-x.el (dired-initial-position): Merge into dired.el's version.
698         * dired.el (dired-initial-position): Merge dired-x's version here.
699         (dired-find-subdir): Declare.
701         * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
702         * dired-aux.el (dired-add-entry): Give it a doc-string.
703         Merge dired-x's dired-omit handling here.
704         (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
706         * international/mule-diag.el (list-input-methods-1):
707         Indent all lines of multi-line doc-strings.  (Bug#8066)
709 2011-02-18  Chong Yidong  <cyd@stupidchicken.com>
711         Fix 2011-02-02 changes.
713         * apropos.el (apropos-print): Call apropos-mode before setting up
714         buffer variables.  Use inhibit-read-only.
716         * emacs-lisp/package.el (package--list-packages):
717         Call package-menu-mode before setting up buffer variables.
719         * play/solitaire.el (solitaire): Call solitaire-mode before
720         setting up buffer variables.  Use inhibit-read-only.
722 2011-02-18  Lawrence Mitchell  <wence@gmx.li>
724         * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
725         Bind case-fold-search to nil when looking for end of here-doc.
727 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
729         * image-mode.el (image-toggle-display-image):
730         Set find-file-literally non-nil in buffers visiting binary image
731         files.  (Bug#8047)
733 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
735         * files.el (cd): Make completion obey cd-path (bug#7924).
737 2011-02-18  Glenn Morris  <rgm@gnu.org>
739         * progmodes/prolog.el: Don't require compile when compiling.
740         (compilation-shell-minor-mode, compilation-error-regexp-alist)
741         (compilation-forget-errors, compilation-fake-loc)
742         (compilation-parse-errors-function, compilation-error-list): Declare.
743         (prolog-inferior-mode): Require 'compile.
745         * emulation/cua-base.el (pc-selection-mode): Declare.
747         * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
748         (customize-object): Add autoload cookie.
749         * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
750         (eieio-browse, describe-class, eieio-describe-class)
751         (eieio-describe-constructor, describe-generic, eieio-describe-generic)
752         (eieio-help-mode-augmentation-maybee): Add autoload cookies.
753         * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
754         * Makefile.in (autoloads): Make eieio.el writable.
756         * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
757         (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
758         (dired-hack-local-variables): Use inhibit-read-only.
759         (dired-guess-default): Simplify.
760         (dired-make-relative-symlink): Use dotimes.
761         (dired-simultaneous-find-file): Use dolist.
762         (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
763         (dired-x-hands-off-my-keys): Doc fix.
764         (dired-x-bind-find-file): Doc fix.  Use remapping.
765         (after-init-hook): No need to add dired-x-bind-find-file.
766         (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
767         No need to call expand-file-name.
768         (dired-filename-at-point): Remove unused locals `end', `filename'.
770 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
772         * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
774 2011-02-18  Christian Ohler  <ohler@gnu.org>
776         * emacs-lisp/ert.el (ert--setup-results-buffer)
777         (ert-results-pop-to-backtrace-for-test-at-point)
778         (ert-results-pop-to-messages-for-test-at-point)
779         (ert-results-pop-to-should-forms-for-test-at-point)
780         (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
781         were incorrect and unnecessary.  This should make `make check'
782         pass again.
784 2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
786         * allout-widgets.el (allout-widgets-icons-light-subdir)
787         (allout-widgets-icons-dark-subdir): Track relocations of icons.
788         * allout.el: Remove commentary about remove encryption
789         passphrase mnemonic support and verification.
790         (allout-encrypt-string): Recognize epg failure to decrypt gpg2
791         armored text using gpg1, and indicate that the gpg version *might*
792         be the problem in the error message.
794 2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
796         * net/rcirc.el (rcirc-float-time): New function.
797         (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
798         (rcirc-ctcp-sender-PING): Use it.
800 2011-02-17  Glenn Morris  <rgm@gnu.org>
802         * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
803         (speedbar-update-flag, speedbar-fetch-etags-command)
804         (speedbar-fetch-etags-arguments):
805         * term.el (term-buffer-maximum-size, term-input-chunk-size)
806         (term-completion-autolist, term-completion-addsuffix)
807         (term-completion-recexact, term-completion-fignore):
808         * term/sup-mouse.el (sup-mouse-fast-select-window):
809         * term/x-win.el (x-select-request-type):
810         Convert some defvars with "*" to defcustoms.
812         * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
814         * vc/vc.el (vc-default-previous-version):
815         Remove alias that points nowhere.  (Bug#4496)
817         * dired-x.el (dired-clean-up-after-deletion):
818         kill-buffer does not need save-excursion.
819         (dired-do-run-mail): Doc fix.
820         (dired-filename-at-point): Doc fix.
821         Use looking-at, and skip-chars rather than re search.
823         * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
825 2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
827         * allout-widgets.el: New allout extension that shows allout
828         outline structure with graphical widgets.  'allout-widgets'
829         customize group is an 'allout' subgroup, for easy discovery.
831         * allout.el: Include PGP and GnuPG in Keywords, and other
832         commentary refinements.
833         (allout-abbreviate-flattened-numbering): Rename to
834         allout-flattened-numbering-abbreviation, and
835         define-obsolete-variable-alias the old name.
836         (allout-flattened-numbering-abbreviation): Rename from
837         allout-abbreviate-flattened-numbering.
838         (allout-mode-p): Include among autoloads, for use by other modes
839         with impunity.
840         (allout-listify-exposed):
841         Use allout-flattened-numbering-abbreviation.
842         (allout-encrypt-string): Use set-buffer-multibyte directly.
843         (allout-set-buffer-multibyte): Remove.
845 2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
847         * simple.el (just-one-space): Remove useless `or' call.
849 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
851         * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
852         (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
853         (soap-decoded-multi-refs, soap-current-wsdl)
854         (soap-encoded-namespaces): Rename CL-style *...* variables.
856 2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
858         * net/soap-client.el: Add "comm" and "hypermedia" to the
859         keywords.  Reflow too long lines.
861         * net/soap-inspect.el: Ditto.  Require 'cl.
863 2011-02-16  Bastien Guerry  <bzg@altern.org>
865         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
866         in a `doctor-type' argument.
868 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
870         * net/soap-client.el:
871         * net/soap-inspect.el: New files.
873 2011-02-16  Leo Liu  <sdl.web@gmail.com>
875         * dired-x.el (dired-mode-map, dired-extra-startup):
876         Remove dired-copy-filename-as-kill since it's already in dired.el.
878 2011-02-16  Glenn Morris  <rgm@gnu.org>
880         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
881         Doc fixes.  Add :set property, replacing top-level calls.
882         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
883         (dired-guess-shell-gnutar): Test tar version rather than system-type.
884         (dired-extra-startup, dired-man, dired-info): Doc fixes.
885         (dired-clean-up-after-deletion): Use when and dolist.
886         (dired-jump): Use unless and when.
887         (dired-virtual): Use line-end-position.
888         (dired-default-directory-alist): Rename from default-directory-alist.
889         (dired-default-directory): Update for above name change.
890         (dired-vm): Drop VM < 5 and simplify.
891         (dired-buffer-more-recently-used-p): Rewrite.
892         (dired-filename-at-point): Use when and or.
893         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
894         Update callers.
896 2011-02-15  Glenn Morris  <rgm@gnu.org>
898         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
900 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
902         * vc/vc-git.el (vc-git-root-log-format): New option for
903         customizing log format.
904         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
905         (vc-git-log-view-mode): Use it.
906         (vc-git-expanded-log-entry): New function.
907         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
909         * vc/vc-hg.el (vc-hg-root-log-template): New option for
910         customizing log format.
911         (vc-hg-print-log): Use it.
912         (vc-hg-expanded-log-entry): New function.
913         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
914         vc-hg-expanded-log-entry.  Truncate lines in root log.
916         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
918         * vc/log-view.el (log-view-mode-menu):
919         Add log-view-toggle-entry-display.
921 2011-02-14  Glenn Morris  <rgm@gnu.org>
923         * dired-x.el: Don't require man when compiling.
924         (dired-omit-extensions, dired-local-variables-file)
925         (dired-x-hands-off-my-keys): Make them defcustoms.
926         (Man-support-local-filenames, Man-getpage-in-background): Declare.
927         (vm-visit-folder): Declare rather than defining.
928         (dired-x-help-address, dired-x-variable-list): Remove.
929         (dired-x-submit-report): Make it an obsolete alias.
931 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
933         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
935 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
937         * net/imap.el: Bring it back.
939 2011-02-13  Alan Mackenzie  <acm@muc.de>
941         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
942         narrow-to-region call that cuts context off the end (Bug#7722).
944         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
945         Refactor nested if-forms with a simple cond.
946         (c-forward-<>-arglist): Revert 2011-01-31 change.
948 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
950         * vc/log-view.el: New command log-view-toggle-entry-display for
951         toggling log entries between concise and detailed forms.
952         (log-view-toggle-entry-display): New command.
953         (log-view-mode-map): Bind RET to it.
954         (log-view-expanded-log-entry-function): New variable.
955         (log-view-current-entry, log-view-inside-comment-p)
956         (log-view-current-tag): New functions.
957         (log-view-toggle-mark-entry): Use log-view-current-entry and
958         log-view-end-of-defun instead of searching directly with
959         log-view-message-re.
960         (log-view-end-of-defun): Likewise.  Add optional ARG for
961         compatibility with end-of-defun.
962         (log-view-end-of-defun): Ignore comments and VC buttons.
964         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
965         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
967 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
969         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
971         * net/imap-hash.el: Remove file.
973 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
975         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
977         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
978         call.
980         * net/tramp-imap.el: Remove file.
982 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
984         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
985         widget library for buttons, just use button.el.
987         * vc/log-view.el (log-view-mode-map): Don't inherit from
988         widget-keymap.
990 2011-02-12  Glenn Morris  <rgm@gnu.org>
992         * emacs-lisp/cl-seq.el (union, nunion, intersection)
993         (nintersection, set-difference, nset-difference)
994         (set-exclusive-or, nset-exclusive-or): Doc fix.
996         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
998         * faces.el (face-attr-match-p): Handle the obsolete :bold and
999         :italic props, so that frame-set-background-mode works.  (Bug#7966)
1001         * simple.el (next-error): Doc fix.
1003 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1005         * dired-aux.el (dired-create-files): Adapt destination name to
1006         match the new behavior of copy-directory.
1008 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
1010         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1011         from rmail-dont-reply-to-names.  Callers changed.
1012         (mail-dont-reply-to): Rename from mail-dont-reply-to.
1013         (rmail-dont-reply-to): Make it an obsolete alias.
1015         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1016         nil, and make obsolete (Bug#7888).
1017         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1019         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1021         * mail/rmailsort.el (rmail-sort-by-correspondent)
1022         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
1024         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1026 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1028         * files.el (copy-directory): New argument COPY-CONTENTS for
1029         copying directory contents into another existing directory.
1031 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
1033         * minibuffer.el (completion-table-case-fold): New function for
1034         creating a case-insensitive completion table.
1036 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
1038         * net/tramp.el (tramp-default-method): Also check if
1039         `auth-source-search' is bound.
1040         (tramp-read-passwd): Use `auth-source-search' instead of
1041         `auto-source-user-or-password'.
1043         * net/tramp-imap.el: Autoload `auto-source-search' instead of
1044         `auto-source-user-or-password.
1045         (tramp-imap-passphrase-callback-function): Use it.
1047         * net/imap-hash.el: Autoload `auto-source-search' instead of
1048         `auto-source-user-or-password.
1049         (imap-hash-open-connection): Use it.
1051         * mail/smtpmail.el: Autoload `auto-source-search' instead of
1052         `auto-source-user-or-password.
1053         (smtpmail-try-auth-methods): Use it.
1055 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
1057         * emacs-lisp/package.el: Allow packages to be reinstalled.
1058         (package--write-file-no-coding): Remove EXCL arg.
1059         (package-unpack-single): Don't use it.
1061 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
1063         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1064         in each sub directory.
1065         (vc-svn-registered): Use vc-svn-root.
1066         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
1067         (vc-svn-repository-hostname): Use "svn info".
1069 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1071         * simple.el (delete-trailing-whitespace): New optional buffer
1072         bound parameters.
1074 2011-02-11  Bastien Guerry  <bzg@altern.org>
1076         * files.el (basic-save-buffer): save unmodified buffers when
1077         the file pointed by buffer-file-name doesn't exist.
1079 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1081         * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1083 2011-02-11  Glenn Morris  <rgm@gnu.org>
1085         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1087 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
1089         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1091 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1093         * server.el (server-process-filter): Use pcase.
1095         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1096         conflicting ways.
1097         (smie-indent--parent): Extend to "parent of arg".
1098         (smie-indent-inside-string): New function.
1099         (smie-indent-functions): Use it.
1101         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1102         bzr locking race condition.
1104         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1105         still valid before using it.
1107         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1108         `message' -> `compilation-message' rename (bug#8004).
1110         Move keymap initialization into declaration.
1111         * textmodes/enriched.el (enriched-mode-map):
1112         * textmodes/bib-mode.el (bib-mode-map):
1113         * term/lk201.el (lk201-function-map):
1114         * tar-mode.el (tar-mode-map):
1115         * replace.el (occur-mode-map):
1116         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1117         * progmodes/idlw-help.el (idlwave-help-mode-map):
1118         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1119         * play/solitaire.el (solitaire-mode-map):
1120         * play/snake.el (snake-mode-map, snake-null-map):
1121         * play/pong.el (pong-mode-map):
1122         * play/handwrite.el (menu-bar-handwrite-map):
1123         * play/gametree.el (gametree-mode-map):
1124         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1125         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1126         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1127         (newsticker--url-keymap):
1128         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1129         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1130         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1131         (menu-bar-edit-menu, menu-bar-custom-menu)
1132         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1133         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1134         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1135         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1136         (menu-bar-tools-menu, menu-bar-describe-menu)
1137         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1138         (menu-bar-help-menu):
1139         * mail/rmailsum.el (rmail-summary-mode-map):
1140         * kmacro.el (kmacro-step-edit-map):
1141         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1142         (ibuffer-mode-operate-map):
1143         * hi-lock.el (hi-lock-menu, hi-lock-map):
1144         * emulation/vip.el (vip-mode-map):
1145         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1146         * bookmark.el (bookmark-bmenu-mode-map):
1147         * help-mode.el (help-mode-map): Move initialization into declaration.
1149 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1151         * net/rcirc.el: Add PRIVMSG and CTCP functions.
1152         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1153         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1154         (rcirc-cmd-me, rcirc-authenticate): Use them.
1156 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
1158         * allout.el: Synopsis: Change allout user configuration so
1159         auto-activation is controlled solely by customization
1160         `allout-auto-activation'.
1162         (allout-auto-activation-helper, allout-setup): New autoloads
1163         implement new custom set procedure for allout-auto-activation.
1164         Also, explicitly invoke (allout-setup) after allout-auto-activation
1165         is custom-defined, to affect the settings in emacs sessions besides
1166         the few where allout-auto-activation customization is done.
1167         (allout-auto-activation): Use allout-auto-activation-helper to
1168         :set.  Revise the docstring.
1169         (allout-init): Reduce functionality to just customizing
1170         allout-auto-activation, and mark obsolete.
1171         (allout-mode): Respect string values for allout-auto-activation.
1172         Run allout-after-copy-or-kill-hook without any args.
1173         (allout-mode, allout-layout, allout-default-layout)
1174         (outlineify-sticky): Adjust docstring for new scheme.
1175         (allout-after-copy-or-kill-hook): No arguments - hook implementers
1176         should concentrate on the kill ring.
1178 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
1180         * password-cache.el (password-cache-remove): Accept secrets that are
1181         not strings.
1183 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1185         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1186         of here-doc that immediately follows a comment.
1188 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1190         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1192         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1193         available.
1194         (rcirc-ctcp-sender-PING): New function.
1196 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1198         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1199         Remove the mark/nomark handling, and activate shift-select-mode instead.
1201         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1203 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
1205         * calc/calc-units.el (math-logunits-quant): Add support for
1206         non-logarithmic units.
1208 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
1210         * allout.el (allout-after-copy-or-kill-hook): New hook for
1211         extension-specific processing of killed text.
1212         (allout-mode): Include new allout-after-copy-or-kill-hook among
1213         mentioned hooks.
1214         (allout-kill-line, allout-kill-topic): Ensure that processing
1215         after kill happens even if barf-if-buffer-read-only is raised.
1216         Include new allout-after-copy-or-kill-hook among that subsequent
1217         processing.
1218         (allout-deannotate-hidden): Actually remove the annotation text
1219         properties.
1221         * allout.el (allout-listify-exposed): Copy text sans text properties.
1223 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
1225         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1227 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1229         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1231 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
1233         * calc/calc.el (calc-logunits-field-reference): Rename from
1234         `calc-default-field-reference-level'.
1235         (calc-logunits-power-reference): Rename from
1236         `calc-default-power-reference-level'.
1238         * calc/calc-units.el (math-logunits-quant): Rename from
1239         `math-logunits-level'
1240         (math-logunits-plus): Rename from math-logcombine.
1241         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1242         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1243         (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1244         New functions.
1245         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1246         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1247         (calc-logunits-quantity): Rename from `calc-level'.
1248         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1249         (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1250         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1251         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1252         (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1253         New functions.
1255         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1256         (calc-ul-prefix-help): Remove.
1257         (calc-l-prefix-help): New function.
1258         (calc-full-help): Add reference to `calc-l-prefix-help'.
1260         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1262         * calc/README: Mention logarithmic units.
1264 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
1266         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1267         non-ASCII characters (Bug#7925).
1269 2011-02-05  Glenn Morris  <rgm@gnu.org>
1271         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1273         * calendar/diary-lib.el (diary-font-lock-keywords):
1274         Tweak diary-time-regexp match.  (Bug#7891)
1276         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
1277         (f90-mode): Use it for mode's `find-tag-default-function' property.
1279         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
1281         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
1283 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1285         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1286         (Bug#6386).
1288 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1290         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1291         font-lock-syntax-table remappings.
1292         (sh-here-doc-markers, sh-here-doc-re): Remove.
1293         (sh-font-lock-close-heredoc): Remove.
1294         (sh-syntax-propertize-here-doc): New function.
1295         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1296         instead of the sh-here-doc-re.
1297         (sh-font-lock-paren): Don't do anything in comments or strings.
1298         Handle line continuations.  Accept a few more chars.
1299         Don't rely on the font-lock-syntax-table remappings.
1300         `esac' is not a valid pattern.
1301         (sh-syntax-propertize-function): Handle here-docs differently, so we
1302         don't bother syntax-propertizing the insides.
1304         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1305         Handle new bashisms ";&" and ";;&" (bug#7947).
1307 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
1309         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1310         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1312 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
1314         * net/tramp.el (tramp-postfix-method-format)
1315         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1316         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1317         (tramp-postfix-user-regexp, tramp-prefix-port-format)
1318         (tramp-prefix-port-regexp, tramp-postfix-host-format)
1319         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1320         Doc fix.
1322 2011-02-04  Sam Steingold  <sds@gnu.org>
1324         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1326 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
1328         * international/mule-util.el (with-coding-priority): Doc fix.
1330 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1332         * arc-mode.el (archive-mode-map): Fix a typo in last change.
1334 2011-02-03  Sam Steingold  <sds@gnu.org>
1336         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1337         Do not error out when `func' is nil.
1339 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
1341         * net/tramp-sh.el (tramp-remote-path): Add default settings for
1342         `tramp-default-remote-path' to the docstring.
1343         (tramp-get-remote-path): Suppress error message when `getconf
1344         PATH' fails.
1346         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1348 2011-02-03  Glenn Morris  <rgm@gnu.org>
1350         * vc/vc-hg.el (vc-hg-command): Doc fix.
1352         * term/w32-win.el (libpng-version): Declare for compiler.
1354         * msb.el: No need to load dired while compiling.
1356         * emacs-lisp/elint.el (elint-standard-variables):
1357         Remove a couple of built-ins that now have doc-strings.
1359         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1360         `require' is automatically `eval-and-compile'd.
1362         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1363         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1365         * strokes.el (strokes-fill-current-buffer-with-whitespace):
1366         Move definition before use.
1367         (strokes-report-bug): Make it obsolete.
1369 2011-02-02  Sam Steingold  <sds@gnu.org>
1371         * apropos.el (apropos-print): Now that `apropos-mode' inherits
1372         from `special-mode', entering it makes the buffer read-only, so
1373         call it only when everything has been already inserted.
1374         * emacs-lisp/ert.el (ert--setup-results-buffer)
1375         (ert-results-pop-to-backtrace-for-test-at-point)
1376         (ert-results-pop-to-messages-for-test-at-point)
1377         (ert-results-pop-to-timings): Ditto.
1378         * emacs-lisp/package.el (package--list-packages): Ditto.
1379         * play/solitaire.el (solitaire): Ditto.
1381 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
1383         * progmodes/compile.el: Make all faces inherit.
1384         (compilation-warning): Inherit from font-lock-variable-name-face.
1385         (compilation-info): Inherit from font-lock-type-face.
1386         (compilation-line-number): Reassign to font-lock-keyword-face.
1387         (compilation-column-number): Reassign to font-lock-doc-face.
1388         (compilation-leave-directory-face): Reassign to
1389         font-lock-builtin-face.
1391 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
1393         * dired.el (dired-insert-directory): Don't invoke `ls' when
1394         ls-lisp.el is used to emulate it.
1396 2011-02-01  Julien Danjou  <julien@danjou.info>
1398         * color.el (color-gradient): Add a color-gradient function.
1400 2011-02-01  Sam Steingold  <sds@gnu.org>
1402         * simple.el (special-mode-map): Bind "h" to `describe-mode';
1403         bind "z" to `kill-this-buffer'.
1404         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1405         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1406         (apropos-mode): Inherit from `special-mode'.
1407         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1408         * bookmark.el (bookmark-bmenu-mode): Define using
1409         `define-derived-mode' inheriting from `special-mode'.
1410         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1411         * image-mode.el (image-mode-map): Ditto.
1412         * replace.el (occur-mode): Define using
1413         `define-derived-mode' inheriting from `special-mode'.
1414         * tar-mode.el (tar-mode): Inherit from `special-mode'.
1415         * calendar/diary-lib.el (diary-fancy-display-mode):
1416         Inherit from `special-mode-map'.
1417         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1418         Inherit from `special-mode'.
1419         * emacs-lisp/package.el (package-menu-mode-map): Copy from
1420         `special-mode-map'.
1421         (package-menu-mode): Define using `define-derived-mode'
1422         inheriting from `special-mode'.
1423         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1424         (xesam-mode-map): Define separately.
1425         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1426         * progmodes/compile.el (compilation-minor-mode-map)
1427         (compilation-mode-map): Inherit from `special-mode-map'.
1428         * vc/diff-mode.el (diff-mode-shared-map):
1429         Inherit from `special-mode-map'.
1430         * vc/log-view.el (log-view-mode-map): Add a comment.
1432 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
1434         * custom.el (load-theme): Define return value.  Drop use of
1435         unsafep; call custom-theme-load-confirm for non-known-safe themes.
1436         (custom-theme-load-confirm): Scroll in the correct window.
1437         (custom-enabled-themes): Add custom-safe-themes to :set-after.
1439         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1440         checkbox if load-theme fails.
1442 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1444         * progmodes/compile.el (compilation-next-error): Check there's
1445         a message before using it (bug#7941).
1447 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
1449         * calc/calc-mtx.el (math-lud-pivot-check): New function.
1450         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1451         of potential pivots.
1453 2011-01-31  Alan Mackenzie  <acm@muc.de>
1455         * progmodes/cc-cmds.el (c-forward-over-illiterals):
1456         Continue parsing if we encounter a naked # (Bug#7595).
1457         (c-beginning-of-statement): Avoid loop in locating the beginning
1458         of a macro.  (Not actually committed until 2011-02-20, see above).
1460 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1462         * files.el (copy-directory): Fix arguments to recursive call.
1464 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1466         * files.el (copy-directory): If destination is an existing
1467         directory, copy into a subdirectory there.
1469 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
1471         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1472         files.
1474 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1476         * image-dired.el (image-dired-mouse-display-image): No-op if no
1477         file is found (Bug#7817).
1479         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1481 2011-01-31  Kenichi Handa  <handa@m17n.org>
1483         * international/quail.el (quail-keyboard-layout-alist):
1484         Remove superfluous SPC for "pc105-uk" (bug#7927).
1486 2011-01-31  Glenn Morris  <rgm@gnu.org>
1488         * msb.el (msb-menu-bar-update-buffers): Update for changed
1489         argument handling of menu-bar-select-frame.  (Bug#7902)
1491 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1493         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1494         to the recursion depth (Bug#7722).
1496 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
1498         * term/ns-win.el (ns-find-file): Expand ns-input-file with
1499         command-line-default-directory (Bug#7872).
1501 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1503         * progmodes/compile.el (compilation--flush-directory-cache):
1504         New function, extracted from compilation--remove-properties.
1505         (compilation--remove-properties, compilation--parse-region): Use it.
1506         (compilation--previous-directory): Handle one more case.
1507         (compilation-enable-debug-messages): Remove.
1508         (compilation-parse-errors, compilation--flush-parse): Just remove the
1509         left over debug messages.
1511 2011-01-31  Sam Steingold  <sds@gnu.org>
1513         * progmodes/compile.el (compilation-enable-debug-messages):
1514         Add a variable to make the parsing messages introduced in
1515         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1516         (compilation-parse-errors, compilation--flush-parse): Use it.
1518 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1520         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
1521         (rcirc-nick-completion-format): New defcustom.
1522         (rcirc-complete): Use it.
1524 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1526         * net/rcirc.el: Clean log filenames (Bug#7933).
1527         (rcirc-log-write): Use convert-standard-filename.
1528         (rcirc-log-filename-function): Documentation updates.
1530 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
1532         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1533         Check report-emacs-bug-can-use-osx-open and use that if t.
1534         (report-emacs-bug-can-use-osx-open): New function.
1535         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1536         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1538 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1540         * vc/vc-dispatcher.el (vc-set-async-update): New function for
1541         updating Dired or VC-dir buffers after async command completes.
1543         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1544         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1546         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1547         completions if it exists.  Use vc-set-async-update.
1548         (vc-git-pull): Use vc-set-async-update.
1550         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1551         read-shell-command.  Use vc-set-async-update.
1552         (vc-hg-merge-branch): Use vc-set-async-update.
1554 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
1556         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1557         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1558         (Bug#7931).
1560 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1562         * progmodes/compile.el: Avoid an N² behavior in grep.
1563         (compilation--previous-directory): New fun.
1564         (compilation--previous-directory-cache): New var.
1565         (compilation--remove-properties): Flush it.
1566         (compilation-directory-properties, compilation-error-properties):
1567         Use the new fun to speed up looking for the current directory.
1569 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1571         * vc/vc-hg.el (vc-hg-history): New var.
1572         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1573         (vc-hg-merge-branch): New function.
1575         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1576         the other way around.
1578         * vc/vc-git.el (vc-git-branches, vc-git-pull)
1579         (vc-git-merge-branch): New functions.
1580         (vc-git-history): New var.
1582 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1584         * vc/vc-dispatcher.el (vc-do-async-command): New function.
1586         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1587         vc-do-async-command.
1589         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1590         Callers changed.
1592 2011-01-28  Leo Liu  <sdl.web@gmail.com>
1594         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1595         highlighting to the "this function is advised" message.
1597         * help-mode.el (help-mode-finish): Apply highlighting here, to
1598         avoid clobbering by substitute-command-keys (Bug#6304).
1600 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1602         * woman.el (woman0-roff-buffer): Process roff escape sequences
1603         occurring prior to the first request (Bug#7843).
1605 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1607         * progmodes/compile.el: Don't use font-lock any more.
1608         (compilation-error-regexp-alist-alist): Change handling of makepp
1609         so it preserves the warning/error distinction on subsequent files.
1610         Simplify various rules.
1611         (compilation-directory-properties): Use font-lock-face.
1612         Add a compilation-message property.
1613         (compilation-internal-error-properties): Use font-lock-face.
1614         Don't set the compilation-debug property here.
1615         (compilation--put-prop, compilation--remove-properties)
1616         (compilation--parse-region, compilation--ensure-parse)
1617         (compilation--ensure-parse): New functions.
1618         (compilation-parse-errors): New function, largely inspired of
1619         compilation-mode-font-lock-keywords.  Set compilation-debug here.
1620         (compilation--parsed): New var.
1621         (compilation--flush-parse): Use compilation--ensure-parse.
1622         (compilation-start): Don't call font-lock.
1623         (compilation-turn-on-font-lock): Remove.
1624         (compilation-setup): Don't set font-lock-extra-managed-props not change
1625         other font-lock settings, other than keywords.
1626         Don't activate font-lock-mode.
1627         Set change-major-mode-hook and before-change-functions.
1628         (compilation--unsetup): Remove properties and hooks.
1629         (compilation-next-single-property-change): New function.
1630         (compilation-next-error): Use it to parse when needed.
1631         (compile-goto-error): Parse buffer as needed.
1632         (compilation--compat-error-properties): Don't need a dummy `face'
1633         property any more.
1635 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1637         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1638         (compilation-process-setup-function): Fix docstring's false promises.
1639         (compilation-error-regexp-alist-alist): Catch omake's continuous
1640         recompilation message and avoid reuse of old markers.
1641         (compilation-parse-errors-function): Declare obsolete.
1642         (compilation-buffer-modtime): Remove.
1643         (compilation--make-cdrloc, compilation--loc->col)
1644         (compilation--loc->line, compilation--loc->file-struct)
1645         (compilation--loc->marker, compilation--loc->visited)
1646         (compilation--make-file-struct, compilation--file-struct->file-spec)
1647         (compilation--file-struct->formats)
1648         (compilation--file-struct->loc-tree): New macros.  Use them.
1649         (compilation--message): New defstruct.  Use them.
1650         (compilation-next-error-function): Don't mess with timestamps to try
1651         and guess when to reparse.
1653 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1655         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1656         (tex-old-error-file-name): New function,
1657         extracted from tex-compilation-parse-errors.
1658         (tex-compilation-parse-errors): Remove.
1659         (tex-error-regexp-alist): New var.
1660         (tex-shell): Use it to avoid compilation-parse-errors-function.
1662         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1663         (grep-mode-font-lock-keywords): Remove regexp that seems like
1664         a left-over from before we used compile.el.
1665         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1666         modifying the buffer within with-silent-modifications.
1668         * progmodes/compile.el: Cleanup text-properties namespace by using
1669         `compilation-message' instead of `message', `compilation-directory'
1670         instead of `directory', and `compilation-debug' instead of `debug'.
1671         (compilation-last-buffer, compilation-parsing-end)
1672         (compilation-error-list, compilation-old-error-list): Move to the
1673         compatibility part of the code.
1674         (compilation-error-properties): If `file' is a function, let it return
1675         a file name.
1676         (compilation-mode-font-lock-keywords): Be more conservative with the
1677         omake "^ *" pattern prefix, to try and minimize the risk of
1678         pathologically slow regexp matching.
1679         (compilation-start): Use inhibit-read-only.
1680         (compilation--unsetup): New function.
1681         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1682         (compilation-filter): Minor tweaks.
1683         (compilation-next-error-function): Try and avoid abusing variables.
1684         (compilation--flush-file-structure): New fun.
1685         (compilation-fake-loc): Use it to improve behavior when file is reused.
1686         (debug-ignored-errors): Add "Moved past last ...".
1687         (compilation--compat-error-properties)
1688         (compilation--compat-parse-errors): Rename by doubling the "-".
1690         Port features from the previous prolog.el to the new one.
1691         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1692         (prolog-program-name, prolog-program-switches, prolog-consult-string)
1693         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1694         variable and use a function to compute the value dynamically.
1695         (prolog-prompt-regexp): Add regexp for GNU Prolog.
1696         (prolog-continued-prompt-regexp): Remove, unused.
1697         (prolog-find-value-by-system): Try and use the value of prolog-system
1698         in the *prolog* buffer if it helps.
1699         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1700         (prolog-zip-on): ..and check prolog-system and version here instead.
1701         (prolog-inferior-self-insert-command): New command.
1702         (prolog-inferior-mode-map): Use it.
1703         (prolog-inferior-error-regexp-alist): New var.
1704         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1705         (prolog-input-filter): Use derived-mode-p.
1706         (prolog-inferior-guess-flavor): New function.
1707         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
1708         make-comint to avoid running comint-mode twice.
1709         (prolog-inferior-buffer): New fun.
1710         (prolog-old-process-region, prolog-old-process-file):
1711         Don't call prolog-bsts here...
1712         (prolog-build-prolog-command): ...do it here instead.
1713         (prolog-old-process-region, prolog-old-process-file):
1714         Use compilation-fake-loc and compilation-forget-errors.
1715         (prolog-consult-compile-region): Use bolp.
1717 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1719         * image-mode.el (image-display-size): Doc fix (Bug#7820).
1721 2011-01-27  Sam Steingold  <sds@gnu.org>
1723         * midnight.el (clean-buffer-list-kill-never-buffer-names):
1724         Remove "*server*" which is never created by emacs server.
1726 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1728         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1729         there are some diff switches.
1731 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1733         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1734         Copy change made to ruby-font-lock-syntactic-keywords.
1736         * htmlfontify.el: Make it obey the font-lock-face text property.
1737         Miscellaneous cleanup such as:
1738         - Don't hide expressions after a closing paren.
1739         - Move initial setq into let.
1740         - Hoist common parts out of ifs.
1741         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1742         (hfy-face-at): Use get-text-property instead.
1743         (hfy-prop-invisible-p): Use invisible-p if available.
1744         (htmlfontify-manual): Use \\[...].
1745         (hfy-html-quote-regex): Use [...].
1746         (hfy-combined-face-spec): Simplify.
1747         (hfy-compile-face-map): Don't presume point-min==1.
1748         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1749         match end of string.
1750         (hfy-text-p): η-reduce.
1751         (hfy-tags-for-file): Receive cache-hash directly.
1752         (hfy-mark-tag-names): Adjust call.
1754 2011-01-27  Glenn Morris  <rgm@gnu.org>
1756         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1757         (msb-after-load-hook): Remove eval-after-load wackiness.
1759 2011-01-25  Sam Steingold  <sds@gnu.org>
1761         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1762         literal "diff" (important for windows-nt).
1764 2011-01-25  Glenn Morris  <rgm@gnu.org>
1766         * emacs-lisp/copyright.el (copyright-at-end-flag)
1767         (copyright-names-regexp): Add safety properties.
1768         (copyright-year-ranges): New option.
1769         (copyright-find-end): New function, split from copyright-update-year.
1770         (copyright-update-year): Use copyright-find-end.
1771         (copyright-fix-years): Optionally, convert years to ranges.
1772         Handle years continued over comment lines.
1773         Do not mess with the fill-prefix.
1774         Do not call copyright-update.
1775         (copyright-update-directory): Optionally, fix years rather than update.
1776         Skip directories.  Find files with only safe local vars.
1778 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1780         * files.el (file-name-non-special): Only change buffer-file-name after
1781         insert-file-contents if it's `visit'ing the file (bug#7854).
1783 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
1785         * dired.el (dired-revert): Doc fix (Bug#7758).
1787         * simple.el (line-move-visual): Doc fix (Bug#7594).
1789 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1791         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1792         here-doc which ends with an underscore.
1793         (ruby-mode-set-encoding): Skip shebang line always.
1794         (ruby-mode-map): Bind C-c C-c to comment-region.
1795         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1796         (ruby-forward-sexp): Stop after literal hash key labels.
1797         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1798         bracket.
1800 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
1802         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1803         the correct buffer (Bug#7650).
1805 2011-01-25  Glenn Morris  <rgm@gnu.org>
1807         * comint.el (comint-mode): Doc fix.  (Bug#7897)
1809         * simple.el (do-auto-fill): Give it a doc string.
1811         * button.el (make-text-button): Doc fix.  (See bug#7881)
1813 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1815         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1816         Don't move backward, so as not to fall in an inf-loop (bug#7736).
1818         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1819         Handle ?" and friends differently (e.g. don't use backrefs).
1821 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
1823         * calc/calc.el (calc-default-power-reference-level)
1824         (calc-default-field-reference-level): New variables.
1825         * calc/calc-units.el (math-standard-units): Add dB and Np.
1826         (math-logunits): New variable.
1827         (math-extract-logunits, math-logcombine, calcFunc-luplus)
1828         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1829         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1830         New functions.
1831         (math-find-base-units-rec): Add entry for ln(10).
1832         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1833         (calc-ul-prefix-help): New function.
1834         * calc/calc-ext.el (calc-init-extensions): Autoload new units
1835         functions.  Add keybindings for new units functions.
1837 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
1839         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1840         rcirc buffers.  (Bug#4940)
1842 2011-01-22  Glenn Morris  <rgm@gnu.org>
1844         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1845         split out from copyright-update-year.
1846         (copyright-update): Don't mess with the GPL version if we don't own the
1847         copyright.  Update license regexp, and remove no longer needed
1848         Esperanto stuff.
1849         (copyright-fix-years): Use copyright-find-copyright.
1851 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1853         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1855 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1857         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1858         (lm): Rename to landmark.
1859         (lm-test-run): Rename to landmark-test-run.
1861 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1863         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1864         "Case sensitive" menu item.
1866 2011-01-22  Roland McGrath  <roland@frob.com>
1868         * comint.el (comint-replace-by-expanded-history-before-point): Fix
1869         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1871 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1873         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1875 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1877         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1878         Assume foo(bar) is a manpage reference rather than some unquoted
1879         symbol (bug#7705).
1881 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1883         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1884         Suggested by Flo <sensorflo@gmail.com>.
1886 2011-01-22  Glenn Morris  <rgm@gnu.org>
1888         * progmodes/compile.el (compilation-error-regexp-alist):
1889         Fix custom type.  (Bug#7812)
1891 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
1893         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1894         allout-number-siblings, in keeping with what obtained due to
1895         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
1896         (prefixed) ?i.
1897         (allout-before-change-handler): Better expose spots affected by
1898         undo.
1900 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1902         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1904 2011-01-22  Phil Hagelberg  <phil@evri.com>
1906         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1907         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1908         (pcmpl-ssh-config-hosts): New function.
1909         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1910         pcmpl-ssh-known-hosts.
1912 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1914         * calc/calc-undo.el (calc-undo): Autoload it.
1915         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1916         and autoload for `calc-undo'.
1917         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1918         * calc/calc-prog.el:
1919         * calc/calc-graph.el:
1920         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1922 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
1924         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1925         keybindings to `calc-undo'.
1927 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1929         Don't mess with *temp*.
1930         * obsolete/spell.el: Move from textmodes/spell.el.
1931         (spell-string):
1932         * term.el (term-read-input-ring):
1933         * startup.el (display-startup-echo-area-message):
1934         * progmodes/antlr-mode.el (antlr-directory-dependencies):
1935         * comint.el (comint-read-input-ring): Use with-temp-buffer.
1936         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1937         point-min==1.
1939 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
1941         * allout.el (allout-institute-keymap): Use fset instead of
1942         reapplying defalias.
1944         (allout-hotspot-key-handler): Check for non-control-modified
1945         bindings for hotspot characters if there are no control-modified
1946         versions.
1948         * allout.el: Summary - migrate to defining allout mode using
1949         define-minor-mode instead of defun.  Significantly clean-up
1950         internal keymap provisions, refactoring and, in the process,
1951         removing a lot of accumulated cruft.
1953         allout-mode-map is now a keymap by virtue of being a defalias to
1954         allout-mode-map-value, which contains the actual keymap structure.
1956         (allout-mode): Use define-minor-mode rather than defun.
1957         Remove now-unnecessary minor-mode setup activities from the body.
1958         Specify :keymap as allout-mode-map so the minor-mode-map-alist
1959         entry will be '(allout-mode . allout-mode-map) - see
1960         allout-mode-map-value, below.  Adjust docstring to track changes.
1961         (allout-minor-mode): Remove this defalias, now that we're using
1962         define-minor-mode.
1963         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
1964         keymap is allout-mode-map-value, via defalias.
1965         (allout-mode-map-value): The variable holding the actual mode
1966         keymap structure, by virtue of defalias from allout-mode-map.
1967         (allout-compose-and-institute-keymap): Rename from
1968         allout-bind-keys, and including the binding-composition
1969         functionality of the former produce-allout-mode-map and
1970         allout-setup-mode-map.
1971         (allout-institute-keymap): Take over the "setup" part of the former
1972         allout-setup-mode-map.  Reassign allout-mode-map-value value and
1973         update the defalias.
1974         (allout-command-prefix, allout-prefixed-keybindings)
1975         (allout-unprefixed-keybindings):
1976         Use allout-compose-and-institute-keymap to process the bindings.
1977         (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
1978         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1979         user can customize if they want to use that binding.
1980         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1981         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
1982         elided that, previously, instead of the one for \C-h.)
1983         (allout-hotspot-key-handler): Remove attempt to resolve the key
1984         through the literal key-string lookup on allout-keybindings-list.
1985         That probably hasn't worked for a Long Time, and removal of
1986         allout-keybindings-list further simplifies the keybindings situation.
1987         (allout-pre-command-business): Use allout-mode-map-value instead
1988         of allout-mode-map.
1989         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
1990         the bindings if they want to use a keybinding having a trailing
1991         \C-h.  No deprecation needed since this feature was never in a release.
1992         (allout-keybindings-list): Remove.  It's not been useful for a
1993         while.  (See allout-hotspot-key-handler changes, above.)
1994         (produce-allout-mode-map): Remove.  Consolidate into
1995         allout-compose-and-institute-keymap.
1996         (allout-mode-map-adjustments): Remove.  No longer necessary with
1997         removal of allout-preempt-trailing-ctrl-h.
1998         (allout-setup-mode-map): Remove.  Consolidate into
1999         allout-compose-and-institute-keymap and allout-institute-keymap.
2001 2011-01-20  Glenn Morris  <rgm@gnu.org>
2003         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2005         * simple.el (read-expression-history): Remove, it's in minibuf.c.
2007 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
2009         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2011         * files.el (find-alternate-file, basic-save-buffer)
2012         (basic-save-buffer-2, revert-buffer, recover-file)
2013         (kill-buffer-ask, abort-if-file-too-large)
2014         (set-visited-file-name, write-file, backup-buffer)
2015         (basic-save-buffer, save-some-buffers):
2016         * dired-aux.el (dired-compress-file): Callers changed.
2018 2011-01-19  Glenn Morris  <rgm@gnu.org>
2020         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2021         Also check the property status.  (Bug#7861)
2023 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
2025         * net/tramp.el (tramp-debug-message): Extend function exclude
2026         list.  Use `regexp-opt'.
2028 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2030         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2031         highlighting doesn't spill over subsequent lines.
2033         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2034         keymap expression.  Improve docstring.
2036         * electric.el (electric-indent-post-self-insert-function):
2037         Don't auto-indent for indent-to-left-margin, it's too often
2038         counter-productive.
2040 2011-01-17  Paul Eggert  <eggert@cs.ucla.edu>
2042         * dired.el: Regenerate.
2044 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
2046         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2047         spaces if the frame was resized, so that the full visible buffer
2048         serves as canvas for strokes.
2050 2011-01-16  Glenn Morris  <rgm@gnu.org>
2052         * info-xref.el (info-xref-docstrings): Replace cl function.
2053         Also skip directories.
2055 2011-01-16  Kevin Ryde  <user42@zip.com.au>
2057         * info-xref.el: Version 3.
2058         (info-xref-check, info-xref-check-all): Move commentary details
2059         into docstrings for better visibility.
2060         Use compilation-mode for the results buffer.
2061         (info-xref-output, info-xref-output-error, info-xref-with-output)
2062         (info-xref-filename, info-xref-in-progress):
2063         New internals for this.
2064         (info-xref-check-list, info-xref-check-buffer)
2065         (info-xref-check-all-custom): Use those.
2066         (info-xref-output-buffer): Rename from info-xref-results-buffer.
2067         (info-xref-output-heading): Rename from info-xref-filename-heading.
2068         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2069         (info-xref-filename-heading): Move to output managing section.
2070         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2071         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2072         (info-xref-subfile-p): Move to generic section with those two.
2073         (info-xref-check-node): New function split from
2074         info-xref-check-buffer, shared by info-xref-docstrings.
2075         (info-xref-goto-node-p): Move to a checking section with that func.
2076         (info-xref-unavail): New counter.
2077         (info-xref-check-node): Use it.
2078         (info-xref-with-output): Show count of unavailables at end of output.
2079         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
2080         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
2081         (info-xref-check-all-custom): Fix quietening viper-mode and
2082         gnus-registry-install -- use setq not let so as not to unbind
2083         after load.
2085 2011-01-16  Juri Linkov  <juri@jurta.org>
2087         * isearch.el (isearch-abort): Don't quit if search has
2088         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
2090 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
2092         * files.el (backup-buffer): Make last-resort backup file in
2093         .emacs.d (Bug#6953).
2095         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2096         make it with permission 700.
2098 2011-01-15  Kenichi Handa  <handa@m17n.org>
2100         * mail/rmailmm.el (rmail-mime-insert-header):
2101         Set rmail-mime-coding-system to a cons whose car is the last coding
2102         system used to decode the header.
2103         (rmail-mime-find-header-encoding): New function.
2104         (rmail-mime-insert-decoded-text):
2105         Override rmail-mime-coding-system if it is a cons.
2106         (rmail-show-mime): If only a header part was decoded, find the
2107         coding system while ignoring mm-charset-override-alist.
2109 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
2111         * subr.el (event-start, event-end): Doc fix (Bug#7826).
2113 2011-01-15  Kenichi Handa  <handa@m17n.org>
2115         * mail/rmailmm.el (rmail-mime-next-item)
2116         (rmail-mime-previous-item): Delete them.
2117         (rmail-mime-shown-mode): Recursively call for children.
2118         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2119         Callers changed.
2120         (rmail-mime-raw-mode): Recursively call for children.
2121         (rmail-mode-map): Change mapping of tab and backtab to
2122         forward-button and backward-button respectively.
2123         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2124         button.
2125         (rmail-mime-update-tagline): New function.
2126         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2127         body display is changed.
2128         (rmail-mime-toggle-button): Rename from rmail-mime-image.
2129         (rmail-mime-image): Delete this button type.
2130         (rmail-mime-toggle): New button type.
2131         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2132         body display is changed.  Change the save button label to "Save".
2133         Don't process show/hide button here.
2134         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2135         the body display is changed.  Unconditionally call
2136         rmail-mime-insert for children.
2137         (rmail-mime-handle): Update `display' vector of the just inserted
2138         entity.
2139         (rmail-mime-process): If mail-header-parse-content-type returns
2140         nil, use "text/plain" as the fallback type.
2141         (rmail-mime-insert): For raw-mode, recursively call
2142         rmail-mim-insert for children.
2143         (rmail-mime): Handle the case that the current buffer is not rmail
2144         buffer (e.g. in summary buffer).
2146 2011-01-15  Kenichi Handa  <handa@m17n.org>
2148         * mail/rmailmm.el (rmail-mime-next-item)
2149         (rmail-mime-previous-item): Skip the body of a non-multipart
2150         entity if a tagline is shown.
2152 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2154         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2155         (tmm-prompt): Simplify.
2156         (tmm-add-prompt): Remove unused var `win'.
2158         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2159         to minor mode which used nil accidentally to mean "turn off".
2161 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2163         * net/tramp-sh.el (tramp-find-inline-compress)
2164         (tramp-get-inline-coding): Quote command after pipe symbol for
2165         local calls under W32.  (Bug#6784)
2167 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2169         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2170         only when running under W32.
2172 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2174         * progmodes/grep.el (grep-compute-defaults): Quote the program
2175         file name after the pipe symbol in Grep templates.  (Bug#6784)
2176         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2178 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
2180         * buff-menu.el (Buffer-menu-buffer-list): New var.
2181         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2182         restricted buffer list is not lost on revert (Bug#7749).
2184 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
2186         * net/ldap.el (ldap-search-internal): Discard stderr output.
2188 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2190         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
2192 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2194         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2196 2011-01-15  Kenichi Handa  <handa@m17n.org>
2198         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2199         part as a plain text.
2200         (rmail-mime-process-multipart): Set the default content-type to
2201         nil for unknown multipart subtypes (bug#7651).
2203 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2205         * hexl.el (hexl-mode-old-*): Remove.
2206         (hexl-mode--old-var-vals): New var to replace them.
2207         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2208         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2209         Use them to set local vars (bug#7846).
2210         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2211         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2212         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2214         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2215         (smerge-resolve--normalize-re): New var.
2216         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2217         (smerge-resolve): Use them.
2218         * newcomment.el (comment-only-p): New function.
2219         (comment-or-uncomment-region): Use it.
2221 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
2223         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2224         table, get the value before switching to the output buffer.  (Bug#7733)
2226 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2228         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2230 2011-01-14  Kim F. Storm  <storm@cua.dk>
2232         * emulation/cua-base.el (cua--init-keymaps):
2233         Remap exchange-point-and-mark in cua-global-keymap.
2235 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
2237         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2238         loop keyword.
2240 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2242         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2243         Require CL.
2244         (easy-menu-create-menu, easy-menu-convert-item-1):
2245         Use :label rather than nil for labels.  Use `case'.
2246         Add :enable as alias for :active.
2247         (easy-menu-binding): Obey :label.
2249 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2251         Use run-mode-hooks for major mode hooks (bug#513).
2252         * textmodes/reftex-toc.el (reftex-toc-mode-map):
2253         Rename from reftex-toc-map.
2254         (reftex-toc-mode): Use define-derived-mode.
2255         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2256         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2257         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
2258         (reftex-select-label-mode, reftex-select-bib-mode):
2259         Use define-derived-mode.
2260         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2261         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2262         Move init into declaration.
2263         (reftex-index-mode, reftex-index-phrases-mode):
2264         Use define-derived-mode.
2265         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2266         speedbar-syntax-table.  Move init into declaration.
2267         (speedbar-mode-map): Rename from speedbar-key-map.
2268         Move init into declaration.
2269         (speedbar-file-key-map): Move init into declaration.
2270         (speedbar-mode): Use define-derived-mode.
2271         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2272         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2273         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2274         (chart-face-list): Move initialization into declaration.
2275         (chart-mode): Use define-derived-mode.
2276         * calculator.el (calculator-mode-map): Move init into declaration.
2277         (calculator-mode): Use define-derived-mode.
2279         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2280         work for nested comments.
2282         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
2283         (prolog-use-prolog-tokenizer-flag): Change default when
2284         syntax-propertize can be used.
2285         (prolog-syntax-propertize-function): New var.
2286         (prolog-mode-variables): Move make-local-variable into `set'.
2287         Don't make comment-column local since we don't set it.
2288         Set comment-add (as it was in previous prolog.el).  Use dolist.
2289         Set syntax-propertize-function.
2290         (prolog-mode, prolog-inferior-mode):
2291         Call prolog(-inferior)-menu directly, not through the mode-hook.
2292         (prolog-buffer-module, prolog-indent-level)
2293         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2294         (prolog-comment-limits, prolog-goto-comment-column):
2295         Use line-(end|beginning)-position.
2296         (prolog-build-prolog-command): Tighten up regexp.
2297         (prolog-consult-compile): Move make-local-variable into `set'.
2298         (prolog-consult-compile-filter, prolog-goto-next-paren)
2299         (prolog-help-on-predicate, prolog-clause-info)
2300         (prolog-mark-predicate): Don't let+setq.
2301         (prolog-indent-line): Use indent-line-to.
2302         Only call prolog-goto-comment-column if necessary.
2303         (prolog-indent-level): Use bobp.
2304         (prolog-first-pos-on-line): Remove, not used any more.
2305         (prolog-in-string-or-comment): Use syntax-ppss if available.
2306         (prolog-help-on-predicate): Use read-string.
2307         (prolog-goto-predicate-info): Simplify.
2308         (prolog-read-predicate): Use `default' rather than `initial'.
2309         (prolog-temporary-file): Use make-temp-file to close a security hole.
2310         (prolog-toggle-sicstus-sd): New command.
2311         (prolog-electric-underscore, prolog-variables-to-anonymous):
2312         Use dynamic-scoping as it was meant.
2313         (prolog-menu): Move menu definitions to top-level.
2314         Use a toggle-button for Sicstus's source debugger.
2315         Change "Code" to the more usual "Prolog", and hence change "Prolog"
2316         to "System".
2317         (prolog-inferior-menu): Reuse prolog-menu's help menu.
2318         Move other menu definition to top-level.
2320 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2322         * doc-view.el (doc-view-open-text): Use meaningful text buffer
2323         name.  Keep original document's directory as default-directory
2324         (bug#6446).
2325         (doc-view-initiate-display): Fall back to normal mode when
2326         doc-view-mode cannot be enabled, also when extracting the document
2327         text into a separate buffer (bug#6446).
2329         * simple.el (shell-command): Don't error out if shell command
2330         buffer contains text with non-nil read-only property when erasing
2331         the buffer.
2333 2011-01-13  Kim F. Storm  <storm@cua.dk>
2335         * ido.el (ido-may-cache-directory): Move "too-big" check later.
2336         (ido-next-match, ido-prev-match): Fix stray reordering of matching
2337         items when cycling through the matches.
2339 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2341         * dired-x.el (dired-omit-verbose): New defcustom that allows
2342         disabling the omit messages.
2343         (dired-omit-expunge): Use it.
2345 2011-01-13  Christian Ohler  <ohler@gnu.org>
2347         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2349 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2351         * font-lock.el (font-lock-verbose): Default to nil.
2353 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2355         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2356         (compose-mail): New arg RETURN-ACTION.
2357         (compose-mail-other-window, compose-mail-other-frame): Likewise.
2359         * mail/sendmail.el (mail-return-action): New var.
2360         (mail-mode): Make it buffer-local.
2361         (mail-bury): Obey it.  Move special Rmail window handling to
2362         rmail-mail-return.
2363         (mail, mail-setup): New arg RETURN-ACTION.
2364         (sendmail-user-agent-compose): Move from simple.el.
2366         * mail/rmail.el (rmail-mail-return): New function.
2367         (rmail-start-mail): Pass it to compose-mail.
2369 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
2371         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2372         menus.  Add menu item for customize-themes.
2374         * cus-theme.el (customize-themes):
2375         * emacs-lisp/package.el (package--list-packages):
2376         Use switch-to-buffer.
2378 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
2380         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2382 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2384         * progmodes/prolog.el: Fix up coding convention and such.
2385         (prolog-indent-width): Use the same default as in
2386         previous prolog.el rather than tab-width which depends on which buffer
2387         is current when the file is loaded.
2388         (prolog-electric-newline-flag): Only enable if electric-indent-mode
2389         is not available.
2390         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
2391         (prolog-known-systems): Remove.
2392         (prolog-mode-syntax-table, prolog-inferior-mode-map):
2393         Move initialization into declaration.
2394         (prolog-mode-map): Move initialization into declaration.
2395         Remove system-specific mode-map vars, since they referred to the same
2396         keymap anyway.
2397         (prolog-mode-variables): Obey the user's preference w.r.t
2398         adaptive-fill-mode.  Prefer symbol-value to `eval'.
2399         (prolog-mode-keybindings-edit): Add compatibility bindings.
2400         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
2401         (mercury-mode-map): New var.
2402         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2403         (prolog-ensure-process, prolog-process-insert-string)
2404         (prolog-consult-compile): Use with-current-buffer.
2405         (prolog-guess-fill-prefix): Simplify data flow.
2406         (prolog-replace-in-string): New function to use instead of
2407         replace-in-string.
2408         (prolog-enable-sicstus-sd): Don't abuse `eval'.
2409         (prolog-uncomment-region): Use `uncomment-region' when available.
2410         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2411         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2412         of int-to-char and char-to-int.
2413         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2415 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
2417         * progmodes/prolog.el: Replace by a whole new file.
2419 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2421         * subr.el (eval-after-load): Fix timing for features (bug#7769).
2422         (declare-function, undefined, insert-for-yank)
2423         (replace-regexp-in-string): Follow checkdoc's recommendations.
2425 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2427         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2428         refreshing the diary buffer.
2430 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
2432         * allout.el: Add 2011 to the file copyright.
2433         (allout-encrypt-string): Prevent encryption from adding an extra
2434         newline at the end of the topic body.
2435         (allout-version): Increment to 2.3.
2437 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
2439         * net/dbus.el (dbus-unregister-service): Complete doc.
2440         Fix call of dbus-error signal.
2441         (dbus-register-property): Use `dont-register' keyword.
2443 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2445         * net/dbus.el (dbus-unregister-service): Translate returned
2446         integer into a symbol.
2447         (dbus-register-property): Use `dbus-register-service' to do the
2448         name registration.
2450 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2452         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2453         Suggested by Joakim Verona.
2455         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2457         * wid-edit.el (visibility): Replace :on-image and :off-image
2458         widget properties with :on-glyph and :off-glyph, for consistency
2459         with the `visibility' widget.
2460         (widget-toggle-value-create, widget-visibility-value-create):
2461         Merge into a single function `widget-toggle-value-create'.
2463         * cus-edit.el (custom-variable-value-create, custom-visibility)
2464         (custom-face-edit-value-create, custom-face-value-create):
2465         Replace :on-image and :off-image widget properties with :on-glyph and
2466         :off-glyph, for consistency with the `visibility' widget.
2468 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
2470         * net/ldap.el (ldap-search-internal): Don't use eval.
2472 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2474         * subr.el (read-char-choice): Use read-key.
2476         * custom.el (custom-safe-themes): Rename from
2477         custom-safe-theme-files.  Add :risky tag.
2478         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2479         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
2481 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2483         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
2484         from Search and add a label to Undo.
2486         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2487         inappropriate buttons and adding :vert-only tags.
2489         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2490         removal of Help tool-bar button.  Remove Undo button for space.
2492         * info.el (info-tool-bar-map): Add :vert-only tags.
2494 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
2496         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2497         image backend support.  Either of them is fine.
2499 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
2501         * subr.el (y-or-n-p): Doc fix.
2503         * custom.el (custom-safe-theme-files): New defcustom.
2504         (custom-theme-load-confirm): New function.
2505         (load-theme): Load theme using `load', confirming with
2506         custom-theme-load-confirm if necessary.
2508         * subr.el (read-char-choice): New function, factored out from
2509         dired-query and hack-local-variables-confirm.
2511         * dired-aux.el (dired-query):
2512         * files.el (hack-local-variables-confirm): Use it.
2514         * dired-aux.el (dired-compress-file):
2515         * files.el (abort-if-file-too-large, find-alternate-file)
2516         (set-visited-file-name, write-file, backup-buffer)
2517         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2518         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2519         Use new format string args for y-or-n-p and yes-or-no-p.
2521 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
2523         * progmodes/compile.el (compilation-error-regexp-alist-alist)
2524         [gcc-include]: Tighten file name match, add match for column
2525         number.  (Bug#7806)
2526         [gnu]: Remove unused group.
2528 2011-01-08  Glenn Morris  <rgm@gnu.org>
2530         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2532         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2534 2011-01-07  Sam Steingold  <sds@gnu.org>
2536         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2537         the `explicit-shell-file-name' because that is the
2538         non-interactive shell.
2540 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
2542         * subr.el (y-or-n-p): Accept format string args.
2544 2011-01-07  Glenn Morris  <rgm@gnu.org>
2546         * Makefile.in (EMACSOPT): Add --no-site-lisp.
2548 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
2550         * allout.el (allout-back-to-current-heading): Ensure return to
2551         the visible containing topic, rather than a collapsed one.
2552         (allout-view-change-hook): Remove hook that was deprecated long ago.
2553         (allout-exposure-change-hook): Remove documentation remarks
2554         concerning removed allout-view-change-hook.
2555         (allout-flag-region): Remove invocation of and documentation
2556         remarks concerning allout-view-change-hook.
2558 2011-01-06  Glenn Morris  <rgm@gnu.org>
2560         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2561         (vc-bzr-annotate-extract-revision-at-line):
2562         Handle authors with embedded spaces.  (Bug#7792)
2564 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
2566         * doc-view.el (doc-view-image-width): New variable.
2567         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2568         backend for PNG images, and do dynamic rescaling instead of
2569         reconverting the whole doc.
2571 2011-01-05  Glenn Morris  <rgm@gnu.org>
2573         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2575 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
2577         * allout.el: Reconcile with changes in line movement behavior for
2578         long text lines that cross more than a single physical window
2579         line, ie when truncate-lines is nil.
2580         (allout-next-visible-heading): Provide for change in line-move
2581         behavior on long lines when truncate-lines is nil.  In that case,
2582         line-move can wind up on the same textual line when it moves to
2583         the next window line, and moving to the bullet position after the
2584         move yields zero advancement.  Add logic to detect and compensate
2585         for the lack of progress.
2586         (allout-current-topic-collapsed-p): move-end-of-line respect for
2587         field boundaries is different when operating with body lines
2588         shorter than window width versus ones greater than window width,
2589         which can yield false negatives in this function.  Avoid
2590         difference by applying move-end-of-line while field-text-motion is
2591         inhibited.
2593 2011-01-04  Glenn Morris  <rgm@gnu.org>
2595         * textmodes/rst.el (rst-compile-toolsets):
2596         Add pdf and s5 to option alist.
2598 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2600         * net/dbus.el (dbus-register-property): Add optional parameter
2601         dont-register-service.  Updated docstring accordingly.
2603 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2605         * textmodes/rst.el (rst-compile-pdf-preview)
2606         (rst-compile-slides-preview): Remove extra line.
2608 2011-01-04  Glenn Morris  <rgm@gnu.org>
2610         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2611         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
2612         default to `prog' without a .py extension.
2613         (rst-compile-pdf-preview, rst-compile-slides-preview):
2614         Use program names from rst-compile-toolsets, rather than hard-coding.
2615         (rst-portable-mark-active-p): Fix presumed typo.
2617 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2619         * term/w32-win.el (dynamic-library-alist): Set up correctly for
2620         libpng versions both before and after 1.4.0.  (Bug#7716)
2622 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2624         * time.el (display-time-mode): Mention display-time-interval in
2625         the doc string.  (Bug#7713)
2627 2011-01-02  Kenichi Handa  <handa@m17n.org>
2629         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2630         condition-case and return an error message string if something
2631         goes wrong.
2632         (rmail-show-mime): Adjust for the above change.  Insert the
2633         header by rmail-mime-insert-header.
2635 2011-01-02  Kenichi Handa  <handa@m17n.org>
2637         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2638         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2639         (rmail-mime-mbox-buffer)
2640         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2641         (rmail-mime-entity): Argument changed.  All codes handling an
2642         entity object are changed.
2643         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2644         the above change.
2645         (rmail-mime-entity-children, rmail-mime-entity-handler)
2646         (rmail-mime-entity-tagline): New functions.
2647         (rmail-mime-message-p): New function.
2648         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2649         (rmail-mime-entity-segment, rmail-mime-next-item)
2650         (rmail-mime-previous-item, rmail-mime-shown-mode)
2651         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2652         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2653         (rmail-mime-insert-tagline, rmail-mime-insert-header):
2654         New functions.
2655         (rmail-mime-text-handler): Call rmail-mime-insert-text.
2656         (rmail-mime-insert-decoded-text): New function.
2657         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2658         (rmail-mime-insert-image): Argument changed.  Caller changed.
2659         (rmail-mime-image): Call rmail-mime-toggle-hidden.
2660         (rmail-mime-set-bulk-data): New function.
2661         (rmail-mime-insert-bulk): Argument changed.
2662         (rmail-mime-multipart-handler): Return t.
2663         (rmail-mime-process-multipart): Argument changed.
2664         Handle "multipart/alternative" here.
2665         (rmail-mime-process): Argument changed.
2666         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2667         (rmail-mime-insert): Argument changed.  Handle raw display mode.
2668         (rmail-mime): Argument changed.  Handle toggling of raw display
2669         mode.
2670         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2671         rmail-mime-view-buffer.
2672         (rmail-insert-mime-forwarded-message): Likewise.
2673         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
2675         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2676         non-nil, handle the header in rmail-show-mime-function.
2678 2011-01-02  Leo Liu  <sdl.web@gmail.com>
2680         * help-fns.el (describe-variable): Fix previous change.
2682 2011-01-02  Juri Linkov  <juri@jurta.org>
2684         * isearch.el (isearch-lazy-highlight-error): New variable.
2685         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2686         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
2687         to the current value of `isearch-error' (Bug#7468).
2689 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2691         * help-fns.el (describe-variable): Don't emit trailing whitespace
2692         (Bug#7511).
2694 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2696         * textmodes/rst.el (rst-compile-pdf-preview)
2697         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2699 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
2701         * emulation/edt-mapper.el: Override mapping of function keys so
2702         that the later call to read-key-sequence works.
2704 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2706         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2707         Unix EOLs.  (Bug#7589)
2709 2011-01-02  Leo Liu  <sdl.web@gmail.com>
2711         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2712         if point is not behind eshell-last-output-end (Bug#7585).
2714 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2716         * files.el (file-local-variables-alist):
2717         Make permanent-local (bug#7767).
2719 2011-01-02  Glenn Morris  <rgm@gnu.org>
2721         * version.el (emacs-copyright): Set short copyright year to 2011.
2723 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2725         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2726         an existing temp buffer.  (Bug#7746)
2728 2011-01-02  Glenn Morris  <rgm@gnu.org>
2730         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2731         multiple addresses.  (Bug#7760)
2733 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
2735         * allout.el (allout-auto-fill): Do not infinitely recurse - use
2736         do-auto-fill if everything points back to allout-auto-fill.
2737         (allout-mode-deactivate-hook): Declare obsolete, in favor of
2738         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2740 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
2742         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2743         and "scpx".
2745 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2747         * doc-view.el (doc-view-set-doc-type): New function refactored
2748         from doc-view-mode.
2749         (doc-view-fallback-mode): New function.
2750         (doc-view-mode): Use it.
2751         (doc-view-mode-maybe): New function that checks if doc-view-mode
2752         can be used and falls back to the next best mode otherwise.
2754         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2755         DVI, OpenDocument, and MS Office files.
2757 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
2759         * emacs-lisp/rx.el (rx-syntax): Fix typo.
2761 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2763         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2764         on a copy of auto-mode-alist, because that deletes with side
2765         effects.
2767 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2769         * doc-view.el (doc-view-mode, doc-view-toggle-display):
2770         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2771         fallback instead of hard coding fundamental mode.
2773 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2775         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2776         Office) files also for searching.
2778 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2780         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2781         Office) files.  Not yet enabled via auto-mode-list.
2782         (doc-view-unoconv-program): New custom variable.
2783         (doc-view-mode-p): Handle new odf document type.
2784         (doc-view-odf->pdf): New conversion function.
2785         (doc-view-convert-current-doc): Call it for odf files.
2786         (doc-view-mode): Recognize newly supported file extensions.
2788 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
2790         * net/tramp.el (tramp-default-method-alist)
2791         (tramp-default-user-alist)
2792         (tramp-local-host-regexp, tramp-prefix-domain-format)
2793         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2795         * net/tramp-ftp.el:
2796         * net/tramp-gvfs.el:
2797         * net/tramp-gw.el:
2798         * net/tramp-imap.el:
2799         * net/tramp-sh.el:
2800         * net/tramp-smb.el: Add tramp-autoload cookie for initialization
2801         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2803 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
2805         * saveplace.el (save-place-alist-to-file): Save list sorted and
2806         pretty-printed, so that it is mergable by line-based text merging,
2807         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2809 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
2811         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2812         (allout-mode): Argument "toggle" => "force".
2813         Refine the docstring.
2814         Remove special provisions for reactivation, besides the 'force'
2815         argument.
2816         Consolidate layout provisions coce directly into the activation
2817         condition branch, now that we've removed those provisions.
2818         (allout-unload-function): Explicitly activate the mode before
2819         deactivating, if it's initially inactive.
2820         (allout-set-buffer-multibyte): Properly prevent byte-compiler
2821         warnings for version of function used only where
2822         set-buffer-multibyte is unavailable.
2824 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
2826         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2827         are handled by the menu-bar entries.  As before, don't use
2828         :visible to avoid changing the tool-bar.
2830 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2832         * net/secrets.el (secrets-delete-alias): New defun.
2834 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2836         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2837         methods, otherwise ~/.ssh/config would be ignored.
2839 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2841         * emacs-lisp/rx.el: Make it a superset of sregex.
2842         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2843         of args, add `regex' alias.
2844         (rx-info): Add arg to distinguish head and standalone forms.
2845         (rx-check, rx-form): Pass the corresponding arg.
2846         (rx-**): Simplify.
2847         (rx-repeat): Make it work for any number of args.
2848         (rx-syntax): Make it accept syntax chars as is.
2849         * obsolete/sregex.el: Move from emacs-lisp/.
2850         * emacs-lisp/re-builder.el: Remove sregex support.
2851         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2853 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
2855         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2856         PRIMARY first, then the clipboard.  (Bug#7699)
2858 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2860         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2861         print-number-table.
2863 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
2865         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2866         .emacs.elc (Bug#7530).
2868         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2869         image spec (Bug#7480).
2871 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
2873         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2874         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2875         Move from lisp/.
2877 2010-12-20  Leo Liu  <sdl.web@gmail.com>
2879         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2880         always be performed (Bug#7680).
2882 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
2884         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2885         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
2886         mouse-region-match.
2888         * color.el: Move from gnus/.
2890         * vc/diff.el (diff-better-file-name): Function deleted.
2891         abbreviating file names causes problems with shell-quote-argument.
2892         (diff-no-select): Just use expand-file-name.
2894         * tool-bar.el (tool-bar--image-expression): New function.
2895         (tool-bar-local-item, tool-bar--image-exp): Use it.
2896         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2897         Use :enable instead of :visible to avoid changing the tool-bar
2898         configuration unnecessarily.
2900         * info.el (info-tool-bar-map): Add separators.
2902 2010-12-17  Ken Brown  <kbrown@cornell.edu>
2904         * loadup.el: Use version numbers in Cygwin build.
2906 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
2908         * ido.el (ido-file-internal): Ask for confirmation before
2909         overwriting an existing file (Bug#1238).
2911 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
2913         * tool-bar.el (tool-bar-setup): Add separators.
2915         * menu-bar.el (featurep): Use menu-bar-separator.
2917 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
2919         Migrate allout encryption provisions from pgg to epg.
2921         * allout.el (allout-toggle-current-subtree-encryption)
2922         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2923         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
2924         for simpler universal argument interpretation.
2925         (allout-toggle-subtree-encryption): Adjust docstring to describe
2926         changed encryption provisions.  Change fetch-pass to keymode-cue, for
2927         simpler universal argument interpretation.  Remove provisions for
2928         handling key type and identity - they'll all be within
2929         allout-encrypt-string or epg/epg or even contained all the way in gpg.
2930         (allout-encrypt-string): Include keymode-cue, for optionally prompting
2931         for keypair recipients (universal argument > 1) and, in addition,
2932         associating the specified recipients with the outline (universal
2933         argument > 4) using a file local variable setting for
2934         'epa-file-encrypt-to'.
2935         Require epa, for recipients handling.
2936         Change how regexp filtering elements are named.
2937         Describe the problem with caching of incorrect symmetric-decryption
2938         keys.
2939         Use the epa-passphrase-callback-function, in case the user is using
2940         GnuPG v1.
2941         Support saving of the selected keypair recipients when invoked with a
2942         keymode-cue > 4.
2943         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2944         Require 'epa.
2945         Establish epg-context with armoring and default epg-protocol.
2946         Remove all passphrase cache, verification, and hinting code.
2947         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2948         No longer used, delete.
2949         (allout-mode): Adjust docstring to describe changed encryption
2950         provisions.  Describe the problem with caching of incorrect
2951         symmetric-decryption keys.
2952         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2953         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2954         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2955         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2956         Obsolete, remove.
2958 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
2960         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2961         key selection prompt; make 'silent as default (Bug#7487).
2963 2010-12-16  Leo Liu  <sdl.web@gmail.com>
2965         * eshell/eshell.el (eshell-directory-name):
2966         Use locate-user-emacs-file (Bug#7578).
2968 2010-12-15  Glenn Morris  <rgm@gnu.org>
2970         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2972 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
2973             Scott Evans  <gse@antisleep.com>
2975         * rect.el (rectange--default-line-number-format)
2976         (rectangle-number-line-callback): New functions.
2977         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2979 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
2981         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2982         Delete unused variables.
2983         (move-to-column-force): Remove function obsolete since 21.2.
2985 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
2987         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2988         (tramp-handle-insert-file-contents): Do not set permanent-local
2989         property.
2991         * net/tramp-cache.el (tramp-persistency-file-name):
2992         Use `locate-user-emacs-file' if fboundp.
2994         * net/tramp-sh.el (tramp-methods): Add "ksu".
2995         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
2996         method list.
2998 2010-12-14  Glenn Morris  <rgm@gnu.org>
3000         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3001         (find-tag-marker-ring): Declare.
3002         (js-find-symbol): Require etags.
3004         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3005         Require mail-utils.
3006         (mail-alias-file): Don't autoload.  Doc fix.
3007         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3008         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
3009         Mark as obsolete, and risky.
3010         (mail-setup): Simplify.
3012         * mail/mailalias.el (build-mail-aliases): Make it interactive.
3013         * mail/sendmail.el (build-mail-aliases): Update autoload.
3015         * dired.el (dired-trivial-filenames, dired-chown-program)
3016         (dired-auto-revert-buffer): Remove autoload cookies.
3017         * mail/sendmail.el (mail-recover-1): Require 'dired.
3019         * dired.el (dired-subdir-switches, dired-chown-program)
3020         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3021         Make into defcustoms.
3022         (dired-chown-program): Simplify initialization.
3024         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3026 2010-12-13  Romain Francoise  <romain@orebokech.com>
3028         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3030 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3032         * net/netrc.el (netrc-point-at-eol): Remove the unused
3033         netrc-point-at-old and netrc-bound-and-true-p bindings.
3034         (netrc-parse): Cache the netrc contents.
3036 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3038         * subr.el (posn-col-row): Evaluate header-line-format in the
3039         context of the POSITION window's buffer.
3041 2010-12-13  Glenn Morris  <rgm@gnu.org>
3043         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3044         (with-silent-modifications): Doc fixes.
3046 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3048         * net/tramp.el (tramp-action-password, tramp-process-actions):
3049         Revert previous from.  Use `save-restriction'.
3051 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
3053         * calendar/diary-lib.el (diary-list-sexp-entries):
3054         Handle case of no newline at end of file.  (Bug#7536)
3056 2010-12-13  Glenn Morris  <rgm@gnu.org>
3058         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3060 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3062         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3063         (tramp-process-actions): Do not widen.
3065         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3066         Protect buffer-modified value.  (Bug#7557)
3068 2010-12-13  Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
3070         * log-edit.el (log-edit-changelog-entries):
3071         Regexp quote filename.  (Bug#7505)
3073 2010-12-13  Tom Breton  <tehom@panix.com>
3075         * cus-edit.el (custom-save-all):
3076         Bind print-length and print-level to nil.  (Bug#7581)
3078 2010-12-13  Glenn Morris  <rgm@gnu.org>
3080         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3081         Run hooks to update menu contents.  (Bug#7586)
3083         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3084         file names, for the sake of MS Windows.  (Bug#7588)
3086 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3088         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3089         empty lines without a leading space.
3091 2010-12-13  Leo Liu  <sdl.web@gmail.com>
3093         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3094         while mapping over marks (Bug#6810).
3096 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3098         * image-dired.el (image-dired-db-file)
3099         (image-dired-temp-image-file, image-dired-gallery-dir)
3100         (image-dired-temp-rotate-image-file): Set default values relative
3101         to image-dired-dir (Bug#7518).
3103 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
3105         * format.el (format-decode-run-method): Pass args FROM and TO, not
3106         point-min and point-max, to shell-command-on-region (Bug#7488).
3108 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
3110         * frame.el (blink-cursor-mode): Make default t for ns.
3112 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3114         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3116 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3118         * comint.el (comint-dynamic-list-input-ring)
3119         (comint-dynamic-complete-filename)
3120         (comint-replace-by-expanded-filename)
3121         (comint-dynamic-simple-complete)
3122         (comint-dynamic-list-filename-completions)
3123         (comint-dynamic-list-completions): Doc fix (Bug#7499).
3125         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3126         Doc fix (Bug#7471).
3128 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
3130         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3131         (Bug#7533).
3133 2010-12-13  W. Martin Borgert  <debacle@debian.org>  (tiny change)
3135         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3136         (Bug#7491).
3138 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3140         * files.el (file-relative-name): Handle UNC file names on
3141         DOS/Windows.  (Bug#4674)
3143 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
3145         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3146         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3147         (epg-context-set-passphrase-callback): Mention that the callback
3148         is not called when used with GnuPG 2.x.
3150 2010-12-13  Glenn Morris  <rgm@gnu.org>
3152         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3153         Ensure ps-footer-font-size-internal is initialized.
3154         Call ps-get-page-dimensions before trying to use ps-font-for-text.
3156 2010-12-13  Kenichi Handa  <handa@m17n.org>
3158         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3159         within condition-case.
3160         (rmail-show-mime): Don't use condition-case.
3161         (rmail-search-mime-message): New function.
3162         (rmail-search-mime-message-function): Set to
3163         rmail-search-mime-message.
3165 2010-12-13  Leo Liu  <sdl.web@gmail.com>
3167         * ido.el (ido-common-initialization): New function.  (bug#3274)
3168         (ido-mode): Use it.
3169         (ido-completing-read): Call it.
3171 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
3173         * bookmark.el (bookmark-name-from-full-record): Rename back to
3174         this original name from `bookmark-name-from-record' reverting part
3175         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3176         As Drew Adams pointed out, there was no reason to cause churn for
3177         third-party callers.  (Bug#7609)
3179 2010-12-12  Alan Mackenzie  <acm@muc.de>
3181         * progmodes/cc-engine.el (c-forward-type): Before scanning a
3182         template arglist, check that the current language supports this.
3184 2010-12-11  Glenn Morris  <rgm@gnu.org>
3186         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3187         state of the file matches.  (Bug#7544)
3188         (vc-bzr-register, vc-bzr-checkin)
3189         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3190         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3192         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3194 2010-12-11  Karel Klíč  <kklic@redhat.com>
3196         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
3198 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3200         Derive from prog-mode, use derived-mode-p, and fix up various
3201         minor style issues in lisp/progmodes.
3203         * progmodes/vhdl-mode.el (vhdl-mode):
3204         * progmodes/verilog-mode.el (verilog-mode):
3205         * progmodes/vera-mode.el (vera-mode):
3206         * progmodes/sql.el (sql-mode):
3207         * progmodes/scheme.el (scheme-mode):
3208         * progmodes/perl-mode.el (perl-mode):
3209         * progmodes/octave-inf.el (inferior-octave-mode):
3210         * progmodes/autoconf.el (autoconf-mode):
3211         * progmodes/m4-mode.el (m4-mode):
3212         * progmodes/inf-lisp.el (inferior-lisp-mode):
3213         * progmodes/idlwave.el (idlwave-mode):
3214         * progmodes/icon.el (icon-mode):
3215         * progmodes/idlw-help.el (idlwave-help-mode):
3216         * progmodes/dcl-mode.el (dcl-mode):
3217         * progmodes/idlw-shell.el (idlwave-shell-mode):
3218         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3219         (ebrowse-member-mode, ebrowse-electric-position-mode):
3220         Use define-derived-mode.
3222         * progmodes/xscheme.el (exit-scheme-interaction-mode)
3223         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3224         (xscheme-debugger-mode-p, xscheme-send-string-1):
3225         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3226         (tcl-load-file, tcl-restart-with-file):
3227         * progmodes/ps-mode.el (ps-run-running):
3228         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3229         * progmodes/js.el (js--get-all-known-symbols):
3230         * progmodes/inf-lisp.el (inferior-lisp-proc):
3231         * progmodes/idlwave.el (idlwave-beginning-of-statement)
3232         (idlwave-template, idlwave-update-buffer-routine-info)
3233         (idlwave-update-current-buffer-info)
3234         (idlwave-get-routine-info-from-buffers, idlwave-choose)
3235         (idlwave-scan-class-info, idlwave-fix-keywords)
3236         (idlwave-list-buffer-load-path-shadows):
3237         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3238         (idlwave-toolbar-remove):
3239         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3240         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3241         (idlwave-shell-menu-def):
3242         * progmodes/idlw-complete-structtag.el
3243         (idlwave-prepare-structure-tag-completion):
3244         * progmodes/gud.el (gud-set-buffer):
3245         * progmodes/f90.el (f90-backslash-not-special):
3246         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3248         * progmodes/xscheme.el (xscheme-start)
3249         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3250         * progmodes/which-func.el (which-function):
3251         * progmodes/vhdl-mode.el (vhdl-set-style):
3252         * progmodes/verilog-mode.el (verilog-set-compile-command)
3253         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3254         (verilog-set-define, verilog-auto-reeval-locals):
3255         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3256         * progmodes/simula.el (simula-mode):
3257         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3258         * progmodes/python.el (python-check, python-mode):
3259         * progmodes/prolog.el (prolog-mode-variables):
3260         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3261         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3262         * progmodes/delphi.el (delphi-mode):
3263         * progmodes/cc-styles.el (c-setup-paragraph-variables):
3264         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3265         (c-font-lock-init): Move make-local-variable to their setq.
3267         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3268         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3269         make-local-hook.
3270         * progmodes/sh-script.el (sh-require-final-newline): Remove.
3271         (sh-set-shell): Don't set require-final-newline since it's already done
3272         by prog-mode.
3273         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3274         since we never set it.
3275         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3276         Use read-string and standard prompt.
3277         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3278         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3279         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3280         (meta-common-mode-map): Rename from meta-mode-map.
3281         Remove C-m binding, which is a user preference, not mode specific.
3282         (meta-common-mode): New major mode; replace meta-common-initialization.
3283         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3284         around with font-lock.
3285         * progmodes/etags.el (select-tags-table-mode):
3286         Derive from special-mode.
3287         * progmodes/octave-mod.el (octave-mode):
3288         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3289         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3290         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3291         Let define-derived-mode do its job.
3292         * progmodes/cpp.el (cpp-edit-mode-map):
3293         Move initialization into declaration.
3294         (cpp-edit-mode): Use define-derived-mode.
3295         (cpp-edit-load): Use derived-mode-p.
3296         * progmodes/mixal-mode.el (mixal-mode):
3297         * progmodes/f90.el (f90-mode):
3298         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3299         require-final-newline since prog-mode does it already.
3300         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3301         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3302         * progmodes/antlr-mode.el: Require cc-mode upfront.
3303         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3304         the declaration.
3305         (antlr-directory-dependencies, antlr-show-makefile-rules):
3306         Use derived-mode-p.
3307         (antlr-language-option): Don't assume point-min==1.
3308         (antlr-mode): Use define-derived-mode.
3309         * progmodes/ada-mode.el: Use derived-mode-p.
3310         (ada-mode): Use define-derived-mode.
3311         Use hack-local-variables-hook.
3313 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3315         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3316         (texinfo-mode): Don't disable adaptive-fill-mode.
3317         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3318         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3319         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3320         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3321         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3322         (texinfo-insert-@quotation, texinfo-insert-@samp)
3323         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3324         (texinfo-insert-@uref): Use define-skeleton.
3325         (texinfo-insert-@-with-arg): Delete.
3327 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
3329         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3330         nil, do quote archive member names.  (Bug#6144)
3332 2010-12-10  Glenn Morris  <rgm@gnu.org>
3334         * files.el (diff-no-select): Declare.
3336         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3337         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3339         * comint.el (comint-input-ring-file-name): Doc fix.
3341 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
3343         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3344         New functions.
3345         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3346         Use them instead of `nil' and `>', respectively.
3347         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3348         instead of `nil'.
3349         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3350         and menu-bar-positive-p instead of `nil' and `>', respectively.
3351         (Bug#1077)
3353 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3355         * whitespace.el (whitespace-newline-mode): Code fix.
3357 2010-12-09  Glenn Morris  <rgm@gnu.org>
3359         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3360         Rename functions without commas, update callers.
3362 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
3364         * whitespace.el (whitespace-cleanup-region):
3365         Clean up spaces before tabs.  (Bug#7582)
3367 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
3369         * bookmark.el: Adjust parameter names and doc strings to resolve
3370         confusion over whether "bookmark" meant a bookmark name or a
3371         bookmark record.  Along the way, shorten one function's name for
3372         similar reasons.  (Issue #7548)
3373         (bookmark-name-from-record): New name for
3374         `bookmark-name-from-full-record'.  All callers changed.
3375         (bookmark-get-bookmark, bookmark-get-bookmark-record)
3376         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3377         (bookmark-get-annotation, bookmark-set-annotation)
3378         (bookmark-get-filename, bookmark-set-filename)
3379         (bookmark-get-position, bookmark-set-position)
3380         (bookmark-get-front-context-string, bookmark-set-front-context-string)
3381         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3382         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3383         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3384         Rename `bookmark' parameter to `bookmark-name-or-record', to
3385         clearly show its role, and shorten or adjust doc strings accordingly.
3386         (bookmark-set-name): Same, and pass the parameter directly to
3387         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3388         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3389         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3390         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3391         and in some cases shorten doc string accordingly.
3392         (bookmark-rename): Change `old' and `new' parameters to `old-name'
3393         and `new-name', and adjust an internal variable to avoid confusion.
3394         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3395         parameter in doc string.
3397 2010-12-08  Glenn Morris  <rgm@gnu.org>
3399         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3400         from gdb's history file.  (Bug#7575)
3402         * mail/emacsbug.el (report-emacs-bug):
3403         Try to handle some other mail clients.
3405 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3407         * files.el (dir-locals-collect-variables): Don't let errors stop us.
3408         Use string-prefix-p.
3409         (file-name-version-regexp): New var.
3410         (file-name-sans-versions):
3411         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3412         (jka-compr-get-compression-info): Use dolist.
3413         (jka-compr-compression-info-list): Don't bother specifying
3414         version/backup regexps.
3416 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
3418         * simple.el (just-one-space): Make argument n default to 1 if
3419         omitted.
3421 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3423         * electric.el (electric-indent-post-self-insert-function):
3424         Delete trailing newlines even if we don't reindent.
3426 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3428         * minibuffer.el (completion-at-point): Remove the `arg'.
3429         * bindings.el (complete-symbol): Move back from minibuffer.el.
3431 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3433         * simple.el (just-one-space): Delete newlines for negative arg.
3435 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3437         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3438         (ansi-color-filter-apply): Simplify.
3439         (ansi-color-apply): Use `font-lock-face' rather than `face'.
3441 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3443         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3445 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
3447         * dired.el (dired-use-ls-dired): Set default to a special
3448         "unspecified" value.
3449         (dired-insert-directory): When called the first time, check
3450         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3452 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
3454         * replace.el: Add "collect" feature to occur.
3455         (occur-collect-regexp-history): New var.
3456         (occur-read-primary-args): Return a replace string for nlines,
3457         if needed.
3458         (occur): Extend the meaning of nlines.
3460 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3462         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3463         (which-func-update-1): Distinguish symbols from strings.
3464         (which-function): Stay within 80 columns.
3466 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3468         * subr.el (with-demoted-errors): Distinguish symbols from strings.
3470         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3471         Improve docstring.
3472         (comment-style): Use comment-styles's docs to describe values.
3474 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
3476         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3477         and ns-show-prefs (Bug#7535).
3479         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3480         bindings (Bug#7535).
3482 2010-12-03  Glenn Morris  <rgm@gnu.org>
3484         * nxml/nxml-mode.el: Require rng-nxml.
3485         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3486         Remove declarations.
3488         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3489         * nxml/rng-nxml.el, nxml/rng-valid.el:
3490         Remove leading `*' from defcustom docs.
3492         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3493         (normal-top-level-add-to-load-path, tty-handle-args):
3494         Convert comments to basic doc-strings.
3496         * net/browse-url.el (browse-url-url-at-point)
3497         (browse-url-default-browser): Remove autoload cookies.
3499         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3500         Remove more undefined cl functions.
3502         * vc/diff.el (diff-sentinel): Make new arguments optional.
3503         * ibuf-ext.el (diff-sentinel): Update declaration.
3505 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
3507         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3508         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3509         (epg-context-set-passphrase-callback): Mention that the callback
3510         is not called when used with GnuPG 2.x.
3512 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
3514         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3515         (tramp-file-name-port): Check also for `tramp-default-port'.
3516         (tramp-get-connection-name): New defun.
3517         (tramp-get-connection-process): Use it.
3518         (tramp-debug-message): Extend function exclude list.
3519         (tramp-drop-volume-letter): Fix doc string.
3521         * net/tramp-cmds.el: Remove solved todo item.
3523         * net/tramp-ftp.el:
3524         * net/tramp-gvfs.el:
3525         * net/tramp-gw.el:
3526         * net/tramp-imap.el:
3527         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3528         and `tramp-default-user-alist', respectively.
3530         * net/tramp-gw.el (tramp-gw-open-connection):
3531         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3533         * net/tramp-imap.el (tramp-imap-make-iht): Use just
3534         `tramp-file-name-port'.
3536         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3537         and "psftp".  Exchange "%k" marker with options.
3538         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3539         Compute size of link target.
3540         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3541         `tramp-current-*' up due to gateway methods.  Optimize computing of
3542         copy arguments.  Use `tramp-get-connection-name' and
3543         `tramp-get-connection-buffer'.  Improve debug messages.
3544         (tramp-compute-multi-hops): Remove port determination.
3545         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3547         * net/trampver.el: Update release number.
3549 2010-12-02  Glenn Morris  <rgm@gnu.org>
3551         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3552         Avoid infinite loop over windows.  (Bug#7492)
3554         * progmodes/flymake.el (flymake-check-file-limit):
3555         Allow nil to mean "no limit".
3556         (flymake-check-patch-master-file-buffer): Update for above change.
3557         Allow a .tex file-name extension to be optional.
3558         (flymake-master-tex-init): Also match \include statements.
3560 2010-11-30  Sam Steingold  <sds@gnu.org>
3562         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3563         (nxml-parent-document-set): A function to set `nxml-parent-document'.
3564         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3565         (nxml-mode-hook): Remove `defcustom' (auto-defined by
3566         define-derived-mode').
3567         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3568         users who want to call `nxml-parent-document-set'.
3570 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3572         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3573         stand-alone lines, since that is handled by log-edit-match-to-eoh
3574         (Bug#6465).
3576 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
3578         * dired.el (dired-get-filename): Replace backslashes with slashes
3579         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
3580         * locate.el (locate-default-make-command-line): Don't consider
3581         drive letter and root directory part of
3582         `directory-listing-before-filename-regexp'.  (Bug#7308)
3583         (locate-post-command-hook, locate-mode-hook): New defcustoms.
3585 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3587         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3588         of :smie-open/close-alist.
3589         (smie-next-sexp): Make it accept a "start token" as argument.
3590         (smie-indent-keyword): Be careful not to misidentify tokens that span
3591         more than one line, as empty lines.  Add argument `token'.
3593 2010-11-27  Kenichi Handa  <handa@m17n.org>
3595         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3596         multipart subtypes, insert all as usual.
3598         * mail/rmail.el: Require rfc2047.
3600 2010-11-27  Kenichi Handa  <handa@m17n.org>
3602         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3603         (rmail-mime-entity-disposition)
3604         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3605         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3606         (rmail-mime-save): Handle the case that the button's `data' is a
3607         MIME entity.
3608         (rmail-mime-insert-text): New function.
3609         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3610         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3611         (rmail-mime-insert-bulk): New function mostly copied from the old
3612         rmail-mime-bulk-handler.
3613         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3614         (rmail-mime-process-multipart): New function mostly copied from
3615         the old rmail-mime-multipart-handler.
3616         (rmail-mime-show): Just call rmail-mime-process.
3617         (rmail-mime-process): New function mostly copied from the old
3618         rmail-mime-show.
3619         (rmail-mime-insert-multipart, rmail-mime-parse)
3620         (rmail-mime-insert, rmail-show-mime)
3621         (rmail-insert-mime-forwarded-message)
3622         (rmail-insert-mime-resent-message): New functions.
3623         (rmail-insert-mime-forwarded-message-function): Set to
3624         rmail-insert-mime-forwarded-message.
3625         (rmail-insert-mime-resent-message-function): Set to
3626         rmail-insert-mime-resent-message.
3628         * mail/rmailsum.el: Require rfc2047.
3629         (rmail-header-summary): Handle multiline Subject: field.
3630         (rmail-summary-line-decoder): Change the default to
3631         rfc2047-decode-string.
3633         * mail/rmail.el (rmail-enable-mime): Change the default to t.
3634         (rmail-mime-feature): Change the default to `rmailmm'.
3635         (rmail-quit): Delete the specifal code for rmail-enable-mime.
3636         (rmail-display-labels): Likewise.
3637         (rmail-show-message-1): Check rmail-enable-mime, and use
3638         rmail-show-mime-function for a MIME message.  Decode the headers
3639         according to RFC2047.
3641 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3643         * progmodes/which-func.el (which-func-imenu-joiner-function):
3644         Return a string, as expected.
3645         (which-function-mode): Make sure we stop any previous timer before
3646         starting a new one.
3648 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
3650         * net/tramp.el (tramp-default-method-alist)
3651         (tramp-default-user-alist, tramp-default-proxies-alist):
3652         Adapt custom options type.  (Bug#7445)
3654 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3656         * progmodes/python.el: Add Ipython support (Bug#5390).
3657         (python-shell-prompt-alist)
3658         (python-shell-continuation-prompt-alist): New options.
3659         (python--set-prompt-regexp): New function.
3660         (inferior-python-mode, run-python, python-shell):
3661         Require ansi-color.  Use python--set-prompt-regexp to set the comint
3662         prompt based on the Python interpreter.
3663         (python--prompt-regexp): New var.
3664         (python-check-comint-prompt)
3665         (python-comint-output-filter-function): Use it.
3666         (run-python): Use a pipe (Bug#5694).
3668 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3670         * progmodes/python.el (run-python): Doc fix.
3671         (python-keep-current-directory-in-path): New var (Bug#7454).
3673 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3675         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3676         Prompt user before actually printing.
3678 2010-11-27  Glenn Morris  <rgm@gnu.org>
3680         * startup.el (package-enable-at-startup, package-initialize):
3681         Remove unnecessary declarations.
3683 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
3685         * international/characters.el (glyphless-char-display-control):
3686         Exclude newline and TAB from the c0-control group.
3688 2010-11-27  Glenn Morris  <rgm@gnu.org>
3690         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3691         (expand-mail-aliases): Remove unnecessary autoload.
3693         * allout.el (allout-command-prefix, allout-mode-map): Declare.
3695         * shell.el (shell-dir-cookie-re): Move definition before use.
3697         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3698         Replace undefined CL functions.
3700 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
3702         * simple.el (prog-mode): Set bidi-paragraph-direction to
3703         left-to-right.
3705         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3707 2010-11-26  Glenn Morris  <rgm@gnu.org>
3709         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3710         diary-outlook-formats can be sensitive to calendar-date-style.
3711         (diary-outlook-formats): Simplify the default setting.
3712         (diary-from-outlook-internal): Pass subject and body as arguments.
3713         Use dolist rather than dotimes.  Don't save the diary buffer.
3714         (diary-from-outlook-gnus, diary-from-outlook-rmail):
3715         Pass subject and body as explicit arguments to the -internal function.
3717 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3719         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3720         parsing them.  This makes mailto:...?subject=foo\nbar work.
3722 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3724         * vc/diff.el (diff): Fix last change.
3726 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3728         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
3729         (pcase--dontcare-upats): New var.
3730         (pcase-let, pcase-let*): Generate better code.
3731         Accept the same bodies as `let'.
3732         (pcase-dolist): New macro.
3733         (pcase--trivial-upat-p): New helper function.
3734         (pcase--expand): Strip leading "(let nil" if any.
3736 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3738         * mail/mailclient.el (browse-url): Require.
3739         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3740         use the external browser function to send the mail (bug#7469).
3742         * net/browse-url.el (browse-url-browser-function): Revert the
3743         default back to the previous value, since the new value broke
3744         mailclient.el.
3745         (browse-url-mailto-function): New variable for mailto: URLs.
3746         (browse-url): Use the new variable for mailto: URLs.
3748 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3750         * eshell/esh-cmd.el (eshell-parse-command):
3751         * eshell/esh-arg.el (eshell-parse-arguments):
3752         * eshell/em-script.el (eshell-source-file):
3753         Use with-silent-modifications.
3755 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3757         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
3758         for a merge location.
3760         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3761         (vc-bzr-merge-branch): Always prompt.
3762         (vc-bzr-async-command): Use the full branch filename.
3764 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3766         * shell.el (shell): Use current-buffer by default if it's already
3767         a shell mode buffer and its process is dead.
3768         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3770 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
3772         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3773         Mention that the keywords should be comma separated.
3775 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3777         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3778         Accept optional prefix arg meaning to prompt for a command.
3779         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
3780         prefix arg meaning to prompt for a command.
3781         (vc-pull): Alias for vc-update.
3783         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3784         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3785         (vc-bzr-merge-branch): New functions, implementing merge-branch
3786         and pull operations.
3788 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3790         * Makefile.in: Fix up last merge.
3792         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3793         (diff-sentinel): Get them as arguments instead.
3794         (diff-old-file, diff-new-file, diff-extra-args): Remove.
3795         (diff-file-local-copy, diff-better-file-name): New funs.
3796         (diff-no-select): Rename from diff-into-buffer.
3797         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
3798         Prefer closures to buffer-local variables.
3799         (diff): Adjust accordingly.
3800         (diff-buffer-with-file): Move from files.el.
3801         * files.el (diff-buffer-with-file): Move to vc/diff.el.
3802         (diff-buffer-internal): Remove.
3803         (diff-buffer-buffer): Remove.
3804         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3805         the buffer name used, and so as not to mess up windows and frames.
3807 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3809         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3810         (diff-buffer-internal): New function extracted from diff-buffer-with-file
3811         (diff-buffer-with-file): Use it.
3812         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3813         (diff): Use it.
3815 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
3817         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3818         \ref's or \pageref's value as default instead of initial input.
3820 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
3822         * files.el (backup-by-copying-when-mismatch): The default value is
3823         now t.
3825         * startup.el (normal-top-level):
3826         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3827         `backup-by-copying-when-mismatch'.
3829 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3831         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3833 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3835         * progmodes/python.el (python-font-lock-keywords):
3836         Highlight top-level augmented assignments (Bug#6445).
3838 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3840         * term/ns-win.el (ns-right-control-modifier)
3841         (ns-right-command-modifier): Defvar them.
3843         * cus-start.el (all): Add ns-right-control-modifier and
3844         ns-right-command-modifier (Bug#7458).
3846 2010-11-20  Glenn Morris  <rgm@gnu.org>
3848         * emacs-lisp/authors.el (authors-ignored-files)
3849         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3851 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3853         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3854         (report-emacs-bug-parse-query-results)
3855         (report-emacs-bug-create-existing-bugs-buffer): Pass through
3856         keywords used for querying the bug database to show them in the
3857         existing bugs buffer.
3859 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
3861         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3863         * info.el (info-tool-bar-map): Add some :vert-only keywords.
3865 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3867         * international/characters.el (glyphless-char-display-control):
3868         Make it a defcustom, with update-glyphless-char-display as its
3869         :set attribute.
3870         (top level): Don't call update-glyphless-char-display.
3872 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
3874         Sync with Tramp 2.2.0.
3876         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3877         `file-remote-p' (due to compatibility).
3879         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3880         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3882         * net/trampver.el: Update release number.
3884 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3886         * faces.el (glyphless-char): Define value for `pc'.
3888 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3890         Implemented a bug querying mechanism.
3891         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3892         (report-emacs-bug-create-existing-bugs-buffer)
3893         (report-emacs-bug-parse-query-results)
3894         (report-emacs-bug-query-existing-bugs): New functions.
3896 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
3898         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3899         a \ref{} or \pageref{} macro, then use its value as initial input.
3901 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
3903         * calc/calc-units.el (math-build-units-table-buffer):
3904         calc/README: Mention that the TeX specific units won't use the
3905         `tex' prefix in TeX mode.
3906         calc/calc-lang.el (math-variable-table): Don't use the `tex'
3907         prefix for units in TeX mode.
3909 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3911         * simple.el (kill-new, kill-append, kill-region):
3912         * comint.el (comint-kill-region): Make the yank-handler argument
3913         obsolete.
3915 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3917         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3918         that are both openers (resp. closers) and something else.
3919         (smie-grammar): Loosen definition of valid values.
3920         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3921         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3922         (smie-indent-after-keyword): Adjust users.
3923         (smie-indent-keyword): Don't indent empty lines.
3925         * vc-hg.el (vc-hg-program): New var.
3926         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3927         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3929 2010-11-18  Glenn Morris  <rgm@gnu.org>
3931         * emacs-lisp/autoload.el (autoload-find-destination): The function
3932         coding-system-eol-type may return non-numeric values.  (Bug#7414)
3934 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
3936         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3938 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
3940         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
3942 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
3944         * textmodes/picture.el (picture-mouse-set-point): Don't use
3945         posn-col-row; explicitly compute the motion based on the posn at
3946         the window-start (Bug#7390).
3948 2010-11-18  Glenn Morris  <rgm@gnu.org>
3950         * novice.el (disabled-command-function):
3951         Fix 2009-11-15 change.  (Bug#7384)
3953 2010-11-18  Glenn Morris  <rgm@gnu.org>
3955         * calendar/calendar.el (diary-iso-date-forms): Make elements
3956         mutually exclusive.  (Bug#7377)
3958 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3960         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3961         when filling the remaining "unconstrained" values.
3963 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3965         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3966         safety predicate.
3968         * files.el (safe-local-variable-p): Gracefully handle errors.
3970         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3971         Use smie-indent-virtual when indenting relative to an opener.
3972         (smie-rule-separator): Use smie-rule-parent.
3973         (smie-indent-keyword): Consult rules, even for openers at bol.
3974         (smie-indent-comment-close): Try to align closer's content.
3976 2010-11-18  Glenn Morris  <rgm@gnu.org>
3978         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3980 2010-11-18  Glenn Morris  <rgm@gnu.org>
3982         * printing.el (pr-menu-bind): Doc fix.
3984         * speedbar.el (speedbar-toggle-images): Doc fix.
3986         * progmodes/python.el (python-shell): Doc fix.
3988         * wid-edit.el (widget-field-use-before-change)
3989         (widget-use-overlay-change): Doc fixes.
3991 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3993         Minor cleanup to improve style.
3994         * textmodes/rst.el (rst-update-section): Use point-marker.
3995         (rst-get-decoration): Eliminate unneeded assignment.
3996         (rst-promote-region, rst-straighten-decorations)
3997         (rst-section-tree, rst-adjust): Use point-marker.
3998         (rst-toc-mode-mouse-goto): Avoid setq.
3999         (rst-shift-region-guts, rst-shift-region-left)
4000         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4001         (rst-convert-bullets-to-enumeration): Use copy-marker.
4003         * minibuffer.el (completion-fail-discreetly): New var.
4004         (completion--do-completion): Use it.
4006         * electric.el (electric-pair-pairs): New var.
4007         (electric-pair-post-self-insert-function): Use it.
4008         (electric-layout-post-self-insert-function): Don't insert a before
4009         newline unless it's actually needed.
4011 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4013         * progmodes/python.el (run-python): Explain why we remove the current
4014         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
4016         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4018 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4020         * progmodes/octave-mod.el: Rely on elecric-*-modes.
4021         (octave-mode-map): Don't bind ;, SPC, and LF.
4022         (octave-auto-indent, octave-auto-newline): Remove.
4023         (electric-layout-rules): Declare.
4024         (octave-mode): Set electric-layout-rules.
4025         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4026         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4027         (octave-electric-space): Remove.
4029         * electric.el (electric-layout-mode): New minor mode.
4030         (electric--after-char-pos): New function.
4031         (electric-indent-post-self-insert-function): Use it.
4032         (electric-layout-rules): New var.
4033         (electric-layout-post-self-insert-function): New function.
4034         (electric-indent-mode): Make them interact better.
4036 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4038         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4039         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4040         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4042 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
4044         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4045         Make sure to check inside the word (Bug#6761).
4047 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
4049         * startup.el (command-line): If the cursorColor resource is set,
4050         change the cursor face-spec (Bug#7392).
4052 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
4054         The main features of the following allout.el changes are:
4055         - implement user customization for the allout key bindings
4056         - add a customization control by which the user can inhibit use of
4057           a trailing Ctrl-H, so by default it's reserved for use with
4058           describe-prefix-bindings
4059         - adapt to new version of called-interactively-p, while
4060           maintaining backwards compatibility with old version
4061         - fix hotspot navigation so i works properly with meta-modified keys.
4063         * allout.el (allout-keybindings, allout-bind-keys)
4064         (allout-keybindings-binding, allout-prefixed-keybindings)
4065         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4066         (allout-keybindings-list, allout-mode-map-adjustments)
4067         (allout-setup-mode-map): Establish allout-mode keymaps as user
4068         customizable settings, and also establish a customizable setting which
4069         regulates whether or not a trailing control-h is reserved for use with
4070         describe-prefix-bindings - and inhibit it by default, so that control-h
4071         *is* reserved for describe-prefix-bindings unless the user changes it.
4073         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4074         and accurately between modified and unmodified events, and handle
4075         modified events more comprehensively.
4077         * allout.el (allout-substring-no-properties):
4078         Alias to use or provide version of `substring-no-properties'.
4079         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4081         * allout.el (allout-next-single-char-property-change):
4082         Alias to use or provide version of `next-single-char-property-change'.
4083         (allout-annotate-hidden, allout-hide-by-annotation):
4084         Use `allout-next-single-char-property-change'.
4086         * allout.el (allout-select-safe-coding-system):
4087         Alias to use or provide version of `select-safe-coding-system'.
4088         (allout-toggle-subtree-encryption):
4089         Use `allout-select-safe-coding-system'.
4091         * allout.el (allout-set-buffer-multibyte):
4092         Alias to use or provide version of `set-buffer-multibyte'.
4093         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4095         * allout.el (allout-called-interactively-p): Macro for using the
4096         different versions of called-interactively-p identically, depending on
4097         the subroutine's argument signature.
4098         (allout-back-to-current-heading, allout-beginning-of-current-entry):
4099         Use `(interactive "p")' instead of `(called-interactively-p)'.
4101         * allout.el (allout-init, allout-ascend, allout-end-of-level)
4102         (allout-previous-visible-heading, allout-forward-current-level)
4103         (allout-backward-current-level, allout-show-children):
4104         Use `allout-called-interactively-p' instead of `called-interactively-p'.
4106         * allout.el (allout-before-change-handler):
4107         Exempt edits to the (overlaid) character after the allout outline
4108         bullet from edit confirmation prompt.
4110         * allout.el (allout-add-resumptions):
4111         Ensure that it respects correct buffer for keybindings.
4113         * allout.el (allout-beginning-of-line):
4114         Use `allout-previous-single-char-property-change' alias for the sake of
4115         diverse compatibility.
4117         * allout.el (allout-end-of-line):
4118         Use `allout-mark-active-p' to encapsulate respect for mark activity.
4120 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
4122         * frame.el (frame-notice-user-settings): Don't clobber other
4123         user-set parameters when calling face-set-after-frame-default in
4124         response to background-color parameter (Bug#7373).
4126 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
4128         * international/characters.el (glyphless-char-display-control):
4129         Rename from glyphless-char-control; all users changed.  Doc fix.
4130         Signal an error if display method is not one of the recognized
4131         symbols.
4133 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
4135         * net/tramp-compat.el (tramp-compat-line-beginning-position)
4136         (tramp-compat-line-end-position): Remove them.
4138         * net/tramp.el (tramp-parse-rhosts-group)
4139         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4140         (tramp-parse-hosts-group, tramp-parse-passwd-group)
4141         (tramp-parse-netrc-group, tramp-parse-putty-group)
4142         * net/tramp-cmds.el (tramp-append-tramp-buffers)
4143         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4144         (tramp-sh-handle-file-selinux-context)
4145         (tramp-sh-handle-file-name-all-completions)
4146         (tramp-sh-handle-insert-directory)
4147         (tramp-sh-handle-expand-file-name, tramp-find-executable)
4148         (tramp-wait-for-output, tramp-send-command-and-read)
4149         * net/tramp-smb.el (tramp-smb-read-file-entry)
4150         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4152         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4153         `point-at-bol'.
4154         (tramp-remote-coding-commands): Add an alternative using "base64
4155         -d -i".  This is needed for older base64 versions from GNU
4156         coreutils.  Reported by Klaus Reichl
4157         <Klaus.Reichl@thalesgroup.com>.
4159 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
4161         * simple.el (count-words-region): New function.
4163 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4165         * shell.el (shell-dir-cookie-re): New custom variable.
4166         (shell-dir-cookie-watcher): New function.
4168         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4169         and compilation-mode (bug#7350).
4171         * vc/smerge-mode.el (smerge-refine): Choose better default part to
4172         highlight when one of them is empty.
4174         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4175         trailing space.
4176         (skeleton-newline): New function.
4177         (skeleton-internal-1): Use it.
4179         * simple.el (open-line): `newline' may strip trailing space.
4181 2010-11-12  Kevin Ryde  <user42@zip.com.au>
4183         * international/mule-cmds.el (princ-list): Use mapc.
4185 2010-11-12  Glenn Morris  <rgm@gnu.org>
4187         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4188         Use it to replace all instances of "*Compile-Log*".
4190 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4192         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4193         indentation specs.
4195 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4197         * progmodes/modula2.el: Use SMIE and skeleton.
4198         (m2-mode-syntax-table): (*..*) can be nested.
4199         Add //...\n.  Fix paren syntax.
4200         (m2-mode-map): Remove LF and TAB bindings.
4201         (m2-indent): Add safety property.
4202         (m2-smie-grammar): New var.
4203         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4204         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4205         (m2-mode): Use define-derived-mode.
4206         (m2-newline, m2-tab): Remove.
4207         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4208         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4209         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4210         (m2-import): Use define-skeleton.
4212 2010-11-11  Glenn Morris  <rgm@gnu.org>
4214         * obsolete/lucid.el: Don't warn about any CL functions in this file.
4216         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4217         (ls-lisp-verbosity): Add custom :set-after property.
4218         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4219         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4220         (ls-lisp-insert-directory): Update caller.
4221         (ls-lisp-set-options): New function.
4222         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4223         Doc fix.
4225         * play/landmark.el (lm-prompt-for-move):
4226         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4228         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4230         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4231         (idlwave-study-twins): Prefix dynamic local variable `name'.
4232         (idlwave-routine-twin-compare): Update for above change.
4234         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4235         Prefix dynamic local variables `name', `kwd', and `link'.
4236         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4237         * progmodes/idlw-complete-structtag.el
4238         (idlwave-complete-structure-tag-help):
4239         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4240         (idlwave-complete-sysvar-tag-help)
4241         (idlwave-complete-class-structure-tag-help):
4242         Update for above name changes.
4244 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4246         * net/browse-url.el (browse-url-browser-function): Change the
4247         default to use `browse-url-mail' on mailto: URLs.
4249 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
4251         * emacs-lisp/package.el (package-read-all-archive-contents):
4252         Reset package-archive-contents to nil before re-reading.
4254 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
4256         * textmodes/flyspell.el (flyspell-word): Do not re-check words
4257         already found as misspellings by (flyspell-large-region), just
4258         do highlighting (bug#7322).
4260 2010-11-10  Glenn Morris  <rgm@gnu.org>
4262         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4264         * emulation/edt.el (edt-with-position): New macro.
4265         (edt-find-forward, edt-find-backward, edt-find-next-forward)
4266         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4267         (edt-paragraph-forward, edt-paragraph-backward): Use it.
4269         * emulation/tpu-extras.el (tpu-with-position): New macro.
4270         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4272         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4274         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4275         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4276         (texinfo-master-menu, texinfo-insert-node-lines)
4277         (texinfo-multiple-files-update):
4278         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4279         Use line-beginning-position.
4281         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4282         No recent Emacs supports system-type `emx'.
4284         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4285         (ada-command-separator, ada-default-prj-properties)
4286         (ada-find-any-references): Update for above name change.
4288         * dirtrack.el (dirtrack-directory-function)
4289         (dirtrack-canonicalize-function):
4290         * filecache.el (file-cache-completion-ignore-case)
4291         (file-cache-case-fold-search, file-cache-ignore-case):
4292         * term.el (serial-port-is-file-p): Cosmetic change.
4294         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4295         Remove non-existent `windows-95' system-type.
4296         * dired.el (dired-chown-program): Remove non-existent `linux'
4297         system-type.
4299         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4300         (ping-program-options): Remove non-existent `linux' system-type.
4302         * startup.el (package-initialize): Update declaration.
4304         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4305         (ls-lisp-handle-switches): Use time-less-p.
4306         (ls-lisp-format-time): Use float-time.
4308         * textmodes/remember.el (remember-time-to-seconds): Remove.
4309         (remember-store-in-mailbox): Use float-time.
4311         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4313         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4314         never a real function.
4315         (with-no-warnings): Remove compat stub, now unused.
4316         (time-less-p): Doc fix.
4317         (time-to-number-of-days): Simplify.
4319         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4320         Remove.
4321         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4322         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4323         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4324         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4325         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4327         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4328         (eshell-shuffle-files, eshell-shorthand-tar-command)
4329         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4330         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4331         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4332         Prefix dynamic local variable `matches'.
4334         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4335         Prefix dynamic local variable `skeleton'.
4337 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4339         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4340         in mail buffer; make yank-action always a command that yanks original
4341         buffer.
4343 2010-11-09  Glenn Morris  <rgm@gnu.org>
4345         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4347 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4349         * minibuffer.el (minibuffer-completion-help): Specify the end of the
4350         completion field (bug#7211).
4352         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4353         Fix handling of backslash escapes.
4354         (python-quote-syntax): Adjust accordingly.
4356 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
4358         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4359         (vc-mtn-workfile-branch): Adjust to new output format.
4361 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4363         * international/mule-cmds.el (princ-list): Mark as obsolete.
4365 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4367         * emacs-lisp/smie.el: New package.
4369 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
4371         * files.el (backup-by-copying-when-mismatch):
4372         Set `permanent-local' property.
4374         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4375         `permanent-local' property for `backup-by-copying-when-mismatch'.
4377 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
4379         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
4381 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
4383         * progmodes/verilog-mode.el (verilog-insert-one-definition)
4384         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4385         AUTOINOUT for SV style multidimensional arrays, bug294.
4386         Reported by Eric Mastromarchi.
4387         (verilog-preprocess): Use with-current-buffer and
4388         font-lock-fontify-buffer to cleanup style issues.
4390 2010-11-09  Glenn Morris  <rgm@gnu.org>
4392         * locate.el (locate, locate-mode): Doc fixes.
4394 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
4396         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4397         user for confirmation.
4398         (server-force-stop): Use it.
4399         (server-start): Use server-force-stop for kill-emacs-hook, to
4400         avoid user interaction while killing Emacs.
4402 2010-11-09  Glenn Morris  <rgm@gnu.org>
4404         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4405         (meta-indent-line): Simplify.
4407         * vc/emerge.el (emerge-line-number-in-buf):
4408         * textmodes/ispell.el (ispell-region):
4409         * textmodes/fill.el (current-fill-column):
4410         * progmodes/xscheme.el (xscheme-send-current-line):
4411         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4412         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4413         * progmodes/sh-script.el (sh-handle-prev-do):
4414         * progmodes/meta-mode.el (meta-indent-line):
4415         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4416         (idlwave-in-quote):
4417         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4418         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4419         * progmodes/fortran.el (fortran-looking-at-if-then):
4420         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4421         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4422         (cperl-find-pods-heres):
4423         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4424         * net/quickurl.el (quickurl-list-insert):
4425         * net/ldap.el (ldap-search-internal):
4426         * net/eudc.el (eudc-expand-inline):
4427         * mail/sendmail.el (sendmail-send-it):
4428         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4429         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4430         (viper-brac-function):
4431         * calc/calc-yank.el (calc-do-grab-region):
4432         * calc/calc-keypd.el (calc-keypad-press):
4433         * term.el (term-move-columns, term-insert-spaces):
4434         * speedbar.el (speedbar-highlight-one-tag-line):
4435         * simple.el (current-word):
4436         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4437         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4438         (Info-scroll-down):
4439         * hippie-exp.el (he-line-beg):
4440         * epa.el (epa--marked-keys):
4441         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4442         (dired-update-file-line, dired-add-entry, dired-remove-entry)
4443         (dired-relist-entry):
4444         * buff-menu.el (Buffer-menu-buffer):
4445         * array.el (current-line):
4446         * allout.el (allout-resolve-xref)
4447         (allout-latex-verbatim-quote-curr-line):
4448         Replace yet more uses of end-of-line etc with line-end-position, etc.
4450 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4452         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4453         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4454         (checkdoc-syntax-table): Initialize in the declaration.
4455         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4456         the mode on unconditionally.
4458         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4459         (extent-end-position, extent-start-position): Remove setf method for
4460         non-existing functions (bug#7319).
4462 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4464         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4465         (smie-precs->prec2): Rename from smie-precs-precedence-table.
4466         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4467         (smie-prec2->grammar): Rename from smie-prec2-levels.
4468         (smie-grammar): Rename from smie-op-levels.
4469         (smie-indent--hanging-p): Rename from smie-hanging-p.
4470         (smie-rule-hanging-p): New alias.
4471         (smie-indent--bolp): Rename from smie-bolp.
4472         (smie-indent--hanging-p): New alias.
4473         (smie--token): New dynamically bound variable.
4474         (smie-indent--parent): New function.
4475         (smie-rule-parent-p): Use it; rename from smie-parent-p.
4476         (smie-rule-next-p): Rename from smie-next-p.
4477         (smie-rule-prev-p): Rename from smie-prev-p.
4478         (smie-rule-sibling-p, smie-rule-parent)
4479         (smie-indent--separator-outdent, smie-rule-separator): New functions.
4480         (smie-rule-separator-outdent): New var.
4481         (smie-indent--rule): Merge with smie-indent--column.
4482         (smie-indent-forward-token, smie-indent-backward-token):
4483         Also recognize close parens.
4484         (smie-indent-keyword): Don't use smie-indent--column any more.
4485         (smie-indent-after-keyword): Ignore closers by default.
4486         (smie-indent-line): Use with-demoted-errors.
4487         * progmodes/octave-mod.el (octave-smie-grammar):
4488         Rename from octave-smie-op-levels.
4489         (octave-smie-rules): Adjust to new behavior.
4490         * progmodes/prolog.el (prolog-smie-grammar):
4491         Rename from prolog-smie-op-levels.
4493 2010-11-07  Glenn Morris  <rgm@gnu.org>
4495         * eshell/esh-util.el (subst-char-in-string)
4496         (directory-files-and-attributes): These compatibility definitions are
4497         not needed on any version of Emacs since at least 21.4.
4499         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4500         (verilog-get-end-of-line): Remove.
4501         (verilog-within-string, verilog-re-search-forward-substr)
4502         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4503         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4504         Use point-at-bol, point-at-eol.
4505         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4506         Remove.
4507         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4508         (electric-pascal-terminate-line, pascal-set-auto-comments)
4509         (pascal-indent-paramlist, pascal-indent-declaration)
4510         (pascal-get-lineup-indent, pascal-func-completion)
4511         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4512         Use point-at-bol, point-at-eol.
4513         * progmodes/flymake.el (flymake-line-beginning-position)
4514         (flymake-line-end-position): Remove.
4515         (flymake-highlight-line): Use point-at-bol, point-at-eol.
4516         * eshell/esh-util.el (line-end-position, line-beginning-position):
4517         Remove compat definitions.
4519         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4520         Use end-of-line N.
4521         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4522         Use line-end-position.
4524         * emacs-lisp/chart.el (chart-zap-chars):
4525         * play/decipher.el (decipher-set-map):
4526         * progmodes/ada-mode.el (ada-get-current-indent)
4527         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4528         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4529         * progmodes/ada-xref.el (ada-initialize-runtime-library)
4530         (ada-get-all-references):
4531         * progmodes/cperl-mode.el (cperl-electric-paren)
4532         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4533         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4534         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4535         (cperl-word-at-point-hard):
4536         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4537         (idlwave-shell-filename-string, idlwave-shell-batch-command)
4538         (idlwave-shell-display-line):
4539         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4540         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4541         * progmodes/js.el (js--re-search-forward-inner)
4542         (js--re-search-backward-inner):
4543         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4544         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4545         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4546         * textmodes/flyspell.el (flyspell-process-localwords):
4547         * textmodes/ispell.el (ispell-buffer-local-parsing)
4548         (ispell-buffer-local-dict, ispell-buffer-local-words):
4549         Use point-at-bol and point-at-eol.
4551         * speedbar.el (speedbar-generic-item-info)
4552         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4553         (speedbar-add-indicator, speedbar-check-vc-this-line)
4554         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4555         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4556         Replace more uses of end-of-line etc with line-end-position.
4558 2010-11-06  Glenn Morris  <rgm@gnu.org>
4560         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4561         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4562         (texinfo-delete-existing-pointers, texinfo-find-pointer)
4563         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4564         (texinfo-multiple-files-update):
4565         * textmodes/table.el (table--probe-cell-left-up)
4566         (table--probe-cell-right-bottom):
4567         * textmodes/picture.el (picture-tab-search):
4568         * textmodes/page-ext.el (pages-copy-header-and-position)
4569         (pages-directory-for-addresses):
4570         * progmodes/vera-mode.el (vera-get-offset):
4571         * progmodes/simula.el (simula-calculate-indent):
4572         * progmodes/python.el (python-pdbtrack-overlay-arrow):
4573         * progmodes/prolog.el (end-of-prolog-clause):
4574         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4575         * progmodes/icon.el (indent-icon-exp):
4576         * progmodes/etags.el (tag-re-match-p):
4577         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4578         * progmodes/ebnf2ps.el (ebnf-begin-file):
4579         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4580         (dcl-save-local-variable):
4581         * play/life.el (life-setup):
4582         * play/gametree.el (gametree-looking-at-ply):
4583         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4584         * mail/sendmail.el (mail-mode-auto-fill):
4585         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4586         * emacs-lisp/edebug.el (edebug-overlay-arrow):
4587         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4588         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4589         (woman-tab-to-tab-stop, WoMan-warn-ignored):
4590         * type-break.el (type-break-file-keystroke-count):
4591         * term.el (term-replace-by-expanded-history-before-point)
4592         (term-skip-prompt, term-extract-string):
4593         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4594         (speedbar-contract-line, speedbar-toggle-line-expansion)
4595         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4596         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4597         * sort.el (sort-skip-fields):
4598         * skeleton.el (skeleton-internal-list):
4599         * simple.el (line-move-finish, line-move-to-column):
4600         * shell.el (shell-forward-command):
4601         * misc.el (copy-from-above-command):
4602         * makesum.el (double-column):
4603         * ebuff-menu.el (electric-buffer-update-highlight):
4604         * dired.el (dired-move-to-end-of-filename):
4605         * dframe.el (dframe-popup-kludge):
4606         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4607         * arc-mode.el (archive-get-lineno):
4608         Use line-end-position and line-beginning-position.
4610         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4611         (idlwave-study-twins): Prefix dynamic local `class'.
4612         (idlwave-routine-twin-compare): Update for above name change.
4614         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4615         Use boundp tests to silence compiler.  Update for changed name of
4616         bytecomp-filename variable.
4618         * emulation/viper-cmd.el (viper-read-string-with-history):
4619         Prefix dynamic local `initial'.
4620         (viper-minibuffer-standard-hook): Update for above name change.
4622         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4623         (elint-init-form): Update for above name change.
4625         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4626         local variables `cbeg' and `cend' a prefix.
4627         (mail-extr-voodoo): Update for above name change.
4629         * textmodes/reftex-toc.el (reftex-toc-do-promote)
4630         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4631         (reftex-toc-promote-action): Doc fix.
4633         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4634         `prompt', `data' a prefix.
4635         (reftex-select-post-command-hook, reftex-select-callback)
4636         (reftex-select-mouse-accept, reftex-select-read-cite):
4637         Update for above name changes.
4639         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4640         `refstyle' to reftex-refstyle.
4641         (reftex-offer-label-menu): Update for above name change.
4642         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4643         `refstyle' name change.
4645         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4646         with with-current-buffer.
4647         (diff, template): Give dynamic local variables a prefix.
4648         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4649         (emerge-line-number-in-buf): Update for above name change.
4650         (emerge-combine-versions-internal): Rename local `template' to
4651         emerge-combine-template.
4652         (emerge-combine-versions-edit): Update for above name change.
4654 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
4656         * textmodes/reftex-cite.el
4657         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4658         entries with whitespace after \bibitem.
4659         (reftex-create-bibtex-file): Match entries containing numbers and
4660         symbol constituents.  Make sure that entries with whitespace at
4661         various places are found.
4663 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
4665         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4667 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
4669         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4671 2010-11-05  Glenn Morris  <rgm@gnu.org>
4673         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4674         (woman2-roff-buffer): Give local variable `request' a prefix.
4675         (woman0-macro): Rename argument `request' in the same way.
4676         (woman-request): New name for `request' dynamic variable.
4677         (woman-unquote, woman-forward-arg): Update for above name change.
4678         (woman1-roff-buffer): Give local variable `unquote' a prefix.
4679         (woman1-unquote): New name for `unquote' dynamic variable.
4680         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4681         (woman-translations): Rename from `translations'.  No longer global.
4682         (woman2-tr, woman-translate): Update for above name change.
4683         (woman-translate): Check for bound variable.
4684         (woman2-roff-buffer): Give local variable `translations' a prefix.
4686         * play/doctor.el: Give all local variables a prefix.  Update callers.
4687         (doc$, doctor-put-meaning): Use backquote.
4689         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4690         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4692         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4693         variables bytes, ptr, op a prefix.
4694         (disassemble-offset): Update for above change.
4696 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4698         * emacs-lisp/package.el (package-unpack): Remove no-op.
4699         (package--builtins, package--dir): Doc fix.
4700         (package-activate-1, package-activate, package-install)
4701         (package-compute-transaction): Fix error message.
4702         (package-delete): Use delete-directory.  Omit system packages.
4703         (package-initialize): Set package-alist to nil first.
4704         (package-menu-mark-delete, package-menu-mark-install): Don't add
4705         symbols that are inconsistent with the package state.
4706         (package-menu-execute): Perform deletions and installations as
4707         single batch operations.
4709 2010-11-03  Glenn Morris  <rgm@gnu.org>
4711         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4712         (props): Remove unnecessary declaration.
4714         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4715         set-process-query-on-exit-flag.
4717         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4718         (reftex-toc-do-promote): Remove unused local `mpos'.
4719         (reftex-toc-restore-region): Make `mpos' local to this function.
4721         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4723         * play/landmark.el (lm-losing-threshold): Correct spelling.
4724         (lm-human-plays): Use new name.
4726         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4727         (gomoku-human-plays): Use new name.
4729         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4730         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4731         (gomoku-score-trans-table, gomoku-winning-threshold)
4732         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4734 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4736         * emacs-lisp/package.el: Don't put built-in packages in
4737         package-alist, to avoid loading inefficiencies.
4738         (package-built-in-p): Make VERSION optional, and treat it as a
4739         minimum acceptable version.
4740         (package-activate): Search separately for built-in packages.
4741         Emit a warning if a dependency fails.
4742         (define-package): Handle most common case, where there is no
4743         obsolete package, first.
4744         (package-compute-transaction): Print required version in error.
4745         (package--initialized): New variable.
4746         (list-packages): Use it.
4747         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
4748         built-in packages in packages-alist; keep it separate.
4749         Set package--initialized.
4750         (describe-package): Avoid activating packages as a side-effect.
4751         Search separately for built-in packages.
4752         (describe-package-1): Handle the case where an elpa package is
4753         simultaneously built-in and available/installed.
4754         (package-installed-p, package--generate-package-list):
4755         Search separately for built-in packages.
4756         (package-load-descriptor): Doc fix.
4758 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4760         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4761         Handle __DATA__ and __END__.
4763 2010-11-02  Noah Friedman  <friedman@splode.com>
4765         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4766         nil, do not ask to recompile files that are not already compiled,
4767         and do not recompile them.
4769 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
4771         * emacs-lisp/package.el (package-initialize): Ensure that
4772         obsoleted built-in packages are not in package-activated-list
4773         during activation.
4774         (describe-package-1): Make the "installed" status override
4775         "built-in".
4777 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4779         * subr.el (version-separator, version-regexp-alist): Remove '*'
4780         from docstring.
4781         (version-list-<=, version<=, version=): Doc fix.
4783 2010-11-01  Kenichi Handa  <handa@m17n.org>
4785         * faces.el (glyphless-char): Inherit underline for tty.
4787 2010-11-01  Kenichi Handa  <handa@m17n.org>
4789         Implement various display methods for glyphless characters.
4791         * international/characters.el (char-acronym-table): New variable.
4792         (glyphless-char-control): New variable.
4793         (update-glyphless-char-display): New function.
4795         * faces.el (glyphless-char): New face.
4797 2010-11-01  Glenn Morris  <rgm@gnu.org>
4799         * calendar/holidays.el (general-holidays, oriental-holidays)
4800         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4801         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4802         the definitions of their targets.
4804         * emacs-lisp/smie.el (smie): New custom group.
4805         (smie-blink-matching-inners, smie-indent-basic): Add :group.
4807         * faces.el (xw-defined-colors, x-setup-function-keys):
4808         * mouse-sel.el (x-select-text):
4809         * term/w32console.el (x-setup-function-keys): Update declarations.
4811         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4813         * textmodes/ispell.el (comment-add): Declare.
4815         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4816         Declare.
4818         * info.el (finder-keywords-hash, package-alist): Declare.
4820 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4822         * finder.el (finder-compile-keywords): Don't use intern-soft,
4823         since package names may not yet exist in the obarray.
4825 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4827         * vc/vc-arch.el (vc-arch-checkin):
4828         * vc/vc-cvs.el (vc-cvs-checkin):
4829         * vc/vc-mtn.el (vc-mtn-checkin):
4830         * vc/vc-rcs.el (vc-rcs-checkin):
4831         * vc/vc-sccs.el (vc-sccs-checkin):
4832         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4833         since 2010-04-21 commit by Stefan Monnier.
4835 2010-11-01  Glenn Morris  <rgm@gnu.org>
4837         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4839         * startup.el (package-enable-at-startup, package-initialize):
4840         Silence compiler.
4842         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4843         Silence compiler.
4845 2010-10-31  Julien Danjou  <julien@danjou.info>
4847         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4848         (byte-recompile-directory):
4849         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4850         Use `byte-recompile-file'.
4852 2010-10-31  Glenn Morris  <rgm@gnu.org>
4854         * cus-start.el: Handle standard values via a keyword.
4855         Only set version property if specified.
4856         (cursor-in-non-selected-windows, menu-bar-mode)
4857         (tool-bar-mode, show-trailing-whitespace):
4858         Do not specify standard values.
4859         (transient-mark-mode, temporary-file-directory): Use :standard.
4861 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
4863         * term/x-win.el (x-get-selection-value): New function that gets
4864         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
4866 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
4868         * net/tramp.el (tramp-handle-insert-file-contents): For root,
4869         preserve owner and group when editing files.  (Bug#7289)
4871 2010-10-31  Glenn Morris  <rgm@gnu.org>
4873         * speedbar.el (speedbar-mode):
4874         * play/fortune.el (fortune-in-buffer, fortune):
4875         * play/gomoku.el (gomoku-mode):
4876         * play/landmark.el (lm-mode):
4877         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4878         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
4880         * select.el (x-selection): Mark it as an obsolete alias.
4882 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4884         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4885         major-mode (bug#7284).
4887 2010-10-31  Glenn Morris  <rgm@gnu.org>
4889         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4890         rather than just an unused variable that inherits from the real one.
4892 2010-10-31  Alan Mackenzie  <acm@muc.de>
4894         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4895         This fixes bug #7185.
4897 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
4899         * startup.el (command-line): Search for package directories, and
4900         don't load package.el if none are found.
4902         * emacs-lisp/package.el (describe-package, list-packages):
4903         Call package-initialize if it has not been called yet.
4905 2010-10-30  Alan Mackenzie  <acm@muc.de>
4907         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4908         which fontifies the tail of an enum.
4909         (c-basic-matchers-after): Insert a call to the above new function.
4910         This fixes bug #7264.
4912 2010-10-30  Glenn Morris  <rgm@gnu.org>
4914         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4915         tool-bar-mode, transient-mark-mode.  (Bug#7306)
4916         Include the :set property in the dumped Emacs.
4918 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4920         SMIE: change indent rules format, improve smie-setup.
4921         * emacs-lisp/smie.el (smie-precs-precedence-table)
4922         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4923         Mark them pure so the tables gets built at compile time.
4924         (smie-bnf-precedence-table): Store the closer-alist in the table.
4925         (smie-prec2-levels): Preserve the closer-alist.
4926         (smie-blink-matching-open): Be more forgiving in case of indentation.
4927         (smie-hanging-p): Rename from smie-indent--hanging-p.
4928         (smie-bolp): Rename from smie-indent--bolp.
4929         (smie--parent, smie--after): New dynamic vars.
4930         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4931         (smie-indent-rules): Remove.
4932         (smie-indent--offset-rule): Remove fun.
4933         (smie-rules-function): New var.
4934         (smie-indent--rule): New fun.
4935         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4936         (smie-indent-exps): Use it.
4937         (smie-setup): Setup paren blinking; add keyword args for token
4938         functions; extract closer-alist from op-levels.
4939         (smie-indent-debug-log): Remove var.
4940         (smie-indent-debug): Remove fun.
4941         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4942         (prolog-smie-rules): New fun to replace it.
4943         (prolog-mode-variables): Simplify.
4944         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4945         it's setup automatically.
4946         (octave-smie-indent-rules): Remove.
4947         (octave-smie-rules): New fun to replace it.
4948         (octave-mode): Simplify.
4950 2010-10-29  Glenn Morris  <rgm@gnu.org>
4952         * files.el (temporary-file-directory): Remove (already defined in C).
4953         * cus-start.el: Add temporary-file-directory.
4955         * abbrev.el (abbrev-mode):
4956         * composite.el (auto-composition-mode):
4957         * menu-bar.el (menu-bar-mode):
4958         * simple.el (transient-mark-mode):
4959         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4960         that they do not define the associated variables twice.
4961         * simple.el (transient-mark-mode): Remove defvar.
4962         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4963         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4964         Handle multiple groups, and also custom-delayed-init-variables.
4965         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4967 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4969         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4970         (pcase-if): Add one minor optimization.
4971         (pcase-split-equal): Rename from pcase-split-eq.
4972         (pcase-split-member): Rename from pcase-split-memq.
4973         (pcase-u1): Add strings to the member optimization.
4974         Add `guard' variant of predicates.
4975         (pcase-q1): Add string patterns.
4977 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4979         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4981 2010-10-28  Glenn Morris  <rgm@gnu.org>
4983         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4984         Move menu-bar related settings to ../menu-bar.el.
4985         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4986         Move ns-specific settings here from term/ns-win.el.
4988         * simple.el (x-selection-owner-p): Remove unused declaration.
4990 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4992         * minibuffer.el (completion-cycling): New var (bug#7266).
4993         (minibuffer-complete, completion--do-completion):
4994         Use completion--flush-all-sorted-completions.
4995         (minibuffer-complete): Only cycle if completion-cycling is set.
4996         (completion--flush-all-sorted-completions): Unset completion-cycling.
4997         (minibuffer-force-complete): Set completion-cycling.
4998         (completion-all-sorted-completions): Move declaration before first use.
5000 2010-10-28  Leo Liu  <sdl.web@gmail.com>
5002         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5003         which changes the order of matches seen by users (bug#7231).
5005 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
5007         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5008         Don't confuse -omega as "-o mega".
5010 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5012         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5013         (log-edit-author): New dynamic var.
5014         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5015         to return the author if different from committer.
5016         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5018         * play/landmark.el: Adjust commenting convention.
5019         (lm-nil-score): Rename from nil-score.
5020         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5021         (OOOOscore): Move into a let in lm-score-trans-table.
5022         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5024         * electric.el (electric-indent-chars): Autoload.
5025         * progmodes/octave-mod.el (octave-mode):
5026         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5027         (ruby-mode-abbrev-table): Merge initialization and declaration.
5029 2010-10-27  Glenn Morris  <rgm@gnu.org>
5031         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5032         variable.
5034         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5036         * term/ns-win.el: Restore require of cl when compiling.
5037         (menu-bar-final-items): Remove non-existent `windows' menu.
5038         (ns-handle-nxopen): Optionally handle the temp-case.
5039         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5040         (ns-insert-file, ns-find-file): Use `pop'.
5042 2010-10-26  Glenn Morris  <rgm@gnu.org>
5044         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5046 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
5048         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5049         global map.
5050         * term/common-win.el (x-setup-function-keys): Remove most of the
5051         keymappings.  Comment on the remaining ones.
5053 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
5055         * server.el (server-port): New option.  (Bug#854)
5056         (server-start): Use server-port.
5058 2010-10-26  Glenn Morris  <rgm@gnu.org>
5060         * term/ns-win.el (ns-version-string): Remove unused declaration.
5061         (ns-invocation-args): Change to x-invocation-args.
5062         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5063         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5064         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5065         Use x-invocation-args instead of ns-invocation-args.
5066         (ns-initialize-window-system, handle-args-function-alist):
5067         Use x-handle-args instead of ns-handle-args.
5068         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5069         * startup.el (command-line-ns-option-alist): Replace
5070         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5071         ns-handle-iconic with the x- equivalents.
5073         * term/common-win.el (x-select-enable-clipboard):
5074         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5076         * term/ns-win.el: No need to require cl when compiling.
5077         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5078         (xw-defined-colors): Use the common-win definitions.
5079         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5080         (ns-handle-iconic): Make it an alias for x-handle-iconic.
5081         * term/common-win.el (x-select-text, x-alternatives-map)
5082         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5083         * loadup.el [ns]: Load common-win.
5085 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
5087         * epa-mail.el (epa-mail-encrypt): Handle local-part only
5088         recipients; expand mail aliases (Bug#7280).
5090 2010-10-25  Glenn Morris  <rgm@gnu.org>
5092         * term/common-win.el (x-handle-switch): Simplify with pop.
5093         Optionally handle numeric switches.
5094         (x-handle-numeric-switch): Just call x-handle-switch.
5095         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5096         (x-handle-name-switch, x-handle-display, x-handle-args):
5097         Simplify with pop.
5099         * term/ns-win.el: Do not require easymenu.
5100         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5101         <spell>: Move adjustments to menu-bar.el.
5102         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5103         <separator-undo, spell>: Move ns-win's adjustments here.
5104         * loadup.el [ns]: Do not load easymenu.
5106 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5108         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5109         Delete (Bug#7222).
5111         * startup.el (fancy-startup-tail): Instead of using inline images,
5112         refer to image files from etc/.
5114         * wid-edit.el (checkbox): Likewise.
5115         (widget-image-find): Center image specs.
5117 2010-10-24  Glenn Morris  <rgm@gnu.org>
5119         * term/ns-win.el (x-select-text): Doc fix.
5120         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5121         (x-select-text): Move to term/common-win.
5122         * term/w32-win.el (xw-defined-colors): Move to common-win.
5123         * term/x-win.el (xw-defined-colors, x-alternatives-map)
5124         (x-setup-function-keys, x-select-text): Move to common-win.
5125         * term/common-win.el (x-select-text, x-alternatives-map)
5126         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5127         definitions here.
5129 2010-10-24  T. V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
5131         * net/mairix.el (mairix-searches-mode-map):
5132         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5134 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
5136         * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5137         auto-built for efficiency of execution and updating.
5138         (verilog-extended-complete-re): Support 'pure' fucntion & task
5139         declarations (these have no bodies).
5140         (verilog-beg-of-statement): General cleanup to enable support of
5141         'pure' fucntion & task declarations (these have no bodies).
5142         These efforts together fix Verilog bug210 from veripool; which was also
5143         noticed by Steve Pearlmutter.
5144         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5145         (verilog-directive-nest-re, verilog-set-auto-endcomments):
5146         Support `elsif.  Reported by Shankar Giri.
5147         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5148         attribute handling for lining up declarations and assignments.
5149         (verilog-beg-of-statement-1): Fix issue where continued declaration
5150         is indented differently if it is after a begin..end clock.
5151         (verilog-in-attribute-p, verilog-skip-backward-comments)
5152         (verilog-skip-forward-comment-p): Support proper treatment of
5153         attributes by indent code.  Reported by Jeff Steele.
5154         (verilog-in-directive-p): Fix comment to correctly describe function.
5155         (verilog-backward-up-list, verilog-in-struct-region-p)
5156         (verilog-backward-token, verilog-in-struct-p)
5157         (verilog-in-coverage-p, verilog-do-indent)
5158         (verilog-pretty-declarations): Use verilog-backward-up-list as
5159         wrapper around backward-up-list inorder to properly skip comments.
5160         Reported by David Rogoff.
5161         (verilog-property-re, verilog-endcomment-reason-re)
5162         (verilog-beg-of-statement, verilog-set-auto-endcomments)
5163         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5164         of if).  Reported by Max Bjurling and
5165         (verilog-calc-1): Fix for clocking block in modport
5166         declaration.  Reported by Brian Hunter.
5168 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
5170         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5171         (verilog-gate-keywords, verilog-read-sub-decls)
5172         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5173         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5174         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
5175         (verilog-read-decls): Fix spaces in V2K module parameters causing
5176         mis-identification as interfaces, bug287.
5177         (verilog-read-decls): Fix not treating "parameter string" as a
5178         parameter in AUTOINSTPARAM.
5179         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5180         treating `elsif similar to `endif inside AUTOSENSE.
5181         (verilog-do-indent): Implement correct automatic or static task or
5182         function end comment highlight.  Reported by Steve Pearlmutter.
5183         (verilog-font-lock-keywords-2): Fix highlighting of single
5184         character pins, bug264.  Reported by Michael Laajanen.
5185         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5186         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5187         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5188         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
5189         (verilog-pretty-expr): Fix interactive arguments, bug272.
5190         Reported by Mark Johnson.
5191         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5192         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5193         bug269.  Suggested by Gary Delp.
5194         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5195         (verilog-preprocessor, verilog-set-compile-command):
5196         Create verilog-preprocess and verilog-preprocessor to show
5197         preprocessed output.
5198         (verilog-get-beg-of-line, verilog-get-end-of-line)
5199         (verilog-modi-file-or-buffer, verilog-modi-name)
5200         (verilog-modi-point, verilog-within-string): Move defmacro's
5201         before first use to avoid warning.  Reported by Steve Pearlmutter.
5202         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5203         (verilog-colorize-region, verilog-highlight-buffer)
5204         (verilog-highlight-includes, verilog-highlight-modules)
5205         (verilog-highlight-region, verilog-mode): Rename colorize to
5206         highlight to match other packages.  Disable module highlighting,
5207         as received speed complaints, reenable for experimentation only
5208         using new verilog-highlight-modules.
5209         (verilog-read-decls): Fix regexp stack overflow in very large
5210         AUTO_TEMPLATEs, bug250.
5211         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5212         (verilog-scan): Create verilog-save-buffer-state to standardize
5213         making insignificant changes that shouldn't call hooks.
5214         (verilog-save-no-change-functions, verilog-save-scan-cache)
5215         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5216         Create verilog-save-no-change-functions to wrap verilog-scan
5217         preservation, and fix to work with nested preserved calls.
5218         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5219         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5220         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
5221         (verilog-submit-bug-report): Update variable list to be complete.
5222         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5223         breaking on-the-fly font-locking.
5224         (verilog-colorize-buffer, verilog-colorize-include-files)
5225         (verilog-colorize-include-files-buffer, verilog-colorize-region)
5226         (verilog-load-file-at-mouse, verilog-load-file-at-point)
5227         (verilog-mode, verilog-read-inst-module-matcher): With point on a
5228         AUTOINST cell instance name, middle mouse button now finds-file on
5229         it.  Suggested by Brad Dobbie.
5230         (verilog-alw-get-temps, verilog-auto-reset)
5231         (verilog-auto-sense-sigs, verilog-read-always-signals)
5232         (verilog-read-always-signals-recurse): Fix loop indexes being
5233         AUTORESET.  AUTORESET now assumes any variables in the
5234         initialization section of a for() should be ignored.
5235         Reported by Dan Dever.
5236         (verilog-error-font-lock-keywords)
5237         (verilog-error-regexp-emacs-alist)
5238         (verilog-error-regexp-xemacs-alist): Fix error detection of
5239         Cadence HAL, reported by David Asher.  Repair drift between the
5240         three similar error variables.
5241         (verilog-modi-lookup, verilog-modi-lookup-cache)
5242         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5243         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5244         Fix slow verilog-auto expansion on very large files.
5245         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5246         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5247         "{1*2{...".  Broke in last revision.
5248         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5249         submodule connections with replications "{#{a},#{b}}".
5251 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
5253         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5254         Fix typo in docstring.
5256 2010-10-24  Kenichi Handa  <handa@m17n.org>
5258         * face-remap.el (text-scale-adjust): Call read-event with a proper
5259         prompt.
5261 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5263         * emacs-lisp/unsafep.el: Don't mark functions that display
5264         messages as safe.  Suggested by Johan Bockgård.
5266 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5268         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5269         Turn comments into docstrings.
5271         * minibuffer.el (completion--replace): Move point where it belongs
5272         when there's a common suffix (bug#7215).
5274 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5276         Merge read-color and facemenu-read-color (Bug#7242).
5278         * faces.el (read-color): Use the completion code from
5279         facemenu-read-color.  Require match in completion.  Doc fix.
5281         * facemenu.el (facemenu-read-color): Alias for read-color.
5282         (facemenu-set-foreground, facemenu-set-background):
5283         Use read-color.
5285         * frame.el (set-background-color, set-foreground-color)
5286         (set-cursor-color, set-mouse-color, set-border-color):
5287         Use read-color.
5289 2010-10-24  Leo Liu  <sdl.web@gmail.com>
5291         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5292         argument of delete-file and delete-directory (Bug#7011).
5294 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5296         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5297         button-buffer-map.
5299 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
5301         * emacs-lisp/package.el (package--generate-package-list): Make the
5302         *Packages* buffer read-only.
5304 2010-10-24  Alan Mackenzie  <acm@muc.de>
5306         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5307         result of `c-beginning-of-decl-1' between invocations of a lambda
5308         function (Bug #7265).
5310 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
5312         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5313         executable is not available on the system (Bug#7268).
5315 2010-10-24  Glenn Morris  <rgm@gnu.org>
5317         * select.el (selection-coding-system, next-selection-coding-system):
5318         Sync doc with C versions.
5320         * w32-vars.el (x-select-enable-clipboard):
5321         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5322         * term/common-win.el (x-select-enable-clipboard): Move here.
5324         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5325         definition of C variable.
5327         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5328         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5329         Don't redefine things that are defined in C.
5330         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5331         (show-trailing-whitespace, auto-hscroll-mode)
5332         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5333         Set up the appropriate custom properties.
5335 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5337         Bind "C-c ]" to ...
5338         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5339         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5340         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5341         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5343 2010-10-23  Glenn Morris  <rgm@gnu.org>
5345         * textmodes/flyspell.el (flyspell-mode): If there was an error,
5346         say what it was.
5348         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5349         Sync docs with C version.
5351         * term/ns-win.el (xw-defined-colors):
5352         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5354         * term/pc-win.el (x-select-enable-clipboard):
5355         * term/x-win.el (x-select-enable-clipboard):
5356         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5358         * comint.el (comint-password-prompt-regexp): Make it less vague.
5359         Bump version.
5361         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5363         * help.el (finder-by-keyword): Remove unnecessary autoload.
5365 2010-10-22  Glenn Morris  <rgm@gnu.org>
5367         * loadup.el: Unconditionally load float-sup.
5368         * paren.el (show-paren-delay):
5369         * emacs-lisp/float-sup.el:
5370         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5371         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5372         (lazy-lock-stealth-verbose): Assume float support.
5373         * ps-print.el: Assume float support on Emacs.
5374         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5375         Remove non-float branch.
5377         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5378         src/Makefile no longer being pre-processed.
5380 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5382         * emacs-lisp/find-func.el (find-library): Use test-completion.
5384 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5386         * newcomment.el (comment-dwim): Fix the indentation in the doc string.
5388 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
5390         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5391         space in stat format string.
5392         (tramp-send-command): Unset $PS1 when using here documents, in
5393         order not to get several prompts.
5394         (tramp-get-inline-coding): Return `nil' in case of errors.
5396 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
5398         * hexl.el (hexl-mode, hexl-mode-exit):
5399         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5400         (hexl-revert-buffer-function): New function.
5401         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5403 2010-10-19  Alan Mackenzie  <acm@muc.de>
5405         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5406         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5407         that these keywords aren't wrongly matched as identifiers.
5409         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5410         setting of c-new-BEG and c-new-END from c-before-change to
5411         c-after-change.  (Bug#7181)
5413 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5415         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5416         Don't mark as safe.
5418         * custom.el (custom-theme-set-variables): Likewise.
5419         (load-theme): Add custom-theme-set-faces and
5420         custom-theme-set-variables to safe-functions while loading.
5421         (custom-enabled-themes): Mark as risky.
5423 2010-10-18  Julien Danjou  <julien@danjou.info>
5425         * bindings.el: Remove end dashes in default mode-line-format.
5427 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5429         * bindings.el (global-map): Bind C-d to delete-char and deletechar
5430         to delete-forward-char.
5432         * simple.el (normal-erase-is-backspace-mode): Remap delete to
5433         deletechar, and hence delete-forward-char.
5435 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5437         * repeat.el (repeat): Use read-key (bug#6256).
5439 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5441         * emacs-lisp/unsafep.el: Don't mark functions that display
5442         messages as safe.  Suggested by Johan Bockgård.
5444 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5446         * minibuffer.el (completion--replace): Move point where it belongs
5447         when there's a common suffix (bug#7215).
5449 2010-10-19  Kenichi Handa  <handa@m17n.org>
5451         * international/characters.el: Add category '|' (word breakable)
5452         to fullwidth characters.
5454 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
5456         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5457         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5458         order to make stat results a float.  Patch by Andreas Schwab
5459         <schwab@linux-m68k.org>.
5461 2010-10-18  Julien Danjou  <julien@danjou.info>
5463         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5464         hidden by `make-pointer-invisible'.
5466 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5468         * files.el (locate-file-completion-table): Strip non-matching elements
5469         before checking length of list (bug#7238).
5471 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
5473         * custom.el (custom-theme-set-variables): Mark as a safe function.
5474         (load-theme): Check forms using unsafep.
5476         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5478 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
5480         * textmodes/ispell.el (ispell-aspell-find-dictionary):
5481         Fix aspell data file searching (bug#7230).
5483 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5485         * cus-theme.el (custom-theme--migrate-settings): New var.
5486         (customize-create-theme): Allow editing the `user' theme.
5487         (custom-theme-add-variable, custom-theme-add-var-1)
5488         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5489         to the front of each variable or face widget.
5490         (custom-theme-write): Save theme settings in the correct order.
5491         Optionally, remove saved settings from user customizations.
5492         (custom-theme-write-variables, custom-theme-write-faces):
5493         Save only the checked widgets.
5494         (customize-themes): Add a link for migrating custom settings.
5496         * custom.el (custom-declare-theme, provide-theme):
5497         Use custom-theme-name-valid-p.
5498         (custom-theme-name-valid-p): Remove checks that are now
5499         unnecessary since themes no longer obey load-path.
5501         * cus-edit.el (custom-variable-value-create): For the simple
5502         style, hide documentation string when hidden.
5504 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5506         * cus-edit.el (custom-variable, custom-face): Combine the
5507         :inhibit-magic and :display-style properties into a single
5508         :custom-style property.
5509         (custom-toggle-hide-variable, custom-toggle-hide-face):
5510         New functions.  If hiding an edited value, save it to :shown-value.
5511         (custom-variable-value-create, custom-face-value-create): Use them.
5512         (custom-magic-reset): Allow magic property to be unset.
5514         * custom.el: Custom themes no longer use load-path.
5515         (custom-theme-load-path): New option.  Change built-in theme
5516         directory to etc/.
5517         (custom-enabled-themes): Add custom-theme-load-path dependency.
5518         (custom-theme--load-path): New function.
5519         (load-theme, custom-available-themes): Use it.
5521         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5522         (customize-themes): Link to custom-theme-load-path variable.
5523         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5524         :custom-style property.
5526         * themes/*.el: Moved to etc/.
5528 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
5530         * textmodes/reftex-cite.el
5531         (reftex-extract-bib-entries-from-thebibliography): Do not move
5532         point when searching for \bibitem entries.  Match entries with
5533         spaces or tabs in front of arguments.
5535 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5537         * cus-theme.el (customize-create-theme): Delete overlays after
5538         erasing.  If given a THEME arg, display only the faces of that arg
5539         instead of custom-theme--listed-faces.
5540         (custom-theme-variable-menu, custom-theme-variable-action)
5541         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5542         (custom-theme-add-variable, custom-theme-add-face): Apply value
5543         from the theme settings, instead of the current value.
5544         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5545         (custom-theme-visit-theme): Allow calling outside theme buffers.
5546         (custom-theme-merge-theme): Don't enable the theme when merging.
5547         (custom-theme-write-variables, custom-theme-write-faces): Use the
5548         :shown-value properties to save buffer values, not global ones.
5549         (customize-themes): Display a warning about user customizations.
5551         * cus-edit.el (custom-variable-value-create)
5552         (custom-face-value-create): Obey new special properties
5553         :shown-value and :inhibit-magic.
5555 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
5557         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5558         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
5559         <dale@codefu.org>.
5561 2010-10-14  Kenichi Handa  <handa@m17n.org>
5563         * mail/rmail.el (rmail-show-message-1): Catch an error of
5564         base64-decode-region and just show an error message (bug#7165).
5566         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
5567         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5568         a font-spec (bug#7197).
5570 2010-10-14  Glenn Morris  <rgm@gnu.org>
5572         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5574 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
5576         * international/mule.el (define-coding-system):
5577         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5578         * composite.el (compose-region): Fix typo in docstring.
5580 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
5582         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5583         only after checking the theme-face property.
5585         * faces.el (face-spec-reset-face): Reset all attributes in one
5586         single call to set-face-attribute.
5587         (face-spec-match-p): Make it a defsubst.
5588         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5589         (x-create-frame-with-faces, tty-create-frame-with-faces)
5590         (tty-set-up-initial-frame-faces): Don't recompute face specs in
5591         frame-set-background-mode, since they are recomputed immediately
5592         afterwards in face-set-after-frame-default.
5593         (face-set-after-frame-default): Minor optimization.
5594         (cursor): Provide non-trivial defface spec.
5596         * custom.el (custom-theme-recalc-face): Simplify.
5598 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
5600         * calc/calc-alg.el (math-var): Rename from `var'.
5601         (math-is-polynomial, math-is-poly-rec): Replace `var'
5602         with `math-var'.
5604         * calc/calcalg2.el (math-var): Rename from `var'.
5605         (calcFunc-table, math-scan-for-limits): Replace `var'
5606         with `math-var'.
5608 2010-10-13  Glenn Morris  <rgm@gnu.org>
5610         * subr.el (last): Deal with dotted lists (reported in bug#7174).
5612 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
5614         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5616 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5618         * net/tls.el (tls-program): Remove spurious %s from openssl.
5619         (tls-starttls-switches): Remove starttls hack.
5620         (open-tls-stream): Ditto.
5621         (tls-find-starttls-argument): Ditto.
5623 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
5625         * image.el (image-library-alist): Declare as obsolete alias.
5626         (image-type-available-p): Use `dynamic-library-alist'.
5628         * term/w32-win.el (dynamic-library-alist):
5629         Use instead of `image-library-alist'.
5631 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
5633         * subr.el (last): Make it faster.  (Bug#7174)
5635 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
5637         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
5639 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5641         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5642         (describe-theme-1): Extract doc from unloaded themes.
5644         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5646         * themes/tango-theme.el:
5647         * themes/tango-dark-theme.el:
5648         * themes/wheatgrass-theme.el: New files.
5650 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5652         * cus-theme.el (describe-theme, customize-themes)
5653         (custom-theme-save): New commands.
5654         (custom-new-theme-mode-map): Bind C-x C-s.
5655         (custom-new-theme-mode): Use custom--initialize-widget-variables.
5656         (customize-create-theme): New optional arg THEME.
5657         (custom-theme-revert): Use it.
5658         (custom-theme-visit-theme): Remove dead code.
5659         (custom-theme-merge-theme): Use custom-available-themes.
5660         (custom-theme-write): Make interactive.
5661         (custom-theme-write): Use custom-theme-name-valid-p.
5662         (describe-theme-1, custom-theme-choose-revert)
5663         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5664         New funs.
5665         (custom-theme-allow-multiple-selections): New option.
5666         (custom-theme-choose-mode): New major mode.
5668         * custom.el (custom-theme-set-variables): Remove dead code.
5669         Obey custom--inhibit-theme-enable.
5670         (custom--inhibit-theme-enable): New var.
5671         (provide-theme): Obey it.
5672         (load-theme): Replace load with manual read/eval, in order to
5673         check for correctness.  Use custom-theme-name-valid-p.
5674         (custom-theme-name-valid-p): New function.
5675         (custom-available-themes): Use it.
5677         * cus-edit.el (custom--initialize-widget-variables): New function.
5678         (Custom-mode): Use it.
5680         * cus-face.el (custom-theme-set-faces): Remove dead code.
5681         Obey custom--inhibit-theme-enable.
5683         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5685 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
5687         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5689 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
5691         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5692         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5693         (mac-right-option-modifier): New alias for ns-right-option-modifier.
5695         * cus-start.el (all): ns-right-alternate-modifier is new.
5697 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5699         * emacs-lisp/lisp.el (lisp-completion-at-point):
5700         Use emacs-lisp-mode-syntax-table for the whole function.
5702 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
5704         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5705         instead of font-lock-mode before adding keywords.
5706         Remove hi-lock-mode off code.  Remove inhibit hack.
5707         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5708         non-nil; removed hook inhibit hack.
5710 2010-10-12  Glenn Morris  <rgm@gnu.org>
5712         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5713         (load-path-shadows-find): ... to this.
5714         (list-load-path-shadows): Update for above change.
5716         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5718 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
5720         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5721         Fix comment for declare-function.
5723 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
5725         * custom.el (custom-fix-face-spec): New function; code moved from
5726         custom-face-edit-fix-value.
5727         (custom-push-theme): Use it when checking if a face has been
5728         changed outside customize.
5729         (custom-available-themes): New function.
5730         (load-theme): Use it.
5732         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5734         * custom.el (custom-push-theme): Cleanup (use cond).
5735         (disable-theme): Recompute the saved-face property.
5736         (custom-theme-recalc-face): Follow face alias before setting prop.
5738         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5739         New variables, containing checkbox images.
5741         * startup.el (fancy-startup-tail):
5742         * wid-edit.el (checkbox): Use them.
5744 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
5746         * shell.el (shell-mode-map):
5747         * progmodes/modula2.el (m2-mode-map):
5748         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5749         * play/mpuz.el (mpuz-mode-map):
5750         * play/landmark.el (lm-mode-map):
5751         * play/decipher.el (decipher-mode-map):
5752         * play/5x5.el (5x5-mode-map):
5753         * net/telnet.el (telnet-mode-map):
5754         * net/quickurl.el (quickurl-list-mode-map):
5755         * net/mairix.el (mairix-searches-mode-map):
5756         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5757         * net/dig.el (dig-mode-map):
5758         * mail/mspools.el (mspools-mode-map):
5759         * hexl.el (hexl-mode-map):
5760         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5761         (wordstar-C-o-map, wordstar-C-q-map):
5762         * emacs-lisp/edebug.el (edebug-eval-mode-map):
5763         * emacs-lisp/chart.el (chart-map):
5764         * edmacro.el (edmacro-mode-map):
5765         * array.el (array-mode-map): Declare and define in one step.
5767         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5769 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
5771         * epa.el (epa-passphrase-callback-function): Display filename
5772         passed as the 3rd arg.
5773         * epa-file.el (epa-file-passphrase-callback-function):
5774         Pass filename to epa-passphrase-callback-function.
5776 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
5778         * cus-edit.el (custom-face-widget-to-spec)
5779         (custom-face-get-current-spec, custom-face-state): New functions.
5780         (custom-face-set, custom-face-mark-to-save)
5781         (custom-face-value-create, custom-face-state-set): Use them.
5783         * cus-theme.el (custom-theme--listed-faces): New var.
5784         (customize-create-theme): Use *Custom Theme* as the buffer name.
5785         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
5786         faces listed in custom-theme--listed-faces.
5787         (custom-theme-revert): New function.
5788         (custom-theme-add-variable, custom-theme-add-face): Insert at the
5789         bottom of the list.
5790         (custom-theme-write): Prompt for theme name if empty.
5791         (custom-theme-write-variables): Use dolist.
5792         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5794 2010-10-09  Alan Mackenzie  <acm@muc.de>
5796         Enhance fontification of declarators to take account of the
5797         presence/absence of "typedef".
5799         * progmodes/cc-engine.el (c-forward-type): New &optional param
5800         "brace-block-too".
5801         (c-forward-decl-or-cast-1): cdr of return value now indicates the
5802         presence of either or both of a "struct"-like keyword and "typedef".
5804         * progmodes/cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5805         fontification of declarators which follow a "}".
5806         (c-font-lock-declarations): Fontify declarators according to the
5807         presence/absence of "typedef".
5809         * progmodes/cc-langs.el (c-typedef-kwds c-typedef-key):
5810         New lang variable for "typedef".
5811         (c-typedef-decl-key): New lang variable built from
5812         c-typedef-decl-kwds.
5814 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5816         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5817         since that's too annoying.  Move the filter groups commands to
5818         TAB/backtab.
5820         * epa.el (epa-passphrase-callback-function): Say what we're
5821         querying the password for.
5823         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5824         behavior, don't bury the ibuffer buffer when visiting other buffers.
5826 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5828         * cus-edit.el (custom-commands, custom-buffer-create-internal)
5829         (custom-magic-value-create): Pad button tags with spaces.
5830         (custom-face-edit): New variable.
5831         (custom-face-value-create): Determine whether to use the usual
5832         face editor here, instead of using custom-face-selected.
5833         Pass face defaults to custom-face-edit widget.
5834         (custom-face-selected, custom-display-unselected): Delete widgets.
5835         (custom-display-unselected-match): Function removed.
5836         (custom-face-set, custom-face-mark-to-save):
5837         Accept custom-face-edit widgets as the direct widget child.
5839         * wid-edit.el (widget--completing-widget): New var.
5840         (widget-default-complete): Bind it when doing completion.
5841         (widget-string-complete, widget-file-complete): Use it.
5843 2010-10-09  Glenn Morris  <rgm@gnu.org>
5845         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5846         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5847         (holiday-hebrew-misc): Small simplifications.
5849         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5851         * net/browse-url.el: Don't require thingatpt, term, dired,
5852         executable, or w3-auto when compiling.
5853         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5854         Declare.
5855         (browse-url-text-emacs): Require term.
5857 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
5859         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5861 2010-10-08  Glenn Morris  <rgm@gnu.org>
5863         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5865         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5866         (shadows-compare-text-p): Make it an obsolete alias for...
5867         (load-path-shadows-compare-text): ... new name.
5868         (find-emacs-lisp-shadows): Update for above name change.
5869         (load-path-shadows-same-file-or-nonexistent): New name for the old
5870         shadow-same-file-or-nonexistent.
5872 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5874         * minibuffer.el (completion--some, completion--do-completion)
5875         (minibuffer-complete-and-exit, minibuffer-completion-help)
5876         (completion-basic-try-completion)
5877         (completion-basic-all-completions)
5878         (completion-pcm--find-all-completions): Use lexical-let to
5879         avoid some false matches in variable completion (Bug#7056)
5881 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
5883         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
5885 2010-10-08  Leo Liu  <sdl.web@gmail.com>
5887         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5888         return non-nil if the file exists (Bug#7090).
5890 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5892         * minibuffer.el (completion--replace):
5893         Better preserve markers (bug#7138).
5895 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
5897         * server.el (server-process-filter): Doc fix.
5899 2010-10-08  Drew Adams  <drew.adams@oracle.com>
5901         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
5903 2010-10-08  Glenn Morris  <rgm@gnu.org>
5905         * vc/ediff-wind.el (ediff-setup-control-frame):
5906         * vc/ediff-ptch.el (ediff-default-backup-extension):
5907         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5908         (ediff-exec-process): Remove system-types emx, windows-95.
5910         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
5912 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
5914         * cus-edit.el (custom-variable, custom-face): Doc fix.
5915         (custom-face-edit): Add value-create attribute.
5916         (custom-face-edit-value-create)
5917         (custom-face-edit-value-visibility-action): New functions.
5918         Hide unused face attributes by default, and add a visibility toggle.
5919         (custom-face-edit-deactivate): Show empty values with shadow face.
5920         (custom-face-selected): Only use this for face specs with default
5921         attributes.
5922         (custom-face-value-create): Cleanup.
5924         * wid-edit.el (widget-checklist-value-create): Use dolist.
5925         (widget-checklist-match-find): Make second arg optional.
5927 2010-10-07  Glenn Morris  <rgm@gnu.org>
5929         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5930         Prefix things.
5932         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5933         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5934         load-path-shadows-mode, update references.
5935         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5936         Rename variable and button.
5937         (list-load-path-shadows): Update button caller.
5939 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5941         * emacs-lisp/smie.el (smie-bnf-classify): New function.
5942         (smie-bnf-precedence-table): Use it to remember the closers/openers.
5943         (smie-merge-prec2s): Handle those new entries.
5944         (smie-prec2-levels): Only set precedence to nil for actual
5945         openers/closers.
5946         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5947         that is now unnecessary.
5949 2010-10-07  Miles Bader  <miles@gnu.org>
5951         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5953 2010-10-07  Glenn Morris  <rgm@gnu.org>
5955         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5956         (mail-position-on-field): Remove declarations.
5957         (mail-position-on-field): Autoload it.
5958         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5959         and mail-header-end.  Don't require sendmail.
5961         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5962         (shadow-mode): New mode.
5963         (shadow-find-file): New button.
5964         (list-load-path-shadows): Use shadow-mode and buttons.
5966         * iimage.el (iimage-version): Remove.
5967         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5968         Turn into defcustoms.
5969         (iimage-mode-map): Give it a doc string.
5971         * calendar/appt.el (appt-activate): Give a warning rather than an error
5972         if there is no diary-file.
5974 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
5976         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5977         Use `tramp-handle-find-backup-file-name'.
5979 2010-10-06  Glenn Morris  <rgm@gnu.org>
5981         * font-core.el (font-lock-defaults-alist): Remove variable.
5982         (font-lock-mode): Doc fix.
5983         (font-lock-default-function): Do not consult font-lock-defaults-alist.
5984         * font-lock.el (font-lock-refresh-defaults): Doc fix.
5985         (font-lock-set-defaults): Doc fix.
5986         Do not consult font-lock-defaults-alist.
5988         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5990         * emacs-lisp/cl.el: No longer provide cl-19.
5992 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
5994         * net/tramp.el (tramp-handle-directory-files-and-attributes)
5995         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5996         New defuns, taken from tramp-smb.el.
5997         (tramp-coding-system-change-eol-conversion)
5998         (tramp-set-process-query-on-exit-flag): Remove.
6000         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6001         (tramp-compat-coding-system-change-eol-conversion)
6002         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6003         from tramp.el.
6005         * net/tramp-gvfs.el:
6006         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6007         by `tramp-compat-set-process-query-on-exit-flag'.
6009         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6010         Use `tramp-handle-directory-files-and-attributes',
6011         `tramp-handle-file-exists-p' and
6012         `tramp-handle-file-newer-than-file-p'.
6013         (tramp-imap-handle-file-exists-p)
6014         (tramp-imap-handle-file-executable-p)
6015         (tramp-imap-handle-file-readable-p)
6016         (tramp-imap-handle-directory-files-and-attributes)
6017         (tramp-imap-handle-file-newer-than-file-p): Remove.
6019         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6020         by `tramp-compat-set-process-query-on-exit-flag' and
6021         `tramp-coding-system-change-eol-conversion' by
6022         `tramp-compat-coding-system-change-eol-conversion'.
6024         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6025         Use `tramp-handle-directory-files-and-attributes',
6026         `tramp-handle-file-exists-p' and
6027         `tramp-handle-file-newer-than-file-p'.
6028         (tramp-smb-handle-directory-files-and-attributes)
6029         (tramp-smb-handle-file-exists-p)
6030         (tramp-smb-handle-file-newer-than-file-p): Remove.
6031         (tramp-smb-maybe-open-connection):
6032         Replace `tramp-set-process-query-on-exit-flag' by
6033         `tramp-compat-set-process-query-on-exit-flag'.
6035 2010-10-05  Glenn Morris  <rgm@gnu.org>
6037         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6039 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
6041         Continue reorganization of load dependencies.  (Bug#7156)
6043         * net/tramp.el (tramp-handle-file-local-copy-hook)
6044         (tramp-delete-temp-file-function): Move down.
6045         (tramp-exists-file-name-handler): Move up.
6046         (tramp-register-file-name-handlers): Simplify autoload.
6047         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6048         (tramp-handle-directory-files, tramp-handle-dired-uncache)
6049         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6050         (tramp-handle-file-name-completion)
6051         (tramp-handle-file-name-directory)
6052         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6053         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6054         (tramp-handle-find-backup-file-name)
6055         (tramp-handle-insert-file-contents, tramp-handle-load)
6056         (tramp-handle-substitute-in-file-name)
6057         (tramp-handle-unhandled-file-name-directory)
6058         (tramp-mode-string-to-int, tramp-local-host-p)
6059         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6061         * net/tramp-gvfs.el (top):
6062         * net/tramp-smb.el (top): Do not require 'tramp-sh.
6064         * net/tramp-sh.el (all): Move several objects to tramp.el, see
6065         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6067 2010-10-04  Glenn Morris  <rgm@gnu.org>
6069         * calendar/appt.el (appt-add): Ensure reminders are enabled.
6070         (appt-activate): Give status messages.
6072 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6074         * net/gnutls.el: Improve docs.  Remove STARTTLS and SSL emulation.
6075         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6076         `gnutls-negotiate' (formerly `starttls-negotiate').
6077         Remove trivial wrapper `starttls-open-stream'.
6079 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
6081         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6082         log-outgoing commands.
6083         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6084         to create a buffer local revert-buffer-function variable.
6085         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6086         revert-buffer-function lambda.
6088 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6090         * net/gnutls.el (starttls-negotiate): Use the plist interface to
6091         `gnutls-boot'.  Make TYPE the only required parameter.
6092         Allow TRUSTFILES and KEYFILES to be lists.
6093         (open-ssl-stream): Use it.
6095 2010-10-03  Glenn Morris  <rgm@gnu.org>
6097         * subr.el (directory-sep-char): Remove obsolete variable.
6098         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6099         it is "necessary".
6101         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6102         * vc/vc.el (vc-static-header-alist): Doc fix.
6103         * vc/vc-cvs.el (vc-cvs-header):
6104         * vc/vc-rcs.el (vc-rcs-header):
6105         * vc/vc-sccs.el (vc-sccs-header):
6106         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6107         * obsolete/vc-mcvs.el (vc-mcvs-header):
6108         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6109         on XEmacs.
6111 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6113         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6114         Remove obsolete use of binary-overwrite-mode (Bug#7001).
6116 2010-10-03  Glenn Morris  <rgm@gnu.org>
6118         * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6120         * textmodes/rst.el (rst-font-lock-keywords-function):
6121         Drop Emacs 20 code.
6123         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6125         * printing.el: Drop Emacs 20 code.
6127         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6128         without having used appt.el already).
6130         * subr.el (make-local-hook): Remove function obsolete since 21.1.
6131         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6132         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6133         XEmacs.
6134         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6135         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6137         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6138         (charset-width, find-charset-region, chars-in-region, forward-point)
6139         (encode-coding-string, coding-system-p, ccl-execute-on-string)
6140         (define-ccl-program, multibyte-string-p, string-make-multibyte):
6141         Remove compatibility cruft (none of these are used by ps*.el).
6143 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
6145         * subr.el (booleanp): Return t instead of a list (Bug#7086).
6147 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6149         * server.el (server-process-filter, server-return-error):
6150         Give emacsclient time to shut down after receiving an error string.
6152 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
6154         * files.el (remote-file-name-inhibit-cache): New defcustom.
6156         * time.el (display-time-file-nonempty-p):
6157         Use `remote-file-name-inhibit-cache'.
6159         * net/tramp.el (tramp-completion-reread-directory-timeout):
6160         Fix docstring.
6162         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6163         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6164         `remote-file-name-inhibit-cache'.  Check also for an integer
6165         value.  Add/increase counter when `tramp-verbose' >= 10.
6166         (tramp-set-file-property): Add/increase counter when
6167         `tramp-verbose' >= 10.
6169         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6170         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6171         (tramp-bug): Set tramp-autoload cookie.  Report all interned
6172         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
6173         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
6174         characters only in strings.
6176         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6177         to backward compatibility.
6179         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6180         (tramp-handle-file-name-all-completions)
6181         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6182         (tramp-open-connection-setup-interactive-shell):
6183         Call `tramp-cleanup-connection' directly.
6185 2010-10-02  Glenn Morris  <rgm@gnu.org>
6187         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6189         * subr.el (char-bytes): Remove obsolete function.
6191         * isearch.el (isearch-return-char): Remove obsolete function.
6193         * mouse.el: No longer provide mldrag.
6194         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6195         Remove obsolete aliases.
6197         * comint.el (comint-kill-output): Remove obsolete alias.
6199         * composite.el (decompose-composite-char): Remove obsolete function.
6200         * ps-def.el (decompose-composite-char): Remove unused function.
6202         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6204         * outline.el (outline-visible): Remove obsolete function.
6206         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6207         * faces.el (internal-find-face, internal-get-face)
6208         (frame-update-faces, frame-update-face-colors)
6209         (x-frob-font-weight, x-frob-font-slant)
6210         (internal-frob-font-weight, internal-frob-font-slant)
6211         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6212         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6213         (x-make-font-bold-italic): Remove functions and aliases, obsolete
6214         since Emacs 21.1.
6215         * emulation/viper-util.el (viper-get-face):
6216         * obsolete/lucid.el (find-face, get-face): Use facep.
6217         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6218         Remove unused functions.
6219         * vc/ediff-util.el (ediff-submit-report): Doc fix.
6221         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6222         delete tempfile if interrupted during compilation.
6224 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6226         * net/tls.el (tls-starttls-switches): Give up on using STARTTLS with
6227         gnutls-cli.
6228         (tls-program): Add --insecure to be consistent with the defaults from
6229         openssl s_client.  Now all three commands are insecure.
6231 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
6233         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6234         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6235         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6237 2010-10-01  Glenn Morris  <rgm@gnu.org>
6239         * obsolete/sc.el: Remove file.
6241         * files.el (temporary-file-directory): On darwin, also try
6242         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6244 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
6246         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6247         Let's not break compatibility gratuitously, shall we?
6249 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6251         * net/tls.el (tls-starttls-switches): New variable.
6252         (tls-find-starttls-argument): Use it.
6253         (open-tls-stream): Ditto.
6255         * net/netrc.el (netrc-credentials): Return the value of the "default"
6256         entry.
6257         (netrc-machine): Ditto.
6259 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
6261         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6263 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
6265         * server.el (server-start): Don't write pid to the authentication file.
6266         (server-create-tty-frame): Don't send pid.
6267         (server-process-filter): Send pid at the start of every connection.
6269 2010-09-30  Glenn Morris  <rgm@gnu.org>
6271         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6272         (show-all-diary-entries): Remove obsolete function aliases.
6274         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6275         Remove options, obsolete since 22.1.
6276         (appt-display-format, appt-display-message):
6277         Remove backwards-compatibility code.
6278         (appt-check): No longer check appt-issue-message.
6279         (appt-make-list): No longer autoload it.  Doc fix.  No longer
6280         activate the package.
6282 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6284         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6285         (starttls-negotiate): Just call boot, and let the handshake be
6286         triggered from the read loop.
6288 2010-09-29  Glenn Morris  <rgm@gnu.org>
6290         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6291         not displaying the diary.
6292         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6293         * calendar/appt.el (appt-check): No longer need to kill diary.
6295         * calendar/diary-lib.el (diary-list-entries): Move the
6296         "Preparing..." message entirely here.
6297         (diary-simple-display, diary-fancy-display): Move "Preparing..."
6298         messages to diary-list-entries.
6299         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6300         diary-display-function.
6302         * calendar/diary-lib.el (diary-include-other-diary-files):
6303         Trap some recursive includes.
6305         * calendar/appt.el (appt-activate): Check diary file.
6307 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
6309         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6310         construction.
6312         * calendar/time-date.el: No need to require cl for Emacs 21.
6314 2010-09-28  Glenn Morris  <rgm@gnu.org>
6316         * calendar/appt.el (appt-check): Minor simplification.
6318 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
6320         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6321         citation prefix.
6323 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
6325         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6326         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
6328 2010-09-27  Kenichi Handa  <handa@m17n.org>
6330         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6331         "ustar" format.
6333 2010-09-27  Kenichi Handa  <handa@m17n.org>
6335         * international/mule.el (define-coding-system): Docstring fixed.
6337         * international/mule-diag.el (describe-character-set): Use princ
6338         with proper print-length and print-level instead of insert.
6340 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
6342         * window.el (walk-windows): Doc fix (bug#7105).
6344 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6346         * emacs-lisp/float-sup.el (e): Remove.
6348 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
6350         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6351         variable.
6352         (starttls-negotiate): Use it.
6354 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6356         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6357         back.
6359 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6361         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6363 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6365         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6367         * net/netrc.el (netrc-store-data): New function.
6369 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
6371         * net/gnutls.el: GnuTLS glue code to set up a connection.
6373 2010-09-25  Julien Danjou  <julien@danjou.info>
6375         * notifications.el: Call dbus-register-signal only if it is bound.
6377 2010-09-25  Glenn Morris  <rgm@gnu.org>
6379         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6380         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6381         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6382         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6383         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6384         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6385         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6386         * eshell/esh-util.el, eshell/esh-var.el:
6387         Remove leading `*' from docs of faces and defcustoms.
6389 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
6391         * eshell/em-ls.el (eshell-ls-archive-regexp):
6392         * eshell/esh-util.el (eshell-tar-regexp):
6393         * ibuffer.el (ibuffer-compressed-file-name-regexp):
6394         * info.el (Info-suffix-list):
6395         * international/mule.el (auto-coding-alist):
6396         * woman.el (woman-file-regexp, woman-file-compression-regexp):
6397         * progmodes/etags.el (tags-compression-info-list):
6398         Support xz compression.
6400 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
6402         * files.el (get-free-disk-space): Don't assume the "df" output
6403         columns line up (Bug#6995).
6405 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6407         * finder.el (finder-unknown-keywords):
6408         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6409         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6411 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6413         * server.el (server-start): Revert part of 2010-08-08 change.  Using
6414         address 127.0.0.1 for local host is now done in Fmake_network_process.
6416 2010-09-24  Glenn Morris  <rgm@gnu.org>
6418         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6419         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6420         * textmodes/css-mode.el, textmodes/dns-mode.el:
6421         Move autoloaded auto-mode-alist entries to files.el.
6422         * files.el (auto-mode-alist): Move entries here.
6424 2010-09-23  Glenn Morris  <rgm@gnu.org>
6426         * isearch.el (isearch-lazy-highlight-cleanup)
6427         (isearch-lazy-highlight-initial-delay)
6428         (isearch-lazy-highlight-interval)
6429         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6430         * net/net-utils.el (ipconfig-program-options):
6431         Move aliases to options before the associated definitions.
6433 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6435         * newcomment.el (comment-normalize-vars): Better test validity of
6436         comment-end-skip.
6438 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6440         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6441         (float-e): New name for `e'.
6442         (degrees-to-radians, radians-to-degrees):
6443         * calendar/solar.el (solar-longitude):
6444         * calculator.el (calculator-registers, calculator-funcall):
6445         * textmodes/artist.el (artist-spray-random-points):
6446         * play/bubbles.el (bubbles--initialize-images): Use new names.
6448 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
6450         Update to CEDET 1.0's version of EIEIO.
6452         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6453         New function.
6454         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6455         (eieio-default-eval-maybe): Eval val instead of unquoting only.
6456         (class-precedence-list): If class is nil, return nil.
6457         (eieio-generic-call): If class of first input arg is nil, don't
6458         look up static methods, and do check for primary methods.
6459         (initialize-instance): See if the default needs to be evaluated
6460         during the constructor.
6461         (eieio-perform-slot-validation-for-default): Don't do the check
6462         for values that will eventually be evaluated.
6463         (eieio-eval-default-p): New function.
6464         (eieio-default-eval-maybe): Use it.
6466 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6468         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6469         method-invocation-order.
6470         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6471         (eieio-class-precedence-dfs): Compute class precedence list using
6472         dfs algorithm.
6473         (eieio-class-precedence-bfs): Compute class precedence list using
6474         bfs algorithm.
6475         (eieio-class-precedence-c3): Compute class precedence list using
6476         c3 algorithm.
6477         (class-precedence-list): New function.
6478         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6479         (inconsistent-class-hierarchy): New error symbol.
6480         (call-next-method): Stow the replacement argument list for future
6481         call-next-method invocations.
6483 2010-09-23  Glenn Morris  <rgm@gnu.org>
6485         * calendar/appt.el (appt-check): If not displaying the diary,
6486         use (diary 1) to only get the entries we need.
6487         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6488         that it is in day order.  (Bug#7019)
6490         * calendar/appt.el (appt-check): Rather than showing the diary,
6491         just turn off invisible display, and only if needed.
6493         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
6495 2010-09-23  Glenn Morris  <rgm@gnu.org>
6497         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6498         (byte-compile-defvar, byte-compile-cl-warn):
6499         Start warnings with lower-case, like the majority.
6501         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6503         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
6505         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6506         * files.el (auto-mode-alist): Move ld-script entries here, further down
6507         the list.
6509         * vc/add-log.el: Don't require timezone when compiling.
6510         (timezone-make-date-sortable): Autoload it.
6511         (change-log-sortable-date-at): Don't require timezone.
6512         Use `ignore-errors'.
6514         * comint.el (comint-use-prompt-regexp-instead-of-fields):
6515         Move alias before definition, so it does not need autoloading.
6517         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6518         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6519         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6520         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6521         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6522         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6523         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6524         * textmodes/tex-mode.el, textmodes/two-column.el:
6525         Remove leading `*' from docs of defcustoms etc.
6527 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
6529         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6531 2010-09-22  Dan Christensen  <jdc@uwo.ca>
6533         * calendar/time-date.el (date-to-time): Try using parse-time-string
6534         first before using the slower timezone-make-date-arpa-standard.
6536 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
6538         * calendar/time-date.el (format-seconds): Comment fix.
6540 2010-09-22  Glenn Morris  <rgm@gnu.org>
6542         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6543         is not automatically buffer-local.
6545 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6547         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6548         (smie-indent-comment): Be more careful with comment-start-skip.
6549         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6550         (smie-indent-functions): Use them.
6552 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
6554         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6556 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
6558         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6559         tool-bar-position.  Don't modify frame parameters here.
6560         (menu-bar-options-save): Add tool-bar-position.
6562         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6564 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6566         * textmodes/reftex-parse.el (reftex-what-macro)
6567         (reftex-context-substring): Let-bind forward-sexp-function to nil
6568         since we don't need/want to treat \begin...\end as a block (bug#7053).
6570         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6572         * simple.el (blink-matching-open): Use syntax-class.
6574         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6575         Set invisibility spec for pascal's outline mode.
6576         (pascal-outline-change): Clean up calling convention.
6577         (pascal-show-all, pascal-hide-other-defuns): Update callers.
6579         * progmodes/prolog.el (prolog-smie-forward-token)
6580         (prolog-smie-backward-token): New functions.
6581         (prolog-mode-variables): Use them to parse "!," correctly.
6582         Set up smie-blink-matching for ".".
6584         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6585         and `end'.
6586         (ispell-region, ispell-process-line): Update users.
6588         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6589         point-min==1.
6591         * textmodes/ispell.el: Fix commenting convention.
6592         (ispell-parse-output): Simplify, use push.
6593         (ispell-region): Use match-string-no-properties.
6594         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6595         (ispell-minor-mode): Use define-minor-mode.
6596         (ispell-message): Remove unused var `skip-regexp'.
6597         (ispell-add-per-file-word-list): Use dynamic let-binding.
6598         Try and use the proper comment marker.
6600         * mail/sendmail.el: Fix commenting convention.
6601         (sendmail-send-it): Use line-beginning-position.
6603         * help-fns.el (describe-variable): Add original value, if applicable.
6605 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
6607         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6609         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6611 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6613         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6614         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6615         (smie-prec2-levels): Use them to better diagnose precedence cycles.
6616         (smie-blink-matching-check): Don't signal a mismatch if car is t.
6617         (smie-blink-matching-open): Rewrite to remove assumptions, so that
6618         something like "." can also be a closer.
6619         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6620         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6621         Rename internal functions to use "--".  Update callers.
6623         * frame.el (make-frame-names-alist): Don't list frames on other displays.
6625         * fringe.el (fringe-styles): New var.
6626         (fringe-mode, fringe-query-style): Use it.
6628 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
6630         * progmodes/sql.el: Version 2.8
6631         (sql-login-params): Update widget structure; changes still needed.
6632         (sql-product-alist): Add :list-all and :list-table features for
6633         SQLite, Postgres and MySQL products.
6634         (sql-redirect): Handle default value.
6635         (sql-execute, sql-execute-feature): New functions.
6636         (sql-read-table-name): New function.
6637         (sql-list-all, sql-list-table): New functions.  User API.
6638         (sql-mode-map, sql-interactive-mode-map): Add key definitions
6639         for above functions.
6640         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6641         for above functions.
6642         (sql-postgres-login-params): Add user and database defaults.
6643         (sql-buffer-live-p): Bug fix.
6644         (sql-product-history): New variable.
6645         (sql-read-product): New function.  Use it.
6646         (sql-set-product, sql-product-interactive): Use it.
6647         (sql-connection-history): New variable.
6648         (sql-read-connection): New function.  Use it.
6649         (sql-connect): New function.
6650         (sql-for-each-login): Redesign function interface.
6651         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6652         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
6653         (sql-comint): Check for program.  Existing live buffer.
6654         (sql-comint-postgres): Add port parameter.
6656 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6658         * emacs-lisp/warnings.el: Fix commenting convention.
6659         (display-warning): Use special mode and make the buffer read-only.
6661 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
6663         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6664         empty string when it follows a repeated or optional pattern.
6666 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6668         * indent.el (indent-according-to-mode): Apply syntax-propertize.
6669         (indent-region): Use indent-according-to-mode.
6671 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
6673         * fringe.el (fringe-mode): Doc fix.
6675 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
6677         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6678         refreshing the preview buffer.
6680 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6682         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6683         (latex-syntax-propertize-rules): New consts; replace
6684         tex-font-lock-syntactic-keywords.
6685         (tex-env-mark, latex-env-before-change): New functions.
6686         (latex-electric-env-pair-mode): New minor mode.
6687         (tex-font-lock-verb): Change arguments; do move point.
6688         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6689         representation as a form of comment.
6690         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6691         (doctex-syntax-propertize-rules): New const; replaces
6692         doctex-font-lock-syntactic-keywords.
6693         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6695         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6696         (fortran-make-syntax-propertize-function): New function; replaces
6697         fortran-font-lock-syntactic-keywords.
6698         (fortran-mode): Use it.
6699         (fortran-line-length): Use it.  Improve interactive spec.
6701         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6702         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
6703         when adding surrounding \(..\).
6705         * progmodes/js.el (js-mode): Fix last change (bug#7054).
6707 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6709         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6710         Use with-current-buffer.
6712         * isearch.el (isearch-face): Rename from `isearch'.
6713         (isearch-highlight): Use new name.
6715 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
6717         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6718         5, for `half' width fringes.  (Bug#6933)
6720 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6722         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6723         (byte-compile-defvar): "foo/bar" does not lack a prefix.
6725         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6727 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
6729         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6730         in calculating new frame position.  Add more space between new and
6731         parent on the left (Bug#7048).
6733 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
6735         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6736         defmacro.
6738 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
6740         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6742         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6743         obsolete alias for x-selection-value.
6745         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6747 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
6749         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6750         cookie.
6752 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
6754         * net/tramp-compat.el (tramp-compat-with-temp-message)
6755         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6756         (tramp-compat-process-put): New defuns.
6758         * net/tramp.el (top):
6759         * net/tramp-gvfs.el (top):
6760         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6762         * net/tramp.el (tramp-progress-reporter-update):
6763         Use `tramp-compat-funcall'.
6765         * net/tramp.el (tramp-process-actions):
6766         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6767         * net/tramp-sh.el (tramp-handle-vc-registered)
6768         (tramp-get-remote-stat, tramp-get-remote-readlink):
6769         Use `tramp-compat-with-temp-message'.
6771         * net/tramp-sh.el (top): Require 'cl.
6772         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6773         (tramp-open-connection-setup-interactive-shell):
6774         Use `tramp-compat-process-put'.
6776 2010-09-15  Alan Mackenzie  <acm@muc.de>
6778         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6779         indentation.
6780         (c-forward-<>-arglist-recur): Fix an infinite recursion.
6782 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6784         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6785         `lexical' for warnings related to lexical scoping.
6786         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6787         global vars which don't have a prefix and could hence affect lexical
6788         scoping in unrelated files.
6790 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6792         * net/imap.el: Revert back to version
6793         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6794         seem problematic.
6796 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
6798         * obsolete/old-whitespace.el (whitespace-unload-function):
6799         Explicitly pass `obarray' to `unintern' to avoid a warning.
6801 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6803         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6804         Add `when' argument.  Update callers.
6806         * subr.el (unintern): Declare the obarray arg mandatory.
6808 2010-09-14  Glenn Morris  <rgm@gnu.org>
6810         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6811         Doc fixes.
6813         * calendar/diary-lib.el (diary-included-files): New variable.
6814         (diary-list-entries): Maybe initialize diary-included-files.
6815         (diary-include-other-diary-files): Append to diary-included-files.
6816         * calendar/appt.el (appt-update-list): Also check the members of
6817         diary-included-files.  (Bug#6999)
6818         (appt-check): Doc fix.
6820 2010-09-14  David Reitter  <david.reitter@gmail.com>
6822         * simple.el (line-move-visual): Do not truncate goal column to
6823         integer size.  (Bug#7020)
6825 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6827         * repeat.el (repeat): Allow repeating when the last event is a click.
6828         Suggested by Drew Adams (bug#6256).
6830 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
6832         * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
6833         Replace setting HGRCPATH to "" by some less invasive --config options.
6835 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6837         * font-lock.el (font-lock-beginning-of-syntax-function):
6838         Mark as obsolete.
6840 2010-09-14  Glenn Morris  <rgm@gnu.org>
6842         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6843         and tool-bar modes.  (Bug#6211)
6844         (menu-bar-mode): Move setting of standard-value after the
6845         minor-mode definition, otherwise it seems to have no effect.
6847 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
6849         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6850         Fix typo.  (Bug#6976)
6852 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6854         * whitespace.el: Allow cleaning up blanks without blank
6855         visualization (Bug#6651).  Adjust help window for
6856         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6857         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
6858         (whitespace-style): Add new value 'face.  Adjust docstring.
6859         (whitespace-space, whitespace-hspace, whitespace-tab):
6860         Adjust foreground property face.
6861         (whitespace-line-column): Adjust docstring and type declaration.
6862         (whitespace-style-value-list, whitespace-toggle-option-alist)
6863         (whitespace-help-text): Adjust const initialization.
6864         (whitespace-toggle-options, global-whitespace-toggle-options):
6865         Adjust docstring.
6866         (whitespace-display-window, whitespace-interactive-char)
6867         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6868         (whitespace-help-scroll): New fun.
6870 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6872         * calendar/time-date.el (format-seconds): Comment fix.
6874 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
6876         * progmodes/sql.el: Version 2.7.
6877         (sql-buffer-live-p): Improve detection.
6878         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6879         (sql-set-sqli-buffer): Use it.
6880         (sql-product-interactive): Run `sql-set-sqli-hook'.
6881         (sql-rename-buffer): Code cleanup.
6882         (sql-redirect, sql-redirect-value): New functions.  More to come.
6884 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
6886         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.
6887         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6888         (TRAMP_SRC): New macro.
6889         ($(lisp)/net/tramp-loaddefs.el): New target.
6891 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
6893         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
6895         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
6897         * net/tramp.el (top): Don't show loading message.  Require just
6898         'tramp-compat, everything else is required there.
6899         Use `ignore-errors' where appropriate.
6900         (tramp-inline-compress-start-size, tramp-copy-size-limit)
6901         (tramp-terminal-type, tramp-end-of-output)
6902         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6903         (tramp-completion-function-alist-ssh)
6904         (tramp-completion-function-alist-telnet)
6905         (tramp-completion-function-alist-su)
6906         (tramp-completion-function-alist-putty, tramp-remote-path)
6907         (tramp-remote-process-environment, tramp-sh-extra-args)
6908         (tramp-actions-before-shell, tramp-uudecode)
6909         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6910         (tramp-perl-file-attributes)
6911         (tramp-perl-directory-files-and-attributes)
6912         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6913         (tramp-perl-encode, tramp-perl-decode)
6914         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6915         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6916         (tramp-handle-make-symbolic-link, tramp-handle-load)
6917         (tramp-handle-file-name-as-directory)
6918         (tramp-handle-file-name-directory)
6919         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6920         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6921         (tramp-do-file-attributes-with-ls)
6922         (tramp-do-file-attributes-with-perl)
6923         (tramp-do-file-attributes-with-stat)
6924         (tramp-handle-set-visited-file-modtime)
6925         (tramp-handle-verify-visited-file-modtime)
6926         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6927         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6928         (tramp-handle-file-selinux-context)
6929         (tramp-handle-set-file-selinux-context)
6930         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6931         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6932         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6933         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6934         (tramp-handle-file-ownership-preserved-p)
6935         (tramp-handle-directory-file-name, tramp-handle-directory-files)
6936         (tramp-handle-directory-files-and-attributes)
6937         (tramp-do-directory-files-and-attributes-with-perl)
6938         (tramp-do-directory-files-and-attributes-with-stat)
6939         (tramp-handle-file-name-all-completions)
6940         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6941         (tramp-handle-copy-file, tramp-handle-copy-directory)
6942         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6943         (tramp-do-copy-or-rename-file-via-buffer)
6944         (tramp-do-copy-or-rename-file-directly)
6945         (tramp-do-copy-or-rename-file-out-of-band)
6946         (tramp-handle-make-directory, tramp-handle-delete-directory)
6947         (tramp-handle-delete-file)
6948         (tramp-handle-dired-recursive-delete-directory)
6949         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6950         (tramp-handle-insert-directory)
6951         (tramp-handle-unhandled-file-name-directory)
6952         (tramp-handle-expand-file-name)
6953         (tramp-handle-substitute-in-file-name)
6954         (tramp-handle-executable-find, tramp-process-sentinel)
6955         (tramp-handle-start-file-process, tramp-handle-process-file)
6956         (tramp-handle-call-process-region, tramp-handle-shell-command)
6957         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6958         (tramp-handle-insert-file-contents)
6959         (tramp-handle-insert-file-contents-literally)
6960         (tramp-handle-find-backup-file-name)
6961         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6962         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6963         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6964         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6965         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6966         (tramp-find-file-exists-command, tramp-open-shell)
6967         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6968         (tramp-open-connection-setup-interactive-shell)
6969         (tramp-local-coding-commands, tramp-remote-coding-commands)
6970         (tramp-find-inline-encoding, tramp-call-local-coding-command)
6971         (tramp-inline-compress-commands, tramp-find-inline-compress)
6972         (tramp-compute-multi-hops, tramp-maybe-open-connection)
6973         (tramp-send-command, tramp-wait-for-output)
6974         (tramp-send-command-and-check, tramp-barf-unless-okay)
6975         (tramp-send-command-and-read, tramp-mode-string-to-int)
6976         (tramp-convert-file-attributes, tramp-check-cached-permissions)
6977         (tramp-file-mode-from-int, tramp-file-mode-permissions)
6978         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6979         (tramp-method-out-of-band-p, tramp-local-host-p)
6980         (tramp-get-remote-path, tramp-get-remote-tmpdir)
6981         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6982         (tramp-get-test-command, tramp-get-test-nt-command)
6983         (tramp-get-file-exists-command, tramp-get-remote-ln)
6984         (tramp-get-remote-perl, tramp-get-remote-stat)
6985         (tramp-get-remote-readlink, tramp-get-remote-trash)
6986         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6987         (tramp-get-local-uid, tramp-get-local-gid)
6988         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6989         tramp-sh.el.
6990         (tramp-methods, tramp-default-method-alist)
6991         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6992         Move initialization to tramp-sh.el.
6993         (tramp-temp-name-prefix): Make it a defconst.
6994         (tramp-dissect-file-name): Don't check anymore for multi-hop
6995         methods.
6996         (tramp-debug-outline-regexp): Add a docstring.
6997         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6998         (tramp-get-debug-buffer): Use it.
7000         * net/tramp-cache.el (top): Set tramp-autoload cookie for
7001         initialization forms.
7002         (tramp-set-connection-property): Don't protect `tramp-message'
7003         call, it isn't necessary any longer.
7004         (tramp-dump-connection-properties): Use `ignore-errors'.
7006         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7007         'password-cache and 'auth-source.
7009         * net/tramp-gvfs.el (top):
7010         * net/tramp-smb.el (top): Require 'tramp-sh.
7012         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7014         * net/tramp-sh.el: New file, derived from tramp.el.
7015         (top): Initialize `tramp-methods', `tramp-default-method-alist',
7016         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7017         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7018         Use `ignore-errors' where appropriate.
7019         (tramp-sh-file-name-handler-alist): Rename from
7020         `tramp-file-name-handler-alist'.
7021         (tramp-send-command-and-check): Return t or nil.  Remove all
7022         `zerop' checks, where called.
7023         (tramp-handle-set-file-modes)
7024         (tramp-do-copy-or-rename-file-directly)
7025         (tramp-handle-delete-directory, tramp-handle-delete-file)
7026         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7027         (tramp-sh-file-name-handler, tramp-send-command-and-check)
7028         (tramp-get-remote-ln): Set tramp-autoload cookie.
7030         * net/tramp-fish.el: Remove file.
7032 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
7034         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7035         buffer-file-name to avoid file-locking.  (Bug#7026)
7037 2010-09-13  Julien Danjou  <julien@danjou.info>
7039         * notifications.el (notifications-notify): Add support for
7040         image-path and sound-name.
7041         (notifications-specification-version): Add this variable.
7043 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7045         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7047 2010-09-12  Leo Liu  <sdl.web@gmail.com>
7049         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7050         (rcirc-completion-start): New variables.
7051         (rcirc-nick-completions): Rename to rcirc-completions.
7052         (rcirc-nick-completion-start-offset): Delete.
7053         (rcirc-completion-at-point): New function for constructing
7054         completion data for both nicks and irc commands.  Add to
7055         completion-at-point-functions in rcirc mode.
7056         (rcirc-complete): Rename from rcirc-nick-complete; use
7057         rcirc-completion-at-point.
7058         (defun-rcirc-command): Update rcirc-client-commands.
7060 2010-09-11  Glenn Morris  <rgm@gnu.org>
7062         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7063         atomically, to avoid parallel build errors.  (Bug#4196)
7065 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
7067         * progmodes/sql.el: Version 2.6
7068         (sql-dialect): Synonym for "sql-product".
7069         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7070         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7071         Set "sql-buffer" to buffer name not buffer object so multiple sql
7072         interactive buffers work properly.  Reverts misguided changes in
7073         earlier work.
7074         (sql-comint): Make sure different buffer name is used if "*SQL*"
7075         buffer is for a different product.
7076         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7077         login param.
7078         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7079         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7080         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7081         Accept new buffer name or prompt for one.
7082         (sql-port): Default to zero.
7083         (sql-comint-mysql): Handle "sql-port" as a numeric.
7084         (sql-port-history): Delete unused variable.
7085         (sql-get-login): Default "sql-port" to a number.
7086         (sql-product-alist): Correct Postgres prompt and terminator regexp.
7087         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7088         "sqlite3" executables.
7089         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7090         (sql-buffer-live-p): New function.
7091         (sql-mode-menu, sql-send-string): Use it.
7092         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7093         syntax pattern.
7094         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7095         (sql-mode-sqlite-font-lock-keywords): Highlight sqlite commands.
7097 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7099         * net/netrc.el (netrc-credentials): New convenience function.
7101 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7103         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7104         to replace texinfo-font-lock-syntactic-keywords.
7105         (texinfo-mode): Use it.
7107         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7108         Use syntax-propertize-function.
7110         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7111         replace sgml-font-lock-syntactic-keywords.
7112         (sgml-mode): Use it.
7114         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7115         since we don't use it.
7117         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7119         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7120         if available.
7121         (vhdl-fontify-buffer): Adjust.
7123         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7124         replace tcl-font-lock-syntactic-keywords.
7125         (tcl-mode): Use it.
7127         * progmodes/simula.el (simula-syntax-propertize-function): New var to
7128         replace simula-font-lock-syntactic-keywords.
7129         (simula-mode): Use it.
7131         * progmodes/sh-script.el (sh-st-symbol): Remove.
7132         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7133         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7134         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7135         (sh-font-lock-paren): Set syntax-multiline.
7136         (sh-font-lock-syntactic-keywords): Remove.
7137         (sh-syntax-propertize-function): New function to replace it.
7138         (sh-mode): Use it.
7140         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7141         Define while compiling.
7142         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7143         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7144         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7145         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7146         (ruby-here-doc-end-syntax): Only define when
7147         syntax-propertize is not available.
7148         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7149         New functions.
7150         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7151         (electric-indent-chars): Silence bytecompiler.
7152         (ruby-mode): Use prog-mode, syntax-propertize-function, and
7153         electric-indent-chars.
7155         * progmodes/python.el (python-syntax-propertize-function): New var to
7156         replace python-font-lock-syntactic-keywords.
7157         (python-mode): Use it.
7158         (python-quote-syntax): Simplify and adjust to new use.
7160         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7161         replace perl-font-lock-syntactic-keywords.
7162         (perl-syntax-propertize-special-constructs): New fun to replace
7163         perl-font-lock-special-syntactic-constructs.
7164         (perl-font-lock-syntactic-face-function): New fun.
7165         (perl-mode): Use it.
7167         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7168         to replace octave-font-lock-close-quotes.
7169         (octave-syntax-propertize-function): New function to replace
7170         octave-font-lock-syntactic-keywords.
7171         (octave-mode): Use it.
7173         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7174         replaces mixal-font-lock-syntactic-keywords.
7175         (mixal-mode): Use it.
7177         * progmodes/make-mode.el (makefile-syntax-propertize-function):
7178         New var; replaces makefile-font-lock-syntactic-keywords.
7179         (makefile-mode): Use it.
7180         (makefile-imake-mode): Adjust.
7182         * progmodes/js.el (js--regexp-literal): Define while compiling.
7183         (js-syntax-propertize-function): New var; replaces
7184         js-font-lock-syntactic-keywords.
7185         (js-mode): Use it.
7187         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7188         replaces gdb-script-font-lock-syntactic-keywords.
7189         (gdb-script-mode): Use it.
7191         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7192         (fortran--font-lock-syntactic-keywords): New var.
7193         (fortran-line-length): Update syntax-propertize-function and
7194         fortran--font-lock-syntactic-keywords.
7196         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7198         * progmodes/cfengine.el (cfengine-mode):
7199         Use syntax-propertize-function.
7200         (cfengine-font-lock-syntactic-keywords): Remove.
7202         * progmodes/autoconf.el (autoconf-mode):
7203         Use syntax-propertize-function.
7204         (autoconf-font-lock-syntactic-keywords): Remove.
7206         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7207         (ada-after-change-function, ada-initialize-syntax-table-properties)
7208         (ada-handle-syntax-table-properties): Only define when
7209         syntax-propertize is not available.
7210         (ada-mode): Use syntax-propertize-function.
7212         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7213         (font-lock-fontify-syntactic-keywords-region): Move handling of
7214         font-lock-syntactically-fontified to...
7215         (font-lock-default-fontify-region): ...here.
7216         Let syntax-propertize-function take precedence.
7217         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7219         * emacs-lisp/syntax.el (syntax-propertize-function)
7220         (syntax-propertize-chunk-size, syntax-propertize--done)
7221         (syntax-propertize-extend-region-functions): New vars.
7222         (syntax-propertize-wholelines, syntax-propertize-multiline)
7223         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7224         (syntax-propertize): New functions.
7225         (syntax-propertize-rules): New macro.
7226         (syntax-ppss-flush-cache): Set syntax-propertize--done.
7227         (syntax-ppss): Call syntax-propertize.
7229         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7231 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
7233         * textmodes/ispell.el (ispell-init-process): Improve comments.
7234         XEmacs compatibility changes regarding (add-hook) 'local option
7235         and (set-process-query-on-exit-flag).
7237 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
7239         * net/tramp-cache.el (tramp-parse-connection-properties):
7240         Set tramp-autoload cookie.
7242 2010-09-09  Glenn Morris  <rgm@gnu.org>
7244         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7245         (imagemagick-register-types): Doc fix.
7247 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7249         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7251         * progmodes/js.el (require): Require is already "eval-and-compile".
7252         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
7253         (js--re-search-backward): Use js--re-search-forward.
7255         * progmodes/fortran.el (fortran-line-length): Don't recompute
7256         syntactic keywords redundantly a second time.
7258         * progmodes/ada-mode.el: Replace "(set '" with setq.
7259         (ada-mode): Simplify.
7260         (ada-create-case-exception, ada-adjust-case-interactive)
7261         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7262         (ada-search-ignore-string-comment, ada-move-to-start)
7263         (ada-move-to-end): Use with-syntax-table.
7265         * font-lock.el (save-buffer-state): Remove `varlist' arg.
7266         (font-lock-unfontify-region, font-lock-default-fontify-region):
7267         Update usage correspondingly.
7268         (font-lock-fontify-syntactic-keywords-region):
7269         Set parse-sexp-lookup-properties buffer-locally here.
7270         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7272         * simple.el (blink-matching-open): Don't burp if we can't find a match.
7274 2010-09-08  Glenn Morris  <rgm@gnu.org>
7276         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7277         Error if not compiled with -DBYTE_CODE_METER.
7279         * emacs-lisp/bytecomp.el (byte-recompile-directory):
7280         Ignore dir-locals-file.
7282 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7284         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7285         Not a const.
7286         (compilation-error-regexp-alist-alist): Rule out ": " in file names
7287         for the `gnu' messages.
7288         (compilation-set-skip-threshold): New command.
7289         (compilation-start): Use \' rather than $.
7290         (compilation-forget-errors): Use clrhash.
7292 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
7294         * textmodes/ispell.el (ispell-valid-dictionary-list):
7295         Simplify logic.
7297 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
7299         Migrate to Tramp 2.2.  Rearrange load dependencies.
7300         (Bug#1529, Bug#5448, Bug#5705)
7302         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7303         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7304         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7306         * net/tramp.el (top): Remove all other tramp-* loads except
7307         tramp-compat.el.  Remove all changes to tramp-unload-hook for
7308         other tramp-* packages.  Rearrange defun order.  Change calls of
7309         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7310         `tramp-compat-octal-to-decimal' to new function names.
7311         (tramp-terminal-type, tramp-initial-end-of-output)
7312         (tramp-methods, tramp-foreign-file-name-handler-alist)
7313         (tramp-tramp-file-p, tramp-completion-mode-p)
7314         (tramp-send-command-and-check, tramp-get-remote-path)
7315         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7316         (tramp-shell-quote-argument): Set tramp-autoload cookie.
7317         (with-file-property, with-connection-property): Move to
7318         tramp-cache.el.
7319         (tramp-local-call-process, tramp-decimal-to-octal)
7320         (tramp-octal-to-decimal): Move to tramp-compat.el.
7321         (tramp-handle-shell-command): Do not require 'shell.
7322         (tramp-compute-multi-hops): No special handling for tramp-gw-*
7323         symbols.
7324         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7326         * net/tramp-cache.el (top): Require 'tramp.  Add to
7327         `tramp-unload-hook'.
7328         (tramp-cache-data, tramp-get-file-property)
7329         (tramp-set-file-property, tramp-flush-file-property)
7330         (tramp-flush-directory-property, tramp-get-connection-property)
7331         (tramp-set-connection-property, tramp-flush-connection-property)
7332         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7333         cookie.
7334         (with-file-property, with-connection-property): New defuns, moved
7335         from tramp.el.
7336         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7337         macro.
7339         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7340         (tramp-version): Set tramp-autoload cookie.
7342         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
7343         changes to tramp-unload-hook for other tramp-* packages.  Add to
7344         `tramp-unload-hook'.
7345         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7346         (tramp-compat-call-process): New defuns, moved from tramp.el.
7348         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
7349         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7350         Add to `tramp-unload-hook'.  Change call of
7351         `tramp-compat-decimal-to-octal' to new function name.
7352         (tramp-fish-method): Make it a defconst.
7353         (tramp-fish-file-name-p): Make it a defsubst.
7354         (tramp-fish-method, tramp-fish-file-name-handler)
7355         (tramp-fish-file-name-p): Set tramp-autoload cookie.
7357         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7358         `tramp-foreign-file-name-handler-alist'.  Add to
7359         `tramp-unload-hook'.
7360         (tramp-ftp-method): Make it a defconst.
7361         (tramp-ftp-file-name-p): Make it a defsubst.
7362         (tramp-ftp-method, tramp-ftp-file-name-handler)
7363         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7365         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7366         `tramp-foreign-file-name-handler-alist'.  Add to
7367         `tramp-unload-hook'.  Change checks, whether package can be
7368         loaded.
7369         (tramp-gvfs-file-name-p): Make it a defsubst.
7370         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7371         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7372         (tramp-gvfs-handle-file-directory-p): New defun.
7373         (tramp-gvfs-file-name-handler-alist): Use it.
7375         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7376         `tramp-foreign-file-name-handler-alist'.  Add to
7377         `tramp-unload-hook'.
7378         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7379         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7380         defconst.
7381         (tramp-gw-tunnel-method, tramp-gw-socks-method)
7382         (tramp-gw-open-connection): Set tramp-autoload cookie.
7384         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
7385         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7386         Add to `tramp-unload-hook'.  Change checks, whether package can be
7387         loaded.
7388         (tramp-imap-file-name-p): Make it a defsubst.
7389         (tramp-imap-method, tramp-imaps-method)
7390         (tramp-imap-file-name-handler)
7391         (tramp-imap-file-name-p): Set tramp-autoload cookie.
7393         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
7394         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7395         Add to `tramp-unload-hook'.  Change checks, whether package can be
7396         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
7397         function name.
7398         (tramp-smb-tunnel-method): Make it a defconst.
7399         (tramp-smb-file-name-p): Make it a defsubst.
7400         (tramp-smb-method, tramp-smb-file-name-handler)
7401         (tramp-smb-file-name-p): Set tramp-autoload cookie.
7403         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7404         (tramp-uuencode-region): Set tramp-autoload cookie.
7406         * net/trampver.el (top) Add to `tramp-unload-hook'.
7407         (tramp-version, tramp-bug-report-address): Set tramp-autoload
7408         cookie.  Update release number.
7410 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
7412         * textmodes/ispell.el (ispell-start-process): Make sure original
7413         arg list is properly initialized (Bug#6993, Bug#6994).
7415 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7417         * files.el (directory-abbrev-alist): Use \` as default regexp.
7419         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7420         chars like - or ] (bug#6984).
7421         (rx-any-condense-range): Explode 2-char ranges.
7423 2010-09-06  Glenn Morris  <rgm@gnu.org>
7425         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7427 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7429         * textmodes/bibtex.el:
7430         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7432 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7434         * net/imap.el (imap-message-map): Remove optional buffer parameter,
7435         since no callers use it.
7436         (imap-message-get): Ditto.
7437         (imap-message-put): Ditto.
7438         (imap-mailbox-map): Ditto.
7439         (imap-mailbox-put): Ditto.
7440         (imap-mailbox-get): Ditto.
7441         (imap-mailbox-get): Revert last change for this function.
7443 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7445         * net/imap.el (imap-fetch-safe): Remove function, and alter all
7446         callers to use `imap-fetch' instead.  According to the comments, this
7447         should be safe, since all other IMAP clients use the 1:* syntax.
7448         (imap-enable-exchange-bug-workaround): Remove.
7449         (imap-debug): Remove -- doesn't seem very useful.
7451 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7453         * net/imap.el (imap-log): New convenience function used throughout
7454         instead of repeating the same code all over the place.
7456 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
7458         * mouse.el (mouse-save-then-kill): Save region to kill-ring
7459         when mouse-drag-copy-region is non-nil (Bug#6956).
7461 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
7463         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7464         Improve regexps (Bug#6987).
7465         (dired-sort-toggle): Search more robustly for -t flag.
7467         * files.el (get-free-disk-space): Search more robustly for
7468         "available" column.  Suggested by Ehud Karni
7469         <ehud@unix.mvs.co.il>.
7471 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
7473         * international/uni-bidi.el:
7474         * international/uni-category.el:
7475         * international/uni-combining.el:
7476         * international/uni-decimal.el:
7477         * international/uni-mirrored.el:
7478         * international/uni-name.el: Regenerate.
7480 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7482         * electric.el (electric-indent-post-self-insert-function):
7483         Don't reindent with a sloppy indentation function.
7485         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7486         border case in change-log-mode.
7488 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
7490         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7491         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7492         Recognize leading tab in gcc-include regexp.  Ignore names with
7493         leading "from" or "in" in gnu regexp (Bug#6937).
7495 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7497         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7498         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7499         (ispell-start-process): Avoid setq and simplify logic.
7500         (ispell-init-process): Setup kill-buffer-hook locally when needed.
7501         (kill-buffer-hook): Don't use it globally with code that uses
7502         expand-file-name since that may call kill-buffer via
7503         code_conversion_restore.
7505 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
7507         * emacs-lisp/package.el (package-directory-list): Only call
7508         file-name-nondirectory on a string.
7510 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7512         * emacs-lisp/package.el (package--download-one-archive):
7513         Ensure that archive-contents is valid before saving it.
7514         (package-activate-1, package-mark-obsolete, define-package)
7515         (package-compute-transaction, package-list-maybe-add): Use push.
7517 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7519         Use SMIE's blink-paren for octave-mode.
7520         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7521         Backslashes do not escape single-quotes, single-quotes do.
7522         (octave-block-else-regexp, octave-block-end-regexp)
7523         (octave-block-match-alist): Remove.
7524         (octave-smie-bnf-table): New var, with old content.
7525         (octave-smie-op-levels): Use it.
7526         (octave-smie-closer-alist): New var.
7527         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
7528         (octave-blink-matching-block-open): Remove.
7529         (octave-reindent-then-newline-and-indent, octave-electric-semi)
7530         (octave-electric-space): Let self-insert-command run expand-abbrev and
7531         blink parens.
7533         * electric.el (electricity): New group.
7534         (electric-indent-chars): New var.
7535         (electric-indent-post-self-insert-function): New fun.
7536         (electric-indent-mode): New minor mode.
7537         (electric-pair-skip-self): New custom.
7538         (electric-pair-post-self-insert-function): New function.
7539         (electric-pair-mode): New minor mode.
7541         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7542         calcAlg-blink-matching-open.
7543         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7544         (calc-do-alg-entry): Only touch the part of the keymap that varies.
7545         Use the new blink-matching-check-function.
7547         Provide blink-matching support to SMIE.
7548         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7549         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7550         (smie-blink-matching-check, smie-blink-matching-open): New functions.
7552         * simple.el (newline): Fix last change to properly remove itself from
7553         the hook.
7555 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7557         * simple.el (newline): Eliminate optimization.
7558         Use post-self-insert-hook to set hard-newline and things before
7559         running post-self-insert-hook.
7560         (blink-matching-check-mismatch): New function.
7561         (blink-matching-check-function): New variable.
7562         (blink-matching-open): Use them.
7563         Skip back forward over prefix chars skipped by forward-sexp.
7564         Don't check if the parens are backslash escaped.
7565         (blink-paren-post-self-insert-function): Check backslash escaping here.
7567 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7569         * emacs-lisp/package.el (package-menu-mode-map):
7570         Change package-menu-revert bindings to revert-buffer.
7571         (package-menu-mode): Set revert-buffer-function.
7572         (package-menu-revert): Doc fix.
7574 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
7576         * textmodes/ispell.el (ispell-init-process): Use "~/" as
7577         `default-directory' unless using Ispell per-directory personal
7578         dictionaries and not in a mini-buffer under XEmacs.
7579         (kill-buffer-hook): Do not kill ispell process on exit when
7580         `ispell-process-directory' is "~/".  (Bug#6143)
7582 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
7584         * simple.el (kill-new): Call interprogram-cut-function with only
7585         one argument.
7587         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7588         Remove cut buffer from error message.
7590         * term/x-win.el (x-select-text):
7591         * term/pc-win.el (x-selection-value):
7592         * term/ns-win.el (x-selection-value):
7593         * eshell/em-term.el:
7594         * w32-fns.el (x-get-selection-value):
7595         * mouse-sel.el (mouse-sel-set-selection-function):
7596         * frame.el (display-selections-p): Remove cut-buffer in documentation.
7598         * term/x-win.el: Update documentation for x-last-selected-text-*.
7599         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7600         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7601         (x-select-text): Remove argument PUSH, update documentation.
7602         Remove cut-buffer code.
7603         (x-selection-value-internal): Was previously x-selection-value.
7604         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7605         Update documentation, remove cut-buffer code.
7606         Call x-selection-value-internal.
7607         (x-clipboard-yank): Call x-selection-value-internal.
7608         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7610         * term/pc-win.el (x-last-selected-text):
7611         x-cut-buffer-or-selection-value renamed to x-selection-value
7612         (x-select-text): Remove argument PUSH, update documentation.
7614         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7615         x-cut-buffer-or-selection-value renamed to x-selection-value
7616         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7617         (x-select-text): Remove argument PUSH, update documentation.
7619         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7621         * w32-fns.el (x-last-selected-text):
7622         x-cut-buffer-or-selection-value renamed to x-selection-value.
7623         (x-cut-buffer-max): Remove.
7624         (x-select-text): Remove argument PUSH, update documentation.
7626         * simple.el (interprogram-cut-function): Remove mention of PUSH.
7628         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7630         * mouse-sel.el (mouse-sel-get-selection-function):
7631         x-cut-buffer-or-selection-value renamed to x-selection-value.
7632         (x-select-text): Remove optional push.
7634 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7636         * simple.el (blink-paren-function): Move from C to here.
7637         (blink-paren-post-self-insert-function): New function.
7638         (post-self-insert-hook): Use it.
7640         * emacs-lisp/pcase.el (pcase-split-memq):
7641         Fix overenthusiastic optimization.
7642         (pcase-u1): Handle the case of a lambda pred.
7644 2010-08-31  Kenichi Handa  <handa@m17n.org>
7646         * international/mule-cmds.el (standard-display-european-internal):
7647         Setup standard-display-table for 8-bit characters by storing 8-bit
7648         characters in the element vector.
7650         * disp-table.el (standard-display-8bit):
7651         Setup standard-display-table for 8-bit characters by storing 8-bit
7652         characters in the element vector.
7653         (standard-display-european): Likewise.
7655 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
7657         * textmodes/nroff-mode.el (nroff-view): New command.
7658         (nroff-mode-map): Bind it to C-c C-c.
7660 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7662         * emacs-lisp/smie.el (smie-down-list): New command.
7664         Remove old indentation and navigation code on octave-mode.
7665         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7666         smie-down-list rather than add a binding for octave-down-block.
7667         (octave-mark-block, octave-blink-matching-block-open):
7668         Rely on forward-sexp-function.
7669         (octave-fill-paragraph): Don't narrow, so you can use
7670         indent-according-to-mode.
7671         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7672         (octave-in-block-p, octave-re-search-forward-kw)
7673         (octave-re-search-backward-kw, octave-indent-calculate)
7674         (octave-end-as-array-index-p, octave-block-end-offset)
7675         (octave-scan-blocks, octave-forward-block, octave-backward-block)
7676         (octave-down-block, octave-backward-up-block, octave-up-block)
7677         (octave-before-magic-comment-p, octave-indent-line): Remove.
7679 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
7681         * emacs-lisp/package.el (package--read-archive-file): Just use
7682         `read', to avoid copying an additional string.
7683         (package-menu-mode): Set header-line-format here.
7684         (package-menu-refresh, package-menu-revert): Signal an error if
7685         not in the Package Menu.
7686         (package-menu-package-list): New var.
7687         (package--generate-package-list): Operate on the current buffer;
7688         don't assume that it is *Packages*, since the user may rename it.
7689         Allow persistent package listings and sort keys using
7690         package-menu-package-list and package-menu-package-sort-key.
7691         (package-menu--version-predicate): Fix version calculation.
7692         (package-menu-sort-by-column): Don't select the window.
7693         (package--list-packages): Create the *Packages* buffer.
7694         Set package-menu-package-list-key.
7695         (list-packages): Sorting by status is now the default.
7696         (package-buffer-info): Use match-string-no-properties.
7697         (define-package): Add a &rest argument for future proofing, but
7698         don't use it yet.
7699         (package-install-from-buffer, package-install-buffer-internal):
7700         Merge into a single function, package-install-from-buffer.
7701         (package-install-file): Change caller.
7703         * finder.el: Load finder-inf using `require'.
7704         (finder-list-matches): Sorting by status is now the default.
7705         (finder-compile-keywords): Simpify printing.
7707 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7709         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7710         (octave-mode-map): Remove special bindings for forward/backward-block
7711         and octave-backward-up-block.  Use smie-close-block.
7712         (octave-continuation-marker-regexp): New var.
7713         (octave-continuation-regexp): Use it.
7714         (octave-operator-table, octave-smie-op-levels)
7715         (octave-operator-regexp, octave-smie-indent-rules): New vars.
7716         (octave-smie-backward-token, octave-smie-forward-token): New funs.
7717         (octave-mode): Use SMIE.
7718         (octave-close-block): Delete.
7720 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
7722         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7723         CLIPBOARD, not in PRIMARY.  (Bug#6944)
7725 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7727         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7728         a list of parents.
7729         (smie-indent-column): Allow indirection through variables.
7731         * composite.el (save-buffer-state): Delete, unused.
7732         * font-lock.el (save-buffer-state): Use with-silent-modifications.
7733         (font-lock-default-fontify-region): Use with-syntax-table.
7734         * jit-lock.el (with-buffer-unmodified): Remove.
7735         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7737         Use `declare' in defmacros.
7738         * window.el (save-selected-window):
7739         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7740         * progmodes/python.el (def-python-skeleton):
7741         * net/dbus.el (dbus-ignore-errors):
7742         * jka-cmpr-hook.el (with-auto-compression-mode):
7743         * international/mule.el (with-category-table):
7744         * emacs-lisp/timer.el (with-timeout):
7745         * emacs-lisp/lisp-mnt.el (lm-with-file):
7746         * emacs-lisp/eieio.el (with-slots):
7747         * emacs-lisp/easymenu.el (easy-menu-define):
7748         * emacs-lisp/debug.el (debugger-env-macro):
7749         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7750         (Multiple-value-call, Multiple-value-prog1):
7751         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7752         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7753         edebug rule to definition.
7754         * emacs-lisp/lisp-mode.el (save-selected-window)
7755         (with-current-buffer, combine-after-change-calls)
7756         (with-output-to-string, with-temp-file, with-temp-buffer)
7757         (with-temp-message, with-syntax-table, read-if, eval-after-load)
7758         (dolist, dotimes, when, unless):
7759         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7761 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7763         * finder.el: Require `package'.
7764         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
7765         (finder-package-info): Var deleted.
7766         (finder-keywords-hash, finder--builtins-alist): New vars.
7767         (finder-compile-keywords): Compute package--builtins and
7768         finder-keywords-hash instead of finder-keywords-hash, respecting
7769         the "Package" header.
7770         (finder-unknown-keywords, finder-list-matches):
7771         Use finder-keywords-hash and package--list-packages.
7772         (finder-mode): Don't set font-lock-defaults.
7773         (finder-exit): We don't use "*Finder-package*" and "*Finder
7774         Category*" buffers anymore.
7776         * emacs-lisp/package.el (package--builtins-base): Var deleted.
7777         (package--builtins): Set default value to nil.
7778         (package-initialize): Load precomputed value of package--builtins
7779         from finder-inf.el.
7780         (package-alist, package-compute-transaction)
7781         (package-download-transaction): Improve docstring.
7782         (package-read-all-archive-contents): Do not change
7783         package--builtins here.
7784         (list-packages): Make package-list-packages an alias for this.
7785         Sort by status by default.
7786         (package--list-packages): Add optional PACKAGES arg.
7787         (describe-package-1): Use font-lock-face property.  For built-in
7788         packages, insert file commentary.
7789         (package--generate-package-list): Rename from
7790         package-list-packages-internal; all callers changed.  Add optional
7791         PACKAGES arg.  Add alphabetical sort fallbacks.
7792         (package-menu--version-predicate, package-menu--status-predicate)
7793         (package-menu--description-predicate)
7794         (package-menu--name-predicate): New functions.
7796         * info.el (Info-finder-find-node): Search package-alist instead of
7797         finder-package-info.
7799 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7801         * subr.el (version-regexp-alist): Don't use "a" and "b" for
7802         "alpha" and "beta".
7803         (version-to-list): Handle versions like "10.3d".
7805 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7807         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7808         (macroexp-accumulate): Use `declare'.
7810 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7812         * whitespace.el (whitespace-style): Adjust type declaration.
7814 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
7816         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7818 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7820         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7821         (Bug#6907).
7823 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
7825         * progmodes/js.el: Make indentation more customizable (Bug#6914).
7826         (js-paren-indent-offset, js-square-indent-offset)
7827         (js-curly-indent-offset): New options.
7828         (js--proper-indentation): Use them.
7830 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
7832         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7833         instead of inspecting font-lock properties (Bug#6916).
7835 2010-08-26  David Reitter  <david.reitter@gmail.com>
7837         * server.el (server-visit-files): Run pre-command-hook and
7838         post-command-hook for each buffer while it is current (Bug#6910).
7839         (server-execute): Do not run hooks here.
7841 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
7843         Sync with Tramp 2.1.19.
7845         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
7846         Protect deleting tmpfile.
7847         (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7849         * net/tramp.el (tramp-handle-expand-file-name)
7850         (tramp-completion-handle-file-name-all-completions)
7851         (tramp-completion-handle-file-name-completion):
7852         Use `tramp-connectable-p'.
7854         * net/trampver.el: Update release number.
7856 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7858         * help.el (help-map): Bind `C-h P' to describe-package.
7860         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7862         * emacs-lisp/package.el (package-refresh-contents): Catch errors
7863         when downloading archives.
7864         (describe-package-1): Add package commentary.
7865         (package-install-button-action): New function.
7866         (package-menu-mode-map): Bind ? to package-menu-describe-package.
7867         (package-menu-view-commentary): Function removed.
7868         (package-list-packages-internal): Hide the `package' package too.
7870 2010-08-25  Kenichi Handa  <handa@m17n.org>
7872         * language/misc-lang.el ("Arabic"): New language environment.
7873         Setup composition-function-table for Arabic characters.
7875         * international/fontset.el (setup-default-fontset): Fix typo for
7876         arabic OTF spec (fini->fina).
7878 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
7880         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7881         on all frames.
7883 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7885         * whitespace.el: Allow cleaning up blanks without blank
7886         visualization (Bug#6651).  Adjust help window for
7887         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7888         instead of whitespace-line-column (from EmacsWiki).  New version
7889         13.1.
7890         (whitespace-style): Add new value 'face.  Adjust docstring.
7891         (whitespace-space, whitespace-hspace, whitespace-tab):
7892         Adjust foreground property face.
7893         (whitespace-line-column): Adjust docstring and type declaration.
7894         (whitespace-style-value-list, whitespace-toggle-option-alist)
7895         (whitespace-help-text): Adjust const initialization.
7896         (whitespace-toggle-options, global-whitespace-toggle-options):
7897         Adjust docstring.
7898         (whitespace-display-window, whitespace-interactive-char)
7899         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7900         (whitespace-help-scroll): New fun.
7902 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7904         * emacs-lisp/package.el (list-packages): Alias for
7905         package-list-packages.
7907 2010-08-24  Kevin Ryde  <user42@zip.com.au>
7909         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7910         (Bug#5651).
7912         * progmodes/ruby-mode.el (ruby): Add defgroup.
7914 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7916         * progmodes/python.el: Add Ipython support (Bug#5390).
7917         (python-shell-prompt-alist)
7918         (python-shell-continuation-prompt-alist): New options.
7919         (python--set-prompt-regexp): New function.
7920         (inferior-python-mode, run-python, python-shell):
7921         Require ansi-color.  Use python--set-prompt-regexp to set the comint
7922         prompt based on the Python interpreter.
7923         (python--prompt-regexp): New var.
7924         (python-check-comint-prompt)
7925         (python-comint-output-filter-function): Use it.
7926         (run-python): Use a pipe (Bug#5694).
7928 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
7930         * progmodes/python.el (python-send-region): Send a different
7931         Python command if Ipython is in use.
7932         (python-check-version): Use a Python command to find the version.
7934 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7936         * mouse.el (mouse-yank-primary): Avoid setting primary when
7937         deactivating the mark (Bug#6872).
7939 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
7941         * progmodes/python.el (python-block-pairs): Allow use of "finally"
7942         with "else" (Bug#3991).
7944 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
7946         * net/dbus.el: Accept UNIX domain sockets as bus address.
7947         (top): Don't initialize `dbus-registered-objects-table' anymore,
7948         this is done in dbusbind.c.
7949         (dbus-check-event): Adapt test for bus.
7950         (dbus-return-values-table, dbus-unregister-service)
7951         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7952         Adapt doc string.
7954 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
7956         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7958 2010-08-22  Juri Linkov  <juri@jurta.org>
7960         * simple.el (read-extended-command): New function with the logic
7961         for `completing-read' moved to Elisp from `execute-extended-command'.
7962         Use `function-called-at-point' in `minibuffer-default-add-function'
7963         to get a command name for M-n (bug#5364, bug#5214).
7965 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7967         * startup.el (command-line-1): Issue warning for ignored arguments
7968         --unibyte, etc (Bug#6886).
7970 2010-08-22  Leo Liu  <sdl.web@gmail.com>
7972         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7973         (ignore, bright, dim, keyword): Split list of nicknames before
7974         passing to rcirc-add-or-remove (Bug#6894).
7976 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7978         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7980 2010-08-22  Leo Liu  <sdl.web@gmail.com>
7982         Fix buffer-list rename&refresh after killing a buffer in ido.
7983         * ido.el: Revert Óscar's.
7984         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7985         Remember the buffers at head, rather than their name.
7986         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7988 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>
7989             Stefan Monnier  <monnier@iro.umontreal.ca>
7991         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7992         extra backslash added to each line (bug#6890).
7994 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7996         * subr.el (read-key): Don't echo keystrokes (bug#6883).
7998 2010-08-22  Glenn Morris  <rgm@gnu.org>
8000         * menu-bar.el (menu-bar-games-menu): Add landmark.
8002 2010-08-22  Glenn Morris  <rgm@gnu.org>
8004         * align.el (align-regexp): Make group and spacing arguments
8005         use the interactive defaults when non-interactive.  (Bug#6698)
8007         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8008         expansion, so as not to need sendmail.
8009         (mail-text-start): Remove declaration.
8010         (rmail-retry-failure): Require sendmail.
8012 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8014         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8016 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
8018         * progmodes/flymake.el (flymake-start-syntax-check-process):
8019         Use `start-file-process' in order to let it run also on remote hosts.
8021 2010-08-22  Kenichi Handa  <handa@m17n.org>
8023         * files.el: Add `word-wrap' as safe local variable.
8025 2010-08-22  Glenn Morris  <rgm@gnu.org>
8027         * woman.el (woman-translate): Case matters.  (Bug#6849)
8029 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8031         * simple.el (kill-region): Doc fix (Bug#6787).
8033 2010-08-22  Glenn Morris  <rgm@gnu.org>
8035         * calendar/diary-lib.el (diary-header-line-format):
8036         Fit it to the window, not the frame.
8038 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
8040         * subr.el (ignore-errors): Add debug declaration.
8042 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
8044         * whitespace.el (whitespace-color-off): Remove post-command-hook
8045         locally.
8047 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8049         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8051 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8053         * cus-edit.el (custom-group-value-create): Add extra newline
8054         before end line (Bug#6876).
8056 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8058         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8059         when extending it.  Before killing on the second click, check if
8060         the buffer is the correct one.  Doc fix.
8061         (mouse-secondary-save-then-kill): Allow usage without first
8062         calling mouse-start-secondary, by defaulting to point.  Don't save
8063         an empty secondary selection.  Doc fix.
8065 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8067         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
8068         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8069         New version 13.0.
8070         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8071         Adjust initialization.
8072         (whitespace-bob-marker, whitespace-eob-marker)
8073         (whitespace-buffer-changed): New vars.
8074         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8075         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8076         (whitespace-post-command-hook, whitespace-display-char-on):
8077         Adjust code.
8078         (whitespace-looking-back, whitespace-buffer-changed): New funs.
8079         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8081 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8083         * files.el (locate-file-completion-table): Only list the .el and .elc
8084         extensions if there's no other choice (bug#5955).
8086         * facemenu.el (facemenu-self-insert-data): New var.
8087         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8088         New functions.
8089         (facemenu-add-face): Use them.
8091         * simple.el (blink-matching-open): Obey forward-sexp-function.
8093 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8095         * simple.el (prog-mode-map): New var.
8096         (prog-indent-sexp): New command.
8098         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8100         * progmodes/prolog.el (smie): Require.
8102         * emacs-lisp/smie.el (smie-default-backward-token)
8103         (smie-default-forward-token): Strip properties.
8104         (smie-next-sexp): Be more careful with associative operators.
8105         (smie-forward-sexp-command): Generalize.
8106         (smie-backward-sexp-command): Simplify.
8107         (smie-closer-alist): New var.
8108         (smie-close-block): New command.
8109         (smie-indent-debug-log): New var.
8110         (smie-indent-offset-rule): Add a few more cases.
8111         (smie-indent-column): New function.
8112         (smie-indent-after-keyword): Use it.
8113         (smie-indent-keyword): Use it.
8114         Fix up the opener code's point position.
8115         (smie-indent-comment): Only applies at BOL.
8116         (smie-indent-debug): New command.
8118         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8119         declarations that are useful before running the macro.
8121 2010-08-18  Joakim Verona  <joakim@verona.se>
8123         * image.el (imagemagick-types-inhibit): New variable.
8124         (imagemagick-register-types): New function.
8125         * image-mode.el (image-transform-properties): New function.
8126         (image-transform-set-scale, image-transform-fit-to-height)
8127         (image-transform-set-rotation, image-transform-set-resize)
8128         (image-transform-fit-to-width, image-transform-fit-to-height):
8129         New functions.
8130         (image-toggle-display-image): Support image transforms.
8132 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
8134         * image.el (create-animated-image): Don't add heuristic mask to image
8135         (Bug#6839).
8137 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
8139         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8140         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8142 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8144         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8146         Font-lock '...' strings, plus various simplifications and fixes.
8147         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8148         (octave-font-lock-close-quotes): New function.
8149         (octave-font-lock-syntactic-keywords): New var.
8150         (octave-mode): Use it.  Set beginning-of-defun-function.
8151         (octave-mode-map): Don't override the <foo>-defun commands.
8152         (octave-mode-menu): Pass it directly to easy-menu-define;
8153         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8154         (octave-block-match-alist): Fix up last change so that
8155         octave-close-block uses the more specific keyword.
8156         (info-lookup-mode): Silence byte-compiler.
8157         (octave-beginning-of-defun): Not interactive any more.
8158         Optimize slightly.
8159         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8160         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8161         (octave-completion-at-point-function): Make sure point is within
8162         beg..end.
8163         (octave-reindent-then-newline-and-indent):
8164         Use reindent-then-newline-and-indent.
8165         (octave-add-octave-menu): Remove.
8167 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
8169         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8170         (report-emacs-bug-can-use-xdg-email): New functions.
8171         (report-emacs-bug): Set can-xdg-email to result of
8172         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
8173         \C-cm to report-emacs-bug-insert-to-mailer and add help text
8174         about it.
8176         * net/browse-url.el (browse-url-default-browser): Add cond
8177         for browse-url-xdg-open.
8178         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8180 2010-08-17  Glenn Morris  <rgm@gnu.org>
8182         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8183         (c-fontify-recorded-types-and-refs): Define for compiler.
8184         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8185         before use.
8187         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8188         Fix format call.
8190 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
8192         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8193         properties.
8194         (tramp-handle-process-file): Call the program in a subshell, in
8195         order to preserve working directory.
8196         (tramp-action-password): Hide password prompt before next run.
8197         (tramp-process-actions): Widen connection buffer for the trace.
8199 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8201         * net/rcirc.el (rcirc-log-process-buffers): New option.
8202         (rcirc-print): Use it.
8203         (rcirc-generate-log-filename): New function.
8204         (rcirc-log-filename-function): Change default to
8205         rcirc-generate-log-filename (Bug#6828).
8207 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
8209         * simple.el (deactivate-mark): If select-active-regions is `only',
8210         only set selection for temporarily active regions.
8212         * cus-start.el: Change defcustom for select-active-regions.
8214 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8216         * mouse.el (mouse--drag-set-mark-and-point): New function.
8217         (mouse-drag-track): Use LOCATION arg to push-mark.
8218         Use mouse--drag-set-mark-and-point to take click-count into
8219         consideration when updating point and mark (Bug#6840).
8221 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8223         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8224         Give the Ruby rule a lower priority than Gnu (Bug#6778).
8226 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8228         * font-lock.el (lisp-font-lock-keywords-2):
8229         Add combine-after-change-calls, condition-case-no-debug,
8230         with-demoted-errors, and with-silent-modifications (Bug#6025).
8232 2010-08-14  Kevin Ryde  <user42@zip.com.au>
8234         * emacs-lisp/copyright.el (copyright-update-year)
8235         (copyright-update): Temporary switch-to-buffer to ensure the
8236         buffer change being queried is visible (Bug#5394).
8238 2010-08-14  Tom Tromey  <tromey@redhat.com>
8240         * progmodes/etags.el (tags-file-name): Mark safe if stringp
8241         (Bug#6733).
8243 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
8245         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8246         MS-DOS.  (Bug#6689)
8248 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
8250         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8251         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8252         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8253         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8254         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8255         Call menu-bar-set-tool-bar-position.
8257 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8259         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8260         comment style (bug#6834).
8261         * progmodes/scheme.el (scheme-mode-syntax-table):
8262         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8263         "b" flag in "' 14b" syntax.
8265         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8266         for (un)commenting the region and performing completion.
8267         (octave-mode-menu): Use standard commands for help and completion.
8268         (octave-mode-syntax-table): Support %{..%} comments (sort of).
8269         (octave-mode): Use define-derived-mode.
8270         Set completion-at-point-functions and don't set columns.
8271         Don't disable adaptive-fill-regexp.
8272         (octave-describe-major-mode, octave-comment-region)
8273         (octave-uncomment-region, octave-comment-indent)
8274         (octave-indent-for-comment): Remove.
8275         (octave-indent-calculate): Rename from calculate-octave-indent.
8276         (octave-indent-line, octave-fill-paragraph): Update caller.
8277         (octave-initialize-completions): No need to make an alist.
8278         (octave-completion-at-point-function): New function.
8279         (octave-complete-symbol): Use it.
8280         (octave-insert-defun): Use define-skeleton.
8282         * progmodes/octave-mod.el (octave-mode): Set comment-add.
8283         (octave-mode-map): Use comment-dwim (bug#6829).
8285 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>
8287         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8288         indentation of inserted comment.
8290 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
8292         * faces.el (region): Add type gtk that uses gtk colors.
8294         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8295         Handle theme-name change.
8297 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
8299         * progmodes/sql.el: Version 2.5
8300         (sql-product-alist): Add :prompt-cont-regexp property for several
8301         database products.
8302         (sql-prompt-cont-regexp): New variable.
8303         (sql-output-newline-count, sql-output-by-send):
8304         New variables.  Record number of newlines in input text.
8305         (sql-send-string): Handle multiple filters and count newlines.
8306         (sql-send-magic-terminator): Count terminator newline.
8307         (sql-interactive-remove-continuation-prompt): Filters output to
8308         remove continuation prompts; one for each newline.
8309         (sql-interactive-mode): Set up new variables, prompt regexp and
8310         output filter.
8311         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8312         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8314 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8316         * emacs-lisp/pcase.el: New file.
8318 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
8320         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8321         as here-document, otherwise the command could exceed maximum
8322         length of command line.
8323         (tramp-handle-vc-registered): Call script accordingly.
8324         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8326 2010-08-10  Kenichi Handa  <handa@m17n.org>
8328         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8329         composable pattern.
8331 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
8333         * emacs-lisp/package.el (package-version-split)
8334         (package--version-first-nonzero, package-version-compare):
8335         Functions removed.
8336         (package-directory-list, package-load-all-descriptors)
8337         (package--built-in, package-activate, define-package)
8338         (package-installed-p, package-compute-transaction)
8339         (package-read-all-archive-contents)
8340         (package--add-to-archive-contents, package-buffer-info)
8341         (package-tar-file-info, package-list-packages-internal):
8342         Use version-to-list and version-list-*.
8344         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8345         Use version-to-list.
8346         (package-upload-buffer-internal): Use version-list-<=.
8348 2010-08-09  Kenichi Handa  <handa@m17n.org>
8350         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8351         composable pattern.
8353 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
8355         * tutorial.el (tutorial--default-keys): C-d is now bound to
8356         delete-forward-char (Bug#6826).
8358         * mouse.el (mouse-drag-track): Remove accidentally-removed check
8359         for `double' value of mouse-1-click-follows-link (Bug#6807).
8361 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
8363         * replace.el (replace-highlight): Bind isearch-forward and
8364         isearch-error, ensuring that highlighting is updated if the user
8365         switches the search direction (Bug#6808).
8367         * isearch.el (isearch-lazy-highlight-forward): New var.
8368         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8369         (isearch-lazy-highlight-update): Use it.
8371 2010-08-08  Kenichi Handa  <handa@m17n.org>
8373         * international/mule.el (define-charset): Store NAME as :base property.
8374         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8375         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8376         current priority.  Force using the designation of the specific
8377         charset by adding `charset' text property.  Improve the whole algorithm.
8379 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8381         * emulation/pc-select.el (pc-selection-mode-hook)
8382         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8383         (pc-selection-mode): Fix typos in docstrings.
8385 2010-08-08  Kenichi Handa  <handa@m17n.org>
8387         * language/cyrillic.el: Don't add "microsoft-cp1251" to
8388         ctext-non-standard-encodings-alist here.
8390         * international/mule.el (ctext-non-standard-encodings-alist):
8391         Add "koi8-r" and "microsoft-cp1251".
8392         (ctext-standard-encodings): New variable.
8393         (ctext-non-standard-encodings-table): List only elements for
8394         non-standard encodings.
8395         (ctext-pre-write-conversion): Adjust for the above change.
8396         Check ctext-standard-encodings.
8398         * international/mule-conf.el (compound-text): Doc fix.
8399         (ctext-no-compositions): Doc fix.
8400         (compound-text-with-extensions): Doc fix.
8402 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8404         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8406 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8408         * progmodes/which-func.el (which-func-format): Split help-echo text
8409         into lines, like other mode-line tooltips.
8411         * server.el (server-start): When using TCP sockets, force IPv4
8412         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
8414 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8416         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8418 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8420         * term.el (term-delimiter-argument-list): Reflow docstring.
8421         (term-read-input-ring, term-write-input-ring, term-send-input)
8422         (term-bol, term-erase-in-display, serial-supported-or-barf):
8423         Fix typos in docstrings.
8425 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8427         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8429 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8431         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8433 2010-08-08  MON KEY  <monkey@sandpframing.com>
8435         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8436         Fix typo in docstring (bug#6747).
8438 2010-08-08  Leo Liu  <sdl.web@gmail.com>
8440         * eshell/esh-io.el (eshell-get-target): Better detection of
8441         read-only file (Bug#6762).
8443 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8445         * align.el (align-default-spacing): Doc fix.
8446         (align-region-heuristic, align-regexp): Fix typos in docstrings.
8448 2010-08-08  Stephen Peters  <speters@itasoftware.com>
8450         * calendar/icalendar.el
8451         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
8452         (icalendar--get-weekday-numbers): New.
8453         (icalendar--convert-recurring-to-diary): Handle multiple byday
8454         values in weekly rules.  (Bug#6766)
8456 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
8458         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8459         (icalendar--create-uid, icalendar-export-region)
8460         (icalendar--parse-summary-and-rest): Code formatting.
8462 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
8464         * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8465         to italicize headers.
8466         (calc-highlight-selections-with-faces): New variable.
8467         (calc-selected-face, calc-nonselected-face): New faces.
8469         * calc/calccomp.el (math-comp-highlight-string): Use
8470         `calc-highlight-selections-with-faces' to determine how to highlight
8471         sub-formulas.
8473         * calc/calc-sel.el (calc-show-selections): Change message to when
8474         using faces to highlight selections.
8476 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
8478         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8479         Add SQLite 3 keywords, functions and datatypes.
8480         (sql-interactive-mode): Remove `comint-process-echoes' set to t
8481         (Bug#6686).
8483 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
8485         * simple.el (select-active-regions): Move to keyboard.c.
8486         (deactivate-mark): Used saved-region-selection.
8487         (select-active-region): Function removed.
8488         (activate-mark, set-mark, push-mark-command)
8489         (handle-shift-selection): Don't call it.
8490         (keyboard-quit): Avoid adding the region to the window selection.
8492         * mouse.el (mouse-drag-track): Remove hacks to deal with old
8493         select-active-regions implementation.
8494         (mouse-yank-at-click): Doc fix.
8496         * cus-start.el: Add custom declaration for select-active-regions.
8498 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
8500         * simple.el (delete-forward-char): Doc fix.
8502         * tutorial.el (help-with-tutorial): Hack safe file-local variables
8503         after reading the tutorial.
8505 2010-08-06  Alan Mackenzie  <acm@muc.de>
8507         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8508         Fix for the case that a C style comment has its delimiters alone on
8509         their respective lines.  (Bug#193)
8511 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
8513         * net/tramp.el (tramp-handle-start-file-process): Set connection
8514         property "vec".
8515         (tramp-process-sentinel): Use it for flushing the cache.
8516         We cannot do it via the process buffer, the buffer could be deleted
8517         already when running the sentinel.
8519 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
8521         * comint.el (comint-mode): Make directory tracking functions
8522         functional on remote files.  (Bug#6764)
8524 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
8526         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8528 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
8530         * emacs-lisp/find-gc.el (find-gc-source-files):
8531         Rename unexec.c => unexcoff.c.
8533         * emacs-lisp/authors.el (authors-fixed-entries):
8534         Rename unexec.c => unexcoff.c.
8536 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
8538         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8539         cache, not only file cache.
8540         (tramp-process-sentinel): New defun.
8541         (tramp-handle-start-file-process): Use it, in order to invalidate
8542         file caches.
8544 2010-08-03  Leo Liu  <sdl.web@gmail.com>
8546         * server.el (server-start): Simplify loop.
8548 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8550         * frame.el (screen-height, screen-width, set-screen-width)
8551         (set-screen-height): Remove ancient compatibility aliases.
8553         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8554         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
8556         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8557         that change current buffer.
8559 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8561         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8562         beginning of the string.  Use `string-match-p'.  (Bug#6765)
8564 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
8566         * cus-start.el (x-gtk-use-system-tooltips): New variable.
8568 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
8570         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8571         (package--builtins): Tweak descriptions.
8572         (package-print-package): Upcase descriptions if necessary.
8573         Show all built-in packages in font-lock-builtin-face.
8574         (package-list-packages-internal): Omit "emacs" package.
8575         Show status of built-in packages as "built-in".
8577 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
8579         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
8580         before killing to preserve the primary selection (Bug#6701).
8582         * term/x-win.el (x-select-text): Doc fix.
8584 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
8586         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8587         (objc-font-lock-extra-types):
8588         * progmodes/cc-mode.el (c-basic-common-init):
8589         * progmodes/cc-langs.el (c-make-mode-syntax-table)
8590         (c++-make-template-syntax-table)
8591         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8592         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8593         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8594         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8595         * progmodes/cc-fonts.el (c-make-inverse-face)
8596         (c-basic-matchers-after):
8597         * progmodes/cc-engine.el (c-forward-keyword-clause)
8598         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8599         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8600         (c-guess-continued-construct, c-guess-basic-syntax):
8601         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8602         The above functions were modified or created.
8604 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
8606         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8608 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
8610         * files.el (bidi-paragraph-direction): Define safe local values.
8612         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8613         language-info-alist.  Remove outdated FIXME in a comment.
8615 2010-07-31  Alan Mackenzie  <acm@muc.de>
8617         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8618         Auto-fill broken in C/C++ modes.
8620 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
8622         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8623         (menu-bar-showhide-tool-bar-menu-customize-disable)
8624         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8625         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8626         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8627         (menu-bar-showhide-tool-bar-menu): If tool bar is movable,
8628         make a menu for Options => toolbar that can move it.
8630 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
8632         * emacs-lisp/package-x.el (package--make-rss-entry):
8633         (package-maint-add-news-item, package--update-news)
8634         (package-upload-buffer-internal): New arg ARCHIVE-URL.
8636         * emacs-lisp/package.el (package-archive-url): Rename from
8637         package-archive-id.
8638         (package-install): Doc fix.
8639         (package-download-single, package-download-tar, package-install)
8640         (package-menu-view-commentary): Callers changed.
8642 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
8644         * net/tramp.el (tramp-handle-start-file-process): Check only for
8645         `remote-tty' process property.
8646         (tramp-open-shell): Don't check for tty.
8647         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8648         process property.
8650         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8651         host.
8653 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
8655         * emacs-lisp/package.el (package-load-list, package-archives)
8656         (package-archive-contents, package-user-dir)
8657         (package-directory-list, package--builtins, package-alist)
8658         (package-activated-list, package-obsolete-alist): Mark as risky.
8660 2010-07-28  Phil Hagelberg  <phil@evri.com>
8662         Add support for non-default package repositories.
8663         * emacs-lisp/package.el (package-archive-base): Var deleted.
8664         (package-archives): New variable.
8665         (package-archive-contents): Doc fix.
8666         (package-load-descriptor): Do nothing if descriptor file is missing.
8667         (package--write-file-no-coding): New function.
8668         (package-unpack-single): Use it.
8669         (package-archive-id): New function.
8670         (package-download-single, package-download-tar)
8671         (package-menu-view-commentary): Use it.
8672         (package-installed-p): Make second argument optional.
8673         (package-read-all-archive-contents): New function.
8674         (package-initialize): Use it.
8675         (package-read-archive-contents): Add ARCHIVE argument.
8676         (package--add-to-archive-contents): New function.
8677         (package-install): Don't call package-read-archive-contents.
8678         (package--download-one-archive): Store archive file in a
8679         subdirectory of package-user-dir.
8680         (package-menu-execute): Remove spurious line movement.
8682 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
8684         * cus-start.el (tool-bar-style): Add text-image-horiz.
8686 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8688         * progmodes/gud.el (gud-common-init): Check for remoteness of
8689         `file', and not of `default-directory'.
8691 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8693         * net/tramp.el (tramp-methods): Move hostname to the end in all
8694         ssh `tramp-login-args'.
8695         (tramp-verbose): Describe verbose level 9.
8696         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8697         (tramp-open-connection-setup-interactive-shell): Trace stty
8698         settings if `tramp-verbose' >= 9.
8699         (tramp-handle-start-file-process): Implement tty setting.
8700         (Bug#4604, Bug#6360)
8702         * net/tramp-cmds.el (tramp-bug): Recommend setting of
8703         `tramp-verbose' to 9.
8705 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
8707         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8708         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8709         Remove references to package `lisp-re' (bug#4369).
8711 2010-07-27  Tom Tromey  <tromey@redhat.com>
8713         * progmodes/js.el (js-mode):
8714         * progmodes/make-mode.el (makefile-mode):
8715         * progmodes/simula.el (simula-mode):
8716         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8718 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
8720         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8722         * time.el (display-time-day-and-date): Remove spurious * in docstring.
8723         (display-time-world-buffer-name, display-time-world-mode-map):
8724         Fix typos in docstrings.
8726 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
8728         * image-mode.el (image-display-size): New function.
8729         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8730         (image-mode-fit-frame): Use it (Bug#6639).
8732 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
8734         * dired.el (dired-buffers-for-dir): Handle list values of
8735         dired-directory (Bug#6636).
8737 2010-07-26  Sam Steingold  <sds@gnu.org>
8739         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8740         Do not call `x-get-selection' the second time, reuse the value.
8742 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
8744         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8745         which consist of control chars only.  Suggested by Richard Stallman.
8747 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
8749         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8750         exists before passing an error to find-file-not-found-functions
8751         (bug#6723).
8753 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
8755         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8756         Remove leading nil element, adjust values.
8757         (tetris-shapes, tetris-shape-scores):
8758         Change representation of shapes and remove some redundancy.
8759         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8760         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8761         Adjust for working with new representation of shapes.
8762         (tetris-shape-rotations): New function.
8763         (tetris-move-bottom, tetris-move-left, tetris-move-right)
8764         (tetris-rotate-prev, tetris-rotate-next):
8765         Adjust for working with the new version of tetris-test-shape.
8767 2010-07-23  Markus Triska  <markus.triska@gmx.at>
8769         * progmodes/ps-mode.el: Use comint (bug#5954).
8770         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8771         (ps-mode-other-newline): Simplify.
8772         (ps-run-mode): Derive from comint-mode instead of
8773         fundamental-mode, yielding input history etc.
8774         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8775         (ps-run-send-string): Adapt for comint-mode.
8776         (ps-run-newline): Remove now unneeded function.
8778 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8780         * net/tramp.el (tramp-methods): Move hostname to the end in all
8781         plink `tramp-login-args'.
8783 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8785         * net/tramp.el (tramp-open-shell): New defun.
8786         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8787         Use it.
8789 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8791         * net/tramp.el (tramp-file-name-regexp-unified)
8792         (tramp-completion-file-name-regexp-unified): On W32 systems, do
8793         not regard the volume letter as remote filename.  (Bug#5447)
8795 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
8797         * custom.el (custom-declare-variable): Give a clearer error message
8798         when the docstring is missing (bug#6476).
8800 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
8802         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
8803         (sql-login-params): New widget definition.
8804         (sql-oracle-login-params, sql-mysql-login-params)
8805         (sql-solid-login-params, sql-sybase-login-params)
8806         (sql-informix-login-params, sql-ingres-login-params)
8807         (sql-ms-login-params, sql-postgres-login-params)
8808         (sql-interbase-login-params, sql-db2-login-params)
8809         (sql-linter-login-params): Use it.
8810         (sql-sqlite-login-params): Use it; Define "database" parameter as
8811         a file name.
8812         (sql-sqlite-program): Change to "sqlite3".
8813         (sql-comint-sqlite): Make sure database name is complete.
8814         (sql-for-each-login): New function.
8815         (sql-connect, sql-save-connection): Use it.
8816         (sql-get-login-ext): New function.
8817         (sql-get-login): Use it.
8818         (sql-make-alternate-buffer-name): Handle :file parameters.
8820 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
8822         * dired.el (dired-no-confirm): Document value t and fix defcustom to
8823         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
8825 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
8827         * dired.el (dired-mode-map): Use command remapping (bug#6632).
8829 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
8831         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8833 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
8835         * net/tramp.el (tramp-get-ls-command)
8836         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8837         instead of "/".
8839 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
8841         * progmodes/sql.el: Version 2.3.
8842         (sql-connection-alist): Change keys from symbols to strings;
8843         enhanced the widget definition.
8844         (sql-mode-menu): Add submenu to select connections.
8845         (sql-interactive-mode-menu): Add "Save Connection" item.
8846         (sql-add-product): Fix menu item.
8847         (sql-get-product-feature): Improve error handling.
8848         (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8849         (sql-make-alternate-buffer-name): Simplify.
8850         (sql-product-interactive): Handle missing product.
8851         (sql-connect): Support string keys, minor improvements.
8852         (sql-save-connection): New function.
8853         (sql-connection-menu-filter): New function.
8855 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8857         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8858         (tramp-open-connection-setup-interactive-shell):
8859         Apply workaround for IRIX64 bug.  Move argument of last
8860         `tramp-send-command' where it belongs to.
8862 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8864         * net/tramp.el (tramp-perl-file-attributes)
8865         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8866         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8867         front of `login-args'.
8869 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
8871         * time.el (display-time-world-mode): Define with `define-derived-mode'.
8872         Set `show-trailing-whitespace' to nil.
8873         (display-time-world-display): Simplify.
8875 2010-07-18  Alan Mackenzie  <acm@muc.de>
8877         Enhance `c-file-style' in file/directory local variables.
8878         * progmodes/cc-mode.el (c-count-cfss): New function.
8879         (c-before-hack-hook): Call `c-set-style' differently according to
8880         whether c-file-style was set in file or directory local
8881         variables.
8883 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
8885         * progmodes/sql.el: Version 2.2.
8886         (sql-product, sql-user, sql-database, sql-server, sql-port):
8887         Use defcustom :safe keyword rather than putting safe-local-variable
8888         property.
8889         (sql-password): Use defcustom :risky keyword rather than putting
8890         risky-local-variable property.
8891         (sql-oracle-login-params, sql-sqlite-login-params)
8892         (sql-solid-login-params, sql-sybase-login-params)
8893         (sql-informix-login-params, sql-ingres-login-params)
8894         (sql-ms-login-params, sql-postgres-login-params)
8895         (sql-interbase-login-params, sql-db2-login-params)
8896         (sql-linter-login-params): Add `port' option.
8897         (sql-get-product-feature): Add NO-INDIRECT parameter.
8898         (sql-comint-oracle, sql-comint-sybase)
8899         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8900         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8901         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8902         (sql-comint-linter): Rename sql-connect-* functions to
8903         sql-comint-*.
8904         (sql-product-alist, sql-mode-menu): Rename as above and
8905         :sqli-connect-func to :sqli-comint-func.
8906         (sql-connection): New variable.
8907         (sql-interactive-mode): Set it.
8908         (sql-connection-alist): New variable.
8909         (sql-connect): New function.
8910         (sql--alt-buffer-part, sql--alt-if-not-empty)
8911         (sql-make-alternate-buffer-name): Improve alternative buffer name.
8913 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8915         * image-mode.el (image-bookmark-make-record): Do not set context
8916         in an image (Bug#6650).
8918 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8920         * simple.el (select-active-region): New function.
8921         (push-mark-command, set-mark, activate-mark)
8922         (handle-shift-selection): Use it.
8923         (deactivate-mark): Don't check for size of region.
8925         * mouse.el (mouse-drag-track): Use select-active-region.
8927 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
8929         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8930         "--dired" stronger.
8932 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8934         * term/x-win.el (x-select-enable-primary): Change default to nil.
8935         (x-select-enable-clipboard): Add :version keyword.
8937         * mouse.el (mouse-drag-copy-region):
8938         * simple.el (select-active-regions): Likewise.
8940 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
8942         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8943         (vc-coding-system-for-diff): Use it to decide whether to inherit
8944         from the file the EOL format for reading the diffs of that file.
8945         (Bug#4451)
8947 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
8949         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8950         unibyte, so compressed attachments are not compressed again.
8952 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
8954         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8955         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8956         (tramp-find-shell): Simplify setting connection property.
8957         (tramp-get-ls-command): Make test for "--color=never" stronger.
8959 2010-07-15  Simon South  <ssouth@member.fsf.org>
8961         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8962         blocks within record declarations (i.e. variant parts) correctly.
8964 2010-07-15  Simon South  <ssouth@member.fsf.org>
8966         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8967         over literal tokens when parsing so newlines aren't "absorbed" by
8968         single-line comments.  Corrects the indentation of case blocks
8969         that have a comment on the first line.
8971 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
8973         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8974         by Drew Adams (Bug#5504).
8976 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
8978         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8979         now that Unicode is used (Bug#6594).
8981 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
8983         * term/x-win.el (x-select-enable-clipboard): Default to t.
8984         (x-initialize-window-system): Don't overwrite Paste menu item.
8986         * simple.el (select-active-regions): Default to t.
8987         (push-mark-command): Don't overwrite primary with empty string.
8989         * mouse.el: Bind mouse-2 to mouse-yank-primary.
8990         (mouse-drag-copy-region): Default to nil.
8992         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8993         Cut/Copy/Paste menu bar items.
8995 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8997         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8998         Patch applied by Karl Fogel.
9000         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9001         and `bookmark-current-buffer' if they have been already set in
9002         another buffer (e.g gnus-art).
9004 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9005             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9007         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9009         * bookmark.el (bookmark-make-record-default): Allow unneeded
9010         information to be omitted from the record.
9012         Adjust declarations and calls:
9014         * info.el (bookmark-make-record-default): Adjust declaration.
9015         (Info-bookmark-make-record): Adjust call.
9017         * woman.el (bookmark-make-record-default): Adjust declaration.
9018         (woman-bookmark-make-record): Adjust call.
9020         * man.el (bookmark-make-record-default): Adjust declaration.
9021         (Man-bookmark-make-record): Adjust call.
9023         * image-mode.el (bookmark-make-record-default): Adjust declaration.
9025         * doc-view.el (bookmark-make-record-default): Adjust declaration.
9027 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9029         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9030         This is also from Thierry Volpiatto's patch in bug #6444.  However,
9031         because it was extraneous to the functional change in that patch,
9032         and causes a re-indentation, I am committing it separately.
9034 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9036         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9037         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9038         Patch applied by Karl Fogel (Bug#6444).
9040 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
9042         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9044 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
9046         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9047         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
9048         (ns-alternatives-map): Change S-tab binding to backtab
9049         (bug#6616).
9051         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9052         under ns.
9054 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
9056         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9057         (Bug#5806)
9059         * language/tv-util.el (tai-viet-re): Remove format.
9061 2010-07-12  Kenichi Handa  <handa@m17n.org>
9063         * language/hebrew.el: Remove no-byte-compile declaration.
9064         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
9065         composition-function-table for 3-character looking back.
9066         (hebrew-font-get-precomposed): New function.
9067         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9069 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
9071         * mouse.el (mouse-drag-track): Handle select-active-regions
9072         (Bug#6612).
9074 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
9076         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9077         empty argument to gvfs-copy.
9079 2010-07-10  Glenn Morris  <rgm@gnu.org>
9081         * calendar/calendar.el (calendar-week-end-day): New function.
9082         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9083         Respect calendar-week-start-day.  (Bug#6606)
9084         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9085         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9086         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9087         respect calendar-week-start-day.
9089 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
9091         * simple.el (use-region-p): Doc fix (Bug#6607).
9093 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
9095         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9096         Add regexps for cucumber and ruby.
9098 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
9100         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9101         (epa-file-insert-file-contents): Hack to prevent
9102         find-file from opening empty buffer when decryption failed
9103         (bug#6568).
9105 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
9107         * textmodes/ispell.el (ispell-alternate-dictionary):
9108         Use file-readable-p.
9109         Return nil if no word-list is found at default locations.
9110         (ispell-complete-word-dict): Default to nil.
9111         (ispell-command-loop): Use 'word-list' when using lookup-words.
9112         (lookup-words): Use ispell-complete-word-dict or
9113         ispell-alternate-dictionary.  Check for word-list availability
9114         and handle errors if needed with better messages (Bug#6539).
9115         (ispell-complete-word): Use ispell-complete-word-dict or
9116         ispell-alternate-dictionary.
9118 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
9120         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9121         builtins (BufferError, BytesWarning, WindowsError; callables
9122         bin, bytearray, bytes, format, memoryview, next, print; __package__).
9124 2010-07-07  Glenn Morris  <rgm@gnu.org>
9126         * play/zone.el (top-level): Do not require timer, tabify, or cl.
9127         (zone-shift-left): Ignore intangibility, and any errors from
9128         forward-char.
9129         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
9130         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9131         deleting, and copying text properties.
9132         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9133         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9134         to point-max is hard.
9135         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9136         (zone-fill-out-screen): Ignore intangibility.
9138 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
9140         * menu-bar.el (menu-bar-mode):
9141         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9142         if it has been set.
9144         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9145         word/line selection (Bug#6565).
9147 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
9149         * net/dbus.el (dbus-send-signal): Declare function.
9151 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
9153         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9154         (dbus-register-property): New optional argument EMITS-SIGNAL.
9155         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9157 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
9159         * mouse.el (mouse-drag-overlay): Variable deleted.
9160         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9161         (mouse--remap-link-click-p): New function.
9162         (mouse-drag-track): Handle dragging by using temporary Transient
9163         Mark mode, instead of a special overlay.
9164         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9165         mouse-show-mark.
9167         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9168         deleted.
9170 2010-07-02  Juri Linkov  <juri@jurta.org>
9172         * autoinsert.el (auto-insert-alist): Fix readability
9173         by using dotted pair notation for lambda.
9175 2010-07-02  Juri Linkov  <juri@jurta.org>
9177         * faces.el (read-face-name): Rename arg `string-describing-default'
9178         to `default'.  Doc fix.  Display the default value in quotes
9179         in the prompt.  With empty input, return the `default' arg,
9180         unless the default value is a string (in which case return nil).
9181         (describe-face): Replace the string `default' arg of `read-face-name'
9182         with the symbol `default'.
9184 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
9186         * emulation/viper-cmd.el (viper-delete-backward-char)
9187         (viper-del-backward-char-in-insert)
9188         (viper-del-backward-char-in-replace, viper-change)
9189         (viper-backward-indent): Replace delete-backward-char with
9190         delete-char (Bug#6552).
9192 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
9194         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9196 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9198         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9199         argument passed to frame-creation-function (Bug#5378).
9201         * faces.el (x-handle-named-frame-geometry)
9202         (x-handle-reverse-video, x-create-frame-with-faces)
9203         (face-set-after-frame-default, tty-create-frame-with-faces):
9204         Don't separately consult default-frame-alist.  It is now passed as the
9205         PARAMETER argument.
9207 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
9209         * startup.el (command-line): Don't call tool-bar-setup in a
9210         tty-only build.
9212 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9214         * ruler-mode.el (ruler--save-header-line-format): New fun.
9215         (ruler-mode): Use it as a setter function, so as not to overwrite
9216         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9218 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
9220         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
9221         (vc-root-diff, vc-print-root-log, vc-log-incoming)
9222         (vc-log-outgoing): Use it.
9223         (vc-diff-internal): Set diff-vc-backend.
9225         * vc/diff-mode.el (diff-vc-backend): New var.
9227 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
9229         * dynamic-setting.el (font-setting-change-default-font):
9230         Remove call to message.
9232 2010-06-28  Kenichi Handa  <handa@m17n.org>
9234         * international/quail.el (quail-insert-kbd-layout): Fix the
9235         showing of untranslated characters.
9237 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
9239         * simple.el (delete-active-region): New option.
9240         (delete-backward-char): Implement in Lisp.
9241         (delete-forward-char): New command.
9243         * mouse.el (mouse-region-delete-keys): Delete.
9244         (mouse-show-mark): Simplify.
9246         * bindings.el (global-map): Bind delete and DEL, the former to
9247         delete-forward-char.
9249 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
9251         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9252         (ruby-mode): Bind indent-line-function (Bug#5119).
9254 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9256         * startup.el (command-line): Recognize "0" X resource value.
9258 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9260         * startup.el (command-line): Use X resources to set the value of
9261         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9263         * menu-bar.el (menu-bar-mode):
9264         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9265         Set init-value to t.
9267         * frame.el (frame-notice-user-settings): Don't change
9268         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9269         vice versa (Bug#2249).
9271 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
9273         * w32-fns.el (w32-convert-standard-filename): Doc fix.
9275 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
9277         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9278         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9280         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9281         default directories are expanded (Bug#6143).
9283 2010-06-24  Juri Linkov  <juri@jurta.org>
9285         * minibuffer.el (completions-format): Change default from nil to
9286         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
9288 2010-06-24  Juri Linkov  <juri@jurta.org>
9290         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9291         buffer-locally to lambda that re-runs the vc diff command.
9292         (Bug#6447)
9294 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
9296         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9297         echo area is in use (Bug#3412).
9299 2010-06-22  Glenn Morris  <rgm@gnu.org>
9301         * textmodes/texinfmt.el (texinfo-format-region)
9302         (texinfo-raise-lower-sections, texinfo-format-separate-node)
9303         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9304         (texinfo-format-option, texinfo-noindent):
9305         Use line-beginning-position and line-end-position.
9307         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9308         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9309         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9310         utf-8 characters.
9312 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
9314         * play/zone.el (zone-fall-through-ws): Fix next-line ->
9315         forward-line fallout.
9317 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
9319         * mouse.el (mouse-appearance-menu): Add docstring.
9321         * help.el (describe-key): Print up-event using key-description.
9323 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
9325         * net/zeroconf.el (zeroconf-resolve-service)
9326         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9327         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9329 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
9331         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9333 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
9335         Avoid displaying files with a nil state in vc-dir.
9336         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9337         cases that cause insertion.
9338         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9339         with a nil state.
9341 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9343         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9345 2010-06-29  Leo Liu  <sdl.web@gmail.com>
9347         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
9349 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9351         * generic-x.el (bat-generic-mode): Fix regexp for command line
9352         switches (Bug#5719).
9354 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
9356         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9357         of nconc to avoid pure storage error (Bug#6239).
9359 2010-06-27  Christoph Scholtes  <cschol2112@googlemail.com>
9361         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9362         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9363         bindings of bookmark-automatically-show-annotations (Bug#6515).
9365 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
9367         * arc-mode.el (archive-zip-extract): Don't quote the file name on
9368         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
9370 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9372         * comint.el (make-comint, make-comint-in-buffer): Mention return
9373         value in the docstrings.  (Bug#6498)
9375 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
9377         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9378         since it is not present when using some non-default switches.
9380 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
9382         * simple.el (compose-mail): Fix doc string to refer to
9383         `compose-mail-user-agent-warnings', instead of to the
9384         nonexistent `compose-mail-check-user-agent'.
9386 2010-06-21  Alan Mackenzie  <acm@muc.de>
9388         Fix an indentation bug:
9390         * progmodes/cc-mode.el (c-common-init): Initialize c-new-BEG/END.
9391         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9392         of existing values.
9394         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9395         (c-clear->-pair-props-if-match-before): Now return t when they've
9396         cleared properties, nil otherwise.
9397         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9398         by taking account of the existing value.
9400         * progmodes/cc-defs.el
9401         (c-clear-char-property-with-value-function): Fix this to clear the
9402         property rather than overwriting it with nil.
9404 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
9406         * emacs-lisp/package.el (package-print-package): Add link to
9407         package description via describe-package.
9408         (describe-package-1): List package requirements.  Add button to
9409         perform installation.
9410         (package-menu-describe-package): New command.
9412         * help-mode.el (help-package): New button type.
9414 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
9416         * emacs-lisp/package.el: Move package-list-packages binding to
9417         menu-bar.el.
9418         (describe-package, describe-package-1, package--dir): New funs.
9419         (package-activate-1): Use package--dir.
9421         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9423         * help-mode.el (help-package-def): New button type.
9425         * menu-bar.el: Move package-list-packages binding here from
9426         package.el.
9428 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
9430         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
9432 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9434         * emacs-lisp/edebug.el (edebug-read-list):
9435         Phase out old-style backquotes.
9437 2010-06-17  Juri Linkov  <juri@jurta.org>
9439         * help-mode.el (help-mode): Set buffer-local variable
9440         revert-buffer-function to help-mode-revert-buffer.
9441         (help-mode-revert-buffer): New function.
9443         * info.el (Info-revert-find-node): Check for major-mode Info-mode
9444         before popping to "*info*" (like in other Info functions).
9445         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
9446         old-history-forward.  Pop to old-buffer-name or "*info*" to
9447         recreate the killed buffer.  Set Info-history-forward from
9448         old-history-forward.
9449         (Info-breadcrumbs-depth): Add :group and :version.
9451 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
9453         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9455 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
9457         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9458         for languages like Portuguese with pt_{BR,PT} and no plain pt.
9460 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
9462         * emacs-lisp/package.el (package-menu-mode-map):
9463         Move initialization into declaration.
9465         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9467 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
9469         * emacs-lisp/package.el (package-archive-base): Point to
9470         elpa.gnu.org.
9471         (package-enable, package-load-list): New defcustoms.
9472         (package-user-dir, package-directory-list): Turn into defcustoms.
9473         Don't include package-user-dir in package-directory-list.
9474         (package--builtins-base): Don't include Emacs as a "package".
9475         (package-subdirectory-regexp): New var.
9476         (package-load-all-descriptors, package-compute-transaction)
9477         (package-download-transaction): Obey package-load-list.
9478         (package-activate-1): Rename from package-do-activate.
9479         (package-list-packages-internal): Check package-load-list.
9480         (package-load-descriptor, package-generate-autoloads)
9481         (package-unpack, package-unpack-single)
9482         (package--read-archive-file, package-delete):
9483         Use expand-file-name.
9485         * emacs-lisp/package-x.el: New file.  Package uploading
9486         functionality split out from package.el.
9488         * startup.el (command-line): Load packages after reading init file.
9490 2010-06-17  Tom Tromey  <tromey@redhat.com>
9492         * emacs-lisp/package.el: New file.
9494 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9496         Fix vc-annotate for renamed files when using Git.
9497         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9498         ls-files.  Doe not pass the object as a file name to cat-file, it
9499         is not a file name.
9500         (vc-git-annotate-command): Pass the file name using -- to avoid
9501         ambiguity with the revision.
9502         (vc-git-previous-revision): Pass a relative file name.
9504 2010-06-22  Glenn Morris  <rgm@gnu.org>
9506         * progmodes/js.el (js-mode-map): Use standard capitalization and
9507         ellipses for menu entries.
9509         * wid-edit.el (widget-complete): Doc fix.
9511 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
9513         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9515 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9517         Fix annotating other revisions for renamed files in vc-annotate.
9518         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9519         VC backend.  Use it when non-nil.
9520         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9521         (Bug#6487).
9523         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9524         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9525         Do not pass the file name to the 'previous-revision call when we
9526         don't want a file diff.  (Bug#6489)
9528 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9530         Fix finding revisions for renamed files in vc-annotate.
9531         * vc/vc.el (vc-find-revision): Add an optional argument for
9532         the VC backend.  Use it when non-nil.
9533         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9534         backend to vc-find-revision.  (Bug#6487)
9536 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9538         Fix reading file names in Git annotate buffers.
9539         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9540         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
9542 2010-06-20  Alan Mackenzie  <acm@muc.de>
9544         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9545         in file local variables, set it first.
9547 2010-06-19  Glenn Morris  <rgm@gnu.org>
9549         * descr-text.el (describe-char-unicode-data): Insert separating
9550         space when needed.  (Bug#6422)
9552         * progmodes/idlwave.el (idlwave-action-and-binding):
9553         Fix typo in 2009-12-03 change.  (Bug#6450)
9555 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9557         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9558         handling for `lambda' (misunderstanding).
9560 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
9562         * calc/calc-poly.el (math-accum-factors): Make sure that
9563         constants aren't distributed after they are factored out.
9565 2010-06-16  Juri Linkov  <juri@jurta.org>
9567         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9568         `list-colors-print'.  (Bug#6332)
9570         * subr.el (read-quoted-char): Fix up last change (bug#6290).
9572 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9574         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9575         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
9577         * font-lock.el (font-lock-major-mode): Rename from
9578         font-lock-mode-major-mode to distinguish it from
9579         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9580         (font-lock-set-defaults):
9581         * font-core.el (font-lock-default-function): Adjust users.
9582         (font-lock-mode): Don't set it at all.
9584 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9586         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9588 2010-06-16  Glenn Morris  <rgm@gnu.org>
9590         * calendar/appt.el (appt-time-msg-list): Doc fix.
9591         (appt-check): Let-bind appt-warn-time.
9592         (appt-add): Make the 3rd argument optional.
9593         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
9594         Only add WARNTIME to the output list if non-nil.
9596 2010-06-16  Ivan Kanis  <apple@kanis.eu>
9598         * calendar/appt.el (appt-check): Let the 3rd element of
9599         appt-time-msg-list specify the warning time.
9600         (appt-add): Add new argument with the warning time.  (Bug#5176)
9602 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9604         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9605         older than version 1.6.  (Bug#6361)
9607 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
9609         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9610         used by cl-do-arglist.  (Bug#6408)
9612 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
9614         * textmodes/ispell.el (ispell-dictionary-base-alist):
9615         Fix portuguese casechars/not-casechars for missing 'çÇ'.
9616         Suggested by Rolando Pereira (bug#6434).
9618 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
9620         * facemenu.el (list-colors-sort): Doc fix.
9622 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9624         * progmodes/sql.el (sql-connect-mysql): Fix typo.
9626 2010-06-14  Juri Linkov  <juri@jurta.org>
9628         Add sort option `list-colors-sort'.  (Bug#6332)
9629         * facemenu.el (color-rgb-to-hsv): New function.
9630         (list-colors-sort): New defcustom.
9631         (list-colors-sort-key): New function.
9632         (list-colors-display): Doc fix.  Sort list according to the option
9633         `list-colors-sort'.
9634         (list-colors-print): Add HSV values to `help-echo' property of
9635         RGB strings.
9637 2010-06-14  Juri Linkov  <juri@jurta.org>
9639         * compare-w.el: Move to the "vc" subdirectory.
9641 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9643         * image-mode.el (image-mode-map): Remap left-char and right-char.
9645         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9647 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
9649         * term/common-win.el (x-colors): Add all the color names defined
9650         in rgb.txt (Bug#6332).
9652         * facemenu.el (list-colors-print): Don't print extra names if it
9653         will overflow the window width.
9655         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9656         change (Bug#6343).
9658 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
9660         * files.el (make-directory): Doc fix (bug#6396).
9662 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
9664         * net/tramp.el (tramp-remote-process-environment): Protect version
9665         string by apostroph.
9666         (tramp-shell-prompt-pattern): Do not use a shy group in case of
9667         XEmacs.
9668         (tramp-file-name-for-operation): Add `call-process-region'.
9669         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9671         * net/tramp-compat.el (top): Do not autoload
9672         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
9673         only when `start-file-process' is not bound.
9674         (tramp-advice-file-expand-wildcards): Do not use
9675         `tramp-handle-file-remote-p'.
9676         (tramp-compat-make-temp-file): Handle the case, that
9677         `make-temp-file' has no third argument EXTENSION.
9679 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
9681         * makefile.w32-in (WINS_BASIC): Include new directory vc.
9683         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9685 2010-06-11  Juri Linkov  <juri@jurta.org>
9687         * finder.el (finder-known-keywords): Add keyword "vc"
9688         for version control.
9690         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9691         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9692         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9693         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9695 2010-06-11  Juri Linkov  <juri@jurta.org>
9697         Move version control related files to the "vc" subdirectory.
9698         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9699         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9700         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9701         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9702         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9703         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9704         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9705         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9706         Move files to the "vc" subdirectory.
9708 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
9710         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9711         (Bug#6367).
9713 2010-06-11  Stephen Eglen  <stephen@gnu.org>
9715         * shell.el: Bind `shell-resync-dirs' to M-RET.
9717 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
9719         * notifications.el: Move file from lisp/net, because it is
9720         supposed to talk locally to the user.
9722 2010-06-10  Julien Danjou  <julien@danjou.info>
9724         * net/notifications.el (notifications-on-action-signal)
9725         (notifications-on-closed-signal): Pass notification id as first
9726         argument to the callback functions.  Add docstrings.
9727         (notifications-notify): Fix docstring.
9729 2010-06-10  Glenn Morris  <rgm@gnu.org>
9731         * emacs-lisp/authors.el (authors-ignored-files)
9732         (authors-valid-file-names): Add some files.
9734 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9736         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9737         merge conflict, giving preference to the emacs-23 version of the code.
9739 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9741         * emacs-lisp/advice.el (ad-compile-function):
9742         Define warning-suppress-types before we let-bind it (bug#6275).
9744         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9745         declare it, make it buffer-local and permanent-local (bug#6324).
9746         (vc-resynch-window): Adjust name.
9747         * vc-hooks.el (vc-find-file-hook): Adjust name.
9749 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
9751         * net/notifications.el (notifications-notify): Fix docstring.
9753 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9755         Update to Unicode 6.0.0 beta.
9756         * international/charprop.el: Update copyright.
9757         * international/mule-cmds.el (ucs-names): Update character ranges.
9758         * international/uni-bidi.el:
9759         * international/uni-category.el:
9760         * international/uni-combining.el:
9761         * international/uni-comment.el:
9762         * international/uni-decimal.el:
9763         * international/uni-decomposition.el:
9764         * international/uni-digit.el:
9765         * international/uni-lowercase.el:
9766         * international/uni-mirrored.el:
9767         * international/uni-name.el:
9768         * international/uni-numeric.el:
9769         * international/uni-old-name.el:
9770         * international/uni-titlecase.el:
9771         * international/uni-uppercase.el: Regenerate.
9773 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9775         * emacs-lisp/smie.el (comment-string-strip): Declare function.
9776         (smie-precs-precedence-table): Fix typo in docstring.
9778         * vc-mtn.el (log-edit-extract-headers): Declare function.
9780         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9782         * net/notifications.el (dbus-register-signal): Declare function.
9783         (notifications-notify): Fix typos and reflow docstring.
9785 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9787         Improve VC create/retrieve tag/branch.
9788         * vc.el (vc-create-tag): Do not read the directory name for VCs
9789         with repository revision granularity.  Adjust the tag/branch
9790         prompt.  Reset VC properties.
9791         (vc-retrieve-tag): Do not read the directory name for VCs
9792         with repository revision granularity.  Reset VC properties.
9794 2010-06-09  Julien Danjou  <julien@danjou.info>
9796         * net/notifications.el: New file.
9798 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9800         Add optional support for resetting VC properties.
9801         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9802         call vc-file-clearprops when true.
9803         (vc-resynch-buffer): Add new optional argument, pass it down.
9804         (vc-resynch-buffers-in-directory): Likewise.
9806         Improve support for special markup in the VC commit message.
9807         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9808         * vc-hg.el (vc-hg-checkin): Add support for Date:.
9809         * vc-git.el (vc-git-checkin):
9810         * vc-bzr.el (vc-bzr-checkin): Likewise.
9812 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9814         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9815         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9817 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
9819         * iimage.el: Remove images as soon as the underlying text is modified.
9820         (iimage-modification-hook): New function.
9821         (iimage-mode-buffer): Use it.
9823 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9825         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9826         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
9827         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
9828         (smie-indent-keyword): Add handling of open-paren keywords.
9829         (smie-indent-comment-continue): Don't assume comment-continue.
9831 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
9833         * window.el (pop-to-buffer): Remove the conditional that
9834         compares new-window and old-window, so it will reselect
9835         the selected window unconditionally.
9836         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9838 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9840         * emacs-lisp/smie.el (smie-indent-offset-after)
9841         (smie-indent-forward-token, smie-indent-backward-token): New functions.
9842         (smie-indent-after-keyword): Use them.
9843         (smie-indent-fixindent): Only applies to the indentation of the BOL.
9844         (smie-indent-keyword): Tweak the black magic.
9845         (smie-indent-comment-continue): Strip comment-continue before use.
9846         (smie-indent-functions): Indent comments before keywords.
9848 2010-06-06  Juri Linkov  <juri@jurta.org>
9850         * isearch.el (isearch-lazy-highlight-search): Fix looping
9851         by checking for empty match.  This syncs this loop with the
9852         similar loop in `isearch-search'.  (Bug#6362)
9854 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
9856         * net/dbus.el (dbus-register-method): Declare function.
9857         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9858         (dbus-introspect): Doc fix.
9859         (dbus-event-bus-name, dbus-introspect-get-interface)
9860         (dbus-introspect-get-argument): Reflow docstrings.
9862 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
9864         vc-log-incoming/vc-log-outgoing fixes for Git.
9865         * vc-git.el (vc-git-log-view-mode): Fix font lock for
9866         incoming/outgoing logs.
9867         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9868         instead of vc-git-compute-remote.
9869         (vc-git-compute-remote): Remove.
9871 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
9873         * term/common-win.el (x-colors): Add "dark green" and "dark
9874         turquoise" (Bug#6332).
9876 2010-06-04  Juri Linkov  <juri@jurta.org>
9878         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9879         Instead of setting `replace' to t and replacing the same string
9880         with itself, don't do certain actions when
9881         kill-do-not-save-duplicates is non-nil and string is equal to car
9882         of kill-ring: don't call menu-bar-update-yank-menu, don't push
9883         interprogram-paste strings to kill-ring, and don't push the input
9884         argument `string' to kill-ring.
9885         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9887 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9889         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9891 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
9893         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9894         (tramp-gvfs-handler-mounted-unmounted)
9895         (tramp-gvfs-connection-mounted-p): Handle default-location.
9897         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9898         move files to trash.
9900 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9902         * international/mule-cmds.el (nonascii-insert-offset)
9903         (nonascii-translation-table): Add obsolescence information.
9905         * international/mule.el (make-translation-table-from-vector): Doc fix.
9907 2010-06-03  Glenn Morris  <rgm@gnu.org>
9909         * desktop.el (desktop-clear-preserve-buffers):
9910         Add "*Warnings*" buffer.  (Bug#6336)
9912 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
9914         vc-log-incoming/vc-log-outgoing improvements for Git.
9915         * vc-git.el (vc-git-log-outgoing): Use the same format as the
9916         short log.
9917         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
9919         Add bindings for vc-log-incoming and vc-log-outgoing.
9920         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9921         and vc-log-outgoing.
9922         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9923         and vc-log-outgoing.
9925 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9927         * net/rcirc.el (rcirc-sort-nicknames): Remove.
9928         (rcirc-handler-366): Always sort nicknames.
9930 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
9932         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9934 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9936         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9938 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9940         * net/rcirc.el (rcirc-sort-nicknames): Change default.
9941         (rcirc-sort-nicknames-join): Avoid setq.
9943 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
9945         * net/rcirc.el (rcirc-sort-nicknames): New custom.
9946         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9947         (rcirc-handler-366): Use them.
9949 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9951         Split smie-indent-calculate into more manageable chunks.
9952         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9953         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9954         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9955         (smie-indent-exps): Extract from smie-indent-calculate.
9956         (smie-indent-functions): New var.
9957         (smie-indent-functions): Use them.
9959 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9961         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9962         (smie-indent-calculate): Simplify and cleanup.
9964 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
9966         * net/tramp-gvfs.el (top): Require url-util.
9967         (tramp-gvfs-mount-point): Remove.
9968         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9969         New defuns.
9970         (with-tramp-dbus-call-method): Format trace message.
9971         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9972         Implement backup call, when operation on local files fails.
9973         Use progress reporter.  Flush properties of changed files.
9974         (tramp-gvfs-handle-make-directory): Make more traces.
9975         (tramp-gvfs-url-file-name): Hexify file name in url.
9976         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9977         into account for the resulting file name.
9978         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9979         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
9980         (tramp-gvfs-handler-mounted-unmounted)
9981         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9982         attribute "default_location".  Set "prefix" property.
9983         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9984         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9985         exists.  Raise an error, if not (due to a corresponding answer
9986         "no" in interactive questions, for example).
9988 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
9990         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9992 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
9994         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9995         right-*.  (Bug#6265)
9997 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
9999         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10000         * vc-git.el (vc-git-compute-remote): New function.
10001         (vc-git-log-outgoing): Use it instead of hard coding a value.
10002         (vc-git-log-incoming): New function.
10004         Improve state updating for VC tag commands.
10005         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10006         to update the state of all buffers in the directory.
10008         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10010 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10012         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10013         `file-directory-p' to the filename part rather than to the whole text.
10015 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10017         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10019 2010-05-31  Drew Adams  <drew.adams@oracle.com>
10021         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10023 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
10025         * subr.el (momentary-string-display): Just use read-event to read
10026         the exit event (Bug#6238).
10028 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
10030         * international/mule.el (define-coding-system): Doc fix (bug#6313).
10032 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10034         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10035         Suggested by Eli Zaretskii <eliz@gnu.org>.
10037 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10039         * minibuffer.el (completion-file-name-table): Don't return a boundary
10040         past the end of `string' (bug#6299).
10041         (completion--file-name-table): Delegate to completion-file-name-table
10042         for the `boundaries' case.
10044 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10046         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10047         movement commands.
10049         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10050         `path-separator', but maintain compatibility with Emacs 20.2.
10052 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10054         * server.el (server-process-filter): Receive parent-id argument
10055         from emacsclient.
10056         (server-create-window-system-frame): New arg.  Pass parent-id as
10057         frame parameter.
10059 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
10061         Bidi-sensitive word movement with arrow keys.
10062         * subr.el (right-arrow-command, left-arrow-command): Move to
10063         bindings.el.
10065         * bindings.el (right-char, left-char): Move from subr.el and
10066         rename from right-arrow-command and left-arrow-command.
10067         (right-word, left-word): New functions.
10068         (global-map) <right>: Bind to right-char.
10069         (global-map) <left>: Bind to left-char.
10070         (global-map) <C-right>: Bind to right-word.
10071         (global-map) <C-left>: Bind to left-word.
10073         * ls-lisp.el (ls-lisp-classify-file): New function.
10074         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10075         (ls-lisp-classify): Call ls-lisp-classify-file.
10076         (insert-directory): Remove blanks from switches.
10078 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10080         * ansi-color.el: Delete unused escape sequences (Bug#6085).
10081         (ansi-color-drop-regexp): New constant.
10082         (ansi-color-apply, ansi-color-filter-region)
10083         (ansi-color-apply-on-region): Delete unrecognized control sequences.
10084         (ansi-color-apply): Build string list before calling concat.
10086 2010-05-28  Juri Linkov  <juri@jurta.org>
10088         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10089         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10090         (Bug#5270)
10092 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10094         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10095         to ignored backtrace functions.
10096         (with-progress-reporter): Expand docstring.
10097         (tramp-handle-delete-file): Implement TRASH argument.
10098         (tramp-get-remote-trash): New defun.
10100 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10102         * net/tramp-compat.el (tramp-compat-delete-file):
10103         Use `symbol-value' for backward compatibility.
10105         * net/tramp.el (tramp-handle-make-symbolic-link)
10106         (tramp-handle-load)
10107         (tramp-do-copy-or-rename-file-via-buffer)
10108         (tramp-do-copy-or-rename-file-directly)
10109         (tramp-do-copy-or-rename-file-out-of-band)
10110         (tramp-handle-process-file, tramp-handle-call-process-region)
10111         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10112         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10113         (tramp-delete-temp-file-function): Use `delete-file' instead
10114         of `tramp-compat-delete-file'.
10116         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10117         (tramp-fish-handle-make-symbolic-link)
10118         (tramp-fish-handle-process-file): Use `delete-file' instead
10119         of `tramp-compat-delete-file'.
10121         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10122         Use `delete-file' instead of `tramp-compat-delete-file'.
10124         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
10125         Use `delete-file' instead of `tramp-compat-delete-file'.
10127         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10128         Use `delete-file' instead of `tramp-compat-delete-file'.
10130         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10131         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10132         (tramp-smb-handle-write-region): Use `delete-file' instead of
10133         `tramp-compat-delete-file'.
10134         (tramp-smb-handle-delete-directory): Use 'trash as arg.
10136 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10138         * dired.el (dired-delete-file): New arg TRASH.
10139         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
10140         (dired-do-flagged-delete, dired-do-delete): Use trash.
10142         * speedbar.el (speedbar-item-delete): Allow trashing.
10144         * files.el (delete-directory): New arg TRASH.
10146         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10147         (ange-ftp-rename-remote-to-remote)
10148         (ange-ftp-rename-local-to-remote)
10149         (ange-ftp-rename-remote-to-local, ange-ftp-load)
10150         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10151         `delete-file'.
10152         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10153         allow trashing.
10155         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10156         handle new TRASH arg of `delete-file'.
10158         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10159         (tramp-handle-make-symbolic-link, tramp-handle-load)
10160         (tramp-do-copy-or-rename-file-via-buffer)
10161         (tramp-do-copy-or-rename-file-directly)
10162         (tramp-do-copy-or-rename-file-out-of-band)
10163         (tramp-handle-process-file, tramp-handle-call-process-region)
10164         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10165         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10166         (tramp-delete-temp-file-function): Use null TRASH arg in
10167         tramp-compat-delete-file call.
10169         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10170         (tramp-fish-handle-delete-file)
10171         (tramp-fish-handle-make-symbolic-link)
10172         (tramp-fish-handle-process-file): Use null TRASH arg in
10173         `tramp-compat-delete-file' call.
10175         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10176         arg in `tramp-compat-delete-file' call.
10178         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10179         (tramp-gvfs-handle-write-region): Use null TRASH arg in
10180         `tramp-compat-delete-file' call.
10182         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10183         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10184         `tramp-compat-delete-file' call.
10186         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10187         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10188         (tramp-smb-handle-write-region): Use null TRASH arg in
10189         tramp-compat-delete-file call.
10190         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10191         (tramp-smb-handle-delete-file): Rename arg.
10193         * diff.el (diff-sentinel):
10194         * epg.el (epg--make-temp-file, epg-decrypt-string)
10195         (epg-verify-string, epg-sign-string, epg-encrypt-string):
10196         * jka-compr.el (jka-compr-partial-uncompress)
10197         (jka-compr-call-process, jka-compr-write-region):
10198         * server.el (server-sentinel): Remove optional arg from
10199         delete-file, reverting 2010-05-03 change.
10201 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10203         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10204         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10206 2010-05-27  Kenichi Handa  <handa@m17n.org>
10208         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10209         element of GSTRING is nil.
10211 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10213         * emacs-lisp/smie.el (smie-forward-token-function)
10214         (smie-backward-token-function): New vars.
10215         (smie-backward-sexp, smie-forward-sexp)
10216         (smie-indent-hanging-p, smie-indent-calculate): Use them.
10217         (smie-default-backward-token): Rename from smie-backward-token and
10218         skip comments.
10219         (smie-default-forward-token): Rename from smie-forward-token and
10220         skip comments.
10221         (smie-next-sexp): Handle nil results from next-token.
10222         (smie-indent-calculate): Add a new case for special `fixindent' comments.
10224 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10226         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10227         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10229 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
10231         * htmlfontify.el (hfy-face-resolve-face): New function.
10232         (hfy-face-to-style): Use it (Bug#6279).
10234 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10236         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10237         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10239 2010-05-26  Glenn Morris  <rgm@gnu.org>
10241         * emulation/edt.el (edt-load-keys): Use locate-library.
10243 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
10245         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10246         (log-edit-changelog-entries): Doc fix.
10247         (log-edit-changelog-insert-entries): Args changed.
10248         Rename relative filenames in ChangeLog entries.  Delete tabs.
10249         (log-edit-insert-changelog-entries): Reorganize return value of
10250         `log-edit-changelog-entries' to pass filenames to
10251         log-edit-changelog-insert-entries.
10253 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10255         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10256         `image-dired-dired-insert-marked-thumbs' to
10257         `image-dired-dired-toggle-marked-thumbs'.
10259         * image-dired.el: Require cl when compiling.
10260         (image-dired-dired-toggle-marked-thumbs): Rename from
10261         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
10262         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
10263         to 'no-dir.  Skip files whose names don't match
10264         `image-file-name-regexp'.  When file has a thumbnail overlay,
10265         delete it.  (Bug#5270)
10267 2010-05-25  Juri Linkov  <juri@jurta.org>
10269         * image-mode.el (image-mode): Add image-after-revert-hook to
10270         after-revert-hook.
10271         (image-after-revert-hook): New function.  (Bug#5669)
10273 2010-05-25  Juri Linkov  <juri@jurta.org>
10275         * image.el (image-animated-p): When delay between animated images
10276         is 0, set it to 10 (0.1 sec).  (Bug#6258)
10278 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
10280         * net/tramp.el (tramp-handle-insert-directory): Don't use
10281         `forward-word', its default syntax could be changed.
10283 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
10285         * net/tramp.el (tramp-progress-reporter-update): New defun.
10286         (with-progress-reporter): Use it.
10287         (tramp-process-actions):
10288         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10289         Preserve current message, in order to let progress reporter continue
10290         afterwards.  (Bug#6257)
10292 2010-05-25  Glenn Morris  <rgm@gnu.org>
10294         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10295         Add :version.
10297 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10299         * net/rcirc.el (rcirc-default-user-name): Change to "user".
10300         (rcirc-default-full-name): Change to "unknown".
10301         (rcirc-user-name-history): Add variable.
10303 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10304             Jonathan Rockway  <jon@jrock.us>
10306         * net/rcirc.el (rcirc-server-alist): Add :pass.
10307         (rcirc): When prompting for connection parameters, also prompt for
10308         username and password.
10309         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
10310         value to server when connecting.
10312 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10314         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10315         (smie-merge-prec2s): Pass the tables as separate args.
10316         (smie-bnf-precedence-table): Adjust call accordingly.
10317         (smie-prec2-levels): Set levels at the end.
10319         Replace Lisp calls to delete-backward-char by delete-char.
10320         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10321         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10322         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10323         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10324         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10325         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10326         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10327         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10328         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10329         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10330         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10331         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10332         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10333         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10334         delete-backward-char by calls to delete-char.
10336 2010-05-25  Kenichi Handa  <handa@m17n.org>
10338         * language/hebrew.el (hebrew-shape-gstring): New function.
10339         Register it in composition-function-table for all Hebrew combining
10340         characters.
10342 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10344         * epa.el (epa--select-keys): Don't explicitly delete the window since
10345         that can fail (e.g. sole window in frame).  Use dedication instead.
10347 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10349         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10351 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
10353         * image.el (image-refresh): Define as an alias for image-flush.
10355         * image-mode.el (image-toggle-display-image): Caller changed.
10357 2010-05-21  Juri Linkov  <juri@jurta.org>
10359         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10360         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
10361         whitespace, call wildcard-to-regexp on substrings and concat them
10362         with "\\|".  (Bug#6114)
10364 2010-05-21  Alan Mackenzie  <acm@muc.de>
10366         * progmodes/cc-engine.el (c-parse-state-get-strategy):
10367         Replace parameter `here' with `here-' and `here-plus', which sandwich
10368         any pertinent CPP construct.
10369         (c-remove-stale-state-cache-backwards): Fix a bug which happens
10370         when doing (c-parse-state) in a CPP construct: Exclude any "new"
10371         CPP construct from taking part in the scanning.
10373 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
10375         * net/tramp.el (tramp-do-copy-or-rename-file)
10376         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10377         Tune `with-progress-reporter' messages.
10378         (tramp-handle-vc-registered):
10379         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10380         (tramp-fish-handle-insert-file-contents)
10381         (tramp-fish-maybe-open-connection):
10382         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10383         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10384         (tramp-imap-handle-insert-file-contents)
10385         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10387 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
10389         * add-log.el (change-log-font-lock-keywords):
10390         Highlight all authors in multi-author entries.
10392         * smerge-mode.el (smerge-refine-ignore-whitespace)
10393         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10394         Fix typos in docstrings.
10395         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10397 2010-05-21  Glenn Morris  <rgm@gnu.org>
10399         * progmodes/fortran.el (fortran-mode):
10400         * progmodes/f90.el (f90-mode): Derive from prog-mode.
10402         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10403         having a relative path in src/Makefile.in.
10405 2010-05-20  Kevin Ryde  <user42@zip.com.au>
10407         * help-mode.el (help-make-xrefs): For Info node links turn
10408         newlines into spaces.  Link node names with newlines are matched
10409         by help-xref-info-regexp and buttonized, this change ensures they
10410         can be followed successfully with RET.  (Bug#6206)
10412 2010-05-20  Juri Linkov  <juri@jurta.org>
10414         * locate.el (locate): Use pop-to-buffer instead of
10415         switch-to-buffer-other-window.  (Bug#6204)
10417 2010-05-20  Juri Linkov  <juri@jurta.org>
10419         * replace.el (replace-highlight): Fix lazy-highlighting
10420         for `M-s w str M-% str RET'.
10422 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
10424         * isearch.el (isearch-yank-word-or-char): Pull next subword
10425         when `subword-mode' is activated.  (Bug#6220)
10427 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
10429         * isearch.el (isearch-update-post-hook): New hook.
10430         (isearch-update): Use the new hook.  (Bug#6225)
10432 2010-05-20  Juri Linkov  <juri@jurta.org>
10434         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10435         [f1], [help], and (char-to-string help-char) instead of "\C-h".
10436         (Bug#6222)
10438 2010-05-20  Juri Linkov  <juri@jurta.org>
10440         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10441         (Bug#6223)
10443 2010-05-20  Juri Linkov  <juri@jurta.org>
10445         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10446         FILE-NAME to read from the minibuffer when called interactively
10447         with prefix argument instead of using buffer-file-name.
10448         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10450         * dired.el: Update autoloads.
10452 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
10454         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10455         nxml-finish-element, for consistency with SGML mode.
10457         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10458         octave-close-block.
10460 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
10462         * composite.el: Require cl when compiling.
10463         (reference-point-alist, compose-gstring-for-graphic)
10464         (compose-gstring-for-terminal): Fix typos in docstrings.
10466 2010-05-19  Juri Linkov  <juri@jurta.org>
10468         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10469         set-window-parameter.
10471 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10473         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10474         where appropriate.
10475         (tramp-maybe-open-connection): Use it.
10477 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
10479         * simple.el (move-end-of-line): Make sure we are at line beginning
10480         before backing up to end of previous line.
10482 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10484         * password-cache.el (password-cache-remove): Fix docstring.
10486         * net/secrets.el: Autoload the widget functions.
10487         (secrets-search-items, secrets-create-item)
10488         (secrets-get-attributes, secrets-expand-item): Attributes will be
10489         stored on the password database without leading ":", as all other
10490         clients do as well.
10491         (secrets-mode): Fix docstring.
10492         (secrets-show-secrets): Provide it as autoloaded command only when
10493         D-Bus support is available.  Check existence of Secret Service API.
10495 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10497         * indent.el (indent-region): Deactivate region (bug#6200).
10499 2010-05-19  Glenn Morris  <rgm@gnu.org>
10501         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
10503 2010-05-19  Kenichi Handa  <handa@m17n.org>
10505         * composite.el: Register compose-gstring-for-graphic in
10506         composition-function-table only for combining characters (Mn, Mc, Me).
10508 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
10510         * calc/calc-trail.el (calc-trail-isearch-forward)
10511         (calc-trail-isearch-backward): Ensure that the new window
10512         point is set correctly.
10514 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10516         * subr.el (read-quoted-char): Resolve modifiers after key
10517         remapping (bug#6212).
10519 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
10521         Add visualization code for secrets.
10522         * net/secrets.el (secrets-mode): New major mode.
10523         (secrets-show-secrets, secrets-show-collections)
10524         (secrets-expand-collection, secrets-expand-item)
10525         (secrets-tree-widget-after-toggle-function)
10526         (secrets-tree-widget-show-password): New defuns.
10528 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10530         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10531         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10532         handled in smie-next-sexp.
10533         (smie-indent-calculate): Provide a starting indentation (so the
10534         recursion is well-founded ;-).
10536         Fix handling of non-associative equal levels.
10537         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10538         when it's not needed.
10539         (smie-op-left, smie-op-right): New functions.
10540         (smie-next-sexp): New function, extracted from smie-backward-sexp.
10541         Better handle equal levels to distinguish the associative case from
10542         the "multi-keyword construct" case.
10543         (smie-backward-sexp, smie-forward-sexp): Use it.
10545 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
10547         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10549         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10550         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10552 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10554         Provide a simple generic indentation engine and use it for Prolog.
10555         * emacs-lisp/smie.el: New file.
10556         * progmodes/prolog.el (prolog-smie-op-levels)
10557         (prolog-smie-indent-rules): New var.
10558         (prolog-mode-variables): Use them to configure SMIE.
10559         (prolog-indent-line, prolog-indent-level): Remove.
10561 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10563         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10564         order before computing the averages.
10566 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
10568         * calc/calc-vec.el (calc-histogram):
10569         (calcFunc-histogram): Allow vectors as inputs.
10570         (math-vector-avg): New function.
10572         * calc/calc-ext.el (math-group-float): Have the number of digits
10573         being grouped depend on the radix (Bug#6189).
10575 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
10577         * version.el (emacs-copyright, emacs-version): Don't define here,
10578         now that emacs.c defines it.
10580 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
10582         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10583         "Describe Language Environment" menu item.
10585         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10587         Bidi-sensitive movement with arrow keys.
10588         * subr.el (right-arrow-command, left-arrow-command): New functions.
10590         * bindings.el (global-map): Bind them to right and left arrow keys.
10592         Don't override standard definition of convert-standard-filename.
10593         * files.el (convert-standard-filename):
10594         Call w32-convert-standard-filename and dos-convert-standard-filename on
10595         the corresponding systems.
10597         * w32-fns.el (w32-convert-standard-filename): Rename from
10598         convert-standard-filename.  Doc fix.
10600         * dos-fns.el (dos-convert-standard-filename): Doc fix.
10601         (convert-standard-filename): Don't defalias.
10602         (register-name-alist, make-register, register-value)
10603         (set-register-value, intdos): Obsolete aliases for the
10604         corresponding dos-* functions and variables.
10605         (dos-intdos): Add a doc string.
10607 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
10609         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10610         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10611         (math-compose-tex-func):
10612         * calc/calccomp.el (math-compose-expr):
10613         * calc/calc-ext.el (math-format-flat-expr-fancy):
10614         * calc/calc-store.el (calc-read-var-name):
10615         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10617         * calc/calc.el (var-π, var-φ, var-γ): New variables.
10618         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10619         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10620         (math-standard-units): Add units.
10622 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10624         * progmodes/asm-mode.el (asm-mode):
10625         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10627         * pcomplete.el (pcomplete-completions-at-point): New function,
10628         extracted from pcomplete-std-complete.
10629         (pcomplete-std-complete): Use it.
10631 2010-05-15  Glenn Morris  <rgm@gnu.org>
10633         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10634         Remove references to CVS, RCS and Old directories.
10636 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
10638         * calc/calc-bin.el (math-format-twos-complement): Group digits when
10639         appropriate.
10641 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10643         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10644         (sh-mode-syntax-table): Give it a default value instead.
10645         (sh-header-marker): Make buffer-local.
10646         (sh-mode): Move make-local-variable to the corresponding setq.
10647         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10648         Use complete-with-action.
10650         * simple.el (prog-mode): New (abstract) major mode.
10651         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10652         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10654 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
10656         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10657         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10658         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10659         (sql-make-alternate-buffer-name, sql-placeholders-filter)
10660         (sql-escape-newlines-filter, sql-input-sender)
10661         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10663 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
10665         Add TeX open-block and close-block keybindings to SGML, and vice versa.
10667         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10668         latex-open-block and C-c / to latex-close-block.
10670         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10671         and C-c C-e to sgml-close-tag.
10673 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
10675         * net/tramp.el (with-progress-reporter): Create reporter object
10676         only when the message would be displayed.  Handle nested calls.
10677         (tramp-handle-load, tramp-handle-file-local-copy)
10678         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10679         (tramp-maybe-send-script, tramp-find-shell):
10680         Use `with-progress-reporter'.
10681         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10682         Fix message text.
10684         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10685         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10686         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10687         Use `with-progress-reporter'.
10689 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
10691         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10692         process everytime when spellchecking from the minibuffer (bug#6143).
10694 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10696         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10698         * dos-fns.el: Add "dos-" prefix for namespace control.
10699         (convert-standard-filename): Define as alias for
10700         dos-convert-standard-filename but only if applicable.
10702 2010-05-12  Alan Mackenzie  <acm@muc.de>
10704         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10705         Push the mark at the start of these functions when appropriate.
10707 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10709         * minibuffer.el (completion-cycle-threshold): New custom var.
10710         (completion--do-completion): Use it.
10711         (minibuffer-complete): Use cycling if appropriate.
10713 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
10715         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10716         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10718 2010-05-11  Juri Linkov  <juri@jurta.org>
10720         * scroll-all.el (scroll-all-check-to-scroll):
10721         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10723 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10725         * iimage.el (iimage-mode-map): Move initialization into declaration.
10726         (iimage-mode-buffer): Use with-silent-modifications.
10727         Simplify calling convention.  Adjust callers.
10728         (iimage-mode): Don't run hook redundantly.
10730         * minibuffer.el (completion-pcm--pattern->regex):
10731         Fix last change (bug#6160).
10733 2010-05-10  Juri Linkov  <juri@jurta.org>
10735         Remove nodes visited during Isearch from the Info history.
10736         * info.el (Info-isearch-initial-history)
10737         (Info-isearch-initial-history-list): New variables.
10738         (Info-isearch-start): Record initial values of
10739         Info-isearch-initial-history and Info-isearch-initial-history-list.
10740         Add Info-isearch-end to isearch-mode-end-hook.
10741         (Info-isearch-end): New function.
10743 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
10745         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10746         format string, in order to work around a bug in pdksh.
10747         Reported by Gilles Pion <gpion@lfdj.com>.
10748         (tramp-handle-verify-visited-file-modtime): Do not send a command
10749         when the connection is not established.
10750         (tramp-handle-set-file-times): Simplify the check for utc.
10752 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
10754         Fix use of `filter-buffer-substring' (rework previous change).
10755         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10756         (cua-repeat-replace-region):
10757         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10758         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10759         (cua-cut-region-to-global-mark): Use it.
10761 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
10763         * progmodes/sql.el: Version 2.1.
10764         (sql-product-alist): Redesign structure of product info.
10765         (sql-product, sql-user, sql-server, sql-database): Safe variables.
10766         (sql-port, sql-port-history): New variables.
10767         (sql-interactive-product): New variable.
10768         (sql-send-terminator): New variable.
10769         (sql-imenu-generic-expression): Add "Types" imenu entry.
10770         (sql-oracle-login-params, sql-sqlite-login-params)
10771         (sql-mysql-login-params, sql-solid-login-params)
10772         (sql-sybase-login-params, sql-informix-login-params)
10773         (sql-ingres-login-params, sql-ms-login-params)
10774         (sql-postgres-login-params, sql-interbase-login-params)
10775         (sql-db2-login-params, sql-linter-login-params)
10776         (sql-oracle-scan-on): New variables.
10777         (sql-mode-map): Add C-c C-i to start interactive mode.
10778         (sql-mode-menu): Update existing menu entries.
10779         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10780         (sql-mode-oracle-font-lock-keywords)
10781         (sql-mode-postgres-font-lock-keywords)
10782         (sql-mode-ms-font-lock-keywords)
10783         (sql-mode-sybase-font-lock-keywords)
10784         (sql-mode-informix-font-lock-keywords)
10785         (sql-mode-interbase-font-lock-keywords)
10786         (sql-mode-ingres-font-lock-keywords)
10787         (sql-mode-solid-font-lock-keywords)
10788         (sql-mode-mysql-font-lock-keywords)
10789         (sql-mode-sqlite-font-lock-keywords)
10790         (sql-mode-db2-font-lock-keywords)
10791         (sql-mode-linter-font-lock-keywords): Update initialization to
10792         reduce run-time complexity.
10793         (sql-add-product, sql-del-product): New functions.
10794         (sql-set-product-feature, sql-get-product-feature): New functions.
10795         (sql-product-font-lock): Update product API.
10796         (sql-add-product-keywords): New function.
10797         (sql-highlight-product): Update product API.
10798         (sql-help-list-products): New function.
10799         (sql-help): Dynamically lists free and non-free products.
10800         (sql-get-login): Correct bug in handling history and added
10801         prompt for port.
10802         (sql-copy-column): Copy without properties.
10803         (sqli-input-sender): Apply filters to SQLi input.
10804         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10805         Implement as a filter.
10806         (sql-escape-newlines-filter): Implement as a filter.
10807         (sql-remove-tabs-filter): New function.
10808         (sql-send-magic-terminator): New function.
10809         (sql-send-string): Implement magic terminator.
10810         (sql-send-region): Use `sql-send-string'.
10811         (sql-interactive-mode): Use product API.
10812         (sql-product-interactive): Use product API.
10813         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10814         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10815         (sql-db2, sql-linter): Use `sql-product-interactive'.
10816         (sql-connect): New function.
10817         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10818         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10819         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10820         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10821         Use `sql-connect'.
10823 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10825         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10826         New custom variable.
10827         (completion-pcm--string->pattern): Use it.
10828         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10829         Make it handle any symbol as `any'.
10830         (completion-pcm--merge-completions): Extract common suffix for the new
10831         `prefix' symbol as well.
10832         (completion-substring--all-completions): Use the new `prefix' symbol.
10834 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
10836         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10837         not bound.
10838         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10839         (tramp-compat-funcall): New defmacro.
10840         (tramp-compat-line-beginning-position)
10841         (tramp-compat-line-end-position)
10842         (tramp-compat-temporary-file-directory)
10843         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10844         (tramp-compat-copy-file, tramp-compat-copy-directory)
10845         (tramp-compat-delete-file, tramp-compat-delete-directory)
10846         (tramp-compat-number-sequence, tramp-compat-process-running-p)
10847         * net/tramp.el (top, with-progress-reporter)
10848         (tramp-rfn-eshadow-setup-minibuffer)
10849         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10850         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10851         (tramp-completion-mode-p, tramp-check-for-regexp)
10852         (tramp-open-connection-setup-interactive-shell)
10853         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10854         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10855         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10856         * net/tramp-cmds.el (tramp-cleanup-all-connections)
10857         (tramp-reporter-dump-variable, tramp-load-report-modules)
10858         (tramp-append-tramp-buffers)
10859         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10861         * net/tramp-imap.el (top): Autoload `epg-make-context'.
10863 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10865         * progmodes/compile.el (compilation-buffer-modtime): Rename from
10866         buffer-modtime.  Adjust users.
10868 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10870         * international/mule.el (auto-coding-alist): Only purecopy
10871         car of each item, not the whole list (Bug#6083).
10873 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10875         * progmodes/js.el (js-mode): Make paragraph variables local before
10876         calling c-setup-paragraph-variables (Bug#6071).
10878 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
10880         * composite.el (compose-region, reference-point-alist): Fix typos
10881         in the doc strings.
10883 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
10885         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10886         gnuplot's "set" command.
10888 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10890         * abbrev.el (last-abbrev-text): Doc fix.
10891         (abbrev-prefix-mark): Don't escape parenthesis.
10893 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
10895         * composite.el (find-composition): Doc fix.
10897 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10899         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10900         (sql-oracle-program, sql-sqlite-options)
10901         (sql-query-placeholders-and-send): Doc fixes.
10902         (sql-set-product, sql-interactive-mode): Reflow docstrings.
10903         (sql-imenu-generic-expression, sql-buffer)
10904         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10905         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10906         (sql-mode-sybase-font-lock-keywords)
10907         (sql-mode-informix-font-lock-keywords)
10908         (sql-mode-interbase-font-lock-keywords)
10909         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10910         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10911         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10912         (sql-product-feature, sql-highlight-product)
10913         (comint-line-beginning-position, sql-rename-buffer)
10914         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10915         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10916         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10917         Fix typos in docstrings.
10919 2010-05-08  Juri Linkov  <juri@jurta.org>
10921         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10922         property instead of `invisible' and `after-string' (bug#5998).
10924 2010-05-08  Juri Linkov  <juri@jurta.org>
10926         * image-mode.el (image-mode-as-text): Fix typo in docstring.
10928 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10930         * filecache.el (file-cache-add-directory-list)
10931         (file-cache-add-directory-recursively): Fix typos in docstrings.
10933 2010-05-08  Kenichi Handa  <handa@m17n.org>
10935         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10936         (gujarati-composable-pattern): Fix typo.
10938 2010-05-08  Kenichi Handa  <handa@m17n.org>
10940         * language/indian.el (oriya-composable-pattern)
10941         (tamil-composable-pattern, malayalam-composable-pattern):
10942         Add two-part vowels to "v" (vowel sign).
10944 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10946         * files.el (copy-directory): Handle symlinks (Bug#5982).
10948 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
10950         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10951         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
10952         (Bug#5846).
10954 2010-05-08  Glenn Morris  <rgm@gnu.org>
10956         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10958         * minibuffer.el (completion-at-point): Doc fix.
10960 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10962         * electric.el (Electric-command-loop): Minor tweak.
10964         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10965         better with dedicated windows.
10967 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
10969         * Version 23.2 released.
10971 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
10972             Stefan Monnier  <monnier@iro.umontreal.ca>
10974         Highlight vendor specific properties.
10975         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10976         (css-proprietary-property): New face.
10977         (css-font-lock-keywords): Use them.
10979 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
10981         * cus-start.el (all): Add native condition for tool-bar-* symbols.
10983 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10985         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10986         * files.el (auto-mode-alist): Remove redundant entries.
10988         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10989         * simple.el (auto-save-mode): Move from files.el.
10990         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10992 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
10994         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10996 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
10998         * mail/binhex.el (binhex-decode-region-internal)
10999         * mail/uudecode.el (uudecode-decode-region-internal)
11000         * net/dns.el (dns-read-string-name, dns-write, dns-read)
11001         (dns-read-type, dns-query)
11002         * pgg-parse.el (pgg-parse-armor)
11003         * pgg.el (pgg-verify-region)
11004         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11005         XEmacs.
11007         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11009 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
11011         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11013         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11014         * emulation/cua-base.el (cua-repeat-replace-region):
11015         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11016         (cua-cut-region-to-global-mark):
11017         Remove text properties with `set-text-properties'.
11019 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
11021         * net/tramp.el (top, with-progress-reporter):
11022         Use `symbol-function' inside `funcall'.
11024         * net/tramp-compat.el (tramp-compat-file-attributes)
11025         (tramp-compat-delete-file, tramp-compat-delete-directory):
11026         Handle only `wrong-number-of-arguments' error.
11028         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11029         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11030         inside `funcall'.
11032 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11034         * minibuffer.el (completion--sreverse, completion--common-suffix):
11035         New functions.
11036         (completion-pcm--merge-completions): Extract common suffix when safe.
11038         * emacs-lisp/easy-mmode.el (define-minor-mode):
11039         Make :variable more flexible.
11040         * files.el (auto-save-mode): Use it to define using define-minor-mode.
11042 2010-05-05  Juri Linkov  <juri@jurta.org>
11044         Add `slow' and `history' tags to the desktop data.
11046         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11047         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11048         (Info-finder-find-node): Require `finder.el' to be able
11049         to restore node from the desktop.
11050         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
11051         data `Info-history' and `slow' tag in the assoc list.
11052         (Info-restore-desktop-buffer): Don't restore nodes with the
11053         `slow' tag.  Restore `Info-history'.
11055 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
11057         Add FORCE argument to `delete-file'.
11059         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11060         forcing to delete the temporary file.
11061         (ange-ftp-delete-file): Add FORCE arg.
11062         (ange-ftp-rename-remote-to-remote)
11063         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11064         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11065         Force file deletion.
11067         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11069         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11070         (tramp-handle-make-symbolic-link, tramp-handle-load)
11071         (tramp-do-copy-or-rename-file-via-buffer)
11072         (tramp-do-copy-or-rename-file-directly)
11073         (tramp-do-copy-or-rename-file-out-of-band)
11074         (tramp-handle-process-file, tramp-handle-call-process-region)
11075         (tramp-handle-shell-command, tramp-handle-file-local-copy)
11076         (tramp-handle-insert-file-contents, tramp-handle-write-region)
11077         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11079         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11080         (tramp-fish-handle-make-symbolic-link)
11081         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11083         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11084         Use `tramp-compat-delete-file'.
11086         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11087         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11089         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11090         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11092         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11093         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11094         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11095         Use `tramp-compat-delete-file'.
11097 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11099         Minor cleanups.
11100         * subr.el (add-minor-mode): Use push.
11101         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11102         * emulation/edt.el (edt-select-mode): Simplify.
11104         Use define-minor-mode in more cases.
11105         * term/tvi970.el (tvi970-set-keypad-mode):
11106         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11107         (normal-erase-is-backspace-mode):
11108         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11109         (set-scroll-bar-mode-1): (Re)move to its sole caller.
11110         (get-scroll-bar-mode): New function.
11111         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11113         Use define-minor-mode for less obvious cases.
11114         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11115         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11116         * international/iso-ascii.el (iso-ascii-mode):
11117         * frame.el (auto-raise-mode, auto-lower-mode):
11118         * composite.el (global-auto-composition-mode): Use define-minor-mode.
11120 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
11122         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11123         in order to see error messages for failed logins.
11125 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
11127         * diff.el (diff-sentinel):
11129         * epg.el (epg--make-temp-file, epg-decrypt-string)
11130         (epg-verify-string, epg-sign-string, epg-encrypt-string):
11132         * jka-compr.el (jka-compr-partial-uncompress)
11133         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11135         * server.el (server-sentinel): Use delete-file's new FORCE arg
11136         (Bug#6070).
11138 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11140         Use define-minor-mode where applicable.
11141         * view.el (view-mode):
11142         * type-break.el (type-break-query-mode)
11143         (type-break-mode-line-message-mode):
11144         * textmodes/reftex.el (reftex-mode):
11145         * term/vt100.el (vt100-wide-mode):
11146         * tar-mode.el (tar-subfile-mode):
11147         * savehist.el (savehist-mode):
11148         * ibuf-ext.el (ibuffer-auto-mode):
11149         * composite.el (auto-composition-mode):
11150         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11151         Use define-minor-mode.
11152         (vhdl-mode): Use static mode-line format.
11153         (vhdl-mode-line-update): Delete.
11154         (vhdl-create-mode-menu, vhdl-activate-customizations)
11155         (vhdl-hs-minor-mode): Don't bother calling it.
11157 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11159         * simple.el (with-wrapper-hook): Move.
11160         (buffer-substring-filters): Mark obsolete.
11161         (filter-buffer-substring-functions): New variable.
11162         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
11164 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
11165             Michael Albinus  <michael.albinus@gmx.de>
11167         Implement compression for inline methods.
11169         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11170         (tramp-copy-size-limit): Allow also nil.
11171         (tramp-inline-compress-commands): New defconst.
11172         (tramp-find-inline-compress, tramp-get-inline-compress)
11173         (tramp-get-inline-coding): New defuns.
11174         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11175         replaced by `tramp-get-inline-coding'.
11176         (tramp-handle-file-local-copy, tramp-handle-write-region)
11177         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11179 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11181         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11182         Remove unused functions.
11184         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11185         Set find-tag-default-function as a variable rather than a property.
11187         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11188         * progmodes/etags.el (tags-completion-at-point-function):
11189         Remove left over interactive spec.  Add autoloading stub.
11190         (complete-tag): Use tags-completion-at-point-function.
11192 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
11194         * minibuffer.el (tags-completion-at-point-function): Fix return value.
11196 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11198         * ido.el (ido-init-completion-maps): Remove C-v binding.
11199         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11201 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11203         * minibuffer.el (tags-completion-at-point-function): New function.
11204         (completion-at-point-functions): Use it.
11206         * progmodes/etags.el (complete-tag): Revert last change.
11208 2010-04-29  Alan Mackenzie  <acm@muc.de>
11210         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11211         off-by-one error (in end of macro position).
11213 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11215         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11216         firefox is absent.  Don't autoload.
11217         (browse-url-galeon-program): Don't autoload.
11219 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11221         * bindings.el (complete-symbol): Move into minibuffer.el.
11223         * minibuffer.el (complete-tag): Move from etags.el.  If tags
11224         completion cannot be performed, return nil instead of signaling
11225         an error.
11226         (completion-at-point): Make it an alias for complete-symbol.
11227         (complete-symbol): Move from bindings.el, and replace with the
11228         body of completion-at-point.
11230         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11232 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
11234         * net/tramp.el (tramp-remote-selinux-p): New defun.
11235         (tramp-handle-file-selinux-context)
11236         (tramp-handle-set-file-selinux-context): Use it.
11238 2010-04-28  Sam Steingold  <sds@gnu.org>
11240         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11241         `safe-local-variable' if the value is a string or a symbol with
11242         the property `bug-reference-url-format'.
11244 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11246         * progmodes/bug-reference.el (bug-reference-url-format):
11247         Revert 2010-04-27 change due to security risk.
11249 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11251         Make it possible to locally disable a globally enabled mode.
11252         * simple.el (fundamental-mode): Run fundamental-mode-hook.
11253         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11254         rather than kill-all-local-variables so it runs fundamental-mode-hook.
11255         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11256         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11257         that subsequent hooks get a chance to disable it.
11259 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11261         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11262         Avoid re-enabling a minor mode after the user turned the minor mode
11263         off if MODE-enable-in-buffers is run twice (typically once from
11264         fundamental-mode's after-change-major-mode-hook and a second time from
11265         run-mode-hook's own after-change-major-mode-hook).
11267         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11269 2010-04-27  Sam Steingold  <sds@gnu.org>
11271         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11272         `safe-local-variable' if the value is a string or a function, as
11273         documented and implemented on 2010-04-02.
11275 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
11277         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11278         when method is 'kill.
11280 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
11282         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11283         condition in default directory check.
11284         (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11285         Kill ispell process when killing its associated buffer.
11287 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
11289         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11290         but we aren't using it.
11292 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
11294         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11295         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11297 2010-04-24  Glenn Morris  <rgm@gnu.org>
11299         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11300         Ignore VCS-ignore files, and deleted nextstep preferences files.
11301         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11302         (authors-ambiguous-files): New list.
11303         (authors-valid-file-names): Add some deleted files.
11304         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11305         (authors-disambiguate-file-name): New function.  (Bug#5501)
11306         (authors-canonical-file-name): Doc fix.
11307         Don't warn about obsolete files.
11308         (authors-canonical-file-name, authors-scan-el):
11309         Use authors-disambiguate-file-name.
11311         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11312         Add autoload cookies.
11313         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11314         (generated-autoload-file): Set file-local value to "htmlfontify.el".
11315         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11316         They have definitions / compiler macros in cl.el.
11317         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11318         Replace manual autoloads with generated ones.
11319         (htmlfontify-unload-rgb-file): Remove autoload.
11320         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11322 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11324         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11325         (byte-compile-setq-default): Optimize for the
11326         single-var case and don't call byte-compile-form in this case to avoid
11327         inf-loop with byte-compile-set-default.
11329         * progmodes/compile.el (compilation-start): Abbreviate default directory.
11331 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
11333         Implement SELINUX backends.
11335         * net/tramp.el (tramp-file-name-handler-alist):
11336         Add `file-selinux-context' and `set-file-selinux-context'.
11337         (tramp-handle-file-selinux-context)
11338         (tramp-handle-set-file-selinux-context): New defuns.
11339         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11340         Handle PRESERVE-SELINUX-CONTEXT.
11342         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11343         Add `file-selinux-context' and `set-file-selinux-context'.
11344         (tramp-gvfs-handle-file-selinux-context)
11345         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11346         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11348         * net/ange-ftp.el (ange-ftp-copy-file):
11349         * net/tramp-fish.el (tramp-fish-handle-copy-file):
11350         * net/tramp-imap.el (tramp-imap-handle-copy-file):
11351         * net/tramp-smb.el (tramp-smb-handle-copy-file):
11352         Add PRESERVE-SELINUX-CONTEXT.
11354 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11356         Synchronize with Tramp repository.
11358         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11359         (tramp-action-process-alive, tramp-action-out-of-band)
11360         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11361         (tramp-exists-file-name-handler): Fix docstring.
11362         (with-progress-reporter): New defmacro.
11363         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11364         (tramp-maybe-open-connection): Use it.
11366 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
11368         Detect ssh 'ControlMaster' argument automatically in some cases.
11370         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11371         (tramp-default-method): Use it.
11373 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11375         * net/tramp.el (tramp-handle-copy-file): Add new optional
11376         parameter `preserve-selinux-context'.
11377         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11379 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11381         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11382         Ensure, that non remote files are still checked.  Oops.
11384 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
11386         Fix Bug#5840.
11388         * icomplete.el (icomplete-completions): Use `non-essential'.
11390         * net/tramp.el (tramp-connectable-p): New defun.
11391         (tramp-handle-expand-file-name)
11392         (tramp-completion-handle-file-name-all-completions)
11393         (tramp-completion-handle-file-name-completion): Use it.
11395 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11397         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11399 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
11401         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11403         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11405         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11406         is present.
11408         * info.el (info-tool-bar-map): Add labels.
11410         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11412         * cus-edit.el (custom-commands): Add labels for tool bar.
11413         (custom-buffer-create-internal, Custom-mode): Adjust for
11414         labels in custom-commands.
11416         * dynamic-setting.el: Renamed from font-setting.el.
11418 2010-04-21  John Wiegley  <jwiegley@gmail.com>
11420         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11421         toggles the use of virtual buffers.
11422         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11423         (ido-toggle-virtual-buffers): New function.
11425 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
11427         Use `define-derived-mode'; fix window selection; doc fixes.
11428         * play/tetris.el (tetris, tetris-update-speed-function)
11429         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11430         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11431         (tetris-rotate-next, tetris-end-game, tetris-start-game)
11432         (tetris-pause-game): Fix typos in docstrings.
11433         (tetris-mode-map, tetris-null-map):
11434         Move initialization into declaration.
11435         (tetris-mode): Define with `define-derived-mode';
11436         set show-trailing-whitespace to nil.
11437         (tetris): Prefer window already displaying the "*Tetris*" buffer.
11439 2010-04-21  Karel Klíč  <kklic@redhat.com>
11441         * files.el (backup-buffer): Handle SELinux context, and return it
11442         if a backup was made by renaming.
11443         (backup-buffer-copy): Set SELinux context to the target file.
11444         (basic-save-buffer): Set SELinux context of the newly written file.
11445         (basic-save-buffer-1): Now it also returns any SELinux context.
11446         (basic-save-buffer-2): Set SELinux context of the newly created file,
11447         and return it.
11448         * net/tramp.el (tramp-file-name-for-operation):
11449         Add file-selinux-context.
11451 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11453         Make the log-edit comments use RFC822 format throughout.
11455         * vc.el (vc-checkin, vc-modify-change-comment):
11456         Adjust to new vc-start/finish-logentry.
11457         (vc-find-conflicted-file): New command.
11458         (vc-transfer-file): Adjust to new vc-checkin.
11459         (vc-next-action): Improve scoping.
11461         * vc-hg.el (vc-hg-log-edit-mode): Remove.
11462         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
11464         * vc-git.el (vc-git-log-edit-mode): Remove.
11465         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
11466         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11468         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11469         (vc-start-logentry): Remove argument `extra'.
11470         (vc-finish-logentry): Remove extra args.
11472         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11473         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
11474         (vc-bzr-conflicted-files): New function.
11476         * log-edit.el (log-edit-extra-flags)
11477         (log-edit-before-checkin-process): Remove.
11478         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11479         (log-edit-headers-alist): New var.
11480         (log-edit-header-contents-regexp): New const.
11481         (log-edit-match-to-eoh): New function.
11482         (log-edit-font-lock-keywords): Use them.
11483         (log-edit): Insert a "Summary:" header as default.
11484         (log-edit-mode): Mark font-lock rules as case-insensitive.
11485         (log-edit-done): Cleanup headers.
11486         (log-view-process-buffer): Remove.
11487         (log-edit-extract-headers): New function to replace it.
11489 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
11491         * subr.el (default-direction-reversed): Remove obsolescence info.
11493 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11495         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11496         windows/frames.
11498         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11499         I.e. include text after point in the completion region.
11500         Also, return nil when we're not after/in a symbol.
11502         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11503         default enable-multibyte-characters.
11505 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11507         * international/mule.el: Help the user choose a valid coding-system.
11508         (read-buffer-file-coding-system): New function.
11509         (set-buffer-file-coding-system): Use it.  Prompt the user if the
11510         coding-system cannot encode all the chars.
11512         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11513         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11514         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11515         Don't use *vc-bzr-shelve*.
11517 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
11519         Fix the version number for added files.
11520         * vc-hg.el (vc-hg-working-revision): Check if the file is
11521         registered after hg parent fails (Bug#5961).
11523 2010-04-19  Glenn Morris  <rgm@gnu.org>
11525         * htmlfontify.el (htmlfontify-buffer)
11526         (htmlfontify-copy-and-link-dir): Autoload entry points.
11528 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
11530         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11531         name relative to the project root (Bug#5960).
11533 2010-04-19  Glenn Morris  <rgm@gnu.org>
11535         * vc-git.el (vc-git-print-log): Doc fix.
11537 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
11539         * ido.el (ido-file-internal): Fix 2009-12-02 change.
11541 2010-04-19  Christoph Scholtes  <cschol2112@googlemail.com>
11543         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11544         default settings (Bug#5928).
11546 2010-04-19  Glenn Morris  <rgm@gnu.org>
11548         * progmodes/fortran.el (fortran-match-and-skip-declaration):
11549         New function.
11550         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
11552 2010-04-19  Kenichi Handa  <handa@m17n.org>
11554         * language/indian.el (malayalam-composable-pattern): Fix previous
11555         change (add U+0D4D "SIGN VIRAMA").
11556         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11557         (tamil-composable-pattern): Fix typo in the regexp.
11558         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11559         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11560         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11562 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11564         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11565         paragraph-separate (Bug#5821).
11567 2010-04-19  Juri Linkov  <juri@jurta.org>
11569         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11571         * info.el (Info-find-node-2): Comment out code that skips
11572         breadcrumbs line.
11573         (Info-mouse-follow-link): New command.
11574         (Info-link-keymap): New keymap.
11575         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11576         Return a string with links instead of inserting breadcrumbs
11577         to the Info buffer.
11578         (Info-fontify-node): Comment out code that inserts breadcrumbs.
11579         Instead of putting the `invisible' text property over the Info
11580         header, make an overlay over the Info header with the `invisible'
11581         property and `after-string' set to the string returned by
11582         `Info-breadcrumbs'.
11584 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11586         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11587         Reported by monkey@sandpframing.com.
11589 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11591         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11592         (tmm-get-keymap): Add key-binding shortcuts now that they're not
11593         available in the "keyseq cache" any more.
11595         * custom.el (defcustom): Add edebug spec.
11597 2010-04-18  Juri Linkov  <juri@jurta.org>
11599         Test for special mode-class in view-buffer instead of view-file (bug#5513).
11601         * view.el (view-file, view-buffer): Move test for special mode-class
11602         from view-file to view-buffer.
11604         * tar-mode.el (tar-extract): Turn if's into one cond
11605         like in arc-mode.el.
11607 2010-04-18  Juri Linkov  <juri@jurta.org>
11609         Add 7z archive format support (bug#5475).
11611         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11612         (archive-7z-extract): New defcustom.
11613         (archive-find-type): Add magic string for 7z.
11614         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11615         If `stderr-file' is non-nil, use `(t stderr-file)' for the
11616         `buffer' arg of `call-process'.
11617         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11618         call the function `archive-7z-extract' with the variable
11619         `archive-7z-extract' let-bound to `archive-zip-extract'.
11620         (archive-7z-summarize, archive-7z-extract): New functions.
11622         * international/mule.el (auto-coding-alist):
11623         * files.el (auto-mode-alist): Add 7z file extension.
11625 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11627         * loadup.el: Setup hash-cons for pure data.
11629         Fix duplicate entries in cedet's loaddefs.el files.
11630         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11631         Should make most file-local generated-autoload-file unnecessary.
11632         (print-readably): Silence warnings.
11633         (autoload-find-destination): Take load-name as an arg to make sure
11634         it's the same as the one that will be in the file.
11635         (autoload-generate-file-autoloads): Adjust to above changes.
11636         Try to make the dataflow a bit simpler.
11638         * cvs-status.el (cvs-refontify): Remove unused.
11640 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
11642         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11644         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11645         twos-complement mode.
11647 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
11649         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11650         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
11651         (calc-inverse): Add "Option" to message, as appropriate.
11652         (calc-hyperbolic): Add "Option" to message, as appropriate.
11653         (calc-option, calc-is-option): New functions.
11655         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11656         (calc-option-prefix-help): New function.
11658         * calc/calc-misc.el (calc-help): Add "Option" entry.
11660         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11661         (calc-option-flag): New variable.
11662         (calc-do): Set `calc-option-flag to nil.
11663         (calc-set-mode-line): Add "Opt " as appropriate.
11665 2010-04-16  Juri Linkov  <juri@jurta.org>
11667         Move scrolling commands from simple.el to window.el
11668         because their primitives are implemented in window.c.
11670         * simple.el (scroll-error-top-bottom)
11671         (scroll-up-command, scroll-down-command, scroll-up-line)
11672         (scroll-down-line, scroll-other-window-down)
11673         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11674         * window.el (scroll-error-top-bottom)
11675         (scroll-up-command, scroll-down-command, scroll-up-line)
11676         (scroll-down-line, scroll-other-window-down)
11677         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11678         Move from simple.el to window.el because their primitives are
11679         implemented in window.c.
11681 2010-04-16  Juri Linkov  <juri@jurta.org>
11683         * isearch.el (isearch-lookup-scroll-key): Check both
11684         `isearch-scroll' and `scroll-command' properties.
11685         (scroll-up, scroll-down): Remove `isearch-scroll' property.
11687         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11689         * simple.el (scroll-up-command, scroll-down-command)
11690         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11692 2010-04-15  Juri Linkov  <juri@jurta.org>
11694         * simple.el (scroll-up-command, scroll-down-command)
11695         (scroll-up-line, scroll-down-line): Put `scroll-command'
11696         property on the these symbols.  Remove them from
11697         `scroll-preserve-screen-position-commands'.
11699         * mwheel.el (mwheel-scroll): Put `scroll-command' and
11700         `isearch-scroll' properties on the `mwheel-scroll' symbol.
11701         Remove it from `scroll-preserve-screen-position-commands'.
11703         * isearch.el (isearch-allow-scroll): Doc fix.
11705 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
11707         * net/tramp.el (tramp-error-with-buffer): Don't show the
11708         connection buffer when we are in completion mode.
11709         (tramp-file-name-handler): Catch the error for some operations
11710         when we are in completion mode.  This gives the user the chance to
11711         correct the file name in the minibuffer.
11713 2010-04-15  Glenn Morris  <rgm@gnu.org>
11715         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11717 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
11719         Simplify by using `define-derived-mode'.
11720         * info.el (Info-mode):
11721         * calendar/todo-mode.el (todo-mode):
11722         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11723         (gomoku-mode-map): Move initialization into declaration.
11725 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
11727         Fix Bug#5840.
11728         * ido.el (ido-file-name-all-completions-1):
11729         * minibuffer.el (minibuffer-completion-help):
11730         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11732 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11734         * simple.el (non-essential): New var.
11736         Add a new field `location' to bookmarks for non-file bookmarks.
11737         * bookmark.el (bookmark-location): Use the new field, if present.
11738         (bookmark-insert-location): Undo last change, not needed any more.
11739         * man.el (Man-bookmark-make-record):
11740         * woman.el (woman-bookmark-make-record): Add `location' field.
11742 2010-04-14  Juri Linkov  <juri@jurta.org>
11744         * simple.el (scroll-error-top-bottom): New defcustom.
11745         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
11747         * emulation/pc-select.el (pc-select-override-scroll-error):
11748         Obsolete in favor of `scroll-error-top-bottom'.
11750 2010-04-14  Juri Linkov  <juri@jurta.org>
11752         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11753         `scroll-up-command' and `M-v' to `scroll-down-command'.
11755         * emulation/cua-rect.el (cua--init-rectangles):
11756         * forms.el (forms--change-commands):
11757         * image-mode.el (image-mode-map):
11758         Remap scroll-down-command and scroll-up-command
11759         in addition to scroll-down and scroll-up.
11761 2010-04-14  Juri Linkov  <juri@jurta.org>
11763         * mwheel.el (scroll-preserve-screen-position-commands):
11764         Add mwheel-scroll to this list of commands.
11766         * simple.el (scroll-preserve-screen-position-commands):
11767         Add scroll-up-command, scroll-down-command, scroll-up-line,
11768         scroll-down-line to this list of commands.
11770 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11772         * obsolete/complete.el: Move from lisp/complete.el.
11774         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11776         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11777         to the minor mode function now turns the mode ON unconditionally.
11779 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11781         * vc-dir.el (vc-dir-kill-line): New command.
11782         (vc-dir-mode-map): Bind it to C-k.
11784         * bookmark.el (bookmark-insert-location): Handle a nil filename.
11786         * woman.el: Add bookmark declarations to silence the compiler.
11787         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11788         step to compatibility between man and woman bookmarks.
11789         Adjust for Man-default-bookmark-title renaming.
11790         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
11792         * man.el: Add bookmark declarations to silence the compiler.
11793         (Man-name-local-regexp): Make it match NAME as well.
11794         (Man-getpage-in-background): Return the buffer.
11795         (Man-notify-when-ready): Use `case'.
11796         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11797         Don't hardcode "NAME".  Simplify.
11798         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11799         Rename from Man-bookmark-make-record.
11800         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
11801         we have the actual man-args.  Use Man-getpage-in-background rather
11802         than `man' since the arg is already processed.  Let bookmark.el do the
11803         window handling.  Only wait for the relevant process.
11804         Don't forget to autoload.
11806         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11808 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11810         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11811         New functions.
11812         (woman-mode): Setup bookmark support.
11814         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11815         (man-bookmark-jump): New functions.
11816         (Man-mode): Setup bookmark support.
11818 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
11820         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11821         recognize ssh-keygen prompt (Bug#2817).
11823 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11825         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11827 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11829         Synchronize with Tramp repository.
11831         * net/tramp.el (tramp-completion-function-alist)
11832         (tramp-file-name-regexp, tramp-chunksize)
11833         (tramp-local-coding-commands, tramp-remote-coding-commands):
11834         Fix docstring.
11835         (tramp-remote-process-environment): Use `format' instead of `concat'.
11836         (tramp-handle-directory-files-and-attributes)
11837         (tramp-get-remote-path): Use `copy-tree'.
11838         (tramp-handle-file-name-all-completions): Backward/ XEmacs
11839         compatibility: Use `completion-ignore-case' if
11840         `read-file-name-completion-ignore-case' does not exist.
11841         (tramp-do-copy-or-rename-file-directly): Do not use
11842         `tramp-handle-file-remote-p'.
11843         (tramp-do-copy-or-rename-file-out-of-band):
11844         Use `tramp-compat-delete-directory'.
11845         (tramp-do-copy-or-rename-file-out-of-band)
11846         (tramp-compute-multi-hops, tramp-maybe-open-connection):
11847         Use `format-spec-make'.
11848         (tramp-find-foreign-file-name-handler)
11849         (tramp-advice-make-auto-save-file-name)
11850         (tramp-set-auto-save-file-modes): Remove superfluous check for
11851         `stringp'.  This is done inside `tramp-tramp-file-p'.
11852         (tramp-debug-outline-regexp): New defconst.
11853         (tramp-get-debug-buffer): Use it.
11854         (tramp-check-for-regexp): Use (forward-line 1).
11855         (tramp-set-auto-save-file-modes): Adapt version check.
11857         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11858         Wrap call of `featurep' for 2nd argument.
11859         (tramp-compat-make-temp-file): Simplify fallback implementation.
11860         (tramp-compat-copy-tree): Remove function.
11861         (tramp-compat-delete-directory): Provide implementation for older
11862         Emacsen.
11864         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11865         Do not use `tramp-fish-handle-file-attributes.
11867         * net/trampver.el: Update release number.
11869 2010-04-10  Glenn Morris  <rgm@gnu.org>
11871         * progmodes/compile.el (compilation-save-buffers-predicate):
11872         Add missing :version tag.
11874 2010-04-09  Sam Steingold  <sds@gnu.org>
11876         * progmodes/compile.el (compilation-save-buffers-predicate):
11877         Remove the "autoload" cookie.
11879         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11880         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11881         and `bug-reference-prog-mode' can be used in hooks directly.
11883 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
11885         Add --author support to git commit.
11886         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11887         (vc-git-log-edit-mode): New minor mode.
11888         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11889         New declarations.
11891 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
11893         * vc-hooks.el, vc-git.el: Improve documentation comments.
11895 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11897         Fix some of the problems in defsubst* (bug#5728).
11898         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11899         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11901 2010-04-07  Sam Steingold  <sds@gnu.org>
11903         * progmodes/compile.el (compilation-save-buffers-predicate):
11904         New custom variable.
11905         (compile, recompile): Pass it to `save-some-buffers'.
11907 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
11909         * wid-edit.el (widget-choose): Move cursor to the second line of
11910         the buffer (Bug#5695).
11912 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11914         Add new VC methods: vc-log-incoming and vc-log-outgoing.
11915         * vc.el (vc-print-log-setup-buttons): New function split out from
11916         vc-print-log-internal.
11917         (vc-log-internal-common): New function, a parameterized version of
11918         vc-print-log-internal.
11919         (vc-print-log-internal): Just call vc-log-internal-common with the
11920         right arguments.
11921         (vc-incoming-outgoing-internal):
11922         (vc-log-incoming, vc-log-outgoing): New functions.
11923         (vc-log-view-type): New permanent local variable.
11925         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11927         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11928         of the dynamic bound vc-short-log.
11929         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11931         * vc-git.el (vc-git-log-outgoing): New function.
11932         (vc-git-log-view-mode): Use vc-log-view-type instead
11933         of the dynamic bound vc-short-log.
11935         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11936         of the dynamic bound vc-short-log.  Highlight the tag.
11937         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11938         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11939         (vc-hg-incoming-mode): Remove.
11940         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11942 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11944         Fix default-directory for vc-root-diff.
11945         * vc.el (vc-root-diff): Bind default-directory to the root
11946         directory for the diff command.
11948 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
11950         * progmodes/verilog-mode.el (verilog-forward-sexp):
11951         (verilog-calc-1): Support "disable fork" and "fork wait" multi
11952         word keywords, suggested by Steve Pearlmutter.
11953         (verilog-pretty-declarations): Support lineup of declarations in
11954         port lists.
11955         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11956         fix bug for /* / comments.
11957         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11958         Speed up and simplfy as this is never called with a bound.
11959         (verilog-pretty-declarations): Enhance to line up declarations
11960         inside a parameter list, suggested by Alan Morgan.
11961         (verilog-pretty-expr): Tune assignment regular expression match
11962         string for corner cases; also use markers instead of character
11963         number as indent changes the later.
11965 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
11967         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11968         as missing keyword.
11969         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11970         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
11971         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11972         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
11973         Tennant.
11974         (verilog-keywords):
11975         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11976         1800-2009 keywords, including "global.".
11978 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11980         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11981         appearing in buffer list (if a live buffer name matched a recentf
11982         file basename).  Should use uniquify to offer a real solution.
11984 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11986         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11987         comment to code, and add a :version tag.
11988         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11990 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
11992         Enable recentf-mode if using virtual buffers.
11993         * ido.el (recentf-list): Declare for byte-compiler.
11994         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
11995         (ido-make-buffer-list): Simplify.
11996         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
11998 2010-04-05  Juri Linkov  <juri@jurta.org>
12000         Scrolling commands which scroll a line instead of full screen.
12001         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12003         * simple.el (scroll-up-line, scroll-down-line): New commands.
12004         Put property isearch-scroll=t on them.
12006         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12007         Remove commands.
12009 2010-04-05  Juri Linkov  <juri@jurta.org>
12011         Scrolling commands which do not signal errors at top/bottom.
12012         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12014         * simple.el (scroll-up-command, scroll-down-command): New commands.
12015         Put property isearch-scroll=t on them.
12017         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12018         `scroll-down-command' and [next] from `scroll-up' to
12019         `scroll-up-command'.
12021         * emulation/cua-base.el: Put property CUA=move on
12022         `scroll-up-command' and `scroll-down-command'.
12023         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12024         and `scroll-down-command' to `cua-scroll-down'.
12026 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
12028         * help.el (describe-mode): Return nil.
12030 2010-04-04  John Wiegley  <jwiegley@gmail.com>
12032         * ido.el (ido-use-virtual-buffers): New variable to indicate
12033         whether "virtual buffer" support is enabled for IDO.
12034         (ido-virtual): Face used to indicate virtual buffers in the list.
12035         (ido-buffer-internal): If a buffer is chosen, and no such buffer
12036         exists, but a virtual buffer of that name does (which would be why
12037         it was in the list), recreate the buffer by reopening the file.
12038         (ido-make-buffer-list): If virtual buffers are being used, call
12039         `ido-add-virtual-buffers-to-list' before the make list hook.
12040         (ido-virtual-buffers): New variable which contains a copy of the
12041         current contents of the `recentf-list', albeit pared down for the
12042         sake of speed, and with proper faces applied.
12043         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12044         create a list of "virtual buffers" to present to the user in
12045         addition to the currently open set.  Note that this logic could
12046         get rather slow if that list is too large.  With the default
12047         `recentf-max-saved-items' of 200, there is little speed penalty.
12049 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12051         * font-lock.el: Require CL when compiling.
12052         (font-lock-turn-on-thing-lock): Use `case'.
12054 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
12056         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12057         Zaretskii.
12059 2010-04-02  Juri Linkov  <juri@jurta.org>
12061         * ehelp.el (electric-help-orig-major-mode):
12062         New buffer-local variable.
12063         (electric-help-mode): Set it to original major-mode.  Doc fix.
12064         (with-electric-help): Use `electric-help-orig-major-mode' instead
12065         of (default-value 'major-mode).  Doc fix.
12066         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12068 2010-04-02  Sam Steingold  <sds@gnu.org>
12070         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12071         `vc-hg-command' with a list of flags.
12073         * progmodes/bug-reference.el (bug-reference-bug-regexp):
12074         Also accept "patch" and "RFE".
12075         (bug-reference-fontify): `bug-reference-url-format' can also be a
12076         function to be able to handle the bug kind.
12077         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12079 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
12081         * tmm.el (tmm-get-keymap): Check with symbolp before passing
12082         value to fboundp, it may not be a symbol.
12084 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12086         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12088 2010-03-31  Juri Linkov  <juri@jurta.org>
12090         * simple.el (next-line, previous-line): Re-throw a signal
12091         with `signal' instead of using `ding'.
12092         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12094 2010-03-31  Juri Linkov  <juri@jurta.org>
12096         * simple.el (keyboard-escape-quit): Raise deselecting the active
12097         region higher than exiting the minibuffer.
12098         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12100 2010-03-31  Juri Linkov  <juri@jurta.org>
12102         * image.el (image-animated-p): Use `image-metadata' instead of
12103         `image-extension-data'.  Get GIF extenstion data from metadata
12104         property `extension-data'.
12106 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12108         * simple.el (append-to-buffer): Simplify.
12110 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
12112         * textmodes/artist.el (artist-mode): Fix typo in docstring.
12113         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
12115 2010-03-31  Kenichi Handa  <handa@m17n.org>
12117         * language/sinhala.el (composition-function-table): Fix regexp for
12118         the new Unicode specification.
12120         * language/indian.el (devanagari-composable-pattern)
12121         (tamil-composable-pattern, kannada-composable-pattern)
12122         (malayalam-composable-pattern): Adjust for the new Unicode
12123         specification.
12124         (bengali-composable-pattern, gurmukhi-composable-pattern)
12125         (gujarati-composable-pattern, oriya-composable-pattern)
12126         (telugu-composable-pattern): New variables to cope with the new
12127         Unicode specification.  Use them in composition-function-table.
12129 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12131         Make tmm-menubar work for the Buffers menu again (bug#5726).
12132         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12133         vectors rather than cons cells, as used in menu-bar-update-buffers.
12135 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12137         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12138         (js-insert-and-indent): Revert 2009-08-15 change, restoring
12139         electric punctuation for "{}();,:" (Bug#5586).
12141         * mail/sendmail.el (mail-default-directory): Doc fix.
12143 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12145         * mail/sendmail.el (mail-default-directory): Doc fix.
12147 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
12149         * subr.el (version-regexp-alist, version-to-list)
12150         (version-list-<, version-list-=, version-list-<=)
12151         (version-list-not-zero, version<, version<=, version=): Doc fix.
12152         (Bug#5744).
12154 2010-03-31  Dan Nicolaescu  <dann@ics.uci.edu>
12156         * vc.el (vc-root-diff): Doc fix.
12158 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12160         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12162         * simple.el (append-to-buffer): Fix last change.
12164 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12166         * simple.el (append-to-buffer): Ensure that point is preserved if
12167         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
12168         (Bug#5749)
12170 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12172         * files.el (auto-mode-case-fold): Change default to t.
12174 2010-03-30  Juri Linkov  <juri@jurta.org>
12176         * dired-x.el (dired-omit-mode): Doc fix.
12178 2010-03-30  Juri Linkov  <juri@jurta.org>
12180         * replace.el (occur-accumulate-lines): Move occur-engine related
12181         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12182         to be located after `occur-engine'.
12184 2010-03-30  Juri Linkov  <juri@jurta.org>
12186         Make occur handle multi-line matches cleanly with context.
12187         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12189         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12190         (occur-engine): Add local variables `ret', `prev-after-lines',
12191         `prev-lines'.  Use more arguments for `occur-context-lines'.
12192         Set first elem of its returned list to `data', and the second elem
12193         to `prev-after-lines'.  Don't print the separator line.
12194         In the end, print remaining context after-lines.
12195         (occur-context-lines): Add new arguments `begpt', `endpt',
12196         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
12197         after-lines of the previous match with before-lines of the
12198         current match and not overlap them.  Return a list with two
12199         values: the output line and the list of context after-lines.
12201 2010-03-30  Juri Linkov  <juri@jurta.org>
12203         * replace.el (occur-accumulate-lines): Fix a bug where the first
12204         context line at the beginning of the buffer was missing.
12206 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
12208         * files.el: Make bidi-display-reordering safe variable for boolean
12209         values.
12211 2010-03-29  Phil Hagelberg  <phil@evri.com>
12212             Chong Yidong  <cyd@stupidchicken.com>
12214         * subr.el: Extend progress reporters to perform "spinning".
12215         (progress-reporter-update, progress-reporter-do-update):
12216         Handle non-numeric value arguments.
12217         (progress-reporter--pulse-characters): New var.
12219 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
12221         * progmodes/compile.el (compilation-start): Fix regexp detection
12222         of initial cd command (Bug#5771).
12224 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
12226         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12228 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
12230         Restore GDB/MI functionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12231         * progmodes/gdb-mi.el: Restore.
12232         * progmodes/gdb-ui.el: Remove.
12233         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12235 2010-03-25  Glenn Morris  <rgm@gnu.org>
12237         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12238         all dired buffers, even tramp ones.  (Bug#5755)
12240 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12242         Add "union tags" in mpc.el.
12243         * mpc.el: Remove backward compatibility code.
12244         (mpc-browser-tags): Change default.
12245         (mpc--find-memoize-union-tags): New var.
12246         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12247         (mpc-cmd-find): Handle the case where the playlist does not exist.
12248         Handle union-tags.
12249         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
12250         (mpc-cmd-add): Use mpc-cmd-flush.
12251         (mpc-tagbrowser-tag-name): New fun.
12252         (mpc-tagbrowser-buf): Use it.
12253         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
12255 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12257         Misc cleanup.
12258         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12259         Use replace-regexp-in-string.
12260         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12261         (makefile-imake-mode-syntax-table): Move init into defvar.
12262         (makefile-mode): Use define-derived-mode.
12264         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12265         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12266         not be present any more.
12268 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12270         * faces.el (set-face-attribute): Fix typo in docstring.
12271         (face-valid-attribute-values): Reflow docstring.
12273 2010-03-24  Glenn Morris  <rgm@gnu.org>
12275         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12277 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12279         * indent.el (indent-for-tab-command): Doc fix.
12281 2010-03-24  Alan Mackenzie  <acm@muc.de>
12283         * progmodes/cc-engine.el (c-remove-stale-state-cache):
12284         Fix off-by-one error.  Fixes bug #5747.
12286 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12288         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12289         (image-dired-read-comment): Doc fix.
12291         * json.el (json-object-type, json-array-type, json-key-type)
12292         (json-false, json-null, json-read-number):
12293         * minibuffer.el (completion-in-region-functions):
12294         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12295         (cal-tex-cursor-week):
12296         * emacs-lisp/trace.el (trace-function):
12297         * eshell/em-basic.el (eshell/printnl):
12298         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12299         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12300         * obsolete/levents.el (allocate-event, event-key, event-object)
12301         (event-point, event-process, event-timestamp, event-to-character)
12302         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12303         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12304         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12305         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12306         (reftex-highlight-selection): Fix typos in docstrings.
12308 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12310         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12312 2010-03-24  Glenn Morris  <rgm@gnu.org>
12314         * mail/rmail.el (rmail-highlight-face): Restore option deleted
12315         2008-02-13 without comment; mark it obsolete.
12316         (rmail-highlight-headers): Use rmail-highlight-face once more.
12318 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12320         * woman.el (woman2-process-escapes): Only consume the newline if
12321         the filler character is on a line by itself (Bug#5729).
12323 2010-03-24  Kenichi Handa  <handa@m17n.org>
12325         * language/indian.el (devanagari-composable-pattern): Add more
12326         consonants.
12328 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12330         * net/trampver.el: Update release number.
12332 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12334         * net/tramp.el (tramp-find-executable):
12335         Use `tramp-get-connection-buffer'.  Make the regexp for checking
12336         output of "wc -l" more robust.
12337         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12338         (tramp-open-connection-setup-interactive-shell): Remove workaround
12339         for OpenSolaris bug, it is not needed anymore.
12341 2010-03-24  Glenn Morris  <rgm@gnu.org>
12343         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
12345 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
12347         * files.el (auto-mode-alist): Accept more verilog file patterns.
12349 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12351         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12353 2010-03-24  Glenn Morris  <rgm@gnu.org>
12355         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12356         log-edit-before-checkin-process.
12358         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12360         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12362         * vc-dispatcher.el (vc-start-logentry): Doc fix.
12363         (log-view-process-buffer, log-edit-extra-flags): Declare.
12365         * log-edit.el (log-edit-before-checkin-process): Doc fix.
12367 2010-03-23  Sam Steingold  <sds@gnu.org>
12369         Fix bug#5620: recalculate all markers on compilation buffer
12370         modifications, not on file modifications.
12371         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12372         variable: the buffer modification time, for buffers not associated with
12373         files.
12374         (compilation-mode): Create it.
12375         (compilation-filter): Update it.
12376         (compilation-next-error-function): Use it instead of
12377         `visited-file-modtime' for timestamp.
12379 2010-03-23  Juri Linkov  <juri@jurta.org>
12381         Implement Occur multi-line matches.
12382         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12384         * replace.el (occur): Doc fix.
12385         (occur-engine): Set `begpt' to the beginning of the first line.
12386         Set `endpt' to the end of the last match line.  At first, count
12387         line numbers between `origpt' and `begpt'.  Split out code from
12388         `out-line' variable to new let-bindings `match-prefix' and
12389         `match-str'.  In `out-line' add non-numeric prefix to all
12390         non-first lines of multi-line matches.  Finally, count lines
12391         between `begpt' and `endpt' and add to `lines'.
12393 2010-03-23  Juri Linkov  <juri@jurta.org>
12395         * replace.el (occur-accumulate-lines, occur-engine):
12396         Use `occur-engine-line' instead of duplicate code.
12397         (occur-engine-line): New function created from duplicate code
12398         in `occur-accumulate-lines' and `occur-engine'.
12400         * replace.el (occur-engine-line): Add optional arg `keep-props'.
12401         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12403 2010-03-23  Juri Linkov  <juri@jurta.org>
12405         * finder.el: Remove TODO tasks.
12407         * info.el (Info-finder-find-node): Add node "all"
12408         with all package info.  Handle a list of multiple keywords
12409         separated by comma.
12410         (info-finder): In interactive use with a prefix argument,
12411         use `completing-read-multiple' to read a list of keywords
12412         separated by comma.
12414 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12416         Add a new completion style `substring'.
12417         * minibuffer.el (completion-basic--pattern): New function.
12418         (completion-basic-try-completion, completion-basic-all-completions):
12419         Use it.
12420         (completion-substring--all-completions)
12421         (completion-substring-try-completion)
12422         (completion-substring-all-completions): New functions.
12423         (completion-styles-alist): New style `substring'.
12425 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12427         Get rid of .elc files after removal of the corresponding .el.
12428         * Makefile.in (compile-clean): New target.
12429         (compile-main): Use it.
12431 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
12433         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12434         don't do make there.  When compiling with separate object dir, there
12435         is no Makefile there.
12437 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12439         Get rid of the ELCFILES abomination, again.
12440         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12441         (all, compile): Don't call compile-last.
12442         (compile-main): Build the "elcfiles" list dynamically.
12443         (compile-targets): New (internal) target.
12445 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12447         * Makefile.in (top_srcdir): Define.
12448         (abs_top_builddir): Define.
12449         (srcdir): Don't append `/..'.
12450         (EMACS): Use ${abs_top_builddir}.
12451         (all, compile, compile-always, compile-last): Don't set emacswd.
12452         (update-subdirs, update-authors): Use $(top_srcdir) instead of
12453         $(srcdir).
12454         (lisp): Use $(srcdir) instead of @srcdir@.
12456 2010-03-21  Juri Linkov  <juri@jurta.org>
12458         Fix message of multi-line occur regexps and multi-buffer header lines.
12459         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12461         * replace.el (occur-1): Don't display regexp if it is longer
12462         than window-width.  Use `query-replace-descr' to display regexp.
12463         (occur-engine): Don't display regexp in the buffer header for
12464         multi-buffer occur.  Display a separate header line with total
12465         match count and regexp for multi-buffer occur.
12466         Use `query-replace-descr' to display regexp.
12468 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
12470         * net/secrets.el: Fix parenthesis.
12471         (secrets-enabled): Fix parenthesis.
12473 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12475         Use more relative file and directory names.
12476         * Makefile.in (EMACS): Arrange for it to work when we chdir.
12477         (setwins, setwins_almost, setwins_for_subdirs):
12478         Don't `cd'; output relative names.
12479         (all, compile, compile-always, compile-last): Set emacswd.
12480         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12481         Just cd to the lisp source dir so we can use relative file names.
12483         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12485 2010-03-20  Glenn Morris  <rgm@gnu.org>
12487         * textmodes/rst.el: Use faces for font-lock customization, and make the
12488         old -face variables obsolete.
12489         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12490         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12491         (rst-block-face, rst-external-face, rst-definition-face)
12492         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12493         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12494         Make obsolete.
12495         (rst-font-lock-keywords-function): Update for above changes.
12497 2010-03-20  Juri Linkov  <juri@jurta.org>
12499         * s-region.el:
12500         * obsolete/s-region.el: Move to obsolete.
12502 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
12504         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12506 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12508         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12510 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12512         Add special markup processing for commit logs.
12513         * log-edit.el (log-edit-extra-flags): New variable.
12514         (log-edit): Add new argument MODE.  Use that mode when non-nil
12515         instead of the log-view-mode.
12516         (log-view-process-buffer): New function.
12518         * vc.el: Document that the checkin method takes optional
12519         arguments.  Document new backend specific method: log-view-mode.
12520         (vc-default-log-edit-mode): New function.
12521         (vc-checkin): Use a backend specific log-view-mode.
12522         Pass extra arguments to the checkin method.
12523         (vc-modify-change-comment): Pass a dummy extra argument.
12525         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12526         log-edit.
12527         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12528         (vc-finish-logentry): Process the log buffer before passing it
12529         down.  Pass log-edit-extra-flags.
12531         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12532         command.
12533         (log-edit-extra-flags, log-edit-before-checkin-process):
12534         New declarations.
12536         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12537         command.
12538         (log-edit-extra-flags, log-edit-before-checkin-process):
12539         New declarations.
12540         (vc-hg-log-edit-mode): New derived mode.
12542         * vc-arch.el (vc-arch-checkin):
12543         * vc-cvs.el (vc-cvs-checkin):
12544         * vc-git.el (vc-git-checkin):
12545         * vc-mtn.el (vc-mtn-checkin):
12546         * vc-rcs.el (vc-rcs-checkin):
12547         * vc-sccs.el (vc-sccs-checkin):
12548         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12550 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12552         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12553         parent typo).
12555 2010-03-19  Glenn Morris  <rgm@gnu.org>
12557         * password-cache.el (password-cache, password-cache-expiry): Autoload.
12559 2010-03-18  Glenn Morris  <rgm@gnu.org>
12561         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12563         * replace.el (query-replace-history): Give it a doc string.
12564         (map-query-replace-regexp): Use query-replace-from-history-variable
12565         and query-replace-to-history-variable.
12567         * mail/hashcash.el (declare-function): Remove duplicate definition.
12569         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12570         Make it an obsolete alias for report-emacs-bug-address.
12571         (message-strip-special-text-properties): Declare.
12572         (report-emacs-bug): Remove test for a pretest bug address.
12573         Combine message-mode-specific code.
12575         * mail/supercite.el: Don't require sendmail.
12576         (mh-in-header-p): Declare rather than using with-no-warnings.
12577         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12578         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
12580         * calendar/cal-french.el: Convert to utf-8.
12582         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12583         Emacs scripts.
12585 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
12587         * net/secrets.el (secrets-enabled): New variable.  Use it instead
12588         of a subfeature.
12590 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
12592         * net/secrets.el (top): Register the D-Bus signals only when the
12593         service "org.freedesktop.secrets" can be pinged.
12594         Provide subfeature `enabled'.
12596 2010-03-14  Juri Linkov  <juri@jurta.org>
12598         Add finder unknown keywords.
12600         * finder.el (finder-unknown-keywords): New function.
12602         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12603         to create a Finder node with unknown keywords.
12605 2010-03-14  Juri Linkov  <juri@jurta.org>
12607         * finder.el (finder-compile-keywords): Replace `princ' with
12608         `prin1' on a list of symbols interned from keyword strings.
12610         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12611         a comma, then split keywords using a comma and optional whitespace.
12612         Otherwise, split by whitespace.
12614         * complete.el:
12615         * face-remap.el:
12616         * log-view.el:
12617         * net/hmac-def.el:
12618         * net/hmac-md5.el:
12619         * net/netrc.el:
12620         * progmodes/mixal-mode.el: Fix keywords.
12622 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
12624         * Makefile.in (ELCFILES): Add net/secrets.elc.
12626         * net/secrets.el: New file.
12628 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12630         * facemenu.el (list-colors-display, list-colors-print): New arg
12631         callback.  Use it to allow selecting colors.
12633         * wid-edit.el (widget-image-insert): Insert image prop even if the
12634         current display is non-graphic.
12635         (widget-field-value-set): New fun.
12636         (editable-field): Use it.
12637         (widget-field-value-get): Clean up unused var.
12638         (widget-color-value-create, widget-color--choose-action):
12639         New funs.  Allow using list-colors-display to choose color.
12641 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12643         * cus-edit.el: Resort topmost custom groups.
12644         (custom-buffer-sort-alphabetically): Default to t.
12645         (customize-apropos): Use apropos-parse-pattern.
12646         (custom-search-field): New var.
12647         (custom-buffer-create-internal): Add custom-apropos search field.
12648         (custom-add-parent-links): Don't display parent doc.
12649         (custom-group-value-create): Don't sort top-level custom group.
12650         (custom-magic-value-create): Show visibility button before option name.
12652         (custom-variable-state): New fun, from custom-variable-state-set.
12653         (custom-variable-state-set): Use it.
12654         (custom-group-value-create): Hide options with standard values
12655         using the :hidden-states property.  Use progress reporter.
12657         (custom-show): Simplify.
12658         (custom-visibility): Disable images by default.
12659         (custom-variable): New property :hidden-states.
12660         (custom-variable-value-create): Enable images for
12661         custom-visibility widgets.  Use :hidden-states property to
12662         determine initial visibility.
12664         * wid-edit.el (widget-image-find): Give images center ascent.
12665         (visibility): Add :on-image and :off-image properties.
12666         (widget-visibility-value-create): Use them.
12668 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12670         * cus-edit.el (processes): Remove from development group.
12671         (oop, hypermedia): Delete group.
12672         (comm): Promote to top-level group.
12674         * net/browse-url.el (browse-url):
12675         * net/xesam.el (xesam):
12676         * net/tramp.el (tramp):
12677         * net/goto-addr.el (goto-address):
12678         * net/ange-ftp.el (ange-ftp): Put in comm group.
12680         * view.el (view): Remove from editing group.
12682         * uniquify.el (uniquify): Put in files group.
12684         * net/browse-url.el (browse-url):
12685         * ps-print.el (postscript): Put in external group.
12687         * cus-edit.el (outlines):
12688         * textmodes/text-mode.el (text-mode-hook):
12689         * textmodes/table.el (table):
12690         * textmodes/picture.el (picture):
12691         * outline.el (outlines): Put in wp group.
12693         * nxml/nxml-mode.el (nxml): Remove from wp group.
12695         * net/tramp-imap.el (tramp-imap): Put in tramp group.
12697         * mail/metamail.el (metamail): Remove from hypermedia group.
12699         * cus-edit.el (abbrev):
12700         * whitespace.el (whitespace):
12701         * vcursor.el (vcursor):
12702         * reveal.el (reveal):
12703         * hl-line.el (hl-line): Put in convenience group.
12705         * epg-config.el (epg): Put in data group.
12707         * emulation/pc-select.el (pc-select): Put in emulations group.
12709         * calculator.el (calculator): Put in applications group.
12711 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12713         Add .dir-locals.el support for file-less buffers.
12714         * files.el (hack-local-variables): Split out code to apply local
12715         variable settings ...
12716         (hack-local-variables-apply): ... here.  New function.
12717         (hack-dir-local-variables): Use the default directory for when the
12718         buffer does not have an associated file.
12719         (hack-dir-local-variables-non-file-buffer): New function.
12720         * diff-mode.el (diff-mode):
12721         * vc-annotate.el (vc-annotate-mode):
12722         * vc-dir.el (vc-dir-mode):
12723         * log-edit.el (log-edit-mode):
12724         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12726 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12728         Add support for shelving snapshots and for showing shelves.
12729         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12730         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12731         New functions.
12732         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12733         (vc-bzr-extra-menu-map): Map them.
12735 2010-03-11  Glenn Morris  <rgm@gnu.org>
12737         * cus-edit.el (customize-changed-options-previous-release):
12738         Bump to 23.1.
12740         * image.el (image-animate-max-time): Fix :version tag.
12742 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
12744         * Branch for 23.2.
12746 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12748         * vc-git.el (vc-git-revision-table): Include remote branches.
12750 2010-03-10  Kim F. Storm  <storm@cua.dk>
12752         Animated image API.
12753         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12755         * image.el (image-animate-max-time): New defcustom.
12756         (image-animated-types): New defconst.
12757         (create-animated-image, image-animate-timer)
12758         (image-animate-start, image-animate-stop, image-animate-timeout)
12759         (image-animated-p): New functions.
12761         * image-mode.el (image-toggle-display-image):
12762         Replace `create-image' with `create-animated-image'.
12764 2010-03-09  Miles Bader  <miles@gnu.org>
12766         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12767         instead of "format:"; this ensures that the output is
12768         newline-terminated.
12770 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
12772         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12773         that all errors are caught, and that the return value is always a
12774         list (Bug#5692).
12776 2010-03-08  Kenichi Handa  <handa@m17n.org>
12778         * language/misc-lang.el (windows-1256): New coding system.
12779         (cp1256): New alias of windows-1256 (bug#5690).
12781 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
12783         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12784         call to rfc822-bad-address.  (Bug#5692)
12786 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12788         * vc-git.el (vc-git-annotate-extract-revision-at-line):
12789         Use vc-git-root as default directory for revision path (Bug#5657).
12791 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
12793         * calculator.el (calculator): Don't bind split-window-keep-point
12794         (Bug#5674).
12796 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12798         * vc-git.el: Re-flow to fit into 80 columns.
12799         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12800         Remove spurious `quote' element in each case alternative.
12801         (vc-git-show-log-entry): Use prog1.
12802         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12804 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12806         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12808 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
12810         * macros.el (insert-kbd-macro): Look up keyboard macro using the
12811         definition, not the name (Bug#5481).
12813 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12815         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12816         argument with a local variable.  (Bug#5670)
12818 2010-03-02  Juri Linkov  <juri@jurta.org>
12820         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
12822 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
12824         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12825         error when FILENAME and NEWNAME are existing remote directories.
12827         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12828         parameter DIR-FLAG.
12830 2010-03-02  Glenn Morris  <rgm@gnu.org>
12832         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12833         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12835 2010-03-01  Kenichi Handa  <handa@m17n.org>
12837         * language/burmese.el (burmese-composable-pattern): Rename from
12838         myanmar-composable-pattern.
12840         * international/characters.el (script-list):
12841         * international/fontset.el (script-representative-chars):
12842         Change myanmar to burmese.
12843         (otf-script-alist): Likewise.
12844         (setup-default-fontset): Likewise.  Re-fix :otf spec.
12846 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
12848         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12850 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
12852         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12854 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12856         * net/tramp.el (tramp-handle-write-region): START can be a string.
12857         Take care in the checks.  Reported by Dan Davison
12858         <davison@stats.ox.ac.uk>.
12860 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12862         * net/dbus.el (dbus-introspect, dbus-get-property)
12863         (dbus-set-property, dbus-get-all-properties):
12864         Use `dbus-call-method' when noninteractive.  (Bug#5645)
12866 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
12868         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12869         * emacs-lisp/elint.el (elint-add-required-env):
12870         * calendar/icalendar.el (icalendar--add-diary-entry):
12871         * calc/calcalg2.el (math-tracing-integral):
12872         * files.el (recover-session-finish): Use with-current-buffer
12873         instead of save-excursion.
12875 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12877         Fix in-buffer completion when after-change-functions modify the buffer.
12878         * minibuffer.el (completion--replace): New function.
12879         (completion--do-completion): Use it and use relative movement.
12881 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
12883         * international/fontset.el (setup-default-fontset): Fix :otf spec.
12885 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
12887         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12888         Allow the characters _<> in the stack entry (Bug#5653).
12890 2010-02-26  Kenichi Handa  <handa@m17n.org>
12892         * language/burmese.el: Fix entries in composition-function-table.
12893         (myanmar-composable-pattern): New variable.
12895         * international/fontset.el (setup-default-fontset): Add an entry
12896         for myanmar.
12898         * international/characters.el (script-list): Add Myanmar
12899         Extended-A.
12901 2010-02-26  Glenn Morris  <rgm@gnu.org>
12903         * custom.el (custom-initialize-delay): Doc fix.
12905         * mail/sendmail.el (send-mail-function): Autoload the call
12906         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12908 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
12910         * files.el (hack-local-variables-filter): For eval forms, also
12911         check safe-local-variable-p (Bug#5636).
12913 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
12915         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12916         setting the modes by `ignore-errors'.  It might fail, for example
12917         if the file is not owned by the user but the group.
12918         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12920 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
12922         * files.el (directory-listing-before-filename-regexp):
12923         Use stricter matching for iso-style dates, to avoid false matches with
12924         date-like filenames (Bug#5597).
12926         * htmlfontify.el (htmlfontify): Doc fix.
12928         * eshell/eshell.el (eshell): Doc fix.
12930         * startup.el (fancy-about-screen): In mode-line, apply
12931         mode-line-buffer-id face only to the buffer name (Bug#5613).
12933 2010-02-20  Kevin Ryde  <user42@zip.com.au>
12935         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12936         In `watcom' anchor regexp to start of line, to avoid slowness
12937         (Bug#5599).
12939 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
12941         * subr.el (remove-yank-excluded-properties): Explain in a comment
12942         why `category' property is removed.
12944 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
12946         * isearch.el (isearch-update-post-hook, isearch-update):
12947         Revert 2010-02-17 change.
12949 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
12951         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12952         (icalendar--convert-weekly-to-ical)
12953         (icalendar--convert-yearly-to-ical)
12954         (icalendar--convert-block-to-ical)
12955         (icalendar--convert-cyclic-to-ical)
12956         (icalendar--convert-anniversary-to-ical): Take care of time
12957         specifications where hour has 1-digit only (Bug#5549).
12959 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
12961         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12962         of disassemble output in GDB 7.1.
12964 2010-02-19  Glenn Morris  <rgm@gnu.org>
12966         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12967         property.  (Bug#5593)
12969 2010-02-18  Sam Steingold  <sds@gnu.org>
12971         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12973 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12975         Use abbreviated file names in bookmarks (bug#5591).
12976         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12977         calls to expand-file-name.
12978         (bookmark-relocate): Use abbreviated file names in bookmarks.
12979         (bookmark-load): Use abbreviated file names in messages.
12981 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12983         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12984         expand "." and "..".  Reported by Thierry Volpiatto
12985         <thierry.volpiatto@gmail.com>.
12987 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12989         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12990         permissions of the temporary file to "0600".  In case the remote
12991         file has no read permissions for the owner, there might be
12992         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
12994 2010-02-18  Glenn Morris  <rgm@gnu.org>
12996         * emacs-lisp/authors.el (authors-renamed-files-alist):
12997         Add entries for INSTALL.CVS.
12999 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
13001         * vc-bzr.el: Fix typo in Known Bugs section.
13003         * isearch.el (isearch-update-post-hook): New hook.
13004         (isearch-update): Use the new hook.
13006 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
13008         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13009         Fix errors in copying directories.
13010         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13011         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13012         (tramp-handle-delete-file)
13013         (tramp-handle-dired-recursive-delete-directory)
13014         (tramp-handle-write-region): Flush also the cache for the upper
13015         directory.
13017 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
13019         * simple.el (save-interprogram-paste-before-kill): Doc fix.
13021         * cus-edit.el (hardware): Doc fix.
13023         * man.el (man): Add to external custom group.
13025         * delim-col.el (columns): Move to wp custom group.
13027         * doc-view.el (doc-view): Add to data custom group.
13029         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13031         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13032         by ispell-parse-output (Bug#5575).
13034 2010-02-16  Kenichi Handa  <handa@m17n.org>
13036         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13037         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13038         (skkdic-convert): Use `euc-japan' coding system for writing.
13040 2010-02-16  Glenn Morris  <rgm@gnu.org>
13042         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13043         tex-main-file before using it.  (Bug#5562)
13045 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13047         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13048         warnings, since it is annoying for the user to see them each time he
13049         runs the code.
13051 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
13053         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13054         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13055         instead of PROC for caching "first-password-request".  Otherwise,
13056         new processes would not profit from passwords already entered.
13058         * net/tramp-cache.el (tramp-dump-connection-properties):
13059         Don't save "first-password-request" property.
13061 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
13063         * outline.el (outline-head-from-level):
13064         * simple.el (with-wrapper-hook):
13065         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13066         (elint-defun, elint-buffer-env, elint-top-form-logged)
13067         (elint-unbound-variable):
13068         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13069         Fix typos in docstrings.
13071 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
13073         * files.el (insert-directory): When WILDCARD-REGEXP and
13074         FULL-DIRECTORY-P are nil, insert the file entry instead of the
13075         whole directory.  (Bug#5551)
13077         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
13078         dired's alignment sanity.  (Bug#5516)
13080 2010-02-14  Juri Linkov  <juri@jurta.org>
13082         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13083         Remove remaining ^H with their preceding chars.  (Bug#5566)
13085 2010-02-13  Glenn Morris  <rgm@gnu.org>
13087         * simple.el (transpose-subr): Give it a doc-string.
13089         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13090         Doc fixes.
13092 2010-02-12  Juri Linkov  <juri@jurta.org>
13094         * arc-mode.el (archive-unique-fname): Make directories for nested
13095         archives.  (Bug#5540)
13097 2010-02-12  Juri Linkov  <juri@jurta.org>
13099         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
13101 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13103         * subr.el (copy-overlay): Handle deleted overlays.
13105         * man.el (Man-completion-table): Don't signal an error if we can't run
13106         manual-program (bug#4056).
13108 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
13110         * textmodes/artist.el (artist-mt): Fix typos in docstring.
13112 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13114         * info.el (Info-bookmark-jump): Simplify.
13116         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13117         (bookmark-default-handler): Accept new bookmark field `buffer'.
13119 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
13121         * iswitchb.el (iswitchb-completions): Revert last change.
13123 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
13125         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13126         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13127         This prevents file names like "~/" being listed literally.
13129 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
13131         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13132         Remove dead code.  (Bug#5546)
13134 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
13136         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13137         correctly (Bug#5548).
13139 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
13141         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13142         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13144 2010-02-08  Kenichi Handa  <handa@m17n.org>
13146         * international/mule-util.el (with-coding-priority): Add autoload
13147         cookie for putting `lisp-indent-function'.
13149 2010-02-07  Glenn Morris  <rgm@gnu.org>
13151         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13152         Move F2003 named interfaces from keywords-2 to keywords-1, and
13153         use function-name-face rather than constant-face.
13154         Simplify "abstract interface" regexp.
13156 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
13158         * eshell/esh-util.el (eshell-file-attributes): New optional arg
13159         ID-FORMAT.  Pass it to `file-attributes'.
13161         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13163 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
13165         * faces.el (set-face-attribute): Allow calling
13166         internal-set-lisp-face-attribute with 'unspecified family and
13167         foundry argument (Bug#5536).
13169 2010-02-07  Glenn Morris  <rgm@gnu.org>
13171         * progmodes/f90.el (f90-font-lock-keywords-2)
13172         (f90-looking-at-type-like, f90-looking-at-program-block-end):
13173         Handle F2003 named interfaces.
13175 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
13177         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13178         beg and end before calling c-get-state-before-change-functions.
13180 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
13182         * vc-bzr.el (vc-bzr-dir-extra-headers):
13183         Disable the pending merges header.
13185 2010-02-05  Juri Linkov  <juri@jurta.org>
13187         * doc-view.el (doc-view-mode):
13188         * image-mode.el (image-mode): Put property mode-class=special.
13189         (Bug#4896)
13191 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
13193         * vc-svn.el (vc-svn-revision-table): New function.
13195 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
13197         * net/ange-ftp.el (ange-ftp-insert-directory):
13198         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13199         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13200         Handle also directories.  (Bug#5478)
13202 2010-02-05  Glenn Morris  <rgm@gnu.org>
13204         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13206 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
13208         * startup.el (command-line-1): Convert options beginning with a
13209         single dash as well (Bug#5519).
13211 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13213         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13214         * minibuffer.el (completion-initials-expand): Only check the presence
13215         of delims *within* the boundaries, since otherwise the / delim is
13216         always found for files.
13218         Fix up various corner case problems.
13219         * doc-view.el (doc-view-last-page-number): New function.
13220         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13221         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13222         (doc-view-kill-proc): Avoid inf-loop in freak cases.
13223         (doc-view-reconvert-doc): Use the new recursive delete-directory.
13224         (doc-view-convert-current-doc): Don't create the resolution.el file
13225         here any more.
13226         (doc-view-pdf/ps->png): Do it here instead.
13227         (doc-view-already-converted-p): Check that resolution.el is present.
13228         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13229         windows that are not yet showing images.
13231 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
13233         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13234         `dired-uncache' for every element which is an absolute file name.
13236         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13237         directory, handle its directory component.
13238         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13239         function is called permanently and creates noise, otherwise.
13241         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13242         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13243         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
13245 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
13247         * macros.el (apply-macro-to-region-lines):
13248         Minor simplification.  (Bug#5485)
13250 2010-02-04  Glenn Morris  <rgm@gnu.org>
13252         * mail/rmail.el (rmail-show-message-1): Handle malformed
13253         quoted-printable text.  (Bug#5441)
13255         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13257         * simple.el (visual-line-mode): Capitalize lighter.
13259 2010-02-03  John Wiegley  <jwiegley@gmail.com>
13261         * iswitchb.el (iswitchb-completions): Add bookmark files to the
13262         list of files considered for "virtual buffer" completions.
13264 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
13266         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13267         also in case of (and (not full) (not wildcard)).  This is needed
13268         when dired is called with a list of files, which are not in
13269         `default-directory'.  (Bug#5478)
13271 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13273         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13275 2010-02-02  Juri Linkov  <juri@jurta.org>
13277         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13278         from unidiff to allow function-line after @@.
13280 2010-02-02  Juri Linkov  <juri@jurta.org>
13282         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13283         '(RCS SCCS) with inverted condition.
13285 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
13287         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13288         messages.
13290 2010-02-01  Juri Linkov  <juri@jurta.org>
13292         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13293         compare with "pkunzip" and "pkzip" instead of only "pkzip".
13294         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13295         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
13297 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13299         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13300         (doc-view-revert-buffer): New command.
13301         (doc-view-mode-map): Use it.
13303 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
13305         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13306         pending merge is detected.
13308 2010-01-31  Juri Linkov  <juri@jurta.org>
13310         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13311         beginning of interactive spec like all other grep commands do.
13312         Put "all" in front of "gz".  (Bug#5260)
13314 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
13316         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13318 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
13320         * dirtrack.el (dirtrack): Warn instead of signaling error if the
13321         regexp is incorrect (Bug#5476).
13323 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
13325         * net/tramp.el (tramp-handle-insert-directory): Handle also
13326         symlinks, when FILENAME is not in `default-directory'.
13328 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13330         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13331         FILE is not in `default-directory'.  (Bug#5478)
13333         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13334         of SWITCHES.  Handle the case, FILENAME is not in
13335         `default-directory'.  (Bug#5478)
13336         (tramp-register-file-name-handlers): Add safe-magic property.
13338 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
13340         * arc-mode.el (archive-zip-extract): Quote the argument passed to
13341         unzip (Bug#5475).
13343 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
13345         * progmodes/flymake.el (flymake-allowed-file-name-masks)
13346         (flymake-master-make-header-init): Add other C++ filename masks.
13347         (flymake-find-possible-master-files)
13348         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13350 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13352         Fix some busybox annoyances.
13354         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13355         not responding." string.
13356         (tramp-open-connection-setup-interactive-shell): Dump stty
13357         settings.  Enable "neveropen" arg for all `tramp-send-command'
13358         calls.  Handle "=" in variable values properly.
13359         (tramp-find-inline-encoding): Raise an error, when no encoding is
13360         found.
13361         (tramp-wait-for-output): Check, whether PROC buffer is available.
13362         Remove spurious " ^H" sequences, sent by busybox.
13363         (tramp-get-ls-command): Suppress coloring, if possible.
13365 2010-01-28  Glenn Morris  <rgm@gnu.org>
13367         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
13369         * log-edit.el (log-edit-strip-single-file-name): Add missing
13370         :safe, :group, and :version tags.
13372 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
13374         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13375         buffers.  (Bug#5477)
13377 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
13379         * files.el (delete-directory): Handle moving to trash without
13380         first doing recursion (Bug#5436).
13382 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
13384         * vc-hooks.el (vc-path): Mark as obsolete.
13386 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
13388         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13389         names too.
13391         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13392         for the short log.
13393         (vc-bzr-log-view-mode): Adjust regexp for the above change.
13395 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
13397         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13399         * vc-bzr.el (vc-bzr-revision-table): New function.
13401 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
13403         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13404         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
13406 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
13408         Remove support for adding --signoff on commit.
13409         Future support will use an incompatible generic mechanism.
13410         * vc-git.el (vc-git-add-signoff): Remove variable.
13411         (vc-git-toggle-signoff): Remove function.
13412         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13414         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13415         Rename from xterm-set-background-mode.  Return t if the background mode
13416         was set.
13417         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13418         earlier, call it again in case the background mode has changed.
13420 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
13422         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13423         (Bug#3541).
13425 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
13427         * emacs-lisp/assoc.el (aelement): Doc fix.
13428         (aput, adelete, amake): Use lexical-let (Bug#5450).
13430 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
13432         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13433         is the same as subprogram call, not declaration.  (Bug#5435).
13435 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
13437         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13438         (tramp-smb-maybe-open-connection): Use it.
13440 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
13442         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
13444 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13446         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13447         just because we see "encoding: 8bit".
13448         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13450 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
13452         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13454 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
13456         * jka-compr.el (jka-compr-load): If load-file is not in
13457         load-history, try its file-truename version.  (bug#5447)
13459 2010-01-21  Alan Mackenzie  <acm@muc.de>
13461         Fix a situation where deletion of a cpp construct throws an error.
13462         * progmodes/cc-engine.el (c-invalidate-state-cache):
13463         Before invoking c-with-all-but-one-cpps-commented-out, check that the
13464         special cpp construct is still in the buffer.
13465         (c-parse-state): Record the special cpp with markers, not numbers.
13467 2010-01-21  Kenichi Handa  <handa@m17n.org>
13469         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13470         process last-command-event, as it is now decoded first (Bug#5380).
13472 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
13474         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13476 2010-01-20  Glenn Morris  <rgm@gnu.org>
13478         * indent.el (tab-always-indent): Fix custom-type.
13480 2010-01-19  Alan Mackenzie  <acm@muc.de>
13482         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13483         buffer throws "args out of range".
13484         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13485         playing the role of delimiter.
13487 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
13489         * progmodes/ada-mode.el: Fix bug#5400.
13490         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13491         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13492         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
13493         Improve comments in "is" portion.  Handle null procedure declaration.
13494         (ada-move-to-end): Improve doc string.
13496 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
13498         * ido.el (ido-cur-list): Initialize to nil.
13499         Remove obsolete information from commentary.
13500         (ido-choice-list): Initialize to nil.
13501         (ido-get-bufname): Reject minibuffers.
13502         (ido-make-buffer-list): If "default" is a nonexistent
13503         buffer, ignore it, as per the function's comment.
13504         (ido-kill-buffer-internal): New function.
13505         (ido-kill-buffer-at-head): Use it.
13506         (ido-visit-buffer): Likewise.
13508 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
13510         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13512 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
13514         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13515         Fix typos in chart titles.
13517         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13518         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13519         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13520         (describe-class, eieio-describe-generic, describe-generic):
13521         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13522         (eieio-speedbar-expand):
13523         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13524         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13525         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13526         (viper-del-backward-char-in-replace, viper-backward-indent)
13527         (viper-brac-function, viper-register-to-point, viper-submit-report):
13528         * net/tramp.el (tramp-remote-coding-commands):
13529         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13530         Fix typos in docstrings.
13532 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
13534         * mail/sendmail.el (mail-yank-original): Set the mark if the
13535         specified function for yanking does not do it.
13537 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
13539         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
13541         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13542         resyncing a directory.
13544 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
13546         * progmodes/ada-mode.el: Fix bug#1920.
13547         (ada-ident-re): Delete ., allow multibyte characters.
13548         (ada-goto-label-re): New; matches goto labels.
13549         (ada-block-label-re): New; matches block labels.
13550         (ada-label-re): New; matches both.
13551         (ada-named-block-re): Delete; callers changed to use
13552         `ada-block-label-re' instead.
13553         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13554         Use `ada-block-label-re'.
13555         (ada-indent-on-previous-lines): Improve handling of goto labels.
13556         (ada-get-indent-block-start): Special-case block label.
13557         (ada-get-indent-label): Split into `ada-indent-block-label' and
13558         `ada-indent-goto-label'.
13559         (ada-goto-stmt-start, ada-goto-next-non-ws):
13560         Optionally ignore goto labels.
13561         (ada-goto-next-word): Simplify.
13562         (ada-indent-newline-indent-conditional): Insert newline before
13563         trying to fix indentation; doc fix.
13565 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
13567         * calc/calc.el (calc-command-flags): Give it an initial value.
13569 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
13571         * files.el (minibuffer-with-setup-hook):
13572         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13573         (artist-key-draw-continously, artist-key-do-continously-continously)
13574         (artist-key-set-point-continously, artist-mouse-draw-continously):
13575         Fix typos in docstrings.
13577 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
13579         * nxml/nxml-mode.el (nxml-extend-after-change-region):
13580         Never return t (Bug#3898).
13582 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
13584         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13585         can parse the output of the external commands (Bug#5279).
13587 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
13589         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13591 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
13593         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13595         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13597         * startup.el (command-line): Remove unused --icon-type arg.
13598         Handle --display arg, passing it to command-line-1 (Bug#5392).
13600 2010-01-16  Mario Lang  <mlang@delysid.org>
13602         * emacs-lisp/chart.el (chart-translate-namezone):
13603         * textmodes/artist.el (artist-compute-popup-menu-table):
13604         Remove duplicated words in doc-strings.
13606 2010-01-15  David Abrahams  <dave@boostpro.com>
13608         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13609         to mairix-search to suppress threading (Bug#5342).
13611 2010-01-15  Kenichi Handa  <handa@m17n.org>
13613         * international/mule-cmds.el (canonicalize-coding-system-name):
13614         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13616 2010-01-15  Glenn Morris  <rgm@gnu.org>
13618         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
13620         * wid-edit.el (widget-keymap): Doc fix.
13622         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13623         former seems to be more widely accepted by various svn versions.
13625 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13627         * find-cmd.el (find-constituents):
13628         * vc-arch.el (vc-arch-root):
13629         * window.el (window-body-height, pop-up-frames):
13630         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13631         * progmodes/ada-stmt.el (ada-if):
13632         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13633         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13634         (ispell-encoding8-command, ispell-aspell-supports-utf8)
13635         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13637         * progmodes/flymake.el (flymake-post-syntax-check):
13638         Fix typo in error message.
13640 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13642         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13643         which is always a string.  (Bug#5313)
13645 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13647         * progmodes/ada-xref.el (ada-default-prj-properties):
13648         Simplify previous change.
13650 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13652         * progmodes/ada-xref.el (ada-default-prj-properties):
13653         Default ada_project_path to $ADA_PROJECT_PATH.
13655 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13657         * progmodes/ada-mode.el (ada-create-keymap):
13658         Override `narrow-to-defun' with `ada-narrow-to-defun'.
13660 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13662         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13663         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13664         (ada-get-current-indent, ada-imenu-generic-expression)
13665         (ada-which-function): Check for it.
13667 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13669         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13670         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13672 2010-01-14  Glenn Morris  <rgm@gnu.org>
13674         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
13676 2010-01-14  Kenichi Handa  <handa@m17n.org>
13678         * composite.el (auto-composition-mode): Make it a buffer local
13679         variable (permanent-local).
13680         (auto-composition-function): Set the default value to
13681         auto-compose-chars.
13682         (auto-composition-mode): Make it a simple function, not a minor mode.
13683         (global-auto-composition-mode): Likewise.
13684         (turn-on-auto-composition-if-enabled): Delete it.
13686 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
13688         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13690 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
13692         * files.el (copy-directory): Compute target for recursive
13693         directories with identical names.  (Bug#5343)
13695 2010-01-12  Glenn Morris  <rgm@gnu.org>
13697         * mail/emacsbug.el (report-emacs-bug-pretest-address):
13698         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13700 2010-01-11  Sam Steingold  <sds@gnu.org>
13702         * imenu.el (imenu-default-create-index-function): Detect infinite
13703         loops caused by imenu-prev-index-position-function.
13705 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13707         * htmlfontify.el (htmlfontify-load-rgb-file)
13708         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13709         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13710         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13711         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13712         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13713         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13714         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13715         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13716         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13717         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13718         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13719         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13720         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13721         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13722         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13723         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13724         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13725         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13726         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13727         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13728         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13729         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13730         backslash-quoting from parentheses, etc.
13732 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
13734         * progmodes/js.el: Autoload javascript-mode alias.
13736 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13738         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13739         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13740         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13741         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13742         Fix typos in docstrings.
13743         (ffap-url-regexp): Doc fix.
13744         (ffap-at-mouse): Fix typo in message.
13746 2010-01-11  Glenn Morris  <rgm@gnu.org>
13748         * version.el (emacs-copyright): Set copyright year to 2010.
13750 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13752         * format.el (format-annotate-function): Only set
13753         write-region-post-annotation-function after running to-fn so as not to
13754         affect nested write-region calls (bug#5273).
13756 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
13758         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13759         wisent/python.el.
13761 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13763         * man.el (Man-goto-section): Signal error if the section is not
13764         found (Bug#5317).
13766 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
13768         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13769         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
13771 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13773         * progmodes/compile.el: Don't treat compile-command as safe if
13774         compilation-read-command might be nil (Bug#4218).
13776 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
13778         * startup.el (command-line-1): Use orig-argi to check for ignored X and
13779         NS options.
13781 2010-01-08  Kenichi Handa  <handa@m17n.org>
13783         * international/fontset.el (build-default-fontset-data):
13784         Exclude characters in scripts kana, hangul, han, or cjk-misc.
13786 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
13788         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13789         to `create-file-buffer' as it expects, not just a buffer name.
13790         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13791         to help uniquify.  (Bug#3224)
13793 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
13795         * font-setting.el (font-setting-change-default-font): Use user-spec
13796         instead of name.
13798 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
13800         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13802 2010-01-05  Tom Tromey  <tromey@redhat.com>
13804         * progmodes/python.el (python-font-lock-keywords):
13805         Handle qualified decorators (Bug#881).
13807 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13809         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13810         in a lightweight checkout.
13812 2010-01-05  Kenichi Handa  <handa@m17n.org>
13814         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13816 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13818         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13820 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
13822         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13823         checkouts.  (Bug#618)
13824         (vc-bzr-log-view-mode): Also highlight the author.
13825         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13826         (vc-bzr-shelve-menu-map):
13827         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13828         (vc-bzr-shelve-apply): Make prompt more explicit.
13830 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
13832         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13833         They are valid characters in URL paths (rfc3986), and at least
13834         Firefox does not understand the encoded version (Bug#3166).
13836 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
13838         * progmodes/octave-mod.el (octave-end-keywords)
13839         (octave-block-begin-or-end-regexp, octave-block-match-alist):
13840         Add "end" keyword (Bug#3061).
13841         (octave-end-as-array-index-p): New function.
13842         (calculate-octave-indent): Use it.
13844 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13846         * bookmark.el: Consistently put the text property on the bookmark name.
13847         (bookmark-bmenu-marks-width): Bump back to 2, to include
13848         annotation marks.
13849         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13850         property on the bookmark name, instead of not putting it at all.
13851         (bookmark-bmenu-list): Fix where we put the text property.
13853 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13855         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13856         for showing buffer modified state (as added in the previous change).
13858 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13860         * bookmark.el: Show modified state of bookmark buffer more accurately.
13861         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13862         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13863         (with-buffer-modified-unmodified): New macro.
13864         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13865         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13866         Use new macro to preserve the buffer modified state.
13868 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13870         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13871         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13872         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13873         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13874         (bookmark-bmenu-rename, bookmark-bmenu-locate)
13875         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13876         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13878 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13880         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13881         Make the lines in the generated doc string shorter.  (Bug#4668)
13883 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
13885         * net/rcirc.el: Add follow-link binding (Bug#4738).
13887 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13889         * Makefile.in (bzr-update): Rename from cvs-update.
13890         (cvs-update): New target for backward compatibility.
13892         * makefile.w32-in (bzr-update): Rename from cvs-update.
13893         (cvs-update): New target for backward compatibility.
13895 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13897         * bookmark.el: Remove gratuitous gratitude.
13899 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13901         * bookmark.el (bookmark-bmenu-any-marks): New function.
13902         (bookmark-bmenu-save): Clear buffer modification if no marks.
13904 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13906         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13907         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13908         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13909         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13911         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13912         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13913         To: emacs-devel {_AT_} gnu.org
13914         Subject: bookmark.el bug report
13915         Date: Mon, 28 Dec 2009 14:19:16 +0800
13916         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13918 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13920         * bookmark.el: Improvements suggested by Drew Adams:
13921         (bookmark-bmenu-ensure-position): New name for
13922         `bookmark-bmenu-check-position'.  Just ensure the position,
13923         don't return any meaningful value.
13924         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13925         New constants.
13927 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
13929         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13930         (bookmark-yank-point, bookmark-bmenu-check-position):
13931         Fix typos in docstrings.
13932         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13933         (bookmark-name-from-full-record, bookmark-get-position)
13934         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13935         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13936         Remove useless quoting of parenthesis, etc. in docstrings.
13938         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13939         (ediff-append-custom-diff): Fix typo in error message.
13940         (ediff-meta-mark-equal-files): Fix typos in messages.
13942         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13944         * net/imap-hash.el (imap-hash-make): Doc fix.
13945         (imap-hash-test): Fix typo in error message; reflow docstring.
13946         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13947         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13948         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13949         Fix typos in docstrings.
13950         (imap-hash-open-connection): Fix typo in error message.
13952         * play/gomoku.el (gomoku): Fix typos in docstring.
13954         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13955         (gdb-jsonify-buffer): Fix typos in docstring.
13956         (gdb-goto-breakpoint): Fix typo in error message.
13957         ("Display Other Windows"): Fix typo in help message.
13958         (gdb-speedbar-expand-node): Fix typo in question.
13960         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13961         (idlwave-html-system-help-location, idlwave-html-help-location)
13962         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13963         (idlwave-help-browser-generic-args, idlwave-help-directory)
13964         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13965         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13966         (idlwave-online-help, idlwave-help-html-link)
13967         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13968         Fix typos in docstrings.
13969         (idlwave-help-with-source, idlwave-help-find-routine-definition):
13970         Reflow docstrings.
13971         (idlwave-help-assistant-start): Fix typo in error message.
13973         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13974         (octave-electric-space): Fix typos in docstrings.
13976 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
13978         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13980 2010-01-01  Juri Linkov  <juri@jurta.org>
13982         * comint.el (comint-input-ring-size): Make it a defcustom and
13983         increase the default to 500 (Bug#5148).
13985 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
13987         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13988         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13989         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13991 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
13993         Show working revision correctly for mercurial.
13994         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13995         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13997 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
13999         Declare some functions for the byte-compiler.
14000         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14001         (speedbar-timer-fn, speedbar-change-expand-button-char)
14002         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14004 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
14006         This changeset reverts GDB Graphical Interface to use annotations.
14007         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14009 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
14011         Make vc-dir work on subdirectories of the bzr root.
14012         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14013         Return file names relative to it.
14014         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14015         relative directory to vc-bzr-after-dir-status.
14017 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
14019         * font-lock.el (font-lock-refresh-defaults): New function, which
14020         can be used to let font-lock react to external changes in
14021         variables like font-lock-defaults and keywords.
14022         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14024 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
14026         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14028         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14030 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
14032         Supersede color.diff settings in git log (bug#5211).
14034         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14035         escape chars in its output when the user has color.diff set to `always'.
14036         This fix works on git 1.4.2 and newer (released on 2006-08-13).
14038 2009-12-26  Kevin Ryde  <user42@zip.com.au>
14040         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14041         node.  Keep previous "Index" name to work with past coreutils too.
14043         * man.el (man): Revise docstring a bit to show -a and -l as
14044         examples.  Add -k description since support for it has otherwise
14045         been a secret.  (Further to bug#3717.)
14046         (Man-bgproc-sentinel): When "-k foo" produces no output show error
14047         "no matches" rather than "Can't find manpage", as the latter reads
14048         like -k was interpreted as a page name, which is not so.  (Bug#5431)
14050 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
14052         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14053         switches.  Check also for //SUBDIRED// line.
14055 2009-12-25  Kenichi Handa  <handa@m17n.org>
14057         * language/indian.el (devanagari-composable-pattern): Fix to
14058         handle ZWNJ and ZWJ.  Use it in composition-function-table for
14059         Devanagari.
14060         (malayalam-composable-pattern): Fix previous change.
14062 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14064         * ps-print.el (ps-face-attributes): It was not returning the
14065         attribute face for faces specified as string.  Reported by harven
14066         <harven@free.fr>.  (Bug#5254)
14067         (ps-print-version): New version 7.3.5.
14069 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
14071         * calendar/icalendar.el (icalendar--convert-tz-offset):
14072         Fix timezone names.
14073         (icalendar--convert-tz-offset): Fix the "last-day-problem".
14074         (icalendar--add-diary-entry): Remove the trailing blank that
14075         diary-make-entry inserts.
14077 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
14079         Make `file-expand-wildcards' work for remote files.
14081         * files.el (file-expand-wildcards): In case of remote files, check
14082         only local file name part for wildcards.  Provide feature 'files
14083         and subfeature 'remote-wildcards.  (Bug#5198)
14085         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14086         if there is already an established connection.
14087         (tramp-advice-file-expand-wildcards): Remove it.
14089         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14090         (tramp-advice-file-expand-wildcards): Move from tramp.el.
14091         Activate advice for older GNU Emacs versions.  (Bug#5237)
14093 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
14095         Some doc fixes (more needed).
14097         * find-cmd.el (find-constituents): Reflow docstring.
14098         (find-cmd, find-prune, find-command): Fix typos in docstrings.
14099         (find-generic): Doc fix.
14101 2009-12-17  Juri Linkov  <juri@jurta.org>
14103         Fix regression from 23.1 to allow multiple modes in Local Variables.
14105         * files.el (hack-local-variables-filter): While ignoring duplicates,
14106         don't take `mode' into account.
14107         (hack-local-variables-filter, hack-dir-local-variables):
14108         Don't remove duplicate `mode' from local-variables-alist (like `eval').
14110 2009-12-17  Juri Linkov  <juri@jurta.org>
14112         Make `dired-diff' safer.  (Bug#5225)
14114         * dired-aux.el (dired-diff): Signal an error when `file' equals to
14115         `current' or when `file' is a directory of the `current' file.
14117 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
14119         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14120         unconditionally preloaded files.
14122 2009-12-16  Juri Linkov  <juri@jurta.org>
14124         Revert to old 23.1 logic of using the file at the mark as default.
14125         * dired-aux.el (dired-diff): Use the file at the mark as default
14126         if it's not the same as the current file, and the target dir is
14127         the current dir or the mark is active.  Add the current file
14128         as the arg of `dired-dwim-target-defaults'.  Use the default file
14129         in the prompt.  (Bug#5225)
14131 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
14133         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14134         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14135         (tramp-check-for-regexp): Check also, when an echoing shell stops
14136         to echo sent commands.
14138 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14140         * Makefile.in: Revert last change (Bug#5191).
14142 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
14144         * vc-hg.el (vc-hg-print-log): Fix argument order.
14145         (vc-hg-working-revision): Make sure the command is executed in a
14146         known environment so that we can parse the output.  (Bug#4417)
14148 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14150         * progmodes/python.el (python-symbol-completions): Remove text
14151         properties from symbol string before calling python-send-receive.
14153 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
14155         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14156         when there are values for both file and line.  (Bug#5060)
14158 2009-12-14  Juri Linkov  <juri@jurta.org>
14160         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14161         whitespace after the file name of the first line of unified format,
14162         because git-diff doesn't output whitespace and file modification time
14163         after the file name.
14165 2009-12-14  David Kastrup  <dak@gnu.org>
14167         * info.el (Info-hide-cookies-node): Before hiding a cookie,
14168         check if it already has the `display' property added by
14169         `Info-display-images-node', and not put the `invisible' property
14170         in this case.
14172 2009-12-13  Glenn Morris  <rgm@gnu.org>
14174         * mail/emacsbug.el (message-sort-headers): Define for compiler.
14175         (report-emacs-bug): In message-mode, sort manually before storing
14176         original report text.  (Bug#5178)
14177         Remove superfluous save-excursion.
14179 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
14181         * net/dbus.el (dbus-property-handler): Filter lambda forms out
14182         when responding to "GetAll" properties.
14184 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
14186         * simple.el (compose-mail): Remove mail-setup-with-from from
14187         customization checks.
14189 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
14191         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14192         RAR archives created on Unix systems.
14194 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14196         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14197         the varalias that was accidentally removed by the 2009-11-19 change
14198         (bug#5186).
14200 2009-12-12  Kenichi Handa  <handa@m17n.org>
14202         * language/indian.el (indian-compose-regexp): New function.
14203         (malayalam-composable-pattern): Fix the pattern.
14204         (composition-function-table): Set malayalam-composable-pattern for
14205         Malayalam characters.
14207 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
14209         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14210         rather than down-mouse-1, based on follow-link conventions.
14212         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14213         are compiled.
14215 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
14217         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14218         (verilog-vmm-statement-re, verilog-ovm-statement-re)
14219         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14220         (verilog-leap-to-head, verilog-backward-token):
14221         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
14223 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
14225         * progmodes/verilog-mode.el (verilog-auto-lineup)
14226         (verilog-nameable-item-re): Cleanup user-visible spelling and
14227         documentation errors.  One reported by Gary Delp.
14228         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14229         (verilog-read-decls): Fix AUTOWIRE with types declared in a
14230         package, bug195.  Reported by Pierre-David Pfister.
14232 2009-12-11  Glenn Morris  <rgm@gnu.org>
14234         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14236         * mail/emacsbug.el: No longer require sendmail.
14237         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
14238         (report-emacs-bug-orig-text): Doc fix.
14239         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14240         New local variables, to adapt to different mail-user-agents.
14241         (report-emacs-bug): Fix test for a gnu.org address.
14242         Use overlays for emphasis, since font-lock defeats 'face property.
14243         Pretest bugs also end up at the newsgroup these days.
14244         Stop message-mode stripping text properties.
14245         Set and use the new buffer-local variables.
14246         (report-emacs-bug-hook): Add doc-string.
14247         Remove some unnecessary save-excursions and simplify.
14248         Use the appropriate hook and send-command.
14250         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14251         capitalization of some menu entries.
14253 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14255         * whitespace.el (whitespace-display-char-on):
14256         Ensure `buffer-display-table' is unique when two or more windows are
14257         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14258         New version 12.1.
14260 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
14262         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14263         characters in the Attribute field.
14265 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
14267         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
14269 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14271         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14272         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14273         Disregard autoload-excludes.
14274         (update-directory-autoloads): Obey autoload-excludes here instead.
14275         But don't store its contents in no-autoloads and remove entries that
14276         refer to excludes files.
14278 2009-12-10  Glenn Morris  <rgm@gnu.org>
14280         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14281         (expand-mail-aliases): Define for compiler.
14283         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14284         Define for compiler.
14286         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14287         appropriate for the mail-user-agent in use.
14289 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
14291         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14293 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
14295         Fix short log parsing and fontification.
14296         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14297         Fix fontification for the [merge] label.
14299 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
14301         Drop some properties to avoid surprises (bug#5002).
14302         * htmlfontify.el (hfy-ignored-properties): New defcustom.
14303         (hfy-fontify-buffer): Use it.
14305 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14307         Minor cleanup.
14308         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14309         Adjust all callers.
14310         (ffap-locate-file): Remove unused arg `dir-ok' and make other
14311         args compulsory.  Adjust callers.
14312         (ffap-gopher-at-point): Remove unused var `name'.
14314         Get rid of the ELCFILES abomination.
14315         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14316         (compile-elcfiles): New phony target.
14317         (compile-main): Compute ELCFILES dynamically.
14318         (compile-clean): New target to remove left-over elc files.
14319         (compile, all): Use it.
14321 2009-12-09  Kenichi Handa  <handa@etlken>
14323         * international/mule-diag.el: Require help-mode instead of help-fns.
14325 2009-12-09  Kenichi Handa  <handa@m17n.org>
14327         * international/mule-cmds.el (ucs-names): Supply sufficiently
14328         fine ranges instead of pre-calculating accurate ranges.
14329         Iterate with bigger gc-cons-threshold.
14331 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
14333         Add support for stashing a snapshot of the current tree.
14334         * vc-git.el (vc-git-stash-snapshot): New function.
14335         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14337 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
14339         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14340         instead of `(beginning|end)-of-line'.
14342 2009-12-08  Glenn Morris  <rgm@gnu.org>
14344         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14346         * Makefile.in (ELCFILES): Regenerate.
14348 2009-12-07  Juri Linkov  <juri@jurta.org>
14350         Don't lazy-highlight the comint output in history Isearch mode.
14352         * comint.el (comint-history-isearch-search): Instead of
14353         `comint-line-beginning-position', use `comint-after-pmark-p'
14354         to check if point if before the process mark, and go to
14355         `process-mark' in this case.
14357 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14359         * textmodes/tex-mode.el (latex-complete)
14360         (latex-indent-or-complete): Remove.
14361         (latex-mode): Set completion-at-point-functions instead.
14363         Provide a standard completion command and hook it into TAB.
14364         * minibuffer.el (completion-at-point-functions): New var.
14365         (completion-at-point): New command.
14366         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14367         * progmodes/python.el (python-mode-map): Use completion-at-point.
14368         (python-completion-at-point): Rename from python-partial-symbol and
14369         adjust for use in completion-at-point-functions.
14370         (python-mode): Setup completion-at-point for Python completion.
14371         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14372         extracted from lisp-complete-symbol.
14373         (lisp-complete-symbol): Use it.
14374         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14375         setup completion-at-point for Elisp completion.
14376         (emacs-lisp-mode-map, lisp-interaction-mode-map):
14377         Use completion-at-point.
14378         * ielm.el (ielm-map): Use completion-at-point.
14379         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14380         * progmodes/sym-comp.el: Move to...
14381         * obsolete/sym-comp.el: Move from progmodes.
14383 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
14385         Prevent save-buffer in Rmail buffers from using the coding-system
14386         of the current message, and from clobbering the encoding mnemonics
14387         in the mode line (Bug#4623).
14389         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14390         flag, too.
14391         (rmail-message-encoding): New variable.
14392         (rmail-write-region-annotate): Record the encoding of the current
14393         message in rmail-message-encoding.
14394         (rmail-after-save-hook): New function, restores the encoding of
14395         the current message after the message collection is saved.
14397 2009-12-07  Juri Linkov  <juri@jurta.org>
14399         * progmodes/grep.el (grep-read-files): Use `completing-read'
14400         instead of `read-string'.  Set its `collection' arg to
14401         `read-file-name-internal'.  (Bug#4301)
14403 2009-12-07  Juri Linkov  <juri@jurta.org>
14405         Correctly restore original Isearch point.  (Bug#4994)
14407         * isearch.el (isearch-mode): Move `isearch-push-state' after
14408         `(run-hooks 'isearch-mode-hook)'.
14409         (isearch-cancel): When `isearch-push-state-function' is defined,
14410         let-bind `isearch-cmds' to the first state (the last element of
14411         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14412         function and restores the original point).  Otherwise, move point
14413         to `isearch-opoint'.
14415 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14417         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14418         chars that don't have names, so the table can be built much faster at
14419         run-time.
14421 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
14423         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14424         change.  Suggested by David Kastrup.
14426         * simple.el (compose-mail): Check for incompatibilities and warn.
14427         (compose-mail-user-agent-warnings): New option.
14429 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14431         Support showing a single log entry from vc-annotate.
14432         * vc.el (print-log): Add a new argument: START-REVISION.
14433         (vc-print-log-internal): Add a new optional argument and
14434         pass it to the backend.
14435         (vc-print-log, vc-print-root-log): Adjust callers.
14436         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14437         buffer already displays the requested log entry, use it.
14438         Otherwise display only the log entry in question.
14439         * vc-svn.el (vc-svn-print-log):
14440         * vc-mtn.el (vc-mtn-print-log):
14441         * vc-hg.el (vc-hg-state):
14442         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14443         (vc-git-show-log-entry): Return t on success.
14444         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14445         (vc-bzr-show-log-entry): Return t on success.
14446         * vc-rcs.el (vc-rcs-print-log):
14447         * vc-sccs.el (vc-sccs-print-log):
14448         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14450 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14452         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14453         Add menus to the meta mode.  (Bug#5043)
14455 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
14457         * ediff-init.el (ediff-event-key): Use event-to-character instead of
14458         event-key.
14460         * ediff.el (ediff-buffers-internal): Add unwind-protect.
14462 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
14464         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
14465         Berbain <raphael.berbain@gmail.com>.
14467         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
14468         characters.
14469         (tramp-initial-end-of-output): New defconst.
14470         (tramp-methods, tramp-find-shell)
14471         (tramp-open-connection-setup-interactive-shell)
14472         (tramp-maybe-open-connection): Use it.
14473         (tramp-shell-prompt-pattern, tramp-wait-for-output):
14474         Handle existence of `#' and `$'.
14476         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14477         Use `tramp-initial-end-of-output'.
14479 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14481         Get the background mode from the terminal for xterm, and set
14482         faces accordingly.
14483         * term/xterm.el (xterm-set-background-mode): New function.
14484         (terminal-init-xterm): Use it in case xterm supports background
14485         color queries.  Recompute faces after getting the background
14486         color.
14488 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
14490         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14491         number comment back on its own line, for easier parsing.
14493 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14495         Make it work for non-file buffers (bug#5102).
14496         * doc-view.el (doc-view-current-cache-dir):
14497         Use doc-view-buffer-file-name rather than buffer-file-name.
14498         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14500 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
14502         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14503         author field is too short.
14505 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
14507         * vc-git.el (vc-git-print-log): Handle a limit argument.
14508         Display the short log in graph form and with labels.
14509         (vc-git-log-view-mode): Handle labels.
14511         Make vc-revert change VC state from 'added to 'unregistered.
14512         * vc-git.el (vc-git-revert): Call git reset first.
14514 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14516         * net/newst-backend.el, net/newst-plainview.el:
14517         * net/newst-reader.el, net/newst-ticker.el:
14518         * net/newst-treeview.el, net/newsticker.el:
14519         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
14521 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14523         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14525         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14526         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
14527         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14528         Update annotation regexp.
14530         * simple.el (beginning-of-visual-line): Constrain to field
14531         boundaries (Bug#5106).
14533 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14535         * xml.el (xml-substitute-numeric-entities):
14536         Move newsticker--decode-numeric-entities in newst-backend.el to
14537         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14538         * net/newst-backend.el (newsticker--parse-generic-feed)
14539         (newsticker--parse-generic-items)
14540         (newsticker--decode-numeric-entities):
14541         Move newsticker--decode-numeric-entities in newst-backend.el to
14542         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14544 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
14546         * progmodes/js.el (js--js-not): Add null to the list of values.
14548 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14550         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14552 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14554         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14555         delimiter if it is at the end of the current line.
14556         (bibtex-generate-url-list): Fix docstring.
14558 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14560         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14561         minibuffer's content with itself.
14562         Fold the confirm-after-completion case into the `confirm' case.
14563         (completion-pcm-word-delimiters): Add : and / to the delimiters.
14565 2009-12-06  Kevin Ryde  <user42@zip.com.au>
14567         * ffap.el (ffap-rfc-path): Make this a defcustom since
14568         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
14570         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14571         manuals, similar to existing setup for help-mode.  (Bug#3913.)
14573 2009-12-05  Juri Linkov  <juri@jurta.org>
14575         Save and restore dired buffer's point positions too.  (Bug#4880)
14577         * dired.el (dired-save-positions): Return in the first element
14578         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14579         Doc fix.
14580         (dired-restore-positions): First restore buffer's position.
14581         While restoring window's positions, check if window still displays
14582         the original buffer.
14584 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
14586         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14587         if possible.
14589         * shell.el (shell): Require ansi-color (Bug#5113).
14591         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14593         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14595 2009-12-05  Alan Mackenzie  <acm@muc.de>
14597         * progmodes/cc-mode.el (c-before-hack-hook)
14598         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14599         `c-file-style' to work again.  This reversion restores the current
14600         software to its state in Emacs 23.1.  (Bug#4146)
14602 2009-12-05  Kevin Ryde  <user42@zip.com.au>
14604         * textmodes/sgml-mode.el (sgml-lexical-context):
14605         Recognize comment-start-skip to comment-end-skip as comment (Bug#4781).
14607 2009-12-05  Juri Linkov  <juri@jurta.org>
14609         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14610         for virtual nodes.  (Bug#4147)
14611         (Info-find-node-2): Set `Info-current-node-virtual' to nil
14612         when moving from a virtual node.
14613         (Info-mode-menu): Add `Info-virtual-index' to the menu.
14614         (Info-mode): Add `Info-virtual-index' to the docstring.
14616 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14618         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14619         track of the buffer position of the end of a BibTeX entry as this
14620         position may change during reformatting.
14621         (bibtex-format-entry): Remove whitespace before processing
14622         numerical fields so that we recognize the latter properly.
14623         (bibtex-reformat): Do not use push which changes the global value
14624         of bibtex-entry-format.
14625         (bibtex-field-braces-alist, bibtex-field-strings-alist)
14626         (bibtex-field-re-init): Replace only space characters by regexp
14627         for whitespace.
14628         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14629         (bibtex-initialize): Also update bibtex-strings.
14630         (bibtex-kill-field): Preserve white space at end of entry.
14631         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14632         Update bibtex-reference-keys.
14634 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14636         * minibuffer.el (completion-pcm--merge-try): Also consider placing
14637         point after a star, if that's the only place where modifications can
14638         make progress.
14640 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
14642         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14643         in docstrings.
14645 2009-12-04  Juri Linkov  <juri@jurta.org>
14647         * proced.el (proced): Call `(proced-update t)' to update process
14648         information instead of only running proced-post-display-hook.
14649         (proced-send-signal): Add a leading space to the buffer name
14650         " *Marked Processes*" to make this buffer ephemeral.
14652 2009-12-04  Juri Linkov  <juri@jurta.org>
14654         * dired.el (dired-auto-revert-buffer): New defcustom.
14655         (dired-internal-noselect): Use it.
14657 2009-12-04  Juri Linkov  <juri@jurta.org>
14659         Change roles of modes and functions in image-mode.el (Bug#5062).
14661         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14662         in `auto-mode-alist'.
14663         (image-mode-previous-major-mode): New variable.
14664         (image-minor-mode-map): Rename from `image-mode-text-map'.
14665         (image-mode): Move graceful error-handling code from
14666         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
14667         (image-minor-mode): Remove all image-handling code.
14668         Replace `image-mode-text-map' with `image-minor-mode-map'.
14669         Check for `image-type' in mode-line format string.
14670         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14671         (image-mode-as-text): New function with most code from
14672         `image-mode-maybe'.
14673         (image-toggle-display-text): Move code that removes image
14674         properties from `image-toggle-display' to here.
14675         (image-toggle-display-image): New function with code that adds
14676         image properties copied from `image-toggle-display'.
14677         (image-toggle-display): Remove most code with leaving only code
14678         that toggles between `image-mode-as-text' and `image-mode'.
14680 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
14682         * net/newst-treeview.el
14683         (newsticker--treeview-list-highlight-start): Restored call to
14684         save-excursion: Selected item was stuck.
14685         (newsticker--treeview-list-select): New.
14686         (newsticker--treeview-item-show-text)
14687         (newsticker--treeview-item-show)
14688         (newsticker--treeview-item-update): Use new
14689         newsticker-treeview-item-mode.
14690         (newsticker-treeview-update): Keep current item.
14691         (newsticker-treeview-next-new-or-immortal-item): Doc change.
14692         (newsticker--treeview-first-feed): Doc change.
14693         (newsticker-treeview-list-menu)
14694         (newsticker-treeview-item-menu): Add menu entries.
14695         (newsticker-treeview-item-mode): New.
14697         * net/newst-backend.el (newsticker-customize): Delete other
14698         windows.
14700 2009-12-04  Sam Steingold  <sds@gnu.org>
14702         * log-view.el (log-view-mode-map): "q" calls quit-window,
14703         like in all the other non-self-insert buffers.
14705 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14707         Minor cleanup.
14708         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14709         key decoding rather than do it manually via last-input-event +
14710         ascii-character.
14711         (term-exec): Use delete-and-extract-region.
14712         (term-handle-ansi-terminal-messages): Remove unused var `end'.
14713         (term-process-pager): Remove unused var `i'.
14714         (term-dynamic-simple-complete): Make obsolete.
14715         (serial-update-config-menu): Remove unused vars `y' and `str'.
14716         (term-update-mode-line): Remove unused var `temp'.
14718 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14720         Limit the number of log entries displayed by default.
14721         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14722         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14723         using a prefix argument.
14725 2009-12-03  Glenn Morris  <rgm@gnu.org>
14727         * progmodes/idlwave.el (class): Restore still useful declaration.
14729 2009-12-03  Alan Mackenzie  <acm@muc.de>
14731         Enhance `c-parse-state' to run efficiently in "brace deserts".
14733         * progmodes/cc-mode.el (c-basic-common-init):
14734         Call c-state-cache-init.
14735         (c-neutralize-syntax-in-and-mark-CPP): Rename from
14736         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
14737         placing `category' properties value 'c-cpp-delimiter at its boundaries.
14739         * progmodes/cc-langs.el (c-before-font-lock-function):
14740         c-extend-and-neutralize-syntax-in-CPP has been renamed
14741         c-neutralize-syntax-in-and-mark-CPP.
14743         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14744         with `category' properties now, not `syntax-table' ones.
14746         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14747         enhanced (but slower) version of c-end-of-macro that won't land
14748         inside a literal or on another awkward character.
14749         (c-state-cache-too-far, c-state-cache-start)
14750         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14751         (c-state-nonlit-pos-cache-limit, c-state-point-min)
14752         (c-state-point-min-lit-type, c-state-point-min-lit-start)
14753         (c-state-min-scan-pos, c-state-brace-pair-desert)
14754         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14755         buffer local variables.
14756         (c-state-literal-at, c-state-lit-beg)
14757         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14758         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14759         (c-state-cache-top-paren, c-state-cache-after-top-paren)
14760         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14761         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14762         (c-renarrow-state-cache)
14763         (c-append-lower-brace-pair-to-state-cache)
14764         (c-state-push-any-brace-pair, c-append-to-state-cache)
14765         (c-remove-stale-state-cache)
14766         (c-remove-stale-state-cache-backwards, c-state-cache-init)
14767         (c-invalidate-state-cache-1, c-parse-state-1)
14768         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14769         (c-parse-state): Enhance and refactor.
14770         (c-debug-parse-state): Amend to deal with all the new variables.
14772         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14773         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14774         modify to use category text properties rather than syntax-table ones.
14775         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14776         to switch off/on the syntactic paren property of C++ template
14777         delimiters using the category property.
14778         (c-with-<->-as-parens-suppressed): Macro to invoke code with
14779         template delims suppressed.
14780         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14781         New constant/macros which apply category properties to the start
14782         and end of preprocessor constructs.
14783         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14784         "comment out" the syntactic value of characters in preprocessor
14785         constructs.
14786         (c-with-cpps-commented-out)
14787         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14788         with characters in all or all but one preprocessor constructs
14789         "commented out".
14791 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14793         * proced.el (proced-filter-alist): Use regexp-quote.
14795 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
14797         Cleanup.
14798         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14799         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
14800         arguments.  Expand `default-directory'.
14802         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14803         the benefit of returning an expanded localname.
14804         (tramp-tramp-file-p): Handle the case NAME is not a string.
14806 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14808         Add support for bzr shelve/unshelve.
14809         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14810         (vc-bzr-extra-menu-map): New variables.
14811         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14812         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14813         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14814         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14815         (vc-bzr-dir-extra-headers): Display shelves.
14817         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14819 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14821         * textmodes/bibtex.el (bibtex-complete-internal):
14822         Use completion-in-region.
14823         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14825 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14827         Support applying stashes.  Improve UI.
14828         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14829         (vc-git-stash-apply, vc-git-stash-pop)
14830         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14831         (vc-git-stash-menu): New functions.
14832         (vc-git-stash-menu-map): New variable.
14833         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14835 2009-12-03  Glenn Morris  <rgm@gnu.org>
14837         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14838         (vc-print-log-internal): Fix previous change.
14839         (vc-revert): Correct pluralization.
14841 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14843         * progmodes/make-mode.el (makefile-special-targets-list): No need for
14844         it to be an alist any more.
14845         (makefile-complete): Use completion-in-region.
14847         * progmodes/octave-mod.el (octave-complete-symbol):
14848         Use completion-in-region.
14850         Misc cleanup.
14851         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14852         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14853         (idlwave-complete-class): Don't quote lambda.
14854         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14855         (idlwave-mode-map): Move initialization into declaration.
14856         (idlwave-action-and-binding): Use backquotes.
14857         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14858         Simplify.
14859         (idlwave-is-pointer-dereference): Remove unused var `pos'.
14860         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14861         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14862         `parts', and `all-parts'.
14863         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14864         (idlwave-convert-xml-system-routine-info): Remove unused string
14865         `version-string'.
14866         (idlwave-display-user-catalog-widget): Use dolist.
14867         (idlwave-scanning-lib): Declare dynamically-scoped var.
14868         (idlwave-scan-library-catalogs): Remove unused var `flags'.
14869         (completion-highlight-first-word-only): Declare to silence bytecomp.
14870         (idlwave-popup-select): Tighten scope of `resp'.
14871         (idlwave-find-struct-tag): Remove unused var `beg'.
14872         (idlwave-after-load-rinfo-hook): Declare.
14873         (idlwave-sintern-class-info): Remove unused var `taglist'.
14874         (idlwave-find-class-definition): Remove unused var `list'.
14875         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14876         (idlwave-what-module-find-class): Remove unused var `classes'.
14878 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
14880         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14882 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14884         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14885         buffers visited.  Remove redundant current-buffer-saving.
14887 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14889         Use completion-in-buffer and remove uses of dynamic scoping.
14890         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14891         (pascal-buffer-to-use, pascal-flag): Don't declare.
14892         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14893         (pascal-get-completion-decl, pascal-keyword-completion):
14894         Add `pascal-str' argument, save-excursion,
14895         return the found completions, and don't filter with pascal-pred.
14896         (pascal-completion-cache): New var.
14897         (pascal-completion): Don't switch buffer any more (it was never
14898         necessary).  Don't save-excursion any more (it's done by the called
14899         subroutines).  Use a cache to avoid redundant computations.
14900         Use complete-with-action rather than pascal-completion-response and
14901         let it apply the predicate as well.
14902         (pascal-complete-word): Use completion-in-buffer when
14903         pascal-toggle-completions is nil.
14904         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14905         not used any more.
14906         (pascal-comp-defun): Don't change buffer any more.
14907         Use complete-with-action rather than pascal-completion-response and
14908         let it apply the predicate as well.
14909         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14910         when neded.
14912 2009-12-02  Kenichi Handa  <handa@m17n.org>
14914         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14915         shape for all Indic scripts.
14917 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14919         Use completion-in-buffer.
14920         * wid-edit.el (widget-field-text-end): New function.
14921         (widget-field-value-get): Use it.
14922         (widget-string-complete, widget-file-complete)
14923         (widget-color-complete): Use it and completion-in-region.
14924         (widget-complete): Don't narrow the buffer.
14926 2009-12-02  Glenn Morris  <rgm@gnu.org>
14928         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
14929         (rmail-select-summary): Use rmail-pop-to-buffer.
14930         * mail/rmailsum.el: Replace all pop-to-buffer calls with
14931         rmail-pop-to-buffer, to prevent horizontal splits.
14933         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14934         save-excursion with save-current-buffer.
14935         Widen before searching.  (Bug#5093)
14936         (diary-list-sexp-entries): Remove superfluous save-excursion.
14938 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
14940         * woman.el (woman-make-bufname): Handle man-pages with "." in the
14941         name.  (Bug#5038)
14943 2009-12-02  Andreas Politz  <politza@fh-trier.de>
14945         * ido.el (ido-file-internal): Handle filenames at point that do
14946         not have a directory part.  (Bug#5049)
14948 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
14950         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14951         (mpc-songs-jump-to, mpc-resume): Doc fixes.
14953 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
14955         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14956         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14957         any more.
14959 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14961         * comint.el (comint-insert-input): Ignore clicks to the right of
14962         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14964         * vc.el (vc-print-log-internal): Don't wait for the process to
14965         terminate before setting up the major mode.
14967         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14968         in case.
14970         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14971         the last element.
14973         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14975 2009-12-01  Glenn Morris  <rgm@gnu.org>
14977         * window.el (window--display-buffer-2): Fix previous changes.
14979 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
14981         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14983 2009-12-01  Glenn Morris  <rgm@gnu.org>
14985         * Makefile.in (ELCFILES): Add mpc.elc.
14987 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14989         * mpc.el: New file.
14991 2009-12-01  Glenn Morris  <rgm@gnu.org>
14993         * window.el (window-to-use): Define for compiler.
14995         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14996         consistent with others (no final period).
14998         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14999         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
15001 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
15003         Make vc-print-log buttons work.
15004         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15006 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
15008         * savehist.el (savehist-autosave-interval): Allow setting to nil
15009         through customize.  (Bug#5056)
15011 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
15013         Fix references to jit-lock properties.
15014         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15015         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15016         (perl-font-lock-special-syntactic-constructs):
15017         Quote jit-lock-defer-multiline property.
15019 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
15021         * vc-git.el (vc-git-registered): Call vc-git-root only once.
15023 2009-11-30  Juri Linkov  <juri@jurta.org>
15025         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15026         value `buffer' of `multi-isearch-next-buffer-current-function'.
15027         Use `(current-buffer)' when `buffer' is nil.
15028         (multi-isearch-next-buffer-from-list): Don't fallback to
15029         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
15031 2009-11-30  Juri Linkov  <juri@jurta.org>
15033         * misearch.el (multi-isearch-read-buffers): Move canonicalization
15034         of buffers with `get-buffer' to `multi-isearch-buffers'.
15035         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15036         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
15037         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15038         FILES with `expand-file-name' converting relative file names
15039         to absolute.  Doc fix.  (Bug#4727)
15041 2009-11-30  Juri Linkov  <juri@jurta.org>
15043         * misearch.el (multi-isearch-read-buffers)
15044         (multi-isearch-read-matching-buffers): New functions.
15045         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15046         Use them in the `interactive' spec.  Doc fix.
15047         (multi-isearch-read-files, multi-isearch-read-matching-files):
15048         New functions.
15049         (multi-isearch-files, multi-isearch-files-regexp):
15050         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
15052 2009-11-30  Juri Linkov  <juri@jurta.org>
15054         * doc-view.el (doc-view-continuous):
15055         Rename from `doc-view-continuous-mode'.
15056         (doc-view-menu): Move "Toggle display" to the top.
15057         Add submenu "Continuous" with radio buttons "Off"/"On"
15058         and "Save as Default".
15059         (doc-view-scroll-up-or-next-page)
15060         (doc-view-scroll-down-or-previous-page)
15061         (doc-view-next-line-or-next-page)
15062         (doc-view-previous-line-or-previous-page):
15063         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
15065 2009-11-30  Juri Linkov  <juri@jurta.org>
15067         * comint.el (comint-mode-map): Rebind `M-r' from
15068         `comint-previous-matching-input' to
15069         `comint-history-isearch-backward-regexp'.
15070         Unbind `M-s' to allow global key binding `M-s'.
15071         Add menu items for `comint-history-isearch-backward' and
15072         `comint-history-isearch-backward-regexp'.  (Bug#3746)
15074 2009-11-30  Juri Linkov  <juri@jurta.org>
15076         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15077         For def=recenter, replace `recenter' with `recenter-top-bottom'
15078         that is called with `this-command' and `last-command' let-bound
15079         to `recenter-top-bottom'.  When the last `def' was not `recenter',
15080         set `recenter-last-op' to nil.  (Bug#4981)
15082 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15084         Minor cleanup and simplification.
15085         * filecache.el (file-cache-add-directory)
15086         (file-cache-add-directory-recursively)
15087         (file-cache-add-from-file-cache-buffer)
15088         (file-cache-delete-file-regexp, file-cache-delete-directory)
15089         (file-cache-files-matching-internal, file-cache-display): Use dolist.
15090         (file-cache-temp-minibuffer-message): Delete function.
15091         (file-cache-minibuffer-complete): Use minibuffer-message instead.
15093         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15094         Don't signal an error when bumping into EOB in tr, s, or y.
15096 2009-11-29  Juri Linkov  <juri@jurta.org>
15098         * startup.el (fancy-about-text): Fix wording of Guided Tour.
15099         (Bug#4960)
15101         * descr-text.el (describe-char-unidata-list): Use lowercase name
15102         for "Unicode name" like in other tags.
15104 2009-11-29  Juri Linkov  <juri@jurta.org>
15106         * ediff-util.el (ediff-minibuffer-with-setup-hook):
15107         New compatibility macro.
15108         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15110 2009-11-29  Juri Linkov  <juri@jurta.org>
15112         Add defcustom to define the cycling order of `recenter-top-bottom'.
15113         (Bug#4981)
15115         * window.el (recenter-last-op): Doc fix.
15116         (recenter-positions): New defcustom.
15117         (recenter-top-bottom): Rewrite to use `recenter-positions'.
15118         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15120 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
15122         Improve integration of Tramp and ange-ftp in eshell.
15124         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15125         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
15126         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
15128         * eshell/esh-util.el (top): Require also Tramp when compiling.
15129         (eshell-directory-files-and-attributes): Check for FTP remote
15130         connection.
15131         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15132         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15133         (eshell-file-attributes): Handle ".".  Return `entry'.
15135         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15136         (ange-ftp-directory-files-and-attributes)
15137         (ange-ftp-real-directory-files-and-attributes): New defuns.
15139         * net/tramp.el (tramp-maybe-open-connection): Open the remote
15140         shell with "exec" when possible.  This prevents trailing prompts
15141         in `start-file-process'.
15143 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15145         Try and remove assumptions about point-min==1.
15146         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15147         (rng-compute-mode-line-string): Show the validation percentage in
15148         terms of the narrowed text, not the widened text.
15149         (rng-do-some-validation): Don't catch internal errors when debugging.
15150         (rng-first-error): Simplify.
15151         (rng-after-change-function): Remove work around.  AFAIK the bug has
15152         been fixed a while ago.
15154         * image-mode.el (image-minor-mode): Exit more gracefully when the image
15155         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15157         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15159         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15160         `cd' doesn't always do it for us (bug#5067).
15162         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15163         on 2009-10-25 as part of some other change (bug#5067).
15165 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15167         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15168         `suspicious'.
15169         (byte-compile-warnings): Use byte-compile-warning-types.
15170         (byte-compile-save-excursion): Warn about use of set-buffer right
15171         after save-excursion.
15173         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15174         the excursion as well.
15176 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
15178         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15179         providing a Tramp related implementation of "su" and "sudo".
15180         (eshell-unix-initialize): Add "su" and "sudo".
15182 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
15184         * net/socks.el (socks-send-command): Convert binary request to
15185         unibyte before sending.  This fixes mishandling of some port
15186         numbers such as 129.
15188 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15190         * help.el (describe-bindings-internal): Remove `interactive'.
15192         * man.el (Man-completion-table): Trim a terminating "(".
15193         Remove the space between name page a section.
15194         Add the command's description on the `help-echo' property.
15195         Remove `process-connection-type' binding since it's unused by
15196         call-process.
15197         Provide completion for the "<section> <name>" format as well.
15198         (Man-default-man-entry): Remove spurious var shadowing the argument.
15200 2009-11-26  Kevin Ryde  <user42@zip.com.au>
15202         * log-view.el: Add "Keywords: tools", since its other keywords
15203         aren't in finder-known-keywords, and following vc.el.
15205         * sha1.el (sha1-string-external): default-directory "/" in case
15206         otherwise non-existent.  process-connection-type pipe for touch of
15207         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
15209 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15211         Misc coding convention cleanups.
15212         * htmlfontify.el (hfy-init-kludge-hook): Rename from
15213         hfy-init-kludge-hooks.
15214         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15215         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15216         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15217         and push.
15218         (hfy-slant, hfy-weight): Use tables rather than code.
15219         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15220         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15221         (hfy-face-attr-for-class): Initialize `face-spec' directly.
15222         (hfy-face-to-css): Remove `nconc' with single arg.
15223         (hfy-p-to-face-lennart): Use `or'.
15224         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
15225         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15226         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15227         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15228         (hfy-force-fontification): Use run-hooks.
15230 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
15232         Various minor fixes.
15233         * htmlfontify.el (hfy-default-header): Add toggle_invis since
15234         Javascript belongs in the header, not the body.
15235         (hfy-javascript): Remove.
15236         (hfy-fontify-buffer): Don't insert it any more.
15237         (hfy-face-at): Handle (face0 face1 face2) style face properties.
15238         Fix bug in invis handling when there were no invis props in a chunk.
15240 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15242         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15244 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
15246         * finder.el (finder-mode-map): Add a menu.
15248 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
15250         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15251         "unsigned" structs.
15253         (verilog-leap-to-head, verilog-backward-token): Handle "disable
15254         fork" statement better.
15256 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
15258         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15259         (verilog-delete-auto, verilog-delete-empty-auto-pair)
15260         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15261         Reported by Clay Douglass.
15263         (verilog-auto-inst, verilog-auto-star-safe)
15264         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15265         Fix removing "// Interfaces" when saving .* expansions.
15266         Reported by Pierre-David Pfister.
15268 2009-11-26  Glenn Morris  <rgm@gnu.org>
15270         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15271         the scope.
15273 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
15275         * vc-annotate.el (vc-annotate-revision-previous-to-line):
15276         Really use previous revision.
15278 2009-11-25  Kevin Ryde  <user42@zip.com.au>
15280         * man.el (Man-completion-table): default-directory "/" in case
15281         doesn't otherwise exist.  process-environment COLUMNS=999 so as
15282         not to truncate long names.  process-connection-type pipe to avoid
15283         any chance of hitting the pseudo-tty TIOCGWINSZ.
15284         (man): completion-ignore-case t for friendliness and since man
15285         itself is case-insensitive on the command line.
15286         Further to Bug#3717.
15288         * arc-mode.el: Add "Keywords: files", so the details in its
15289         commentary can be reached from finder-by-keyword.
15290         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
15291         editing mode, but it's comms related and sgml-mode.el has "comm"
15292         on that basis too.
15293         * textmodes/bibtex-style.el: Add "Keywords: tex".
15294         * international/isearch-x.el, international/ja-dic-cnv.el:
15295         * international/ja-dic-utl.el, international/kkc.el:
15296         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15298 2009-11-25  Juri Linkov  <juri@jurta.org>
15300         * man.el (Man-completion-table): Modify regexp to include
15301         section names to completion strings.  (Bug#3717)
15303 2009-11-25  Juri Linkov  <juri@jurta.org>
15305         Search recursively in gzipped files.  (Bug#4982)
15307         * progmodes/grep.el (grep-highlight-matches): Add new options
15308         `always' and `auto'.  Doc fix.
15309         (grep-process-setup): Check `grep-highlight-matches' for
15310         `auto-detect' to determine the need to compute grep defaults.
15311         Move Windows/DOS specific --colors settings handling
15312         to `grep-compute-defaults'.  Check `grep-highlight-matches'
15313         to get the value of "--color=".
15314         (grep-compute-defaults): Compute `grep-highlight-matches' when it
15315         has the value `auto-detect'.  Move Windows/DOS specific settings
15316         from `grep-process-setup'.
15317         (zrgrep): New command with alias `rzgrep'.
15319 2009-11-25  Juri Linkov  <juri@jurta.org>
15321         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15322         to nil instead of switching off view-mode.  (Bug#4896)
15324 2009-11-25  Juri Linkov  <juri@jurta.org>
15326         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
15328         * mwheel.el (mwheel-scroll-up-function)
15329         (mwheel-scroll-down-function): New defvars.
15330         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15331         `scroll-up', and `mwheel-scroll-down-function' instead of
15332         `scroll-down'.
15334         * doc-view.el (doc-view-scroll-up-or-next-page)
15335         (doc-view-scroll-down-or-previous-page): Add optional ARG.
15336         Use this ARG in the call to image-scroll-up/image-scroll-down.
15337         Change `interactive' spec to "P".  Goto next/previous page only
15338         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15339         SPC/DEL case).  Doc fix.
15340         (doc-view-next-line-or-next-page)
15341         (doc-view-previous-line-or-previous-page): Rename arg to ARG
15342         for consistency.
15343         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15344         `doc-view-scroll-up-or-next-page', and buffer-local
15345         `mwheel-scroll-down-function' to
15346         `doc-view-scroll-down-or-previous-page'.
15348 2009-11-25  Juri Linkov  <juri@jurta.org>
15350         Provide additional default values (directories at other Dired
15351         windows) via M-n in the minibuffer of some Dired commands.
15353         * dired-aux.el (dired-diff, dired-compare-directories)
15354         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15355         `minibuffer-default' in `minibuffer-with-setup-hook'.
15356         (dired-dwim-target-directory): Find a window that displays Dired
15357         buffer instead of failing when the next window is not Dired.
15358         Use `get-window-with-predicate' to find for the next Dired window.
15359         (dired-dwim-target-defaults): New function.
15361         * ediff-util.el (ediff-read-file-name):
15362         Use `dired-dwim-target-defaults' to set `minibuffer-default'
15363         in `minibuffer-with-setup-hook'.
15365 2009-11-25  Juri Linkov  <juri@jurta.org>
15367         Provide additional default values (file name at point or at the
15368         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
15370         * minibuffer.el (read-file-name-defaults): New function.
15371         (read-file-name): Reset `minibuffer-default' to nil when
15372         it duplicates initial input `insdef'.
15373         Bind `minibuffer-default-add-function' to lambda that
15374         calls `read-file-name-defaults' in `minibuffer-selected-window'.
15375         (minibuffer-insert-file-name-at-point): New command.
15377         * files.el (file-name-at-point-functions): New defcustom.
15378         (find-file-default): Remove defvar.
15379         (find-file-read-args): Don't use `find-file-default'.
15380         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15381         to `read-file-name'.
15382         (find-file-literally): Use `read-file-name' with
15383         `confirm-nonexistent-file-or-buffer'.
15385         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15387         * dired.el (dired-read-dir-and-switches):
15388         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15389         to `read-file-name'.
15390         (dired-file-name-at-point): New function.
15391         (dired-mode): Add hook `dired-file-name-at-point' to
15392         `file-name-at-point-functions'.
15394 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15396         Really make the *Completions* window soft-dedicated (bug#5030).
15397         * window.el (window--display-buffer-2): Add `dedicated' argument.
15398         (display-buffer): Pass it when needed so the dedicated flag is set
15399         after calling set-window-buffer, which would otherwise reset it.
15401 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15403         * progmodes/meta-mode.el (meta-complete-symbol):
15404         * progmodes/etags.el (complete-tag):
15405         * mail/mailabbrev.el (mail-abbrev-complete-alias):
15406         Use completion-in-region.
15408         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15409         (dabbrev-completion): Use completion-in-region.
15410         (dabbrev--abbrev-at-point): Simplify regexp.
15412         * abbrev.el (abbrev--before-point): Use word-motion functions
15413         if :regexp is not specified (bug#5031).
15415         * subr.el (string-prefix-p): New function.
15417         * man.el (Man-completion-cache): New var.
15418         (Man-completion-table): Use it.
15420         * vc.el (vc-print-log-internal): Make `limit' optional for better
15421         compatibility (e.g. with vc-annotate.el).
15423 2009-11-24  Kevin Ryde  <user42@zip.com.au>
15425         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15426         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
15428         * emacs-lisp/elint.el (elint-add-required-env): Better error message
15429         when .el source file not found or other error.
15431 2009-11-24  Markus Triska  <markus.triska@gmx.at>
15433         * linum.el (linum-update-window): Ignore intangible (bug#4996).
15435 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15437         Handle the [back] button properly (bug#4979).
15438         * descr-text.el (describe-text-properties): Add a `buffer' argument.
15439         Use help-setup-xref, help-buffer, and with-help-window.
15440         (describe-char): Add `buffer' argument.
15441         Pass proper command to help-setup-xref.  Don't meddle with
15442         help-xref-stack-item directly.
15443         (describe-text-category): Use with-help-window and help-buffer.
15445         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15446         for the displayed buffer (bug#4887).
15448         * man.el (Man-completion-table): New function.
15449         (man): Use it.
15451 2009-11-24  David Reitter  <david.reitter@gmail.com>
15453         * vc-git.el (vc-git-registered): Use checkout directory (where
15454         .git is) rather than the file's directory and a relative path spec
15455         to work around a bug in git.
15457 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
15459         Improve handling of processes on remote hosts.
15461         * eshell/esh-util.el (eshell-path-env): New defvar.
15462         (eshell-parse-colon-path): New defun.
15463         (eshell-file-attributes): Use `eshell-parse-colon-path'.
15465         * eshell/esh-ext.el (eshell-search-path):
15466         Use `eshell-parse-colon-path'.
15467         (eshell-remote-command): Remove argument HANDLER.
15468         (eshell-external-command): Check for FTP remote connection.
15470         * eshell/esh-proc.el (eshell-gather-process-output):
15471         Use `file-truename', in order to start also symlinked files.
15472         Apply `start-file-process' instead of `start-process'.
15473         Shorten `command' to the local file name part.
15475         * eshell/em-cmpl.el (eshell-complete-commands-list):
15476         Use `eshell-parse-colon-path'.
15478         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15480         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
15481         to `eshell-directory-change-hook'.
15483 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
15485         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15486         because it could be enabled automatically if view-read-only is non-nil.
15488 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
15490         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15491         made on 2009-11-22.
15493 2009-11-24  Glenn Morris  <rgm@gnu.org>
15495         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15496         deleted variable bookmark-bmenu-bookmark-column.
15498 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15500         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15502 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15504         * net/browse-url.el (browse-url-filename-alist): On Windows, add
15505         two slashes to the "file:" prefix.
15506         (browse-url-file-url): De-munge Cygwin filenames before passing
15507         them to Windows browser.
15508         (browse-url-default-windows-browser): Use call-process.
15510 2009-11-23  Juri Linkov  <juri@jurta.org>
15512         Implement DocView Continuous mode.  (Bug#4896)
15513         * doc-view.el (doc-view-continuous-mode): New defcustom.
15514         (doc-view-mode-map): Bind C-n/<down> to
15515         `doc-view-next-line-or-next-page', C-p/<up> to
15516         `doc-view-previous-line-or-previous-page'.
15517         (doc-view-next-line-or-next-page)
15518         (doc-view-previous-line-or-previous-page): New commands.
15520 2009-11-23  Juri Linkov  <juri@jurta.org>
15522         Implement Isearch in comint input history.  (Bug#3746)
15523         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15524         `isearch-mode-hook'.
15525         (comint-history-isearch): New defcustom.
15526         (comint-history-isearch-backward)
15527         (comint-history-isearch-backward-regexp): New commands.
15528         (comint-history-isearch-message-overlay): New buffer-local variable.
15529         (comint-history-isearch-setup, comint-history-isearch-end)
15530         (comint-goto-input, comint-history-isearch-search)
15531         (comint-history-isearch-message, comint-history-isearch-wrap)
15532         (comint-history-isearch-push-state)
15533         (comint-history-isearch-pop-state): New functions.
15535 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
15537         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15538         return.
15539         (tramp-handle-make-symbolic-link)
15540         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15541         Quote file names.
15542         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15543         (tramp-handle-process-file): Use it.
15545 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15547         * window.el (move-to-window-line-last-op): Remove.
15548         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15550 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
15552         Make M-r mirror the new cycling behavior of C-l.
15553         * window.el (move-to-window-line-last-op): New var.
15554         (move-to-window-line-top-bottom): New command.
15555         (global-map): Bind M-r move-to-window-line-top-bottom.
15557 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
15559         * dired-x.el (dired-guess-shell-alist-default):
15560         Support xz format.  (Bug#4953)
15562 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
15564         * emulation/viper-cmd.el: Use viper-last-command-char instead of
15565         last-command-char/last-command-event.
15566         (viper-prefix-arg-value): Do correct conversion of event-char for
15567         XEmacs.
15569         * emulation/viper-util.el, emulation/viper.el:
15570         Use viper-last-command-char instead of
15571         last-command-char/last-command-event.
15573         * ediff-init.el, ediff-mult.el, ediff-util.el:
15574         Replace last-command-char and last-command-event
15575         with (ediff-last-command-char) everywhere.
15577         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15578         created in fundamental mode.
15580         * ediff.el (ediff-version): Revert the change of interactive-p to
15581         called-interactively-p.
15583 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
15585         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15586         generation from word-movement command names.
15588 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
15590         * cus-start.el (all): Add native condition for font-use-system-font.
15592 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
15594         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15595         Correct the patch from 2009-11-18.  (Bug#3910)
15597 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
15599         * progmodes/subword.el: Rename from lisp/subword.el.
15601         * subword.el: Rename to progmodes/subword.el.
15603         * Makefile.in (ELCFILES): Adapt to subword.el move.
15605 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15606             Stefan Monnier  <monnier@iro.umontreal.ca>
15608         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15609         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15610         (bookmark-bmenu-show-filenames): Use push.
15611         (bookmark-bmenu-hide-filenames): Use local var instead of
15612         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
15613         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15614         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15615         filenames now that the bookmark names are always available.
15617 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15619         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15620         (bookmark-search-pattern): Move and leave unbound.
15621         (bookmark-bmenu-mode-map): Change binding.
15622         (bookmark-read-search-input): Simplify.
15623         Don't use text-char-description.  Don't error on non-char events.
15624         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15625         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15626         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15627         Use a local var for the timer.
15628         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15629         (i.e. bookmark-bmenu-search).
15631 2009-11-21  Glenn Morris  <rgm@gnu.org>
15633         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
15635 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15637         * net/browse-url.el (browse-url-default-windows-browser):
15638         Use cygstart for cygwin.
15640 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
15642         * bookmark.el: Formatting and doc fixes only:
15643         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15644         (bookmark-bmenu-search): Wrap to fit within 80 columns.
15645         Minor grammar and punctuation fixes in doc string.
15646         (bookmark-read-search-input): Adjust to fit within 80 columns.
15648 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15650         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15651         (c-backward-into-nomenclature): Adapt to subword renaming.
15653         * subword.el (subword-forward, subword-backward, subword-mark)
15654         (subword-kill, subword-backward-kill, subword-transpose)
15655         (subword-downcase, subword-upcase, subword-capitalize)
15656         (subword-forward-internal, subword-backward-internal):
15657         Rename from forward-subword, backward-subword, mark-subword,
15658         kill-subword, backward-kill-subword, transpose-subwords,
15659         downcase-subword, upcase-subword, capitalize-subword,
15660         forward-subword-internal, backward-subword-internal.
15662 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15664         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15665         New options.
15666         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15667         New vars.
15668         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15669         (bookmark-bmenu-filter-alist-by-regexp)
15670         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15671         (bookmark-bmenu-search): New command.
15672         (bookmark-bmenu-mode-map): Bind it.
15674 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15676         * progmodes/cc-cmds.el: declare-functioned forward-subword and
15677         backward-subword to quit the byte-compiler.
15679         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15681         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15683         * progmodes/cc-cmds.el (c-update-modeline)
15684         (c-forward-into-nomenclature, c-backward-into-nomenclature):
15685         Refer to subword.el functions instead of cc-subword.el.
15687         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15688         subword.el functions instead of cc-subword.el.
15690         * progmodes/cc-subword.el: Rename to subword.el.
15691         * subword.el: Rename from progmodes/cc-subword.el.
15692         (subword-mode-map): Rename from c-subword-mode-map.
15693         (subword-mode): Rename from c-subword-mode.
15694         (global-subword-mode): New global minor mode.
15695         (forward-subword): Rename from c-forward-subword.
15696         (backward-subword): Rename from c-backward-subword.
15697         (mark-subword): Rename from c-mark-subword.
15698         (kill-subword): Rename from c-kill-subword.
15699         (backward-kill-subword): Rename from c-backward-kill-subword.
15700         (transpose-subwords): Rename from c-tranpose-subword.
15701         (downcase-subword): Rename from c-downcase-subword.
15702         (capitalize-subword): Rename from c-capitalize-subword.
15703         (forward-subword-internal): Rename from c-forward-subword-internal.
15704         (backward-subword-internal): Rename from c-backward-subword-internal.
15706 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
15708         * vc.el (vc-deduce-fileset): Allow non-state changing operations
15709         from a dired buffer.
15710         (vc-dired-deduce-fileset): New function.
15711         (vc-root-diff, vc-print-root-log): Use it.
15713         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15714         nil LIMIT argument to vc-print-log-internal.
15716 2009-11-20  Glenn Morris  <rgm@gnu.org>
15718         * Makefile.in (ELCFILES): Regenerate.
15720 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
15722         * calc/calc.el (calc-set-mode-line):
15723         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15724         (math-format-number): Rename `math-format-complement-signed' to
15725         `math-format-twos-complement'.
15727         * calc/calc-bin.el (math-format-twos-complement): Rename from
15728         math-format-complement-signed.
15729         (calc-radix): Rename `calc-complement-signed-mode' to
15730         `calc-twos-complement-mode'.
15731         (calc-octal-radix, calc-hex-radix): Add an argument for
15732         two's complement.
15734         * calc/calc-embed.el (calc-embedded-mode-vars):
15735         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15737         * calc/calc-ext.el (calc-init-extensions):
15738         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15739         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15741         * calc/calc-units.el (math-build-units-table-buffer):
15742         Let `calc-twos-complement-mode' be nil.
15744         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15745         entries.
15747         * calc/calc-vec.el (calcFunc-vunpack):
15748         * calc/calc-aent.el (calc-do-calc-eval):
15749         * calc/calc-forms.el (math-format-date):
15750         * calc/calc-graph.el (calc-graph-plot):
15751         * calc/calc-math.el (math-use-emacs-fn):
15752         * calc/calccomp.el (math-compose-expr):
15753         Let `calc-twos-complement-mode' be nil.
15755 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15757         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15758         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
15759         * minibuffer.el (completion-in-region-functions): New hook.
15760         (completion-in-region): New function.
15761         * emacs-lisp/lisp.el (lisp-complete-symbol):
15762         * pcomplete.el (pcomplete-std-complete): Use it.
15764 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15766         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15767         (latex-complete-alist): New vars.
15768         (latex-string-prefix-p, latex-complete-bibtex-keys)
15769         (latex-complete-envnames, latex-complete-refkeys)
15770         (latex-complete-data): New functions.
15771         (latex-complete, latex-indent-or-complete): New commands.
15773         * window.el (display-buffer-mark-dedicated): New var.
15774         (display-buffer): Obey it.
15775         * minibuffer.el (minibuffer-completion-help): Use it.
15777         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15779         * filecache.el (file-cache-add-file): Use push and cons.
15780         (file-cache-delete-file-regexp): Use push.
15781         (file-cache-complete): Use completion-in-region.
15783         * simple.el (with-wrapper-hook): Fix thinko.
15785         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15786         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15787         Use with-current-buffer and string-to-number.
15788         (hfy-fallback-colour-values): Use assoc-string.
15789         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15790         (hfy-face-at): Remove unused var `found-face'.
15791         (hfy-compile-stylesheet): Remove unused var `css'.
15792         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15793         and `orig-buffer'.
15794         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15795         Use with-current-buffer.
15796         (hfy-text-p): Use expand-file-name and fewer setq.
15798 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
15800         * htmlfontify.el, hfy-cmap.el: New files.
15802 2009-11-19  Juri Linkov  <juri@jurta.org>
15804         * minibuffer.el (completions-format): New defcustom.
15805         (completion--insert-strings): Implement vertical format.
15807         * simple.el (switch-to-completions): Move point to the first
15808         completion when point was at the beginning of the buffer.
15810 2009-11-19  Juri Linkov  <juri@jurta.org>
15812         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
15814         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15816 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
15818         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15819         (mail-signature): Change default to t.
15820         (mail-from-style): Deprecate `system-default' value.
15821         (mail-insert-from-field): For default value of mail-from-style,
15822         default to `angles' unless `angles' needs quoting and `parens'
15823         does not.
15824         (mail-citation-prefix-regexp): Use citation regexp from
15825         message-mode.
15827 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
15829         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15830         Set variables for computing the prompt for reading password.
15832 2009-11-19  Glenn Morris  <rgm@gnu.org>
15834         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
15836         * textmodes/flyspell.el (sgml-lexical-context): Declare.
15838         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15839         (newsticker-treeview-listwindow-height): Fix custom type.
15841 2009-11-19  Kenichi Handa  <handa@m17n.org>
15843         * descr-text.el (describe-char-padded-string): Compose with TAB
15844         only if there's a font for CH.
15845         (describe-char): Fix the condition for detecting a trivial composition.
15847 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
15849         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15850         more accurate version of the regexp.  (Bug#3910)
15852 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15854         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15856 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
15858         * font-setting.el (font-use-system-font): Declare for byte-compiler.
15859         (font-setting-change-default-font): Fix typo in docstring.
15861 2009-11-18  Alan Mackenzie  <acm@muc.de>
15863         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15865 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15867         * font-setting.el (font-use-system-font): Move ...
15869         * cus-start.el (all): ... to here.
15871 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
15873         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15874         Don't set `ad-return-value' if `ad-do-it' doesn't.
15876         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15877         modification time.
15879 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15881         * menu-bar.el: Put "Use system font" in Option-menu.
15882         (menu-bar-options-save): Add font-use-system-font.
15884         * loadup.el: If feature system-font-setting or font-render-setting is
15885         there, load font-setting.
15887         * Makefile.in (ELCFILES): Add font-settings.el.
15888         * font-setting.el: New file.
15890 2009-11-17  Glenn Morris  <rgm@gnu.org>
15892         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15894         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15895         Preserve point in the list buffer.  (Bug#4939)
15896         Use point-at-eol.
15897         (newsticker--treeview-list-update-highlight)
15898         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15900 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15902         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15903         Remove.
15905         * calc/calc-ext.el (calc-init-extensions): Remove references to
15906         symclip.
15908         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15910         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15911         * calc/calc-help.el (calc-b-prefix-help): Remove references to
15912         `calc-symclip'.
15914 2009-11-16  Kevin Ryde  <user42@zip.com.au>
15916         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15917         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15919         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15920         (lm-keywords-list): Allow comma-only separator like "foo,bar".
15921         Ignore trailing spaces by omit-nulls to split-string (fixing
15922         regression from Emacs 21 due to the incompatible split-string
15923         change).  (Bug #4928.)
15925 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
15927         * vc.el (vc-log-show-limit): Default to 2000.
15928         (vc-print-log-internal): Insert buttons to request more entries
15929         when limiting the output.
15931         * vc-sccs.el (vc-sccs-print-log):
15932         * vc-rcs.el (vc-rcs-print-log):
15933         * vc-cvs.el (vc-cvs-print-log):
15934         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15935         LIMIT is non-nil.
15937 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15939         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15940         error when `tramp-gvfs-dbus-event-vector' is set.
15941         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15943 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15945         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15947 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15949         * net/dbus.el (dbus-unregister-service): New defun.
15950         (dbus-register-property): Register the handlers of
15951         "org.freedesktop.DBus.Properties" for SERVICE.
15952         (dbus-property-handler): Fix docstring.
15954 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15956         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15957         Quote doc string reference in defvaralias as it is not in special form.
15958         (byte-compile-output-docform): Doc fix.
15960 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15962         * calc/calc.el (math-2-word-size, math-half-2-word-size)
15963         (calc-complement-signed-mode): New variables.
15964         (calc-set-mode-line): Add indicator for twos-complements.
15965         (math-format-number): Format twos-complement notation.
15967         * calc/calc-bin.el (calc-word-size): Reset the variables
15968         `math-2-word-size' and `math-half-2-word-size'.
15969         (math-format-complement-signed, math-symclip, calcFunc-symclip)
15970         (calc-symclip): New functions.
15972         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15974         * calc/calc-embed.el (calc-embedded-mode-vars):
15975         Add `calc-complement-signed-mode' to the list of modes.
15977         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15978         (calc-b-oper-keys): Add `calc-symclip' to list.
15980         * calc/calc-ext.el (math-read-number-fancy): Read complement
15981         signed numbers.
15982         (calc-init-extensions): Add binding for `calc-symclip'.
15983         Add autoload for `calcFunc-symclip' and `calc-symclip'.
15985         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15986         `calc-symclip'.
15987         (calc-modes-menu): Add item for twos complement mode.
15989         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15991 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
15993         * register.el (jump-to-register, insert-register): Handle Semantic
15994         tags.  From commented-out advice in semantic/senator.el.
15996 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
15998         * vc.el (vc-log-show-limit): New variable.
15999         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
16000         when using a prefix argument.
16001         (vc-print-log-internal): Add new argument LIMIT.
16003         * vc-svn.el (vc-svn-print-log):
16004         * vc-mtn.el (vc-mtn-print-log):
16005         * vc-hg.el (vc-hg-print-log):
16006         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16007         pass it to the log command when set.  Make the BUFFER argument
16008         non-optional.
16010         * vc-sccs.el (vc-sccs-print-log):
16011         * vc-rcs.el (vc-rcs-print-log):
16012         * vc-git.el (vc-git-print-log):
16013         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16014         ignore it.  Make the BUFFER argument non-optional.
16016         * bindings.el (mode-line-buffer-identification): Do not purecopy.
16018 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16020         * dired.el (dired-mode-map): Move encryption items to "Operate"
16021         menu (Bug#4703).
16023         * strokes.el (strokes-update-window-configuration): Make strokes
16024         buffer current before erasing (Bug#4906).
16026 2009-11-15  Juri Linkov  <juri@jurta.org>
16028         * simple.el (set-mark-default-inactive): Add :type, :group
16029         and :version.  (Bug#4876)
16031 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
16033         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16034         (archive-unique-fname): ... here.  (Bug#4929)
16036 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16038         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16039         with a real fix.
16041         * novice.el (disabled-command-function): Add useful args.
16042         Setup the help buffer so that [back] works.
16043         Remove redundant call to help-mode.
16044         (disabled-command-function): Use `case'.
16045         (en/disable-command): New function extracted from enable-command.
16046         (enable-command, disable-command): Use it.
16048 2009-11-14  Glenn Morris  <rgm@gnu.org>
16050         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16051         constants.  (Bug#4913)
16053         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16055 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
16057         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16058         defined in C that have no doc-strings.  (Bug#1063)
16060 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
16062         * cus-edit.el (data, files):
16063         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
16065 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
16067         * simple.el (shell-command): Doc fix (Bug#4891).
16069         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16071 2009-11-14  Glenn Morris  <rgm@gnu.org>
16073         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16074         statements for vc-diff, emerge-quit, and rmail-cease-edit.
16075         If they are already loaded, eval-after-load will do the right thing.
16077         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16078         compiling.
16080         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16082         * simple.el (x-selection-owner-p): Declare.
16083         (read-mail-command): Use custom radio type rather than choice.
16084         (completion-no-auto-exit): Doc fix.
16086         * custom.el (defgroup):
16087         * epg-config.el (epg): Doc fixes.
16089 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
16091         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16092         * international/ccl.el (define-ccl-program): Do not purecopy the
16093         docstring, defconst does it anyway.
16095 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16097         * add-log.el (add-change-log-entry): Avoid displaying the changelog
16098         a second time.
16100         * x-dnd.el (x-dnd-maybe-call-test-function):
16101         * window.el (split-window-vertically):
16102         * whitespace.el (whitespace-help-on):
16103         * vc-rcs.el (vc-rcs-consult-headers):
16104         * userlock.el (ask-user-about-lock-help)
16105         (ask-user-about-supersession-help):
16106         * type-break.el (type-break-force-mode-line-update):
16107         * time-stamp.el (time-stamp-conv-warn):
16108         * terminal.el (te-set-output-log, te-more-break, te-filter)
16109         (te-sentinel, terminal-emulator):
16110         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16111         (term-write-input-ring, term-check-source, term-start-output-log):
16112         (term-display-buffer-line, term-dynamic-list-completions):
16113         (term-ansi-make-term, serial-term):
16114         * subr.el (selective-display):
16115         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16116         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16117         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16118         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16119         (speedbar-remove-localized-speedbar-support)
16120         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16121         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16122         (speedbar-buffers-line-directory):
16123         * simple.el (shell-command-on-region, append-to-buffer)
16124         (prepend-to-buffer):
16125         * shadowfile.el (shadow-save-todo-file):
16126         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16127         (scroll-bar-maybe-set-window-start):
16128         * sb-image.el (speedbar-image-dump):
16129         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16130         (load-save-place-alist-from-file):
16131         * ps-samp.el (ps-print-message-from-summary):
16132         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16133         (ps-background-image, ps-begin-job, ps-do-despool):
16134         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16135         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16136         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16137         (pr-call-process, pr-file-list, pr-interface-save):
16138         * novice.el (disabled-command-function)
16139         (enable-command, disable-command):
16140         * mouse.el (mouse-buffer-menu-alist):
16141         * mouse-copy.el (mouse-kill-preserving-secondary):
16142         * macros.el (kbd-macro-query):
16143         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16144         * informat.el (batch-info-validate):
16145         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16146         * hippie-exp.el (try-expand-dabbrev-visible):
16147         * help-mode.el (help-make-xrefs):
16148         * help-fns.el (describe-variable):
16149         * generic-x.el (bat-generic-mode-run-as-comint):
16150         * finder.el (finder-mouse-select):
16151         * find-dired.el (find-dired-sentinel):
16152         * filesets.el (filesets-file-close):
16153         * files.el (list-directory):
16154         * faces.el (list-faces-display, describe-face):
16155         * facemenu.el (list-colors-display):
16156         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16157         * epg.el (epg--process-filter, epg-cancel):
16158         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16159         (epa--read-signature-type):
16160         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16161         (emerge-file-names):
16162         * ehelp.el (electric-helpify):
16163         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16164         * ediff-vers.el (rcs-ediff-view-revision):
16165         * ediff-util.el (ediff-setup):
16166         * ediff-mult.el (ediff-append-custom-diff):
16167         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16168         (ediff-wordify):
16169         * echistory.el (Electric-command-history-redo-expression):
16170         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16171         * disp-table.el (describe-display-table):
16172         * dired.el (dired-find-buffer-nocreate):
16173         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16174         * dabbrev.el (dabbrev--same-major-mode-p):
16175         * chistory.el (list-command-history):
16176         * apropos.el (apropos-documentation):
16177         * allout.el (allout-obtain-passphrase):
16178         (allout-copy-exposed-to-buffer):
16179         (allout-verify-passphrase): Use with-current-buffer.
16181 2009-11-13  Glenn Morris  <rgm@gnu.org>
16183         * Makefile.in (ELCFILES): Regenerate.
16185 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
16187         * net/dbus.el (dbus-registered-objects-table): Rename from
16188         `dbus-registered-functions-table', because it contains also properties.
16189         (dbus-unregister-object): Unregister also properties.
16190         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16191         Use a timeout of 500 msec, in order to not block.
16192         (dbus-register-property, dbus-property-handler): New defuns.
16194 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16196         * simple.el (minibuffer-default-add-completions): Drop deprecated
16197         4th arg.
16199 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
16201         * textmodes/artist.el (artist-mouse-choose-operation):
16202         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16203         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16204         (artist-compute-up-event-key): New function.
16205         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16207 2009-11-13  Kenichi Handa  <handa@m17n.org>
16209         * language/japan-util.el: Make sure that the value of jisx0208
16210         property is jisx0208 character.
16212 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
16214         * international/mule.el (auto-coding-regexp-alist): Only purecopy
16215         car or each item, not the whole list.
16217 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16219         * minibuffer.el (minibuffer-completion-help):
16220         Use minibuffer-hide-completions.
16222 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
16224         * dired.el (dired-save-positions, dired-restore-positions): New funs.
16225         (dired-revert): Use them (bug#4880).
16227 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16229         * tooltip.el (tooltip-frame-parameters): Undo previous change.
16231 2009-11-12  Juri Linkov  <juri@jurta.org>
16233         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16234         New functions.
16235         (find-file-literally-at-point): Alias of `ffap-literally'.
16237 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16239         * textmodes/ispell.el (ispell-skip-region-alist):
16240         * textmodes/css-mode.el (auto-mode-alist):
16241         * progmodes/compile.el (auto-mode-alist):
16242         * international/mule.el (ctext-non-standard-encodings-alist)
16243         (ctext-non-standard-encodings-regexp):
16244         * simple.el (shell-command-switch, text-read-only):
16245         * replace.el (occur-mode-map):
16246         * paths.el (rmail-file-name):
16247         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16248         * find-file.el (ff-special-constructs):
16249         * files.el (file-name-handler-alist):
16250         * composite.el: Purecopy strings.
16252         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16254 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16256         * widget.el (define-widget): Purecopy the docstring.
16257         * international/mule-cmds.el (charset): Do not purecopy the
16258         docstring here, define-widget does it.
16260         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16261         * textmodes/bibtex-style.el (auto-mode-alist):
16262         * progmodes/inf-lisp.el (inferior-lisp-prompt):
16263         * progmodes/compile.el (compile-command):
16264         * language/korea-util.el (default-korean-keyboard):
16265         * international/mule-conf.el (file-coding-system-alist):
16266         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16267         * tooltip.el (tooltip-frame-parameters):
16268         * newcomment.el (comment-end, comment-padding):
16269         * dired.el (dired-trivial-filenames):
16270         * comint.el (comint-file-name-prefix): Purecopy initial values.
16272 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
16274         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16275         (tramp-advice-minibuffer-electric-tilde): Unload advices via
16276         `tramp-unload'.
16277         (tramp-advice-make-auto-save-file-name)
16278         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16279         after removing the advice.
16281 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16283         * progmodes/grep.el (grep-regexp-alist):
16284         * international/mule-cmds.el (iso-2022-control-alist):
16285         * emacs-lisp/timer.el (timer-duration-words):
16286         * subr.el (version-separator, version-regexp-alist):
16287         * minibuffer.el (completion-styles-alist):
16288         * faces.el (face-attribute-name-alist, list-faces-sample-text):
16289         Change defvars to defconsts.
16291         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16292         * loadup.el ("international/mule-conf"): Load the byte compiled version.
16293         * international/mule-conf.el: Allow to be byte compiled.
16295         * international/mule.el (define-charset): Purecopy props.
16296         (load-with-code-conversion): Purecopy doc string and file name.
16297         (put-charset-property): Purecopy strings.
16298         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16300         * international/mule-cmds.el (register-input-method): Purecopy arguments.
16301         (define-char-code-property): Correctly purecopy the table.
16303         * international/ccl.el (define-ccl-program): Purecopy the docstring.
16305         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16307         * subr.el (add-hook): Purecopy strings.
16308         (eval-after-load): Purecopy load-history-regexp and the form.
16310         * custom.el (custom-declare-group): Purecopy load-file-name.
16312         * subr.el (menu-bar-separator): New defconst.
16313         * net/eudc.el (eudc-tools-menu):
16314         * international/mule-cmds.el (set-coding-system-map)
16315         (mule-menu-keymap):
16316         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16317         * vc-hooks.el (vc-menu-map):
16318         * replace.el (occur-mode-map):
16319         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16320         (menu-bar-edit-menu, menu-bar-goto-menu)
16321         (menu-bar-custom-menu, menu-bar-showhide-menu)
16322         (menu-bar-options-menu, menu-bar-tools-menu)
16323         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16324         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16325         (menu-bar-help-menu):
16326         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16327         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16329         * term/x-win.el (x-gtk-stock-map):
16330         * progmodes/vera-mode.el (auto-mode-alist):
16331         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16332         (inferior-lisp-program, inferior-lisp-load-command):
16333         * progmodes/hideshow.el (hs-special-modes-alist):
16334         * progmodes/gud.el (same-window-regexps):
16335         * progmodes/grep.el (grep-program, find-program, xargs-program):
16336         * net/telnet.el (same-window-regexps):
16337         * net/rlogin.el (same-window-regexps):
16338         * language/ethiopic.el (font-ccl-encoder-alist):
16339         * vc-sccs.el (vc-sccs-master-templates):
16340         * vc-rcs.el (vc-rcs-master-templates):
16341         * subr.el (cl-assertion-failed):
16342         * simple.el (next-error-overlay-arrow-position):
16343         * lpr.el (lpr-command):
16344         * locate.el (locate-ls-subdir-switches):
16345         * info.el (same-window-regexps, info)
16346         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16347         * image-mode.el (image-mode, auto-mode-alist):
16348         * hippie-exp.el (hippie-expand-ignore-buffers):
16349         * format.el (format-alist):
16350         * find-dired.el (find-ls-subdir-switches, find-grep-options)
16351         (find-name-arg):
16352         * facemenu.el (facemenu-keybindings):
16353         * dired.el (dired-listing-switches, dired-chown-program):
16354         * diff.el (diff-switches, diff-command):
16355         * cus-edit.el (same-window-regexps):
16356         * bindings.el (mode-line-mule-info)
16357         (mode-line-buffer-identification): Purecopy strings.
16359 2009-11-11  Juri Linkov  <juri@jurta.org>
16361         * simple.el (dired-get-filename) <declare-function>:
16362         Tell the byte-compiler about dired-get-filename.
16363         (shell-command): In Dired mode, get filename from the current line
16364         as the default value.
16366 2009-11-10  Glenn Morris  <rgm@gnu.org>
16368         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16369         * calendar/holidays.el, progmodes/cperl-mode.el:
16370         Update x-popup-menu declarations.
16372         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16373         (list-load-path-shadows): Use dolist.
16374         (list-load-path-shadows): Use with-current-buffer.
16376 2009-11-10  Juri Linkov  <juri@jurta.org>
16378         * minibuffer.el (read-file-name): Support a list of default values
16379         in `default-filename'.  Use the first file name where only one
16380         element is required.  Doc fix.
16382 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
16384         * net/dbus.el (dbus-unregister-object): Release service, if no
16385         other method is registered for it.
16387 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
16389         * bookmark.el (bookmark-completing-read): Sort bookmark names if
16390         bookmark-sort-flag is non-nil (Bug#4653).
16392 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16394         * emulation/cua-base.el: Add CUA property to some CC mode commands
16395         (Bug#4100).
16397 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16399         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16400         at end of sentence (Bug#4818).
16402 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
16404         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16405         Handle "see declaration of" MSFT statements (Bug#4100).
16407 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
16409         * net/tramp.el (tramp-advice-make-auto-save-file-name)
16410         (tramp-advice-file-expand-wildcards): Unload via
16411         `ad-remove-advice'.
16413         * net/trampver.el: Update release number.
16415 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16417         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16418         `ad-do-it'.
16420 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
16422         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16423         in order to keep context in SELinux.
16425 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16427         * dired-aux.el (dired-query): Place cursor in echo area and allow
16428         C-g.
16430         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16431         menu item if not on a directory (Bug#4701).
16433 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
16435         Sync with Tramp 2.1.17.
16437         * net/tramp.el (tramp-handle-copy-directory): Don't use
16438         `file-remote-p' (due to compatibility).
16440         * net/tramp-compat.el (tramp-compat-copy-directory)
16441         (tramp-compat-delete-directory): New defuns.
16443         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16444         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16445         Use `tramp-compat-delete-directory'.
16447         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16448         (tramp-smb-handle-delete-directory):
16449         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16451         * net/trampver.el: Update release number.
16453 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
16455         * tar-mode.el (tar-copy): Call write-region on the right buffer
16456         (Bug#4857).
16458         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16459         by hand, if necessary (Bug#4878).
16461 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
16463         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16464         align size column (Bug#4839).
16466         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16467         statement.
16469 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16471         * progmodes/ld-script.el (auto-mode-alist):
16472         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16474         * cus-face.el (custom-declare-face): Purecopy face spec.
16476 2009-11-06  Kenichi Handa  <handa@m17n.org>
16478         * international/uni-bidi.el: Re-generated.
16479         * international/uni-category.el: Re-generated.
16480         * international/uni-combining.el: Re-generated.
16481         * international/uni-mirrored.el: Re-generated.
16483 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16485         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16486         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16487         (tex-start-options, slitex-run-command, latex-run-command)
16488         (tex-run-command, tex-directory):
16489         * textmodes/ispell.el (ispell-html-skip-alists)
16490         (ispell-tex-skip-alists, ispell-tex-skip-alists):
16491         * textmodes/fill.el (adaptive-fill-first-line-regexp):
16492         (adaptive-fill-regexp):
16493         * textmodes/dns-mode.el (auto-mode-alist):
16494         * progmodes/python.el (interpreter-mode-alist):
16495         * progmodes/etags.el (tags-compression-info-list):
16496         * progmodes/etags.el (tags-file-name):
16497         * net/browse-url.el (browse-url-galeon-program)
16498         (browse-url-firefox-program):
16499         * mail/sendmail.el (mail-signature-file)
16500         (mail-citation-prefix-regexp):
16501         * international/mule-conf.el (eight-bit):
16502         * international/latexenc.el (latex-inputenc-coding-alist):
16503         * international/fontset.el (x-pixel-size-width-font-regexp):
16504         * emacs-lisp/warnings.el (warning-type-format):
16505         * emacs-lisp/trace.el (trace-buffer):
16506         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16507         (emacs-lisp-mode-map):
16508         * calendar/holidays.el (holiday-solar-holidays)
16509         (holiday-bahai-holidays, holiday-islamic-holidays)
16510         (holiday-christian-holidays, holiday-hebrew-holidays)
16511         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16512         (hebrew-holidays-1, holiday-oriental-holidays)
16513         (holiday-general-holidays):
16514         * x-dnd.el (x-dnd-known-types):
16515         * tool-bar.el (tool-bar):
16516         * startup.el (site-run-file):
16517         * shell.el (shell-dumb-shell-regexp):
16518         * rfn-eshadow.el (file-name-shadow-tty-properties)
16519         (file-name-shadow-properties):
16520         * paths.el (remote-shell-program, news-directory):
16521         * mouse.el ([C-down-mouse-3]):
16522         * menu-bar.el (menu-bar-tools-menu):
16523         * jka-cmpr-hook.el (jka-compr-load-suffixes)
16524         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16525         (jka-compr-compression-info-list):
16526         * isearch.el (search-whitespace-regexp):
16527         * image-file.el (image-file-name-extensions):
16528         * find-dired.el (find-ls-option):
16529         * files.el (directory-listing-before-filename-regexp)
16530         (directory-free-space-args, insert-directory-program)
16531         (list-directory-brief-switches, magic-fallback-mode-alist)
16532         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16533         (automount-dir-prefix):
16534         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16535         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16536         (face-font-registry-alternatives, face-font-registry-alternatives)
16537         (face-font-family-alternatives):
16538         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16539         (facemenu-foreground-menu, facemenu-face-menu):
16540         * epa-hook.el (epa-file-name-regexp):
16541         * dnd.el (dnd-protocol-alist):
16542         * textmodes/rst.el (auto-mode-alist):
16543         * button.el (default-button): Purecopy strings.
16545 2009-11-06  Glenn Morris  <rgm@gnu.org>
16547         * Makefile.in (ELCFILES): Update.
16549 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16551         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16552         * emacs-lisp/levents.el: Move to obsolete/levents.el.
16554         * nxml/xsd-regexp.el (xsdre-gen-categories):
16555         * nxml/xmltok.el (xmltok-parse-entity):
16556         * nxml/rng-parse.el (rng-parse-validate-file):
16557         * nxml/rng-maint.el (rng-format-manual)
16558         (rng-manual-output-force-new-line):
16559         * nxml/rng-loc.el (rng-save-schema-location-1):
16560         * nxml/rng-cmpct.el (rng-c-parse-file):
16561         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16562         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16564 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
16566         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16567         Remove extra save-excursions and make-variable-buffer-local's.
16568         Suggested by Stefan Monnier.
16570         (verilog-getopt-file, verilog-module-inside-filename-p)
16571         (verilog-set-define): Merge GNU 1.35 and repair changes from
16572         switching to using with-current-buffer.
16574         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16575         being treated as a number and confusing AUTORESET.
16576         Reported by Dan Dever.
16578         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16579         Add verilog-auto-ignore-concat to fix backward compatibility with
16580         older verilog-modes.  Reported by Dan Katz.
16582         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16583         containing closing anchors "...$".
16585         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16586         Reported by Wade Smith.
16588         (verilog-batch-execute-func): Comment on function usage.
16590 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
16592         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16593         for labels.
16595         (verilog-label-re, verilog-calc-1): Support proper indent of named
16596         asserts.
16598         (verilog-backward-token, verilog-basic-complete-re)
16599         (verilog-beg-of-statement, verilog-indent-re): Support proper
16600         indent of the assert statement at the beginning of a block of text.
16602         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16603         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16604         tokens as begins.
16606 2009-11-05  Glenn Morris  <rgm@gnu.org>
16608         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16609         Emacs 19.  (Bug#1531)
16610         (byte-compile-fix-header): Update for the above change.
16611         Drop test for epoch::version.
16613         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16614         * cus-dep.el (custom-make-dependencies):
16615         * finder.el (finder-compile-keywords):
16616         Use autoload-rubric's feature argument.
16618         * calendar/diary-lib.el (top-level): Make load behave more like require.
16620         * vc-git.el (vc-git-stash-map): Move definition before use.
16622 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
16624         * custom.el (custom-declare-group): Purecopy standard-value.
16625         (custom-declare-group): Purecopy custom-prefix.
16627         * international/mule.el (load-with-code-conversion):
16628         Call do-after-load-evaluation unconditionally.
16630         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16632 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16634         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16636 2009-11-04  Glenn Morris  <rgm@gnu.org>
16638         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16639         (byte-compile-compatibility): Remove option.
16640         (byte-compile-close-variables, byte-compile-fix-header)
16641         (byte-compile-insert-header, byte-compile-output-docform)
16642         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16643         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16644         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16645         (byte-compile-insert, byte-compile-defun):
16646         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
16647         (byte-defop-compiler19): Remove.
16648         Without byte-compile-compatibility, the 'emacs19-opcode property is not
16649         used by anything.  Replace all calls with byte-defop-compiler.
16651 2009-11-04  Juri Linkov  <juri@jurta.org>
16653         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16654         (menu-bar-options-menu): Don't quote the `prop' arg of
16655         `menu-bar-make-mm-toggle'.
16657 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
16659         * calendar/calendar.el (cal-loaddefs):
16660         * calendar/diary-lib.el (diary-loaddefs):
16661         * calendar/holidays.el (hol-loaddefs):
16662         * eshell/esh-module.el (esh-groups): Load rather than require.
16664 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16666         * calendar/todo-mode.el (todo-add-category): Don't hardcode
16667         point-min==1.
16668         (todo-top-priorities): Only display-buffer when called interactively.
16669         (todo-item-start): Don't save excursion point.
16670         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
16671         (todo-insert-item-here, todo-file-item, todo-remove-item):
16672         Adjust uses of todo-item-start and todo-item-end.
16674         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16675         (autoload-rubric): Don't use any more.
16677         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16678         and only put a prop if it is non-nil.
16680 2009-11-03  Juri Linkov  <juri@jurta.org>
16682         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16683         (menu-bar-options-menu): Fix list quoting (Bug#4429).
16685         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16686         and "Menu" to make top-level menu item visually one unit (like
16687         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16688         multi-word menu items).  Fix :help string for quit-window.
16690 2009-11-03  Glenn Morris  <rgm@gnu.org>
16692         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16693         (byte-compile-file-form-define-abbrev-table)
16694         (byte-compile-file-form-custom-declare-variable)
16695         (byte-compile-variable-ref, byte-compile-defvar):
16696         Whether or not a warning is enabled should only affect whether we issue
16697         the warning, not whether or not we collect the relevant data.
16698         Eg warnings can be turned on and off throughout the course of a file.
16700         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16701         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16703 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16705         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16706         * play/mpuz.el (mpuz-create-buffer):
16707         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16708         (lm-print-y,s,noise, lm-print-w0, lm-init):
16709         * play/gomoku.el (gomoku-prompt-for-move):
16710         * play/fortune.el (fortune-in-buffer):
16711         * play/dissociate.el (dissociated-press):
16712         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16713         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16714         * mail/supercite.el (sc-eref-show):
16715         * mail/smtpmail.el (smtpmail-send-it):
16716         * mail/rmailsum.el (rmail-summary-next-labeled-message)
16717         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16718         (rmail-summary-undelete-many, rmail-summary-rmail-update)
16719         (rmail-summary-goto-msg, rmail-summary-expunge)
16720         (rmail-summary-get-new-mail, rmail-summary-search-backward)
16721         (rmail-summary-add-label, rmail-summary-output-menu)
16722         (rmail-summary-output-body):
16723         * mail/rfc822.el (rfc822-addresses):
16724         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16725         * mail/mailpost.el (post-mail-send-it):
16726         * mail/hashcash.el (hashcash-generate-payment):
16727         * mail/feedmail.el (feedmail-run-the-queue)
16728         (feedmail-queue-send-edit-prompt-help-first)
16729         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16730         (feedmail-deduce-address-list):
16731         * eshell/esh-ext.el (eshell-remote-command):
16732         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16733         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16734         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16735         (viper-save-string-in-file, viper-valid-marker):
16736         * emulation/viper-keym.el (viper-toggle-key):
16737         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16738         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16739         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16740         * emulation/viper-cmd.el (viper-exec-form-in-vi)
16741         (viper-exec-form-in-emacs, viper-brac-function):
16742         * emulation/viper.el (viper-delocalize-var):
16743         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16744         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16745         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16746         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16747         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16748         * emulation/edt.el (edt-electric-helpify):
16749         * emulation/cua-rect.el (cua--rectangle-aux-replace):
16750         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16751         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16752         (cua-indent-to-global-mark-column):
16753         * calendar/diary-lib.el (calendar-mark-1):
16754         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16755         Use with-current-buffer.
16756         * emulation/viper.el (viper-delocalize-var): Use dolist.
16758 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
16760         * comint.el (comint-replace-by-expanded-history-before-point):
16761         Replace !! with the previous input string literally (Bug#1795).
16763 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
16765         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16766         to be made up of whitespace.
16768 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
16770         * minibuffer.el (read-file-name): Don't use file dialogs for
16771         remote directories (Bug#99).
16773 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
16775         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16777 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16779         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16780         instead of deleting the window or frame.
16782 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16784         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16785         Support face colors.
16787         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16788         New function.  Support face colors (Bug#1168).
16789         (tex-common-initialization): Use it.
16791         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16792         mode allows it (Bug#1168).
16794 2009-10-31  Juri Linkov  <juri@jurta.org>
16796         * facemenu.el (list-colors-display): Don't mark buffer as
16797         modified (Bug#3948).
16799 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16801         * international/mule-diag.el (list-character-sets-1):
16802         Minor message fix (Bug#3526).
16804         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16805         Fix face property (Bug#4834).
16806         (etags-list-tags, etags-tags-apropos-additional)
16807         (etags-tags-apropos, tags-select-tags-table): Add follow-link
16808         property.
16810         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16811         items.
16813 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16815         * textmodes/two-column.el (2C-split):
16816         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16817         * textmodes/tex-mode.el (tex-set-buffer-directory):
16818         * textmodes/spell.el (spell-region, spell-string):
16819         * textmodes/reftex.el (reftex-erase-buffer):
16820         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16821         * textmodes/reftex-toc.el (reftex-toc-promote-action):
16822         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16823         (reftex-select-item):
16824         * textmodes/reftex-ref.el (reftex-label-info-update)
16825         (reftex-offer-label-menu):
16826         * textmodes/reftex-index.el (reftex-index-change-entry)
16827         (reftex-index-phrases-info):
16828         * textmodes/reftex-global.el (reftex-create-tags-file)
16829         (reftex-save-all-document-buffers, reftex-ensure-write-access):
16830         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16831         (reftex-view-crossref-from-bibtex):
16832         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16833         (reftex-extract-bib-entries-from-thebibliography)
16834         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16835         * textmodes/refbib.el (r2b-capitalize-title):
16836         (r2b-convert-buffer, r2b-help):
16837         * textmodes/page-ext.el (pages-directory)
16838         (pages-directory-goto-with-mouse):
16839         * textmodes/bibtex.el (bibtex-validate-globally):
16840         * textmodes/bib-mode.el (bib-capitalize-title):
16841         * textmodes/artist.el (artist-clear-buffer, artist-system):
16842         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16843         (local-set-scheme-interaction-buffer, xscheme-process-filter)
16844         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16845         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16846         (xscheme-send-control-g-interrupt, xscheme-start-process)
16847         (xscheme-process-sentinel, xscheme-cd):
16848         * progmodes/verilog-mode.el (verilog-read-always-signals)
16849         (verilog-set-define, verilog-getopt-file)
16850         (verilog-module-inside-filename-p):
16851         * progmodes/sh-script.el:
16852         * progmodes/python.el (python-pdbtrack-get-source-buffer)
16853         (python-pdbtrack-grub-for-buffer, python-execute-file):
16854         * progmodes/octave-inf.el (inferior-octave):
16855         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16856         (idlwave-shell-compile-helper-routines, idlwave-set-local)
16857         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16858         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16859         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16860         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16861         (idlwave-shell-filter, idlwave-shell-examine-highlight)
16862         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16863         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16864         (idlwave-shell-examine-display, idlwave-shell-run-region)
16865         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16866         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16867         * progmodes/idlw-help.el (idlwave-help-get-special-help)
16868         (idlwave-help-get-help-buffer):
16869         * progmodes/gud.el (gud-basic-call, gud-find-class)
16870         (gud-tooltip-activate-mouse-motions-if-enabled):
16871         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16872         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16873         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16874         (ebrowse-tags-next-file):
16875         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16876         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16877         (ebnf-eps-finish-and-write):
16878         * progmodes/cpp.el (cpp-edit-save):
16879         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16880         * progmodes/cc-defs.el (c-emacs-features):
16881         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16882         (antlr-directory-dependencies):
16883         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16884         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16885         (ada-find-any-references, ada-make-filename-from-adaname)
16886         (ada-make-body-gnatstub):
16887         * obsolete/rnews.el (news-list-news-groups):
16888         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16889         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16890         * net/rcirc.el (rcirc-debug):
16891         * net/newst-treeview.el (newsticker--treeview-list-add-item)
16892         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16893         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16894         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16895         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16896         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16897         (newsticker--treeview-list-clear-highlight)
16898         (newsticker--treeview-list-update-highlight)
16899         (newsticker--treeview-list-highlight-start)
16900         (newsticker--treeview-tree-update-highlight)
16901         (newsticker--treeview-get-selected-item)
16902         (newsticker-treeview-mark-list-items-old)
16903         (newsticker--treeview-set-current-node):
16904         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16905         * net/newst-backend.el (newsticker--get-news-by-funcall)
16906         (newsticker--get-news-by-wget, newsticker--image-get)
16907         (newsticker--image-sentinel):
16908         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16909         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16910         (eudc-ph-close-session):
16911         * net/eudc.el (eudc-save-options):
16912         * language/thai-word.el (thai-update-word-table):
16913         * language/japan-util.el (japanese-string-conversion):
16914         * international/titdic-cnv.el (tsang-quick-converter)
16915         (ziranma-converter, ctlau-converter):
16916         * international/mule-cmds.el (describe-language-environment):
16917         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16918         (skkdic-convert-postfix, skkdic-convert-prefix):
16919         (skkdic-convert-okuri-nasi, skkdic-convert):
16920         * emacs-lisp/re-builder.el (reb-update-overlays):
16921         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16922         * emacs-lisp/gulp.el (gulp-send-requests):
16923         * emacs-lisp/find-gc.el (trace-call-tree):
16924         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16925         (eieio-describe-generic):
16926         * emacs-lisp/eieio-base.el (eieio-persistent-read):
16927         * emacs-lisp/edebug.el (edebug-outside-excursion):
16928         * emacs-lisp/debug.el (debugger-make-xrefs):
16929         * emacs-lisp/cust-print.el (custom-prin1-to-string):
16930         * emacs-lisp/chart.el (chart-new-buffer):
16931         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16932         Use with-current-buffer.
16933         * textmodes/artist.el (artist-system): Don't call
16934         copy-sequence on a fresh string.
16935         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16937 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
16939         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16940         is no item to edit.  (Bug#4820)
16941         (todo-top-priorities): Restore point and restore narrowing in Todo
16942         buffer.  (Bug#4820)
16944 2009-10-31  Glenn Morris  <rgm@gnu.org>
16946         * net/ange-ftp.el (top-level): Don't require dired when compiling.
16947         (comint-last-output-start, comint-last-input-start)
16948         (comint-last-input-end): Don't defvar when compiling.
16949         (ange-ftp-process-file): Use bound-and-true-p.
16951         * pcmpl-rpm.el (top-level): Move provide statement to end.
16952         (pcmpl-rpm): Remove unused custom group.
16954         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16956         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16958         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16959         (byte-compile-warnings): Add `constants' as an option.
16960         (byte-compile-callargs-warn, byte-compile-arglist-warn)
16961         (display-call-tree): Update for byte-compile-fdefinition possibly
16962         returning `(macro lambda ...)'.  (Bug#4778)
16963         (byte-compile-variable-ref, byte-compile-setq-default):
16964         Respect `constants' member of byte-compile-warnings.
16966 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16968         * vc-bzr.el (vc-bzr-revision-keywords): New var.
16969         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16970         to "submit:".
16972 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
16974         * textmodes/ispell.el (ispell-skip-region-alist):
16975         * international/mule-conf.el (eight-bit):
16976         * international/fontset.el (font-encoding-alist):
16977         * startup.el (pure-space-overflow-message):
16978         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16979         * paths.el (gnus-nntp-service, rmail-spool-directory)
16980         (term-file-prefix):
16981         * files.el (save-some-buffers-action-alist):
16982         * cmuscheme.el (same-window-buffer-names):
16983         * ielm.el (same-window-buffer-names):
16984         * shell.el (same-window-buffer-names):
16985         * mail/sendmail.el (same-window-buffer-names):
16986         * progmodes/inf-lisp.el (same-window-buffer-names):
16987         * bindings.el (mode-line-client)
16988         (mode-line-column-line-number-mode-map):
16989         * language/tibetan.el (tibetan-precomposition-rule-regexp)
16990         (tibetan-precomposed-regexp): Purecopy string arguments.
16992 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16994         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16995         (calcDigit-nondigit):
16996         * calc/calc-yank.el (calc-copy-to-buffer):
16997         * calc/calc-units.el (calc-invalidate-units-table):
16998         * calc/calc-trail.el (calc-trail-yank):
16999         * calc/calc-store.el (calc-insert-variables):
17000         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17001         * calc/calc-prog.el (calc-read-parse-table):
17002         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17003         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17004         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17005         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17006         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17007         (calc-graph-name, calc-graph-find-command, calc-graph-view)
17008         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17009         * calc/calc-ext.el (calc-realign):
17010         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17011         (calc-embedded-finish-edit, calc-embedded-make-info)
17012         (calc-embedded-finish-command, calc-embedded-stack-change):
17013         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17015         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17016         shell-dynamic-complete-filename in preference to
17017         comint-dynamic-complete-filename.
17019         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17020         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17021         Don't consider whether the display supports colors.
17022         (bookmark-import-new-list): Use dolist.
17023         (bookmark-bmenu-mode-map): Move initialization into declaration.
17024         (bookmark-bmenu-list): Use dolist, simplify.
17025         (bookmark-show-all-annotations): Use save-selected-window and dolist.
17026         (menu-bar-final-items): Use push.
17028 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
17030         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17031         it works on remote files.
17032         (vc-hg-diff): Don't pass any `--cwd' argument.
17034 2009-10-27  Kevin Ryde  <user42@zip.com.au>
17036         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17037         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17038         (Further to Bug#3921).
17040 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
17042         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17043         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17044         calling `tramp-imap-put-file'.  Add file size to the call.
17045         (tramp-imap-get-file-entries): Compute also user name, file size,
17046         and date.
17047         (tramp-imap-handle-insert-directory): Insert uid and gid.
17048         (tramp-imap-handle-file-attributes): Transform uid and gid
17049         according to `id-format'.
17050         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
17051         size in header X-Size.
17053 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
17055         * simple.el (transpose-subr): Give clearer error when the mark
17056         is not set.  (Bug#4807)
17058 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
17060         * net/tramp.el (tramp-perl-file-truename): New defconst.
17061         Perl code contributed by yary <not.com@gmail.com> (tiny change).
17062         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17063         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17064         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17066         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17067         Ignore `dired-call-process'.
17068         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17070 2009-10-26  Julian Scheid  <julians37@gmail.com>
17072         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17073         (tramp-get-remote-readlink): New defun.
17074         (tramp-handle-file-truename): Use it.
17075         (tramp-handle-file-exists-p): Check file-attributes cache, assume
17076         file exists if cache value present.
17077         (tramp-check-cached-permissions): New defun.
17078         (tramp-handle-file-readable-p): Use it.
17079         (tramp-handle-file-writable-p): Likewise.
17080         (tramp-handle-file-executable-p): Likewise.
17081         (tramp-handle-file-name-all-completions): Try using Perl to get
17082         partial completions.  When perl not available, combine `cd' and
17083         `ls' into single remote operation and use shell expansion to get
17084         partial remote directory contents.  Set `file-exists-p' cache for
17085         directory and any files returned by ls.  Change cache handling to
17086         support partial directory contents.  Use error message emitted by
17087         remote `cd' or Perl code for local tramp-error.
17088         (tramp-do-copy-or-rename-file-directly): Avoid separate
17089         tramp-send-command-and-check call.
17090         (tramp-handle-process-file): Merge three remote ops into one.
17091         Do not flush all caches when `process-file-side-effects' is set.
17092         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17093         file-attributes shows uid/gid to be set already.
17095 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
17097         * textmodes/tex-mode.el (tex-dvi-view-command)
17098         (tex-show-queue-command, tex-open-quote):
17099         * progmodes/ruby-mode.el (auto-mode-alist)
17100         (interpreter-mode-alist): Purecopy strings.
17102         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17104         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17105         string for the hook, keymap and abbrev table.
17107         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17109         * x-dnd.el (x-dnd-xdnd-to-action):
17110         * startup.el (fancy-startup-text, fancy-about-text): Change to
17111         defconst from defvar.
17113         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17115         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17116         Purecopy initialization strings.
17118         * mail/sendmail.el (mail-header-separator)
17119         (mail-personal-alias-file):
17120         * mail/rmail.el (rmail-default-dont-reply-to-names)
17121         (rmail-ignored-headers, rmail-retry-ignored-headers)
17122         (rmail-highlighted-headers, rmail-secondary-file-directory)
17123         (rmail-secondary-file-regexp):
17124         * files.el (null-device, file-name-invalid-regexp)
17125         (locate-dominating-stop-dir-regexp)
17126         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17127         (interpreter-mode-alist): Use mapcar instead of mapc.
17129         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17131         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17132         (completion-ignored-extensions):
17133         (debug-ignored-errors): Purecopy strings.
17135 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17137         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17138         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17139         (pcomplete--here): Use push.
17141         * subr.el (all-completions): Declare the 4th arg obsolete.
17143 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17145         * pcomplete.el (pcomplete-unquote-argument-function): New var.
17146         (pcomplete-unquote-argument): New function.
17147         (pcomplete--common-suffix): Always pay attention to case.
17148         (pcomplete--table-subvert): Quote and unquote the text.
17149         (pcomplete--common-quoted-suffix): New function.
17150         (pcomplete-std-complete): Use it and pcomplete-begin.
17152         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17153         we're inside a dedicated or minibuffer window.
17155 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
17157         * bookmark.el: Update documentation, especially documentation
17158         of `bookmark-alist' and of the bookmark file format.
17159         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
17161 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
17163         * mail/emacsbug.el (report-emacs-bug): Clarify that the
17164         keybindings apply to the mail buffer (Bug#4003).  Shrink help
17165         window to buffer.
17167         * whitespace.el (whitespace-mode, whitespace-newline-mode)
17168         (global-whitespace-mode, global-whitespace-newline-mode)
17169         (whitespace-toggle-options, global-whitespace-toggle-options):
17170         Doc fix (Bug#3660).
17172         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17173         of xmltok-start before the end tag was inserted (Bug#2840).
17175         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17176         patterns that are preceded by an open-paren (Bug#1320).
17178 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
17180         * files.el (delete-directory): Delete symlinks to directories with
17181         delete-file (Bug#4739).
17183 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
17185         * vc.el (vc-backend-for-registration): Rename from
17186         vc-get-backend-for-registration.  Update callers.
17188         * international/mule-cmds.el (set-language-info-alist):
17189         Purecopy lang-env.
17190         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17191         (charset): Purecopy the name.
17192         (define-char-code-property): Purecopy string arguments.
17194         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17195         Purecopy string arguments.
17197         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17198         * ediff-hook.el (menu-bar-ediff-menu):
17199         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17200         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17202 2009-10-24  Glenn Morris  <rgm@gnu.org>
17204         * comint.el (comint-dynamic-list-completions):
17205         * term.el (term-dynamic-list-completions): Use choose-completion rather
17206         than obsolete alias mouse-choose-completion.
17208         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17209         file-cache-choose-completion.
17210         (file-cache-choose-completion): Handle an optional event argument.
17211         (file-cache-mouse-choose-completion): Make it an obsolete alias.
17213         * progmodes/octave-mod.el (octave-complete-symbol):
17214         Use choose-completion if mouse-choose-completion is ever removed.
17216         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17217         use.
17219         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17220         compiler.
17222         * vc-hooks.el (vc-responsible-backend): Fix declaration.
17224 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17226         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17227         Ignore `pred' now that we receive one.
17228         Handle test-completion specially.
17230 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17232         * vc.el (vc-responsible-backend): Throw an error if not backend is
17233         found.  Remove the REGISTER argument.  Move the code dealing with
17234         REGISTER ...
17235         (vc-get-backend-for-registration): ... here.  New function.
17236         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17237         of vc-responsible-backend, pass the file name instead of the
17238         directory name.
17240 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17242         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17243         New funs.
17244         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
17245         (pcomplete-comint-setup): Don't modify a global var via
17246         accidental side-effects.
17247         (pcomplete-shell-setup): Adjust call accordingly.
17248         (pcomplete-parse-comint-arguments): Use push.
17250 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
17252         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17253         Allow uncapitalized info node names (Bug#3921).
17255         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17256         to the DEBUG file (Bug#3781).
17258 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
17260         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17261         dictionary entry (Bug#4579).
17263 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
17265         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17266         from `rfn-eshadow-update-overlay-hook' when unloading.
17267         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17268         "rsyncc".  Adjust doc string.
17269         (tramp-temp-buffer-file-name): New buffer-local defvar.
17270         (tramp-handle-insert-file-contents, tramp-handle-write-region):
17271         Keep temporary file when indicated by method ("rsync" and
17272         "rsyncc").
17273         (tramp-handle-write-region): Handle APPEND.
17274         (tramp-delete-temp-file-function): New defun.  Added to
17275         `kill-buffer-hook'.
17277 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
17279         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17281 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17283         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17284         (color-name-rgb-alist, tty-standard-colors)
17285         (tty-color-mode-alist): Change to defconst.
17287         * simple.el (mark-inactive): Purecopy message.
17289         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17290         (global-map, yank-menu):
17291         * textmodes/ispell.el (ispell-menu-map):
17292         * net/eudc.el (eudc-tools-menu):
17293         * international/mule-cmds.el (describe-language-environment-map)
17294         (setup-language-environment-map, set-coding-system-map)
17295         (mule-menu-keymap):
17296         * vc-hooks.el (vc-menu-entry, vc-menu-map):
17297         * replace.el (occur-mode-map):
17298         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17300 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
17302         * calc/calc.el (math-read-number, math-read-number-simple):
17303         Use `save-match-data'.
17305 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17307         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17308         rather than fiddling with global-map bindings, since it should only
17309         affect per-terminal settings.
17310         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17312         * minibuffer.el (completion-table-with-terminator): Allow to specify
17313         the terminator-regexp.
17315         * simple.el (switch-to-completions): Look for *Completions* in other
17316         frames as well.
17318         * pcomplete.el: Allow the use of completion-tables.
17319         (pcomplete-std-complete): New command.
17320         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17321         (pcomplete--here): Use a function for `form' rather than an expression,
17322         so it can be byte-compiled.
17323         (pcomplete-here, pcomplete-here*): Adjust accordingly.
17324         Add edebug declaration.
17325         (pcomplete-show-completions): Remove unused var `curbuf'.
17326         (pcomplete-do-complete, pcomplete-stub):
17327         Don't assume `completions' is a list of strings any more.
17329 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
17331         * find-dired.el (find-name-arg): Fix typo in docstring.
17333 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17335         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17336         (pcmpl-linux-fs-types): Same, and update to new modules layout.
17338         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17339         pcomplete-entries.
17341         * comint.el (comint-read-input-ring, comint-write-input-ring)
17342         (comint-substitute-in-file-name)
17343         (comint-dynamic-complete-as-filename)
17344         (comint-dynamic-simple-complete)
17345         (comint-dynamic-list-filename-completions)
17346         (comint-dynamic-list-completions)
17347         (comint-redirect-results-list-from-process): Minor simplifications.
17349 2009-10-21  Kevin Ryde  <user42@zip.com.au>
17351         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17352         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17353         the first form.  And insert a blank line after ";;; Code" since
17354         that's usual style.  (Bug#4612)
17356         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17358 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17360         * minibuffer.el (completion-table-with-terminator): Properly implement
17361         boundaries, in case `terminator' appears in the suffix.
17362         (completion--embedded-envvar-table): Don't return boundaries if
17363         there's no valid completion.  Simplify.
17364         (completion-file-name-table): New completion table extracted from
17365         completion--file-name-table.
17366         (completion--file-name-table): Use it.
17367         (read-file-name-predicate): Declare obsolete.
17368         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17369         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17370         completion-file-name-table, and use the `pred' argument.
17371         * files.el (locate-file-completion-table): Use the `pred' arg rather
17372         than read-file-name-predicate.
17373         (abbreviate-file-name): Use \` rather than ^ for BOS.
17375 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
17377         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17378         vc-responsible-backend to register, it causes problems.
17380 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17382         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17384 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
17386         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17387         (tramp-smb-handle-file-attributes): Use it.
17388         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17389         (tramp-smb-handle-insert-directory): Use `mapc' rather than
17390         `mapcar'.  Use `tramp-smb-get-stat-capability'.
17391         Add `dired-filename' text properties.
17392         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17393         (tramp-smb-maybe-open-connection): Simplify check for smbclient
17394         version.
17396 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17398         * subr.el (read-key-delay): Reduce to 0.01.
17399         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17400         (bug#4751).
17402 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17404         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17406         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17407         (Info-menu): Remove unused vars `last' and `completions'.
17408         (Info-index-nodes): Remove unused var `node'.
17410         * info.el (Info-complete-menu-item): Use complete-with-action.
17412 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
17414         Make vc-annotate work through copies and renames.
17415         * vc-annotate.el (vc-annotate-extract-revision-at-line):
17416         Return the file name too.
17417         (vc-annotate-revision-at-line)
17418         (vc-annotate-find-revision-at-line)
17419         (vc-annotate-revision-previous-to-line)
17420         (vc-annotate-show-log-revision-at-line): Update to get the file
17421         name from vc-annotate-extract-revision-at-line.
17422         (vc-annotate-show-diff-revision-at-line-internal): Change the
17423         argument to mean whether to show a file diff or not.  Get the file
17424         name from vc-annotate-extract-revision-at-line.
17425         (vc-annotate-show-diff-revision-at-line):
17426         Update vc-annotate-show-diff-revision-at-line call.
17427         (vc-annotate-warp-revision): Add an optional file argument.
17429         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17430         (vc-git-annotate-extract-revision-at-line): Also return the file
17431         name if found.
17433         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17434         command.  Remove unused code.
17435         (vc-hg-annotate-re): Update to match --follow output.
17436         (vc-hg-annotate-extract-revision-at-line): Also return the file
17437         name if found.
17439         * vc.el: Update annotate-extract-revision-at-line documentation.
17441 2009-10-18  Kevin Ryde  <user42@zip.com.au>
17443         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17444         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17446         * net/browse-url.el (browse-url): Identify alist with "consp and
17447         not functionp" and let all other things go down the `apply' leg,
17448         as suggested by Stefan.  (Further to bug#4531.)
17450 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
17452         * minibuffer.el (read-file-name): Check for repeat before putting
17453         a default argument in file-name-history (Bug#4657).
17455         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17456         read syntax (Bug#4737).
17458         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17460 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
17462         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17463         (html-tag-alist, html-tag-help): Add descriptions for undocumented
17464         entries and make note of obsolete tags.
17466 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17468         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17470 2009-10-18  Glenn Morris  <rgm@gnu.org>
17472         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17473         grep, so that binary files (eg international/uni-bidi.el) can match.
17474         Remove test for "UnicodeData" files, since it is hopefully unnecessary
17475         now, and in any case the file header format has changed.
17477 2009-10-17  Glenn Morris  <rgm@gnu.org>
17479         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17480         (flyspell-get-word, flyspell-large-region)
17481         (flyspell-auto-correct-previous-word): Doc/error message fixes.
17483 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
17485         * Makefile.in (ELCFILES): Add ede/shell.
17487 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
17489         * term/common-win.el (x-colors): Purecopy it.
17491 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17493         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17494         permissive for when the buffer is empty.
17495         (tar-header-block-tokenize): Decode the username and groupname.
17496         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17498 2009-10-17  Eric Ludlam  <zappo@gnu.org>
17500         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17501         contains multibyte characters, choose first applicable coding
17502         system automatically.
17504 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17506         * international/mule-cmds.el (select-safe-coding-system): If the file
17507         has a coding cookie, use it regardless of any other setting (bug#4712).
17509 2009-10-17  Glenn Morris  <rgm@gnu.org>
17511         * foldout.el (foldout-mouse-swallow-events):
17512         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17514         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17515         (dired-keep-marker-copy, dired-keep-marker-hardlink)
17516         (dired-keep-marker-symlink, dired-dwim-target)
17517         (dired-copy-preserve-time): Do not autoload these defcustoms.
17519         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17520         messages from messing up the file coding.  (Bug#4623)
17522 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
17524         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17525         if no match is found for the current dictionary.  (Bug#4578)
17527         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17528         optional, since that is how it is documented, and this is often called
17529         with a nil argument.  (Bug#4577)
17530         (flyspell-external-point-words, flyspell-auto-correct-word)
17531         (flyspell-correct-word-before-point, flyspell-word-search-forward)
17532         (flyspell-word-search-backward): Remove nil argument in calls to
17533         flyspell-get-word, since it is not needed now.
17535 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
17537         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
17539 2009-10-16  Glenn Morris  <rgm@gnu.org>
17541         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17543 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
17545         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17546         (ange-ftp-file-size): New function.
17547         (ange-ftp-file-attributes): Use it.
17549 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
17551         * net/tramp-smb.el (tramp-smb-version): New defvar.
17552         (tramp-smb-maybe-open-connection): Use it, in order to avoid
17553         repeated checks.
17555 2009-10-16  Glenn Morris  <rgm@gnu.org>
17557         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17558         Maybe copy some custom properties from old to new name.  (Bug#4706)
17560 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
17562         * subr.el (error, sit-for, start-process-shell-command)
17563         (start-file-process-shell-command): Set the calling convention
17564         after the function definition.
17566 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17568         * subr.el (error, sit-for, start-process-shell-command)
17569         (start-file-process-shell-command): Use the new
17570         set-advertised-calling-convention feature.
17572 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
17574         * international/ucs-normalize.el (ucs-normalize-version):
17575         Change to 1.2.
17576         (check-range): Adjust for Unicode 5.2.
17578 2009-10-15  Juri Linkov  <juri@jurta.org>
17580         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17581         to the `menu-item' format.
17583 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
17585         * net/tramp.el (tramp-replace-environment-variables): Do not fail
17586         if the environment variable does not exist.
17588         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17589         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17590         parameter.
17591         (tramp-smb-handle-add-name-to-file)
17592         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17593         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17594         (tramp-smb-handle-file-attributes)
17595         (tramp-smb-do-file-attributes-with-stat)
17596         (tramp-smb-handle-file-local-copy)
17597         (tramp-smb-handle-insert-directory)
17598         (tramp-smb-handle-make-directory)
17599         (tramp-smb-handle-make-directory-internal)
17600         (tramp-smb-handle-make-symbolic-link)
17601         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17602         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17603         (tramp-smb-maybe-open-connection): Apply the changed parameters.
17604         (tramp-smb-read-file-entry): Read Disk names in compressed format.
17605         Handle long file names.
17606         (tramp-smb-get-cifs-capabilities): Check, whether the connection
17607         process is running.
17608         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17609         Read share names with "-g" option.
17611 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
17613         * net/rcirc.el (rcirc-view-log-file): New command.
17614         (rcirc-track-minor-mode-map): Remove C-c ` binding.
17615         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17616         specified.
17618 2009-10-15  Glenn Morris  <rgm@gnu.org>
17620         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17621         from the second command-line argument.
17622         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17623         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17624         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17625         w32-batch-update-autoloads.
17626         * emacs-lisp/autoload.el (autoload-make-program): New variable.
17627         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17629         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17630         the headers cannot be located.  Simplify, subtracting superfluous
17631         save-excursions.
17633 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17635         Replace completion-base-size by completion-base-position to fix bugs
17636         such as (bug#4699).
17637         * simple.el (completion-base-position): New var.
17638         (completion-base-size): Mark as obsolete.
17639         (choose-completion): Make it work for mouse events as well.
17640         Pass the new base-position to choose-completion-string.
17641         (choose-completion-guess-base-position): New function, extracted from
17642         choose-completion-delete-max-match.
17643         (choose-completion-delete-max-match): Use it.  Make obsolete.
17644         (choose-completion-string): Use the new base-position info.
17645         (completion-root-regexp): Delete.
17646         (completion-setup-function): Preserve completion-base-position.
17647         Eliminate obsolete base-size manipulation.
17648         * minibuffer.el (display-completion-list): Don't mess with base-size.
17649         (minibuffer-completion-help): Set completion-base-position instead.
17650         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17651         choose-completion.
17652         * textmodes/bibtex.el (bibtex-complete):
17653         * emacs-lisp/crm.el (crm--choose-completion-string):
17654         Adjust to new calling convention.
17655         * complete.el (partial-completion-mode): Use minibufferp to avoid
17656         bumping into incompatible change to choose-completion-string-functions.
17657         * ido.el (ido-choose-completion-string): Make its calling convention
17658         more permissive.
17659         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17660         base-size manipulation.
17661         (comint-dynamic-list-input-ring): Use dotimes and push.
17662         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17663         fundamental-mode.  Use `or'.
17665 2009-10-14  Juri Linkov  <juri@jurta.org>
17667         * misearch.el (multi-isearch-next-buffer-from-list)
17668         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
17670 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17672         * Makefile.in (compile-onefile): Load `bytecomp' rather than
17673         `bytecomp.el'.
17675         * minibuffer.el (completion-pcm--merge-completions): Make sure the
17676         string we return is all made up of text from the completions rather
17677         than part from the completions and part from the input (bug#4219).
17679         * ido.el (ido-everywhere): Use define-minor-mode.
17681         * buff-menu.el (list-buffers, ctl-x-map):
17682         Mark the entry points with ;;;###autoload cookies.
17684 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
17686         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17687         correctly in the detached head case.
17688         (vc-git-print-log): Remove unused binding.
17690         * vc.el (vc-responsible-backend): When a directory is passed for
17691         for registration create a VC repository if no backend is
17692         responsible for the directory argument.
17693         (vc-deduce-fileset): Tell vc-responsible-backend to register.
17695         * vc.el: Move comments about RCS and SCCS ...
17696         * vc-rcs.el:
17697         * vc-sccs.el: ... here, respectively.
17699 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17701         * minibuffer.el (completion--file-name-table): Return nil if there's
17702         no file completion, even if substitute-in-file-name changed
17703         the string (bug#4708).
17705 2009-10-13  Juri Linkov  <juri@jurta.org>
17707         * files-x.el (read-file-local-variable-value): Don't filter out
17708         minor modes from mode name completion (bug#4664).
17710 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17712         * international/mule-cmds.el (ucs-names): Remove exclusion of
17713         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17715 2009-10-13  Kenichi Handa  <handa@m17n.org>
17717         * international/uni-name.el: Regenerated.
17719 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17721         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
17722         should be automatically buffer-local, but isn't.)
17724 2009-10-12  Sam Steingold  <sds@gnu.org>
17726         * progmodes/compile.el (compilation-next-error-function): Fix the
17727         timestamps if the buffer has been visited before.
17728         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17729         non-anchored patterns, like the perl one (bug#3928).
17731 2009-10-12  Glenn Morris  <rgm@gnu.org>
17733         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17734         Let-bind `size'.
17736 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
17738         * proced.el (proced-unload-function): New function.
17740         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17741         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17742         Doc fix.
17744         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17746 2009-10-11  Juri Linkov  <juri@jurta.org>
17748         * files-x.el (read-file-local-variable-value):
17749         Provide default value only for bound variables (bug#4664).
17751 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
17753         * net/tramp.el (tramp-local-host-p): Function shall return nil for
17754         connection methods like smb.
17756         * net/tramp-cache.el (tramp-flush-connection-property): The hash
17757         can be empty.
17759         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17760         (tramp-smb-file-name-handler-alist): Add handlers for
17761         `add-name-to-file', `make-symbolic-link'.
17762         (tramp-smb-handle-add-name-to-file)
17763         (tramp-smb-do-file-attributes-with-stat)
17764         (tramp-smb-handle-make-symbolic-link)
17765         (tramp-smb-get-cifs-capabilities): New defuns.
17766         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17767         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17768         (tramp-smb-handle-file-local-copy)
17769         (tramp-smb-handle-make-directory-internal)
17770         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17771         The file name syntax depends on cifs capabilities.
17772         (tramp-smb-handle-file-attributes):
17773         Call `tramp-smb-do-file-attributes-with-stat' if possible.
17774         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17775         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17777 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
17779         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17780         (eieio-defclass): Apply deftype handler and setf-method properties
17781         directly.
17782         (eieio-add-new-slot): Avoid union function from cl library.
17783         (eieio--typep): New function.
17784         (eieio-perform-slot-validation): Use it.
17786 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17788         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17789         Update documentation to refer to the variables documented in r1.135.
17790         (Bug#4188)
17792 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17794         * bookmark.el (Info-suffix-list): Remove this unused variable.
17795         (bookmark-current-point): Remove this obsolete variable.
17796         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17797         Adjust for removal of bookmark-current-point.
17799         (bookmarks-already-loaded, bookmark-current-buffer)
17800         (bookmark-yank-point): Document.  (Bug#4188)
17802 2009-10-10  Glenn Morris  <rgm@gnu.org>
17804         * frame.el (frame-height): Doc fix.
17806         * calendar/calendar.el (calendar-split-width-threshold): New option.
17807         (calendar-basic-setup): Use calendar-split-width-threshold.
17809 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
17811         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17812         Ideographic Supplement" range (U+1F200..U+1F2FF).
17814 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17816         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17817         since the list will have been rebuilt anyway.  (Bug#4349)
17819 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17821         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17822         (bookmark-bmenu-execute-deletions): Don't save here, as
17823         bookmark-delete will now do so if necessary.
17824         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17825         (Bug#4348)
17827 2009-10-09  Glenn Morris  <rgm@gnu.org>
17829         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17831 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17833         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17834         (bookmark-jump-other-window): Just invoke bookmark-jump with new
17835         argument now, so the two function's behaviors will match.  (Bug#3645)
17837 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
17839         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17840         (tramp-file-name-real-host, tramp-file-name-port):
17841         Apply `save-match-data'.
17843         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17844         case both directories are remote.
17845         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17846         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17848 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17850         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17852 2009-10-07  Glenn Morris  <rgm@gnu.org>
17854         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17855         of concat.
17857 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17859         * files-x.el (read-file-local-variable): Include some
17860         non-user-variables in the completion table (bug#4664).
17862 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
17864         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17865         message.
17867         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17868         (tramp-smb-file-name-handler-alist): Add handler for
17869         `copy-directory', `expand-file-name', `set-file-modes'.
17870         (tramp-smb-handle-copy-directory)
17871         (tramp-smb-handle-expand-file-name)
17872         (tramp-smb-handle-set-file-modes): New defuns.
17873         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17874         (tramp-smb-handle-file-attributes): Simplify check for retrieving
17875         entry.
17876         (tramp-smb-handle-insert-directory): Don't flush the cache.
17877         (tramp-smb-maybe-open-connection): Check for samba client and
17878         server versions.
17880 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
17882         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17883         to not error out of search for "^lisp=" fails.
17885 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17887         * makefile.w32-in (WINS_UPDATES): New macro.
17888         (custom-deps, finder-data, autoloads): Use it.
17890 2009-10-07  Glenn Morris  <rgm@gnu.org>
17892         * Makefile.in (autoloads): Revert previous change.
17893         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17894         the list of preloaded files passed on the command-line, get
17895         it from src/Makefile.
17897         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17898         show the original buffer rather than a random one.
17900 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
17902         * help.el (describe-no-warranty): Place point in a slightly better
17903         position in the GPLv3 text.
17905 2009-10-06  Sam Steingold  <sds@gnu.org>
17907         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17908         the comm attribute is present before calling regexp-quote.
17910 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
17912         * play/animate.el (animate-string): For good effect, make sure
17913         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17915         * play/animate.el (animate-sequence, animate-birthday-present):
17916         * misc.el (butterfly): Don't set `indent-tabs-mode'.
17918 2009-10-06  Glenn Morris  <rgm@gnu.org>
17920         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17922         * emacs-lisp/autoload.el (autoload-excludes): New variable.
17923         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17924         (batch-update-autoloads): Process a string value of autoload-excludes,
17925         set during the build process.
17926         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
17928         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17929         inside with-parsed...  macro so that `v' is defined.
17931         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17932         * progmodes/fortran.el (fortran-end-of-block)
17933         (fortran-beginning-of-block):
17934         Also push mark in the macro case.
17936         * emerge.el (emerge-show-file-name):
17937         * calc/calc.el (calc-quit):
17938         * calc/calc-misc.el (calc-big-or-small):
17939         * calc/calc-graph.el (calc-graph-view):
17940         * calc/calc-ext.el (calc-reset):
17941         * calendar/calendar.el (calendar-basic-setup):
17942         Use window-full-height-p.
17944         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17945         header we don't understand, don't insert another.  (Bug#4624)
17946         If changing mime charset, insert the new one in the right place.
17948 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
17950         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17951         (cal-tex-cursor-month): Correctly increment the end date for diary and
17952         holiday listing.  (Bug#4626)
17954 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17956         * help-fns.el (describe-function-1): Don't burp if the function is not
17957         a symbol.
17959 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
17961         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17962         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17963         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17964         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17966         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17967         (eieio-default-superclass): Reflow docstrings.
17968         (this, class-option-assoc, defclass, eieio-class-un-autoload)
17969         (eieio-unbind-method-implementations, defmethod)
17970         (eieio-validate-slot-value, eieio-validate-class-slot-value)
17971         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17972         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17973         (eieio-slot-originating-class-p, eieio-slot-name-index)
17974         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17975         (constructor, initialize-instance, no-next-method, object-print)
17976         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17977         Fix typos in docstrings.
17978         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17979         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17980         (next-method-p): Doc fixes.
17981         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17982         Fix typos in error messages.
17983         (eieio-defmethod): Fix typo in description of generic method.
17985         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17986         (eieio-persistent-save-interactive, slot-missing):
17987         Fix typos in docstrings.
17988         (eieio-instance-inheritor-slot-boundp): Doc fix.
17990         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17991         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17993         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17994         (eieio-custom-object-apply-reset):
17995         Fix typos in docstrings and error messages.
17997         * emacs-lisp/eieio-datadebug.el (data-debug-show):
17998         Fix typo in docstring.
18000         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18001         (eieio-browse-tree): Doc fix.
18002         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18003         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18004         Fix typos in docstrings.
18006         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18007         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18008         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18009         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18010         Reflow docstrings.
18012 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
18014         * vc-hg.el (log-view-vc-backend): Declare for compiler.
18015         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18016         Set log-view-vc-backend so that diff can work.
18018         * log-view.el (log-view-diff): Use vc-diff-internal instead of
18019         vc-version-diff.
18020         (vc-diff-internal): Autoload this instead of vc-version-diff.
18022 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
18024         * simple.el (eval-expression): Doc fix.
18026         * progmodes/cwarn.el (cwarn-mode): Doc fix.
18028 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
18030         * files.el (directory-files-no-dot-files-regexp): New defconst.
18031         (delete-directory): Use it.
18032         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
18034         * net/tramp.el (tramp-verbose): Fix docstring.
18035         (tramp-methods): Add recursive option to `tramp-copy-args'.
18036         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
18037         "scp1_old", "scp2_old", "rsync", "rsyncc".
18038         (tramp-default-method): Check also for `auth-source-user-or-password'.
18039         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18040         Add handler for `copy-directory'.
18041         (tramp-handle-copy-directory): New defun.
18042         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18043         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18044         Optimize sent command.
18046 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18048         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18049         window if necessary.
18051         * calendar/calendar.el (calendar-basic-setup): Don't call
18052         switch-to-buffer in a dedicated window.
18054 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
18056         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18057         don't do anything related to relocating, just return nil.
18058         (bookmark-error-no-filename): New error.
18059         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18060         bookmark has no file.  Don't even attempt to handle things that
18061         are not files; the whole point of custom handlers is to keep that
18062         knowledge elsewhere anyway.  Tighten some comments.
18063         (bookmark-file-or-variation-thereof): Remove now-unused function.
18064         (bookmark-location): Doc string fix.
18065         (Bug#4250)
18067 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18069         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18070         don't use a file dialog, because they usually don't know how to read
18071         a directory target from the user.  (Bug#4230)
18072         Also, make sure the prompt can display directories as well as files.
18074 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18076         * bookmark.el (bookmark-set, bookmark-buffer-name):
18077         Improve doc strings.  (Bug#1193)
18079 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18081         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18082         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18083         (bookmark-get-annotation, bookmark-set-annotation)
18084         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18085         (bookmark-set-position, bookmark-get-front-context-string)
18086         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18087         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18088         (bookmark-jump-other-window, bookmark-handle-bookmark)
18089         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18090         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18091         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18092         Improve doc strings to say whether bookmark can be a string or
18093         a record or both, and make other consistency and clarity fixes.
18094         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18095         (bookmark-default-annotation-text, bookmark-yank-word)
18096         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18097         (bookmark-import-new-list, bookmark-maybe-rename)
18098         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18099         (bookmark-bmenu-bookmark): Give these doc strings.
18100         (bookmark-bmenu-check-position): Give this a doc string, but also
18101         add a FIXME comment about how the function may be pointless.
18102         (bookmark-default-handler): Rework doc string and change a
18103         parameter name, to clarify that this takes a bookmark record
18104         not a bookmark name.
18105         (bookmark-set): Change a parameter name to indicate its meaning,
18106         and improve the doc string a bit.
18107         (Bug#4188)
18109 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18111         * bookmark.el (bookmark-alist): Document the new `handler' element
18112         in the param alist.
18113         (bookmark-make-record-function): Adjust documentation for above.
18114         (Bug#4193)
18116 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18118         * info.el (Info-bookmark-make-record): Document this function.
18119         (Info-bookmark-jump): Document with a doc string, not just a comment.
18120         (Bug#4203)
18122 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
18124         * files.el (copy-directory): New defun.
18126         * dired-aux.el (dired-copy-file-recursive): Use it.
18128 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
18130         * files-x.el (modify-dir-local-variable)
18131         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18132         docstrings.
18134         * recentf.el (recentf-unload-function): New function.
18136 2009-10-04  Glenn Morris  <rgm@gnu.org>
18138         * window.el (window-full-height-p): Add doc string.
18140 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
18142         * window.el (window-full-height-p): New function.  (Bug#4543)
18144 2009-10-03  Chong Yidong  <cyd@stupidchicken.com>
18146         * files.el (auto-mode-alist): Add .srt and Project.ede.
18148 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
18150         * vc.el: Remove commented out code.
18151         (vc-derived-from-dir-mode): Remove, unused.
18152         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18154 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
18156         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18157         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
18158         there could be recursive loading when `default-directory' is a
18159         remote file name.  (Bug#4614)
18161 2009-10-03  Glenn Morris  <rgm@gnu.org>
18163         * calendar/calendar.el (calendar-basic-setup): Handle the case where
18164         the frame is wide.
18165         (calendar-generate-window): Test for shrinkability rather than width.
18167         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18168         reusing existing buffers, in case we happen to visit two files with the
18169         same basename.  (Bug#4593)
18171 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18173         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18174         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18175         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18176         subdirs of cedet as well.
18177         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18179 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18181         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18182         Obey advertised-signature-table.
18184         * help-fns.el (help-function-arglist): Don't check
18185         advertised-signature-table.
18186         (describe-function-1): Do it here instead so it also applies to subrs.
18188 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
18190         * simple.el (start-file-process): Say in the doc-string, that file
18191         handlers might not support pty association, if PROGRAM is nil.
18193         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18194         HOST and USER are strings.  They are nil, when there are
18195         incomplete entries in ~/.netrc, for example.
18196         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
18197         root directory ("device busy" error otherwise).
18199         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18200         Flush file properties of created directory.
18202 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18204         * makefile.w32-in (WINS_BASIC): Remove cedet.
18205         (WINS_CEDET): Add cedet.
18206         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18208 2009-10-02  Kevin Ryde  <user42@zip.com.au>
18210         * net/browse-url.el (browse-url): Pass any symbol in
18211         browse-url-browser-function to `apply', since if you've mistakenly put
18212         an unbound symbol then the error is clearer.  (Bug#4531)
18214 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18216         * allout.el (allout-init, allout-back-to-current-heading)
18217         (allout-beginning-of-current-entry, allout-ascend-to-depth)
18218         (allout-ascend, allout-up-current-level, allout-end-of-level)
18219         (allout-previous-visible-heading, allout-forward-current-level)
18220         (allout-backward-current-level, allout-show-children):
18221         * apropos.el (apropos-describe-plist):
18222         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18223         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18224         * completion.el (add-completion, add-permanent-completion):
18225         * descr-text.el (describe-text-category, describe-char):
18226         * desktop.el (desktop-lazy-abort):
18227         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18228         * dired.el (dired-build-subdir-alist):
18229         * ediff.el (ediff-version):
18230         * elide-head.el (elide-head, elide-head-show):
18231         * emerge.el (emerge-version):
18232         * env.el (getenv):
18233         * face-remap.el (variable-pitch-mode):
18234         * faces.el (describe-face):
18235         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18236         (dired-at-point):
18237         * files.el (find-file-existing, auto-save-mode):
18238         * font-lock.el (font-lock-fontify-buffer):
18239         * help-fns.el (describe-function, describe-variable)
18240         (describe-syntax, describe-categories):
18241         * help.el (view-lossage, describe-bindings, describe-key)
18242         (describe-mode):
18243         * hexl.el (hexl-current-address):
18244         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18245         * info.el (Info-goto-emacs-key-command-node):
18246         * log-edit.el (log-edit-insert-cvs-template)
18247         (log-edit-insert-cvs-rcstemplate):
18248         * menu-bar.el (menu-bar-mode):
18249         * mouse.el (mouse-appearance-menu):
18250         * newcomment.el (comment-indent-new-line):
18251         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18252         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18253         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18254         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18255         * recentf.el (recentf-mode):
18256         * savehist.el (savehist-mode, savehist-save):
18257         * shadowfile.el (shadow-copy-files):
18258         * simple.el (kill-ring-save, next-line, previous-line)
18259         (normal-erase-is-backspace-mode):
18260         * strokes.el (strokes-update-window-configuration)
18261         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18262         (strokes-xpm-for-stroke):
18263         * time.el (emacs-uptime, emacs-init-time):
18264         * tutorial.el (tutorial--describe-nonstandard-key)
18265         (tutorial--detailed-help):
18266         * type-break.el (type-break-mode)
18267         (type-break-mode-line-message-mode, type-break-query-mode)
18268         (type-break-guesstimate-keystroke-threshold):
18269         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18270         * version.el (emacs-version):
18271         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18272         * winner.el (winner-mode):
18273         * calendar/timeclock.el (timeclock-in, timeclock-out)
18274         (timeclock-status-string, timeclock-change)
18275         (timeclock-workday-remaining-string)
18276         (timeclock-workday-elapsed-string)
18277         (timeclock-when-to-leave-string):
18278         * calendar/todo-mode.el (todo-add-category):
18279         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18280         * emacs-lisp/autoload.el (update-file-autoloads):
18281         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18282         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18283         (checkdoc-message-text, checkdoc-defun):
18284         * emacs-lisp/debug.el (debugger-list-functions):
18285         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18286         * emacs-lisp/eieio-opt.el (eieio-describe-class)
18287         (eieio-describe-generic):
18288         * emacs-lisp/lisp-mnt.el (lm-synopsis):
18289         * emacs-lisp/shadow.el (list-load-path-shadows):
18290         * emulation/cua-base.el (cua-mode):
18291         * emulation/edt.el (edt-set-scroll-margins):
18292         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18293         (tpu-toggle-regexp, tpu-toggle-search-direction)
18294         (tpu-toggle-rectangle, tpu-toggle-control-keys):
18295         * emulation/tpu-extras.el (tpu-set-scroll-margins):
18296         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18297         (viper-set-parsing-style-toggling-macro)
18298         (viper-set-emacs-state-searchstyle-macros):
18299         * emulation/viper.el (viper-set-hooks):
18300         * eshell/esh-mode.el (eshell-truncate-buffer):
18301         * international/mule-cmds.el (prefer-coding-system)
18302         (describe-input-method, describe-language-environment):
18303         * international/mule-diag.el (list-character-sets)
18304         (describe-character-set, describe-coding-system)
18305         (describe-fontset, list-fontsets, list-input-methods):
18306         * mail/sendmail.el (mail-signature):
18307         * net/ange-ftp.el (ange-ftp-copy-file):
18308         * net/browse-url.el (browse-url):
18309         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18310         * net/quickurl.el (quickurl-add-url):
18311         * net/rcirc.el (names, topic):
18312         * net/xesam.el (xesam-mode):
18313         * play/5x5.el (5x5-new-game):
18314         * play/yow.el (apropos-zippy):
18315         * progmodes/ada-mode.el (ada-mode-version):
18316         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18317         (f90-end-of-block)
18318         (f90-beginning-of-block):
18319         * progmodes/fortran.el (fortran-end-of-block)
18320         (fortran-beginning-of-block):
18321         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18322         * progmodes/python.el (python-describe-symbol, python-shell):
18323         * term/ns-win.el (ns-print-buffer):
18324         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18325         * textmodes/flyspell.el (flyspell-mode-on):
18326         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18327         (pages-directory-for-addresses):
18328         * textmodes/table.el (table-recognize-cell)
18329         (table-query-dimension, table-generate-source)
18330         (table-insert-sequence, table--warn-incompatibility):
18331         * textmodes/tex-mode.el (tex-validate-buffer):
18332         * textmodes/texinfmt.el (texinfmt-version)
18333         (texinfo-format-buffer):
18334         Use `called-interactively-p' instead of `interactive-p'.
18336 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18338         * image-mode.el (image-toggle-display):
18339         * emacs-lisp/elp.el (elp-instrument-function):
18340         * emacs-lisp/advice.el (ad-make-advised-definition):
18341         * emacs-lisp/easy-mmode.el (define-minor-mode):
18342         * net/browse-url.el (browse-url-maybe-new-window):
18343         * progmodes/sh-script.el (sh-learn-buffer-indent):
18344         Pass new argument 'any to `called-interactively-p'.
18346 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
18348         * international/uni-bidi.el:
18349         * international/uni-category.el:
18350         * international/uni-combining.el:
18351         * international/uni-comment.el:
18352         * international/uni-decimal.el:
18353         * international/uni-decomposition.el:
18354         * international/uni-digit.el:
18355         * international/uni-lowercase.el:
18356         * international/uni-mirrored.el:
18357         * international/uni-name.el:
18358         * international/uni-numeric.el:
18359         * international/uni-old-name.el:
18360         * international/uni-titlecase.el:
18361         * international/uni-uppercase.el:
18362         Regenerate from Unicode 5.2.0 data.
18364 2009-10-01  Glenn Morris  <rgm@gnu.org>
18366         * Makefile.in (ELCFILES): Regenerate.
18368 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18370         * subr.el (interactive-p): Mark obsolete.
18371         (called-interactively-p): Make the optional-ness of `kind' obsolete.
18372         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18373         advertised-signature-table for subroutines as well.
18375         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18376         (set-advertised-calling-convention): New function.
18377         (make-obsolete, define-obsolete-function-alias)
18378         (make-obsolete-variable, define-obsolete-variable-alias):
18379         Make the optional-ness of `when' obsolete.
18380         (define-obsolete-face-alias): Make `when' non-optional.
18381         * help-fns.el (help-function-arglist):
18382         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18383         Use advertised-signature-table.
18385 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
18387         * files.el (delete-directory): New defun.  The original function
18388         in fileio.c has been renamed to `delete-directory-internal'.
18390         * dired.el (dired-delete-file): Call `delete-directory' with
18391         RECURSIVE parameter.
18393         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18394         parameter RECURSIVE.  Implementation is missing.
18396         * net/tramp.el (tramp-handle-make-directory): Flush upper
18397         directory's file properties.
18398         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18399         (tramp-handle-dired-recursive-delete-directory): Flush directory
18400         properties after the remove command only.
18402         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18403         Handle optional parameter RECURSIVE.
18405         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18406         Handle optional parameter RECURSIVE.
18408         * net/tramp-smb.el (tramp-smb-errors): Add error message for
18409         connection timeout.
18410         (tramp-smb-handle-delete-directory): Handle optional parameter
18411         RECURSIVE.
18413 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18415         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18416         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18417         (byte-compile-defmacro): Use backquotes.
18419         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18421         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18422         has no associated file.
18423         (vc-resynch-buffer): Use vc-dir-buffers.
18425 2009-10-01  Glenn Morris  <rgm@gnu.org>
18427         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18428         (chart-file-count):
18429         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18430         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18431         * emacs-lisp/eieio-opt.el (eieio-describe-class):
18432         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18433         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18434         (eieio-copy-parents-into-subclass, make-instance, class-children)
18435         (eieio-generic-form):
18437         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18438         match-data.  (Bug#4555).
18440         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18441         rather than parsing it as a regexp.  This relaxes the layout
18442         requirements and makes errors easier to detect.
18443         (check-declare-verify): Check file is regular.
18444         (check-declare-directory): Doc fix.
18445         * subr.el (declare-function): Doc fix.
18447         * ibuffer.el (ibuffer-format-qualifier):
18448         * isearch.el (hi-lock-regexp-okay):
18449         * calc/calc.el (math-zerop):
18450         * mail/uce.el (rmail-msgbeg, rmail-msgend):
18451         * term/w32-win.el (setup-default-fontset, set-fontset-font):
18452         Remove unused declarations.
18454 2009-09-30  Eric Ludlam  <zappo@gnu.org>
18456         * emacs-lisp/eieio.el (boolean-p): Delete.
18458 2009-09-30  Glenn Morris  <rgm@gnu.org>
18460         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18462         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18463         filename is not a string.
18465 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
18467         * files.el (safe-local-eval-forms): Fix typo.
18469 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18471         * vc-hooks.el (vc-dir-buffers): New var.
18472         (vc-state-refresh): New function.
18473         (vc-state): Use it.
18474         (vc-after-save): Always ask the backend to recompute the new state.
18475         Always call vc-dir if necessary, using vc-dir-buffers.
18476         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18477         Use vc-dir-buffers.
18478         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18479         (vc-dir-prepare-status-buffer, vc-dir-update)
18480         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18481         Don't call expand-file-name on default-directory.
18483 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18485         * speedbar.el (speedbar-item-delete):
18486         * calc/calc-prog.el (calc-kbd-if):
18487         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18489         * epa.el (epa-key-list-mode-map):
18490         * hi-lock.el (hi-lock-menu): Fix typos in menus.
18492         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18493         (hs-show-hook): Fix typo in docstring.
18495 2009-09-29  Glenn Morris  <rgm@gnu.org>
18497         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18498         file-name-nondirectory call preventing location of cedet files.
18499         (check-declare-verify): Use literal search rather than re-search.
18500         Add basic defmethod and defclass, and define-overloadable-function.
18502         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18503         Use tramp-compat-file-attributes rather than nonexistent
18504         tramp-compat-handle-file-attributes.
18506         * Makefile.in (lisptagsfiles4): New.
18507         (AUTOGENEL): Add cedet loaddefs files.
18508         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18509         (update-elclist, compile-always, backup-compiled-files)
18510         (bootstrap-clean): Add yet another directory level.
18511         (update-elclist): Use LC_COLLATE rather than COLLATE.
18512         (ELCFILES): Update, via `make update-elclist'.
18514 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18516         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18517         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18518         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18520 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18522         * Makefile.in (lisptagsfiles3): Define.
18523         (TAGS, TAGS-LISP): Use it.
18524         (update-elclist): Add third directory level to look for elc files.
18525         (compile-always): Likewise.
18526         (backup-compiled-files): Likewise.
18527         (bootstrap-clean): Likewise.
18528         (ELCFILES): Update.
18530 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
18532         * Makefile.in (ELCFILES): Add CEDET files.
18534 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
18536         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18538         * net/tramp.el (top): Require tramp-imap.
18540         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18541         Use `tramp-compat-handle-file-attributes'.
18543 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
18545         * net/tramp-imap.el: New package.
18547 2009-09-28  Eric Ludlam  <zappo@gnu.org>
18549         * emacs-lisp/chart.el:
18550         * emacs-lisp/eieio-base.el:
18551         * emacs-lisp/eieio-comp.el:
18552         * emacs-lisp/eieio-custom.el:
18553         * emacs-lisp/eieio-datadebug.el:
18554         * emacs-lisp/eieio-opt.el:
18555         * emacs-lisp/eieio-speedbar.el:
18556         * emacs-lisp/eieio.el: New files.
18558 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18560         * whitespace.el (whitespace-trailing-regexp)
18561         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18562         Fix doc string.
18564 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
18566         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18567         menu.
18569         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18570         menu-bar-ediff-menu.
18572         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18573         define-overloadable-function.
18575         * progmodes/autoconf.el: Provide autoconf as well, so that this
18576         file can be `require'd.
18578         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18580         * emacs-lisp/autoload.el (generated-autoload-feature)
18581         (generated-autoload-load-name): New vars.
18582         (autoload-rubric, autoload-generate-file-autoloads): Use them.
18583         (make-autoload): Recognize define-overloadable-function and
18584         defclass forms (for EIEIO).
18586         * Makefile.in (update-subdirs): Exclude cedet directory.
18588 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
18590         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
18592         * faces.el: Default light-background background for region face to
18593         ns_selection_color under NS.
18595 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
18597         * net/imap-hash.el: New library, see NEWS.
18599         * Makefile.in (ELCFILES): Add imap-hash.el.
18601 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18603         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18604         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18605         * help-macro.el (make-help-screen): Avoid using an ambiguous function
18606         definition where the docstring could be taken for the return value.
18608 2009-09-26  Glenn Morris  <rgm@gnu.org>
18610         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18611         Add option to only show images below a certain size.
18612         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18613         save-excursion calls.
18615 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
18617         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18618         subdirectories) and eieio.
18620 2009-09-26  Alan Mackenzie  <acm@muc.de>
18622         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18623         Correct buggy bracketing.  (Bug#4289)
18625         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18626         character constants (as case labels).  (Bug#4289)
18628 2009-09-25  Juri Linkov  <juri@jurta.org>
18630         * files.el (safe-local-eval-forms): Allow time-stamp in
18631         before-save-hook (Bug#4554).
18633 2009-09-25  Drew Adams  <drew.adams@oracle.com>
18635         * menu-bar.el (list-buffers-directory): Doc fix.
18637 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18639         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18640         Try and avoid copying twice the same paragraph.
18641         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18642         Remove save-excursion.
18643         (log-edit-changelog-entry): Do it here instead.
18645 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
18647         * bs.el (bs--get-file-name): Use `list-buffers-directory'
18648         when available, instead of hardcoding mode names.  Doc fix.
18650         * menu-bar.el (list-buffers-directory): Add docstring.
18651         Make automatically buffer-local.
18653         * dired.el (dired-mode):
18654         * files.el (cd-absolute):
18655         * pcvs.el (cvs-temp-buffer):
18656         * pcvs-util.el (cvs-get-buffer-create):
18657         * shell.el (shell-mode):
18658         * vc-dir.el (vc-dir-mode):
18659         Don't make `list-buffers-directory' buffer local.
18661 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
18663         * comint.el (comint-exec, comint-run, make-comint):
18664         Doc fixes (Bug#4542).
18666 2009-09-25  Glenn Morris  <rgm@gnu.org>
18668         * mail/rmailmm.el (rmail-mime): New custom group.
18669         Move all defcustoms in this file into this group.
18670         (rmail-mime-media-type-handlers-alist): Revert previous change.
18671         (rmail-mime-show-images): New option.
18672         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18673         references to it, since it wasn't actually used for anything.
18674         (rmail-mime-insert-image): New function.
18675         (rmail-mime-image): Use rmail-mime-insert-image.
18676         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18677         obey the value of `rmail-mime-show-images' option.  Print the size of
18678         attachments.
18680 2009-09-25  David Engster  <deng@randomsample.de>
18682         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
18684 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18686         * whitespace.el: Does not highlight trailing spaces While point is
18687         at end of line.  Does not highligt spaces at beginning of buffer
18688         while point is at beginning of buffer.  Does not highlight spaces
18689         at end of buffer while point is at end of buffer.  (Bug#4177)
18690         New version 12.0.
18691         (whitespace-display-mappings): Adjust initialization.
18692         (whitespace-point, whitespace-font-lock-refontify): New vars.
18693         (whitespace-color-on, whitespace-color-off): Adjust code.
18694         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18695         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18696         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18698 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
18700         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18702         * textmodes/sgml-mode.el: Remove xml-mode alias.
18704         * files.el (auto-mode-alist, conf-mode-maybe)
18705         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18707 2009-09-24  Alan Mackenzie  <acm@muc.de>
18709         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18710         c-forward-conditionals, but it doesn't move point and doesn't set
18711         the mark.
18712         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18713         (c-down-conditional-with-else, c-backward-conditional)
18714         (c-forward-conditional): Refactor to use c-scan-conditionals.
18716 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18718         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18719         (help-default-arg-highlight): Remove.
18720         (help-highlight-arg): New function.
18721         (help-do-arg-highlight): Use it.
18722         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
18724 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18726         * term.el (term-set-scroll-region, term-handle-ansi-escape):
18727         Undo last change, which didn't fix the problem and introduced others.
18729 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
18731         * progmodes/gdb-mi.el: Don't require speedbar.
18732         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18734 2009-09-24  Glenn Morris  <rgm@gnu.org>
18736         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18738         * term/ns-win.el (ns-reg-to-script): Define for compiler.
18740         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18741         there is no newline after the final mime boundary.  (Bug#4539)
18742         Move markers on insertion so that any buttons inserted don't end up in
18743         the next part of a multipart message.
18744         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
18745         (rmail-mime-bulk-handler): Optionally handle images.
18746         (rmail-mime-image): New button action.
18747         (rmail-mime-image-handler): New function.
18748         (rmail-mime-mode): New mode.
18749         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
18751 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18753         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18754         than just dropping elements from it (bug#4504).
18756         * term.el (term-set-scroll-region): Don't move cursor any more.
18757         (term-handle-ansi-escape): Call term-goto here instead.
18758         Suggested by Ivan Kanis <apple@kanis.eu>.
18760         * term.el: Require CL.
18761         (term-ansi-reset): New function.
18762         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18763         (term-handle-colors-array): Simplify.
18765 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18767         * allout.el (allout-overlay-interior-modification-handler)
18768         (allout-obtain-passphrase):
18769         * epa-file.el (epa-file-write-region):
18770         * ps-print.el (ps-begin-job):
18771         * vc-hooks.el (vc-toggle-read-only):
18772         * vc-rcs.el (vc-rcs-rollback):
18773         * vc-sccs.el (vc-sccs-rollback):
18774         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18775         (vc-version-diff, vc-revert, vc-rollback):
18776         * wdired.el (wdired-check-kill-buffer):
18777         * emacs-lisp/authors.el (authors):
18778         * net/socks.el (socks-open-connection):
18779         * net/zeroconf.el (zeroconf-service-add-hook):
18780         * obsolete/vc-mcvs.el (vc-mcvs-register):
18781         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18782         (gdb-select-frame):
18783         * progmodes/grep.el (lgrep, rgrep):
18784         * progmodes/idlw-help.el (idlwave-help-check-locations)
18785         (idlwave-help-html-link, idlwave-help-assistant-open-link):
18786         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18787         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18788         (reftex-toc-rename-label): Fix typos in error messages.
18790         * dired-aux.el (dired-do-shell-command): Reflow docstring.
18791         (dired-copy-how-to-fn): Doc fix.
18792         (dired-files-attributes, dired-read-shell-command):
18793         Fix typos in docstrings.
18795         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18796         (dired-x-find-file-other-window): Reflow docstrings.
18797         (dired-omit-marker-char, dired-read-shell-command)
18798         (dired-x-submit-report): Fix typos in docstrings.
18800         * shell.el (shell-mode-hook):
18801         * view.el (View-scroll-line-forward):
18802         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18803         Fix typos in docstrings.
18805         * net/dig.el (dig-invoke): Fix typo in docstring.
18806         (query-dig): Reflow docstring.
18808         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18809         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18810         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18811         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18812         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18813         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18814         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18815         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18816         (idlwave-completion-map, idlwave-current-indent)
18817         (idlwave-custom-ampersand-surround, idlwave-customize)
18818         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18819         (idlwave-define-abbrev, idlwave-determine-class-special)
18820         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18821         (idlwave-end-block-reg, idlwave-end-of-statement)
18822         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18823         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18824         (idlwave-explicit-class-listed, idlwave-file-header)
18825         (idlwave-fill-paragraph, idlwave-find-class-definition)
18826         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18827         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18828         (idlwave-in-quote, idlwave-indent-action-table)
18829         (idlwave-indent-expand-table, idlwave-indent-line)
18830         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18831         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18832         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18833         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18834         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18835         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18836         (idlwave-outlawed-buffers, idlwave-popup-select)
18837         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18838         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18839         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18840         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18841         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18842         (idlwave-statement-type, idlwave-struct-skip)
18843         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18844         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18845         (idlwave-what-module-find-class): Fix typos in docstrings.
18846         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18847         (idlwave-calculate-cont-indent, idlwave-expand-equal)
18848         (idlwave-find-module, idlwave-find-structure-definition)
18849         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18850         (idlwave-list-load-path-shadows, idlwave-next-statement)
18851         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18852         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18853         (idlwave-template): Reflow docstrings.
18855         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18856         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18857         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18858         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18859         (idlwave-shell-display-line, idlwave-shell-display-wframe)
18860         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18861         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18862         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18863         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18864         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18865         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18866         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18867         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18868         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18869         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18870         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18871         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18872         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18873         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18874         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18875         Fix typos in docstrings.
18876         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18877         (idlwave-shell-hide-output, idlwave-shell-mode)
18878         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18879         Reflow docstrings.
18881         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18883 2009-09-24  Ivan Kanis  <apple@kanis.eu>
18885         * term.el (term-bold-attribute): New var.
18886         (term-handle-colors-array): Use it.
18888 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
18890         * progmodes/gdb-mi.el (gdb-version): New variable.
18891         (gdb-non-stop-handler): Set gdb-version.
18892         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18893         Condition "--thread" option on gdb-version.
18894         (gdb-invalidate-threads): Remove unused argument.
18896 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18898         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18899         to looking-back to avoid ridiculous slow down in large files (bug#4511).
18901 2009-09-23  Glenn Morris  <rgm@gnu.org>
18903         * mail/rmail.el (rmail-reply): Don't try to add a References header when
18904         replying to mail without References or Message-Id.  (Bug#4525)
18906 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
18908         * term/ns-win.el (ns-reg-to-script): New variable.
18910 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
18912         * epg.el (epg-wait-for-status): Preserve existing 'error results.
18914 2009-09-22  Sam Steingold  <sds@gnu.org>
18916         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18917         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18918         to 1 because hg returns status 1 when nothing is found.
18919         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18921 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18923         * textmodes/fill.el: Convert to utf-8 encoding.
18924         (fill-french-nobreak-p): Remove redundant » and « inherited from our
18925         pre-Unicode days.
18927         * add-log.el (change-log-fill-forward-paragraph): New function.
18928         (change-log-mode): Use it so fill-region DTRT.
18929         Set fill-indent-according-to-mode here rather than in
18930         change-log-fill-paragraph.
18931         (change-log-fill-paragraph): Remove.
18933 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
18935         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18936         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
18938 2009-09-22  Glenn Morris  <rgm@gnu.org>
18940         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18941         the scroll-bar scroll the calendar window rather than the buffer.
18943         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18944         commands that move point (as opposed to scrolling).
18946         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18948         * emacs-lisp/elint.el (elint): New custom group.
18949         (elint-log-buffer): Make it a defcustom.
18950         (elint-scan-preloaded, elint-ignored-warnings)
18951         (elint-directory-skip-re): New options.
18952         (elint-builtin-variables): Doc fix.
18953         (elint-preloaded-env): New variable.
18954         (elint-unknown-builtin-args): Add an entry for encode-time.
18955         (elint-extra-errors): Make it a variable rather than a constant.
18956         (elint-preloaded-skip-re): New constant.
18957         (elint-directory): Skip files matching elint-directory-skip-re.
18958         (elint-features): New variable, local to linted buffers.
18959         (elint-update-env): Initialize elint-features.  Possibly add
18960         elint-preloaded-env to the buffer's environment.
18961         (elint-get-top-forms): Bind elint-current-pos, for log messages.
18962         Skip quoted forms.
18963         (elint-init-form): New function, extracted from elint-init-env.
18964         Make non-list forms a warning rather than an error.
18965         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
18966         easy-menu-define, put that adds an error-condition, and provide.
18967         When requiring cl, also require cl-macs.  Really require cl, to handle
18968         some cl macros.  Store required libraries in the list elint-features,
18969         so as not to re-load them.  Treat cc-require like require.
18970         (elint-init-env): Call elint-init-form to do the work.
18971         Handle eval-and-compile and such like.
18972         (elint-add-required-env): Do not clear messages.
18973         (elint-special-forms): Add handlers for function, defalias, if, when,
18974         unless, and, or.
18975         (elint-form): Add optional argument to ignore elint-special-forms,
18976         useful to prevent recursive calls from handlers.  Doc fix.
18977         Respect elint-ignored-warnings.
18978         (elint-form): Respect elint-ignored-warnings.
18979         (elint-bound-variable, elint-bound-function): New variables.
18980         (elint-unbound-variable): Respect elint-bound-variable.
18981         (elint-get-args): Respect elint-bound-function.
18982         (elint-check-cond-form): Add some simple handling for (f)boundp and
18983         featurep tests.
18984         (elint-check-defalias-form): New handler.
18985         (elint-check-let-form): Make an empty let a warning rather than an
18986         error.
18987         (elint-check-setq-form): Make an empty setq a warning rather than an
18988         error.  Respect elint-ignored-warnings.
18989         (elint-check-defvar-form): Accept null doc-strings.
18990         (elint-check-conditional-form): New handler.  Does some simple-minded
18991         checking of featurep and (f)boundp tests.
18992         (elint-put-function-args): New function.
18993         (elint-initialize): Use elint-scan-doc-file rather than
18994         elint-find-builtin-variables.  Use elint-put-function-args.
18995         Possibly scan preloaded-file-list.
18996         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18997         extend to handle functions as well.
18999 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
19001         * linum.el (linum-delete-overlays, linum-update-window):
19002         Do not modify the right margin.  (Bug#3971)
19004 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
19006         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19007         Use nxml-mode instead of xml-mode.
19009 2009-09-21  Kevin Ryde  <user42@zip.com.au>
19011         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
19013 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19015         * net/dig.el (dig-mode): Use define-derived-mode.
19017 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
19019         * vc-dispatcher.el (vc-do-command): Return the process object in
19020         the asynchronous case.  Use when instead of if.  Do not run
19021         vc-exec-after to display a message if not enabled.  (Bug#4463)
19023         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19024         properties to the stash strings.
19025         (vc-git-stash-list): Return a list of strings.
19026         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19027         (vc-git-stash-show-at-point): New functions.
19028         (vc-git-stash-map): New keymap.
19030         * register.el (ctl-x-r-map): Define the keys here instead of
19031         using autoload.
19033 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
19035         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19036         list, to workaround performance problem (bug#4485).
19038 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
19040         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19042 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
19044         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19045         Document that this option is not recommended to use.
19047 2009-09-19  Glenn Morris  <rgm@gnu.org>
19049         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19050         variable `var'.
19052         * calc/calc-alg.el (var):
19053         * calc/calcalg2.el (var): Define for compiler.
19055 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
19057         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19058         Doc fix (Bug#3932).
19060         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19062         * time-stamp.el (time-stamp-month-dd-yyyy)
19063         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19064         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19065         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19066         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19067         Remove functions that have been obsolete since 1995 (Bug#4436).
19069         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19070         indent buffer only if called interactively (Bug#4452).
19072 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
19073             Eli Zaretskii  <eliz@gnu.org>
19075         This fixes bug#4197 (merged to bug#865, though not identical).
19076         * server.el (server-auth-dir): Add docstring note about FAT32.
19077         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19078         but warn against using them.
19080 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
19082         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19083         older GDB where there is no has_more field.
19085 2009-09-19  Glenn Morris  <rgm@gnu.org>
19087         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19089 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
19091         * files.el (auto-mode-alist): Change default for XML files to nXML
19092         mode (Bug#4169).
19094 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
19096         * server.el (server-ensure-safe-dir): Pass 'integer
19097         to `file-attributes', as suggested.
19099 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19101         * dired-aux.el (dired-query-alist): Remove spurious backslash.
19102         (dired-query): Use read-key.
19104 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
19106         * cus-start.el (ns-use-qd-smoothing): Remove.
19108 2009-09-18  Glenn Morris  <rgm@gnu.org>
19110         * allout.el (top-level): Remove unnecessary progn.
19112         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19114         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19115         definition of abbrev table.
19117         * speedbar.el (speedbar-track-mouse):
19118         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19119         * net/eudc.el (eudc-expand-inline):
19120         * net/newst-backend.el (newsticker--cache-read-feed):
19121         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19122         condition-case handlers.
19124 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
19126         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19127         (gdb-var-list): Add an element for has_more field.
19128         (gdb-non-stop-handler): Enable pretty printing for STL containers.
19129         (gdb-var-create-handler, gdb-var-list-children-handler-1)
19130         (gdb-var-update-handler-1): Parse output of dynamic variable
19131         objects (STL containers).
19132         (gdb-var-delete-1): Pass var1 as an explicit second argument.
19133         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
19135         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19136         gdb-var-list.
19137         (gud-speedbar-buttons): Make node expandable if expression "has more"
19138         children.
19140 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
19142         * startup.el (emacs-quick-startup): Remove variable and all uses.
19143         (command-line): Set `inhibit-x-resources' instead.
19144         (command-line-1): Use `inhibit-x-resources' instead.
19146 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
19148         * subr.el: Fix last change to avoid using the `unless' macro,
19149         which breaks bootstrapping.
19151 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19153         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19154         extended definitions, in case we reload subr.el after having
19155         loaded CL.
19156         (eval-next-after-load): Mark as obsolete.
19158 2009-09-17  Juri Linkov  <juri@jurta.org>
19160         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19161         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19162         (menu-bar-showhide-menu, menu-bar-tools-menu)
19163         (menu-bar-describe-menu, menu-bar-help-menu)
19164         (minibuffer-local-completion-map, minibuffer-local-map):
19165         Fix list quoting.
19167 2009-09-17  Glenn Morris  <rgm@gnu.org>
19169         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19170         arguments, whether or not it has a handler.
19172         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19174         * simple.el (hard-newline): Give it a doc-string.
19176         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19177         (lisp-mode-syntax-table): Give them doc-strings.
19179 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
19181         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19182         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19183         (menu-bar-options-menu, menu-bar-showhide-menu)
19184         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19185         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19186         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19187         (menu-bar-options-menu, menu-bar-tools-menu)
19188         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19189         (menu-bar-help-menu):
19190         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19191         string arguments.
19193         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19194         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19195         calls for the menu names and :help.
19197 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19199         * mouse.el (minor-mode-menu-from-indicator): Pay attention
19200         to :minor-mode-function (bug#4455).
19202 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19204         * startup.el (command-line): Initialize the window-system after
19205         processing the command-line.
19207         * textmodes/page.el (what-page): Make sure we don't inf-loop if
19208         page-delimiter matches the empty string.
19210 2009-09-16  Glenn Morris  <rgm@gnu.org>
19212         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19213         byte-compile-not-obsolete-var.  It's a list now.
19214         (byte-compile-not-obsolete-funcs): New variable.
19215         (byte-compile-warn-obsolete): Don't warn about functions if they are in
19216         byte-compile-not-obsolete-funcs.
19217         (byte-compile-variable-ref, byte-compile-defvar): Update for
19218         byte-compile-not-obsolete-vars name-change and list nature.
19219         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19220         and variables behind (f)boundp tests.
19221         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19223 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19225         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19227 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19229         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19230         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19231         Don't autoload.
19233 2009-09-15  Stephen Eglen  <stephen@gnu.org>
19235         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19236         the virtual-buffers, use the name of the buffer specified by
19237         find-file-noselect, as the match may be a symlink.  (This was a
19238         problem if the target and the symlink had different names.)
19240 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19242         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19244         * desktop.el (desktop-path): Check user-emacs-directory.
19246         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19248         * loadup.el: Use after-load-functions to GC after loading each file.
19249         Remove the explicit GC calls that used to be sprinkled around.
19251         * subr.el (after-load-functions): New hook.
19252         (do-after-load-evaluation): Run it.  Use string-match-p to detect
19253         `obsolete' packages, rather than painfully extracting the relevant
19254         directory name.
19256 2009-09-15  Glenn Morris  <rgm@gnu.org>
19258         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19259         free variable `doc'.
19261         * dired.el (dired-mode-map): Add menu entry for async shell command.
19263         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19264         variables, also consider the .elc files, since the .el files are
19265         normally gzipped (subsequent code locates the .el.gz from the .elc).
19267         * calc/calc-prog.el (arglist): Define for compiler.
19269         * calendar/diary-lib.el (diary-display-function): Change the default to
19270         fancy display.
19271         (body): Define for compiler.
19273         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19274         (byte-compile-file-form, byte-compile-lambda)
19275         (byte-compile-top-level-body, byte-compile-form)
19276         (byte-compile-variable-ref, byte-compile-setq)
19277         (byte-compile-setq-default, byte-compile-body)
19278         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19279         (batch-byte-compile): Give some more local variables with common names
19280         a "bytecomp-" prefix to avoid masking warnings about free variables.
19282         * startup.el (command-line-1): Give local variables with common names a
19283         distinguishing prefix, so as not to hide free variable warnings during
19284         bootstrap.
19286         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19287         clever and add a suffix to make a unique name, just let the user decide
19288         whether or not to overwrite it.  If the input is a directory, write the
19289         default filename to that directory.  (Bug#4388)
19290         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19291         is a filename-as-a-directory.
19293 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19295         * textmodes/page.el (what-page): Don't move to beginning of line.
19296         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19298 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19300         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19302 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
19304         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19305         * help.el (help-for-help-internal): Add purecopy calls for text.
19307         * vc.el (top): print-log method now takes an optional SHORTLOG
19308         argument.  Add a new method: root.
19309         (vc-root-diff, vc-print-root-log): New functions.
19310         (vc-log-short-style): New variable.
19311         (vc-print-log-internal): Add support for showing short logs.
19313         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19314         vc-print-root-log and vc-print-root-diff.
19316         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19317         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19318         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19319         short logs.
19321         * vc-cvs.el (vc-cvs-print-log):
19322         * vc-mtn.el (vc-mtn-print-log):
19323         * vc-rcs.el (vc-rcs-print-log):
19324         * vc-sccs.el (vc-sccs-print-log):
19325         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19326         that is ignored for now.
19328         * vc-mtn.el (vc-mtn-annotate-command):
19329         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19331 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19333         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19334         to function-key-map, and give them ascii-character property.
19335         * term/x-win.el (x-alternatives-map):
19336         * term/ns-win.el (ns-alternatives-map):
19337         * term/internal.el (msdos-key-remapping-map):
19338         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19340 2009-09-14  Glenn Morris  <rgm@gnu.org>
19342         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19343         temp-buffers (2009-09-12).
19345 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19347         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19348         the new read-key function.
19350 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19352         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19353         is defined (Bug#4405).
19355 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
19357         * recentf.el (recentf-cleanup): Use a hash table to find
19358         duplicates (Bug#4407).
19360 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
19362         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19363         kp-0 to ascii equivalents (Bug#4325).
19365 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19367         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19369         * eshell/em-hist.el:
19370         * eshell/em-dirs.el (eshell-complete-user-reference):
19371         Declare pcomplete functions and variables to avoid compiler warnings.
19373 2009-09-13  Leo Liu  <sdl.web@gmail.com>  (tiny change)
19375         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19376         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19377         * eshell/em-alias.el (eshell-aliases-file):
19378         * eshell/em-hist.el (eshell-history-file-name):
19379         Use expand-file-name instead of concat to make file names (Bug#4308).
19381 2009-09-13  Glenn Morris  <rgm@gnu.org>
19383         * ediff-merg.el (ediff-do-merge):
19384         * filesets.el (filesets-run-cmd):
19385         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19386         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19387         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19388         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19389         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19390         Replace empty `let's with `progn'.
19392 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19394         * mail/sendmail.el (send-mail-function):
19395         * tooltip.el (tooltip-mode):
19396         * simple.el (transient-mark-mode):
19397         * rfn-eshadow.el (file-name-shadow-mode):
19398         * frame.el (blink-cursor-mode):
19399         * font-core.el (global-font-lock-mode):
19400         * files.el (temporary-file-directory)
19401         (small-temporary-file-directory, auto-save-file-name-transforms):
19402         * epa-hook.el (auto-encryption-mode):
19403         * composite.el (global-auto-composition-mode):
19404         Use custom-initialize-delay.
19405         * startup.el (command-line): Don't explicitly call
19406         custom-reevaluate-setting for all the above vars.
19407         * custom.el (custom-initialize-safe-set)
19408         (custom-initialize-safe-default): Delete.
19410 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19412         * term/x-win.el (x-initialize-window-system):
19413         * term/w32-win.el (w32-initialize-window-system):
19414         * term/ns-win.el (ns-initialize-window-system): Don't call
19415         mouse-wheel-mode since it's enabled globally by default already.
19417         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19418         actually define the variable, but only silences the byte-compiler.
19419         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19420         before looking it up.
19421         (mouse-wheel-scroll-amount): Also reset the bindings if this value
19422         is changed.
19424 2009-09-12  Glenn Morris  <rgm@gnu.org>
19426         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19427         1000.
19428         (elint-add-required-env): Don't beep on error.
19429         (elint-forms): In case of error, return ENV unchanged.
19430         (elint-init-env): Skip non-list forms.
19431         (elint-log): Handle unknown file positions.
19433 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
19435         * epg.el (epg-make-context): Add autoload cookie.
19436         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19437         (epg-decrypt-string, epg-start-verify, epg-verify-file)
19438         (epg-verify-string, epg-start-sign, epg-sign-file)
19439         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19440         (epg-encrypt-string, epg-start-export-keys)
19441         (epg-export-keys-to-file, epg-export-keys-to-string)
19442         (epg-start-import-keys, epg-import-keys-from-file)
19443         (epg-import-keys-from-string, epg-start-receive-keys)
19444         (epg-receive-keys, epg-import-keys-from-server)
19445         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19446         (epg-sign-keys, epg-start-generate-key)
19447         (epg-generate-key-from-file, epg-generate-key-from-string):
19448         Remove autoload cookie.
19450 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
19452         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19453         reevaluation of trash-directory.
19455         * mwheel.el: Fix last change.
19456         (mouse-wheel-mode): New defvar.
19457         (mouse-wheel-mode): Remove autoload cookie.
19459 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19461         * mwheel.el (mwheel-installed-bindings): New var.
19462         (mouse-wheel-mode): Use it, so as to make sure we really remove all
19463         the bindings we set last time.  Use custom-initialize-delay.
19464         * loadup.el: Load mwheel after term/*-win.el.
19465         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19466         and mouse-wheel-up-event now that their first evaluation is done
19467         sufficiently late to be correct.
19469         * startup.el (tutorial-directory): Make it a defcustom.
19470         Use custom-initialize-delay rather than eval-at-startup to set it.
19471         * image.el (image-load-path): Make it a defcustom.
19472         Use custom-initialize-delay rather than eval-at-startup to set it.
19473         * subr.el (eval-at-startup): Remove.
19474         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19476         * subr.el (do-after-load-evaluation): Warn the user after loading an
19477         obsolete package.
19479 2009-09-12  Glenn Morris  <rgm@gnu.org>
19481         * proced.el (proced-mark-alt): Remove alias.
19482         (proced-mode-map): Remove proced-mark-alt.
19484         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19485         Elint file and directory.  Remove initialization entry.
19487         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19488         commands.
19489         (elint-current-buffer): Set mode-line-process.
19490         (elint-init-env): Handle define-derived-mode.
19491         Fix declare-function with unspecified arglist.  Guard against odd
19492         defalias statements (eg iso-insert's 8859-1-map).
19493         (elint-add-required-env): Use a temp buffer.
19494         (elint-form): Just print the function/macro name, not the whole form.
19495         Return env unchanged if we fail to parse a macro.
19496         (elint-forms): Guard against parse errors.
19497         (elint-output): New function, to handle batch mode.
19498         (elint-log-message): Add optional argument.  Use elint-output.
19499         (elint-set-mode-line): New function.
19501 2009-09-12  Andreas Politz  <politza@fh-trier.de>
19503         * emacs-lisp/elp.el (elp-not-profilable): Add more
19504         functions (Bug#4233).
19506 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
19508         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19509         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19511 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19513         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19514         (gdb-var-list-children): Use json parsing.
19516 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
19518         * progmodes/js.el (js--proper-indentation): Handle the case where
19519         char-before is null.  Reported by Deniz Dogan.
19521 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19523         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19525 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
19527         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19528         (epg-digest-algorithm-alist): Add SHA224.
19529         (epg-context-set-passphrase-callback)
19530         (epg-context-set-progress-callback): Add description about
19531         callback function.
19533 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19535         * custom.el (custom-delayed-init-variables): New var.
19536         (custom-initialize-delay): New function.
19537         * startup.el (command-line): "Re"evaluate all vars in
19538         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
19539         explicitly any more.
19540         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19541         to avoid creating a ~/.emacs.d at build-time (bug#4347).
19543         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19545 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19547         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19548         (gdb-var-update-handler): Use json parsing.
19550 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19552         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19553         decode annotated text, regardless of language environment.  (Bug#2741)
19555 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19557         * Makefile.in (autoloads): Make rmail.el writable as well.
19559 2009-09-11  Glenn Morris  <rgm@gnu.org>
19561         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19562         loaddefs.el.
19563         * dired.el: Regenerate with extracted autoloads.
19564         * Makefile.in (autoloads): Make dired.el writable.
19566         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19567         * ibuffer.el: Regenerate with extracted autoloads.
19568         * Makefile.in (autoloads): Make ibuffer.el writable.
19570         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19571         * version.el (emacs-copyright, emacs-major-version)
19572         (emacs-minor-version): Reformat doc-strings for make-docfile.
19574         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19575         functions and variables, since they must be stuff specific to some other
19576         platform.
19577         (apropos-print): Make mouse-click message less specific about button.
19579         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19580         that records where a macro was defined.
19581         * help-fns.el (describe-function-1): Mention if a function has a
19582         compiler-macro.
19583         * help-mode.el (help-function-cmacro): New button.
19585         * locate.el (top-level): Always require dired.
19586         (locate-mode-map): Initialize inside the defvar.
19588         * net/ange-ftp.el (dired-compress-file): Declare.
19589         (ange-ftp-dired-compress-file): Add doc string.
19591         * term/ns-win.el (x-display-name, x-setup-function-keys):
19592         Unify doc-strings with X versions.
19594 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19596         * emulation/crisp.el (crisp-mode-map): Move initialization
19597         into declaration.
19598         (crisp-mode): Use define-minor-mode.
19600         * progmodes/xscheme.el (xscheme-evaluation-commands):
19601         Put a :advertised-binding property rather than using
19602         advertised-xscheme-send-previous-expression.
19603         (advertised-xscheme-send-previous-expression): Declare obsolete.
19604         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19605         `advertised-undo'.
19606         (crisp-mode): Add corresponding bindings to
19607         undo's :advertised-binding instead.
19608         * dired.el (dired-mode-map): Put a :advertised-binding property rather
19609         than using dired-advertised-find-file.
19610         (dired-advertised-find-file):
19611         * simple.el (advertised-undo):
19612         * wid-edit.el (advertised-widget-backward): Declare obsolete.
19613         (widget-keymap): Put a :advertised-binding property rather
19614         than using advertised-widget-backward.
19615         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19616         than using advertised-undo.
19617         * tutorial.el (tutorial--default-keys): Adjust accordingly.
19619 2009-09-10  Simon South  <ssouth@slowcomputing.org>
19621         * progmodes/delphi.el (delphi-tab): Indent region when Transient
19622         Mark mode is enabled and region is active; otherwise indent or
19623         insert TAB as usual.
19624         (delphi-mode): Update description of TAB-key binding.
19626 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19628         * subr.el (define-key-rebound-commands): Mark obsolete.
19629         * startup.el (precompute-menubar-bindings): Remove.
19630         (normal-top-level): Remove obsolete code that tried to precompute
19631         menubar bindings.
19632         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19633         define-key-rebound-commands and precompute-menubar-bindings.
19635 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
19637         * net/imap.el (imap-interactive-login): Better messages.
19638         (imap-open): Fix bug with renamed buffer on reconnect.
19639         (imap-authenticate): Add buffer-local imap-last-authenticator variable
19640         for easier debugging and cleaner code.  On successful (guessed based on
19641         server capabilities) secondary authentication, set imap-state
19642         correctly.
19643         (imap-last-authenticator): Define imap-last-authenticator as a variable
19644         to avoid warnings.
19646 2009-09-10  Glenn Morris  <rgm@gnu.org>
19648         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19650         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19651         (byte-compile-file-form-autoload): Don't warn about unknown functions
19652         where the autoload statement comes after the use.
19653         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19654         that any handlers inside the body (eg require) are in turn respected.
19656         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19657         effects.
19659         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19660         and syntax and abbrev tables basic docs, if they don't have any.
19662         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19664         * international/mule-cmds.el (top-level): Require cl when compiling.
19665         (view-hello-file): Use default-value rather than
19666         default-enable-multibyte-characters.
19668         * progmodes/fortran.el: Move all safe and risky properties into the
19669         defcustoms.
19671         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19672         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19673         * mail/undigest.el:
19674         Put autoloads in rmail.el rather than loaddefs.el.
19675         * mail/rmail.el: Regenerate with extracted autoloads.
19677         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19678         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19680 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
19682         Reported in thread for Bug#4375.
19683         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19684         "-data-evaluate-expression" instead of print.
19685         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19686         (gdb-tooltip-print): Parse output from above MI command.
19687         (gdb): Revert 2009-08-11 change.  User should detach inferior
19688         manually.
19690         Remove the word "separate" from IO functions as inferior
19691         output is now never displayed in the GUD buffer.
19693 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
19695         * startup.el (command-line-normalize-file-name): On Windows and
19696         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19698 2009-09-10  Juri Linkov  <juri@jurta.org>
19700         * isearch.el (isearch-text-char-description): Propertize escape
19701         character sequences with the `escape-glyph' face.  (Bug#4344)
19703         * simple.el (shell-command): Set asynchronous process filter to
19704         `comint-output-filter'.  (Bug#4343)
19706         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19707         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
19708         the list.  Move "asm" to the bottom.
19709         (grep-find-ignored-directories): Add `choice' with nil value
19710         to empty the list easily.
19711         (grep-find-ignored-files): New option.
19712         (grep-files-history): Set to nil by default instead of '("ch" "el").
19713         (grep-compute-defaults): Add "<X>" to `grep-template'.
19714         (grep-read-files): Bind new local variables `default-alias' and
19715         `default-extension'.  Use a list of default values for the file prompt.
19716         (lgrep): Add `--exclude=' command line options composed from
19717         `grep-find-ignored-files'.
19718         (rgrep): Add `-name' command line options composed from
19719         `grep-find-ignored-files'.  (Bug#4301)
19721 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19723         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19724         (bug#4368).
19726 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
19728         * calendar/time-date.el (autoload):
19729         Expand define-obsolete-function-alias into defalias and make-obsolete
19730         for old Emacsen that Gnus supports.
19731         (with-no-warnings): Define it for old Emacsen.
19732         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19733         is available.
19734         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19735         float-time is available; suppress compile warning for time-to-seconds.
19737 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
19739         * net/imap.el (imap-message-map): Docstring fix.
19741 2009-09-09  Glenn Morris  <rgm@gnu.org>
19743         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19744         line numbers too.  (Bug#4374)
19746 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19748         * smerge-mode.el (smerge-remove-props, smerge-refine):
19749         Use with-silent-modifications (bug#4342).
19751         * subr.el (with-silent-modifications): New macro.
19753 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
19755         * files.el (top-level): Require `cl' when compiling.
19757 2009-09-07  Glenn Morris  <rgm@gnu.org>
19759         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19761         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19762         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
19764 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
19766         * vc-git.el (vc-git-annotate-command): Use separator to parse
19767         arguments correctly.
19769 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
19771         * proced.el (proced-mode): Doc fix.
19773 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
19775         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19776         lstat fails.
19777         (tramp-do-file-attributes-with-ls): Check for file existence at
19778         remote end.
19779         (tramp-do-file-attributes-with-stat): Likewise.
19780         (tramp-convert-file-attributes): Return nil when attr is nil.
19782 2009-09-05  Glenn Morris  <rgm@gnu.org>
19784         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19785         properties to this button.
19786         (diary-fancy-display): Don't extend the button to the final newline.
19787         (diary-fancy-display-mode): Continue to define "q" as a local key.
19789         * calendar/cal-china.el (holiday-chinese): Make it slightly more
19790         efficient.
19792         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19794         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19795         (byte-compile-dest-file-function): New option.
19796         (byte-compile-dest-file): Doc fix.
19797         Obey byte-compile-dest-file-function.
19798         (byte-compile-cl-file-p): New function.
19799         (byte-compile-eval): Only suppress noruntime warnings about cl functions
19800         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
19801         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19802         than for file being previously loaded.
19803         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19804         (byte-compile-file-form-require): Handle the case where requiring a file
19805         indirectly causes CL to be loaded.
19807 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19809         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19810         before killing the old buffer, since by the time `kill-buffer' is
19811         run so many buffer variables have been set to nil that it may not
19812         behave as expected.  (Bug#4061)
19814 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19816         * files.el (find-alternate-file): If the old buffer is modified
19817         and visiting a file, behave similarly to `kill-buffer' when
19818         killing it, thus reverting to the pre-1.878 behavior; see
19819         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19820         for discussion.  Also, consult `buffer-file-name' as a variable
19821         not as a function, for consistency with the rest of the code.
19823 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
19825         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19826         also when adding a new directory.
19828         * net/tramp-compat.el (tramp-compat-line-beginning-position):
19829         New defun.
19831 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19833         * files.el (locate-file-completion-table): Make it provide boundary
19834         information, so partial-completion works better.
19836 2009-09-04  Leo Liu  <sdl.web@gmail.com>  (tiny change)
19838         * mail/footnote.el (Footnote-text-under-cursor):
19839         Check footnote-text-marker-alist before using it (bug#4324).
19841 2009-09-04  Glenn Morris  <rgm@gnu.org>
19843         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19844         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19845         * play/solitaire.el, play/tetris.el:
19846         Remove leading * from defcustom and defface docs.
19848         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19849         necessary.
19850         (diary-fancy-overriding-map): New variable.
19851         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19852         Use view-mode.
19854         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19855         goto-line.
19857 2009-09-03  Glenn Morris  <rgm@gnu.org>
19859         * arc-mode.el (archive-mode):
19860         * dos-fns.el (set-default-process-coding-system):
19861         * man.el (Man-getpage-in-background):
19862         * menu-bar.el (menu-bar-describe-menu):
19863         * server.el (server-process-filter):
19864         * startup.el (command-line):
19865         * tar-mode.el (tar-header-block-tokenize, tar-extract):
19866         * w32-fns.el (set-default-process-coding-system):
19867         * x-dnd.el (x-dnd-handle-file-name):
19868         * international/mule-cmds.el (mule-menu-keymap)
19869         (set-default-coding-systems, language-info-alist, set-language-info)
19870         (set-language-environment, standard-display-european-internal)
19871         (set-locale-environment):
19872         * international/mule-diag.el (mule-diag):
19873         * mail/emacsbug.el (report-emacs-bug):
19874         * mail/rmail.el (rmail-mode):
19875         * mail/sendmail.el (mail-setup):
19876         Use default-value rather than default-enable-multibyte-characters.
19878         * progmodes/f90.el: Move all safe properties into the defcustoms.
19879         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19881         * calendar/appt.el (appt-check):
19882         * calendar/diary-lib.el (diary-set-header, diary-live-p)
19883         (diary-check-diary-file, diary-list-entries)
19884         (diary-include-other-diary-files, diary-simple-display)
19885         (diary-fancy-display, diary-print-entries)
19886         (diary-mark-included-diary-files, diary-make-entry):
19887         Don't call substitute-in-file-name on diary-file.
19889 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
19890             Stefan Monnier  <monnier@iro.umontreal.ca>
19892         * mail/footnote.el (footnote-prefix): Make it a defcustom.
19893         (footnote-mode-map): Move initialization into the declaration.
19894         (footnote-minor-mode-map): Define it rather than changing global-map.
19895         (footnote-mode): Use define-minor-mode.
19897 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
19899         * net/tramp.el (tramp-handle-file-attributes-with-ls)
19900         (tramp-do-file-attributes-with-perl)
19901         (tramp-do-file-attributes-with-stat): Rename from
19902         `tramp-handle-file-attributes-with-*'.
19903         (tramp-handle-file-attributes): Use them.
19904         (tramp-do-directory-files-and-attributes-with-perl)
19905         (tramp-do-directory-files-and-attributes-with-stat): Rename from
19906         `tramp-handle-directory-files-and-attributes-with-*'.
19907         (tramp-handle-directory-files-and-attributes): Use them.
19908         (tramp-method-out-of-band-p): Additional parameter SIZE.
19909         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19910         (tramp-handle-write-region): Use it.
19911         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19912         (tramp-handle-vc-registered): Check, whether the first run did
19913         return files to be tested.
19914         (tramp-advice-make-auto-save-file-name): Do not call directly
19915         `tramp-handle-make-auto-save-file-name', because this would bypass
19916         the locking mechanism.
19918         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19919         (file-remote-p, process-file, start-file-process, set-file-times)
19920         (tramp-compat-file-attributes): Compatibility functions shall not
19921         call directly `tramp-handle-*', because this would bypass the
19922         locking mechanism.
19923         (tramp-compat-number-sequence): New defun.
19925 2009-09-02  Glenn Morris  <rgm@gnu.org>
19927         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19928         alias for float-time.
19929         (time-to-number-of-days): In Emacs, use float-time.
19930         * net/newst-backend.el (time-add): Suppress warnings from compat
19931         function.
19932         * time.el (emacs-uptime, emacs-init-time):
19933         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19934         Use float-time rather than time-to-seconds.
19936         * minibuffer.el (completion-initials-expand): Fix typo.
19938         * faces.el (modeline, modeline-inactive, modeline-highlight)
19939         (modeline-buffer-id):
19940         * info.el (info-menu-5): Mark these face aliases as obsolete.
19942 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19944         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19945         space ...
19946         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19947         no "--thread" option.
19948         (gdb-stopped): Don't print "Switched to thread" message when it is
19949         unchanged.
19951 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19953         * minibuffer.el (completion-try-completion)
19954         (completion-all-completions): Remove ill-defined (and
19955         mistakenly installed and luckily never used nor documented)
19956         `completion-styles' property.
19957         (completion-initials-expand, completion-initials-all-completions)
19958         (completion-initials-try-completion): New functions.
19959         (completion-styles-alist): Add doc to each entry.
19960         Add new `initials' entry.
19962 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19964         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19965         MI command -var-evaluate-expression.
19966         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19967         and tweak for case of string child.
19968         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19970 2009-09-01  Glenn Morris  <rgm@gnu.org>
19972         * add-log.el (change-log-date-face, change-log-name-face)
19973         (change-log-email-face, change-log-file-face, change-log-list-face)
19974         (change-log-conditionals-face, change-log-function-face)
19975         (change-log-acknowledgement-face):
19976         * cus-edit.el (custom-invalid-face, custom-rogue-face)
19977         (custom-modified-face, custom-set-face, custom-changed-face)
19978         (custom-saved-face, custom-button-face, custom-button-pressed-face)
19979         (custom-documentation-face, custom-state-face, custom-comment-face)
19980         (custom-comment-tag-face, custom-variable-tag-face)
19981         (custom-variable-button-face, custom-face-tag-face)
19982         (custom-group-tag-face-1, custom-group-tag-face):
19983         * diff-mode.el (diff-header-face, diff-file-header-face)
19984         (diff-index-face, diff-hunk-header-face, diff-removed-face)
19985         (diff-added-face, diff-changed-face, diff-function-face)
19986         (diff-context-face, diff-nonexistent-face):
19987         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19988         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19989         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19990         (Info-title-4-face):
19991         * isearch.el (isearch-lazy-highlight-face):
19992         * log-view.el (log-view-file-face, log-view-message-face):
19993         * paren.el (show-paren-match-face, show-paren-mismatch-face):
19994         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19995         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19996         (cvs-msg-face):
19997         * smerge-mode.el (smerge-mine-face, smerge-other-face)
19998         (smerge-base-face, smerge-markers-face):
19999         * wid-edit.el (widget-documentation-face, widget-button-face)
20000         (widget-field-face, widget-single-line-field-face)
20001         (widget-inactive-face, widget-button-pressed-face):
20002         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20003         (woman-addition-face):
20004         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20005         (eshell-ls-executable-face, eshell-ls-readonly-face)
20006         (eshell-ls-unreadable-face, eshell-ls-special-face)
20007         (eshell-ls-missing-face, eshell-ls-archive-face)
20008         (eshell-ls-backup-face, eshell-ls-product-face)
20009         (eshell-ls-clutter-face):
20010         * eshell/em-prompt.el (eshell-prompt-face):
20011         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20012         * obsolete/old-whitespace.el (whitespace-highlight-face):
20013         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20014         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20015         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20016         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20017         (antlr-font-lock-literal-face):
20018         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20019         (ebrowse-root-class-face, ebrowse-file-name-face)
20020         (ebrowse-default-face, ebrowse-member-attribute-face)
20021         (ebrowse-member-class-face, ebrowse-progress-face):
20022         * progmodes/make-mode.el (makefile-space-face):
20023         * progmodes/sh-script.el (sh-heredoc-face):
20024         * textmodes/flyspell.el (flyspell-incorrect-face)
20025         (flyspell-duplicate-face):
20026         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20027         * textmodes/texinfo.el (texinfo-heading-face):
20028         Mark face aliases with "-face" suffix as obsolete.
20030         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20031         compiler.
20033         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20034         (eudc-bob-sound-menu): Use defvar rather than defconst, since
20035         easy-menu-define wants to modify these.
20037         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20039         * net/browse-url.el (browse-url-file-url):
20040         * term/internal.el (dos-codepage-setup):
20041         Use default-value rather than default-enable-multibyte-characters.
20043         * progmodes/etags.el (etags-goto-tag-location):
20044         * progmodes/flymake.el (flymake-highlight-line)
20045         (flymake-goto-file-and-line, flymake-goto-line):
20046         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20047         (gdb-goto-breakpoint):
20048         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20049         * progmodes/python.el (python-find-function)
20050         (python-pdbtrack-track-stack-file):
20051         * progmodes/verilog-mode.el (verilog-surelint-off):
20052         * term/ns-win.el (ns-open-file-select-line):
20053         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20054         Use forward-line rather than goto-line.
20056         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20057         * textmodes/reftex-index.el (reftex-display-index):
20058         * textmodes/reftex-ref.el (reftex-offer-label-menu):
20059         * textmodes/reftex-toc.el (reftex-toc):
20060         Remove unnecessary bindings of default-major-mode (all are followed by
20061         major-mode check and possible mode switch).
20063 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20065         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20066         Handle watchpoints (bug#4282).
20067         (def-gdb-thread-buffer-command): Enable thread to be selected by
20068         clicking without selecting threads buffer first.
20069         (gdb-current-context-command): Use selected frame so that "up",
20070         "down" etc work in the GUD buffer.
20071         (gdb-update): Find selected frame before rendering stack buffer.
20072         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20074 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20076         * progmodes/sym-comp.el (displayed-completions): Remove.
20077         (symbol-complete): Use minibuffer-complete.
20079 2009-08-31  Glenn Morris  <rgm@gnu.org>
20081         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20083         * apropos.el (apropos-symbols-internal):
20084         Handle (obsolete) face aliases.
20086         * faces.el (describe-face): Adjust the output format to be more like
20087         describe-variable, and to mention (obsolete) face aliases.
20088         Adjust the whitespace so that help-setup-xref works.
20090         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20091         * calendar/diary-lib.el (diary-button-face):
20092         Mark these face aliases as obsolete.
20094         * calendar/calendar.el (calendar-today): Doc fix.
20096 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20098         * progmodes/gdb-mi.el (gdb-control-all-threads)
20099         (gdb-control-current-thread): Force tool bar update.
20100         (gdb-non-stop-handler): New function.
20101         (gdb-init-1): Use it to test if non-stop mode is supported.
20102         Remove unused gdbmi buffer type.
20104 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
20106         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20107         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
20109 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
20111         * comint.el (comint-exec-1): Check command is non-null first.
20112         Part of gdb-mi.el change (2009-08-28).
20114 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20116         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20118 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
20120         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20121         instead of `dolist' to avoid a recursive require when bootstrapping.
20123 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20125         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20127         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20129         * net/imap.el (imap-send-command): Simplify.
20130         (imap-wait-for-tag): point-max -> buffer-size.
20132         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20134         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20135         with constant argument.
20137         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20139         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20141         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20142         Change default, since most of our files don't have a history.
20143         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20144         the user.
20146         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20147         Add comint-run.
20149         * calc/calc.el: Improve commenting convention.
20150         (calc-digit-map, toplevel): Simplify.
20152         * comint.el (comint-insert-input): Be careful to only set point if we
20153         don't delegate to some other command.
20155         * proced.el (proced-signal-list): Make it an alist.
20156         (proced-grammar-alist): Capitalize names.
20157         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20158         Disable undo manually and make it read-only.
20159         Use completion-annotate-function.
20161         * minibuffer.el (minibuffer-message): If the current buffer is not
20162         a minibuffer, insert the message in the echo area rather than at the
20163         end of the buffer.
20164         (completion-annotate-function): New variable.
20165         (minibuffer-completion-help): Use it.
20166         (completion--embedded-envvar-table): Environment vars are
20167         always case-sensitive.
20169 2009-08-30  Glenn Morris  <rgm@gnu.org>
20171         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20172         from fortran-current-defun.
20173         (fortran-beginning-of-subprogram): Be more precise about finding the
20174         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
20175         (fortran-end-of-subprogram): Simplify.
20176         (fortran-current-defun): Use fortran-start-prog-re.
20178 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
20180         * subr.el (do-after-load-evaluation): Simplify.
20182 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
20184         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20186         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
20187         (vc-rcs-print-log): Use it.
20189         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20191 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20193         * paths.el (abbrev-file-name): Move to abbrev.el.
20194         * abbrev.el (abbrev-file-name): Move from paths.el.
20195         Obey user-emacs-directory.
20196         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20197         user-emacs-directory.
20198         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20199         abbrev-file-name and calc-settings-file any more.
20200         * startup.el (command-line): Recompute abbrev-file-name and
20201         abbreviated-home-dir.
20202         (normal-no-mouse-startup-screen): Improve the generic code and get rid
20203         of the special code for when C-h bindings haven't been changed.
20204         (display-startup-echo-area-message): Use with-current-buffer.
20205         (command-line-1): Use a list of strings, rather than a list of lists
20206         of strings for longopts.
20208         * files.el (get-free-disk-space): Use / for default-directory.
20210         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20211         Use with-current-buffer.
20213         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20214         Recognize immutable variables like most-positive-fixnum.
20215         (byte-compile-setq-default): Check and warn if trying to assign
20216         to an immutable variable, or a non-variable.
20218         * progmodes/cc-vars.el (c-comment-continuation-stars):
20219         * progmodes/cc-engine.el (c-looking-at-bos):
20220         * progmodes/cc-cmds.el (c-toggle-auto-state)
20221         (c-forward-into-nomenclature, c-backward-into-nomenclature)
20222         (c-comment-line-break-function): Add version of obsolescence.
20224 2009-08-28  Juri Linkov  <juri@jurta.org>
20226         * files.el (magic-fallback-mode-alist): Add ZIP magic number
20227         associated with `archive-mode'.
20229         * image.el (image-type-header-regexps): Use only JPEG magic number
20230         to determine JPEG images, and don't use `image-jpeg-p' because
20231         Emacs can display non-JFIF non-Exif JPEG images.
20233 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20235         * arc-mode.el (archive-mode):
20236         * emacs-lisp/re-builder.el (re-builder-unload-function):
20237         Protect against the default value of `major-mode' being nil.
20239 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20241         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20242         Fix typos in docstrings.
20244         * progmodes/js.el (js--macro-decl-re): Doc fix.
20245         (js--plain-method-re, js--split-name): Refloc docstring.
20246         (js--class-styles, js--make-merged-item, js--splice-into-items):
20247         Fix typos in docstrings; reflow docstrings.
20248         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20249         (js--variable-decl-matcher, js--inside-pitem-p)
20250         (js--parse-state-at-point, js--get-all-known-symbols)
20251         (js--symbol-history, js-find-symbol, js--js-references)
20252         (js--moz-interactor, js--js-encode-value, js--read-tab):
20253         Fix typos in docstrings.
20255 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20257         * textmodes/reftex.el (reftex-get-file-buffer-force):
20258         * progmodes/verilog-mode.el (verilog-batch-execute-func):
20259         * emulation/viper.el (viper-go-away, viper-set-hooks):
20260         * emacs-lisp/re-builder.el (re-builder-unload-function):
20261         * emacs-lisp/bytecomp.el (byte-compile-file):
20262         * ses.el (ses-unload-function):
20263         * hexl.el (hexl-find-file):
20264         * files.el (normal-mode):
20265         * ehelp.el (with-electric-help):
20266         * autoinsert.el (auto-insert-alist):
20267         * arc-mode.el (archive-mode):
20268         Use (default-value 'major-mode) instead of default-major-mode.
20270         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20271         * international/mule.el (load-with-code-conversion):
20272         * emacs-lisp/debug.el (debug):
20273         * ediff-vers.el (ediff-rcs-get-output-buffer):
20274         * dired.el (dired-internal-noselect): Don't let-bind
20275         default-major-mode around code that doesn't use it.
20276         E.g. buffer creation via get-buffer-create doesn't use it.
20278 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
20280         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20281         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20282         when writing the temp file.  Otherwise, epa-file gets confused.
20283         (tramp-register-file-name-handlers): Make it a defun.  Move also
20284         `epa-file-handler' to the front of `file-name-handler-alist'.
20286 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20288         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20289         start right after a ^M.
20290         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20291         (tramp-completion-file-name-regexp-separate)
20292         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20293         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20294         Don't modify last-coding-system-used by accident.
20295         (tramp-completion-file-name-handler): Apply the checks here,
20296         instead during registration.
20297         (tramp-register-file-name-handlers): Rename from
20298         `tramp-register-file-name-handler'.  Register both
20299         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20300         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
20302 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
20304         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20305         Remove variable ...
20306         (gdb-init-1, gdb-display-separate-io-buffer)
20307         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20308         references to it.
20309         (gdb-inferior-io-mode): Use make-comint-in-buffer.
20310         (gdb-inferior-filter): Use comint-output-filter to stop
20311         echoing and remove ^M characters.
20313 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20315         * emulation/viper-init.el (viper-restore-cursor-type):
20316         * emulation/cua-base.el (cua--update-indications):
20317         Replace default-cursor-type with (default-value 'cursor-type).
20319         * mail/sendmail.el (mail-recover-1):
20320         * international/mule-diag.el (describe-current-coding-system-briefly)
20321         (describe-current-coding-system):
20322         * international/mule-cmds.el (select-safe-coding-system)
20323         (select-message-coding-system)
20324         (set-language-environment-coding-systems, set-locale-environment):
20325         * hexl.el (hexl-insert-multibyte-char):
20326         * dos-w32.el (find-buffer-file-type-coding-system):
20327         * simple.el (what-cursor-position):
20328         Replace uses of default-buffer-file-coding-system
20329         with (default-value 'buffer-file-coding-system).
20331         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20332         Replace uses of default-cursor-in-non-selected-windows
20333         with (default-value 'cursor-in-non-selected-windows).
20334         Use with-current-buffer.
20336         * mail/feedmail.el: Use CL macros.
20337         (feedmail-run-the-queue, feedmail-send-it-immediately):
20338         * dos-w32.el (find-buffer-file-type): Replace uses of
20339         default-buffer-file-type with (default-value 'buffer-file-type).
20341 2009-08-28  Glenn Morris  <rgm@gnu.org>
20343         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20344         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20345         Use default-value of major-mode rather than default-major-mode.
20347 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20349         * Makefile.in (update-elcfiles): Report left over elc files.
20351         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20352         expand-file-name and with-current-buffer.
20353         (mail-get-names, mail-directory): Use with-current-buffer.
20355         * vc.el (vc-read-revision): New function.
20356         (vc-version-diff, vc-merge): Use it.
20358 2009-08-27  Sam Steingold  <sds@gnu.org>
20360         * simple.el (kill-do-not-save-duplicates): New user option.
20361         (kill-new): When it is non-nil, and the new string is the same as
20362         the latest kill, set replace to t to avoid duplicates in kill-ring.
20364 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
20366         * net/tramp.el (tramp-handle-process-file): Do not flush all
20367         caches when `process-file-side-effects' is set.
20368         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20369         instead of `tramp-find-file-exists-command'.
20370         Unset `process-file-side-effects'.
20372 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
20374         * net/tramp.el (tramp-methods): New method "rsyncc".
20375         (top): Add completion function for "rsyncc".
20376         (tramp-message-show-message): New defvar.
20377         (tramp-message, tramp-error): Use it.
20378         (tramp-do-copy-or-rename-file-directly): Extend check for direct
20379         remote copying.
20380         (tramp-do-copy-or-rename-file-out-of-band): Handle new
20381         `tramp-methods' entry `copy-env' of "rsyncc".
20382         (tramp-vc-registered-read-file-names): New defconst.
20383         (tramp-vc-registered-file-names): New defvar.
20384         (tramp-handle-vc-registered): Implement optimization strategy.
20385         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20386         (tramp-vc-file-name-handler): New defun.
20387         (tramp-get-ls-command, tramp-get-test-command)
20388         (tramp-get-file-exists-command, tramp-get-remote-ln)
20389         (tramp-get-remote-perl, tramp-get-remote-stat)
20390         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20392         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20393         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
20394         timestamps.
20395         (tramp-get-file-property): Check for timestamps in
20396         `tramp-cache-inhibit-cache'.
20397         (tramp-set-file-property): Write timestamp.
20399 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20401         * language/japan-util.el (japanese-symbol-table): Add entries for
20402         cp932-2-byte.
20404         * international/characters.el: Add category `j' to cp932-2-byte.
20406 2009-08-27  Kenichi Handa  <handa@m17n.org>
20408         * international/fontset.el (build-default-fontset-data): New macro.
20409         (setup-default-fontset): Use build-default-fontset-data for CJK,
20410         tibetan, ethiopic, and ipa.
20412 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20414         * cus-start.el (default-major-mode): Customize `major-mode' instead.
20415         (enable-multibyte-characters): Not customizable any more.
20417         * subr.el (default-mode-line-format, default-header-line-format)
20418         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20419         (default-direction-reversed, default-truncate-lines)
20420         (default-left-margin, default-tab-width, default-case-fold-search)
20421         (default-left-margin-width, default-right-margin-width)
20422         (default-left-fringe-width, default-right-fringe-width)
20423         (default-fringes-outside-margins, default-scroll-bar-width)
20424         (default-vertical-scroll-bar, default-indicate-empty-lines)
20425         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20426         (default-fringe-cursor-alist, default-scroll-up-aggressively)
20427         (default-scroll-down-aggressively, default-fill-column)
20428         (default-cursor-type, default-buffer-file-type)
20429         (default-cursor-in-non-selected-windows)
20430         (default-buffer-file-coding-system, default-major-mode)
20431         (default-enable-multibyte-characters): Mark as obsolete.
20433 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
20435         * vc-dir.el (vc-dir-update): Remove debug helper.
20437         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20439 2009-08-26  Sam Steingold  <sds@gnu.org>
20441         * simple.el (save-interprogram-paste-before-kill): New user option.
20442         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20443         save the interprogram-paste into kill-ring before overriding it
20444         with the Emacs kill.
20446 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20448         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20449         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20450         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20451         and move to vc-rcs.el.
20452         (vc-default-next-revision): Rename to vc-rcs-next-revision and
20453         move to vc-rcs.el.
20454         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20455         (vc-rcs-update-changelog): Remove.
20456         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20457         and move to vc-rcs.el.
20459         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20460         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20461         renaming.
20462         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20463         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20464         vc.el, renamed to be RCS specific.
20466         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20467         New functions.
20468         (vc-cvs-update-changelog): Move here from vc.el.
20470         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20471         New functions.
20473 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20475         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20477 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20479         * vc-git.el (vc-git-register): Use "git add" for directories.
20480         (vc-git-stash, vc-git-stash-show): New functions.
20481         (vc-git-extra-menu-map): Bind them.
20483         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20484         directory correctly in case the item is a directory itself.
20486         * vc.el: Document the desired behavior for reverted files in the
20487         `added' state.
20488         (vc-default-prettify-state-info): Remove function, unused.
20490         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20492 2009-08-26  Glenn Morris  <rgm@gnu.org>
20494         * bindings.el (standard-mode-line-format): Reposition dashes in
20495         which-func entry.  (Bug#4217)
20497         * files.el (enable-local-variables, enable-local-eval)
20498         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20499         the defcustoms.
20500         (auto-mode-alist, ignored-local-variables)
20501         (save-some-buffers-action-alist): Move risky declarations to the
20502         definitions.
20503         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20504         (font-lock-defaults, format-alist, imenu--index-alist)
20505         (imenu-generic-expression, input-method-alist, minor-mode-alist)
20506         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20507         (mode-line-modified, mode-line-mule-info, mode-line-position)
20508         (mode-line-process, mode-line-remote, outline-level)
20509         (parse-time-rules, rmail-output-file-alist)
20510         (special-display-buffer-names, vc-mode):
20511         Move risky declarations to the relevant files.
20512         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20513         (mode-line-modified, mode-line-process, mode-line-position)
20514         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20515         * font-core.el (font-lock-defaults):
20516         * format.el (format-alist):
20517         * vc-hooks.el (vc-mode):
20518         * window.el (special-display-buffer-names):
20519         * international/mule-cmds.el (input-method-alist):
20520         Define riskiness here (dumped file) rather than in files.el.
20521         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20522         * imenu.el (imenu-generic-expression, imenu--index-alist):
20523         * outline.el (outline-level):
20524         * time.el (display-time-string):
20525         * calendar/parse-time.el (parse-time-rules):
20526         * mail/rmailout.el (rmail-output-file-alist):
20527         Autoload riskiness here, rather than placing in files.el.
20529 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
20531         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20533 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
20535         * simple.el (process-file-side-effects): New defvar.
20537         * dired-aux.el (dired-show-file-type):
20538         * vc.el (vc-diff-internal):
20539         * vc-arch.el (vc-arch-diff):
20540         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20541         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20542         * vc-git.el (vc-git-registered, vc-git-working-revision)
20543         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20544         (vc-git--empty-db-p):
20545         * vc-hooks.el (vc-user-login-name):
20546         * vc-svn.el (vc-svn-registered, vc-svn-state)
20547         (vc-svn-dir-extra-headers, vc-svn-find-revision):
20548         * progmodes/grep.el (grep-probe): Let-bind
20549         `process-file-side-effects' with nil.
20551         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20553         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20554         daemon.  Replace ping by checking for running service for bluez
20555         and zeroconf.  (Bug#4239)
20557 2009-08-25  Kevin Ryde  <user42@zip.com.au>
20559         * net/dig.el (dig): Add autoload cookie.
20561 2009-08-25  Glenn Morris  <rgm@gnu.org>
20563         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20564         load-history for absolute file-names.
20565         (byte-compile-file-form-require): Warn about use of the cl package.
20567         * format.el (format-alist): Doc fix.
20569         * play/bubbles.el (top-level): Don't require cl at run-time.
20571         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20572         run-time cl).
20574 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
20576         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20577         from cl package.
20578         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20580 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
20582         * calc/calc-alg.el (math-trig-rewrite)
20583         (math-hyperbolic-trig-rewrite): New functions.
20584         (calc-simplify): Simplify trig functions when asked.
20586 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20588         * diff-mode.el (diff-find-source-location): Avoid goto-line.
20590 2009-08-24  Kenichi Handa  <handa@m17n.org>
20592         * language/ind-util.el (mapthread): Delete it.
20593         (combinatorial): New function.
20594         (indian--puthash-cv): Use combinatorial instead of mapthread.
20596 2009-08-22  Kevin Ryde  <user42@zip.com.au>
20598         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20599         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20600         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20601         Clarify docstring that the value is strings not symbols.
20602         (checkdoc-list-of-strings-p): New function.
20604 2009-08-22  Glenn Morris  <rgm@gnu.org>
20606         * files.el (auto-mode-alist):
20607         * hippie-exp.el (he-concat-directory-file-name):
20608         * lpr.el (lpr-windows-system, printer-name):
20609         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20610         * ps-print.el (ps-windows-system):
20611         * startup.el (command-line):
20612         * emulation/viper-ex.el (viper-glob-function):
20613         * international/mule-cmds.el (set-language-environment-coding-systems):
20614         * net/ange-ftp.el (ange-ftp-write-region):
20615         * obsolete/fast-lock.el (fast-lock-cache-name):
20616         Remove code for defunct system-types emx, macos, mswindows, next-mach,
20617         unisoft-unix, vax-vms, win32, w32.
20619         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20620         given name if the pattern is not more specific.
20622         * calendar/lunar.el (lunar-phase-names): New option.
20623         (lunar-phase): Doc fix.
20624         (lunar-cycles-per-year): New constant.
20625         (lunar-index): New function.
20626         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20627         (lunar-phase-name): Use lunar-phase-names.
20628         (calendar-lunar-phases): Use format.
20629         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20631         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20632         Copy imenu-example--name-and-position function here for own use.
20633         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20635         * bs.el (bs--redisplay):
20636         * cus-edit.el (custom-redraw):
20637         * ibuffer.el (ibuffer-bury-buffer):
20638         * server.el (server-goto-line-column):
20639         * startup.el (command-line-1):
20640         * strokes.el (strokes-xpm-for-stroke):
20641         * term.el (term-display-buffer-line):
20642         * view.el (View-goto-line):
20643         * calc/calc.el (calc-do, calc-trail-buffer):
20644         * play/gamegrid.el (gamegrid-add-score-insecure):
20645         * progmodes/ada-mode.el (ada-compile-goto-error):
20646         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20647         (ebrowse-select-1st-to-9nth):
20648         * progmodes/cperl-mode.el (cperl-time-fontification):
20649         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20650         * progmodes/gud.el (gud-display-line):
20651         (idlwave-shell-display-line):
20652         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20653         * progmodes/make-mode.el (makefile-browser-toggle):
20654         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20655         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20656         * textmodes/picture.el (picture-draw-rectangle):
20657         * textmodes/reftex-index.el (reftex-index-goto-letter):
20658         (reftex-select-jump-to-previous):
20659         * textmodes/reftex-sel.el (reftex-find-start-point)
20660         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20661         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20662         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20663         * textmodes/tex-mode.el (tex-compilation-parse-errors):
20664         * textmodes/two-column.el (2C-associated-buffer):
20665         Use forward-line rather than goto-line.
20667         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20668         goto-line.
20670         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20671         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20672         (quick-check-list-to-regexp): Declare.
20674         * progmodes/make-mode.el (makefile-browser-insert-selection):
20675         Use goto-char rather than goto-line.
20677         * progmodes/prolog.el (compilation-error-regexp-alist)
20678         (compilation-forget-errors): Declare.
20680 2009-08-22  Juri Linkov  <juri@jurta.org>
20682         * progmodes/grep.el (lgrep, rgrep): At the beginning
20683         set `dir' to `default-directory' unless `dir' is a non-nil
20684         readable directory.  (Bug#4052)
20685         (lgrep, rgrep): Change a weird way to report an error
20686         from using `read-string' to using `error'.
20687         Instead of using interactive arguments in the function body,
20688         add new argument `confirm'.
20690 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20692         * textmodes/remember.el (remember-buffer):
20693         * progmodes/cperl-mode.el (cperl-vc-header-alist):
20694         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20695         (icalendar-extract-ical-from-buffer):
20696         * net/newst-treeview.el (newsticker-groups-filename):
20697         * net/newst-backend.el (newsticker-cache-filename):
20698         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20699         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20700         (speedbar-add-ignored-path-regexp, speedbar-line-path)
20701         (speedbar-buffers-line-path, speedbar-path-line)
20702         (speedbar-buffers-line-path):
20703         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20704         (epg-sign-keys):
20705         * epa.el (epa-display-verify-result):
20706         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20708 2009-08-21  Glenn Morris  <rgm@gnu.org>
20710         * progmodes/js.el (inferior-moz-process): Fix declaration.
20712         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20714         * obsolete/rnewspost.el (news-mail-reply):
20715         Use goto-char rather than goto-line.
20717         * term/ns-win.el (ns-open-file-select-line):
20718         Use line-beginning-position rather than goto-line.
20720         * apropos.el (apropos-command):
20721         * ehelp.el (electric-helpify):
20722         * printing.el (pr-show-setup):
20723         * strokes.el (strokes-help):
20724         * tutorial.el (tutorial--describe-nonstandard-key)
20725         (tutorial--detailed-help):
20726         * woman.el (woman-mini-help, woman-display-extended-fonts):
20727         * calc/calc-help.el (calc-describe-key):
20728         * emulation/edt.el (edt-electric-helpify):
20729         * international/mule-diag.el (mule-diag):
20730         * play/yow.el (apropos-zippy):
20731         * progmodes/python.el (python-describe-symbol):
20732         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20733         * textmodes/table.el (*table--cell-describe-mode)
20734         (*table--cell-describe-bindings):
20735         Use help-print-return-message rather than the now obsolete alias.
20737         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20738         (calendar-cursor-to-visible-date):
20739         * play/5x5.el (5x5-position-cursor):
20740         * play/decipher.el (decipher):
20741         * play/gomoku.el (gomoku-goto-xy):
20742         * play/landmark.el (lm-goto-xy):
20743         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20744         (mpuz-paint-digit):
20745         Use forward-line, not goto-line.
20747         * mail/rmail.el (rmail-obsolete): Delete custom group.
20748         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20749         (rmail-remote-password, rmail-remote-password-required):
20750         Remove unneeded :set-after and :set properties.
20752 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
20754         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20756 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
20758         * loadup.el: Remove leftover macos code.
20760         * vc-git.el (vc-git-annotate-command): Run asynchronously.
20761         Explicitly pass the date format to git blame so that user local
20762         so that the output format can be parsed.
20764 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
20766         * net/dbus.el (top): Don't check for (getenv
20767         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
20769 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
20771         * log-edit.el (log-edit-strip-single-file-name): New var.
20772         (log-edit-insert-changelog): Use it.  Bug#3571.
20774 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20776         * subr.el (read-passwd): Use read-key so keypad keys work as well.
20777         Bug#3287.
20779         * help.el (help-print-return-message): Rename from
20780         print-help-return-message.
20782         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20783         cvs-mode-map parent hack.
20784         (log-view-mode): Derive from special-mode.
20786         * linum.el (linum-mode): window-size-change-functions is redundant.
20787         Adapt to new window-configuration-change-hook behavior.
20788         (linum-after-size, linum-after-config): Remove.
20790         * imenu.el (imenu-example--name-and-position)
20791         (imenu-example--lisp-extract-index-name)
20792         (imenu-example--create-lisp-index, imenu-example--create-c-index):
20793         Mark as obsolete.
20795         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20796         (inferior-prolog-mode): Use it.
20797         (inferior-prolog-load-file): Reset list of errors.
20799 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20801         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20803         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20805 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
20807         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20808         is running already.
20810 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20812         * subr.el (listify-key-sequence-1): Use normal syntax since those
20813         integers are nowadays always represented by the same (positive) number
20814         on all platforms.
20815         (read-key-empty-map): New const.
20816         (read-key-delay): New var.
20817         (read-key): New function.
20818         (force-mode-line-update): Use with-current-buffer.
20819         (locate-user-emacs-file): Don't forget to abbreviate the file name.
20820         (start-process-shell-command, start-file-process-shell-command):
20821         Discourage the use of command-args.
20823 2009-08-19  Glenn Morris  <rgm@gnu.org>
20825         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20827 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20829         * simple.el (choose-completion-string): Don't rely on
20830         minibuffer-completing-file-name and ad-hoc checks to decide whether
20831         to continue completion or not.
20833         * minibuffer.el (minibuffer-hide-completions): New function.
20834         (completion--do-completion): Use it.
20835         (completions-annotations): New face.
20836         (completion--insert-strings): Use it.
20837         (completion-pcm--delim-wild-regex): Add docstring.
20838         (completion-pcm--string->pattern): Add support for 0-width delimiters
20839         in completion-pcm--delim-wild-regex.
20841 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20843         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20844         Remove unused var `buffer-modified-p'.
20846         * minibuffer.el (completion--do-completion): Move point for the #b001
20847         case as well (bug#4176).
20848         (minibuffer-complete, minibuffer-complete-word): Don't move point.
20850 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
20852         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
20853         and :session buses.
20855 2009-08-18  Kenichi Handa  <handa@m17n.org>
20857         * international/ucs-normalize.el (ucs-normalize-version):
20858         Change to 1.1.
20859         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20860         (utf-8-hfs): Make it perform normalization on encoding too.
20862         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
20863         (sentence-end-without-space): Delete duplicated chars.
20864         (sentence-end-base): Likewise.
20866         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
20867         (html-mode): Delete duplicated chars from sentence-end-base.
20869         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
20870         (texinfo-mode): Delete duplicated chars from sentence-end-base.
20872 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
20874         * files.el (hack-one-local-variable): If the mode function is for
20875         a minor mode, pass it an argument (Bug#4148).
20877 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
20879         * net/tramp.el (tramp-register-completion-file-name-handler):
20880         Check also for (member 'partial-completion completion-styles).
20882 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20884         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20885         abbrev (Bug#3943).
20887 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
20889         * progmodes/cperl-mode.el: Merge upstream 6.2.
20890         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20891         (cperl-forward-re): Check cperl-brace-recursing.
20892         (cperl-highlight-charclass): New function.
20893         (cperl-find-pods-heres): Use it.
20894         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20895         (cperl-beautify-regexp-piece): Fix column calculation.
20896         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20897         (cperl-beautify-level): Don't process entire regexp.
20898         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20899         calling man.
20900         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20901         (cperl-init-faces): Build a list in the normal way.
20903 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20905         * calendar/parse-time.el (parse-time-string-chars): Save match
20906         data.
20908 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20910         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20911         (sql-product): Use it.
20912         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20913         (sql-set-product): Add completion.
20914         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20915         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20916         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20917         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20918         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20919         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20920         (sql-highlight-db2-keywords): Remove.
20921         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20922         (sql-highlight-product): Use derived-mode-p.
20923         (sql-set-sqli-buffer): Use with-current-buffer.
20924         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20925         Simplify.
20927         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20929         * term.el: Fix commenting convention, turn comments into docstrings.
20931 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20933         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20935 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
20937         * calendar/parse-time.el (parse-time-string-chars): Compute using
20938         character classes, to handle non-ascii characters (Bug#3190).
20940 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20942         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20943         another heredoc if the user adds another < (Bug#3226).
20945         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20946         Don't initialize based on window-system (Bug#4124).
20948         * facemenu.el (facemenu-read-color): Use a completion function
20949         that accepts any defined color, such as RGB triplets (Bug#3677).
20951         * files.el (get-free-disk-space): Change fallback default
20952         directory to /.  Expand DIR argument before switching to fallback.
20953         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20955 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20957         * files.el (load-library): Doc fix.
20959 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
20961         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20962         (viper-if-string): Redefine C-s in the minibuffer to insert the last
20963         incremental search string.
20965         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20966         XEmacs.
20968         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20969         (ediff-merge-region-is-non-clash)
20970         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20971         Also check if the job is really a merge job.
20973         * ediff.el (ediff-current-file): New function.
20975 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20977         * progmodes/js.el: Edit docstrings throughout to follow Emacs
20978         conventions.
20979         (js-insert-and-indent): Delete function.
20980         (js-mode-map): Don't bind keys to js-insert-and-indent.
20981         (js-beginning-of-defun): Rename from js--beginning-of-defun.
20982         (js-end-of-defun): Rename from js--end-of-defun.
20983         (js-auto-indent-flag): Delete variable.
20985 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
20987         * progmodes/js.el: Remove proclaim statement.
20988         Defvar which-func-imenu-joiner-function to silence compiler.
20990         * files.el (auto-mode-alist): Use js-mode for .js files.
20992         * progmodes/js2-mode.el: Remove file.
20994         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20996         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20998         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21000 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
21001             Karl Landstrom  <karl.landstrom@brgeight.se>
21003         * progmodes/js.el: New file.
21005 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
21007         * timezone.el (timezone-parse-date): Add ability to understand ISO
21008         basic format (minimal separators) dates in addition to the
21009         already-supported extended format dates.
21011 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
21013         * international/ucs-normalize.el: Add a `coding' file variable.
21015         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21017 2009-08-14  Sam Steingold  <sds@gnu.org>
21019         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21021 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
21023         * faces.el (help-argument-name): Define it here instead of
21024         help-fns.el, because in daemon mode help-fns.el may be loaded when
21025         faces are still uninitialized (Bug#1078).
21027         * help-fns.el (help-argument-name): Move defface to faces.el.
21029 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
21031         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21032         create buffer with a pty but no process so that GDB can make the
21033         inferior the controlling process.
21035 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
21037         * international/ucs-normalize.el: New file.
21039 2009-08-13  Richard Stallman  <rms@gnu.org>
21041         * mail/rmail.el (rmail-get-attr-names):
21042         Accept an attribute header that is too short.
21044         * mail/rmail.el (rmail-forget-messages):
21045         Ignore nil elt in rmail-message-vector.  Use dotimes.
21047         * progmodes/compile.el (compilation-goto-locus):
21048         Use next-error-move-function.
21050         * simple.el (next-error-move-function): New variable.
21052 2009-08-12  Juri Linkov  <juri@jurta.org>
21054         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21055         always non-nil.  (Bug#4052)
21057         * replace.el (read-regexp): Return empty string when
21058         `default-value' is nil.
21059         (keep-lines-read-args): Don't use empty string as the
21060         default value for `read-regexp'.  (Bug#2495)
21062 2009-08-12  Juri Linkov  <juri@jurta.org>
21064         * international/mule-cmds.el (ucs-insert): Change arguments
21065         from `arg' to `character', `count', `inherit' to be the same
21066         as in `insert-char'.  Doc fix.  (Bug#4039)
21068         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21070 2009-08-12  Juri Linkov  <juri@jurta.org>
21072         * files-x.el: New file.
21074         * files.el: Move code that deals with adding/deleting
21075         file/directory-local variables to files-x.el.
21077         * Makefile.in (ELCFILES): Add files-x.elc.
21079 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
21081         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21082         to use `goto-line'.
21083         (gdb-place-breakpoints, gdb-get-location): Rewritten without
21084         `goto-line'.
21085         (gdb-invalidate-disassembly): Do not refresh upon receiving
21086         'update signal.  Instead, update all disassembly buffers only after
21087         threads list.
21088         (gdb): Send -target-detach when buffer is killed (Bug#3794).
21089         (gdb-starting): Move -data-list-register-names...
21090         (gdb-stopped): ...here so it's sent when first thread stops.
21091         (gdb-registers-handler-custom): Do nothing if register names are
21092         unknown yet.
21094         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21095         from `gdb-mi.el' to avoid extra tangling.
21097         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21098         change which breaks `gud-def' definitions used in `gdb'.
21099         (gdb-update-gud-running): No extra fuss for updating frame number.
21101 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
21103         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21104         (describe-language-environment-map, setup-language-environment-map)
21105         (set-coding-system-map): Move initialization into declaration.
21106         (set-language-info-alist): Last arg to define-key-after can be skipped.
21108         * international/quail.el (quail-completion-1): Simplify.
21109         (quail-define-rules): Use slightly more compact code.
21110         (quail-insert-decode-map): Propertize keys, compact columns.
21112         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21113         Add goto-line.
21115 2009-08-10  Miles Bader  <miles@gnu.org>
21117         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21118         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21119         (js2-instance-member, js2-private-member, js2-private-function-call)
21120         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21121         (js2-magic-paren, js2-external-variable):
21122         Remove "-face" suffix from face names.
21123         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21124         (js2-highlight-undeclared-vars, js2-peek-token)
21125         (js2-parse-function-params, js2-mode-show-errors)
21126         (js2-mode-show-warnings, js2-make-magic-delimiter)
21127         (js2-mode-highlight-magic-parens): Update to use new face names.
21129 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
21131         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21132         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
21134 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
21136         * subr.el: Provide hashtable-print-readable.
21138         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21139         hs-c-like-adjust-block-beginning.
21140         (hs-hide-block-at-point): Stop hiding at the beginning of
21141         hs-block-end-regexp (Bug#700).
21143 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
21145         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21146         a macro.
21147         (gdb-registers-handler-custom): Do not fail when register names
21148         are unavailable.
21150 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21152         * progmodes/gdb-mi.el (gdb-control-all-threads)
21153         (gdb-control-current-thread): Interactive setters for
21154         `gdb-gud-control-all-threads' to use in menu.
21155         (gdb-show-run-p): Show «Go» when process is not active.
21156         (gud-tool-bar-map): Add non-stop/A,T indicator.
21157         Uses gud/thread.xpm and gud/all.xpm.
21159 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
21161         * net/net-utils.el (net-utils-font-lock-keywords): New var.
21162         (nslookup-font-lock-keywords): Make it a variable.
21163         (net-utils-mode): New mode for viewing diagnostic network output.
21164         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21165         (net-utils-run-simple): New function.
21166         (ifconfig, iwconfig, netstat, arp, route): Use it.
21168 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21170         * progmodes/gdb-mi.el (gdb-read-memory-custom)
21171         (gdb-memory-set-address, def-gdb-set-positive-number)
21172         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21173         after changing settings.
21174         (gdb-invalidate-disassembly): Update when first shown.
21175         (gdb-edit-locals-value): Fix.
21176         (gdb-registers-handler-custom): Print registers in right order and
21177         allow changing register values (only for current thread yet).
21178         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21179         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21180         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21181         (gdb-locals-handler-custom, gdb-registers-handler-custom):
21182         Thread info in mode name.
21183         (gdb-registers-mode-map): TAB to switch to locals.
21185 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
21187         * mail/rmail.el (rmail-add-mbox-headers)
21188         (rmail-set-message-counters-counter): Search for
21189         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
21191 2009-08-08  Glenn Morris  <rgm@gnu.org>
21193         * Makefile.in (ELCFILES): Update.
21195 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21197         * mail/sendmail.el (mail-yank-original):
21198         Set buffer-file-coding-system from the one used by the message whose
21199         text is yanked.
21201         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21202         to "windows" when "pgnuplot" is used.
21203         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21204         Don't call accept-process-output if "pgnuplot" is used.
21205         (calc-graph-init): Don't send -display and -geometry to
21206         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
21207         running "pgnuplot -V" with shell-command-to-string.
21209         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21210         the default.
21212 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21214         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21215         org/org-latex.elc.
21217 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
21219         * vc-dispatcher.el (vc-resynch-window): Update comment.
21221         * term.el (term-handle-ansi-escape): Add comments with the
21222         terminfo capabilities implemented.
21224 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
21226         * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21227         (gdb-var-create-handler): Rewritten using JSON parser.
21228         (gdb-propertize-header): Move earlier.
21229         (gdb-set-header): Remove to avoid duplication.
21230         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21231         Refresh disassembly buffers only after threads list have been
21232         update.
21233         (gdb-threads-header, gdb-registers-header): Per-buffer header line
21234         variables.
21236 2009-08-04  Juri Linkov  <juri@jurta.org>
21238         * files.el: Commands to add/delete file/directory-local variables.
21239         (read-file-local-variable, read-file-local-variable-value)
21240         (read-file-local-variable-mode, modify-file-local-variable)
21241         (modify-file-local-variable-prop-line)
21242         (modify-dir-local-variable): New functions.
21243         (add-file-local-variable, delete-file-local-variable)
21244         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21245         (add-dir-local-variable, delete-dir-local-variable)
21246         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21247         (copy-dir-locals-to-file-locals-prop-line): New commands.
21249 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
21251         * abbrev.el (insert-abbrev-table-description): Prettify output.
21252         Suggested by Karl Chen.
21254 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
21256         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21257         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21258         (gdb-overlay-arrow-position, gdb-thread-position)
21259         (gdb-disassembly-position): Declare variables.
21260         (gdb-wait-for-pending): Function now.
21261         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21262         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21263         compilation goes smoothly.
21264         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21265         (gdb-non-stop-setting): New customization setting which replaces
21266         `gdb-non-stop' so changing it doesn't break active GDB session.
21267         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21268         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21269         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21270         (gdb-show-threads-by-default): New customization options.
21271         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21272         routines.
21273         (gdb-get-buffer-create): Send buffers update signal when they are
21274         created.
21275         (gdb-invalidate-locals, gdb-invalidate-registers)
21276         (gdb-invalidate-breakpoints)
21277         (gdb-invalidate-threads, gdb-invalidate-disassembly)
21278         (gdb-invalidate-memory): Accept update signal.
21279         (gdb-current-context-command): Use --frame option.
21280         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21281         Implement `gdb-frame-number' selection logic.
21282         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21283         whether to show GUD toolbar buttons.
21284         (gdb-thread-exited): Unselect current thread when it exits.
21285         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21286         (gdb-mark-line): Routine which sets overlay arrow or inverses
21287         video on fringeless displays.
21288         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21289         to build aligned columns of data in GDB buffers and set text
21290         properties line-by-line.
21291         (gdb-invalidate-breakpoints)
21292         (gdb-breakpoints-list-handler-custom)
21293         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21294         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21295         (gdb-registers-handler-custom): Align data columns.
21296         (gdb-locals-handler-custom): Now prints data like in variable
21297         declarations.
21298         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21299         Remove confusing buttons.
21300         (gdb-invalidate-threads): Append --frame.
21301         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21302         between breakpoints/threads buffers.
21303         (gdb-set-window-buffer): Now can ignore dedicated windows.
21304         (gdb-propertize-header): Use `gdb-set-window-buffer'.
21305         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21306         (def-gdb-thread-buffer-gud-command): Replaces
21307         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21308         for fine thread control.
21309         (gdb-preempt-existing-or-display-buffer): New function used to
21310         display bound buffers without breaking window layout.
21311         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21312         (gdb-select-frame): New version of `gdb-frames-select' which now
21313         sets `gdb-frame-number' so commands may use --frame option instead
21314         of inner debugger state.
21315         (gdb-frame-handler): Do not set `gdb-frame-number'.
21316         (gdb-threads-mode-map): Select threads with mouse.
21318         * progmodes/gud.el (gdb-gud-context-call): Declare function to
21319         avoid compilation warning.
21320         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21321         `gdb-show-stop-p`.
21323         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21324         Argument `key' renamed to `buffer-type'.
21325         (gdb-current-context-buffer-name): Do not add thread info to
21326         buffer name when no thread is selected.
21327         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21328         command (bug 3794).
21329         (gdb-thread-selected): Handle `=thread-selected' notification.
21330         (gdb-wait-for-pending): New macro to deal with congestion problems.
21331         (gdb-breakpoints-list-handler-custom): Don't fail on pending
21332         breakpoints.
21333         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21334         This fixes problem similar to one described in bug 3947.
21335         (gud-menu-map): More menu items.
21336         (gdb-init-1): Reset `gdb-thread-number' to nil.
21338         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21339         non-stop settings.
21341         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21342         (gdb-current-context-command): Do not append --thread if
21343         `gdb-thread-number' is nil.
21344         (gdb-running-threads-count, gdb-stopped-threads-count):
21345         New variables.
21346         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21347         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21348         New customization options.
21349         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21350         GUD commands.
21351         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21352         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21353         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21354         set `gdb-thread-number' and update `gud-running' properly.
21355         (gdb-running): Update threads list when new threads appear.
21356         (gdb-stopped): Support non-stop operation and new thread switching
21357         logic.
21358         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21359         (gdb-json-partial-output): New set of JSON routines.
21360         (def-gdb-auto-update-trigger): New `signal-list' optional
21361         argument.
21362         (gdb-thread-list-handler-custom): Update `gud-running',
21363         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21364         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21365         (gdb-continue-thread, gdb-step-thread): New commands for fine
21366         thread execution control.
21367         (gud-menu-map): New menu items to switch non-stop options.
21368         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21369         (gdb-send): Mimic RET properly (bug 3794).
21371         * progmodes/gdb-mi.el (gdb-rules-name-maker)
21372         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21373         gdb-buffer-rules.
21374         (def-gdb-auto-update-handler): New nopreserve optional argument.
21375         (gdb-stack-list-frames-custom): Print stack from top to bottom.
21377         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21378         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21379         (gdb-parent-mode): New mode to derive other GDB modes from.
21380         (gdb-display-disassembly-for-thread)
21381         (gdb-frame-disassembly-for-thread): New commands for threads
21382         buffer.
21384         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21385         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21386         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21387         (gdb-update): We now store all GDB buffers in a list so that they
21388         can be updated by traversing a list instead of calling invalidate
21389         triggers explicitly.
21390         (def-gdb-trigger-and-handler): New macro to define trigger-handler
21391         pair for GDB buffer.
21392         (gdb-stack-buffer-name): Add thread information.
21393         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21394         handle pending triggers.
21395         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21396         (def-gdb-thread-buffer-simple-command)
21397         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21398         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21399         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21400         New commands which show buffers bound to thread.
21401         (gdb-stack-list-locals-regexp): Remove unused regexp.
21403         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21404         (gdb-locals-buffer-name, gdb-registers-buffer-name)
21405         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21406         to (gud-comint-buffer) in *-buffer-name functions
21407         because (gdb-get-target-string) already does that.
21408         (gdb-locals-handler-custom, gdb-registers-handler-custom)
21409         (gdb-changed-registers-handler): Rewritten without regexps.
21411         * progmodes/gdb-mi.el: Basic thread selection support.
21412         (gdb-thread-number): New variable.
21413         (gdb-current-context-command): New macro which adds --thread
21414         option to command.
21415         (gdb-threads-mode-map): Select thread with SPC.
21416         (gdb-thread-list-handler-custom): Mark current thread with overlay
21417         arrow.  Synchronize GDB thread and Emacs thread.
21418         (gdb-select-thread): New command which selects current thread.
21419         (gdb-invalidate-frames, gdb-invalidate-locals)
21420         (gdb-invalidate-registers): Use --thread option.
21422 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
21424         * net/tramp.el (top): Make check for tramp-gvfs loading more
21425         robust.  (Bug#3977)
21426         (tramp-handle-insert-file-contents): `unwind-protect' must be
21427         inside `with-parsed-tramp-file-name'.
21429         * net/tramp-gvfs.el (top): Remove superfluous message when loading
21430         fails.
21432 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
21434         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21435         directory if CLASSPATH is not set.
21437 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
21439         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21440         New defconst.
21441         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
21443 2009-08-02  Kevin Ryde  <user42@zip.com.au>
21445         * net/newst-backend.el (newsticker--raw-url-list-defaults):
21446         Update freshmeat link.  Delete newsforge.com as it seems gone.
21448 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21450         * select.el (x-set-selection): Doc fix (Bug#4021).
21452         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21454         * help-fns.el (describe-variable): Treat list return values from
21455         dir-locals-find-file properly (Bug#4005).
21457 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
21459         * net/tramp.el (tramp-debug-message): Print also microseconds.
21461 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
21463         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21464         or END is non-nil.
21465         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21466         (tramp-get-debug-buffer): Change `outline-regexp' according to new
21467         format.
21469         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21470         (tramp-get-file-property): Use it.
21472         * autorevert.el (auto-revert-handler):
21473         Allow `auto-revert-tail-mode' for remote files.
21475 2009-08-02  Jason Rumney  <jasonr@gnu.org>
21477         * minibuffer.el (read-file-name): Treat confirm options to
21478         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
21480 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21482         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21483         (font-lock-variable-name-face, font-lock-constant-face):
21484         Darken the colors for light backgrounds.
21486 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
21488         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21489         month names.  (Bug#3987)
21491 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
21493         * simple.el (line-move-finish): Pass whole number to
21494         line-move-to-column.
21495         (line-move-visual): Perform hscroll to the recorded position.
21497 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
21499         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21501 2009-07-29  Alan Mackenzie  <acm@muc.de>
21503         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21505 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
21507         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21508         (gdb-place-breakpoints): Use full path when setting breakpoints.
21510 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
21512         * calc/calc.el (calc-mode-map): Add keybinding for
21513         `calc-transpose-lines'.
21515 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
21517         * calc/calc-misc.el (calc-transpose-lines): New function.
21519 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
21521         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21522         Simplify check for out-of-band methods.
21523         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21524         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
21526 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
21528         * vc-git.el (vc-git-checkin): Fix typo.
21530 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
21532         * progmodes/js2-mode.el: New file.
21534 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
21536         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21537         (gud-menu-map): Adjust tooltip accordingly.
21539 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
21541         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21542         (vc-bzr-log-view-mode): Adjust log-view-file-re.
21544         * add-log.el (change-log-mode-map): Add a menu.
21546 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
21548         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21549         function returns nil.
21550         (dbus-handle-event): Handle special return value :ignore.
21551         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21553 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
21555         * view.el (view-mode-enable): Don't define Helper-return-blurb if
21556         it's not needed.
21558 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
21560         Fix Bug#3888:
21562         * w32-vars.el (x-select-enable-clipboard): Doc fix.
21564         * term/pc-win.el (x-display-name, x-colors)
21565         (x-select-enable-clipboard, x-select-text): Doc fix.
21567         * term/common-win.el (x-display-name, x-colors): Doc fix.
21569         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21570         (xw-defined-colors): Doc fix.
21572         * w32-fns.el (x-select-text, x-setup-function-keys)
21573         (x-get-selection, x-set-selection): Doc fix.
21575         * term/x-win.el (x-select-text, x-setup-function-keys)
21576         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21578         * select.el (x-set-selection): Doc fix.
21580 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
21582         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21583         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
21584         "IsNSSSupportAvailable" method is not available.
21585         Reported by Steve Youngs <steve@sxemacs.org>.
21587 2009-07-24  Kenichi Handa  <handa@m17n.org>
21589         * international/characters.el: Fix setting of category ?C, ?|, ?K,
21590         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
21591         (build-unicode-category-table): Fix range checks.
21593 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
21595         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21596         the buffer we try to sync is current when calling
21597         vc-resynch-buffer.
21599         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21600         not show up to date files.
21602 2009-07-24  Glenn Morris  <rgm@gnu.org>
21604         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21605         Add autoload cookies.  If necessary, initialize.
21606         (elint-log): Handle non-file buffers.
21607         (elint-initialize): Add optional argument to reinitialize.
21608         (elint-find-builtin-variables): Save excursion.
21610 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
21612         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21613         for Lint.
21615 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
21617         * vc.el (vc-print-log-internal): New function, split out from ...
21618         (vc-print-log): ... here.
21619         (vc-dir-move-to-goal-column): Declare.
21621         * vc-git.el (vc-git-add-signoff): New variable.
21622         (vc-git-checkin): Use it.
21623         (vc-git-toggle-signoff): New function.
21624         (vc-git-extra-menu-map): Bind it to menu.
21625         (vc-git--run-command-string): Accept a nil FILE argument.
21626         (vc-git-stash-list): New function.
21627         (vc-git-dir-extra-headers): Use it.
21629 2009-07-23  Glenn Morris  <rgm@gnu.org>
21631         * help-fns.el (describe-variable): Describe ignored and risky local
21632         variables in a similar way to that in which we describe safe ones.
21634         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21635         (byte-compile-output-file-form, byte-compile-output-docform)
21636         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21637         Give some more local variables with common names a "bytecomp-" prefix,
21638         so as not to shadow things during compilation.
21639         * emacs-lisp/cl-macs.el (load-time-value)
21640         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21641         `outbuffer' to `bytecomp-outbuffer'.
21643         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21644         since the next two variables cover them automatically now.
21645         (elint-builtin-variables, elint-autoloaded-variables): New.
21646         (elint-unknown-builtin-args): Remove all members, since they can be
21647         parsed automatically now.
21648         (elint-extra-errors): New.
21649         (elint-env-add-env, elint-env-add-macro): Use cadr.
21650         (elint-current-buffer): Use or.  Change final message.
21651         (elint-get-top-forms): Use line-end-position.
21652         (elint-init-env): Use cadr.  Handle autoload, declare-function,
21653         and defalias.
21654         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
21655         (regexp-assoc): Remove unused function.
21656         (elint-top-form): Set elint-current-pos, to record the start of the
21657         top-level form, for compilation-mode.
21658         (elint-form): Trap errors in macro expansion.  Use dolist.
21659         (elint-unbound-variable): Use elint-builtin-variables and
21660         elint-autoloaded-variables.
21661         (elint-get-args): Use cadr, or.
21662         (elint-check-cond-form): Use dolist, cadr.
21663         (elint-check-condition-case-form): Doc fix.  Use cadr.
21664         Use elint-extra-errors.
21665         (elint-log): New function.
21666         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21667         Distinguish errors and warnings.
21668         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
21669         Use a bytecomp-style format.
21670         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
21671         (elint-get-log-buffer): Use compilation mode.  Disable undo.
21672         Don't truncate lines.
21673         (elint-initialize): Set builtin and autoloaded variable lists.
21674         Only process elint-unknown-builtin-args if non-nil.
21675         (elint-find-builtin-variables, elint-find-autoloaded-variables):
21676         New functions.
21677         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
21679 2009-07-22  Kevin Ryde  <user42@zip.com.au>
21681         * net/newst-backend.el (newsticker--parse-atom-1.0)
21682         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21683         (newsticker--parse-rss-1.0):
21684         * progmodes/idlwave.el (idlwave-mode):
21685         * progmodes/idlw-shell.el (idlwave-shell-mode):
21686         * progmodes/vera-mode.el (vera-mode):
21687         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21688         * progmodes/vhdl-mode.el (vhdl-mode):
21689         * textmodes/table.el (table-generate-source)
21690         (table--warn-incompatibility):
21691         Hyperlink urls in docstrings with URL `...'.
21693 2009-07-22  Glenn Morris  <rgm@gnu.org>
21695         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21696         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21697         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21698         Remove leading * from defcustom docs.
21700         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
21702         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21703         defcustom doc.
21704         (list-load-path-shadows): Optionally, just return shadows as a string.
21706         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21708 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
21710         * mail/rmailedit.el (rmail-edit-mode):
21711         Use auto-save-include-big-deletions.
21713         * mail/rmail.el (rmail-variables):
21714         Use auto-save-include-big-deletions.
21716         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21717         changes.
21719 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
21721         * calc/calc.el (calc-undo-length): New variable.
21722         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21724 2009-07-21  Richard Stallman  <rms@gnu.org>
21726         * files.el (auto-save-mode): Handle buffer-save-size = -2
21727         for toggling mode.
21729 2009-07-21  Glenn Morris  <rgm@gnu.org>
21731         * textmodes/ispell.el (ispell-looking-back): Update declaration.
21733         * calendar/todo-mode.el (calendar-current-date): Update declaration.
21735         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21736         silence compiler.  Instead...
21737         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21738         (ps-print-ensure-fontified): Update for above function name changes.
21740         * printing.el (pr-mh-get-msg-num, pr-mh-show)
21741         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21742         silence compiler.  Instead...
21743         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21744         (mh-show-buffer): Only define for compiler.
21745         (pr-mh-current-message): Update for above function name changes.
21747         * files.el (abort-if-file-too-large): Explicitly pass `filename'
21748         as an argument.
21749         (find-file-noselect, insert-file-1): Update for above change.
21751         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21753         * mail/mailclient.el (mailclient-send-it): Fix message.
21755         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21756         (edebug-eval): Check cl-debug-env is bound.
21757         (print-level, print-circle): Don't redefine built-in variables.
21759         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21760         (custom-print-vectors): Remove old comments from doc.
21762         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21763         (emerge-version): Make the variable an obsolete alias for the
21764         emacs-version variable.  Make the function obsolete.
21765         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21766         Emerge options, rather than merging in into the main Options menu.
21767         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
21768         and auto advance modes.  Disable edit/fast items when not relevant.
21770 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
21772         * term/vt420.el (terminal-init-vt420): Fix typo.
21774 2009-07-20  Sam Steingold  <sds@gnu.org>
21776         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21777         variable (removed from compile.el on 2004-03-11).
21779 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
21781         * files.el (hack-local-variables-filter): Fix last change.
21783 2009-07-19  Juri Linkov  <juri@jurta.org>
21785         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21786         (dir-local-variables-alist): New buffer-local variable.
21787         (hack-local-variables-filter): If variable is not dir-local,
21788         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21789         because file-local overrides dir-local.
21790         (c-postprocess-file-styles) <declare-function>:
21791         Remove obsolete declaration.
21792         (hack-dir-local-variables): Add dir-local variable/value pair to
21793         `dir-local-variables-alist' and remove duplicates.  Doc fix.
21795         * help-fns.el (describe-variable): Add information about
21796         file-local and dir-local variables.
21798 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
21800         * files.el (hack-local-variables-filter): Rewrite.
21802 2009-07-19  Glenn Morris  <rgm@gnu.org>
21804         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21805         Silence compiler by only defining on XEmacs.
21807         * international/mule.el (auto-coding-regexp-alist): Only match
21808         BABYL... at the start of buffer, not of lines.  (Bug#3790)
21810         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21811         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
21812         (cal-menu-context-mouse-menu): Doc fix.
21814         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21816         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
21818 2009-07-18  Juri Linkov  <juri@jurta.org>
21820         * info.el: Virtual Info keyword finder.
21821         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21822         (Info-finder-file): New variable.
21823         (Info-finder-find-file): New function.
21824         (finder-known-keywords, finder-package-info)
21825         (find-library-name, lm-commentary): Use defvar and
21826         declare-function to silence compiler warnings.
21827         (Info-finder-find-node): New function.
21828         (info-finder): New command.
21830         * subr.el (process-kill-buffer-query-function): New function.
21831         (add-hook)<kill-buffer-query-functions>: Add hook
21832         `process-kill-buffer-query-function'.
21834 2009-07-18  Alan Mackenzie  <acm@muc.de>
21836         * progmodes/cc-mode.el (c-before-hack-hook)
21837         (c-postprocess-file-styles): Give invocation of `c-set-style'
21838         DONT-OVERRIDE parameter of t.  Already set style variables will
21839         thus not be overridden by style settings given by `c-file-syle'.
21841         * files.el (hack-local-variables-filter): Remove entries with
21842         duplicate keys from `file-local-variables-alist'.
21844 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21846         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21847         x-set-selection if display-selections-p returns nil for the
21848         current frame.
21850 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
21852         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21854 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21856         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21857         Accept nil in addition to a regexp.
21858         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21859         Accept nil in addition to a regexp.
21860         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21861         buffers that have an associated file.  Handle nil values of
21862         desktop-buffers-not-to-save and desktop-files-not-to-save.
21863         (Bug#3833)
21865         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21866         (x-disown-selection-internal): New functions.
21868 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
21870         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21871         warning.
21872         (gdb-breakpoints-header): Move forward to avoid compiler warning.
21873         (gdb-make-header-line-mouse-map): Remove duplicate definition.
21875 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
21877         * simple.el (set-mark): Revert last change.
21879 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
21881         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21882         rendering of pngs is not possible instead of messaging a long
21883         description.
21885 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
21887         * w32-fns.el (x-selection-owner-p): New function.
21889         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21890         (mouse-yank-at-click, mouse-yank-primary):
21891         If select-active-regions is non-nil, deactivate the mark before
21892         insertion.
21894         * simple.el (deactivate-mark, set-mark): Only save selection if we
21895         own it.
21897 2009-07-17  Kenichi Handa  <handa@m17n.org>
21899         * case-table.el (describe-buffer-case-table): Fix for the case
21900         that KEY is a cons.
21902 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
21904         * vc-rcs.el (vc-rcs-find-file-hook):
21905         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21907 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
21909         * net/tramp.el (tramp-wait-for-output): Handle the case when
21910         commands do not return a newline but a null byte before the shell
21911         prompt.  (Bug#3858)
21913 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21915         * term/ns-win.el (ns-set-alpha): Don't declare.
21916         (ns-set-background-alpha): Remove function.
21918 2009-07-16  Kevin Ryde  <user42@zip.com.au>
21920         * emacs-lisp/copyright.el (copyright-update): Save match-data across
21921         y-or-n-p, for safety.
21923 2009-07-16  Richard Stallman  <rms@gnu.org>
21925         * files.el (auto-save-mode): If buffer-saved-size is -2,
21926         don't clobber it.
21928         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21929         (rmail-retry-ignored-headers): Add more uninteresting fields.
21931 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
21933         * net/rcirc.el (rcirc): Use history variables.
21934         (rcirc-server-name-history, rcirc-nick-name-history)
21935         (rcirc-server-port-history): New variables.
21937 2009-07-15  Kenichi Handa  <handa@m17n.org>
21939         * international/mule-cmds.el (set-language-environment-charset):
21940         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21941         ignore them.
21943         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21944         Delete unibyte-display.
21946 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21948         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21950 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21952         * simple.el (deactivate-mark): Optional argument FORCE.
21953         (set-mark): Use deactivate-mark.
21955         * info.el (Info-search): No need to check transient-mark-mode
21956         before calling deactivate-mark.
21958         * select.el (x-set-selection): Doc fix.
21959         (x-valid-simple-selection-p): Allow buffer values.
21960         (xselect--selection-bounds): Handle buffer values.
21961         Suggested by David De La Harpe Golden.
21963         * mouse.el (mouse-set-region, mouse-drag-track):
21964         Call copy-region-as-kill before setting the mark, to let
21965         select-active-regions work.
21967 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
21969         * simple.el (deactivate-mark): If select-active-regions is
21970         non-nil, copy the selection data into a string.
21971         (activate-mark): If select-active-regions is non-nil, set the
21972         selection to the current buffer.
21973         (set-mark): Update selection if select-active-regions is non-nil.
21975         * select.el (x-valid-simple-selection-p): Allow buffer values.
21977 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21979         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21980         and more featureful message-mode.
21982 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
21984         * select.el (x-set-selection): Doc fix.
21985         (x-valid-simple-selection-p): Disallow selection data consisting
21986         of a list or cons of integers, since that is not used.
21987         (xselect--selection-bounds, xselect--int-to-cons): New functions.
21988         (xselect-convert-to-string, xselect-convert-to-length)
21989         (xselect-convert-to-filename, xselect-convert-to-charpos)
21990         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21992 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
21994         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21995         output in -break-info command (Emacs bug #3794).
21997 2009-07-14  Glenn Morris  <rgm@gnu.org>
21999         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22000         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22001         (edebug-print-length, edebug-print-level, edebug-print-circle)
22002         (edebug-sit-for-seconds, edebug-view-outside)
22003         (edebug-bounce-point, edebug-set-global-break-condition)
22004         (edebug-Go-nonstop-mode, edebug-trace-mode)
22005         (edebug-Trace-fast-mode, edebug-continue-mode)
22006         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22007         (edebug-visit-eval-list): Doc fixes.
22009         * subr.el (def-edebug-spec): Doc fix.
22011 2009-07-14  Kenichi Handa  <handa@m17n.org>
22013         * international/characters.el: Fix setting of category ?C.
22015 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
22017         * term/ns-win.el (x-select-font): defalias x-select-font to
22018         ns-popup-font-panel instead of generate-fontset-menu.
22020 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
22022         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
22024 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
22026         * arc-mode.el (archive-find-type): Allow for a PK00 string before
22027         the PK\003\004 header (Bug#3770).
22029 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
22031         * pcomplete.el (pcomplete-comint-setup): Check for
22032         shell-dynamic-complete-filename too.
22034 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
22036         * simple.el (temporary-goal-column): Change the value for
22037         line-move-visual to a cons cell.
22038         (line-move-visual): Record or set the window hscroll, if
22039         necessary (Bug#3494).
22040         (line-move-1): Handle cons value of temporary-goal-column.
22042 2009-07-11  Kenichi Handa  <handa@m17n.org>
22044         * international/mule-diag.el (describe-character-set): Don't show
22045         width.
22047 2009-07-10  Sam Steingold  <sds@gnu.org>
22049         * progmodes/compile.el (compilation-mode-font-lock-keywords):
22050         Omake sometimes indents the errors it prints, so allow all
22051         regexps to start with spaces.
22053 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
22055         * cus-edit.el (customize-changed-options-previous-release):
22056         Bump value to 22.1.  (Bug#3804)
22058 2009-07-08  Sam Steingold  <sds@gnu.org>
22060         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22061         to be a cons cell (test . ignored-directory) to selectively ignore
22062         some directories depending on the location of the search.
22064 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
22066         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22067         remote user is root, on the local host.
22068         (tramp-local-host-p): Either the local user or the remote user
22069         must be root.  (Bug#3771)
22071 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22073         * progmodes/gdb-mi.el (gdb): Remove description of
22074         gdb-use-separate-io-buffer.
22075         (menu): Don't allow toggling of or enable
22076         gdb-use-separate-io-buffer from menubar.
22078 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
22080         * mail/unrmail.el (unrmail): Make sure the message ends with two
22081         newlines (Bug#3769).
22083 2009-07-08  Glenn Morris  <rgm@gnu.org>
22085         * calendar/calendar.el (calendar-current-date): Rework previous change.
22087 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
22089         * calendar/calendar.el (calendar-current-date):
22090         Add an optional argument giving an offset from today.
22092 2009-07-08  Glenn Morris  <rgm@gnu.org>
22094         * tutorial.el (tutorial--describe-nonstandard-key):
22095         Adjust the message for when a key has been unbound.
22096         (help-with-tutorial): Hide the arch-tag.
22098 2009-07-08  Kenichi Handa  <handa@m17n.org>
22100         * international/fontset.el (setup-default-fontset): For each
22101         script, append (not set) font-specs.
22103         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22104         docstring.
22106 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22108         * progmodes/gdb-mi.el (gdb-init-1): Move sending
22109         -data-list-register-names to ...
22110         (gdb-starting): ... here because GDB 7.0 requires execution to
22111         have started when using this MI command.
22112         (gdb-set-header): New function to distinguish select and
22113         unselected tabs in gdb buffers.
22114         (gdb-propertize-header): New macro that uses gdb-set-header.
22115         (gdb-breakpoints-header, gdb-locals-header): Use it.
22116         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22118 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
22120         * Makefile.in (ELCFILES): Remove fadr.elc.
22122 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
22124         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22125         may contain frame information, so `string-match' should be used.
22126         (gdb-update): Disassembly is invalidated through
22127         `gdb-get-selected-frame'.
22128         (gdb-pad-string): New function to pad string with spaces.
22129         (gdb-invalidate-disassembly): Invalidate only if the buffer
22130         exists.
22131         (gdb-disassembly-handler-custom): Column alignment.
22132         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22133         placing new ones.
22134         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22135         end of line, too.
22136         (gdb-frame-handler): Match convention to for disassembly buffer
22137         mode name.
22138         (gdb-stack-list-frames-handler): Rewritten without regexps.
22139         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22140         not highlight breakpoints without line information.
22141         (gdb-input): Add trailing newline to command.
22143         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22144         buffer properly.
22145         (gdb-breakpoints-list-handler-custom): Replacement for
22146         `gdb-break-list-handler'.  Using real parser instead of regexps
22147         now.
22148         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22149         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22150         to place breakpoints.
22151         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22152         functions.
22153         (gdb-disassembly-handler-custom): Show overlay arrow.
22154         (gdb-disassembly-place-breakpoints): Show breakpoints in
22155         disassembly buffer.
22156         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22157         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22158         instead of parsing breakpoints buffer.  Fixed old menu references
22159         in `gud-menu-map'.
22161         * fadr.el: Remove.
22163         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22164         (gdb-memory-address): New variable which holds top address of
22165         memory page shown in memory buffer.
22166         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22167         New customization variables.
22168         New functions:
22169         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22170         display the memory buffer.
22171         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22172         buffer display parameters.
22173         (def-gdb-memory-format, gdb-memory-format-binary)
22174         (gdb-memory-format-octal, gdb-memory-format-unsigned)
22175         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22176         Functions for setting memory buffer format.
22177         (gdb-memory-unit-word, gdb-memory-unit-halfword)
22178         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22179         unit size used in memory buffer.
22180         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22181         Switch to next/previous page of memory buffer.
22182         Now using (bindat-get-field) instead of fadr functions.
22184 2009-07-07  Sam Steingold  <sds@gnu.org>
22186         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22187         non-top-level files.
22189 2009-07-07  Kenichi Handa  <handa@m17n.org>
22191         * international/mule-cmds.el (reset-language-environment):
22192         Put the highset priority to the charset iso-8859-1.
22194 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22196         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22197         to the end of the line when locating the block (Bug#700).
22199 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
22201         * net/tramp.el (tramp-handle-write-region): Flush file properties
22202         in case of short track.
22204 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
22206         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22207         Coded custom representation of verilog error regular expressions
22208         to work with Emacs-22's new format.
22209         (verilog-error-regexp-xemacs-alist): Coded custom representation
22210         of verilog error regular expressions to work with XEmacs format.
22211         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22212         error recognition into XEmacs.
22213         (verilog-error-regexp-add-emacs): Hook routine to install verilog
22214         error recognition into Emacs-22.
22216 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22218         * woman.el: Remove stand-alone closing parentheses.
22219         (woman-file-name, woman2-format-paragraphs)
22220         (woman-leave-blank-lines): Code cleanup.
22221         (woman-use-own-frame): Change default to nil.
22222         (woman-italic, woman-bold, woman-unknown, woman-addition):
22223         Change defaults to inherit from default faces.
22224         (woman2-process-escapes): Consume the newline after a stand-alone
22225         filler character (Bug#3651).
22227 2009-07-06  Glenn Morris  <rgm@gnu.org>
22229         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22230         (top-level): Move provide to the end.
22231         (ffap): Remove defunct URL from custom group.
22233         * subr.el (eval-after-load): Doc fix.
22235 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
22237         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22238         `calc-embedded-word' is called twice.
22240 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22242         * files.el (find-alternate-file-other-window, find-alternate-file):
22243         Obey confirm-nonexistent-file-or-buffer.
22245 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
22247         * dired-aux.el (dired-show-file-type): Handle remote files.
22249 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
22251         * desktop.el (desktop-globals-to-save):
22252         Add file-name-history (Bug#2750).
22254 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
22256         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22258 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
22260         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22261         property on entire argument since this is what eshell-lisp-command
22262         expects.
22264 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
22266         * net/tramp-gvfs.el (tramp-gvfs-methods)
22267         (tramp-gvfs-zeroconf-domain)
22268         (tramp-bluez-discover-devices-timeout): Add version flag.
22269         (tramp-gvfs-handler-mounted-unmounted)
22270         (tramp-gvfs-connection-mounted-p): Polish handling of
22271         incompatibilities between GVFS 0.2 and 1.0.
22273 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
22275         * cus-start.el (all): Add make-pointer-invisible.
22277 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
22279         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22280         formatted correctly.
22282 2009-07-02  Juri Linkov  <juri@jurta.org>
22284         * info.el: Virtual Info files and nodes.
22285         (Info-virtual-files, Info-virtual-nodes): New variables.
22286         (Info-current-node-virtual): New variable.
22287         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22288         New functions.
22289         (Info-file-supports-index-cookies): Use Info-virtual-file-p
22290         to check for a virtual file instead of checking a fixed list
22291         of node names.
22292         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22293         instead of ad-hoc processing of "dir" and (apropos history toc).
22294         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22295         instead of ad-hoc processing of "dir" and (apropos history toc).
22296         Reread a file when moving from a virtual node.
22297         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22298         (Info-directory-toc-nodes, Info-directory-find-file)
22299         (Info-directory-find-node): New functions.
22300         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22301         (Info-history): Move part of code to
22302         `Info-history-find-node'.
22303         (Info-history-toc-nodes, Info-history-find-file)
22304         (Info-history-find-node): New functions.
22305         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22306         (Info-toc): Move part of code to `Info-toc-find-node'.
22307         (Info-toc-find-node): New function.
22308         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
22309         the current Info file name to references because now the node
22310         "*TOC*" belongs to the same Info manual.
22311         (Info-toc-build): Rename from `Info-build-toc'.
22312         (Info-toc-nodes): Rename input argument `file' to `filename'.
22313         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22314         instead of ad-hoc processing of ("dir" apropos history toc).
22315         (Info-index-nodes): Use Info-virtual-file-p
22316         to check for a virtual file instead of checking a fixed list
22317         of node names.
22318         (Info-index-node): Add check for `Info-current-node-virtual'.
22319         Raise `save-match-data' higher up the tree to contain
22320         `search-forward' too (bug fix).
22321         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22322         (Info-virtual-index-nodes): New variable.
22323         (Info-virtual-index-find-node, Info-virtual-index): New functions.
22324         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22325         (Info-apropos-file, Info-apropos-nodes): New variables.
22326         (Info-apropos-toc-nodes, Info-apropos-find-file)
22327         (Info-apropos-find-node, Info-apropos-matches): New functions.
22328         (info-apropos): Move part of code to `Info-apropos-find-node' and
22329         `Info-apropos-matches'.
22330         (Info-mode-map): Bind "I" to `Info-virtual-index'.
22331         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22332         for a virtual file instead of checking a fixed list of node names.
22334         * simple.el (async-shell-command): New command.
22336         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22338         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22339         instead of `mount-info'.
22341 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
22343         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22344         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22346 2009-07-02  Kenichi Handa  <handa@m17n.org>
22348         * international/mule.el (set-keyboard-coding-system): Force *-unix
22349         coding-system to avoid eol conversion.
22351 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
22353         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22354         Add handler for `process-file', `shell-command' and
22355         `start-file-process'.
22356         (tramp-gvfs-handle-shell-command)
22357         (tramp-gvfs-handle-start-file-process)
22358         (tramp-gvfs-handle-process-file): New defuns.
22359         (tramp-synce-list-devices): Simplify check for existence of property.
22361 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
22363         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22365 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
22367         * language/korean.el (set-language-info-alist): Add korean-cp949,
22368         cp949 to spec.
22370 2009-07-01  Kenichi Handa  <handa@m17n.org>
22372         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22374         * international/encoded-kb.el: Deleted.
22376         * international/mule.el (set-keyboard-coding-system): Perform the
22377         necessary setup here instead of calling encoded-kbd-setup-display.
22379 2009-07-01  Glenn Morris  <rgm@gnu.org>
22381         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22383 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
22385         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
22387 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
22389         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22390         Handle also the 'rename case, when setting file modes.  (Bug#3712)
22391         (tramp-default-file-modes): Remove execute permissions.
22393         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22394         (top): Add a default for "synce" in `tramp-default-user-alist'.
22395         Add completion function for "synce" method.
22396         (tramp-hal-service, tramp-hal-path-manager)
22397         (tramp-hal-interface-manager, tramp-hal-interface-device):
22398         New defconst.
22399         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22400         (tramp-synce-list-devices, tramp-synce-parse-device-names):
22401         New defuns.
22403         * net/trampver.el: Update release number.
22405 2009-06-30  Kenichi Handa  <handa@m17n.org>
22407         * international/fontset.el (setup-default-fontset): Add CJK fonts
22408         for symbols and the other miscellaneous characters.
22410         * language/korea-util.el (setup-korean-environment-internal):
22411         Make char-width-table suitable for Korean environments.
22412         (exit-korean-environment): Cancel above.
22414         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22415         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22416         setup-function to make char-width-table suitable for respective
22417         environments, and an exit-function to cancel that.
22419         * language/japan-util.el (setup-japanese-environment-internal):
22420         Call use-cjk-char-width-table with arg `ja_JP'.
22422         * international/characters.el (cjk-char-width-table): Delete it.
22423         (cjk-char-width-table-list): New variable.
22424         (use-cjk-char-width-table): New arg local-name.
22425         (use-default-char-width-table): Fix for the case that Emacs is
22426         already using the default char-width-table.
22428 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
22430         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22431         modes mandatory.  (Bug#3712)
22433 2009-06-29  Alan Mackenzie  <acm@muc.de>
22435         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22436         correction between the visible width of TABs and their number of bytes.
22438 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
22440         * server.el (server-buffer-done): Prevent kill-buffer from
22441         prompting by clearing the buffer modification flag (Bug#3696).
22443 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
22445         * progmodes/verilog-mode.el (verilog-beg-of-statement)
22446         (verilog-endcomment-reason-re): Support unique case and priority case.
22447         (verilog-basic-complete-re): Support localparam lineup.
22448         (verilog-beg-of-statement-1): Fix for robustness, unique case.
22449         (verilog-set-auto-endcomments): Fix for unique case, always_comb
22450         commenting.
22451         (verilog-leap-to-case-head): Now support *nested* unique &
22452         priority case statements.
22453         (verilog-auto-lineup): Make just declarations the default (as it
22454         had been).
22455         (verilog-leap-to-case-head): Support priority/unique case statements.
22456         (verilog-auto-lineup): Rework to give users radio buttons to
22457         select the various styles of automatic lineup.
22458         (verilog-error-regexp-alist): Rework to support the XEmacs style
22459         of error regular expressions from compilers, lint tools &
22460         simulators.  Note that GNU Emacs has made it impossible for a mode
22461         to load such things.
22462         (electric-verilog-terminate-line, verilog-indent-declaration)
22463         (verilog-auto-wiure): Rework for radio button selection of
22464         auto-lineup selection of specification of auto lineup.
22465         (verilog-beg-of-statement-1): Redesign to support proper operation
22466         in additional code, based on testing with auto-lineup.
22467         (verilog-calculate-indent, assignments & declarations)
22468         (verilog-backward-token): Enhance to support auto-lineup of
22469         assignments & declarations.
22470         (verilog-in-directive-p, verilog-at-struct-p): New function for
22471         easy test of whether we are.
22472         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22473         to support safe execution at almost anyline.
22474         (verilog-calc-1): Properly support indenting deep inside generate
22475         blocks.
22476         (verilog-init-font): Remove definition & use of verilog-init-font,
22477         as it is redundant with font-lock-defaults.
22478         (verilog-mode): Alter the definition of verilog-font-lock-defaults
22479         to avoid circular calls if syntax-ppss is a function (as is the
22480         case now in 22.x GNU Emacs) as that function would sometimes call
22481         itself, leading to (nearly) infinite recursion.
22482         (verilog-ovm-begin-re, verilog-ovm-end-re)
22483         (verilog-ovm-statement-re, verilog-leap-to-head)
22484         (verilog-backward-token): Add support for OVM macros.  Some are
22485         complete statements, and others open and close scopes like begin
22486         and end.
22487         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22488         (verilog-defun-level-generate-only-re): Really fix the defun-list
22489         compilation issue.
22490         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22491         coverpoint, constraint and cross statements.
22492         (verilog-defun-level-list, verilog-generate-defun-level-list)
22493         (verilog-all-defun-level-list): Redo these specifications - it is
22494         too hard to support eval-when compile aggregation of lists also
22495         built at when-compile time.
22496         (verilog-defun-level-list): Place defconsts of variables used in
22497         building regular expressions which are built in eval-when-compile
22498         bodies in the same eval-when-compile body to facilitate compile
22499         without load.
22500         (verilog-beg-block-re-ordered): Support indenting
22501         virtual/protected tasks and functions.
22502         (verilog-defun-level-list, verilog-in-generate-region-p)
22503         (verilog-backward-ws&directives, verilog-calc-1): Speed up
22504         indentation of some module items (generate items).
22505         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22506         across virtual/protected tasks and functions.
22508 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
22510         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22511         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
22512         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22513         in concatenations.  Reported by Yishay Belkind.
22514         (verilog-auto-ascii-enum): Support one-hot state machines in
22515         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
22516         (verilog-auto-inst, verilog-auto-inst-port): Include interface
22517         modport in AUTOINST and add vl-modport for users.
22518         Reported by David Rogoff.
22519         (verilog-auto-inout-module, verilog-auto-inst)
22520         (verilog-decls-get-interfaces, verilog-insert-definition)
22521         (verilog-insert-one-definition, verilog-read-decls)
22522         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22523         (verilog-sig-modport, verilog-signals-combine-bus)
22524         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22525         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22526         Suggested by David Rogoff.
22527         (verilog-repair-open-comma): Fix non-insertion of comma when
22528         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
22529         (verilog-make-width-expression): Simplify [A-1:0] expression
22530         widths to just {A{1'b0}}.
22531         (verilog-mode): Cleanup checkdoc warnings.
22532         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22533         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22534         inputs/outputs or data type.  Suggested by Vasu Kandadi.
22535         (next-error-last-buffer): Fix byte-compiler warning.
22536         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22537         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22538         or shell command text during AUTO expansion.  Suggested by Tad Truex.
22539         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22540         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22541         Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22542         in AUTOINOUT.  Reported by Matthew Lovell.
22543         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22544         causing use of <= assignments.  Reported by Alex Reed.
22545         (verilog-read-decls): Fix triand, trior, wand, wor to be
22546         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
22547         (verilog-extended-complete-re): Support import "DPI-C" functions.
22548         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22549         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
22550         (verilog-insert-date, verilog-insert-year)
22551         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22552         Windows systems.  Reported by Michael Potts.
22553         (verilog-read-module-name): Fix AUTOINST when the child module
22554         declaration's name is a tick define.  Reported by Elliot Mednick.
22555         (verilog-read-decls): Fix V2K parameter bit subscripts getting
22556         passed to next parameter's definition.  Reported by Bruce T.
22557         (verilog-read-decls): Fix detecting "parameter int" when using
22558         AUTOINSTPARAM.  Reported by Bruce T.
22559         (verilog-goto-defun): Fix goto not finding modules unless first
22560         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
22561         (verilog-mode): Expand -f flag arguments on entry to mode so
22562         verilog-goto-defun will work.  Reported by Lawrence Butcher.
22563         (verilog-getopt): Expand environment variables in -f file
22564         arguments.  Suggested by Lawrence Butcher.
22565         (verilog-set-define): Fix "Symbol's value as variable is void"
22566         when reading enumerations.
22567         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22568         Suggested by Stephen Peltan.
22569         (verilog-read-defines): Fix reading of enumerations in include
22570         files.  Reported by Steve Peltan.
22572 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22574         * files.el (trash-directory): Fix defcustom type.
22576 2009-06-28  Juri Linkov  <juri@jurta.org>
22578         * help-fns.el (describe-function-1): Correctly locate adviced
22579         functions in hyperlink (Bug#2438).
22581 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
22583         * files.el (trash-directory): Change default to nil.
22584         (move-file-to-trash): If trash-directory is nil and
22585         system-move-file-to-trash is unbound, perform freedesktop-style
22586         trashing.
22588 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22590         * files.el (move-file-to-trash): Add freedesktop trash
22591         support (Bug#973).
22593 2009-06-28  Glenn Morris  <rgm@gnu.org>
22595         * autorevert.el (global-auto-revert-non-file-buffers)
22596         (global-auto-revert-mode): Doc fixes.
22598 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
22600         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22602 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
22604         * faces.el (x-handle-named-frame-geometry): Ensure that we have
22605         opened an X connection before calling x-get-resource (Bug#3194).
22607         * play/doctor.el: Remove reference to obsolete website.
22608         (make-doctor-variables): Correct grammar mistake (Bug#2633).
22610 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
22612         Remove find-file-not-found-hook VC method.  (Bug#2757)
22613         * vc-hooks.el (vc-file-not-found-hook)
22614         (vc-default-find-file-not-found-hook): Remove functions.
22615         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22616         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22617         * vc.el:
22618         * vc-hg.el:
22619         * vc-git.el: Do not mention find-file-not-found-hook VC method.
22621 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
22623         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22624         compatibility function for `looking-back'.
22626         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22627         Use `ispell-looking-back'.
22629 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
22631         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22632         rather than `filename'.
22634 2009-06-23  Miles Bader  <miles@gnu.org>
22636         * face-remap.el (text-scale-set): New function.
22638 2009-06-23  Glenn Morris  <rgm@gnu.org>
22640         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22642         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22644         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22646         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22648         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22649         Simplify Persian conditionals.
22651         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22652         variable `filename'.
22654         * comint.el (comint-insert-input): Doc fix.
22656         * Makefile.in (ELCFILES): Fix typo in previous change.
22658 2009-06-23  Miles Bader  <miles@gnu.org>
22660         * cus-start.el: Add entry for `recenter-redisplay'.
22662 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22664         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22665         Add an optional argument for the backend, use it instead of
22666         calling vc-backend.
22667         (vc-mode-line): Add an optional argument for the backend.
22668         Pass the backend to vc-state and vc-working-revision.  Move code for
22669         special handling for vc-state being a buffer to ...
22671         * vc-rcs.el (vc-rcs-find-file-hook):
22672         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
22674         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22675         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22676         vc-stay-local-p and vc-mode-line calls.
22678         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22679         (vc-cvs-diff, vc-cvs-annotate-command)
22680         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22681         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22682         vc-mode-line calls.
22684         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22685         direct comparison.
22686         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22687         backend when calling vc-mode-line.
22688         (vc-register): Do not create a closure for calling the vc register
22689         function, call it directly.  No longer obey vc-initial-comment.
22691 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22693         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22694         to make it obvious item can be clicked.
22696         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22698 2009-06-23  Kenichi Handa  <handa@m17n.org>
22700         * language/korea-util.el (korean-key-bindings): Change the binding
22701         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
22702         same command.
22704 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
22706         Sync with Tramp 2.1.16.
22708         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22710         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
22711         when a loading of a package fails.  Completion function for rsync
22712         is `tramp-completion-function-alist-ssh'.
22713         (all): Replace all calls of `split-string' and
22714         `tramp-split-string' by `tramp-compat-split-string'.
22715         (tramp-default-method): Use `tramp-compat-process-running-p'.
22716         (tramp-default-proxies-alist): Allow also Lisp forms.
22717         (tramp-remote-path): Add choice "Private Directories".
22718         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22719         (tramp-domain-regexp): Allow also "-", "_" and ".".
22720         (tramp-end-of-output): Remove newlines, and add "$" at the end.
22721         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22722         (tramp-debug-message): Insert header line in debug buffer.
22723         (tramp-handle-directory-files-and-attributes-with-stat):
22724         Care about filenames with spaces, or starting with "-".
22725         (tramp-handle-dired-uncache): New defun.
22726         (tramp-handle-insert-directory): Don't flush the directory from
22727         cache, this is handled by `dired-uncache' now.
22728         (tramp-handle-insert-file-contents): Improve error handling.
22729         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22730         Quote `tramp-end-of-output'.
22731         (tramp-action-password): Improve trace message.
22732         (tramp-check-for-regexp): Both echoes must be present, before removing.
22733         (tramp-open-connection-setup-interactive-shell): Trace coding system.
22734         (tramp-compute-multi-hops): Eval cons cells of
22735         `tramp-default-proxies-alist'.
22736         (tramp-maybe-open-connection): Use the same command pattern for
22737         first hop and further hops.
22738         (tramp-wait-for-output): Remove handling of newlines.
22739         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22740         (tramp-split-string): Remove function.  It is handled in
22741         tramp-compat now.
22743         * net/tramp-cmds.el (tramp-bug):
22744         Recommend `tramp-cleanup-all-connections' in the bug mail.
22746         * net/tramp-compat.el (tramp-compat-split-string)
22747         (tramp-compat-process-running-p): New defuns.
22749         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22750         for `dired-uncache'.
22752         * net/tramp-gvfs.el: New package.
22754         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22755         Add handler for `dired-uncache'.
22756         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22758         * net/trampver.el: Update release number.  Make version check fit
22759         for SXEmacs 22.
22761 2009-06-22  Jim Meyering  <meyering@redhat.com>
22763         Automatically handle .xz suffix (XZ-compressed files), too.
22764         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22765         XZ is the successor to LZMA: <http://tukaani.org/xz/>
22767 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
22768             Nick Roberts  <nickrob@snap.net.nz>
22770         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22771         repository (http://sphinx.net.ru/hg/gdb-mi/).
22773 2009-06-22  Glenn Morris  <rgm@gnu.org>
22775         * files.el (dir-locals-collect-mode-variables): Allow for any number of
22776         `mode' and `eval' entries.  (Bug#3430)
22778         * Makefile.in (ELCFILES): Add fadr.elc.
22780         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22781         differing behavior of \n and ^ in strings.  (Bug#3385)
22783         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22785         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22786         property.
22787         (lisp-indent-function): Make it a defcustom.
22789 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
22791         * progmodes/gdb-ui.el: Replace with ...
22792         * progmodes/gdb-mi.el: ... this file.
22793         * progmodes/gud.el: Modify for gdb-mi.el.
22795 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
22797         * fadr.el: New file.
22799 See ChangeLog.14 for earlier changes.
22801 ;; Local Variables:
22802 ;; coding: utf-8
22803 ;; End:
22805   Copyright (C) 2009-2015 Free Software Foundation, Inc.
22807   This file is part of GNU Emacs.
22809   GNU Emacs is free software: you can redistribute it and/or modify
22810   it under the terms of the GNU General Public License as published by
22811   the Free Software Foundation, either version 3 of the License, or
22812   (at your option) any later version.
22814   GNU Emacs is distributed in the hope that it will be useful,
22815   but WITHOUT ANY WARRANTY; without even the implied warranty of
22816   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22817   GNU General Public License for more details.
22819   You should have received a copy of the GNU General Public License
22820   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.