* lisp/net/rcirc.el (rcirc-connect): Fix PASS bug.
[emacs.git] / lisp / ChangeLog
blobd23bb9e650ed8ca30b2ee0d5e3a925f44119f8ff
1 2011-03-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3         * net/rcirc.el (rcirc-connect): Fix PASS bug.
5 2011-03-07  Glenn Morris  <rgm@gnu.org>
7         * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
8         Give an explicit error if failed to make writable.  (Bug#6146)
10 2011-03-07  Ed Reingold  <reingold@emr.cs.iit.edu>
12         * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
13         Add optional `after-sunset' argument.  (Bug#8190)
15 2011-03-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
17         * play/morse.el (nato-alphabet, nato-region, denato-region):
18         New variable and functions.  (Bug#2288)
19         (morse-region, unmorse-region): Barf if read-only.
21 2011-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
23         * progmodes/gud.el (gdb-script-syntax-propertize-function):
24         Don't change the syntax of a \n that closes a comment (bug#8169).
26 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
28         * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
29         defcustom.
30         (package--update-file): Doc fix.  Accept relative file names.
31         (package--archive-contents-from-file): Remove the argument, since
32         it's necessarily always "archive-contents".
33         (package-maint-add-news-item): Pass relative file name args to
34         package--update-file.
35         (package-upload-buffer-internal): Prompt for a destination if
36         package-archive-upload-base is invalid.  Create the directory if
37         it does not exist.
38         (package-upload-buffer, package-upload-file): Doc fix.
40 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
42         * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
43         and move isearch-yank-line to M-s C-e (Bug#8183).
45 2011-03-06  Alan Mackenzie  <acm@muc.de>
47         * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
48         (c-guess-basic-syntax): Move CASE 19 to a different place,
49         correctly to process template-args-cont lines.
51 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
53         * calc/calc-ext.el (calc-init-extensions):
54         Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
55         and calc-nplevel, respectively.  Add keybindings for calc-spn,
56         calc-midi and calc-freq.  Add autoloads for calcFunc-spn,
57         calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
59         * calc/calc-units.el (calc-dblevel): Rename from
60         calc-logunits-dblevel.
61         (calc-nplevel): Rename from calc-logunits-nplevel.
62         (math-midi-round, math-freqp, math-midip, math-spnp)
63         (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
64         (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
65         (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
66         (math-notes): New variable.
68         * calc/calc.el (calc-note-threshold): New variable.
70 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
72         * emacs-lisp/package.el (package-archives): Accept either ordinary
73         directory names, in addition to HTTP URLs.
74         (package--with-work-buffer): New macro.   Handle normal directories.
75         (package-handle-response): Don't display the failing buffer.
76         (package-download-single, package-download-tar)
77         (package--download-one-archive): Use package--with-work-buffer.
78         (package-archive-base): Rename from package-archive-url.
80 2011-03-06  Glenn Morris  <rgm@gnu.org>
82         * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
83         (xmodmap-generic-mode): Respect generic-extras-enable-list.
85 2011-03-06  Daniel Clemente  <dcl441-bugs@yahoo.com>  (tiny change)
87         * generic-x.el (xmodmap-generic-mode): New.  (Bug#2065)
89 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
91         * allout.el (allout-init, allout-prefixed-keybindings)
92         (allout-unprefixed-keybindings):
93         * progmodes/prolog.el (prolog-find-term):
94         Fix typos in docstrings.
96 2011-03-06  Nikolaj Schumacher  <me@nschum.de>  (tiny change)
98         * emacs-lisp/elp.el (elp-results): Fix off-by-one in header.  (Bug#2746)
100 2011-03-06  Kevin Ryde  <user42@zip.com.au>
102         * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc.  (Bug#5326)
104 2011-03-06  Michael Shields  <shields@msrl.com>  (tiny change)
106         * window.el (one-window-p, walk-windows, display-buffer):
107         Doc fixes.  (Bug#5567)
109 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
111         * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
112         of the variable if it exists.
114 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
116         * bookmark.el:
117         * desktop.el:
118         * emacs-lock.el:
119         * ps-print.el:
120         * saveplace.el:
121         * net/tramp-cache.el:
122         * obsolete/fast-lock.el:
123         * textmodes/reftex.el:
124         Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
126 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
128         * files.el (delete-directory, copy-directory, list-directory):
129         Use read-directory-name.
131         * find-file.el (ff-find-the-other-file):
132         * net/ange-ftp.el (ange-ftp-make-directory):
133         * printing.el (pr-interactive-dir):
134         * progmodes/ada-prj.el (ada-prj-load-directory):
135         * progmodes/ebnf2ps.el (ebnf-print-directory)
136         (ebnf-spool-directory, ebnf-eps-directory)
137         (ebnf-syntax-directory):
138         * shell.el (shell):
139         * speedbar.el (speedbar-create-directory):
140         * vc/emerge.el (emerge-merge-directories):
141         * vc/vc-dir.el (vc-dir):
142         * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
144 2011-03-05  Chong Yidong  <cyd@stupidchicken.com>
146         * help-mode.el (help-buffer): If we are to return the current
147         buffer, signal an error if it's not in Help mode (Bug#8147).
149 2011-03-05  Reuben Thomas  <rrt@sc3d.org>
151         * files.el (file-name-version-regexp): Handle backup files of the
152         form `foo.js.~HEAD~1~' (Bug#8159).
154 2011-03-05  Glenn Morris  <rgm@gnu.org>
156         * eshell/esh-var.el: Don't require esh-test when compiling.
157         * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
158         * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
159         * eshell/esh-test.el: Move to ../../test/eshell.el.
161 2011-03-05  David Engster  <deng@randomsample.de>
163         * files.el (save-some-buffers): Report the names of buffers saved
164         automatically due to buffer-save-without-query (Bug#8134).
166 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
168         * net/rcirc.el: Add QuakeNet authentication support.
169         (rcirc-authinfo, rcirc-check-auth-status)
170         (rcirc-authenticate): Support QuakeNet.
172 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
174         * net/rcirc.el: Add functionality to authenticate before
175         autojoining channels.
176         (rcirc-authenticate-before-join): New option.
177         (rcirc-authenticated-hook): New variable.
178         (rcirc-connect): Make local variable rcirc-user-authenticated.
179         (rcirc-handler-001): Respect rcirc-authenticate-before-join.
180         (rcirc-check-auth-status, rcirc-join-channels-post-auth):
181         New functions.
182         (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
183         Call rcirc-check-auth-status.
185 2011-03-05  Alex Harsanyi  <AlexHarsanyi@gmail.com>
187         * net/soap-client.el (soap-namespace-put-link): Check if the target
188         name is fully qualified -- use only the name part.
189         (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
190         types, treated the same as xsd:sequence.  (Bug#8166)
192 2011-03-05  Eli Zaretskii  <eliz@gnu.org>
194         * files.el (find-file-noselect): Don't ask about re-visiting
195         non-literally if the file is already visited in image-mode.
196         (Bug#8177)
198 2011-03-05  Glenn Morris  <rgm@gnu.org>
200         * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
201         (eshell-mode): Use eshell-kill-buffer-function.
202         Run the -initialize functions independently of the -load-hooks.
203         * eshell/esh-proc.el (eshell-kill-process-function): New function.
204         (eshell-gather-process-output, eshell-sentinel)
205         (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
206         Use eshell-kill-process-function.
207         * eshell/em-alias.el (eshell-alias-load-hook):
208         * eshell/em-banner.el (eshell-banner-load-hook):
209         * eshell/em-cmpl.el (eshell-cmpl-load-hook):
210         * eshell/em-dirs.el (eshell-dirs-load-hook):
211         * eshell/em-glob.el (eshell-glob-load-hook):
212         * eshell/em-hist.el (eshell-hist-load-hook):
213         * eshell/em-pred.el (eshell-pred-load-hook):
214         * eshell/em-prompt.el (eshell-prompt-load-hook):
215         * eshell/em-rebind.el (eshell-rebind-load-hook):
216         * eshell/em-script.el (eshell-script-load-hook):
217         * eshell/em-smart.el (eshell-smart-load-hook):
218         * eshell/em-term.el (eshell-term-load-hook):
219         * eshell/em-unix.el (eshell-unix-load-hook):
220         * eshell/esh-arg.el (eshell-arg-load-hook):
221         * eshell/esh-cmd.el (eshell-cmd-load-hook):
222         * eshell/esh-ext.el (eshell-ext-load-hook):
223         * eshell/esh-io.el (eshell-io-load-hook):
224         * eshell/esh-mode.el (eshell-exit-hook):
225         * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
226         * eshell/esh-var.el (eshell-var-load-hook):
227         Set default hook values to nil.  (Bug#5375)
229         * eshell/esh-module.el (eshell-module-unload-hook)
230         (eshell-modules-list): Remove leading * from defcustom docs.
232         * eshell/esh-util.el (eshell-for): Make it obsolete.
233         * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
234         * eshell/em-dirs.el (eshell-save-some-last-dir):
235         * eshell/em-hist.el (eshell-save-some-history)
236         (eshell-hist-parse-modifier):
237         * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
238         (eshell-ls-entries):
239         * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
240         * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
241         (eshell/which):
242         * eshell/esh-ext.el (eshell-find-interpreter):
243         * eshell/esh-mode.el (eshell-mode):
244         * eshell/esh-module.el (eshell-unload-extension-modules):
245         * eshell/esh-proc.el (eshell-process-interact):
246         * eshell/esh-test.el (eshell-test):
247         * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
248         * eshell/esh-var.el (eshell/env, eshell-environment-variables)
249         (eshell-variables-list):
250         * eshell/eshell.el (eshell-unload-all-modules):
251         Replace eshell-for with dolist.
253 2011-03-04  Glenn Morris  <rgm@gnu.org>
255         * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0.  (Bug#8170)
257 2011-03-04  Tom Tromey  <tromey@redhat.com>
259         * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
261 2011-03-04  Glenn Morris  <rgm@gnu.org>
263         * outline.el (outline-regexp): No longer allow nil.
264         (outline-heading-end-regexp): Add safety predicate.  (Bug#7619)
266         * net/browse-url.el (browse-url):
267         Handle deleted default-directory.  (Bug#6077)
269         * recentf.el (recentf-include-p): In case of a buggy predicate,
270         err on the side of including, not excluding.  (Bug#5843)
272 2011-03-04  Jay Belanger  <jay.p.belanger@gmail.com>
274         * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
275         variables as units.
277 2011-03-04  Bob Rogers  <rogers@rgrjr.dyndns.org>
279         * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
280         if there is no node.  (Bug#3261)
282 2011-03-04  Leo  <sdl.web@gmail.com>
284         * vc/diff-mode.el (diff-mode): Fix whitespace-style.  (Bug#8139)
286         * time.el (display-time-world-list): Fix typo.  (Bug#7571)
288 2011-03-04  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
290         * cus-edit.el (custom-buffer-create-internal):
291         Split search string before passing it to `customize-apropos' (bug#8136).
293 2011-03-04  Drew Adams  <drew.adams@oracle.com>
295         * image-dired.el (image-dired-cmd-read-exif-data-options):
296         Fix typo in docstring (bug#8156).
298 2011-03-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
300         * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
302 2011-03-03  Christian Ohler  <ohler@gnu.org>
304         * emacs-lisp/ert.el (ert--explain-equal): New function.
305         (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
306         All callers changed.
307         (ert--explain-equal-including-properties): Renamed from
308         `ert--explain-not-equal-including-properties'.  All callers
309         changed.
311 2011-03-03  Christian Ohler  <ohler@gnu.org>
313         * emacs-lisp/ert.el (ert--stats-set-test-and-result)
314         (ert-char-for-test-result, ert-string-for-test-result)
315         (ert-run-tests-batch, ert--print-test-for-ewoc):
316         Handle `ert-test-quit'.
318 2011-03-03  David Abrahams  <dave@boostpro.com>  (tiny change)
320         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
321         Move ediff-defvar-local calls after defcustoms.  (Bug#1821)
323 2011-03-03  Glenn Morris  <rgm@gnu.org>
325         * files.el (file-truename): Doc fix.  (Bug#2341)
327 2011-03-03  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
329         * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
331 2011-03-03  Vagn Johansen  <gonz808@hotmail.com>  (tiny change)
333         * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
334         programs output backslashes.  (Bug#7663)
336 2011-03-03  Glenn Morris  <rgm@gnu.org>
338         * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
339         (mail-mode): Remove mail-sent-via from the doc.
340         (mail-sent-via): Make it obsolete.  (Bug#1776)
342         * progmodes/grep.el (grep-highlight-matches): Doc fix.
343         (grep-process-setup): No highlighting without font-lock.  (Bug#8084)
345         * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
346         with no parents.  (Bug#8025)
348 2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>
350         * password-cache.el (password-in-cache-p): Add autoload.
352 2011-03-02  Glenn Morris  <rgm@gnu.org>
354         * man.el (Man-support-local-filenames): Also handle Red Hat's man.
355         * dired-x.el (Man-support-local-filenames): Autoload it.
356         (dired-guess-shell-alist-default): Also handle Red Hat's man.
358         * dired-x.el (dired-default-directory-alist, dired-default-directory):
359         Mark as obsolete.
360         (dired-smart-shell-command): Just call dired-current-directory.
362         * dired-x.el (dired-jump-other-window): Add autoload.
363         (dired-default-directory-alist, dired-default-directory): Doc fixes.
364         (dired-default-directory-alist): Mark as risky.
366         * dired-x.el (dired-omit-here-always): Make it obsolete.
368 2011-03-02  Chong Yidong  <cyd@stupidchicken.com>
370         * textmodes/artist.el (artist-curr-go): Default to pen-line.
371         (artist-select-op-pen-line): New function.
372         (artist-menu-map): New variable.
373         (artist-mode-map): Add a menu to the menu-bar.
375 2011-03-02  Jay Belanger  <jay.p.belanger@gmail.com>
377         * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
378         when evaluating.
380         * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
381         New function.
382         (math-logunits-add, math-logunits-mul, math-logunits-divide):
383         (math-logunits-quant, math-logunits-level):
384         Use `math-conditional-apply' and `math-conditional-pow' to evaluate
385         functions.
386         (math-logunits-level): Extract units from ratio.
388 2011-03-01  Juanma Barranquero  <lekktu@gmail.com>
390         * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
392 2011-03-01  Glenn Morris  <rgm@gnu.org>
394         * calendar/cal-hebrew.el (calendar-hebrew-birthday)
395         (diary-hebrew-birthday): Rename and rework functions added
396         in previous change.
398 2011-03-01  Ed Reingold  <reingold@emr.cs.iit.edu>
400         * calendar/cal-hebrew.el (hebrew-calendar-birthday)
401         (diary-hebrew-birthday): New functions.
403 2011-03-01  Glenn Morris  <rgm@gnu.org>
405         * dired.el (dired-safe-switches-p): Beef it up.
406         (dired-actual-switches): Use it for the safe-local prop.  (Bug#3230)
408 2011-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
410         * dired.el (dired-safe-switches-p): New function.
412 2011-03-01  Glenn Morris  <rgm@gnu.org>
414         * files.el (dir-locals-collect-variables):
415         Add the ability to exclude subdirectories.  (Bug#8100)
417         * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
419 2011-02-28  Christoph Scholtes  <cschol2112@googlemail.com>
421         * ido.el (ido-everywhere): Doc fix.
422         (ido-mode): Doc fix.
424 2011-02-28  Glenn Morris  <rgm@gnu.org>
426         * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
428 2011-02-28  Michael Albinus  <michael.albinus@gmx.de>
430         * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
431         shadows.
433 2011-02-28  Antoine Levitt  <antoine.levitt@gmail.com>
435         * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
437 2011-02-28  Juanma Barranquero  <lekktu@gmail.com>
439         * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
440         Fix typos in docstrings.
442 2011-02-28  Stephen Berman  <stephen.berman@gmx.net>
444         * dired-aux.el (dired-update-file-line):
445         Fix 2010-11-09 change.  (Bug#8131)
447 2011-02-28  Eli Zaretskii  <eliz@gnu.org>
449         * international/mule-cmds.el (set-default-coding-systems): Use the
450         -unix variant of encoding in default-keyboard-coding-system.
451         (Bug#8122)
453 2011-02-27  Chong Yidong  <cyd@stupidchicken.com>
455         * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
457 2011-02-27  Prestoo Ten  <prestooten@gmail.com>  (tiny change)
459         * term/screen.el: New file (Bug#2650).
461 2011-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
463         * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
464         (pcase-mutually-exclusive-predicates): New var.
465         (pcase--split-consp, pcase--split-pred): Use it.
466         (pcase--split-equal, pcase--split-member): When splitting against
467         a pure predicate, run it to know the outcome.
468         (pcase--u1): Mark vars that are actually used.
469         (pcase--q1): Avoid introducing unused vars.
471 2011-02-27  Jay Belanger  <jay.p.belanger@gmail.com>
473         * calc/calc-ext.el (calc-init-extensions):
474         Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
476         * calc/calc-math.el (calcFunc-log10): Don't signal an error in
477         symbolic mode.
479         * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
480         argument is a variable.
482 2011-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
484         * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
485         (aput, adelete, amake): Replace `eval' -> `symbol-value'.
486         Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
488 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
490         * password-cache.el (password-in-cache-p): Convenience function to
491         check if a key is in the cache, even if the value is nil.
493 2011-02-25  Jambunathan K  <kjambunathan@gmail.com>
495         * emacs-lisp/package-x.el (package--archive-contents-from-url)
496         (package--archive-contents-from-file): New functions.
497         (package-update-news-on-upload): New var.
498         (package-upload-buffer-internal): Extract archive-contents from
499         package-archive-upload-base if it is not found at archive-url.
500         Obey package-update-news-on-upload.
501         (package-upload-buffer, package-upload-file): Doc fix.
503 2011-02-24  Glenn Morris  <rgm@gnu.org>
505         * files-x.el (modify-dir-local-variable): Handle dir-locals from
506         the cache, and from non-file sources.
508         * help-fns.el (describe-variable): Return consistent results when a
509         dir-local from a file came from the cache or did not.  (Bug#8095)
510         If a dir-local has no associated file, say it came from a "directory".
512         * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
513         (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
515         * files.el (dir-locals-find-file): Doc fix.
516         Fix the check for cache elements that have no associated file,
517         and the mtime check for those that do.  (Bug#8095)
519         * dired-x.el (dired-hack-local-variables):
520         Handle interrupts during hacking local variables.  (Bug#5216)
522         * emacs-lisp/autoload.el (autoload-save-buffers)
523         (autoload-find-destination, update-directory-autoloads):
524         Avoid prompts when updating autoloads.
526 2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
528         * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
530 2011-02-23  Kenichi Handa  <handa@m17n.org>
532         * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
533         error when a multipart boundary in the nested multipart is found.
535         * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
536         header components.
538 2011-02-23  Glenn Morris  <rgm@gnu.org>
540         * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
541         * dired-x.el (dired-omit-mode): Safe if boolean.
542         (dired-enable-local-variables): Fix doc and custom type.
543         (dired-enable-local-variables, dired-local-variables-file)
544         (dired-hack-local-variables): Make obsolete.
545         (dired-omit-here-always): Use dir-locals.el instead.
547         * files.el (safe-local-eval-forms): Add the write-file-hooks version.
549 2011-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
551         * help-fns.el (describe-function-1): Don't signal an error just because
552         the DOC file disappeared.
554 2011-02-22  Seppo Sade  <sepposade1@gmail.com>  (tiny change)
556         * eshell/esh-ext.el (eshell-external-command): Do not restrict
557         remote check to "ftp".  (Bug#8089)
559 2011-02-21  Alan Mackenzie  <acm@muc.de>
561         Fix bug #7930.
562         * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
563         in macros finding their way into c-state-nonlit-pos-cache.
564         Strengthen the comments.
565         (c-state-dump): New commented out diagnostic routine.
567 2011-02-21  Michael Albinus  <michael.albinus@gmx.de>
569         * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
570         `field' property of `rfn-eshadow-overlay'.
572 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
574         * net/netrc.el (netrc-parse): Comment fix.
576 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
578         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
579         Autoload.  Add optional arg FRAME, and pass it to color-values.
580         (color-complement): Caller changed.  Doc fix.
581         (color-gradient): Rewrite for better clarity and efficiency.
583         * faces.el (color-values): Use cond for clarity.  Doc fix.
585         * facemenu.el (color-rgb-to-hsv): Delete; use the version in
586         color.el instead.
587         (list-colors-sort-key, list-colors-print):
588         Use color-normalized-values.
590 2011-02-20  Drew Adams  <drew.adams@oracle.com>
592         * color.el: First part of merge from hexrgb.el.
593         (color-rgb-to-hex): Rename from color-rgb->hex.
594         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
595         saturation to zero if the value is too small.
596         (color-rgb-to-hsl): Rename from color-rgb->hsl.
597         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
598         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
599         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
600         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
601         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
602         (color-cie-de2000): Doc fix.
604 2011-02-20  Alan Mackenzie  <acm@muc.de>
606         * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
607         locating the beginning of a macro.  (Bug#7595)
609 2011-02-20  Glenn Morris  <rgm@gnu.org>
611         * edmacro.el (edmacro-eight-bits): Make it a defcustom.
612         Don't autoload it.
614         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
615         (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
617 2011-02-19  Dmitry Bolshakov  <dmitry.bolshakov@bridge-quest.com>
618             Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
620         * progmodes/hideshow.el (hs-find-block-beginning)
621         (hs-hide-level-recursive): Ignore comments when parsing braces
622         (Bug#8036).
624 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
626         * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
627         (vc-bzr-pull): Use it.
629 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
631         * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
632         (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
633         but returning an alist.  Ignore comments in bzr conffile.
634         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
635         (vc-bzr-error-regex-alist): New var.
636         (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
638         * vc/vc-dispatcher.el (vc-do-async-command):
639         Bind inhibit-read-only to t.
641         * progmodes/compile.el (compilation--flush-directory-cache):
642         Handle the case where cdr of compilation--flush-directory-cache
643         points to no buffer, which can occur if we previously switched to
644         compilation-mode in a pregenerated buffer.
646 2011-02-19  Kenichi Handa  <handa@m17n.org>
648         * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
649         get the header copy into the temporary buffer.
650         (rmail-mime-insert-decoded-text): Ignore us-ascii.
651         (rmail-show-mime): When rmail-mime-coding-system is nil, set
652         buffer-file-coding-system to undecided.
654 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
656         * international/mule-cmds.el (read-char-by-name, ucs-insert):
657         Document completion with asterisk and a substring.
659 2011-02-19  Glenn Morris  <rgm@gnu.org>
661         * files.el (find-file-literally): Doc fix.
663         * simple.el (rfc822-goto-eoh): Give it a doc-string.
665         * log-edit.el (log-edit-insert-changelog):
666         Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
668 2011-02-19  Glenn Morris  <rgm@gnu.org>
670         * dired-x.el: Don't require dired-aux.
671         (dired-do-create-files, dired-mark-read-regexp)
672         (dired-do-create-files-regexp): Autoload from dired-aux.
674         * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
675         * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
677         * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
678         * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
680         * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
681         * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
682         (dired-clean-up-buffers-too): Declare.
684         * dired-x.el (dired-initial-position): Merge into dired.el's version.
685         * dired.el (dired-initial-position): Merge dired-x's version here.
686         (dired-find-subdir): Declare.
688         * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
689         * dired-aux.el (dired-add-entry): Give it a doc-string.
690         Merge dired-x's dired-omit handling here.
691         (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
693         * international/mule-diag.el (list-input-methods-1):
694         Indent all lines of multi-line doc-strings.  (Bug#8066)
696 2011-02-18  Chong Yidong  <cyd@stupidchicken.com>
698         Fix 2011-02-02 changes.
700         * apropos.el (apropos-print): Call apropos-mode before setting up
701         buffer variables.  Use inhibit-read-only.
703         * emacs-lisp/package.el (package--list-packages):
704         Call package-menu-mode before setting up buffer variables.
706         * play/solitaire.el (solitaire): Call solitaire-mode before
707         setting up buffer variables.  Use inhibit-read-only.
709 2011-02-18  Lawrence Mitchell  <wence@gmx.li>
711         * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
712         Bind case-fold-search to nil when looking for end of here-doc.
714 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
716         * image-mode.el (image-toggle-display-image):
717         Set find-file-literally non-nil in buffers visiting binary image
718         files.  (Bug#8047)
720 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
722         * files.el (cd): Make completion obey cd-path (bug#7924).
724 2011-02-18  Glenn Morris  <rgm@gnu.org>
726         * progmodes/prolog.el: Don't require compile when compiling.
727         (compilation-shell-minor-mode, compilation-error-regexp-alist)
728         (compilation-forget-errors, compilation-fake-loc)
729         (compilation-parse-errors-function, compilation-error-list): Declare.
730         (prolog-inferior-mode): Require 'compile.
732         * emulation/cua-base.el (pc-selection-mode): Declare.
734         * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
735         (customize-object): Add autoload cookie.
736         * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
737         (eieio-browse, describe-class, eieio-describe-class)
738         (eieio-describe-constructor, describe-generic, eieio-describe-generic)
739         (eieio-help-mode-augmentation-maybee): Add autoload cookies.
740         * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
741         * Makefile.in (autoloads): Make eieio.el writable.
743         * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
744         (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
745         (dired-hack-local-variables): Use inhibit-read-only.
746         (dired-guess-default): Simplify.
747         (dired-make-relative-symlink): Use dotimes.
748         (dired-simultaneous-find-file): Use dolist.
749         (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
750         (dired-x-hands-off-my-keys): Doc fix.
751         (dired-x-bind-find-file): Doc fix.  Use remapping.
752         (after-init-hook): No need to add dired-x-bind-find-file.
753         (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
754         No need to call expand-file-name.
755         (dired-filename-at-point): Remove unused locals `end', `filename'.
757 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
759         * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
761 2011-02-18  Christian Ohler  <ohler@gnu.org>
763         * emacs-lisp/ert.el (ert--setup-results-buffer)
764         (ert-results-pop-to-backtrace-for-test-at-point)
765         (ert-results-pop-to-messages-for-test-at-point)
766         (ert-results-pop-to-should-forms-for-test-at-point)
767         (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
768         were incorrect and unnecessary.  This should make `make check'
769         pass again.
771 2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
773         * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
774         (allout-widgets-icons-dark-subdir): Track relocations of icons
775         * lisp/allout.el: Remove commentary about remove encryption
776         passphrase mnemonic support and verification.
777         (allout-encrypt-string): Recognize epg failure to decrypt gpg2
778         armored text using gpg1, and indicate that the gpg version *might*
779         be the problem in the error message.
781 2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
783         * net/rcirc.el (rcirc-float-time): New function.
784         (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
785         (rcirc-ctcp-sender-PING): Use it.
787 2011-02-17  Glenn Morris  <rgm@gnu.org>
789         * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
790         (speedbar-update-flag, speedbar-fetch-etags-command)
791         (speedbar-fetch-etags-arguments):
792         * term.el (term-buffer-maximum-size, term-input-chunk-size)
793         (term-completion-autolist, term-completion-addsuffix)
794         (term-completion-recexact, term-completion-fignore):
795         * term/sup-mouse.el (sup-mouse-fast-select-window):
796         * term/x-win.el (x-select-request-type):
797         Convert some defvars with "*" to defcustoms.
799         * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
801         * vc/vc.el (vc-default-previous-version):
802         Remove alias that points nowhere.  (Bug#4496)
804         * dired-x.el (dired-clean-up-after-deletion):
805         kill-buffer does not need save-excursion.
806         (dired-do-run-mail): Doc fix.
807         (dired-filename-at-point): Doc fix.
808         Use looking-at, and skip-chars rather than re search.
810         * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
812 2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
814         * allout-widgets.el: New allout extension that shows allout
815         outline structure with graphical widgets.  'allout-widgets'
816         customize group is an 'allout' subgroup, for easy discovery.
818         * allout.el: Include PGP and GnuPG in Keywords, and other
819         commentary refinements.
820         (allout-abbreviate-flattened-numbering): Rename to
821         allout-flattened-numbering-abbreviation, and
822         define-obsolete-variable-alias the old name.
823         (allout-flattened-numbering-abbreviation): Rename from
824         allout-abbreviate-flattened-numbering.
825         (allout-mode-p): Include among autoloads, for use by other modes
826         with impunity.
827         (allout-listify-exposed):
828         Use allout-flattened-numbering-abbreviation.
829         (allout-encrypt-string): Use set-buffer-multibyte directly.
830         (allout-set-buffer-multibyte): Remove.
832 2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
834         * simple.el (just-one-space): Remove useless `or' call.
836 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
838         * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
839         (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
840         (soap-decoded-multi-refs, soap-current-wsdl)
841         (soap-encoded-namespaces): Rename CL-style *...* variables.
843 2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
845         * net/soap-client.el: Add "comm" and "hypermedia" to the
846         keywords.  Reflow too long lines.
848         * net/soap-inspect.el: Ditto.  Require 'cl.
850 2011-02-16  Bastien Guerry  <bzg@altern.org>
852         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
853         in a `doctor-type' argument.
855 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
857         * net/soap-client.el:
858         * net/soap-inspect.el: New files.
860 2011-02-16  Leo  <sdl.web@gmail.com>
862         * dired-x.el (dired-mode-map, dired-extra-startup):
863         Remove dired-copy-filename-as-kill since it's already in dired.el.
865 2011-02-16  Glenn Morris  <rgm@gnu.org>
867         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
868         Doc fixes.  Add :set property, replacing top-level calls.
869         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
870         (dired-guess-shell-gnutar): Test tar version rather than system-type.
871         (dired-extra-startup, dired-man, dired-info): Doc fixes.
872         (dired-clean-up-after-deletion): Use when and dolist.
873         (dired-jump): Use unless and when.
874         (dired-virtual): Use line-end-position.
875         (dired-default-directory-alist): Rename from default-directory-alist.
876         (dired-default-directory): Update for above name change.
877         (dired-vm): Drop VM < 5 and simplify.
878         (dired-buffer-more-recently-used-p): Rewrite.
879         (dired-filename-at-point): Use when and or.
880         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
881         Update callers.
883 2011-02-15  Glenn Morris  <rgm@gnu.org>
885         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
887 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
889         * vc/vc-git.el (vc-git-root-log-format): New option for
890         customizing log format.
891         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
892         (vc-git-log-view-mode): Use it.
893         (vc-git-expanded-log-entry): New function.
894         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
896         * vc/vc-hg.el (vc-hg-root-log-template): New option for
897         customizing log format.
898         (vc-hg-print-log): Use it.
899         (vc-hg-expanded-log-entry): New function.
900         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
901         vc-hg-expanded-log-entry.  Truncate lines in root log.
903         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
905         * vc/log-view.el (log-view-mode-menu):
906         Add log-view-toggle-entry-display.
908 2011-02-14  Glenn Morris  <rgm@gnu.org>
910         * dired-x.el: Don't require man when compiling.
911         (dired-omit-extensions, dired-local-variables-file)
912         (dired-x-hands-off-my-keys): Make them defcustoms.
913         (Man-support-local-filenames, Man-getpage-in-background): Declare.
914         (vm-visit-folder): Declare rather than defining.
915         (dired-x-help-address, dired-x-variable-list): Remove.
916         (dired-x-submit-report): Make it an obsolete alias.
918 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
920         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
922 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
924         * net/imap.el: Bring it back.
926 2011-02-13  Alan Mackenzie  <acm@muc.de>
928         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
929         narrow-to-region call that cuts context off the end (Bug#7722).
931         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
932         Refactor nested if-forms with a simple cond.
933         (c-forward-<>-arglist): Revert 2011-01-31 change.
935 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
937         * vc/log-view.el: New command log-view-toggle-entry-display for
938         toggling log entries between concise and detailed forms.
939         (log-view-toggle-entry-display): New command.
940         (log-view-mode-map): Bind RET to it.
941         (log-view-expanded-log-entry-function): New variable.
942         (log-view-current-entry, log-view-inside-comment-p)
943         (log-view-current-tag): New functions.
944         (log-view-toggle-mark-entry): Use log-view-current-entry and
945         log-view-end-of-defun instead of searching directly with
946         log-view-message-re.
947         (log-view-end-of-defun): Likewise.  Add optional ARG for
948         compatibility with end-of-defun.
949         (log-view-end-of-defun): Ignore comments and VC buttons.
951         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
952         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
954 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
956         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
958         * net/imap-hash.el: Remove file.
960 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
962         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
964         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
965         call.
967         * net/tramp-imap.el: Remove file.
969 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
971         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
972         widget library for buttons, just use button.el.
974         * vc/log-view.el (log-view-mode-map): Don't inherit from
975         widget-keymap.
977 2011-02-12  Glenn Morris  <rgm@gnu.org>
979         * emacs-lisp/cl-seq.el (union, nunion, intersection)
980         (nintersection, set-difference, nset-difference)
981         (set-exclusive-or, nset-exclusive-or): Doc fix.
983         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
985         * faces.el (face-attr-match-p): Handle the obsolete :bold and
986         :italic props, so that frame-set-background-mode works.  (Bug#7966)
988         * simple.el (next-error): Doc fix.
990 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
992         * dired-aux.el (dired-create-files): Adapt destination name to
993         match the new behavior of copy-directory.
995 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
997         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
998         from rmail-dont-reply-to-names.  Callers changed.
999         (mail-dont-reply-to): Rename from mail-dont-reply-to.
1000         (rmail-dont-reply-to): Make it an obsolete alias.
1002         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1003         nil, and make obsolete (Bug#7888).
1004         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1006         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1008         * mail/rmailsort.el (rmail-sort-by-correspondent)
1009         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
1011         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1013 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1015         * files.el (copy-directory): New argument COPY-CONTENTS for
1016         copying directory contents into another existing directory.
1018 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
1020         * minibuffer.el (completion-table-case-fold): New function for
1021         creating a case-insensitive completion table.
1023 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
1025         * net/tramp.el (tramp-default-method): Also check if
1026         `auth-source-search' is bound.
1027         (tramp-read-passwd): Use `auth-source-search' instead of
1028         `auto-source-user-or-password'.
1030         * net/tramp-imap.el: Autoload `auto-source-search' instead of
1031         `auto-source-user-or-password.
1032         (tramp-imap-passphrase-callback-function): Use it.
1034         * net/imap-hash.el: Autoload `auto-source-search' instead of
1035         `auto-source-user-or-password.
1036         (imap-hash-open-connection): Use it.
1038         * mail/smtpmail.el: Autoload `auto-source-search' instead of
1039         `auto-source-user-or-password.
1040         (smtpmail-try-auth-methods): Use it.
1042 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
1044         * emacs-lisp/package.el: Allow packages to be reinstalled.
1045         (package--write-file-no-coding): Remove EXCL arg.
1046         (package-unpack-single): Don't use it.
1048 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
1050         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1051         in each sub directory.
1052         (vc-svn-registered): Use vc-svn-root.
1053         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
1054         (vc-svn-repository-hostname): Use "svn info".
1056 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1058         * simple.el (delete-trailing-whitespace): New optional buffer
1059         bound parameters.
1061 2011-02-11  Bastien Guerry  <bzg@altern.org>
1063         * files.el (basic-save-buffer): save unmodified buffers when
1064         the file pointed by buffer-file-name doesn't exist.
1066 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1068         * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1070 2011-02-11  Glenn Morris  <rgm@gnu.org>
1072         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1074 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
1076         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1078 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1080         * server.el (server-process-filter): Use pcase.
1082         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1083         conflicting ways.
1084         (smie-indent--parent): Extend to "parent of arg".
1085         (smie-indent-inside-string): New function.
1086         (smie-indent-functions): Use it.
1088         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1089         bzr locking race condition.
1091         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1092         still valid before using it.
1094         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1095         `message' -> `compilation-message' rename (bug#8004).
1097         Move keymap initialization into declaration.
1098         * textmodes/enriched.el (enriched-mode-map):
1099         * textmodes/bib-mode.el (bib-mode-map):
1100         * term/lk201.el (lk201-function-map):
1101         * tar-mode.el (tar-mode-map):
1102         * replace.el (occur-mode-map):
1103         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1104         * progmodes/idlw-help.el (idlwave-help-mode-map):
1105         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1106         * play/solitaire.el (solitaire-mode-map):
1107         * play/snake.el (snake-mode-map, snake-null-map):
1108         * play/pong.el (pong-mode-map):
1109         * play/handwrite.el (menu-bar-handwrite-map):
1110         * play/gametree.el (gametree-mode-map):
1111         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1112         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1113         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1114         (newsticker--url-keymap):
1115         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1116         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1117         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1118         (menu-bar-edit-menu, menu-bar-custom-menu)
1119         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1120         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1121         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1122         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1123         (menu-bar-tools-menu, menu-bar-describe-menu)
1124         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1125         (menu-bar-help-menu):
1126         * mail/rmailsum.el (rmail-summary-mode-map):
1127         * kmacro.el (kmacro-step-edit-map):
1128         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1129         (ibuffer-mode-operate-map):
1130         * hi-lock.el (hi-lock-menu, hi-lock-map):
1131         * emulation/vip.el (vip-mode-map):
1132         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1133         * bookmark.el (bookmark-bmenu-mode-map):
1134         * help-mode.el (help-mode-map): Move initialization into declaration.
1136 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1138         * net/rcirc.el: Add PRIVMSG and CTCP functions.
1139         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1140         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1141         (rcirc-cmd-me, rcirc-authenticate): Use them.
1143 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
1145         * allout.el: Synopsis: Change allout user configuration so
1146         auto-activation is controlled solely by customization
1147         `allout-auto-activation'.
1149         (allout-auto-activation-helper, allout-setup): New autoloads
1150         implement new custom set procedure for allout-auto-activation.
1151         Also, explicitly invoke
1152         (allout-setup) after allout-auto-activation is custom-defined, to
1153         effect the settings in emacs sessions besides the few where
1154         allout-auto-activation customization is donea.
1155         (allout-auto-activation): Use allout-auto-activation-helper to
1156         :set.  Revise the docstring.
1157         (allout-init): Reduce functionality to just customizing
1158         allout-auto-activation, and mark obsolete.
1159         (allout-mode): Respect string values for allout-auto-activation.
1160         Run allout-after-copy-or-kill-hook without any args.
1161         (allout-mode, allout-layout, allout-default-layout)
1162         (outlineify-sticky): Adjust docstring for new scheme.
1163         (allout-after-copy-or-kill-hook): No arguments - hook implementers
1164         should concentrate on the kill ring.
1166 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
1168         * password-cache.el (password-cache-remove): Accept secrets that are
1169         not strings.
1171 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1173         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1174         of here-doc that immediately follows a comment.
1176 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1178         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1180         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1181         available.
1182         (rcirc-ctcp-sender-PING): New function.
1184 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1186         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1187         Remove the mark/nomark handling, and activate shift-select-mode instead.
1189         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1191 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
1193         * calc/calc-units.el (math-logunits-quant): Add support for
1194         non-logarithmic units.
1196 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
1198         * allout.el (allout-after-copy-or-kill-hook): New hook for
1199         extension-specific processing of killed text.
1200         (allout-mode): Include new allout-after-copy-or-kill-hook among
1201         mentioned hooks.
1202         (allout-kill-line, allout-kill-topic): Ensure that processing
1203         after kill happens even if barf-if-buffer-read-only is raised.
1204         Include new allout-after-copy-or-kill-hook among that subsequent
1205         processing.
1206         (allout-deannotate-hidden): Actually remove the annotation text
1207         properties.
1209         * allout.el (allout-listify-exposed): Copy text sans text properties.
1211 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
1213         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1215 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1217         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1219 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
1221         * calc/calc.el (calc-logunits-field-reference): Rename from
1222         `calc-default-field-reference-level'.
1223         (calc-logunits-power-reference): Rename from
1224         `calc-default-power-reference-level'.
1226         * calc/calc-units.el (math-logunits-quant): Rename from
1227         `math-logunits-level'
1228         (math-logunits-plus): Rename from math-logcombine.
1229         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1230         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1231         (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1232         New functions.
1233         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1234         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1235         (calc-logunits-quantity): Rename from `calc-level'.
1236         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1237         (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1238         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1239         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1240         (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1241         New functions.
1243         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1244         (calc-ul-prefix-help): Remove.
1245         (calc-l-prefix-help): New function.
1246         (calc-full-help): Add reference to `calc-l-prefix-help'.
1248         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1250         * calc/README: Mention logarithmic units.
1252 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
1254         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1255         non-ASCII characters (Bug#7925).
1257 2011-02-05  Glenn Morris  <rgm@gnu.org>
1259         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1261         * calendar/diary-lib.el (diary-font-lock-keywords):
1262         Tweak diary-time-regexp match.  (Bug#7891)
1264         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
1265         (f90-mode): Use it for mode's `find-tag-default-function' property.
1267         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
1269         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
1271 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1273         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1274         (Bug#6386).
1276 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1278         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1279         font-lock-syntax-table remappings.
1280         (sh-here-doc-markers, sh-here-doc-re): Remove.
1281         (sh-font-lock-close-heredoc): Remove.
1282         (sh-syntax-propertize-here-doc): New function.
1283         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1284         instead of the sh-here-doc-re.
1285         (sh-font-lock-paren): Don't do anything in comments or strings.
1286         Handle line continuations.  Accept a few more chars.
1287         Don't rely on the font-lock-syntax-table remappings.
1288         `esac' is not a valid pattern.
1289         (sh-syntax-propertize-function): Handle here-docs differently, so we
1290         don't bother syntax-propertizing the insides.
1292         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1293         Handle new bashisms ";&" and ";;&" (bug#7947).
1295 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
1297         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1298         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1300 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
1302         * net/tramp.el (tramp-postfix-method-format)
1303         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1304         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1305         (tramp-postfix-user-regexp, tramp-prefix-port-format)
1306         (tramp-prefix-port-regexp, tramp-postfix-host-format)
1307         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1308         Doc fix.
1310 2011-02-04  Sam Steingold  <sds@gnu.org>
1312         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1314 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
1316         * international/mule-util.el (with-coding-priority): Doc fix.
1318 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1320         * arc-mode.el (archive-mode-map): Fix a typo in last change.
1322 2011-02-03  Sam Steingold  <sds@gnu.org>
1324         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1325         Do not error out when `func' is nil.
1327 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
1329         * net/tramp-sh.el (tramp-remote-path): Add default settings for
1330         `tramp-default-remote-path' to the docstring.
1331         (tramp-get-remote-path): Suppress error message when `getconf
1332         PATH' fails.
1334         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1336 2011-02-03  Glenn Morris  <rgm@gnu.org>
1338         * vc/vc-hg.el (vc-hg-command): Doc fix.
1340         * term/w32-win.el (libpng-version): Declare for compiler.
1342         * msb.el: No need to load dired while compiling.
1344         * emacs-lisp/elint.el (elint-standard-variables):
1345         Remove a couple of built-ins that now have doc-strings.
1347         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1348         `require' is automatically `eval-and-compile'd.
1350         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1351         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1353         * strokes.el (strokes-fill-current-buffer-with-whitespace):
1354         Move definition before use.
1355         (strokes-report-bug): Make it obsolete.
1357 2011-02-02  Sam Steingold  <sds@gnu.org>
1359         * apropos.el (apropos-print): Now that `apropos-mode' inherits
1360         from `special-mode', entering it makes the buffer read-only, so
1361         call it only when everything has been already inserted.
1362         * emacs-lisp/ert.el (ert--setup-results-buffer)
1363         (ert-results-pop-to-backtrace-for-test-at-point)
1364         (ert-results-pop-to-messages-for-test-at-point)
1365         (ert-results-pop-to-timings): Ditto.
1366         * emacs-lisp/package.el (package--list-packages): Ditto.
1367         * play/solitaire.el (solitaire): Ditto.
1369 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
1371         * progmodes/compile.el: Make all faces inherit.
1372         (compilation-warning): Inherit from font-lock-variable-name-face.
1373         (compilation-info): Inherit from font-lock-type-face.
1374         (compilation-line-number): Reassign to font-lock-keyword-face.
1375         (compilation-column-number): Reassign to font-lock-doc-face.
1376         (compilation-leave-directory-face): Reassign to
1377         font-lock-builtin-face.
1379 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
1381         * dired.el (dired-insert-directory): Don't invoke `ls' when
1382         ls-lisp.el is used to emulate it.
1384 2011-02-01  Julien Danjou  <julien@danjou.info>
1386         * color.el (color-gradient): Add a color-gradient function.
1388 2011-02-01  Sam Steingold  <sds@gnu.org>
1390         * simple.el (special-mode-map): Bind "h" to `describe-mode';
1391         bind "z" to `kill-this-buffer'.
1392         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1393         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1394         (apropos-mode): Inherit from `special-mode'.
1395         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1396         * bookmark.el (bookmark-bmenu-mode): Define using
1397         `define-derived-mode' inheriting from `special-mode'.
1398         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1399         * image-mode.el (image-mode-map): Ditto.
1400         * replace.el (occur-mode): Define using
1401         `define-derived-mode' inheriting from `special-mode'.
1402         * tar-mode.el (tar-mode): Inherit from `special-mode'.
1403         * calendar/diary-lib.el (diary-fancy-display-mode):
1404         Inherit from `special-mode-map'.
1405         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1406         Inherit from `special-mode'.
1407         * emacs-lisp/package.el (package-menu-mode-map): Copy from
1408         `special-mode-map'.
1409         (package-menu-mode): Define using `define-derived-mode'
1410         inheriting from `special-mode'.
1411         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1412         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1413         (xesam-mode-map): Define separately.
1414         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1415         * progmodes/compile.el (compilation-minor-mode-map)
1416         (compilation-mode-map): Inherit from `special-mode-map'.
1417         * vc/diff-mode.el (diff-mode-shared-map):
1418         Inherit from `special-mode-map'.
1419         * vc/log-view.el (log-view-mode-map): Add a comment.
1421 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
1423         * custom.el (load-theme): Define return value.  Drop use of
1424         unsafep; call custom-theme-load-confirm for non-known-safe themes.
1425         (custom-theme-load-confirm): Scroll in the correct window.
1426         (custom-enabled-themes): Add custom-safe-themes to :set-after.
1428         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1429         checkbox if load-theme fails.
1431 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1433         * progmodes/compile.el (compilation-next-error): Check there's
1434         a message before using it (bug#7941).
1436 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
1438         * calc/calc-mtx.el (math-lud-pivot-check): New function.
1439         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1440         of potential pivots.
1442 2011-01-31  Alan Mackenzie  <acm@muc.de>
1444         * progmodes/cc-cmds.el (c-forward-over-illiterals):
1445         Continue parsing if we encounter a naked # (Bug#7595).
1446         (c-beginning-of-statement): Avoid loop in locating the beginning
1447         of a macro.  (Not actually committed until 2011-02-20, see above).
1449 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1451         * files.el (copy-directory): Fix arguments to recursive call.
1453 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1455         * files.el (copy-directory): If destination is an existing
1456         directory, copy into a subdirectory there.
1458 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
1460         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1461         files.
1463 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1465         * image-dired.el (image-dired-mouse-display-image): No-op if no
1466         file is found (Bug#7817).
1468         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1470 2011-01-31  Kenichi Handa  <handa@m17n.org>
1472         * international/quail.el (quail-keyboard-layout-alist):
1473         Remove superfluous SPC for "pc105-uk" (bug#7927).
1475 2011-01-31  Glenn Morris  <rgm@gnu.org>
1477         * msb.el (msb-menu-bar-update-buffers): Update for changed
1478         argument handling of menu-bar-select-frame.  (Bug#7902)
1480 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1482         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1483         to the recursion depth (Bug#7722).
1485 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
1487         * term/ns-win.el (ns-find-file): Expand ns-input-file with
1488         command-line-default-directory (Bug#7872).
1490 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1492         * progmodes/compile.el (compilation--flush-directory-cache):
1493         New function, extracted from compilation--remove-properties.
1494         (compilation--remove-properties, compilation--parse-region): Use it.
1495         (compilation--previous-directory): Handle one more case.
1496         (compilation-enable-debug-messages): Remove.
1497         (compilation-parse-errors, compilation--flush-parse): Just remove the
1498         left over debug messages.
1500 2011-01-31  Sam Steingold  <sds@gnu.org>
1502         * progmodes/compile.el (compilation-enable-debug-messages):
1503         Add a variable to make the parsing messages introduced in
1504         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1505         (compilation-parse-errors, compilation--flush-parse): Use it.
1507 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1509         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
1510         (rcirc-nick-completion-format): New defcustom.
1511         (rcirc-complete): Use it.
1513 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1515         * net/rcirc.el: Clean log filenames (Bug#7933).
1516         (rcirc-log-write): Use convert-standard-filename.
1517         (rcirc-log-filename-function): Documentation updates.
1519 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
1521         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1522         Check report-emacs-bug-can-use-osx-open and use that if t.
1523         (report-emacs-bug-can-use-osx-open): New function.
1524         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1525         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1527 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1529         * vc/vc-dispatcher.el (vc-set-async-update): New function for
1530         updating Dired or VC-dir buffers after async command completes.
1532         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1533         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1535         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1536         completions if it exists.  Use vc-set-async-update.
1537         (vc-git-pull): Use vc-set-async-update.
1539         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1540         read-shell-command.  Use vc-set-async-update.
1541         (vc-hg-merge-branch): Use vc-set-async-update.
1543 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
1545         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1546         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1547         (Bug#7931).
1549 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1551         * progmodes/compile.el: Avoid an N² behavior in grep.
1552         (compilation--previous-directory): New fun.
1553         (compilation--previous-directory-cache): New var.
1554         (compilation--remove-properties): Flush it.
1555         (compilation-directory-properties, compilation-error-properties):
1556         Use the new fun to speed up looking for the current directory.
1558 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1560         * vc/vc-hg.el (vc-hg-history): New var.
1561         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1562         (vc-hg-merge-branch): New function.
1564         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1565         the other way around.
1567         * vc/vc-git.el (vc-git-branches, vc-git-pull)
1568         (vc-git-merge-branch): New functions.
1569         (vc-git-history): New var.
1571 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1573         * vc/vc-dispatcher.el (vc-do-async-command): New function.
1575         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1576         vc-do-async-command.
1578         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1579         Callers changed.
1581 2011-01-28  Leo  <sdl.web@gmail.com>
1583         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1584         highlighting to the "this function is advised" message.
1586         * help-mode.el (help-mode-finish): Apply highlighting here, to
1587         avoid clobbering by substitute-command-keys (Bug#6304).
1589 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1591         * woman.el (woman0-roff-buffer): Process roff escape sequences
1592         occurring prior to the first request (Bug#7843).
1594 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1596         * progmodes/compile.el: Don't use font-lock any more.
1597         (compilation-error-regexp-alist-alist): Change handling of makepp
1598         so it preserves the warning/error distinction on subsequent files.
1599         Simplify various rules.
1600         (compilation-directory-properties): Use font-lock-face.
1601         Add a compilation-message property.
1602         (compilation-internal-error-properties): Use font-lock-face.
1603         Don't set the compilation-debug property here.
1604         (compilation--put-prop, compilation--remove-properties)
1605         (compilation--parse-region, compilation--ensure-parse)
1606         (compilation--ensure-parse): New functions.
1607         (compilation-parse-errors): New function, largely inspired of
1608         compilation-mode-font-lock-keywords.  Set compilation-debug here.
1609         (compilation--parsed): New var.
1610         (compilation--flush-parse): Use compilation--ensure-parse.
1611         (compilation-start): Don't call font-lock.
1612         (compilation-turn-on-font-lock): Remove.
1613         (compilation-setup): Don't set font-lock-extra-managed-props not change
1614         other font-lock settings, other than keywords.
1615         Don't activate font-lock-mode.
1616         Set change-major-mode-hook and before-change-functions.
1617         (compilation--unsetup): Remove properties and hooks.
1618         (compilation-next-single-property-change): New function.
1619         (compilation-next-error): Use it to parse when needed.
1620         (compile-goto-error): Parse buffer as needed.
1621         (compilation--compat-error-properties): Don't need a dummy `face'
1622         property any more.
1624 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1626         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1627         (compilation-process-setup-function): Fix docstring's false promises.
1628         (compilation-error-regexp-alist-alist): Catch omake's continuous
1629         recompilation message and avoid reuse of old markers.
1630         (compilation-parse-errors-function): Declare obsolete.
1631         (compilation-buffer-modtime): Remove.
1632         (compilation--make-cdrloc, compilation--loc->col)
1633         (compilation--loc->line, compilation--loc->file-struct)
1634         (compilation--loc->marker, compilation--loc->visited)
1635         (compilation--make-file-struct, compilation--file-struct->file-spec)
1636         (compilation--file-struct->formats)
1637         (compilation--file-struct->loc-tree): New macros.  Use them.
1638         (compilation--message): New defstruct.  Use them.
1639         (compilation-next-error-function): Don't mess with timestamps to try
1640         and guess when to reparse.
1642 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1644         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1645         (tex-old-error-file-name): New function,
1646         extracted from tex-compilation-parse-errors.
1647         (tex-compilation-parse-errors): Remove.
1648         (tex-error-regexp-alist): New var.
1649         (tex-shell): Use it to avoid compilation-parse-errors-function.
1651         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1652         (grep-mode-font-lock-keywords): Remove regexp that seems like
1653         a left-over from before we used compile.el.
1654         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1655         modifying the buffer within with-silent-modifications.
1657         * progmodes/compile.el: Cleanup text-properties namespace by using
1658         `compilation-message' instead of `message', `compilation-directory'
1659         instead of `directory', and `compilation-debug' instead of `debug'.
1660         (compilation-last-buffer, compilation-parsing-end)
1661         (compilation-error-list, compilation-old-error-list): Move to the
1662         compatibility part of the code.
1663         (compilation-error-properties): If `file' is a function, let it return
1664         a file name.
1665         (compilation-mode-font-lock-keywords): Be more conservative with the
1666         omake "^ *" pattern prefix, to try and minimize the risk of
1667         pathologically slow regexp matching.
1668         (compilation-start): Use inhibit-read-only.
1669         (compilation--unsetup): New function.
1670         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1671         (compilation-filter): Minor tweaks.
1672         (compilation-next-error-function): Try and avoid abusing variables.
1673         (compilation--flush-file-structure): New fun.
1674         (compilation-fake-loc): Use it to improve behavior when file is reused.
1675         (debug-ignored-errors): Add "Moved past last ...".
1676         (compilation--compat-error-properties)
1677         (compilation--compat-parse-errors): Rename by doubling the "-".
1679         Port features from the previous prolog.el to the new one.
1680         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1681         (prolog-program-name, prolog-program-switches, prolog-consult-string)
1682         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1683         variable and use a function to compute the value dynamically.
1684         (prolog-prompt-regexp): Add regexp for GNU Prolog.
1685         (prolog-continued-prompt-regexp): Remove, unused.
1686         (prolog-find-value-by-system): Try and use the value of prolog-system
1687         in the *prolog* buffer if it helps.
1688         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1689         (prolog-zip-on): ..and check prolog-system and version here instead.
1690         (prolog-inferior-self-insert-command): New command.
1691         (prolog-inferior-mode-map): Use it.
1692         (prolog-inferior-error-regexp-alist): New var.
1693         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1694         (prolog-input-filter): Use derived-mode-p.
1695         (prolog-inferior-guess-flavor): New function.
1696         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
1697         make-comint to avoid running comint-mode twice.
1698         (prolog-inferior-buffer): New fun.
1699         (prolog-old-process-region, prolog-old-process-file):
1700         Don't call prolog-bsts here...
1701         (prolog-build-prolog-command): ...do it here instead.
1702         (prolog-old-process-region, prolog-old-process-file):
1703         Use compilation-fake-loc and compilation-forget-errors.
1704         (prolog-consult-compile-region): Use bolp.
1706 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1708         * image-mode.el (image-display-size): Doc fix (Bug#7820).
1710 2011-01-27  Sam Steingold  <sds@gnu.org>
1712         * midnight.el (clean-buffer-list-kill-never-buffer-names):
1713         Remove "*server*" which is never created by emacs server.
1715 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1717         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1718         there are some diff switches.
1720 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1722         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1723         Copy change made to ruby-font-lock-syntactic-keywords.
1725         * htmlfontify.el: Make it obey the font-lock-face text property.
1726         Miscellaneous cleanup such as:
1727         - Don't hide expressions after a closing paren.
1728         - Move initial setq into let.
1729         - Hoist common parts out of ifs.
1730         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1731         (hfy-face-at): Use get-text-property instead.
1732         (hfy-prop-invisible-p): Use invisible-p if available.
1733         (htmlfontify-manual): Use \\[...].
1734         (hfy-html-quote-regex): Use [...].
1735         (hfy-combined-face-spec): Simplify.
1736         (hfy-compile-face-map): Don't presume point-min==1.
1737         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1738         match end of string.
1739         (hfy-text-p): η-reduce.
1740         (hfy-tags-for-file): Receive cache-hash directly.
1741         (hfy-mark-tag-names): Adjust call.
1743 2011-01-27  Glenn Morris  <rgm@gnu.org>
1745         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1746         (msb-after-load-hook): Remove eval-after-load wackiness.
1748 2011-01-25  Sam Steingold  <sds@gnu.org>
1750         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1751         literal "diff" (important for windows-nt).
1753 2011-01-25  Glenn Morris  <rgm@gnu.org>
1755         * emacs-lisp/copyright.el (copyright-at-end-flag)
1756         (copyright-names-regexp): Add safety properties.
1757         (copyright-year-ranges): New option.
1758         (copyright-find-end): New function, split from copyright-update-year.
1759         (copyright-update-year): Use copyright-find-end.
1760         (copyright-fix-years): Optionally, convert years to ranges.
1761         Handle years continued over comment lines.
1762         Do not mess with the fill-prefix.
1763         Do not call copyright-update.
1764         (copyright-update-directory): Optionally, fix years rather than update.
1765         Skip directories.  Find files with only safe local vars.
1767 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1769         * files.el (file-name-non-special): Only change buffer-file-name after
1770         insert-file-contents if it's `visit'ing the file (bug#7854).
1772 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
1774         * dired.el (dired-revert): Doc fix (Bug#7758).
1776         * simple.el (line-move-visual): Doc fix (Bug#7594).
1778 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1780         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1781         here-doc which ends with an underscore.
1782         (ruby-mode-set-encoding): Skip shebang line always.
1783         (ruby-mode-map): Bind C-c C-c to comment-region.
1784         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1785         (ruby-forward-sexp): Stop after literal hash key labels.
1786         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1787         bracket.
1789 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
1791         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1792         the correct buffer (Bug#7650).
1794 2011-01-25  Glenn Morris  <rgm@gnu.org>
1796         * comint.el (comint-mode): Doc fix.  (Bug#7897)
1798         * simple.el (do-auto-fill): Give it a doc string.
1800         * button.el (make-text-button): Doc fix.  (See bug#7881)
1802 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1804         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1805         Don't move backward, so as not to fall in an inf-loop (bug#7736).
1807         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1808         Handle ?" and friends differently (e.g. don't use backrefs).
1810 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
1812         * calc/calc.el (calc-default-power-reference-level)
1813         (calc-default-field-reference-level): New variables.
1814         * calc/calc-units.el (math-standard-units): Add dB and Np.
1815         (math-logunits): New variable.
1816         (math-extract-logunits, math-logcombine, calcFunc-luplus)
1817         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1818         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1819         New functions.
1820         (math-find-base-units-rec): Add entry for ln(10).
1821         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1822         (calc-ul-prefix-help): New function.
1823         * calc/calc-ext.el (calc-init-extensions): Autoload new units
1824         functions.  Add keybindings for new units functions.
1826 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
1828         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1829         rcirc buffers.  (Bug#4940)
1831 2011-01-22  Glenn Morris  <rgm@gnu.org>
1833         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1834         split out from copyright-update-year.
1835         (copyright-update): Don't mess with the GPL version if we don't own the
1836         copyright.  Update license regexp, and remove no longer needed
1837         Esperanto stuff.
1838         (copyright-fix-years): Use copyright-find-copyright.
1840 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1842         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1844 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1846         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1847         (lm): Rename to landmark.
1848         (lm-test-run): Rename to landmark-test-run.
1850 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1852         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1853         "Case sensitive" menu item.
1855 2011-01-22  Roland McGrath  <roland@frob.com>
1857         * comint.el (comint-replace-by-expanded-history-before-point): Fix
1858         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1860 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1862         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1864 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1866         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1867         Assume foo(bar) is a manpage reference rather than some unquoted
1868         symbol (bug#7705).
1870 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1872         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1873         Suggested by Flo <sensorflo@gmail.com>.
1875 2011-01-22  Glenn Morris  <rgm@gnu.org>
1877         * progmodes/compile.el (compilation-error-regexp-alist):
1878         Fix custom type.  (Bug#7812)
1880 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
1882         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1883         allout-number-siblings, in keeping with what obtained due to
1884         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
1885         (prefixed) ?i.
1886         (allout-before-change-handler): Better expose spots affected by
1887         undo.
1889 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1891         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1893 2011-01-22  Phil Hagelberg  <phil@evri.com>
1895         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1896         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1897         (pcmpl-ssh-config-hosts): New function.
1898         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1899         pcmpl-ssh-known-hosts.
1901 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1903         * calc/calc-undo.el (calc-undo): Autoload it.
1904         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1905         and autoload for `calc-undo'.
1906         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1907         * calc/calc-prog.el:
1908         * calc/calc-graph.el:
1909         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1911 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
1913         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1914         keybindings to `calc-undo'.
1916 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1918         Don't mess with *temp*.
1919         * obsolete/spell.el: Move from textmodes/spell.el.
1920         (spell-string):
1921         * term.el (term-read-input-ring):
1922         * startup.el (display-startup-echo-area-message):
1923         * progmodes/antlr-mode.el (antlr-directory-dependencies):
1924         * comint.el (comint-read-input-ring): Use with-temp-buffer.
1925         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1926         point-min==1.
1928 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
1930         * allout.el (allout-institute-keymap): Use fset instead of
1931         reapplying defalias.
1933         (allout-hotspot-key-handler): Check for non-control-modified
1934         bindings for hotspot characters if there are no control-modified
1935         versions.
1937         * allout.el: Summary - migrate to defining allout mode using
1938         define-minor-mode instead of defun.  Significantly clean-up
1939         internal keymap provisions, refactoring and, in the process,
1940         removing a lot of accumulated cruft.
1942         allout-mode-map is now a keymap by virtue of being a defalias to
1943         allout-mode-map-value, which contains the actual keymap structure.
1945         (allout-mode): Use define-minor-mode rather than defun.
1946         Remove now-unnecessary minor-mode setup activities from the body.
1947         Specify :keymap as allout-mode-map so the minor-mode-map-alist
1948         entry will be '(allout-mode . allout-mode-map) - see
1949         allout-mode-map-value, below.  Adjust docstring to track changes.
1950         (allout-minor-mode): Remove this defalias, now that we're using
1951         define-minor-mode.
1952         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
1953         keymap is allout-mode-map-value, via defalias.
1954         (allout-mode-map-value): The variable holding the actual mode
1955         keymap structure, by virtue of defalias from allout-mode-map.
1956         (allout-compose-and-institute-keymap): Rename from
1957         allout-bind-keys, and including the binding-composition
1958         functionality of the former produce-allout-mode-map and
1959         allout-setup-mode-map.
1960         (allout-institute-keymap): Take over the "setup" part of the former
1961         allout-setup-mode-map.  Reassign allout-mode-map-value value and
1962         update the defalias.
1963         (allout-command-prefix, allout-prefixed-keybindings)
1964         (allout-unprefixed-keybindings):
1965         Use allout-compose-and-institute-keymap to process the bindings.
1966         (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
1967         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1968         user can customize if they want to use that binding.
1969         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1970         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
1971         elided that, previously, instead of the one for \C-h.)
1972         (allout-hotspot-key-handler): Remove attempt to resolve the key
1973         through the literal key-string lookup on allout-keybindings-list.
1974         That probably hasn't worked for a Long Time, and removal of
1975         allout-keybindings-list further simplifies the keybindings situation.
1976         (allout-pre-command-business): Use allout-mode-map-value instead
1977         of allout-mode-map.
1978         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
1979         the bindings if they want to use a keybinding having a trailing
1980         \C-h.  No deprecation needed since this feature was never in a release.
1981         (allout-keybindings-list): Remove.  It's not been useful for a
1982         while.  (See allout-hotspot-key-handler changes, above.)
1983         (produce-allout-mode-map): Remove.  Consolidate into
1984         allout-compose-and-institute-keymap.
1985         (allout-mode-map-adjustments): Remove.  No longer necessary with
1986         removal of allout-preempt-trailing-ctrl-h.
1987         (allout-setup-mode-map): Remove.  Consolidate into
1988         allout-compose-and-institute-keymap and allout-institute-keymap.
1990 2011-01-20  Glenn Morris  <rgm@gnu.org>
1992         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1994         * simple.el (read-expression-history): Remove, it's in minibuf.c.
1996 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
1998         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2000         * files.el (find-alternate-file, basic-save-buffer)
2001         (basic-save-buffer-2, revert-buffer, recover-file)
2002         (kill-buffer-ask, abort-if-file-too-large)
2003         (set-visited-file-name, write-file, backup-buffer)
2004         (basic-save-buffer, save-some-buffers):
2005         * dired-aux.el (dired-compress-file): Callers changed.
2007 2011-01-19  Glenn Morris  <rgm@gnu.org>
2009         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2010         Also check the property status.  (Bug#7861)
2012 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
2014         * net/tramp.el (tramp-debug-message): Extend function exclude
2015         list.  Use `regexp-opt'.
2017 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2019         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2020         highlighting doesn't spill over subsequent lines.
2022         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2023         keymap expression.  Improve docstring.
2025         * electric.el (electric-indent-post-self-insert-function):
2026         Don't auto-indent for indent-to-left-margin, it's too often
2027         counter-productive.
2029 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
2031         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2032         spaces if the frame was resized, so that the full visible buffer
2033         serves as canvas for strokes.
2035 2011-01-16  Glenn Morris  <rgm@gnu.org>
2037         * info-xref.el (info-xref-docstrings): Replace cl function.
2038         Also skip directories.
2040 2011-01-16  Kevin Ryde  <user42@zip.com.au>
2042         * info-xref.el: Version 3.
2043         (info-xref-check, info-xref-check-all): Move commentary details
2044         into docstrings for better visibility.
2045         Use compilation-mode for the results buffer.
2046         (info-xref-output, info-xref-output-error, info-xref-with-output)
2047         (info-xref-filename, info-xref-in-progress):
2048         New internals for this.
2049         (info-xref-check-list, info-xref-check-buffer)
2050         (info-xref-check-all-custom): Use those.
2051         (info-xref-output-buffer): Rename from info-xref-results-buffer.
2052         (info-xref-output-heading): Rename from info-xref-filename-heading.
2053         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2054         (info-xref-filename-heading): Move to output managing section.
2055         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2056         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2057         (info-xref-subfile-p): Move to generic section with those two.
2058         (info-xref-check-node): New function split from
2059         info-xref-check-buffer, shared by info-xref-docstrings.
2060         (info-xref-goto-node-p): Move to a checking section with that func.
2061         (info-xref-unavail): New counter.
2062         (info-xref-check-node): Use it.
2063         (info-xref-with-output): Show count of unavailables at end of output.
2064         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
2065         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
2066         (info-xref-check-all-custom): Fix quietening viper-mode and
2067         gnus-registry-install -- use setq not let so as not to unbind
2068         after load.
2070 2011-01-16  Juri Linkov  <juri@jurta.org>
2072         * isearch.el (isearch-abort): Don't quit if search has
2073         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
2075 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
2077         * files.el (backup-buffer): Make last-resort backup file in
2078         .emacs.d (Bug#6953).
2080         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2081         make it with permission 700.
2083 2011-01-15  Kenichi Handa  <handa@m17n.org>
2085         * mail/rmailmm.el (rmail-mime-insert-header):
2086         Set rmail-mime-coding-system to a cons whose car is the last coding
2087         system used to decode the header.
2088         (rmail-mime-find-header-encoding): New function.
2089         (rmail-mime-insert-decoded-text):
2090         Override rmail-mime-coding-system if it is a cons.
2091         (rmail-show-mime): If only a header part was decoded, find the
2092         coding system while ignoring mm-charset-override-alist.
2094 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
2096         * subr.el (event-start, event-end): Doc fix (Bug#7826).
2098 2011-01-15  Kenichi Handa  <handa@m17n.org>
2100         * mail/rmailmm.el (rmail-mime-next-item)
2101         (rmail-mime-previous-item): Delete them.
2102         (rmail-mime-shown-mode): Recursively call for children.
2103         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2104         Callers changed.
2105         (rmail-mime-raw-mode): Recursively call for children.
2106         (rmail-mode-map): Change mapping of tab and backtab to
2107         forward-button and backward-button respectively.
2108         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2109         button.
2110         (rmail-mime-update-tagline): New function.
2111         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2112         body display is changed.
2113         (rmail-mime-toggle-button): Rename from rmail-mime-image.
2114         (rmail-mime-image): Delete this button type.
2115         (rmail-mime-toggle): New button type.
2116         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2117         body display is changed.  Change the save button label to "Save".
2118         Don't process show/hide button here.
2119         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2120         the body display is changed.  Unconditionally call
2121         rmail-mime-insert for children.
2122         (rmail-mime-handle): Update `display' vector of the just inserted
2123         entity.
2124         (rmail-mime-process): If mail-header-parse-content-type returns
2125         nil, use "text/plain" as the fallback type.
2126         (rmail-mime-insert): For raw-mode, recursively call
2127         rmail-mim-insert for children.
2128         (rmail-mime): Handle the case that the current buffer is not rmail
2129         buffer (e.g. in summary buffer).
2131 2011-01-15  Kenichi Handa  <handa@m17n.org>
2133         * mail/rmailmm.el (rmail-mime-next-item)
2134         (rmail-mime-previous-item): Skip the body of a non-multipart
2135         entity if a tagline is shown.
2137 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2139         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2140         (tmm-prompt): Simplify.
2141         (tmm-add-prompt): Remove unused var `win'.
2143         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2144         to minor mode which used nil accidentally to mean "turn off".
2146 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2148         * net/tramp-sh.el (tramp-find-inline-compress)
2149         (tramp-get-inline-coding): Quote command after pipe symbol for
2150         local calls under W32.  (Bug#6784)
2152 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2154         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2155         only when running under W32.
2157 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2159         * progmodes/grep.el (grep-compute-defaults): Quote the program
2160         file name after the pipe symbol in Grep templates.  (Bug#6784)
2161         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2163 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
2165         * buff-menu.el (Buffer-menu-buffer-list): New var.
2166         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2167         restricted buffer list is not lost on revert (Bug#7749).
2169 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
2171         * net/ldap.el (ldap-search-internal): Discard stderr output.
2173 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2175         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
2177 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2179         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2181 2011-01-15  Kenichi Handa  <handa@m17n.org>
2183         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2184         part as a plain text.
2185         (rmail-mime-process-multipart): Set the default content-type to
2186         nil for unknown multipart subtypes (bug#7651).
2188 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2190         * hexl.el (hexl-mode-old-*): Remove.
2191         (hexl-mode--old-var-vals): New var to replace them.
2192         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2193         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2194         Use them to set local vars (bug#7846).
2195         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2196         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2197         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2199         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2200         (smerge-resolve--normalize-re): New var.
2201         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2202         (smerge-resolve): Use them.
2203         * newcomment.el (comment-only-p): New function.
2204         (comment-or-uncomment-region): Use it.
2206 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
2208         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2209         table, get the value before switching to the output buffer.  (Bug#7733)
2211 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2213         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2215 2011-01-14  Kim F. Storm  <storm@cua.dk>
2217         * emulation/cua-base.el (cua--init-keymaps):
2218         Remap exchange-point-and-mark in cua-global-keymap.
2220 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
2222         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2223         loop keyword.
2225 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2227         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2228         Require CL.
2229         (easy-menu-create-menu, easy-menu-convert-item-1):
2230         Use :label rather than nil for labels.  Use `case'.
2231         Add :enable as alias for :active.
2232         (easy-menu-binding): Obey :label.
2234 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2236         Use run-mode-hooks for major mode hooks (bug#513).
2237         * textmodes/reftex-toc.el (reftex-toc-mode-map):
2238         Rename from reftex-toc-map.
2239         (reftex-toc-mode): Use define-derived-mode.
2240         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2241         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2242         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
2243         (reftex-select-label-mode, reftex-select-bib-mode):
2244         Use define-derived-mode.
2245         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2246         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2247         Move init into delcaration.
2248         (reftex-index-mode, reftex-index-phrases-mode):
2249         Use define-derived-mode.
2250         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2251         speedbar-syntax-table.  Move init into declaration.
2252         (speedbar-mode-map): Rename from speedbar-key-map.
2253         Move init into declaration.
2254         (speedbar-file-key-map): Move init into declaration.
2255         (speedbar-mode): Use define-derived-mode.
2256         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2257         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2258         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2259         (chart-face-list): Move initialization into declaration.
2260         (chart-mode): Use define-derived-mode.
2261         * calculator.el (calculator-mode-map): Move init into declaration.
2262         (calculator-mode): Use define-derived-mode.
2264         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2265         work for nested comments.
2267         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
2268         (prolog-use-prolog-tokenizer-flag): Change default when
2269         syntax-propertize can be used.
2270         (prolog-syntax-propertize-function): New var.
2271         (prolog-mode-variables): Move make-local-variable into `set'.
2272         Don't make comment-column local since we don't set it.
2273         Set comment-add (as it was in previous prolog.el).  Use dolist.
2274         Set syntax-propertize-function.
2275         (prolog-mode, prolog-inferior-mode):
2276         Call prolog(-inferior)-menu directly, not through the mode-hook.
2277         (prolog-buffer-module, prolog-indent-level)
2278         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2279         (prolog-comment-limits, prolog-goto-comment-column):
2280         Use line-(end|beginning)-position.
2281         (prolog-build-prolog-command): Tighten up regexp.
2282         (prolog-consult-compile): Move make-local-variable into `set'.
2283         (prolog-consult-compile-filter, prolog-goto-next-paren)
2284         (prolog-help-on-predicate, prolog-clause-info)
2285         (prolog-mark-predicate): Don't let+setq.
2286         (prolog-indent-line): Use indent-line-to.
2287         Only call prolog-goto-comment-column if necessary.
2288         (prolog-indent-level): Use bobp.
2289         (prolog-first-pos-on-line): Remove, not used any more.
2290         (prolog-in-string-or-comment): Use syntax-ppss if available.
2291         (prolog-help-on-predicate): Use read-string.
2292         (prolog-goto-predicate-info): Simplify.
2293         (prolog-read-predicate): Use `default' rather than `initial'.
2294         (prolog-temporary-file): Use make-temp-file to close a security hole.
2295         (prolog-toggle-sicstus-sd): New command.
2296         (prolog-electric-underscore, prolog-variables-to-anonymous):
2297         Use dynamic-scoping as it was meant.
2298         (prolog-menu): Move menu definitions to top-level.
2299         Use a toggle-button for Sicstus's source debugger.
2300         Change "Code" to the more usual "Prolog", and hence change "Prolog"
2301         to "System".
2302         (prolog-inferior-menu): Reuse prolog-menu's help menu.
2303         Move other menu definition to top-level.
2305 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2307         * doc-view.el (doc-view-open-text): Use meaningful text buffer
2308         name.  Keep original document's directory as default-directory
2309         (bug#6446).
2310         (doc-view-initiate-display): Fall back to normal mode when
2311         doc-view-mode cannot be enabled, also when extracting the document
2312         text into a separate buffer (bug#6446).
2314         * simple.el (shell-command): Don't error out if shell command
2315         buffer contains text with non-nil read-only property when erasing
2316         the buffer.
2318 2011-01-13  Kim F. Storm  <storm@cua.dk>
2320         * ido.el (ido-may-cache-directory): Move "too-big" check later.
2321         (ido-next-match, ido-prev-match): Fix stray reordering of matching
2322         items when cycling through the matches.
2324 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2326         * dired-x.el (dired-omit-verbose): New defcustom that allows
2327         disabling the omit messages.
2328         (dired-omit-expunge): Use it.
2330 2011-01-13  Christian Ohler  <ohler@gnu.org>
2332         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2334 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2336         * font-lock.el (font-lock-verbose): Default to nil.
2338 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2340         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2341         (compose-mail): New arg RETURN-ACTION.
2342         (compose-mail-other-window, compose-mail-other-frame): Likewise.
2344         * mail/sendmail.el (mail-return-action): New var.
2345         (mail-mode): Make it buffer-local.
2346         (mail-bury): Obey it.  Move special Rmail window handling to
2347         rmail-mail-return.
2348         (mail, mail-setup): New arg RETURN-ACTION.
2349         (sendmail-user-agent-compose): Move from simple.el.
2351         * mail/rmail.el (rmail-mail-return): New function.
2352         (rmail-start-mail): Pass it to compose-mail.
2354 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
2356         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2357         menus.  Add menu item for customize-themes.
2359         * cus-theme.el (customize-themes):
2360         * emacs-lisp/package.el (package--list-packages):
2361         Use switch-to-buffer.
2363 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
2365         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2367 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2369         * progmodes/prolog.el: Fix up coding convention and such.
2370         (prolog-indent-width): Use the same default as in
2371         previous prolog.el rather than tab-width which depends on which buffer
2372         is current when the file is loaded.
2373         (prolog-electric-newline-flag): Only enable if electric-indent-mode
2374         is not available.
2375         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
2376         (prolog-known-systems): Remove.
2377         (prolog-mode-syntax-table, prolog-inferior-mode-map):
2378         Move initialization into declaration.
2379         (prolog-mode-map): Move initialization into declaration.
2380         Remove system-specific mode-map vars, since they referred to the same
2381         keymap anyway.
2382         (prolog-mode-variables): Obey the user's preference w.r.t
2383         adaptive-fill-mode.  Prefer symbol-value to `eval'.
2384         (prolog-mode-keybindings-edit): Add compatibility bindings.
2385         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
2386         (mercury-mode-map): New var.
2387         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2388         (prolog-ensure-process, prolog-process-insert-string)
2389         (prolog-consult-compile): Use with-current-buffer.
2390         (prolog-guess-fill-prefix): Simplify data flow.
2391         (prolog-replace-in-string): New function to use instead of
2392         replace-in-string.
2393         (prolog-enable-sicstus-sd): Don't abuse `eval'.
2394         (prolog-uncomment-region): Use `uncomment-region' when available.
2395         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2396         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2397         of int-to-char and char-to-int.
2398         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2400 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
2402         * progmodes/prolog.el: Replace by a whole new file.
2404 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2406         * subr.el (eval-after-load): Fix timing for features (bug#7769).
2407         (declare-function, undefined, insert-for-yank)
2408         (replace-regexp-in-string): Follow checkdoc's recommendations.
2410 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2412         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2413         refreshing the diary buffer.
2415 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
2417         * allout.el: Add 2011 to the file copyright.
2418         (allout-encrypt-string): Prevent encryption from adding an extra
2419         newline at the end of the topic body.
2420         (allout-version): Increment to 2.3.
2422 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
2424         * net/dbus.el (dbus-unregister-service): Complete doc.
2425         Fix call of dbus-error signal.
2426         (dbus-register-property): Use `dont-register' keyword.
2428 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2430         * net/dbus.el (dbus-unregister-service): Translate returned
2431         integer into a symbol.
2432         (dbus-register-property): Use `dbus-register-service' to do the
2433         name registration.
2435 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2437         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2438         Suggested by Joakim Verona.
2440         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2442         * wid-edit.el (visibility): Replace :on-image and :off-image
2443         widget properties with :on-glyph and :off-glyph, for consistency
2444         with the `visibility' widget.
2445         (widget-toggle-value-create, widget-visibility-value-create):
2446         Merge into a single function `widget-toggle-value-create'.
2448         * cus-edit.el (custom-variable-value-create, custom-visibility)
2449         (custom-face-edit-value-create, custom-face-value-create):
2450         Replace :on-image and :off-image widget properties with :on-glyph and
2451         :off-glyph, for consistency with the `visibility' widget.
2453 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
2455         * net/ldap.el (ldap-search-internal): Don't use eval.
2457 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2459         * subr.el (read-char-choice): Use read-key.
2461         * custom.el (custom-safe-themes): Rename from
2462         custom-safe-theme-files.  Add :risky tag.
2463         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2464         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
2466 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2468         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
2469         from Search and add a label to Undo.
2471         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2472         inappropriate buttons and adding :vert-only tags.
2474         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2475         removal of Help tool-bar button.  Remove Undo button for space.
2477         * info.el (info-tool-bar-map): Add :vert-only tags.
2479 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
2481         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2482         image backend support.  Either of them is fine.
2484 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
2486         * subr.el (y-or-n-p): Doc fix.
2488         * custom.el (custom-safe-theme-files): New defcustom.
2489         (custom-theme-load-confirm): New function.
2490         (load-theme): Load theme using `load', confirming with
2491         custom-theme-load-confirm if necessary.
2493         * subr.el (read-char-choice): New function, factored out from
2494         dired-query and hack-local-variables-confirm.
2496         * dired-aux.el (dired-query):
2497         * files.el (hack-local-variables-confirm): Use it.
2499         * dired-aux.el (dired-compress-file):
2500         * files.el (abort-if-file-too-large, find-alternate-file)
2501         (set-visited-file-name, write-file, backup-buffer)
2502         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2503         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2504         Use new format string args for y-or-n-p and yes-or-no-p.
2506 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
2508         * progmodes/compile.el (compilation-error-regexp-alist-alist)
2509         [gcc-include]: Tighten file name match, add match for column
2510         number.  (Bug#7806)
2511         [gnu]: Remove unused group.
2513 2011-01-08  Glenn Morris  <rgm@gnu.org>
2515         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2517         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2519 2011-01-07  Sam Steingold  <sds@gnu.org>
2521         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2522         the `explicit-shell-file-name' because that is the
2523         non-interactive shell.
2525 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
2527         * subr.el (y-or-n-p): Accept format string args.
2529 2011-01-07  Glenn Morris  <rgm@gnu.org>
2531         * Makefile.in (EMACSOPT): Add --no-site-lisp.
2533 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
2535         * allout.el (allout-back-to-current-heading): Ensure return to
2536         the visible containing topic, rather than a collapsed one.
2537         (allout-view-change-hook): Remove hook that was deprecated long ago.
2538         (allout-exposure-change-hook): Remove documentation remarks
2539         concerning removed allout-view-change-hook.
2540         (allout-flag-region): Remove invocation of and documentation
2541         remarks concerning allout-view-change-hook.
2543 2011-01-06  Glenn Morris  <rgm@gnu.org>
2545         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2546         (vc-bzr-annotate-extract-revision-at-line):
2547         Handle authors with embedded spaces.  (Bug#7792)
2549 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
2551         * doc-view.el (doc-view-image-width): New variable.
2552         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2553         backend for PNG images, and do dynamic rescaling instead of
2554         reconverting the whole doc.
2556 2011-01-05  Glenn Morris  <rgm@gnu.org>
2558         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2560 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
2562         * allout.el: Reconcile with changes in line movement behavior for
2563         long text lines that cross more than a single physical window
2564         line, ie when truncate-lines is nil.
2565         (allout-next-visible-heading): Provide for change in line-move
2566         behavior on long lines when truncate-lines is nil.  In that case,
2567         line-move can wind up on the same textual line when it moves to
2568         the next window line, and moving to the bullet position after the
2569         move yields zero advancement.  Add logic to detect and compensate
2570         for the lack of progress.
2571         (allout-current-topic-collapsed-p): move-end-of-line respect for
2572         field boundaries is different when operating with body lines
2573         shorter than window width versus ones greater than window width,
2574         which can yield false negatives in this function.  Avoid
2575         difference by applying move-end-of-line while field-text-motion is
2576         inhibited.
2578 2011-01-04  Glenn Morris  <rgm@gnu.org>
2580         * textmodes/rst.el (rst-compile-toolsets):
2581         Add pdf and s5 to option alist.
2583 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2585         * net/dbus.el (dbus-register-property): Add optional parameter
2586         dont-register-service.  Updated docstring accordingly.
2588 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2590         * textmodes/rst.el (rst-compile-pdf-preview)
2591         (rst-compile-slides-preview): Remove extra line.
2593 2011-01-04  Glenn Morris  <rgm@gnu.org>
2595         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2596         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
2597         default to `prog' without a .py extension.
2598         (rst-compile-pdf-preview, rst-compile-slides-preview):
2599         Use program names from rst-compile-toolsets, rather than hard-coding.
2600         (rst-portable-mark-active-p): Fix presumed typo.
2602 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2604         * term/w32-win.el (dynamic-library-alist): Set up correctly for
2605         libpng versions both before and after 1.4.0.  (Bug#7716)
2607 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2609         * time.el (display-time-mode): Mention display-time-interval in
2610         the doc string.  (Bug#7713)
2612 2011-01-02  Kenichi Handa  <handa@m17n.org>
2614         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2615         condition-case and return an error message string if something
2616         goes wrong.
2617         (rmail-show-mime): Adjust for the above change.  Insert the
2618         header by rmail-mime-insert-header.
2620 2011-01-02  Kenichi Handa  <handa@m17n.org>
2622         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2623         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2624         (rmail-mime-mbox-buffer)
2625         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2626         (rmail-mime-entity): Argument changed.  All codes handling an
2627         entity object are changed.
2628         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2629         the above change.
2630         (rmail-mime-entity-children, rmail-mime-entity-handler)
2631         (rmail-mime-entity-tagline): New functions.
2632         (rmail-mime-message-p): New function.
2633         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2634         (rmail-mime-entity-segment, rmail-mime-next-item)
2635         (rmail-mime-previous-item, rmail-mime-shown-mode)
2636         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2637         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2638         (rmail-mime-insert-tagline, rmail-mime-insert-header):
2639         New functions.
2640         (rmail-mime-text-handler): Call rmail-mime-insert-text.
2641         (rmail-mime-insert-decoded-text): New function.
2642         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2643         (rmail-mime-insert-image): Argument changed.  Caller changed.
2644         (rmail-mime-image): Call rmail-mime-toggle-hidden.
2645         (rmail-mime-set-bulk-data): New function.
2646         (rmail-mime-insert-bulk): Argument changed.
2647         (rmail-mime-multipart-handler): Return t.
2648         (rmail-mime-process-multipart): Argument changed.
2649         Handle "multipart/alternative" here.
2650         (rmail-mime-process): Argument changed.
2651         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2652         (rmail-mime-insert): Argument changed.  Handle raw display mode.
2653         (rmail-mime): Argument changed.  Handle toggling of raw display
2654         mode.
2655         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2656         rmail-mime-view-buffer.
2657         (rmail-insert-mime-forwarded-message): Likewise.
2658         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
2660         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2661         non-nil, handle the header in rmail-show-mime-function.
2663 2011-01-02  Leo  <sdl.web@gmail.com>
2665         * help-fns.el (describe-variable): Fix previous change.
2667 2011-01-02  Juri Linkov  <juri@jurta.org>
2669         * isearch.el (isearch-lazy-highlight-error): New variable.
2670         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2671         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
2672         to the current value of `isearch-error' (Bug#7468).
2674 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2676         * help-fns.el (describe-variable): Don't emit trailing whitespace
2677         (Bug#7511).
2679 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2681         * textmodes/rst.el (rst-compile-pdf-preview)
2682         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2684 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
2686         * emulation/edt-mapper.el: Override mapping of function keys so
2687         that the later call to read-key-sequence works.
2689 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2691         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2692         Unix EOLs.  (Bug#7589)
2694 2011-01-02  Leo  <sdl.web@gmail.com>
2696         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2697         if point is not behind eshell-last-output-end (Bug#7585).
2699 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2701         * files.el (file-local-variables-alist):
2702         Make permanent-local (bug#7767).
2704 2011-01-02  Glenn Morris  <rgm@gnu.org>
2706         * version.el (emacs-copyright): Set short copyright year to 2011.
2708 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2710         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2711         an existing temp buffer.  (Bug#7746)
2713 2011-01-02  Glenn Morris  <rgm@gnu.org>
2715         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2716         multiple addresses.  (Bug#7760)
2718 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
2720         * allout.el (allout-auto-fill): Do not infinitely recurse - use
2721         do-auto-fill if everything points back to allout-auto-fill.
2722         (allout-mode-deactivate-hook): Declare obsolete, in favor of
2723         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2725 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
2727         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2728         and "scpx".
2730 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2732         * doc-view.el (doc-view-set-doc-type): New function refactored
2733         from doc-view-mode.
2734         (doc-view-fallback-mode): New function.
2735         (doc-view-mode): Use it.
2736         (doc-view-mode-maybe): New function that checks if doc-view-mode
2737         can be used and falls back to the next best mode otherwise.
2739         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2740         DVI, OpenDocument, and MS Office files.
2742 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
2744         * emacs-lisp/rx.el (rx-syntax): Fix typo.
2746 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2748         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2749         on a copy of auto-mode-alist, because that deletes with side
2750         effects.
2752 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2754         * doc-view.el (doc-view-mode, doc-view-toggle-display):
2755         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2756         fallback instead of hard coding fundamental mode.
2758 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2760         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2761         Office) files also for searching.
2763 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2765         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2766         Office) files.  Not yet enabled via auto-mode-list.
2767         (doc-view-unoconv-program): New custom variable.
2768         (doc-view-mode-p): Handle new odf document type.
2769         (doc-view-odf->pdf): New conversion function.
2770         (doc-view-convert-current-doc): Call it for odf files.
2771         (doc-view-mode): Recognize newly supported file extensions.
2773 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
2775         * net/tramp.el (tramp-default-method-alist)
2776         (tramp-default-user-alist)
2777         (tramp-local-host-regexp, tramp-prefix-domain-format)
2778         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2780         * net/tramp-ftp.el:
2781         * net/tramp-gvfs.el:
2782         * net/tramp-gw.el:
2783         * net/tramp-imap.el:
2784         * net/tramp-sh.el:
2785         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2786         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2788 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
2790         * saveplace.el (save-place-alist-to-file): Save list sorted and
2791         pretty-printed, so that it is mergeable by line-based text merging,
2792         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2794 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
2796         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2797         (allout-mode): Argument "toggle" => "force".
2798         Refine the docstring.
2799         Remove special provisions for reactivation, besides the 'force'
2800         argument.
2801         Consolidate layout provisions coce directly into the activation
2802         condition branch, now that we've removed those provisions.
2803         (allout-unload-function): Explicitly activate the mode before
2804         deactivating, if it's initially deactivated.
2805         (allout-set-buffer-multibyte): Properly prevent byte-compiler
2806         warnings for version of function used only where
2807         set-buffer-multibyte is unavailable.
2809 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
2811         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2812         are handled by the menu-bar entries.  As before, don't use
2813         :visibile to avoid changing the tool-bar.
2815 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2817         * net/secrets.el (secrets-delete-alias): New defun.
2819 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2821         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2822         methods, otherwise ~/.ssh/config would be ignored.
2824 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2826         * emacs-lisp/rx.el: Make it a superset of sregex.
2827         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2828         of args, add `regex' alias.
2829         (rx-info): Add arg to distinguish head and standalone forms.
2830         (rx-check, rx-form): Pass the corresponding arg.
2831         (rx-**): Simplify.
2832         (rx-repeat): Make it work for any number of args.
2833         (rx-syntax): Make it accept syntax chars as is.
2834         * obsolete/sregex.el: Move from emacs-lisp/.
2835         * emacs-lisp/re-builder.el: Remove sregex support.
2836         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2838 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
2840         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2841         PRIMARY first, then the clipboard.  (Bug#7699)
2843 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2845         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2846         print-number-table.
2848 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
2850         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2851         .emacs.elc (Bug#7530).
2853         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2854         image spec (Bug#7480).
2856 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
2858         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2859         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2860         Move from lisp/.
2862 2010-12-20  Leo  <sdl.web@gmail.com>
2864         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2865         always be performed (Bug#7680).
2867 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
2869         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2870         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
2871         mouse-region-match.
2873         * color.el: Move from gnus/.
2875         * vc/diff.el (diff-better-file-name): Function deleted.
2876         abbreviating file names causes problems with shell-quote-argument.
2877         (diff-no-select): Just use expand-file-name.
2879         * tool-bar.el (tool-bar--image-expression): New function.
2880         (tool-bar-local-item, tool-bar--image-exp): Use it.
2881         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2882         Use :enable instead of :visible to avoid changing the tool-bar
2883         configuration unnecessarily.
2885         * info.el (info-tool-bar-map): Add separators.
2887 2010-12-17  Ken Brown  <kbrown@cornell.edu>
2889         * loadup.el: Use version numbers in Cygwin build.
2891 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
2893         * ido.el (ido-file-internal): Ask for confirmation before
2894         overwriting an existing file (Bug#1238).
2896 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
2898         * tool-bar.el (tool-bar-setup): Add separators.
2900         * menu-bar.el (featurep): Use menu-bar-separator.
2902 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
2904         Migrate allout encryption provisions from pgg to epg.
2906         * allout.el (allout-toggle-current-subtree-encryption)
2907         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2908         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
2909         for simpler universal argument interpretation.
2910         (allout-toggle-subtree-encryption): Adjust docstring to describe
2911         changed encryption provisions.  Change fetch-pass to keymode-cue, for
2912         simpler universal argument interpretation.  Remove provisions for
2913         handling key type and identity - they'll all be within
2914         allout-encrypt-string or epg/epg or even contained all the way in gpg.
2915         (allout-encrypt-string): Include keymode-cue, for optionally prompting
2916         for keypair recipients (universal argument > 1) and, in addition,
2917         associating the specified recipients with the outline (universal
2918         argument > 4) using a file local variable setting for
2919         'epa-file-encrypt-to'.
2920         Require epa, for recipients handling.
2921         Change how regexp filtering elements are named.
2922         Describe the problem with caching of incorrect symmetric-decryption
2923         keys.
2924         Use the epa-passphrase-callback-function, in case the user is using
2925         GnuPG v1.
2926         Support saving of the selected keypair recipients when invoked with a
2927         keymode-cue > 4.
2928         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2929         Require 'epa.
2930         Establish epg-context with armoring and default epg-protocol.
2931         Remove all passphrase cache, verification, and hinting code.
2932         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2933         No longer used, delete.
2934         (allout-mode): Adjust docstring to describe changed encryption
2935         provisions.  Describe the problem with caching of incorrect
2936         symmetric-decryption keys.
2937         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2938         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2939         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2940         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2941         Obsolete, remove.
2943 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
2945         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2946         key selection prompt; make 'silent as default (Bug#7487).
2948 2010-12-16  Leo  <sdl.web@gmail.com>
2950         * eshell/eshell.el (eshell-directory-name):
2951         Use locate-user-emacs-file (Bug#7578).
2953 2010-12-15  Glenn Morris  <rgm@gnu.org>
2955         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2957 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
2958             Scott Evans  <gse@antisleep.com>
2960         * rect.el (rectange--default-line-number-format)
2961         (rectangle-number-line-callback): New functions.
2962         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2964 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
2966         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2967         Delete unused variables.
2968         (move-to-column-force): Remove function obsolete since 21.2.
2970 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
2972         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2973         (tramp-handle-insert-file-contents): Do not set permanent-local
2974         property.
2976         * net/tramp-cache.el (tramp-persistency-file-name):
2977         Use `locate-user-emacs-file' if fboundp.
2979         * net/tramp-sh.el (tramp-methods): Add "ksu".
2980         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
2981         method list.
2983 2010-12-14  Glenn Morris  <rgm@gnu.org>
2985         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2986         (find-tag-marker-ring): Declare.
2987         (js-find-symbol): Require etags.
2989         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2990         Require mail-utils.
2991         (mail-alias-file): Don't autoload.  Doc fix.
2992         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2993         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
2994         Mark as obsolete, and risky.
2995         (mail-setup): Simplify.
2997         * mail/mailalias.el (build-mail-aliases): Make it interactive.
2998         * mail/sendmail.el (build-mail-aliases): Update autoload.
3000         * dired.el (dired-trivial-filenames, dired-chown-program)
3001         (dired-auto-revert-buffer): Remove autoload cookies.
3002         * mail/sendmail.el (mail-recover-1): Require 'dired.
3004         * dired.el (dired-subdir-switches, dired-chown-program)
3005         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3006         Make into defcustoms.
3007         (dired-chown-program): Simplify initialization.
3009         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3011 2010-12-13  Romain Francoise  <romain@orebokech.com>
3013         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3015 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3017         * net/netrc.el (netrc-point-at-eol): Remove the unused
3018         netrc-point-at-old and netrc-bound-and-true-p bindings.
3019         (netrc-parse): Cache the netrc contents.
3021 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3023         * subr.el (posn-col-row): Evaluate header-line-format in the
3024         context of the POSITION window's buffer.
3026 2010-12-13  Glenn Morris  <rgm@gnu.org>
3028         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3029         (with-silent-modifications): Doc fixes.
3031 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3033         * net/tramp.el (tramp-action-password, tramp-process-actions):
3034         Revert previous from.  Use `save-restriction'.
3036 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
3038         * calendar/diary-lib.el (diary-list-sexp-entries):
3039         Handle case of no newline at end of file.  (Bug#7536)
3041 2010-12-13  Glenn Morris  <rgm@gnu.org>
3043         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3045 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3047         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3048         (tramp-process-actions): Do not widen.
3050         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3051         Protect buffer-modified value.  (Bug#7557)
3053 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
3055         * log-edit.el (log-edit-changelog-entries):
3056         Regexp quote filename.  (Bug#7505)
3058 2010-12-13  Tom Breton  <tehom@panix.com>
3060         * cus-edit.el (custom-save-all):
3061         Bind print-length and print-level to nil.  (Bug#7581)
3063 2010-12-13  Glenn Morris  <rgm@gnu.org>
3065         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3066         Run hooks to update menu contents.  (Bug#7586)
3068         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3069         file names, for the sake of MS Windows.  (Bug#7588)
3071 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3073         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3074         empty lines without a leading space.
3076 2010-12-13  Leo  <sdl.web@gmail.com>
3078         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3079         while mapping over marks (Bug#6810).
3081 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3083         * image-dired.el (image-dired-db-file)
3084         (image-dired-temp-image-file, image-dired-gallery-dir)
3085         (image-dired-temp-rotate-image-file): Set default values relative
3086         to image-dired-dir (Bug#7518).
3088 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
3090         * format.el (format-decode-run-method): Pass args FROM and TO, not
3091         point-min and point-max, to shell-command-on-region (Bug#7488).
3093 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
3095         * frame.el (blink-cursor-mode): Make default t for ns.
3097 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3099         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3101 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3103         * comint.el (comint-dynamic-list-input-ring)
3104         (comint-dynamic-complete-filename)
3105         (comint-replace-by-expanded-filename)
3106         (comint-dynamic-simple-complete)
3107         (comint-dynamic-list-filename-completions)
3108         (comint-dynamic-list-completions): Doc fix (Bug#7499).
3110         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3111         Doc fix (Bug#7471).
3113 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
3115         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3116         (Bug#7533).
3118 2010-12-13  W. Martin Borgert  <debacle@debian.org>  (tiny change)
3120         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3121         (Bug#7491).
3123 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3125         * files.el (file-relative-name): Handle UNC file names on
3126         DOS/Windows.  (Bug#4674)
3128 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
3130         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3131         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3132         (epg-context-set-passphrase-callback): Mention that the callback
3133         is not called when used with GnuPG 2.x.
3135 2010-12-13  Glenn Morris  <rgm@gnu.org>
3137         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3138         Ensure ps-footer-font-size-internal is initialized.
3139         Call ps-get-page-dimensions before trying to use ps-font-for-text.
3141 2010-12-13  Kenichi Handa  <handa@m17n.org>
3143         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3144         within condition-case.
3145         (rmail-show-mime): Don't use condition-case.
3146         (rmail-search-mime-message): New function.
3147         (rmail-search-mime-message-function): Set to
3148         rmail-search-mime-message.
3150 2010-12-13  Leo  <sdl.web@gmail.com>
3152         * ido.el (ido-common-initialization): New function.  (bug#3274)
3153         (ido-mode): Use it.
3154         (ido-completing-read): Call it.
3156 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
3158         * bookmark.el (bookmark-name-from-full-record): Rename back to
3159         this original name from `bookmark-name-from-record' reverting part
3160         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3161         As Drew Adams pointed out, there was no reason to cause churn for
3162         third-party callers.  (Bug#7609)
3164 2010-12-12  Alan Mackenzie  <acm@muc.de>
3166         * progmodes/cc-engine.el (c-forward-type): Before scanning a
3167         template arglist, check that the current language supports this.
3169 2010-12-11  Glenn Morris  <rgm@gnu.org>
3171         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3172         state of the file matches.  (Bug#7544)
3173         (vc-bzr-register, vc-bzr-checkin)
3174         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3175         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3177         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3179 2010-12-11  Karel Klíč  <kklic@redhat.com>
3181         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
3183 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3185         Derive from prog-mode, use derived-mode-p, and fix up various
3186         minor style issues in lisp/progmodes.
3188         * progmodes/vhdl-mode.el (vhdl-mode):
3189         * progmodes/verilog-mode.el (verilog-mode):
3190         * progmodes/vera-mode.el (vera-mode):
3191         * progmodes/sql.el (sql-mode):
3192         * progmodes/scheme.el (scheme-mode):
3193         * progmodes/perl-mode.el (perl-mode):
3194         * progmodes/octave-inf.el (inferior-octave-mode):
3195         * progmodes/autoconf.el (autoconf-mode):
3196         * progmodes/m4-mode.el (m4-mode):
3197         * progmodes/inf-lisp.el (inferior-lisp-mode):
3198         * progmodes/idlwave.el (idlwave-mode):
3199         * progmodes/icon.el (icon-mode):
3200         * progmodes/idlw-help.el (idlwave-help-mode):
3201         * progmodes/dcl-mode.el (dcl-mode):
3202         * progmodes/idlw-shell.el (idlwave-shell-mode):
3203         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3204         (ebrowse-member-mode, ebrowse-electric-position-mode):
3205         Use define-derived-mode.
3207         * progmodes/xscheme.el (exit-scheme-interaction-mode)
3208         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3209         (xscheme-debugger-mode-p, xscheme-send-string-1):
3210         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3211         (tcl-load-file, tcl-restart-with-file):
3212         * progmodes/ps-mode.el (ps-run-running):
3213         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3214         * progmodes/js.el (js--get-all-known-symbols):
3215         * progmodes/inf-lisp.el (inferior-lisp-proc):
3216         * progmodes/idlwave.el (idlwave-beginning-of-statement)
3217         (idlwave-template, idlwave-update-buffer-routine-info)
3218         (idlwave-update-current-buffer-info)
3219         (idlwave-get-routine-info-from-buffers, idlwave-choose)
3220         (idlwave-scan-class-info, idlwave-fix-keywords)
3221         (idlwave-list-buffer-load-path-shadows):
3222         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3223         (idlwave-toolbar-remove):
3224         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3225         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3226         (idlwave-shell-menu-def):
3227         * progmodes/idlw-complete-structtag.el
3228         (idlwave-prepare-structure-tag-completion):
3229         * progmodes/gud.el (gud-set-buffer):
3230         * progmodes/f90.el (f90-backslash-not-special):
3231         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3233         * progmodes/xscheme.el (xscheme-start)
3234         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3235         * progmodes/which-func.el (which-function):
3236         * progmodes/vhdl-mode.el (vhdl-set-style):
3237         * progmodes/verilog-mode.el (verilog-set-compile-command)
3238         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3239         (verilog-set-define, verilog-auto-reeval-locals):
3240         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3241         * progmodes/simula.el (simula-mode):
3242         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3243         * progmodes/python.el (python-check, python-mode):
3244         * progmodes/prolog.el (prolog-mode-variables):
3245         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3246         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3247         * progmodes/delphi.el (delphi-mode):
3248         * progmodes/cc-styles.el (c-setup-paragraph-variables):
3249         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3250         (c-font-lock-init): Move make-local-variable to their setq.
3252         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3253         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3254         make-local-hook.
3255         * progmodes/sh-script.el (sh-require-final-newline): Remove.
3256         (sh-set-shell): Don't set require-final-newline since it's already done
3257         by prog-mode.
3258         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3259         since we never set it.
3260         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3261         Use read-string and standard prompt.
3262         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3263         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3264         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3265         (meta-common-mode-map): Rename from meta-mode-map.
3266         Remove C-m binding, which is a user preference, not mode specific.
3267         (meta-common-mode): New major mode; replace meta-common-initialization.
3268         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3269         around with font-lock.
3270         * progmodes/etags.el (select-tags-table-mode):
3271         Derive from special-mode.
3272         * progmodes/octave-mod.el (octave-mode):
3273         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3274         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3275         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3276         Let define-derived-mode do its job.
3277         * progmodes/cpp.el (cpp-edit-mode-map):
3278         Move initialization into declaration.
3279         (cpp-edit-mode): Use define-derived-mode.
3280         (cpp-edit-load): Use derived-mode-p.
3281         * progmodes/mixal-mode.el (mixal-mode):
3282         * progmodes/f90.el (f90-mode):
3283         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3284         require-final-newline since prog-mode does it already.
3285         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3286         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3287         * progmodes/antlr-mode.el: Require cc-mode upfront.
3288         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3289         the declaration.
3290         (antlr-directory-dependencies, antlr-show-makefile-rules):
3291         Use derived-mode-p.
3292         (antlr-language-option): Don't assume point-min==1.
3293         (antlr-mode): Use define-derived-mode.
3294         * progmodes/ada-mode.el: Use derived-mode-p.
3295         (ada-mode): Use define-derived-mode.
3296         Use hack-local-variables-hook.
3298 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3300         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3301         (texinfo-mode): Don't disable adaptive-fill-mode.
3302         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3303         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3304         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3305         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3306         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3307         (texinfo-insert-@quotation, texinfo-insert-@samp)
3308         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3309         (texinfo-insert-@uref): Use define-skeleton.
3310         (texinfo-insert-@-with-arg): Delete.
3312 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
3314         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3315         nil, do quote archive member names.  (Bug#6144)
3317 2010-12-10  Glenn Morris  <rgm@gnu.org>
3319         * files.el (diff-no-select): Declare.
3321         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3322         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3324         * comint.el (comint-input-ring-file-name): Doc fix.
3326 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
3328         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3329         New functions.
3330         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3331         Use them instead of `nil' and `>', respectively.
3332         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3333         instead of `nil'.
3334         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3335         and menu-bar-positive-p instead of `nil' and `>', respectively.
3336         (Bug#1077)
3338 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3340         * whitespace.el (whitespace-newline-mode): Code fix.
3342 2010-12-09  Glenn Morris  <rgm@gnu.org>
3344         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3345         Rename functions without commas, update callers.
3347 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
3349         * whitespace.el (whitespace-cleanup-region):
3350         Clean up spaces before tabs.  (Bug#7582)
3352 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
3354         * bookmark.el: Adjust parameter names and doc strings to resolve
3355         confusion over whether "bookmark" meant a bookmark name or a
3356         bookmark record.  Along the way, shorten one function's name for
3357         similar reasons.  (Issue #7548)
3358         (bookmark-name-from-record): New name for
3359         `bookmark-name-from-full-record'.  All callers changed.
3360         (bookmark-get-bookmark, bookmark-get-bookmark-record)
3361         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3362         (bookmark-get-annotation, bookmark-set-annotation)
3363         (bookmark-get-filename, bookmark-set-filename)
3364         (bookmark-get-position, bookmark-set-position)
3365         (bookmark-get-front-context-string, bookmark-set-front-context-string)
3366         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3367         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3368         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3369         Rename `bookmark' parameter to `bookmark-name-or-record', to
3370         clearly show its role, and shorten or adjust doc strings accordingly.
3371         (bookmark-set-name): Same, and pass the parameter directly to
3372         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3373         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3374         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3375         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3376         and in some cases shorten doc string accordingly.
3377         (bookmark-rename): Change `old' and `new' parameters to `old-name'
3378         and `new-name', and adjust an internal variable to avoid confusion.
3379         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3380         parameter in doc string.
3382 2010-12-08  Glenn Morris  <rgm@gnu.org>
3384         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3385         from gdb's history file.  (Bug#7575)
3387         * mail/emacsbug.el (report-emacs-bug):
3388         Try to handle some other mail clients.
3390 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3392         * files.el (dir-locals-collect-variables): Don't let errors stop us.
3393         Use string-prefix-p.
3394         (file-name-version-regexp): New var.
3395         (file-name-sans-versions):
3396         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3397         (jka-compr-get-compression-info): Use dolist.
3398         (jka-compr-compression-info-list): Don't bother specifying
3399         version/backup regexps.
3401 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
3403         * simple.el (just-one-space): Make argument n default to 1 if
3404         omitted.
3406 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3408         * electric.el (electric-indent-post-self-insert-function):
3409         Delete trailing newlines even if we don't reindent.
3411 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3413         * minibuffer.el (completion-at-point): Remove the `arg'.
3414         * bindings.el (complete-symbol): Move back from minibuffer.el.
3416 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3418         * simple.el (just-one-space): Delete newlines for negative arg.
3420 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3422         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3423         (ansi-color-filter-apply): Simplify.
3424         (ansi-color-apply): Use `font-lock-face' rather than `face'.
3426 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3428         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3430 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
3432         * dired.el (dired-use-ls-dired): Set default to a special
3433         "unspecified" value.
3434         (dired-insert-directory): When called the first time, check
3435         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3437 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
3439         * replace.el: Add "collect" feature to occur.
3440         (occur-collect-regexp-history): New var.
3441         (occur-read-primary-args): Return a replace string for nlines,
3442         if needed.
3443         (occur): Extend the meaning of nlines.
3445 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3447         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3448         (which-func-update-1): Distinguish symbols from strings.
3449         (which-function): Stay within 80 columns.
3451 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3453         * subr.el (with-demoted-errors): Distinguish symbols from strings.
3455         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3456         Improve docstring.
3457         (comment-style): Use comment-styles's docs to describe values.
3459 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
3461         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3462         and ns-show-prefs (Bug#7535).
3464         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3465         bindings (Bug#7535).
3467 2010-12-03  Glenn Morris  <rgm@gnu.org>
3469         * nxml/nxml-mode.el: Require rng-nxml.
3470         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3471         Remove declarations.
3473         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3474         * nxml/rng-nxml.el, nxml/rng-valid.el:
3475         Remove leading `*' from defcustom docs.
3477         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3478         (normal-top-level-add-to-load-path, tty-handle-args):
3479         Convert comments to basic doc-strings.
3481         * net/browse-url.el (browse-url-url-at-point)
3482         (browse-url-default-browser): Remove autoload cookies.
3484         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3485         Remove more undefined cl functions.
3487         * vc/diff.el (diff-sentinel): Make new arguments optional.
3488         * ibuf-ext.el (diff-sentinel): Update declaration.
3490 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
3492         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3493         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3494         (epg-context-set-passphrase-callback): Mention that the callback
3495         is not called when used with GnuPG 2.x.
3497 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
3499         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3500         (tramp-file-name-port): Check also for `tramp-default-port'.
3501         (tramp-get-connection-name): New defun.
3502         (tramp-get-connection-process): Use it.
3503         (tramp-debug-message): Extend function exclude list.
3504         (tramp-drop-volume-letter): Fix doc string.
3506         * net/tramp-cmds.el: Remove solved todo item.
3508         * net/tramp-ftp.el:
3509         * net/tramp-gvfs.el:
3510         * net/tramp-gw.el:
3511         * net/tramp-imap.el:
3512         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3513         and `tramp-default-user-alist', respectively.
3515         * net/tramp-gw.el (tramp-gw-open-connection):
3516         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3518         * net/tramp-imap.el (tramp-imap-make-iht): Use just
3519         `tramp-file-name-port'.
3521         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3522         and "psftp".  Exchange "%k" marker with options.
3523         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3524         Compute size of link target.
3525         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3526         `tramp-current-*' up due to gateway methods.  Optimize computing of
3527         copy arguments.  Use `tramp-get-connection-name' and
3528         `tramp-get-connection-buffer'.  Improve debug messages.
3529         (tramp-compute-multi-hops): Remove port determination.
3530         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3532         * net/trampver.el: Update release number.
3534 2010-12-02  Glenn Morris  <rgm@gnu.org>
3536         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3537         Avoid infinite loop over windows.  (Bug#7492)
3539         * progmodes/flymake.el (flymake-check-file-limit):
3540         Allow nil to mean "no limit".
3541         (flymake-check-patch-master-file-buffer): Update for above change.
3542         Allow a .tex file-name extension to be optional.
3543         (flymake-master-tex-init): Also match \include statements.
3545 2010-11-30  Sam Steingold  <sds@gnu.org>
3547         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3548         (nxml-parent-document-set): A function to set `nxml-parent-document'.
3549         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3550         (nxml-mode-hook): Remove `defcustom' (auto-defined by
3551         define-derived-mode').
3552         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3553         users who want to call `nxml-parent-document-set'.
3555 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3557         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3558         stand-alone lines, since that is handled by log-edit-match-to-eoh
3559         (Bug#6465).
3561 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
3563         * dired.el (dired-get-filename): Replace backslashes with slashes
3564         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
3565         * locate.el (locate-default-make-command-line): Don't consider
3566         drive letter and root directory part of
3567         `directory-listing-before-filename-regexp'.  (Bug#7308)
3568         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3570 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3572         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3573         of :smie-open/close-alist.
3574         (smie-next-sexp): Make it accept a "start token" as argument.
3575         (smie-indent-keyword): Be careful not to misidentify tokens that span
3576         more than one line, as empty lines.  Add argument `token'.
3578 2010-11-27  Kenichi Handa  <handa@m17n.org>
3580         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3581         multipart subtypes, insert all as usual.
3583         * mail/rmail.el: Require rfc2047.
3585 2010-11-27  Kenichi Handa  <handa@m17n.org>
3587         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3588         (rmail-mime-entity-disposition)
3589         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3590         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3591         (rmail-mime-save): Handle the case that the button's `data' is a
3592         MIME entity.
3593         (rmail-mime-insert-text): New function.
3594         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3595         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3596         (rmail-mime-insert-bulk): New function mostly copied from the old
3597         rmail-mime-bulk-handler.
3598         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3599         (rmail-mime-process-multipart): New function mostly copied from
3600         the old rmail-mime-multipart-handler.
3601         (rmail-mime-show): Just call rmail-mime-process.
3602         (rmail-mime-process): New function mostly copied from the old
3603         rmail-mime-show.
3604         (rmail-mime-insert-multipart, rmail-mime-parse)
3605         (rmail-mime-insert, rmail-show-mime)
3606         (rmail-insert-mime-forwarded-message)
3607         (rmail-insert-mime-resent-message): New functions.
3608         (rmail-insert-mime-forwarded-message-function): Set to
3609         rmail-insert-mime-forwarded-message.
3610         (rmail-insert-mime-resent-message-function): Set to
3611         rmail-insert-mime-resent-message.
3613         * mail/rmailsum.el: Require rfc2047.
3614         (rmail-header-summary): Handle multiline Subject: field.
3615         (rmail-summary-line-decoder): Change the default to
3616         rfc2047-decode-string.
3618         * mail/rmail.el (rmail-enable-mime): Change the default to t.
3619         (rmail-mime-feature): Change the default to `rmailmm'.
3620         (rmail-quit): Delete the specifal code for rmail-enable-mime.
3621         (rmail-display-labels): Likewise.
3622         (rmail-show-message-1): Check rmail-enable-mime, and use
3623         rmail-show-mime-function for a MIME message.  Decode the headers
3624         according to RFC2047.
3626 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3628         * progmodes/which-func.el (which-func-imenu-joiner-function):
3629         Return a string, as expected.
3630         (which-function-mode): Make sure we stop any previous timer before
3631         starting a new one.
3633 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
3635         * net/tramp.el (tramp-default-method-alist)
3636         (tramp-default-user-alist, tramp-default-proxies-alist):
3637         Adapt custom options type.  (Bug#7445)
3639 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3641         * progmodes/python.el: Add Ipython support (Bug#5390).
3642         (python-shell-prompt-alist)
3643         (python-shell-continuation-prompt-alist): New options.
3644         (python--set-prompt-regexp): New function.
3645         (inferior-python-mode, run-python, python-shell):
3646         Require ansi-color.  Use python--set-prompt-regexp to set the comint
3647         prompt based on the Python interpreter.
3648         (python--prompt-regexp): New var.
3649         (python-check-comint-prompt)
3650         (python-comint-output-filter-function): Use it.
3651         (run-python): Use a pipe (Bug#5694).
3653 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3655         * progmodes/python.el (run-python): Doc fix.
3656         (python-keep-current-directory-in-path): New var (Bug#7454).
3658 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3660         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3661         Prompt user before actually printing.
3663 2010-11-27  Glenn Morris  <rgm@gnu.org>
3665         * startup.el (package-enable-at-startup, package-initialize):
3666         Remove unnecessary declarations.
3668 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
3670         * international/characters.el (glyphless-char-display-control):
3671         Exclude newline and TAB from the c0-control group.
3673 2010-11-27  Glenn Morris  <rgm@gnu.org>
3675         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3676         (expand-mail-aliases): Remove unnecessary autoload.
3678         * allout.el (allout-command-prefix, allout-mode-map): Declare.
3680         * shell.el (shell-dir-cookie-re): Move definition before use.
3682         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3683         Replace undefined CL functions.
3685 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
3687         * simple.el (prog-mode): Set bidi-paragraph-direction to
3688         left-to-right.
3690         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3692 2010-11-26  Glenn Morris  <rgm@gnu.org>
3694         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3695         diary-outlook-formats can be sensitive to calendar-date-style.
3696         (diary-outlook-formats): Simplify the default setting.
3697         (diary-from-outlook-internal): Pass subject and body as arguments.
3698         Use dolist rather than dotimes.  Don't save the diary buffer.
3699         (diary-from-outlook-gnus, diary-from-outlook-rmail):
3700         Pass subject and body as explicit arguments to the -internal function.
3702 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3704         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3705         parsing them.  This makes mailto:...?subject=foo\nbar work.
3707 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3709         * vc/diff.el (diff): Fix last change.
3711 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3713         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
3714         (pcase--dontcare-upats): New var.
3715         (pcase-let, pcase-let*): Generate better code.
3716         Accept the same bodies as `let'.
3717         (pcase-dolist): New macro.
3718         (pcase--trivial-upat-p): New helper function.
3719         (pcase--expand): Strip leading "(let nil" if any.
3721 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3723         * mail/mailclient.el (browse-url): Require.
3724         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3725         use the external browser function to send the mail (bug#7469).
3727         * net/browse-url.el (browse-url-browser-function): Revert the
3728         default back to the previous value, since the new value broke
3729         mailclient.el.
3730         (browse-url-mailto-function): New variable for mailto: URLs.
3731         (browse-url): Use the new variable for mailto: URLs.
3733 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3735         * eshell/esh-cmd.el (eshell-parse-command):
3736         * eshell/esh-arg.el (eshell-parse-arguments):
3737         * eshell/em-script.el (eshell-source-file):
3738         Use with-silent-modifications.
3740 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3742         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
3743         for a merge location.
3745         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3746         (vc-bzr-merge-branch): Always prompt.
3747         (vc-bzr-async-command): Use the full branch filename.
3749 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3751         * shell.el (shell): Use current-buffer by default if it's already
3752         a shell mode buffer and its process is dead.
3753         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3755 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
3757         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3758         Mention that the keywords should be comma separated.
3760 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3762         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3763         Accept optional prefix arg meaning to prompt for a command.
3764         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
3765         prefix arg meaning to prompt for a command.
3766         (vc-pull): Alias for vc-update.
3768         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3769         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3770         (vc-bzr-merge-branch): New functions, implementing merge-branch
3771         and pull operations.
3773 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3775         * Makefile.in: Fix up last merge.
3777         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3778         (diff-sentinel): Get them as arguments instead.
3779         (diff-old-file, diff-new-file, diff-extra-args): Remove.
3780         (diff-file-local-copy, diff-better-file-name): New funs.
3781         (diff-no-select): Rename from diff-into-buffer.
3782         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
3783         Prefer closures to buffer-local variables.
3784         (diff): Adjust accordingly.
3785         (diff-buffer-with-file): Move from files.el.
3786         * files.el (diff-buffer-with-file): Move to vc/diff.el.
3787         (diff-buffer-internal): Remove.
3788         (diff-buffer-buffer): Remove.
3789         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3790         the buffer name used, and so as not to mess up windows and frames.
3792 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3794         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3795         (diff-buffer-internal): New function extracted from diff-buffer-with-file
3796         (diff-buffer-with-file): Use it.
3797         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3798         (diff): Use it.
3800 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
3802         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3803         \ref's or \pageref's value as default instead of initial input.
3805 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
3807         * files.el (backup-by-copying-when-mismatch): The default value is
3808         now t.
3810         * startup.el (normal-top-level):
3811         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3812         `backup-by-copying-when-mismatch'.
3814 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3816         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3818 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3820         * progmodes/python.el (python-font-lock-keywords):
3821         Highlight top-level augmented assignments (Bug#6445).
3823 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3825         * term/ns-win.el (ns-right-control-modifier)
3826         (ns-right-command-modifier): Defvar them.
3828         * cus-start.el (all): Add ns-right-control-modifier and
3829         ns-right-command-modifier (Bug#7458).
3831 2010-11-20  Glenn Morris  <rgm@gnu.org>
3833         * emacs-lisp/authors.el (authors-ignored-files)
3834         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3836 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3838         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3839         (report-emacs-bug-parse-query-results)
3840         (report-emacs-bug-create-existing-bugs-buffer): Pass through
3841         keywords used for querying the bug database to show them in the
3842         existing bugs buffer.
3844 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
3846         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3848         * info.el (info-tool-bar-map): Add some :vert-only keywords.
3850 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3852         * international/characters.el (glyphless-char-display-control):
3853         Make it a defcustom, with update-glyphless-char-display as its
3854         :set attribute.
3855         (top level): Don't call update-glyphless-char-display.
3857 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
3859         Sync with Tramp 2.2.0.
3861         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3862         `file-remote-p' (due to compatibility).
3864         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3865         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3867         * net/trampver.el: Update release number.
3869 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3871         * faces.el (glyphless-char): Define value for `pc'.
3873 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3875         Implemented a bug querying mechanism.
3876         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3877         (report-emacs-bug-create-existing-bugs-buffer)
3878         (report-emacs-bug-parse-query-results)
3879         (report-emacs-bug-query-existing-bugs): New functions.
3881 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
3883         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3884         a \ref{} or \pageref{} macro, then use its value as initial input.
3886 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
3888         * calc/calc-units.el (math-build-units-table-buffer):
3889         calc/README: Mention that the TeX specific units won't use the
3890         `tex' prefix in TeX mode.
3891         calc/calc-lang.el (math-variable-table): Don't use the `tex'
3892         prefix for units in TeX mode.
3894 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3896         * simple.el (kill-new, kill-append, kill-region):
3897         * comint.el (comint-kill-region): Make the yank-handler argument
3898         obsolete.
3900 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3902         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3903         that are both openers (resp. closers) and something else.
3904         (smie-grammar): Loosen definition of valid values.
3905         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3906         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3907         (smie-indent-after-keyword): Adjust users.
3908         (smie-indent-keyword): Don't indent empty lines.
3910         * vc-hg.el (vc-hg-program): New var.
3911         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3912         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3914 2010-11-18  Glenn Morris  <rgm@gnu.org>
3916         * emacs-lisp/autoload.el (autoload-find-destination): The function
3917         coding-system-eol-type may return non-numeric values.  (Bug#7414)
3919 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
3921         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3923 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
3925         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
3927 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
3929         * textmodes/picture.el (picture-mouse-set-point): Don't use
3930         posn-col-row; explicitly compute the motion based on the posn at
3931         the window-start (Bug#7390).
3933 2010-11-18  Glenn Morris  <rgm@gnu.org>
3935         * novice.el (disabled-command-function):
3936         Fix 2009-11-15 change.  (Bug#7384)
3938 2010-11-18  Glenn Morris  <rgm@gnu.org>
3940         * calendar/calendar.el (diary-iso-date-forms): Make elements
3941         mutually exclusive.  (Bug#7377)
3943 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3945         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3946         when filling the remaining "unconstrained" values.
3948 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3950         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3951         safety predicate.
3953         * files.el (safe-local-variable-p): Gracefully handle errors.
3955         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3956         Use smie-indent-virtual when indenting relative to an opener.
3957         (smie-rule-separator): Use smie-rule-parent.
3958         (smie-indent-keyword): Consult rules, even for openers at bol.
3959         (smie-indent-comment-close): Try to align closer's content.
3961 2010-11-18  Glenn Morris  <rgm@gnu.org>
3963         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3965 2010-11-18  Glenn Morris  <rgm@gnu.org>
3967         * printing.el (pr-menu-bind): Doc fix.
3969         * speedbar.el (speedbar-toggle-images): Doc fix.
3971         * progmodes/python.el (python-shell): Doc fix.
3973         * wid-edit.el (widget-field-use-before-change)
3974         (widget-use-overlay-change): Doc fixes.
3976 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3978         Minor cleanup to improve style.
3979         * textmodes/rst.el (rst-update-section): Use point-marker.
3980         (rst-get-decoration): Eliminate unneeded assignment.
3981         (rst-promote-region, rst-straighten-decorations)
3982         (rst-section-tree, rst-adjust): Use point-marker.
3983         (rst-toc-mode-mouse-goto): Avoid setq.
3984         (rst-shift-region-guts, rst-shift-region-left)
3985         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3986         (rst-convert-bullets-to-enumeration): Use copy-marker.
3988         * minibuffer.el (completion-fail-discreetly): New var.
3989         (completion--do-completion): Use it.
3991         * electric.el (electric-pair-pairs): New var.
3992         (electric-pair-post-self-insert-function): Use it.
3993         (electric-layout-post-self-insert-function): Don't insert a before
3994         newline unless it's actually needed.
3996 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3998         * progmodes/python.el (run-python): Explain why we remove the current
3999         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
4001         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4003 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4005         * progmodes/octave-mod.el: Rely on elecric-*-modes.
4006         (octave-mode-map): Don't bind ;, SPC, and LF.
4007         (octave-auto-indent, octave-auto-newline): Remove.
4008         (electric-layout-rules): Declare.
4009         (octave-mode): Set electric-layout-rules.
4010         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4011         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4012         (octave-electric-space): Remove.
4014         * electric.el (electric-layout-mode): New minor mode.
4015         (electric--after-char-pos): New function.
4016         (electric-indent-post-self-insert-function): Use it.
4017         (electric-layout-rules): New var.
4018         (electric-layout-post-self-insert-function): New function.
4019         (electric-indent-mode): Make them interact better.
4021 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4023         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4024         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4025         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4027 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
4029         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4030         Make sure to check inside the word (Bug#6761).
4032 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
4034         * startup.el (command-line): If the cursorColor resource is set,
4035         change the cursor face-spec (Bug#7392).
4037 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
4039         The main features of the following allout.el changes are:
4040         - implement user customization for the allout key bindings
4041         - add a customization control by which the user can inhibit use of
4042           a trailing Ctrl-H, so by default it's reserved for use with
4043           describe-prefix-bindings
4044         - adapt to new version of called-interactively-p, while
4045           maintaining backwards compatibility with old version
4046         - fix hotspot navigation so i works properly with meta-modified keys.
4048         * allout.el (allout-keybindings, allout-bind-keys)
4049         (allout-keybindings-binding, allout-prefixed-keybindings)
4050         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4051         (allout-keybindings-list, allout-mode-map-adjustments)
4052         (allout-setup-mode-map): Establish allout-mode keymaps as user
4053         customizable settings, and also establish a customizable setting which
4054         regulates whether or not a trailing control-h is reserved for use with
4055         describe-prefix-bindings - and inhibit it by default, so that control-h
4056         *is* reserved for describe-prefix-bindings unless the user changes it.
4058         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4059         and accurately between modified and unmodified events, and handle
4060         modified events more comprehensively.
4062         * allout.el (allout-substring-no-properties):
4063         Alias to use or provide version of `substring-no-properties'.
4064         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4066         * allout.el (allout-next-single-char-property-change):
4067         Alias to use or provide version of `next-single-char-property-change'.
4068         (allout-annotate-hidden, allout-hide-by-annotation):
4069         Use `allout-next-single-char-property-change'.
4071         * allout.el (allout-select-safe-coding-system):
4072         Alias to use or provide version of `select-safe-coding-system'.
4073         (allout-toggle-subtree-encryption):
4074         Use `allout-select-safe-coding-system'.
4076         * allout.el (allout-set-buffer-multibyte):
4077         Alias to use or provide version of `set-buffer-multibyte'.
4078         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4080         * allout.el (allout-called-interactively-p): Macro for using the
4081         different versions of called-interactively-p identically, depending on
4082         the subroutine's argument signature.
4083         (allout-back-to-current-heading, allout-beginning-of-current-entry):
4084         Use `(interactive "p")' instead of `(called-interactively-p)'.
4086         * allout.el (allout-init, allout-ascend, allout-end-of-level)
4087         (allout-previous-visible-heading, allout-forward-current-level)
4088         (allout-backward-current-level, allout-show-children):
4089         Use `allout-called-interactively-p' instead of `called-interactively-p'.
4091         * allout.el (allout-before-change-handler):
4092         Exempt edits to the (overlaid) character after the allout outline
4093         bullet from edit confirmation prompt.
4095         * allout.el (allout-add-resumptions):
4096         Ensure that it respects correct buffer for keybindings.
4098         * allout.el (allout-beginning-of-line):
4099         Use `allout-previous-single-char-property-change' alias for the sake of
4100         diverse compatibility.
4102         * allout.el (allout-end-of-line):
4103         Use `allout-mark-active-p' to encapsulate respect for mark activity.
4105 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
4107         * frame.el (frame-notice-user-settings): Don't clobber other
4108         user-set parameters when calling face-set-after-frame-default in
4109         response to background-color parameter (Bug#7373).
4111 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
4113         * international/characters.el (glyphless-char-display-control):
4114         Rename from glyphless-char-control; all users changed.  Doc fix.
4115         Signal an error if display method is not one of the recognized
4116         symbols.
4118 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
4120         * net/tramp-compat.el (tramp-compat-line-beginning-position)
4121         (tramp-compat-line-end-position): Remove them.
4123         * net/tramp.el (tramp-parse-rhosts-group)
4124         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4125         (tramp-parse-hosts-group, tramp-parse-passwd-group)
4126         (tramp-parse-netrc-group, tramp-parse-putty-group)
4127         * net/tramp-cmds.el (tramp-append-tramp-buffers)
4128         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4129         (tramp-sh-handle-file-selinux-context)
4130         (tramp-sh-handle-file-name-all-completions)
4131         (tramp-sh-handle-insert-directory)
4132         (tramp-sh-handle-expand-file-name, tramp-find-executable)
4133         (tramp-wait-for-output, tramp-send-command-and-read)
4134         * net/tramp-smb.el (tramp-smb-read-file-entry)
4135         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4137         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4138         `point-at-bol'.
4139         (tramp-remote-coding-commands): Add an alternative using "base64
4140         -d -i".  This is needed for older base64 versions from GNU
4141         coreutils.  Reported by Klaus Reichl
4142         <Klaus.Reichl@thalesgroup.com>.
4144 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
4146         * simple.el (count-words-region): New function.
4148 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4150         * shell.el (shell-dir-cookie-re): New custom variable.
4151         (shell-dir-cookie-watcher): New function.
4153         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4154         and compilation-mode (bug#7350).
4156         * vc/smerge-mode.el (smerge-refine): Choose better default part to
4157         highlight when one of them is empty.
4159         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4160         trailing space.
4161         (skeleton-newline): New function.
4162         (skeleton-internal-1): Use it.
4164         * simple.el (open-line): `newline' may strip trailing space.
4166 2010-11-12  Kevin Ryde  <user42@zip.com.au>
4168         * international/mule-cmds.el (princ-list): Use mapc.
4170 2010-11-12  Glenn Morris  <rgm@gnu.org>
4172         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4173         Use it to replace all instances of "*Compile-Log*".
4175 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4177         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4178         indentation specs.
4180 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4182         * progmodes/modula2.el: Use SMIE and skeleton.
4183         (m2-mode-syntax-table): (*..*) can be nested.
4184         Add //...\n.  Fix paren syntax.
4185         (m2-mode-map): Remove LF and TAB bindings.
4186         (m2-indent): Add safety property.
4187         (m2-smie-grammar): New var.
4188         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4189         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4190         (m2-mode): Use define-derived-mode.
4191         (m2-newline, m2-tab): Remove.
4192         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4193         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4194         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4195         (m2-import): Use define-skeleton.
4197 2010-11-11  Glenn Morris  <rgm@gnu.org>
4199         * obsolete/lucid.el: Don't warn about any CL functions in this file.
4201         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4202         (ls-lisp-verbosity): Add custom :set-after property.
4203         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4204         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4205         (ls-lisp-insert-directory): Update caller.
4206         (ls-lisp-set-options): New function.
4207         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4208         Doc fix.
4210         * play/landmark.el (lm-prompt-for-move):
4211         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4213         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4215         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4216         (idlwave-study-twins): Prefix dynamic local variable `name'.
4217         (idlwave-routine-twin-compare): Update for above change.
4219         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4220         Prefix dynamic local variables `name', `kwd', and `link'.
4221         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4222         * progmodes/idlw-complete-structtag.el
4223         (idlwave-complete-structure-tag-help):
4224         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4225         (idlwave-complete-sysvar-tag-help)
4226         (idlwave-complete-class-structure-tag-help):
4227         Update for above name changes.
4229 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4231         * net/browse-url.el (browse-url-browser-function): Change the
4232         default to use `browse-url-mail' on mailto: URLs.
4234 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
4236         * emacs-lisp/package.el (package-read-all-archive-contents):
4237         Reset package-archive-contents to nil before re-reading.
4239 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
4241         * textmodes/flyspell.el (flyspell-word): Do not re-check words
4242         already found as misspellings by (flyspell-large-region), just
4243         do highlighting (bug#7322).
4245 2010-11-10  Glenn Morris  <rgm@gnu.org>
4247         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4249         * emulation/edt.el (edt-with-position): New macro.
4250         (edt-find-forward, edt-find-backward, edt-find-next-forward)
4251         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4252         (edt-paragraph-forward, edt-paragraph-backward): Use it.
4254         * emulation/tpu-extras.el (tpu-with-position): New macro.
4255         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4257         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4259         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4260         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4261         (texinfo-master-menu, texinfo-insert-node-lines)
4262         (texinfo-multiple-files-update):
4263         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4264         Use line-beginning-position.
4266         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4267         No recent Emacs supports system-type `emx'.
4269         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4270         (ada-command-separator, ada-default-prj-properties)
4271         (ada-find-any-references): Update for above name change.
4273         * dirtrack.el (dirtrack-directory-function)
4274         (dirtrack-canonicalize-function):
4275         * filecache.el (file-cache-completion-ignore-case)
4276         (file-cache-case-fold-search, file-cache-ignore-case):
4277         * term.el (serial-port-is-file-p): Cosmetic change.
4279         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4280         Remove non-existent `windows-95' system-type.
4281         * dired.el (dired-chown-program): Remove non-existent `linux'
4282         system-type.
4284         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4285         (ping-program-options): Remove non-existent `linux' system-type.
4287         * startup.el (package-initialize): Update declaration.
4289         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4290         (ls-lisp-handle-switches): Use time-less-p.
4291         (ls-lisp-format-time): Use float-time.
4293         * textmodes/remember.el (remember-time-to-seconds): Remove.
4294         (remember-store-in-mailbox): Use float-time.
4296         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4298         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4299         never a real function.
4300         (with-no-warnings): Remove compat stub, now unused.
4301         (time-less-p): Doc fix.
4302         (time-to-number-of-days): Simplify.
4304         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4305         Remove.
4306         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4307         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4308         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4309         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4310         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4312         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4313         (eshell-shuffle-files, eshell-shorthand-tar-command)
4314         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4315         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4316         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4317         Prefix dynamic local variable `matches'.
4319         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4320         Prefix dynamic local variable `skeleton'.
4322 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4324         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4325         in mail buffer; make yank-action always a command that yanks original
4326         buffer.
4328 2010-11-09  Glenn Morris  <rgm@gnu.org>
4330         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4332 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4334         * minibuffer.el (minibuffer-completion-help): Specify the end of the
4335         completion field (bug#7211).
4337         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4338         Fix handling of backslash escapes.
4339         (python-quote-syntax): Adjust accordingly.
4341 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
4343         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4344         (vc-mtn-workfile-branch): Adjust to new output format.
4346 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4348         * international/mule-cmds.el (princ-list): Mark as obsolete.
4350 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4352         * emacs-lisp/smie.el: New package.
4354 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
4356         * files.el (backup-by-copying-when-mismatch):
4357         Set `permanent-local' property.
4359         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4360         `permanent-local' property for `backup-by-copying-when-mismatch'.
4362 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
4364         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
4366 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
4368         * progmodes/verilog-mode.el (verilog-insert-one-definition)
4369         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4370         AUTOINOUT for SV style multidimensional arrays, bug294.
4371         Reported by Eric Mastromarchi.
4372         (verilog-preprocess): Use with-current-buffer and
4373         font-lock-fontify-buffer to cleanup style issues.
4375 2010-11-09  Glenn Morris  <rgm@gnu.org>
4377         * locate.el (locate, locate-mode): Doc fixes.
4379 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
4381         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4382         user for confirmation.
4383         (server-force-stop): Use it.
4384         (server-start): Use server-force-stop for kill-emacs-hook, to
4385         avoid user interaction while killing Emacs.
4387 2010-11-09  Glenn Morris  <rgm@gnu.org>
4389         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4390         (meta-indent-line): Simplify.
4392         * vc/emerge.el (emerge-line-number-in-buf):
4393         * textmodes/ispell.el (ispell-region):
4394         * textmodes/fill.el (current-fill-column):
4395         * progmodes/xscheme.el (xscheme-send-current-line):
4396         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4397         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4398         * progmodes/sh-script.el (sh-handle-prev-do):
4399         * progmodes/meta-mode.el (meta-indent-line):
4400         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4401         (idlwave-in-quote):
4402         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4403         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4404         * progmodes/fortran.el (fortran-looking-at-if-then):
4405         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4406         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4407         (cperl-find-pods-heres):
4408         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4409         * net/quickurl.el (quickurl-list-insert):
4410         * net/ldap.el (ldap-search-internal):
4411         * net/eudc.el (eudc-expand-inline):
4412         * mail/sendmail.el (sendmail-send-it):
4413         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4414         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4415         (viper-brac-function):
4416         * calc/calc-yank.el (calc-do-grab-region):
4417         * calc/calc-keypd.el (calc-keypad-press):
4418         * term.el (term-move-columns, term-insert-spaces):
4419         * speedbar.el (speedbar-highlight-one-tag-line):
4420         * simple.el (current-word):
4421         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4422         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4423         (Info-scroll-down):
4424         * hippie-exp.el (he-line-beg):
4425         * epa.el (epa--marked-keys):
4426         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4427         (dired-update-file-line, dired-add-entry, dired-remove-entry)
4428         (dired-relist-entry):
4429         * buff-menu.el (Buffer-menu-buffer):
4430         * array.el (current-line):
4431         * allout.el (allout-resolve-xref)
4432         (allout-latex-verbatim-quote-curr-line):
4433         Replace yet more uses of end-of-line etc with line-end-position, etc.
4435 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4437         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4438         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4439         (checkdoc-syntax-table): Initialize in the declaration.
4440         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4441         the mode on unconditionally.
4443         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4444         (extent-end-position, extent-start-position): Remove setf method for
4445         non-existing functions (bug#7319).
4447 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4449         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4450         (smie-precs->prec2): Rename from smie-precs-precedence-table.
4451         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4452         (smie-prec2->grammar): Rename from smie-prec2-levels.
4453         (smie-grammar): Rename from smie-op-levels.
4454         (smie-indent--hanging-p): Rename from smie-hanging-p.
4455         (smie-rule-hanging-p): New alias.
4456         (smie-indent--bolp): Rename from smie-bolp.
4457         (smie-indent--hanging-p): New alias.
4458         (smie--token): New dynamically bound variable.
4459         (smie-indent--parent): New function.
4460         (smie-rule-parent-p): Use it; rename from smie-parent-p.
4461         (smie-rule-next-p): Rename from smie-next-p.
4462         (smie-rule-prev-p): Rename from smie-prev-p.
4463         (smie-rule-sibling-p, smie-rule-parent)
4464         (smie-indent--separator-outdent, smie-rule-separator): New functions.
4465         (smie-rule-separator-outdent): New var.
4466         (smie-indent--rule): Merge with smie-indent--column.
4467         (smie-indent-forward-token, smie-indent-backward-token):
4468         Also recognize close parens.
4469         (smie-indent-keyword): Don't use smie-indent--column any more.
4470         (smie-indent-after-keyword): Ignore closers by default.
4471         (smie-indent-line): Use with-demoted-errors.
4472         * progmodes/octave-mod.el (octave-smie-grammar):
4473         Rename from octave-smie-op-levels.
4474         (octave-smie-rules): Adjust to new behavior.
4475         * progmodes/prolog.el (prolog-smie-grammar):
4476         Rename from prolog-smie-op-levels.
4478 2010-11-07  Glenn Morris  <rgm@gnu.org>
4480         * eshell/esh-util.el (subst-char-in-string)
4481         (directory-files-and-attributes): These compatibility definitions are
4482         not needed on any version of Emacs since at least 21.4.
4484         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4485         (verilog-get-end-of-line): Remove.
4486         (verilog-within-string, verilog-re-search-forward-substr)
4487         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4488         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4489         Use point-at-bol, point-at-eol.
4490         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4491         Remove.
4492         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4493         (electric-pascal-terminate-line, pascal-set-auto-comments)
4494         (pascal-indent-paramlist, pascal-indent-declaration)
4495         (pascal-get-lineup-indent, pascal-func-completion)
4496         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4497         Use point-at-bol, point-at-eol.
4498         * progmodes/flymake.el (flymake-line-beginning-position)
4499         (flymake-line-end-position): Remove.
4500         (flymake-highlight-line): Use point-at-bol, point-at-eol.
4501         * eshell/esh-util.el (line-end-position, line-beginning-position):
4502         Remove compat definitions.
4504         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4505         Use end-of-line N.
4506         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4507         Use line-end-position.
4509         * emacs-lisp/chart.el (chart-zap-chars):
4510         * play/decipher.el (decipher-set-map):
4511         * progmodes/ada-mode.el (ada-get-current-indent)
4512         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4513         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4514         * progmodes/ada-xref.el (ada-initialize-runtime-library)
4515         (ada-get-all-references):
4516         * progmodes/cperl-mode.el (cperl-electric-paren)
4517         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4518         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4519         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4520         (cperl-word-at-point-hard):
4521         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4522         (idlwave-shell-filename-string, idlwave-shell-batch-command)
4523         (idlwave-shell-display-line):
4524         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4525         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4526         * progmodes/js.el (js--re-search-forward-inner)
4527         (js--re-search-backward-inner):
4528         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4529         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4530         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4531         * textmodes/flyspell.el (flyspell-process-localwords):
4532         * textmodes/ispell.el (ispell-buffer-local-parsing)
4533         (ispell-buffer-local-dict, ispell-buffer-local-words):
4534         Use point-at-bol and point-at-eol.
4536         * speedbar.el (speedbar-generic-item-info)
4537         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4538         (speedbar-add-indicator, speedbar-check-vc-this-line)
4539         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4540         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4541         Replace more uses of end-of-line etc with line-end-position.
4543 2010-11-06  Glenn Morris  <rgm@gnu.org>
4545         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4546         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4547         (texinfo-delete-existing-pointers, texinfo-find-pointer)
4548         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4549         (texinfo-multiple-files-update):
4550         * textmodes/table.el (table--probe-cell-left-up)
4551         (table--probe-cell-right-bottom):
4552         * textmodes/picture.el (picture-tab-search):
4553         * textmodes/page-ext.el (pages-copy-header-and-position)
4554         (pages-directory-for-addresses):
4555         * progmodes/vera-mode.el (vera-get-offset):
4556         * progmodes/simula.el (simula-calculate-indent):
4557         * progmodes/python.el (python-pdbtrack-overlay-arrow):
4558         * progmodes/prolog.el (end-of-prolog-clause):
4559         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4560         * progmodes/icon.el (indent-icon-exp):
4561         * progmodes/etags.el (tag-re-match-p):
4562         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4563         * progmodes/ebnf2ps.el (ebnf-begin-file):
4564         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4565         (dcl-save-local-variable):
4566         * play/life.el (life-setup):
4567         * play/gametree.el (gametree-looking-at-ply):
4568         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4569         * mail/sendmail.el (mail-mode-auto-fill):
4570         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4571         * emacs-lisp/edebug.el (edebug-overlay-arrow):
4572         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4573         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4574         (woman-tab-to-tab-stop, WoMan-warn-ignored):
4575         * type-break.el (type-break-file-keystroke-count):
4576         * term.el (term-replace-by-expanded-history-before-point)
4577         (term-skip-prompt, term-extract-string):
4578         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4579         (speedbar-contract-line, speedbar-toggle-line-expansion)
4580         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4581         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4582         * sort.el (sort-skip-fields):
4583         * skeleton.el (skeleton-internal-list):
4584         * simple.el (line-move-finish, line-move-to-column):
4585         * shell.el (shell-forward-command):
4586         * misc.el (copy-from-above-command):
4587         * makesum.el (double-column):
4588         * ebuff-menu.el (electric-buffer-update-highlight):
4589         * dired.el (dired-move-to-end-of-filename):
4590         * dframe.el (dframe-popup-kludge):
4591         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4592         * arc-mode.el (archive-get-lineno):
4593         Use line-end-position and line-beginning-position.
4595         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4596         (idlwave-study-twins): Prefix dynamic local `class'.
4597         (idlwave-routine-twin-compare): Update for above name change.
4599         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4600         Use boundp tests to silence compiler.  Update for changed name of
4601         bytecomp-filename variable.
4603         * emulation/viper-cmd.el (viper-read-string-with-history):
4604         Prefix dynamic local `initial'.
4605         (viper-minibuffer-standard-hook): Update for above name change.
4607         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4608         (elint-init-form): Update for above name change.
4610         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4611         local variables `cbeg' and `cend' a prefix.
4612         (mail-extr-voodoo): Update for above name change.
4614         * textmodes/reftex-toc.el (reftex-toc-do-promote)
4615         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4616         (reftex-toc-promote-action): Doc fix.
4618         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4619         `prompt', `data' a prefix.
4620         (reftex-select-post-command-hook, reftex-select-callback)
4621         (reftex-select-mouse-accept, reftex-select-read-cite):
4622         Update for above name changes.
4624         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4625         `refstyle' to reftex-refstyle.
4626         (reftex-offer-label-menu): Update for above name change.
4627         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4628         `refstyle' name change.
4630         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4631         with with-current-buffer.
4632         (diff, template): Give dynamic local variables a prefix.
4633         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4634         (emerge-line-number-in-buf): Update for above name change.
4635         (emerge-combine-versions-internal): Rename local `template' to
4636         emerge-combine-template.
4637         (emerge-combine-versions-edit): Update for above name change.
4639 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
4641         * textmodes/reftex-cite.el
4642         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4643         entries with whitespace after \bibitem.
4644         (reftex-create-bibtex-file): Match entries containing numbers and
4645         symbol constituents.  Make sure that entries with whitespace at
4646         various places are found.
4648 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
4650         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4652 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
4654         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4656 2010-11-05  Glenn Morris  <rgm@gnu.org>
4658         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4659         (woman2-roff-buffer): Give local variable `request' a prefix.
4660         (woman0-macro): Rename argument `request' in the same way.
4661         (woman-request): New name for `request' dynamic variable.
4662         (woman-unquote, woman-forward-arg): Update for above name change.
4663         (woman1-roff-buffer): Give local variable `unquote' a prefix.
4664         (woman1-unquote): New name for `unquote' dynamic variable.
4665         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4666         (woman-translations): Rename from `translations'.  No longer global.
4667         (woman2-tr, woman-translate): Update for above name change.
4668         (woman-translate): Check for bound variable.
4669         (woman2-roff-buffer): Give local variable `translations' a prefix.
4671         * play/doctor.el: Give all local variables a prefix.  Update callers.
4672         (doc$, doctor-put-meaning): Use backquote.
4674         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4675         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4677         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4678         variables bytes, ptr, op a prefix.
4679         (disassemble-offset): Update for above change.
4681 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4683         * emacs-lisp/package.el (package-unpack): Remove no-op.
4684         (package--builtins, package--dir): Doc fix.
4685         (package-activate-1, package-activate, package-install)
4686         (package-compute-transaction): Fix error message.
4687         (package-delete): Use delete-directory.  Omit system packages.
4688         (package-initialize): Set package-alist to nil first.
4689         (package-menu-mark-delete, package-menu-mark-install): Don't add
4690         symbols that are inconsistent with the package state.
4691         (package-menu-execute): Perform deletions and installations as
4692         single batch operations.
4694 2010-11-03  Glenn Morris  <rgm@gnu.org>
4696         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4697         (props): Remove unnecessary declaration.
4699         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4700         set-process-query-on-exit-flag.
4702         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4703         (reftex-toc-do-promote): Remove unused local `mpos'.
4704         (reftex-toc-restore-region): Make `mpos' local to this function.
4706         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4708         * play/landmark.el (lm-losing-threshold): Correct spelling.
4709         (lm-human-plays): Use new name.
4711         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4712         (gomoku-human-plays): Use new name.
4714         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4715         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4716         (gomoku-score-trans-table, gomoku-winning-threshold)
4717         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4719 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4721         * emacs-lisp/package.el: Don't put built-in packages in
4722         package-alist, to avoid loading inefficiencies.
4723         (package-built-in-p): Make VERSION optional, and treat it as a
4724         minimum acceptable version.
4725         (package-activate): Search separately for built-in packages.
4726         Emit a warning if a dependency fails.
4727         (define-package): Handle most common case, where there is no
4728         obsolete package, first.
4729         (package-compute-transaction): Print required version in error.
4730         (package--initialized): New variable.
4731         (list-packages): Use it.
4732         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
4733         built-in packages in packages-alist; keep it separate.
4734         Set package--initialized.
4735         (describe-package): Avoid activating packages as a side-effect.
4736         Search separately for built-in packages.
4737         (describe-package-1): Handle the case where an elpa package is
4738         simultaneously built-in and available/installed.
4739         (package-installed-p, package--generate-package-list):
4740         Search separately for built-in packages.
4741         (package-load-descriptor): Doc fix.
4743 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4745         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4746         Handle __DATA__ and __END__.
4748 2010-11-02  Noah Friedman  <friedman@splode.com>
4750         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4751         nil, do not ask to recompile files that are not already compiled,
4752         and do not recompile them.
4754 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
4756         * emacs-lisp/package.el (package-initialize): Ensure that
4757         obsoleted built-in packages are not in package-activated-list
4758         during activation.
4759         (describe-package-1): Make the "installed" status override
4760         "built-in".
4762 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4764         * subr.el (version-separator, version-regexp-alist): Remove '*'
4765         from docstring.
4766         (version-list-<=, version<=, version=): Doc fix.
4768 2010-11-01  Kenichi Handa  <handa@m17n.org>
4770         * faces.el (glyphless-char): Inherit underline for tty.
4772 2010-11-01  Kenichi Handa  <handa@m17n.org>
4774         Implement various display methods for glyphless characters.
4776         * international/characters.el (char-acronym-table): New variable.
4777         (glyphless-char-control): New variable.
4778         (update-glyphless-char-display): New function.
4780         * faces.el (glyphless-char): New face.
4782 2010-11-01  Glenn Morris  <rgm@gnu.org>
4784         * calendar/holidays.el (general-holidays, oriental-holidays)
4785         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4786         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4787         the definitions of their targets.
4789         * emacs-lisp/smie.el (smie): New custom group.
4790         (smie-blink-matching-inners, smie-indent-basic): Add :group.
4792         * faces.el (xw-defined-colors, x-setup-function-keys):
4793         * mouse-sel.el (x-select-text):
4794         * term/w32console.el (x-setup-function-keys): Update declarations.
4796         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4798         * textmodes/ispell.el (comment-add): Declare.
4800         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4801         Declare.
4803         * info.el (finder-keywords-hash, package-alist): Declare.
4805 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4807         * finder.el (finder-compile-keywords): Don't use intern-soft,
4808         since package names may not yet exist in the obarray.
4810 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4812         * vc/vc-arch.el (vc-arch-checkin):
4813         * vc/vc-cvs.el (vc-cvs-checkin):
4814         * vc/vc-mtn.el (vc-mtn-checkin):
4815         * vc/vc-rcs.el (vc-rcs-checkin):
4816         * vc/vc-sccs.el (vc-sccs-checkin):
4817         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4818         since 2010-04-21 commit by Stefan Monnier.
4820 2010-11-01  Glenn Morris  <rgm@gnu.org>
4822         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4824         * startup.el (package-enable-at-startup, package-initialize):
4825         Silence compiler.
4827         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4828         Silence compiler.
4830 2010-10-31  Julien Danjou  <julien@danjou.info>
4832         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4833         (byte-recompile-directory):
4834         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4835         Use `byte-recompile-file'.
4837 2010-10-31  Glenn Morris  <rgm@gnu.org>
4839         * cus-start.el: Handle standard values via a keyword.
4840         Only set version property if specified.
4841         (cursor-in-non-selected-windows, menu-bar-mode)
4842         (tool-bar-mode, show-trailing-whitespace):
4843         Do not specify standard values.
4844         (transient-mark-mode, temporary-file-directory): Use :standard.
4846 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
4848         * term/x-win.el (x-get-selection-value): New function that gets
4849         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
4851 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
4853         * net/tramp.el (tramp-handle-insert-file-contents): For root,
4854         preserve owner and group when editing files.  (Bug#7289)
4856 2010-10-31  Glenn Morris  <rgm@gnu.org>
4858         * speedbar.el (speedbar-mode):
4859         * play/fortune.el (fortune-in-buffer, fortune):
4860         * play/gomoku.el (gomoku-mode):
4861         * play/landmark.el (lm-mode):
4862         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4863         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
4865         * select.el (x-selection): Mark it as an obsolete alias.
4867 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4869         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4870         major-mode (bug#7284).
4872 2010-10-31  Glenn Morris  <rgm@gnu.org>
4874         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4875         rather than just an unused variable that inherits from the real one.
4877 2010-10-31  Alan Mackenzie  <acm@muc.de>
4879         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4880         This fixes bug #7185.
4882 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
4884         * startup.el (command-line): Search for package directories, and
4885         don't load package.el if none are found.
4887         * emacs-lisp/package.el (describe-package, list-packages):
4888         Call package-initialize if it has not been called yet.
4890 2010-10-30  Alan Mackenzie  <acm@muc.de>
4892         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4893         which fontifies the tail of an enum.
4894         (c-basic-matchers-after): Insert a call to the above new function.
4895         This fixes bug #7264.
4897 2010-10-30  Glenn Morris  <rgm@gnu.org>
4899         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4900         tool-bar-mode, transient-mark-mode.  (Bug#7306)
4901         Include the :set property in the dumped Emacs.
4903 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4905         SMIE: change indent rules format, improve smie-setup.
4906         * emacs-lisp/smie.el (smie-precs-precedence-table)
4907         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4908         Mark them pure so the tables gets built at compile time.
4909         (smie-bnf-precedence-table): Store the closer-alist in the table.
4910         (smie-prec2-levels): Preserve the closer-alist.
4911         (smie-blink-matching-open): Be more forgiving in case of indentation.
4912         (smie-hanging-p): Rename from smie-indent--hanging-p.
4913         (smie-bolp): Rename from smie-indent--bolp.
4914         (smie--parent, smie--after): New dynamic vars.
4915         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4916         (smie-indent-rules): Remove.
4917         (smie-indent--offset-rule): Remove fun.
4918         (smie-rules-function): New var.
4919         (smie-indent--rule): New fun.
4920         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4921         (smie-indent-exps): Use it.
4922         (smie-setup): Setup paren blinking; add keyword args for token
4923         functions; extract closer-alist from op-levels.
4924         (smie-indent-debug-log): Remove var.
4925         (smie-indent-debug): Remove fun.
4926         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4927         (prolog-smie-rules): New fun to replace it.
4928         (prolog-mode-variables): Simplify.
4929         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4930         it's setup automatically.
4931         (octave-smie-indent-rules): Remove.
4932         (octave-smie-rules): New fun to replace it.
4933         (octave-mode): Simplify.
4935 2010-10-29  Glenn Morris  <rgm@gnu.org>
4937         * files.el (temporary-file-directory): Remove (already defined in C).
4938         * cus-start.el: Add temporary-file-directory.
4940         * abbrev.el (abbrev-mode):
4941         * composite.el (auto-composition-mode):
4942         * menu-bar.el (menu-bar-mode):
4943         * simple.el (transient-mark-mode):
4944         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4945         that they do not define the associated variables twice.
4946         * simple.el (transient-mark-mode): Remove defvar.
4947         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4948         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4949         Handle multiple groups, and also custom-delayed-init-variables.
4950         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4952 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4954         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4955         (pcase-if): Add one minor optimization.
4956         (pcase-split-equal): Rename from pcase-split-eq.
4957         (pcase-split-member): Rename from pcase-split-memq.
4958         (pcase-u1): Add strings to the member optimization.
4959         Add `guard' variant of predicates.
4960         (pcase-q1): Add string patterns.
4962 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4964         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4966 2010-10-28  Glenn Morris  <rgm@gnu.org>
4968         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4969         Move menu-bar related settings to ../menu-bar.el.
4970         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4971         Move ns-specific settings here from term/ns-win.el.
4973         * simple.el (x-selection-owner-p): Remove unused declaration.
4975 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4977         * minibuffer.el (completion-cycling): New var (bug#7266).
4978         (minibuffer-complete, completion--do-completion):
4979         Use completion--flush-all-sorted-completions.
4980         (minibuffer-complete): Only cycle if completion-cycling is set.
4981         (completion--flush-all-sorted-completions): Unset completion-cycling.
4982         (minibuffer-force-complete): Set completion-cycling.
4983         (completion-all-sorted-completions): Move declaration before first use.
4985 2010-10-28  Leo  <sdl.web@gmail.com>
4987         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4988         which changes the order of matches seen by users (bug#7231).
4990 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
4992         * progmodes/compile.el (compilation-mode-font-lock-keywords):
4993         Don't confuse -omega as "-o mega".
4995 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4997         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4998         (log-edit-author): New dynamic var.
4999         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5000         to return the author if different from committer.
5001         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5003         * play/landmark.el: Adjust commenting convention.
5004         (lm-nil-score): Rename from nil-score.
5005         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5006         (OOOOscore): Move into a let in lm-score-trans-table.
5007         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5009         * electric.el (electric-indent-chars): Autoload.
5010         * progmodes/octave-mod.el (octave-mode):
5011         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5012         (ruby-mode-abbrev-table): Merge initialization and declaration.
5014 2010-10-27  Glenn Morris  <rgm@gnu.org>
5016         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5017         variable.
5019         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5021         * term/ns-win.el: Restore require of cl when compiling.
5022         (menu-bar-final-items): Remove non-existent `windows' menu.
5023         (ns-handle-nxopen): Optionally handle the temp-case.
5024         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5025         (ns-insert-file, ns-find-file): Use `pop'.
5027 2010-10-26  Glenn Morris  <rgm@gnu.org>
5029         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5031 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
5033         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5034         global map.
5035         * term/common-win.el (x-setup-function-keys): Remove most of the
5036         keymappings.  Comment on the remaining ones.
5038 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
5040         * server.el (server-port): New option.  (Bug#854)
5041         (server-start): Use server-port.
5043 2010-10-26  Glenn Morris  <rgm@gnu.org>
5045         * term/ns-win.el (ns-version-string): Remove unused declaration.
5046         (ns-invocation-args): Change to x-invocation-args.
5047         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5048         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5049         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5050         Use x-invocation-args instead of ns-invocation-args.
5051         (ns-initialize-window-system, handle-args-function-alist):
5052         Use x-handle-args instead of ns-handle-args.
5053         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5054         * startup.el (command-line-ns-option-alist): Replace
5055         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5056         ns-handle-iconic with the x- equivalents.
5058         * term/common-win.el (x-select-enable-clipboard):
5059         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5061         * term/ns-win.el: No need to require cl when compiling.
5062         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5063         (xw-defined-colors): Use the common-win definitions.
5064         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5065         (ns-handle-iconic): Make it an alias for x-handle-iconic.
5066         * term/common-win.el (x-select-text, x-alternatives-map)
5067         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5068         * loadup.el [ns]: Load common-win.
5070 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
5072         * epa-mail.el (epa-mail-encrypt): Handle local-part only
5073         recipients; expand mail aliases (Bug#7280).
5075 2010-10-25  Glenn Morris  <rgm@gnu.org>
5077         * term/common-win.el (x-handle-switch): Simplify with pop.
5078         Optionally handle numeric switches.
5079         (x-handle-numeric-switch): Just call x-handle-switch.
5080         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5081         (x-handle-name-switch, x-handle-display, x-handle-args):
5082         Simplify with pop.
5084         * term/ns-win.el: Do not require easymenu.
5085         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5086         <spell>: Move adjustments to menu-bar.el.
5087         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5088         <separator-undo, spell>: Move ns-win's adjustments here.
5089         * loadup.el [ns]: Do not load easymenu.
5091 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5093         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5094         Delete (Bug#7222).
5096         * startup.el (fancy-startup-tail): Instead of using inline images,
5097         refer to image files from etc/.
5099         * wid-edit.el (checkbox): Likewise.
5100         (widget-image-find): Center image specs.
5102 2010-10-24  Glenn Morris  <rgm@gnu.org>
5104         * term/ns-win.el (x-select-text): Doc fix.
5105         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5106         (x-select-text): Move to term/common-win.
5107         * term/w32-win.el (xw-defined-colors): Move to common-win.
5108         * term/x-win.el (xw-defined-colors, x-alternatives-map)
5109         (x-setup-function-keys, x-select-text): Move to common-win.
5110         * term/common-win.el (x-select-text, x-alternatives-map)
5111         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5112         definitions here.
5114 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
5116         * net/mairix.el (mairix-searches-mode-map):
5117         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5119 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
5121         * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5122         auto-built for efficiency of execution and updating.
5123         (verilog-extended-complete-re): Support 'pure' fucntion & task
5124         declarations (these have no bodies).
5125         (verilog-beg-of-statement): General cleanup to enable support of
5126         'pure' fucntion & task declarations (these have no bodies).
5127         These efforts together fix Verilog bug210 from veripool; which was also
5128         noticed by Steve Pearlmutter.
5129         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5130         (verilog-directive-nest-re, verilog-set-auto-endcomments):
5131         Support `elsif.  Reported by Shankar Giri.
5132         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5133         attribute handling for lining up declarations and assignments.
5134         (verilog-beg-of-statement-1): Fix issue where continued declaration
5135         is indented differently if it is after a begin..end clock.
5136         (verilog-in-attribute-p, verilog-skip-backward-comments)
5137         (verilog-skip-forward-comment-p): Support proper treatment of
5138         attributes by indent code.  Reported by Jeff Steele.
5139         (verilog-in-directive-p): Fix comment to correctly describe function.
5140         (verilog-backward-up-list, verilog-in-struct-region-p)
5141         (verilog-backward-token, verilog-in-struct-p)
5142         (verilog-in-coverage-p, verilog-do-indent)
5143         (verilog-pretty-declarations): Use verilog-backward-up-list as
5144         wrapper around backward-up-list inorder to properly skip comments.
5145         Reported by David Rogoff.
5146         (verilog-property-re, verilog-endcomment-reason-re)
5147         (verilog-beg-of-statement, verilog-set-auto-endcomments)
5148         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5149         of if).  Reported by Max Bjurling and
5150         (verilog-calc-1): Fix for clocking block in modport
5151         declaration.  Reported by Brian Hunter.
5153 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
5155         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5156         (verilog-gate-keywords, verilog-read-sub-decls)
5157         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5158         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5159         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
5160         (verilog-read-decls): Fix spaces in V2K module parameters causing
5161         mis-identification as interfaces, bug287.
5162         (verilog-read-decls): Fix not treating "parameter string" as a
5163         parameter in AUTOINSTPARAM.
5164         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5165         treating `elsif similar to `endif inside AUTOSENSE.
5166         (verilog-do-indent): Implement correct automatic or static task or
5167         function end comment highlight.  Reported by Steve Pearlmutter.
5168         (verilog-font-lock-keywords-2): Fix highlighting of single
5169         character pins, bug264.  Reported by Michael Laajanen.
5170         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5171         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5172         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5173         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
5174         (verilog-pretty-expr): Fix interactive arguments, bug272.
5175         Reported by Mark Johnson.
5176         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5177         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5178         bug269.  Suggested by Gary Delp.
5179         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5180         (verilog-preprocessor, verilog-set-compile-command):
5181         Create verilog-preprocess and verilog-preprocessor to show
5182         preprocessed output.
5183         (verilog-get-beg-of-line, verilog-get-end-of-line)
5184         (verilog-modi-file-or-buffer, verilog-modi-name)
5185         (verilog-modi-point, verilog-within-string): Move defmacro's
5186         before first use to avoid warning.  Reported by Steve Pearlmutter.
5187         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5188         (verilog-colorize-region, verilog-highlight-buffer)
5189         (verilog-highlight-includes, verilog-highlight-modules)
5190         (verilog-highlight-region, verilog-mode): Rename colorize to
5191         highlight to match other packages.  Disable module highlighting,
5192         as received speed complaints, reenable for experimentation only
5193         using new verilog-highlight-modules.
5194         (verilog-read-decls): Fix regexp stack overflow in very large
5195         AUTO_TEMPLATEs, bug250.
5196         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5197         (verilog-scan): Create verilog-save-buffer-state to standardize
5198         making insignificant changes that shouldn't call hooks.
5199         (verilog-save-no-change-functions, verilog-save-scan-cache)
5200         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5201         Create verilog-save-no-change-functions to wrap verilog-scan
5202         preservation, and fix to work with nested preserved calls.
5203         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5204         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5205         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
5206         (verilog-submit-bug-report): Update variable list to be complete.
5207         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5208         breaking on-the-fly font-locking.
5209         (verilog-colorize-buffer, verilog-colorize-include-files)
5210         (verilog-colorize-include-files-buffer, verilog-colorize-region)
5211         (verilog-load-file-at-mouse, verilog-load-file-at-point)
5212         (verilog-mode, verilog-read-inst-module-matcher): With point on a
5213         AUTOINST cell instance name, middle mouse button now finds-file on
5214         it.  Suggested by Brad Dobbie.
5215         (verilog-alw-get-temps, verilog-auto-reset)
5216         (verilog-auto-sense-sigs, verilog-read-always-signals)
5217         (verilog-read-always-signals-recurse): Fix loop indexes being
5218         AUTORESET.  AUTORESET now assumes any variables in the
5219         initialization section of a for() should be ignored.
5220         Reported by Dan Dever.
5221         (verilog-error-font-lock-keywords)
5222         (verilog-error-regexp-emacs-alist)
5223         (verilog-error-regexp-xemacs-alist): Fix error detection of
5224         Cadence HAL, reported by David Asher.  Repair drift between the
5225         three similar error variables.
5226         (verilog-modi-lookup, verilog-modi-lookup-cache)
5227         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5228         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5229         Fix slow verilog-auto expansion on very large files.
5230         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5231         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5232         "{1*2{...".  Broke in last revision.
5233         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5234         submodule connections with replications "{#{a},#{b}}".
5236 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
5238         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5239         Fix typo in docstring.
5241 2010-10-24  Kenichi Handa  <handa@m17n.org>
5243         * face-remap.el (text-scale-adjust): Call read-event with a proper
5244         prompt.
5246 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5248         * emacs-lisp/unsafep.el: Don't mark functions that display
5249         messages as safe.  Suggested by Johan Bockgård.
5251 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5253         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5254         Turn comments into docstrings.
5256         * minibuffer.el (completion--replace): Move point where it belongs
5257         when there's a common suffix (bug#7215).
5259 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5261         Merge read-color and facemenu-read-color (Bug#7242).
5263         * faces.el (read-color): Use the completion code from
5264         facemenu-read-color.  Require match in completion.  Doc fix.
5266         * facemenu.el (facemenu-read-color): Alias for read-color.
5267         (facemenu-set-foreground, facemenu-set-background):
5268         Use read-color.
5270         * frame.el (set-background-color, set-foreground-color)
5271         (set-cursor-color, set-mouse-color, set-border-color):
5272         Use read-color.
5274 2010-10-24  Leo  <sdl.web@gmail.com>
5276         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5277         argument of delete-file and delete-directory (Bug#7011).
5279 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5281         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5282         button-buffer-map.
5284 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
5286         * emacs-lisp/package.el (package--generate-package-list): Make the
5287         *Packages* buffer read-only.
5289 2010-10-24  Alan Mackenzie  <acm@muc.de>
5291         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5292         result of `c-beginning-of-decl-1' between invocations of a lambda
5293         function (Bug #7265).
5295 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
5297         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5298         executable is not available on the system (Bug#7268).
5300 2010-10-24  Glenn Morris  <rgm@gnu.org>
5302         * select.el (selection-coding-system, next-selection-coding-system):
5303         Sync doc with C versions.
5305         * w32-vars.el (x-select-enable-clipboard):
5306         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5307         * term/common-win.el (x-select-enable-clipboard): Move here.
5309         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5310         definition of C variable.
5312         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5313         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5314         Don't redefine things that are defined in C.
5315         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5316         (show-trailing-whitespace, auto-hscroll-mode)
5317         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5318         Set up the appropriate custom properties.
5320 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5322         Bind "C-c ]" to ...
5323         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5324         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5325         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5326         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5328 2010-10-23  Glenn Morris  <rgm@gnu.org>
5330         * textmodes/flyspell.el (flyspell-mode): If there was an error,
5331         say what it was.
5333         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5334         Sync docs with C version.
5336         * term/ns-win.el (xw-defined-colors):
5337         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5339         * term/pc-win.el (x-select-enable-clipboard):
5340         * term/x-win.el (x-select-enable-clipboard):
5341         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5343         * comint.el (comint-password-prompt-regexp): Make it less vague.
5344         Bump version.
5346         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5348         * help.el (finder-by-keyword): Remove unnecessary autoload.
5350 2010-10-22  Glenn Morris  <rgm@gnu.org>
5352         * loadup.el: Unconditionally load float-sup.
5353         * paren.el (show-paren-delay):
5354         * emacs-lisp/float-sup.el:
5355         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5356         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5357         (lazy-lock-stealth-verbose): Assume float support.
5358         * ps-print.el: Assume float support on Emacs.
5359         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5360         Remove non-float branch.
5362         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5363         src/Makefile no longer being pre-processed.
5365 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5367         * emacs-lisp/find-func.el (find-library): Use test-completion.
5369 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5371         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5373 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
5375         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5376         space in stat format string.
5377         (tramp-send-command): Unset $PS1 when using here documents, in
5378         order not to get several prompts.
5379         (tramp-get-inline-coding): Return `nil' in case of errors.
5381 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
5383         * hexl.el (hexl-mode, hexl-mode-exit):
5384         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5385         (hexl-revert-buffer-function): New function.
5386         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5388 2010-10-19  Alan Mackenzie  <acm@muc.de>
5390         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5391         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5392         that these keywords aren't wrongly matched as identifiers.
5394         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5395         setting of c-new-BEG and c-new-END from c-before-change to
5396         c-after-change.  (Bug#7181)
5398 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5400         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5401         Don't mark as safe.
5403         * custom.el (custom-theme-set-variables): Likewise.
5404         (load-theme): Add custom-theme-set-faces and
5405         custom-theme-set-variables to safe-functions while loading.
5406         (custom-enabled-themes): Mark as risky.
5408 2010-10-18  Julien Danjou  <julien@danjou.info>
5410         * bindings.el: Remove end dashes in default mode-line-format.
5412 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5414         * bindings.el (global-map): Bind C-d to delete-char and deletechar
5415         to delete-forward-char.
5417         * simple.el (normal-erase-is-backspace-mode): Remap delete to
5418         deletechar, and hence delete-forward-char.
5420 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5422         * repeat.el (repeat): Use read-key (bug#6256).
5424 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5426         * emacs-lisp/unsafep.el: Don't mark functions that display
5427         messages as safe.  Suggested by Johan Bockgård.
5429 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5431         * minibuffer.el (completion--replace): Move point where it belongs
5432         when there's a common suffix (bug#7215).
5434 2010-10-19  Kenichi Handa  <handa@m17n.org>
5436         * international/characters.el: Add category '|' (word breakable)
5437         to fullwidth characters.
5439 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
5441         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5442         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5443         order to make stat results a float.  Patch by Andreas Schwab
5444         <schwab@linux-m68k.org>.
5446 2010-10-18  Julien Danjou  <julien@danjou.info>
5448         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5449         hidden by `make-pointer-invisible'.
5451 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5453         * files.el (locate-file-completion-table): Strip non-matching elements
5454         before checking length of list (bug#7238).
5456 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
5458         * custom.el (custom-theme-set-variables): Mark as a safe function.
5459         (load-theme): Check forms using unsafep.
5461         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5463 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
5465         * textmodes/ispell.el (ispell-aspell-find-dictionary):
5466         Fix aspell data file searching (bug#7230).
5468 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5470         * cus-theme.el (custom-theme--migrate-settings): New var.
5471         (customize-create-theme): Allow editing the `user' theme.
5472         (custom-theme-add-variable, custom-theme-add-var-1)
5473         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5474         to the front of each variable or face widget.
5475         (custom-theme-write): Save theme settings in the correct order.
5476         Optionally, remove saved settings from user customizations.
5477         (custom-theme-write-variables, custom-theme-write-faces):
5478         Save only the checked widgets.
5479         (customize-themes): Add a link for migrating custom settings.
5481         * custom.el (custom-declare-theme, provide-theme):
5482         Use custom-theme-name-valid-p.
5483         (custom-theme-name-valid-p): Remove checks that are now
5484         unnecessary since themes no longer obey load-path.
5486         * cus-edit.el (custom-variable-value-create): For the simple
5487         style, hide documentation string when hidden.
5489 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5491         * cus-edit.el (custom-variable, custom-face): Combine the
5492         :inhibit-magic and :display-style properties into a single
5493         :custom-style property.
5494         (custom-toggle-hide-variable, custom-toggle-hide-face):
5495         New functions.  If hiding an edited value, save it to :shown-value.
5496         (custom-variable-value-create, custom-face-value-create): Use them.
5497         (custom-magic-reset): Allow magic property to be unset.
5499         * custom.el: Custom themes no longer use load-path.
5500         (custom-theme-load-path): New option.  Change built-in theme
5501         directory to etc/.
5502         (custom-enabled-themes): Add custom-theme-load-path dependency.
5503         (custom-theme--load-path): New function.
5504         (load-theme, custom-available-themes): Use it.
5506         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5507         (customize-themes): Link to custom-theme-load-path variable.
5508         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5509         :custom-style property.
5511         * themes/*.el: Moved to etc/.
5513 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
5515         * textmodes/reftex-cite.el
5516         (reftex-extract-bib-entries-from-thebibliography): Do not move
5517         point when searching for \bibitem entries.  Match entries with
5518         spaces or tabs in front of arguments.
5520 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5522         * cus-theme.el (customize-create-theme): Delete overlays after
5523         erasing.  If given a THEME arg, display only the faces of that arg
5524         instead of custom-theme--listed-faces.
5525         (custom-theme-variable-menu, custom-theme-variable-action)
5526         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5527         (custom-theme-add-variable, custom-theme-add-face): Apply value
5528         from the theme settings, instead of the current value.
5529         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5530         (custom-theme-visit-theme): Allow calling outside theme buffers.
5531         (custom-theme-merge-theme): Don't enable the theme when merging.
5532         (custom-theme-write-variables, custom-theme-write-faces): Use the
5533         :shown-value properties to save buffer values, not global ones.
5534         (customize-themes): Display a warning about user customizations.
5536         * cus-edit.el (custom-variable-value-create)
5537         (custom-face-value-create): Obey new special properties
5538         :shown-value and :inhibit-magic.
5540 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
5542         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5543         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
5544         <dale@codefu.org>.
5546 2010-10-14  Kenichi Handa  <handa@m17n.org>
5548         * mail/rmail.el (rmail-show-message-1): Catch an error of
5549         base64-decode-region and just show an error message (bug#7165).
5551         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
5552         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5553         a font-spec (bug#7197).
5555 2010-10-14  Glenn Morris  <rgm@gnu.org>
5557         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5559 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
5561         * international/mule.el (define-coding-system):
5562         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5563         * composite.el (compose-region): Fix typo in docstring.
5565 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
5567         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5568         only after checking the theme-face property.
5570         * faces.el (face-spec-reset-face): Reset all attributes in one
5571         single call to set-face-attribute.
5572         (face-spec-match-p): Make it a defsubst.
5573         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5574         (x-create-frame-with-faces, tty-create-frame-with-faces)
5575         (tty-set-up-initial-frame-faces): Don't recompute face specs in
5576         frame-set-background-mode, since they are recomputed immediately
5577         afterwards in face-set-after-frame-default.
5578         (face-set-after-frame-default): Minor optimization.
5579         (cursor): Provide non-trivial defface spec.
5581         * custom.el (custom-theme-recalc-face): Simplify.
5583 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
5585         * calc/calc-alg.el (math-var): Rename from `var'.
5586         (math-is-polynomial, math-is-poly-rec): Replace `var'
5587         with `math-var'.
5589         * calc/calcalg2.el (math-var): Rename from `var'.
5590         (calcFunc-table, math-scan-for-limits): Replace `var'
5591         with `math-var'.
5593 2010-10-13  Glenn Morris  <rgm@gnu.org>
5595         * subr.el (last): Deal with dotted lists (reported in bug#7174).
5597 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
5599         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5601 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5603         * net/tls.el (tls-program): Remove spurious %s from openssl.
5604         (tls-starttls-switches): Remove starttls hack.
5605         (open-tls-stream): Ditto.
5606         (tls-find-starttls-argument): Ditto.
5608 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
5610         * image.el (image-library-alist): Declare as obsolete alias.
5611         (image-type-available-p): Use `dynamic-library-alist'.
5613         * term/w32-win.el (dynamic-library-alist):
5614         Use instead of `image-library-alist'.
5616 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
5618         * subr.el (last): Make it faster.  (Bug#7174)
5620 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
5622         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
5624 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5626         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5627         (describe-theme-1): Extract doc from unloaded themes.
5629         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5631         * themes/tango-theme.el:
5632         * themes/tango-dark-theme.el:
5633         * themes/wheatgrass-theme.el: New files.
5635 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5637         * cus-theme.el (describe-theme, customize-themes)
5638         (custom-theme-save): New commands.
5639         (custom-new-theme-mode-map): Bind C-x C-s.
5640         (custom-new-theme-mode): Use custom--initialize-widget-variables.
5641         (customize-create-theme): New optional arg THEME.
5642         (custom-theme-revert): Use it.
5643         (custom-theme-visit-theme): Remove dead code.
5644         (custom-theme-merge-theme): Use custom-available-themes.
5645         (custom-theme-write): Make interactive.
5646         (custom-theme-write): Use custom-theme-name-valid-p.
5647         (describe-theme-1, custom-theme-choose-revert)
5648         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5649         New funs.
5650         (custom-theme-allow-multiple-selections): New option.
5651         (custom-theme-choose-mode): New major mode.
5653         * custom.el (custom-theme-set-variables): Remove dead code.
5654         Obey custom--inhibit-theme-enable.
5655         (custom--inhibit-theme-enable): New var.
5656         (provide-theme): Obey it.
5657         (load-theme): Replace load with manual read/eval, in order to
5658         check for correctness.  Use custom-theme-name-valid-p.
5659         (custom-theme-name-valid-p): New function.
5660         (custom-available-themes): Use it.
5662         * cus-edit.el (custom--initialize-widget-variables): New function.
5663         (Custom-mode): Use it.
5665         * cus-face.el (custom-theme-set-faces): Remove dead code.
5666         Obey custom--inhibit-theme-enable.
5668         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5670 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
5672         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5674 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
5676         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5677         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5678         (mac-right-option-modifier): New alias for ns-right-option-modifier.
5680         * cus-start.el (all): ns-right-alternate-modifier is new.
5682 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5684         * emacs-lisp/lisp.el (lisp-completion-at-point):
5685         Use emacs-lisp-mode-syntax-table for the whole function.
5687 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
5689         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5690         instead of font-lock-mode before adding keywords.
5691         Remove hi-lock-mode off code.  Remove inhibit hack.
5692         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5693         non-nil; removed hook inhibit hack.
5695 2010-10-12  Glenn Morris  <rgm@gnu.org>
5697         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5698         (load-path-shadows-find): ... to this.
5699         (list-load-path-shadows): Update for above change.
5701         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5703 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
5705         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5706         Fix comment for declare-function.
5708 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
5710         * custom.el (custom-fix-face-spec): New function; code moved from
5711         custom-face-edit-fix-value.
5712         (custom-push-theme): Use it when checking if a face has been
5713         changed outside customize.
5714         (custom-available-themes): New function.
5715         (load-theme): Use it.
5717         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5719         * custom.el (custom-push-theme): Cleanup (use cond).
5720         (disable-theme): Recompute the saved-face property.
5721         (custom-theme-recalc-face): Follow face alias before setting prop.
5723         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5724         New variables, containing checkbox images.
5726         * startup.el (fancy-startup-tail):
5727         * wid-edit.el (checkbox): Use them.
5729 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
5731         * shell.el (shell-mode-map):
5732         * progmodes/modula2.el (m2-mode-map):
5733         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5734         * play/mpuz.el (mpuz-mode-map):
5735         * play/landmark.el (lm-mode-map):
5736         * play/decipher.el (decipher-mode-map):
5737         * play/5x5.el (5x5-mode-map):
5738         * net/telnet.el (telnet-mode-map):
5739         * net/quickurl.el (quickurl-list-mode-map):
5740         * net/mairix.el (mairix-searches-mode-map):
5741         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5742         * net/dig.el (dig-mode-map):
5743         * mail/mspools.el (mspools-mode-map):
5744         * hexl.el (hexl-mode-map):
5745         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5746         (wordstar-C-o-map, wordstar-C-q-map):
5747         * emacs-lisp/edebug.el (edebug-eval-mode-map):
5748         * emacs-lisp/chart.el (chart-map):
5749         * edmacro.el (edmacro-mode-map):
5750         * erc/erc-list.el (erc-list-menu-mode-map):
5751         * array.el (array-mode-map): Declare and define in one step.
5753         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5755 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
5757         * epa.el (epa-passphrase-callback-function): Display filename
5758         passed as the 3rd arg.
5759         * epa-file.el (epa-file-passphrase-callback-function):
5760         Pass filename to epa-passphrase-callback-function.
5762 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
5764         * cus-edit.el (custom-face-widget-to-spec)
5765         (custom-face-get-current-spec, custom-face-state): New functions.
5766         (custom-face-set, custom-face-mark-to-save)
5767         (custom-face-value-create, custom-face-state-set): Use them.
5769         * cus-theme.el (custom-theme--listed-faces): New var.
5770         (customize-create-theme): Use *Custom Theme* as the buffer name.
5771         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
5772         faces listed in custom-theme--listed-faces.
5773         (custom-theme-revert): New function.
5774         (custom-theme-add-variable, custom-theme-add-face): Insert at the
5775         bottom of the list.
5776         (custom-theme-write): Prompt for theme name if empty.
5777         (custom-theme-write-variables): Use dolist.
5778         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5780 2010-10-09  Alan Mackenzie  <acm@muc.de>
5782         Enhance fontification of declarators to take account of the
5783         presence/absence of "typedef".
5785         * cc-engine.el (c-forward-type): New &optional param
5786         "brace-block-too".
5787         (c-forward-decl-or-cast-1): cdr of return value now indicates the
5788         presence of either or both of a "struct"-like keyword and "typedef".
5790         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5791         fontification of declarators which follow a "}".
5792         (c-font-lock-declarations): Fontify declarators according to the
5793         presence/absence of "typedef".
5795         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5796         for "typedef".
5797         (c-typedef-decl-key): New lang variable built from
5798         c-typedef-decl-kwds.
5800 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5802         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5803         since that's too annoying.  Move the filter groups commands to
5804         TAB/backtab.
5806         * epa.el (epa-passphrase-callback-function): Say what we're
5807         querying the password for.
5809         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5810         behaviour, don't bury the ibuffer buffer when visiting other buffers.
5812 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5814         * cus-edit.el (custom-commands, custom-buffer-create-internal)
5815         (custom-magic-value-create): Pad button tags with spaces.
5816         (custom-face-edit): New variable.
5817         (custom-face-value-create): Determine whether to use the usual
5818         face editor here, instead of using custom-face-selected.
5819         Pass face defaults to custom-face-edit widget.
5820         (custom-face-selected, custom-display-unselected): Delete widgets.
5821         (custom-display-unselected-match): Function removed.
5822         (custom-face-set, custom-face-mark-to-save):
5823         Accept custom-face-edit widgets as the direct widget child.
5825         * wid-edit.el (widget--completing-widget): New var.
5826         (widget-default-complete): Bind it when doing completion.
5827         (widget-string-complete, widget-file-complete): Use it.
5829 2010-10-09  Glenn Morris  <rgm@gnu.org>
5831         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5832         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5833         (holiday-hebrew-misc): Small simplifications.
5835         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5837         * net/browse-url.el: Don't require thingatpt, term, dired,
5838         executable, or w3-auto when compiling.
5839         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5840         Declare.
5841         (browse-url-text-emacs): Require term.
5843 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
5845         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5847 2010-10-08  Glenn Morris  <rgm@gnu.org>
5849         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5851         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5852         (shadows-compare-text-p): Make it an obsolete alias for...
5853         (load-path-shadows-compare-text): ... new name.
5854         (find-emacs-lisp-shadows): Update for above name change.
5855         (load-path-shadows-same-file-or-nonexistent): New name for the old
5856         shadow-same-file-or-nonexistent.
5858 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5860         * minibuffer.el (completion--some, completion--do-completion)
5861         (minibuffer-complete-and-exit, minibuffer-completion-help)
5862         (completion-basic-try-completion)
5863         (completion-basic-all-completions)
5864         (completion-pcm--find-all-completions): Use lexical-let to
5865         avoid some false matches in variable completion (Bug#7056)
5867 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
5869         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
5871 2010-10-08  Leo  <sdl.web@gmail.com>
5873         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5874         return non-nil if the file exists (Bug#7090).
5876 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5878         * minibuffer.el (completion--replace):
5879         Better preserve markers (bug#7138).
5881 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
5883         * server.el (server-process-filter): Doc fix.
5885 2010-10-08  Drew Adams  <drew.adams@oracle.com>
5887         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
5889 2010-10-08  Glenn Morris  <rgm@gnu.org>
5891         * vc/ediff-wind.el (ediff-setup-control-frame):
5892         * vc/ediff-ptch.el (ediff-default-backup-extension):
5893         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5894         (ediff-exec-process): Remove system-types emx, windows-95.
5896         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
5898 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
5900         * cus-edit.el (custom-variable, custom-face): Doc fix.
5901         (custom-face-edit): Add value-create attribute.
5902         (custom-face-edit-value-create)
5903         (custom-face-edit-value-visibility-action): New functions.
5904         Hide unused face attributes by default, and add a visibility toggle.
5905         (custom-face-edit-deactivate): Show empty values with shadow face.
5906         (custom-face-selected): Only use this for face specs with default
5907         attributes.
5908         (custom-face-value-create): Cleanup.
5910         * wid-edit.el (widget-checklist-value-create): Use dolist.
5911         (widget-checklist-match-find): Make second arg optional.
5913 2010-10-07  Glenn Morris  <rgm@gnu.org>
5915         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5916         Prefix things.
5918         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5919         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5920         load-path-shadows-mode, update references.
5921         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5922         Rename variable and button.
5923         (list-load-path-shadows): Update button caller.
5925 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5927         * emacs-lisp/smie.el (smie-bnf-classify): New function.
5928         (smie-bnf-precedence-table): Use it to remember the closers/openers.
5929         (smie-merge-prec2s): Handle those new entries.
5930         (smie-prec2-levels): Only set precedence to nil for actual
5931         openers/closers.
5932         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5933         that is now unnecessary.
5935 2010-10-07  Miles Bader  <miles@gnu.org>
5937         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5939 2010-10-07  Glenn Morris  <rgm@gnu.org>
5941         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5942         (mail-position-on-field): Remove declarations.
5943         (mail-position-on-field): Autoload it.
5944         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5945         and mail-header-end.  Don't require sendmail.
5947         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5948         (shadow-mode): New mode.
5949         (shadow-find-file): New button.
5950         (list-load-path-shadows): Use shadow-mode and buttons.
5952         * iimage.el (iimage-version): Remove.
5953         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5954         Turn into defcustoms.
5955         (iimage-mode-map): Give it a doc string.
5957         * calendar/appt.el (appt-activate): Give a warning rather than an error
5958         if there is no diary-file.
5960 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
5962         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5963         Use `tramp-handle-find-backup-file-name'.
5965 2010-10-06  Glenn Morris  <rgm@gnu.org>
5967         * font-core.el (font-lock-defaults-alist): Remove variable.
5968         (font-lock-mode): Doc fix.
5969         (font-lock-default-function): Do not consult font-lock-defaults-alist.
5970         * font-lock.el (font-lock-refresh-defaults): Doc fix.
5971         (font-lock-set-defaults): Doc fix.
5972         Do not consult font-lock-defaults-alist.
5974         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5976         * emacs-lisp/cl.el: No longer provide cl-19.
5978 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
5980         * net/tramp.el (tramp-handle-directory-files-and-attributes)
5981         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5982         New defuns, taken from tramp-smb.el.
5983         (tramp-coding-system-change-eol-conversion)
5984         (tramp-set-process-query-on-exit-flag): Remove.
5986         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5987         (tramp-compat-coding-system-change-eol-conversion)
5988         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5989         from tramp.el.
5991         * net/tramp-gvfs.el:
5992         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5993         by `tramp-compat-set-process-query-on-exit-flag'.
5995         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5996         Use `tramp-handle-directory-files-and-attributes',
5997         `tramp-handle-file-exists-p' and
5998         `tramp-handle-file-newer-than-file-p'.
5999         (tramp-imap-handle-file-exists-p)
6000         (tramp-imap-handle-file-executable-p)
6001         (tramp-imap-handle-file-readable-p)
6002         (tramp-imap-handle-directory-files-and-attributes)
6003         (tramp-imap-handle-file-newer-than-file-p): Remove.
6005         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6006         by `tramp-compat-set-process-query-on-exit-flag' and
6007         `tramp-coding-system-change-eol-conversion' by
6008         `tramp-compat-coding-system-change-eol-conversion'.
6010         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6011         Use `tramp-handle-directory-files-and-attributes',
6012         `tramp-handle-file-exists-p' and
6013         `tramp-handle-file-newer-than-file-p'.
6014         (tramp-smb-handle-directory-files-and-attributes)
6015         (tramp-smb-handle-file-exists-p)
6016         (tramp-smb-handle-file-newer-than-file-p): Remove.
6017         (tramp-smb-maybe-open-connection):
6018         Replace `tramp-set-process-query-on-exit-flag' by
6019         `tramp-compat-set-process-query-on-exit-flag'.
6021 2010-10-05  Glenn Morris  <rgm@gnu.org>
6023         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6025 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
6027         Continue reorganization of load dependencies.  (Bug#7156)
6029         * net/tramp.el (tramp-handle-file-local-copy-hook)
6030         (tramp-delete-temp-file-function): Move down.
6031         (tramp-exists-file-name-handler): Move up.
6032         (tramp-register-file-name-handlers): Simplify autoload.
6033         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6034         (tramp-handle-directory-files, tramp-handle-dired-uncache)
6035         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6036         (tramp-handle-file-name-completion)
6037         (tramp-handle-file-name-directory)
6038         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6039         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6040         (tramp-handle-find-backup-file-name)
6041         (tramp-handle-insert-file-contents, tramp-handle-load)
6042         (tramp-handle-substitute-in-file-name)
6043         (tramp-handle-unhandled-file-name-directory)
6044         (tramp-mode-string-to-int, tramp-local-host-p)
6045         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6047         * net/tramp-gvfs.el (top):
6048         * net/tramp-smb.el (top): Do not require 'tramp-sh.
6050         * net/tramp-sh.el (all): Move several objects to tramp.el, see
6051         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6053 2010-10-04  Glenn Morris  <rgm@gnu.org>
6055         * calendar/appt.el (appt-add): Ensure reminders are enabled.
6056         (appt-activate): Give status messages.
6058 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6060         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
6061         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6062         `gnutls-negotiate' (formerly `starttls-negotiate').
6063         Remove trivial wrapper `starttls-open-stream'.
6065 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
6067         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6068         log-outgoing commands.
6069         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6070         to create a buffer local revert-buffer-function variable.
6071         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6072         revert-buffer-function lambda.
6074 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6076         * net/gnutls.el (starttls-negotiate): Use the plist interface to
6077         `gnutls-boot'.  Make TYPE the only required parameter.
6078         Allow TRUSTFILES and KEYFILES to be lists.
6079         (open-ssl-stream): Use it.
6081 2010-10-03  Glenn Morris  <rgm@gnu.org>
6083         * subr.el (directory-sep-char): Remove obsolete variable.
6084         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6085         it is "necessary".
6087         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6088         * vc/vc.el (vc-static-header-alist): Doc fix.
6089         * vc/vc-cvs.el (vc-cvs-header):
6090         * vc/vc-rcs.el (vc-rcs-header):
6091         * vc/vc-sccs.el (vc-sccs-header):
6092         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6093         * obsolete/vc-mcvs.el (vc-mcvs-header):
6094         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6095         on XEmacs.
6097 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6099         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6100         Remove obsolete use of binary-overwrite-mode (Bug#7001).
6102 2010-10-03  Glenn Morris  <rgm@gnu.org>
6104         * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6106         * textmodes/rst.el (rst-font-lock-keywords-function):
6107         Drop Emacs 20 code.
6109         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6111         * printing.el: Drop Emacs 20 code.
6113         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6114         without having used appt.el already).
6116         * subr.el (make-local-hook): Remove function obsolete since 21.1.
6117         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6118         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6119         XEmacs.
6120         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6121         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6123         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6124         (charset-width, find-charset-region, chars-in-region, forward-point)
6125         (encode-coding-string, coding-system-p, ccl-execute-on-string)
6126         (define-ccl-program, multibyte-string-p, string-make-multibyte):
6127         Remove compatibility cruft (none of these are used by ps*.el).
6129 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
6131         * subr.el (booleanp): Return t instead of a list (Bug#7086).
6133 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6135         * server.el (server-process-filter, server-return-error):
6136         Give emacsclient time to shut down after receiving an error string.
6138 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
6140         * files.el (remote-file-name-inhibit-cache): New defcustom.
6142         * time.el (display-time-file-nonempty-p):
6143         Use `remote-file-name-inhibit-cache'.
6145         * net/tramp.el (tramp-completion-reread-directory-timeout):
6146         Fix docstring.
6148         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6149         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6150         `remote-file-name-inhibit-cache'.  Check also for an integer
6151         value.  Add/increase counter when `tramp-verbose' >= 10.
6152         (tramp-set-file-property): Add/increase counter when
6153         `tramp-verbose' >= 10.
6155         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6156         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6157         (tramp-bug): Set tramp-autoload cookie.  Report all interned
6158         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
6159         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
6160         characters only in strings.
6162         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6163         to backward compatibility.
6165         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6166         (tramp-handle-file-name-all-completions)
6167         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6168         (tramp-open-connection-setup-interactive-shell):
6169         Call `tramp-cleanup-connection' directly.
6171 2010-10-02  Glenn Morris  <rgm@gnu.org>
6173         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6175         * subr.el (char-bytes): Remove obsolete function.
6177         * isearch.el (isearch-return-char): Remove obsolete function.
6179         * mouse.el: No longer provide mldrag.
6180         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6181         Remove obsolete aliases.
6183         * comint.el (comint-kill-output): Remove obsolete alias.
6185         * composite.el (decompose-composite-char): Remove obsolete function.
6186         * ps-def.el (decompose-composite-char): Remove unused function.
6188         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6190         * outline.el (outline-visible): Remove obsolete function.
6192         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6193         * faces.el (internal-find-face, internal-get-face)
6194         (frame-update-faces, frame-update-face-colors)
6195         (x-frob-font-weight, x-frob-font-slant)
6196         (internal-frob-font-weight, internal-frob-font-slant)
6197         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6198         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6199         (x-make-font-bold-italic): Remove functions and aliases, obsolete
6200         since Emacs 21.1.
6201         * emulation/viper-util.el (viper-get-face):
6202         * obsolete/lucid.el (find-face, get-face): Use facep.
6203         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6204         Remove unused functions.
6205         * vc/ediff-util.el (ediff-submit-report): Doc fix.
6207         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6208         delete tempfile if interrupted during compilation.
6210 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6212         * net/tls.el (tls-starttls-switches): Give up on using starttls with
6213         gnutls-cli.
6214         (tls-program): Add --insecure to be consistent with the defaults from
6215         openssl s_client.  Now all three commands are insecure.
6217 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
6219         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6220         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6221         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6223 2010-10-01  Glenn Morris  <rgm@gnu.org>
6225         * obsolete/sc.el: Remove file.
6227         * files.el (temporary-file-directory): On darwin, also try
6228         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6230 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
6232         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6233         Let's not break compatibility gratuitously, shall we?
6235 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6237         * net/tls.el (tls-starttls-switches): New variable.
6238         (tls-find-starttls-argument): Use it.
6239         (open-tls-stream): Ditto.
6241         * net/netrc.el (netrc-credentials): Return the value of the "default"
6242         entry.
6243         (netrc-machine): Ditto.
6245 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
6247         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6249 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
6251         * server.el (server-start): Don't write pid to the authentication file.
6252         (server-create-tty-frame): Don't send pid.
6253         (server-process-filter): Send pid at the start of every connection.
6255 2010-09-30  Glenn Morris  <rgm@gnu.org>
6257         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6258         (show-all-diary-entries): Remove obsolete function aliases.
6260         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6261         Remove options, obsolete since 22.1.
6262         (appt-display-format, appt-display-message):
6263         Remove backwards-compatibility code.
6264         (appt-check): No longer check appt-issue-message.
6265         (appt-make-list): No longer autoload it.  Doc fix.  No longer
6266         activate the package.
6268 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6270         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6271         (starttls-negotiate): Just call boot, and let the handshake be
6272         triggered from the read loop.
6274 2010-09-29  Glenn Morris  <rgm@gnu.org>
6276         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6277         not displaying the diary.
6278         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6279         * calendar/appt.el (appt-check): No longer need to kill diary.
6281         * calendar/diary-lib.el (diary-list-entries): Move the
6282         "Preparing..." message entirely here.
6283         (diary-simple-display, diary-fancy-display): Move "Preparing..."
6284         messages to diary-list-entries.
6285         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6286         diary-display-function.
6288         * calendar/diary-lib.el (diary-include-other-diary-files):
6289         Trap some recursive includes.
6291         * calendar/appt.el (appt-activate): Check diary file.
6293 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
6295         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6296         construction.
6298         * calendar/time-date.el: No need to require cl for Emacs 21.
6300 2010-09-28  Glenn Morris  <rgm@gnu.org>
6302         * calendar/appt.el (appt-check): Minor simplification.
6304 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
6306         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6307         citation prefix.
6309 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
6311         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6312         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
6314 2010-09-27  Kenichi Handa  <handa@m17n.org>
6316         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6317         "ustar" format.
6319 2010-09-27  Kenichi Handa  <handa@m17n.org>
6321         * international/mule.el (define-coding-system): Docstring fixed.
6323         * international/mule-diag.el (describe-character-set): Use princ
6324         with proper print-length and print-level instead of insert.
6326 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
6328         * window.el (walk-windows): Doc fix (bug#7105).
6330 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6332         * emacs-lisp/float-sup.el (e): Remove.
6334 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
6336         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6337         variable.
6338         (starttls-negotiate): Use it.
6340 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6342         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6343         back.
6345 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6347         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6349 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6351         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6353         * net/netrc.el (netrc-store-data): New function.
6355 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
6357         * net/gnutls.el: GnuTLS glue code to set up a connection.
6359 2010-09-25  Julien Danjou  <julien@danjou.info>
6361         * notifications.el: Call dbus-register-signal only if it is bound.
6363 2010-09-25  Glenn Morris  <rgm@gnu.org>
6365         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6366         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6367         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6368         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6369         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6370         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6371         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6372         * eshell/esh-util.el, eshell/esh-var.el:
6373         Remove leading `*' from docs of faces and defcustoms.
6375 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
6377         * eshell/em-ls.el (eshell-ls-archive-regexp):
6378         * eshell/esh-util.el (eshell-tar-regexp):
6379         * ibuffer.el (ibuffer-compressed-file-name-regexp):
6380         * info.el (Info-suffix-list):
6381         * international/mule.el (auto-coding-alist):
6382         * woman.el (woman-file-regexp, woman-file-compression-regexp):
6383         * progmodes/etags.el (tags-compression-info-list):
6384         Support xz compression.
6386 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
6388         * files.el (get-free-disk-space): Don't assume the "df" output
6389         columns line up (Bug#6995).
6391 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6393         * finder.el (finder-unknown-keywords):
6394         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6395         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6397 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6399         * server.el (server-start): Revert part of 2010-08-08 change.  Using
6400         address 127.0.0.1 for local host is now done in Fmake_network_process.
6402 2010-09-24  Glenn Morris  <rgm@gnu.org>
6404         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6405         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6406         * textmodes/css-mode.el, textmodes/dns-mode.el:
6407         Move autoloaded auto-mode-alist entries to files.el.
6408         * files.el (auto-mode-alist): Move entries here.
6410 2010-09-23  Glenn Morris  <rgm@gnu.org>
6412         * isearch.el (isearch-lazy-highlight-cleanup)
6413         (isearch-lazy-highlight-initial-delay)
6414         (isearch-lazy-highlight-interval)
6415         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6416         * net/net-utils.el (ipconfig-program-options):
6417         Move aliases to options before the associated definitions.
6419 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6421         * newcomment.el (comment-normalize-vars): Better test validity of
6422         comment-end-skip.
6424 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6426         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6427         (float-e): New name for `e'.
6428         (degrees-to-radians, radians-to-degrees):
6429         * calendar/solar.el (solar-longitude):
6430         * calculator.el (calculator-registers, calculator-funcall):
6431         * textmodes/artist.el (artist-spray-random-points):
6432         * play/bubbles.el (bubbles--initialize-images): Use new names.
6434 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
6436         Update to CEDET 1.0's version of EIEIO.
6438         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6439         New function.
6440         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6441         (eieio-default-eval-maybe): Eval val instead of unquoting only.
6442         (class-precedence-list): If class is nil, return nil.
6443         (eieio-generic-call): If class of first input arg is nil, don't
6444         look up static methods, and do check for primary methods.
6445         (initialize-instance): See if the default needs to be evaluated
6446         during the constructor.
6447         (eieio-perform-slot-validation-for-default): Don't do the check
6448         for values that will eventually be evaluated.
6449         (eieio-eval-default-p): New function.
6450         (eieio-default-eval-maybe): Use it.
6452 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6454         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6455         method-invocation-order.
6456         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6457         (eieio-class-precedence-dfs): Compute class precedence list using
6458         dfs algorithm.
6459         (eieio-class-precedence-bfs): Compute class precedence list using
6460         bfs algorithm.
6461         (eieio-class-precedence-c3): Compute class precedence list using
6462         c3 algorithm.
6463         (class-precedence-list): New function.
6464         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6465         (inconsistent-class-hierarchy): New error symbol.
6466         (call-next-method): Stow the replacement argument list for future
6467         call-next-method invocations.
6469 2010-09-23  Glenn Morris  <rgm@gnu.org>
6471         * calendar/appt.el (appt-check): If not displaying the diary,
6472         use (diary 1) to only get the entries we need.
6473         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6474         that it is in day order.  (Bug#7019)
6476         * calendar/appt.el (appt-check): Rather than showing the diary,
6477         just turn off invisible display, and only if needed.
6479         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
6481 2010-09-23  Glenn Morris  <rgm@gnu.org>
6483         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6484         (byte-compile-defvar, byte-compile-cl-warn):
6485         Start warnings with lower-case, like the majority.
6487         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6489         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
6491         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6492         * files.el (auto-mode-alist): Move ld-script entries here, further down
6493         the list.
6495         * vc/add-log.el: Don't require timezone when compiling.
6496         (timezone-make-date-sortable): Autoload it.
6497         (change-log-sortable-date-at): Don't require timezone.
6498         Use `ignore-errors'.
6500         * comint.el (comint-use-prompt-regexp-instead-of-fields):
6501         Move alias before definition, so it does not need autoloading.
6503         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6504         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6505         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6506         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6507         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6508         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6509         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6510         * textmodes/tex-mode.el, textmodes/two-column.el:
6511         Remove leading `*' from docs of defcustoms etc.
6513 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
6515         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6517 2010-09-22  Dan Christensen  <jdc@uwo.ca>
6519         * calendar/time-date.el (date-to-time): Try using parse-time-string
6520         first before using the slower timezone-make-date-arpa-standard.
6522 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
6524         * calendar/time-date.el (format-seconds): Comment fix.
6526 2010-09-22  Glenn Morris  <rgm@gnu.org>
6528         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6529         is not automatically buffer-local.
6531 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6533         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6534         (smie-indent-comment): Be more careful with comment-start-skip.
6535         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6536         (smie-indent-functions): Use them.
6538 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
6540         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6542 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
6544         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6545         tool-bar-position.  Don't modify frame parameters here.
6546         (menu-bar-options-save): Add tool-bar-position.
6548         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6550 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6552         * textmodes/reftex-parse.el (reftex-what-macro)
6553         (reftex-context-substring): Let-bind forward-sexp-function to nil
6554         since we don't need/want to treat \begin...\end as a block (bug#7053).
6556         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6558         * simple.el (blink-matching-open): Use syntax-class.
6560         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6561         Set invisibility spec for pascal's outline mode.
6562         (pascal-outline-change): Clean up calling convention.
6563         (pascal-show-all, pascal-hide-other-defuns): Update callers.
6565         * progmodes/prolog.el (prolog-smie-forward-token)
6566         (prolog-smie-backward-token): New functions.
6567         (prolog-mode-variables): Use them to parse "!," correctly.
6568         Set up smie-blink-matching for ".".
6570         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6571         and `end'.
6572         (ispell-region, ispell-process-line): Update users.
6574         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6575         point-min==1.
6577         * textmodes/ispell.el: Fix commenting convention.
6578         (ispell-parse-output): Simplify, use push.
6579         (ispell-region): Use match-string-no-properties.
6580         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6581         (ispell-minor-mode): Use define-minor-mode.
6582         (ispell-message): Remove unused var `skip-regexp'.
6583         (ispell-add-per-file-word-list): Use dynamic let-binding.
6584         Try and use the proper comment marker.
6586         * mail/sendmail.el: Fix commenting convention.
6587         (sendmail-send-it): Use line-beginning-position.
6589         * help-fns.el (describe-variable): Add original value, if applicable.
6591 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
6593         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6595         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6597 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6599         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6600         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6601         (smie-prec2-levels): Use them to better diagnose precedence cycles.
6602         (smie-blink-matching-check): Don't signal a mismatch if car is t.
6603         (smie-blink-matching-open): Rewrite to remove assumptions, so that
6604         something like "." can also be a closer.
6605         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6606         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6607         Rename internal functions to use "--".  Update callers.
6609         * frame.el (make-frame-names-alist): Don't list frames on other displays.
6611         * fringe.el (fringe-styles): New var.
6612         (fringe-mode, fringe-query-style): Use it.
6614 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
6616         * progmodes/sql.el: Version 2.8
6617         (sql-login-params): Update widget structure; changes still needed.
6618         (sql-product-alist): Add :list-all and :list-table features for
6619         SQLite, Postgres and MySQL products.
6620         (sql-redirect): Handle default value.
6621         (sql-execute, sql-execute-feature): New functions.
6622         (sql-read-table-name): New function.
6623         (sql-list-all, sql-list-table): New functions.  User API.
6624         (sql-mode-map, sql-interactive-mode-map): Add key definitions
6625         for above functions.
6626         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6627         for above functions.
6628         (sql-postgres-login-params): Add user and database defaults.
6629         (sql-buffer-live-p): Bug fix.
6630         (sql-product-history): New variable.
6631         (sql-read-product): New function.  Use it.
6632         (sql-set-product, sql-product-interactive): Use it.
6633         (sql-connection-history): New variable.
6634         (sql-read-connection): New function.  Use it.
6635         (sql-connect): New function.
6636         (sql-for-each-login): Redesign function interface.
6637         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6638         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
6639         (sql-comint): Check for program.  Existing live buffer.
6640         (sql-comint-postgres): Add port parameter.
6642 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6644         * emacs-lisp/warnings.el: Fix commenting convention.
6645         (display-warning): Use special mode and make the buffer read-only.
6647 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
6649         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6650         empty string when it follows a repeated or optional pattern.
6652 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6654         * indent.el (indent-according-to-mode): Apply syntax-propertize.
6655         (indent-region): Use indent-according-to-mode.
6657 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
6659         * fringe.el (fringe-mode): Doc fix.
6661 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
6663         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6664         refreshing the preview buffer.
6666 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6668         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6669         (latex-syntax-propertize-rules): New consts; replace
6670         tex-font-lock-syntactic-keywords.
6671         (tex-env-mark, latex-env-before-change): New functions.
6672         (latex-electric-env-pair-mode): New minor mode.
6673         (tex-font-lock-verb): Change arguments; do move point.
6674         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6675         representation as a form of comment.
6676         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6677         (doctex-syntax-propertize-rules): New const; replaces
6678         doctex-font-lock-syntactic-keywords.
6679         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6681         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6682         (fortran-make-syntax-propertize-function): New function; replaces
6683         fortran-font-lock-syntactic-keywords.
6684         (fortran-mode): Use it.
6685         (fortran-line-length): Use it.  Improve interactive spec.
6687         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6688         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
6689         when adding surrounding \(..\).
6691         * progmodes/js.el (js-mode): Fix last change (bug#7054).
6693 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6695         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6696         Use with-current-buffer.
6698         * isearch.el (isearch-face): Rename from `isearch'.
6699         (isearch-highlight): Use new name.
6701 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
6703         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6704         5, for `half' width fringes.  (Bug#6933)
6706 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6708         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6709         (byte-compile-defvar): "foo/bar" does not lack a prefix.
6711         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6713 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
6715         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6716         in calculating new frame position.  Add more space between new and
6717         parent on the left (Bug#7048).
6719 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
6721         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6722         defmacro.
6724 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
6726         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6728         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6729         obsolete alias for x-selection-value.
6731         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6733 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
6735         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6736         cookie.
6738 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
6740         * net/tramp-compat.el (tramp-compat-with-temp-message)
6741         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6742         (tramp-compat-process-put): New defuns.
6744         * net/tramp.el (top):
6745         * net/tramp-gvfs.el (top):
6746         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6748         * net/tramp.el (tramp-progress-reporter-update):
6749         Use `tramp-compat-funcall'.
6751         * net/tramp.el (tramp-process-actions):
6752         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6753         * net/tramp-sh.el (tramp-handle-vc-registered)
6754         (tramp-get-remote-stat, tramp-get-remote-readlink):
6755         Use `tramp-compat-with-temp-message'.
6757         * net/tramp-sh.el (top): Require 'cl.
6758         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6759         (tramp-open-connection-setup-interactive-shell):
6760         Use `tramp-compat-process-put'.
6762 2010-09-15  Alan Mackenzie  <acm@muc.de>
6764         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6765         indentation.
6766         (c-forward-<>-arglist-recur): Fix an infinite recursion.
6768 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6770         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6771         `lexical' for warnings related to lexical scoping.
6772         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6773         global vars which don't have a prefix and could hence affect lexical
6774         scoping in unrelated files.
6776 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6778         * net/imap.el: Revert back to version
6779         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6780         seem problematic.
6782 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
6784         * obsolete/old-whitespace.el (whitespace-unload-function):
6785         Explicitly pass `obarray' to `unintern' to avoid a warning.
6787 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6789         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6790         Add `when' argument.  Update callers.
6792         * subr.el (unintern): Declare the obarray arg mandatory.
6794 2010-09-14  Glenn Morris  <rgm@gnu.org>
6796         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6797         Doc fixes.
6799         * calendar/diary-lib.el (diary-included-files): New variable.
6800         (diary-list-entries): Maybe initialize diary-included-files.
6801         (diary-include-other-diary-files): Append to diary-included-files.
6802         * calendar/appt.el (appt-update-list): Also check the members of
6803         diary-included-files.  (Bug#6999)
6804         (appt-check): Doc fix.
6806 2010-09-14  David Reitter  <david.reitter@gmail.com>
6808         * simple.el (line-move-visual): Do not truncate goal column to
6809         integer size.  (Bug#7020)
6811 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6813         * repeat.el (repeat): Allow repeating when the last event is a click.
6814         Suggested by Drew Adams (bug#6256).
6816 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
6818         * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
6819         Replace setting HGRCPATH to "" by some less invasive --config options.
6821 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6823         * font-lock.el (font-lock-beginning-of-syntax-function):
6824         Mark as obsolete.
6826 2010-09-14  Glenn Morris  <rgm@gnu.org>
6828         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6829         and tool-bar modes.  (Bug#6211)
6830         (menu-bar-mode): Move setting of standard-value after the
6831         minor-mode definition, otherwise it seems to have no effect.
6833 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
6835         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6836         Fix typo.  (Bug#6976)
6838 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6840         * whitespace.el: Allow cleaning up blanks without blank
6841         visualization (Bug#6651).  Adjust help window for
6842         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6843         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
6844         (whitespace-style): Add new value 'face.  Adjust docstring.
6845         (whitespace-space, whitespace-hspace, whitespace-tab):
6846         Adjust foreground property face.
6847         (whitespace-line-column): Adjust docstring and type declaration.
6848         (whitespace-style-value-list, whitespace-toggle-option-alist)
6849         (whitespace-help-text): Adjust const initialization.
6850         (whitespace-toggle-options, global-whitespace-toggle-options):
6851         Adjust docstring.
6852         (whitespace-display-window, whitespace-interactive-char)
6853         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6854         (whitespace-help-scroll): New fun.
6856 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6858         * calendar/time-date.el (format-seconds): Comment fix.
6860 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
6862         * progmodes/sql.el: Version 2.7.
6863         (sql-buffer-live-p): Improve detection.
6864         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6865         (sql-set-sqli-buffer): Use it.
6866         (sql-product-interactive): Run `sql-set-sqli-hook'.
6867         (sql-rename-buffer): Code cleanup.
6868         (sql-redirect, sql-redirect-value): New functions.  More to come.
6870 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
6872         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.
6873         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6874         (TRAMP_SRC): New macro.
6875         ($(lisp)/net/tramp-loaddefs.el): New target.
6877 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
6879         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
6881         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
6883         * net/tramp.el (top): Don't show loading message.  Require just
6884         'tramp-compat, everything else is required there.
6885         Use `ignore-errors' where appropriate.
6886         (tramp-inline-compress-start-size, tramp-copy-size-limit)
6887         (tramp-terminal-type, tramp-end-of-output)
6888         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6889         (tramp-completion-function-alist-ssh)
6890         (tramp-completion-function-alist-telnet)
6891         (tramp-completion-function-alist-su)
6892         (tramp-completion-function-alist-putty, tramp-remote-path)
6893         (tramp-remote-process-environment, tramp-sh-extra-args)
6894         (tramp-actions-before-shell, tramp-uudecode)
6895         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6896         (tramp-perl-file-attributes)
6897         (tramp-perl-directory-files-and-attributes)
6898         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6899         (tramp-perl-encode, tramp-perl-decode)
6900         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6901         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6902         (tramp-handle-make-symbolic-link, tramp-handle-load)
6903         (tramp-handle-file-name-as-directory)
6904         (tramp-handle-file-name-directory)
6905         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6906         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6907         (tramp-do-file-attributes-with-ls)
6908         (tramp-do-file-attributes-with-perl)
6909         (tramp-do-file-attributes-with-stat)
6910         (tramp-handle-set-visited-file-modtime)
6911         (tramp-handle-verify-visited-file-modtime)
6912         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6913         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6914         (tramp-handle-file-selinux-context)
6915         (tramp-handle-set-file-selinux-context)
6916         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6917         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6918         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6919         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6920         (tramp-handle-file-ownership-preserved-p)
6921         (tramp-handle-directory-file-name, tramp-handle-directory-files)
6922         (tramp-handle-directory-files-and-attributes)
6923         (tramp-do-directory-files-and-attributes-with-perl)
6924         (tramp-do-directory-files-and-attributes-with-stat)
6925         (tramp-handle-file-name-all-completions)
6926         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6927         (tramp-handle-copy-file, tramp-handle-copy-directory)
6928         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6929         (tramp-do-copy-or-rename-file-via-buffer)
6930         (tramp-do-copy-or-rename-file-directly)
6931         (tramp-do-copy-or-rename-file-out-of-band)
6932         (tramp-handle-make-directory, tramp-handle-delete-directory)
6933         (tramp-handle-delete-file)
6934         (tramp-handle-dired-recursive-delete-directory)
6935         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6936         (tramp-handle-insert-directory)
6937         (tramp-handle-unhandled-file-name-directory)
6938         (tramp-handle-expand-file-name)
6939         (tramp-handle-substitute-in-file-name)
6940         (tramp-handle-executable-find, tramp-process-sentinel)
6941         (tramp-handle-start-file-process, tramp-handle-process-file)
6942         (tramp-handle-call-process-region, tramp-handle-shell-command)
6943         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6944         (tramp-handle-insert-file-contents)
6945         (tramp-handle-insert-file-contents-literally)
6946         (tramp-handle-find-backup-file-name)
6947         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6948         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6949         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6950         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6951         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6952         (tramp-find-file-exists-command, tramp-open-shell)
6953         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6954         (tramp-open-connection-setup-interactive-shell)
6955         (tramp-local-coding-commands, tramp-remote-coding-commands)
6956         (tramp-find-inline-encoding, tramp-call-local-coding-command)
6957         (tramp-inline-compress-commands, tramp-find-inline-compress)
6958         (tramp-compute-multi-hops, tramp-maybe-open-connection)
6959         (tramp-send-command, tramp-wait-for-output)
6960         (tramp-send-command-and-check, tramp-barf-unless-okay)
6961         (tramp-send-command-and-read, tramp-mode-string-to-int)
6962         (tramp-convert-file-attributes, tramp-check-cached-permissions)
6963         (tramp-file-mode-from-int, tramp-file-mode-permissions)
6964         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6965         (tramp-method-out-of-band-p, tramp-local-host-p)
6966         (tramp-get-remote-path, tramp-get-remote-tmpdir)
6967         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6968         (tramp-get-test-command, tramp-get-test-nt-command)
6969         (tramp-get-file-exists-command, tramp-get-remote-ln)
6970         (tramp-get-remote-perl, tramp-get-remote-stat)
6971         (tramp-get-remote-readlink, tramp-get-remote-trash)
6972         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6973         (tramp-get-local-uid, tramp-get-local-gid)
6974         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6975         tramp-sh.el.
6976         (tramp-methods, tramp-default-method-alist)
6977         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6978         Move initialization to tramp-sh.el.
6979         (tramp-temp-name-prefix): Make it a defconst.
6980         (tramp-dissect-file-name): Don't check anymore for multi-hop
6981         methods.
6982         (tramp-debug-outline-regexp): Add a docstring.
6983         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6984         (tramp-get-debug-buffer): Use it.
6986         * net/tramp-cache.el (top): Set tramp-autoload cookie for
6987         initialization forms.
6988         (tramp-set-connection-property): Don't protect `tramp-message'
6989         call, it isn't necessary any longer.
6990         (tramp-dump-connection-properties): Use `ignore-errors'.
6992         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6993         'password-cache and 'auth-source.
6995         * net/tramp-gvfs.el (top):
6996         * net/tramp-smb.el (top): Require 'tramp-sh.
6998         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7000         * net/tramp-sh.el: New file, derived from tramp.el.
7001         (top): Initialize `tramp-methods', `tramp-default-method-alist',
7002         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7003         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7004         Use `ignore-errors' where appropriate.
7005         (tramp-sh-file-name-handler-alist): Rename from
7006         `tramp-file-name-handler-alist'.
7007         (tramp-send-command-and-check): Return t or nil.  Remove all
7008         `zerop' checks, where called.
7009         (tramp-handle-set-file-modes)
7010         (tramp-do-copy-or-rename-file-directly)
7011         (tramp-handle-delete-directory, tramp-handle-delete-file)
7012         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7013         (tramp-sh-file-name-handler, tramp-send-command-and-check)
7014         (tramp-get-remote-ln): Set tramp-autoload cookie.
7016         * net/tramp-fish.el: Remove file.
7018 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
7020         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7021         buffer-file-name to avoid file-locking.  (Bug#7026)
7023 2010-09-13  Julien Danjou  <julien@danjou.info>
7025         * notifications.el (notifications-notify): Add support for
7026         image-path and sound-name.
7027         (notifications-specification-version): Add this variable.
7029 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7031         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7033 2010-09-12  Leo  <sdl.web@gmail.com>
7035         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7036         (rcirc-completion-start): New variables.
7037         (rcirc-nick-completions): Rename to rcirc-completions.
7038         (rcirc-nick-completion-start-offset): Delete.
7039         (rcirc-completion-at-point): New function for constructing
7040         completion data for both nicks and irc commands.  Add to
7041         completion-at-point-functions in rcirc mode.
7042         (rcirc-complete): Rename from rcirc-nick-complete; use
7043         rcirc-completion-at-point.
7044         (defun-rcirc-command): Update rcirc-client-commands.
7046 2010-09-11  Glenn Morris  <rgm@gnu.org>
7048         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7049         atomically, to avoid parallel build errors.  (Bug#4196)
7051 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
7053         * progmodes/sql.el: Version 2.6
7054         (sql-dialect): Synonym for "sql-product".
7055         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7056         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7057         Set "sql-buffer" to buffer name not buffer object so multiple sql
7058         interactive buffers work properly.  Reverts misguided changes in
7059         earlier work.
7060         (sql-comint): Make sure different buffer name is used if "*SQL*"
7061         buffer is for a different product.
7062         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7063         login param.
7064         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7065         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7066         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7067         Accept new buffer name or prompt for one.
7068         (sql-port): Default to zero.
7069         (sql-comint-mysql): Handle "sql-port" as a numeric.
7070         (sql-port-history): Delete unused variable.
7071         (sql-get-login): Default "sql-port" to a number.
7072         (sql-product-alist): Correct Postgres prompt and terminator regexp.
7073         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7074         "sqlite3" executables.
7075         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7076         (sql-buffer-live-p): New function.
7077         (sql-mode-menu, sql-send-string): Use it.
7078         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7079         syntax pattern.
7080         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7081         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7083 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7085         * net/netrc.el (netrc-credentials): New convenience function.
7087 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7089         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7090         to replace texinfo-font-lock-syntactic-keywords.
7091         (texinfo-mode): Use it.
7093         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7094         Use syntax-propertize-function.
7096         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7097         replace sgml-font-lock-syntactic-keywords.
7098         (sgml-mode): Use it.
7100         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7101         since we don't use it.
7103         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7105         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7106         if available.
7107         (vhdl-fontify-buffer): Adjust.
7109         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7110         replace tcl-font-lock-syntactic-keywords.
7111         (tcl-mode): Use it.
7113         * progmodes/simula.el (simula-syntax-propertize-function): New var to
7114         replace simula-font-lock-syntactic-keywords.
7115         (simula-mode): Use it.
7117         * progmodes/sh-script.el (sh-st-symbol): Remove.
7118         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7119         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7120         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7121         (sh-font-lock-paren): Set syntax-multiline.
7122         (sh-font-lock-syntactic-keywords): Remove.
7123         (sh-syntax-propertize-function): New function to replace it.
7124         (sh-mode): Use it.
7126         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7127         Define while compiling.
7128         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7129         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7130         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7131         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7132         (ruby-here-doc-end-syntax): Only define when
7133         syntax-propertize is not available.
7134         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7135         New functions.
7136         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7137         (electric-indent-chars): Silence bytecompiler.
7138         (ruby-mode): Use prog-mode, syntax-propertize-function, and
7139         electric-indent-chars.
7141         * progmodes/python.el (python-syntax-propertize-function): New var to
7142         replace python-font-lock-syntactic-keywords.
7143         (python-mode): Use it.
7144         (python-quote-syntax): Simplify and adjust to new use.
7146         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7147         replace perl-font-lock-syntactic-keywords.
7148         (perl-syntax-propertize-special-constructs): New fun to replace
7149         perl-font-lock-special-syntactic-constructs.
7150         (perl-font-lock-syntactic-face-function): New fun.
7151         (perl-mode): Use it.
7153         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7154         to replace octave-font-lock-close-quotes.
7155         (octave-syntax-propertize-function): New function to replace
7156         octave-font-lock-syntactic-keywords.
7157         (octave-mode): Use it.
7159         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7160         replaces mixal-font-lock-syntactic-keywords.
7161         (mixal-mode): Use it.
7163         * progmodes/make-mode.el (makefile-syntax-propertize-function):
7164         New var; replaces makefile-font-lock-syntactic-keywords.
7165         (makefile-mode): Use it.
7166         (makefile-imake-mode): Adjust.
7168         * progmodes/js.el (js--regexp-literal): Define while compiling.
7169         (js-syntax-propertize-function): New var; replaces
7170         js-font-lock-syntactic-keywords.
7171         (js-mode): Use it.
7173         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7174         replaces gdb-script-font-lock-syntactic-keywords.
7175         (gdb-script-mode): Use it.
7177         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7178         (fortran--font-lock-syntactic-keywords): New var.
7179         (fortran-line-length): Update syntax-propertize-function and
7180         fortran--font-lock-syntactic-keywords.
7182         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7184         * progmodes/cfengine.el (cfengine-mode):
7185         Use syntax-propertize-function.
7186         (cfengine-font-lock-syntactic-keywords): Remove.
7188         * progmodes/autoconf.el (autoconf-mode):
7189         Use syntax-propertize-function.
7190         (autoconf-font-lock-syntactic-keywords): Remove.
7192         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7193         (ada-after-change-function, ada-initialize-syntax-table-properties)
7194         (ada-handle-syntax-table-properties): Only define when
7195         syntax-propertize is not available.
7196         (ada-mode): Use syntax-propertize-function.
7198         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7199         (font-lock-fontify-syntactic-keywords-region): Move handling of
7200         font-lock-syntactically-fontified to...
7201         (font-lock-default-fontify-region): ...here.
7202         Let syntax-propertize-function take precedence.
7203         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7205         * emacs-lisp/syntax.el (syntax-propertize-function)
7206         (syntax-propertize-chunk-size, syntax-propertize--done)
7207         (syntax-propertize-extend-region-functions): New vars.
7208         (syntax-propertize-wholelines, syntax-propertize-multiline)
7209         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7210         (syntax-propertize): New functions.
7211         (syntax-propertize-rules): New macro.
7212         (syntax-ppss-flush-cache): Set syntax-propertize--done.
7213         (syntax-ppss): Call syntax-propertize.
7215         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7217 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
7219         * textmodes/ispell.el (ispell-init-process): Improve comments.
7220         XEmacs compatibility changes regarding (add-hook) 'local option
7221         and (set-process-query-on-exit-flag).
7223 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
7225         * net/tramp-cache.el (tramp-parse-connection-properties):
7226         Set tramp-autoload cookie.
7228 2010-09-09  Glenn Morris  <rgm@gnu.org>
7230         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7231         (imagemagick-register-types): Doc fix.
7233 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7235         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7237         * progmodes/js.el (require): Require is already "eval-and-compile".
7238         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
7239         (js--re-search-backward): Use js--re-search-forward.
7241         * progmodes/fortran.el (fortran-line-length): Don't recompute
7242         syntactic keywords redundantly a second time.
7244         * progmodes/ada-mode.el: Replace "(set '" with setq.
7245         (ada-mode): Simplify.
7246         (ada-create-case-exception, ada-adjust-case-interactive)
7247         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7248         (ada-search-ignore-string-comment, ada-move-to-start)
7249         (ada-move-to-end): Use with-syntax-table.
7251         * font-lock.el (save-buffer-state): Remove `varlist' arg.
7252         (font-lock-unfontify-region, font-lock-default-fontify-region):
7253         Update usage correspondingly.
7254         (font-lock-fontify-syntactic-keywords-region):
7255         Set parse-sexp-lookup-properties buffer-locally here.
7256         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7258         * simple.el (blink-matching-open): Don't burp if we can't find a match.
7260 2010-09-08  Glenn Morris  <rgm@gnu.org>
7262         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7263         Error if not compiled with -DBYTE_CODE_METER.
7265         * emacs-lisp/bytecomp.el (byte-recompile-directory):
7266         Ignore dir-locals-file.
7268 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7270         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7271         Not a const.
7272         (compilation-error-regexp-alist-alist): Rule out ": " in file names
7273         for the `gnu' messages.
7274         (compilation-set-skip-threshold): New command.
7275         (compilation-start): Use \' rather than $.
7276         (compilation-forget-errors): Use clrhash.
7278 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
7280         * textmodes/ispell.el (ispell-valid-dictionary-list):
7281         Simplify logic.
7283 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
7285         Migrate to Tramp 2.2.  Rearrange load dependencies.
7286         (Bug#1529, Bug#5448, Bug#5705)
7288         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7289         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7290         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7292         * net/tramp.el (top): Remove all other tramp-* loads except
7293         tramp-compat.el.  Remove all changes to tramp-unload-hook for
7294         other tramp-* packages.  Rearrange defun order.  Change calls of
7295         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7296         `tramp-compat-octal-to-decimal' to new function names.
7297         (tramp-terminal-type, tramp-initial-end-of-output)
7298         (tramp-methods, tramp-foreign-file-name-handler-alist)
7299         (tramp-tramp-file-p, tramp-completion-mode-p)
7300         (tramp-send-command-and-check, tramp-get-remote-path)
7301         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7302         (tramp-shell-quote-argument): Set tramp-autoload cookie.
7303         (with-file-property, with-connection-property): Move to
7304         tramp-cache.el.
7305         (tramp-local-call-process, tramp-decimal-to-octal)
7306         (tramp-octal-to-decimal): Move to tramp-compat.el.
7307         (tramp-handle-shell-command): Do not require 'shell.
7308         (tramp-compute-multi-hops): No special handling for tramp-gw-*
7309         symbols.
7310         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7312         * net/tramp-cache.el (top): Require 'tramp.  Add to
7313         `tramp-unload-hook'.
7314         (tramp-cache-data, tramp-get-file-property)
7315         (tramp-set-file-property, tramp-flush-file-property)
7316         (tramp-flush-directory-property, tramp-get-connection-property)
7317         (tramp-set-connection-property, tramp-flush-connection-property)
7318         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7319         cookie.
7320         (with-file-property, with-connection-property): New defuns, moved
7321         from tramp.el.
7322         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7323         macro.
7325         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7326         (tramp-version): Set tramp-autoload cookie.
7328         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
7329         changes to tramp-unload-hook for other tramp-* packages.  Add to
7330         `tramp-unload-hook'.
7331         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7332         (tramp-compat-call-process): New defuns, moved from tramp.el.
7334         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
7335         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7336         Add to `tramp-unload-hook'.  Change call of
7337         `tramp-compat-decimal-to-octal' to new function name.
7338         (tramp-fish-method): Make it a defconst.
7339         (tramp-fish-file-name-p): Make it a defsubst.
7340         (tramp-fish-method, tramp-fish-file-name-handler)
7341         (tramp-fish-file-name-p): Set tramp-autoload cookie.
7343         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7344         `tramp-foreign-file-name-handler-alist'.  Add to
7345         `tramp-unload-hook'.
7346         (tramp-ftp-method): Make it a defconst.
7347         (tramp-ftp-file-name-p): Make it a defsubst.
7348         (tramp-ftp-method, tramp-ftp-file-name-handler)
7349         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7351         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7352         `tramp-foreign-file-name-handler-alist'.  Add to
7353         `tramp-unload-hook'.  Change checks, whether package can be
7354         loaded.
7355         (tramp-gvfs-file-name-p): Make it a defsubst.
7356         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7357         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7358         (tramp-gvfs-handle-file-directory-p): New defun.
7359         (tramp-gvfs-file-name-handler-alist): Use it.
7361         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7362         `tramp-foreign-file-name-handler-alist'.  Add to
7363         `tramp-unload-hook'.
7364         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7365         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7366         defconst.
7367         (tramp-gw-tunnel-method, tramp-gw-socks-method)
7368         (tramp-gw-open-connection): Set tramp-autoload cookie.
7370         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
7371         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7372         Add to `tramp-unload-hook'.  Change checks, whether package can be
7373         loaded.
7374         (tramp-imap-file-name-p): Make it a defsubst.
7375         (tramp-imap-method, tramp-imaps-method)
7376         (tramp-imap-file-name-handler)
7377         (tramp-imap-file-name-p): Set tramp-autoload cookie.
7379         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
7380         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7381         Add to `tramp-unload-hook'.  Change checks, whether package can be
7382         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
7383         function name.
7384         (tramp-smb-tunnel-method): Make it a defconst.
7385         (tramp-smb-file-name-p): Make it a defsubst.
7386         (tramp-smb-method, tramp-smb-file-name-handler)
7387         (tramp-smb-file-name-p): Set tramp-autoload cookie.
7389         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7390         (tramp-uuencode-region): Set tramp-autoload cookie.
7392         * net/trampver.el (top) Add to `tramp-unload-hook'.
7393         (tramp-version, tramp-bug-report-address): Set tramp-autoload
7394         cookie.  Update release number.
7396 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
7398         * textmodes/ispell.el (ispell-start-process): Make sure original
7399         arg list is properly initialized (Bug#6993, Bug#6994).
7401 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7403         * files.el (directory-abbrev-alist): Use \` as default regexp.
7405         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7406         chars like - or ] (bug#6984).
7407         (rx-any-condense-range): Explode 2-char ranges.
7409 2010-09-06  Glenn Morris  <rgm@gnu.org>
7411         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7413 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7415         * textmodes/bibtex.el:
7416         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7418 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7420         * net/imap.el (imap-message-map): Remove optional buffer parameter,
7421         since no callers use it.
7422         (imap-message-get): Ditto.
7423         (imap-message-put): Ditto.
7424         (imap-mailbox-map): Ditto.
7425         (imap-mailbox-put): Ditto.
7426         (imap-mailbox-get): Ditto.
7427         (imap-mailbox-get): Revert last change for this function.
7429 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7431         * net/imap.el (imap-fetch-safe): Remove function, and alter all
7432         callers to use `imap-fetch' instead.  According to the comments, this
7433         should be safe, since all other IMAP clients use the 1:* syntax.
7434         (imap-enable-exchange-bug-workaround): Remove.
7435         (imap-debug): Remove -- doesn't seem very useful.
7437 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7439         * net/imap.el (imap-log): New convenience function used throughout
7440         instead of repeating the same code all over the place.
7442 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
7444         * mouse.el (mouse-save-then-kill): Save region to kill-ring
7445         when mouse-drag-copy-region is non-nil (Bug#6956).
7447 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
7449         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7450         Improve regexps (Bug#6987).
7451         (dired-sort-toggle): Search more robustly for -t flag.
7453         * files.el (get-free-disk-space): Search more robustly for
7454         "available" column.  Suggested by Ehud Karni
7455         <ehud@unix.mvs.co.il>.
7457 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
7459         * international/uni-bidi.el:
7460         * international/uni-category.el:
7461         * international/uni-combining.el:
7462         * international/uni-decimal.el:
7463         * international/uni-mirrored.el:
7464         * international/uni-name.el: Regenerate.
7466 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7468         * electric.el (electric-indent-post-self-insert-function):
7469         Don't reindent with a sloppy indentation function.
7471         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7472         border case in change-log-mode.
7474 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
7476         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7477         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7478         Recognize leading tab in gcc-include regexp.  Ignore names with
7479         leading "from" or "in" in gnu regexp (Bug#6937).
7481 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7483         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7484         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7485         (ispell-start-process): Avoid setq and simplify logic.
7486         (ispell-init-process): Setup kill-buffer-hook locally when needed.
7487         (kill-buffer-hook): Don't use it globally with code that uses
7488         expand-file-name since that may call kill-buffer via
7489         code_conversion_restore.
7491 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
7493         * emacs-lisp/package.el (package-directory-list): Only call
7494         file-name-nondirectory on a string.
7496 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7498         * emacs-lisp/package.el (package--download-one-archive):
7499         Ensure that archive-contents is valid before saving it.
7500         (package-activate-1, package-mark-obsolete, define-package)
7501         (package-compute-transaction, package-list-maybe-add): Use push.
7503 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7505         Use SMIE's blink-paren for octave-mode.
7506         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7507         Backslashes do not escape single-quotes, single-quotes do.
7508         (octave-block-else-regexp, octave-block-end-regexp)
7509         (octave-block-match-alist): Remove.
7510         (octave-smie-bnf-table): New var, with old content.
7511         (octave-smie-op-levels): Use it.
7512         (octave-smie-closer-alist): New var.
7513         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
7514         (octave-blink-matching-block-open): Remove.
7515         (octave-reindent-then-newline-and-indent, octave-electric-semi)
7516         (octave-electric-space): Let self-insert-command run expand-abbrev and
7517         blink parens.
7519         * electric.el (electricity): New group.
7520         (electric-indent-chars): New var.
7521         (electric-indent-post-self-insert-function): New fun.
7522         (electric-indent-mode): New minor mode.
7523         (electric-pair-skip-self): New custom.
7524         (electric-pair-post-self-insert-function): New function.
7525         (electric-pair-mode): New minor mode.
7527         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7528         calcAlg-blink-matching-open.
7529         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7530         (calc-do-alg-entry): Only touch the part of the keymap that varies.
7531         Use the new blink-matching-check-function.
7533         Provide blink-matching support to SMIE.
7534         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7535         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7536         (smie-blink-matching-check, smie-blink-matching-open): New functions.
7538         * simple.el (newline): Fix last change to properly remove itself from
7539         the hook.
7541 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7543         * simple.el (newline): Eliminate optimization.
7544         Use post-self-insert-hook to set hard-newline and things before
7545         running post-self-insert-hook.
7546         (blink-matching-check-mismatch): New function.
7547         (blink-matching-check-function): New variable.
7548         (blink-matching-open): Use them.
7549         Skip back forward over prefix chars skipped by forward-sexp.
7550         Don't check if the parens are backslash escaped.
7551         (blink-paren-post-self-insert-function): Check backslash escaping here.
7553 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7555         * emacs-lisp/package.el (package-menu-mode-map):
7556         Change package-menu-revert bindings to revert-buffer.
7557         (package-menu-mode): Set revert-buffer-function.
7558         (package-menu-revert): Doc fix.
7560 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
7562         * textmodes/ispell.el (ispell-init-process): Use "~/" as
7563         `default-directory' unless using Ispell per-directory personal
7564         dictionaries and not in a mini-buffer under XEmacs.
7565         (kill-buffer-hook): Do not kill ispell process on exit when
7566         `ispell-process-directory' is "~/".  (Bug#6143)
7568 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
7570         * simple.el (kill-new): Call interprogram-cut-function with only
7571         one argument.
7573         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7574         Remove cut buffer from error message.
7576         * term/x-win.el (x-select-text):
7577         * term/pc-win.el (x-selection-value):
7578         * term/ns-win.el (x-selection-value):
7579         * eshell/em-term.el:
7580         * w32-fns.el (x-get-selection-value):
7581         * mouse-sel.el (mouse-sel-set-selection-function):
7582         * frame.el (display-selections-p): Remove cut-buffer in documentation.
7584         * term/x-win.el: Update documentation for x-last-selected-text-*.
7585         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7586         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7587         (x-select-text): Remove argument PUSH, update documentation.
7588         Remove cut-buffer code.
7589         (x-selection-value-internal): Was previously x-selection-value.
7590         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7591         Update documentation, remove cut-buffer code.
7592         Call x-selection-value-internal.
7593         (x-clipboard-yank): Call x-selection-value-internal.
7594         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7596         * term/pc-win.el (x-last-selected-text):
7597         x-cut-buffer-or-selection-value renamed to x-selection-value
7598         (x-select-text): Remove argument PUSH, update documentation.
7600         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7601         x-cut-buffer-or-selection-value renamed to x-selection-value
7602         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7603         (x-select-text): Remove argument PUSH, update documentation.
7605         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7607         * w32-fns.el (x-last-selected-text):
7608         x-cut-buffer-or-selection-value renamed to x-selection-value.
7609         (x-cut-buffer-max): Remove.
7610         (x-select-text): Remove argument PUSH, update documentation.
7612         * simple.el (interprogram-cut-function): Remove mention of PUSH.
7614         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7616         * mouse-sel.el (mouse-sel-get-selection-function):
7617         x-cut-buffer-or-selection-value renamed to x-selection-value.
7618         (x-select-text): Remove optional push.
7620 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7622         * simple.el (blink-paren-function): Move from C to here.
7623         (blink-paren-post-self-insert-function): New function.
7624         (post-self-insert-hook): Use it.
7626         * emacs-lisp/pcase.el (pcase-split-memq):
7627         Fix overenthusiastic optimisation.
7628         (pcase-u1): Handle the case of a lambda pred.
7630 2010-08-31  Kenichi Handa  <handa@m17n.org>
7632         * international/mule-cmds.el (standard-display-european-internal):
7633         Setup standard-display-table for 8-bit characters by storing 8-bit
7634         characters in the element vector.
7636         * disp-table.el (standard-display-8bit):
7637         Setup standard-display-table for 8-bit characters by storing 8-bit
7638         characters in the element vector.
7639         (standard-display-european): Likewise.
7641 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
7643         * textmodes/nroff-mode.el (nroff-view): New command.
7644         (nroff-mode-map): Bind it to C-c C-c.
7646 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7648         * emacs-lisp/smie.el (smie-down-list): New command.
7650         Remove old indentation and navigation code on octave-mode.
7651         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7652         smie-down-list rather than add a binding for octave-down-block.
7653         (octave-mark-block, octave-blink-matching-block-open):
7654         Rely on forward-sexp-function.
7655         (octave-fill-paragraph): Don't narrow, so you can use
7656         indent-according-to-mode.
7657         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7658         (octave-in-block-p, octave-re-search-forward-kw)
7659         (octave-re-search-backward-kw, octave-indent-calculate)
7660         (octave-end-as-array-index-p, octave-block-end-offset)
7661         (octave-scan-blocks, octave-forward-block, octave-backward-block)
7662         (octave-down-block, octave-backward-up-block, octave-up-block)
7663         (octave-before-magic-comment-p, octave-indent-line): Remove.
7665 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
7667         * emacs-lisp/package.el (package--read-archive-file): Just use
7668         `read', to avoid copying an additional string.
7669         (package-menu-mode): Set header-line-format here.
7670         (package-menu-refresh, package-menu-revert): Signal an error if
7671         not in the Package Menu.
7672         (package-menu-package-list): New var.
7673         (package--generate-package-list): Operate on the current buffer;
7674         don't assume that it is *Packages*, since the user may rename it.
7675         Allow persistent package listings and sort keys using
7676         package-menu-package-list and package-menu-package-sort-key.
7677         (package-menu--version-predicate): Fix version calculation.
7678         (package-menu-sort-by-column): Don't select the window.
7679         (package--list-packages): Create the *Packages* buffer.
7680         Set package-menu-package-list-key.
7681         (list-packages): Sorting by status is now the default.
7682         (package-buffer-info): Use match-string-no-properties.
7683         (define-package): Add a &rest argument for future proofing, but
7684         don't use it yet.
7685         (package-install-from-buffer, package-install-buffer-internal):
7686         Merge into a single function, package-install-from-buffer.
7687         (package-install-file): Change caller.
7689         * finder.el: Load finder-inf using `require'.
7690         (finder-list-matches): Sorting by status is now the default.
7691         (finder-compile-keywords): Simpify printing.
7693 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7695         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7696         (octave-mode-map): Remove special bindings for forward/backward-block
7697         and octave-backward-up-block.  Use smie-close-block.
7698         (octave-continuation-marker-regexp): New var.
7699         (octave-continuation-regexp): Use it.
7700         (octave-operator-table, octave-smie-op-levels)
7701         (octave-operator-regexp, octave-smie-indent-rules): New vars.
7702         (octave-smie-backward-token, octave-smie-forward-token): New funs.
7703         (octave-mode): Use SMIE.
7704         (octave-close-block): Delete.
7706 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
7708         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7709         CLIPBOARD, not in PRIMARY.  (Bug#6944)
7711 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7713         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7714         a list of parents.
7715         (smie-indent-column): Allow indirection through variables.
7717         * composite.el (save-buffer-state): Delete, unused.
7718         * font-lock.el (save-buffer-state): Use with-silent-modifications.
7719         (font-lock-default-fontify-region): Use with-syntax-table.
7720         * jit-lock.el (with-buffer-unmodified): Remove.
7721         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7723         Use `declare' in defmacros.
7724         * window.el (save-selected-window):
7725         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7726         * progmodes/python.el (def-python-skeleton):
7727         * net/dbus.el (dbus-ignore-errors):
7728         * jka-cmpr-hook.el (with-auto-compression-mode):
7729         * international/mule.el (with-category-table):
7730         * emacs-lisp/timer.el (with-timeout):
7731         * emacs-lisp/lisp-mnt.el (lm-with-file):
7732         * emacs-lisp/eieio.el (with-slots):
7733         * emacs-lisp/easymenu.el (easy-menu-define):
7734         * emacs-lisp/debug.el (debugger-env-macro):
7735         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7736         (Multiple-value-call, Multiple-value-prog1):
7737         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7738         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7739         edebug rule to definition.
7740         * emacs-lisp/lisp-mode.el (save-selected-window)
7741         (with-current-buffer, combine-after-change-calls)
7742         (with-output-to-string, with-temp-file, with-temp-buffer)
7743         (with-temp-message, with-syntax-table, read-if, eval-after-load)
7744         (dolist, dotimes, when, unless):
7745         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7747 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7749         * finder.el: Require `package'.
7750         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
7751         (finder-package-info): Var deleted.
7752         (finder-keywords-hash, finder--builtins-alist): New vars.
7753         (finder-compile-keywords): Compute package--builtins and
7754         finder-keywords-hash instead of finder-keywords-hash, respecting
7755         the "Package" header.
7756         (finder-unknown-keywords, finder-list-matches):
7757         Use finder-keywords-hash and package--list-packages.
7758         (finder-mode): Don't set font-lock-defaults.
7759         (finder-exit): We don't use "*Finder-package*" and "*Finder
7760         Category*" buffers anymore.
7762         * emacs-lisp/package.el (package--builtins-base): Var deleted.
7763         (package--builtins): Set default value to nil.
7764         (package-initialize): Load precomputed value of package--builtins
7765         from finder-inf.el.
7766         (package-alist, package-compute-transaction)
7767         (package-download-transaction): Improve docstring.
7768         (package-read-all-archive-contents): Do not change
7769         package--builtins here.
7770         (list-packages): Make package-list-packages an alias for this.
7771         Sort by status by default.
7772         (package--list-packages): Add optional PACKAGES arg.
7773         (describe-package-1): Use font-lock-face property.  For built-in
7774         packages, insert file commentary.
7775         (package--generate-package-list): Rename from
7776         package-list-packages-internal; all callers changed.  Add optional
7777         PACKAGES arg.  Add alphabetical sort fallbacks.
7778         (package-menu--version-predicate, package-menu--status-predicate)
7779         (package-menu--description-predicate)
7780         (package-menu--name-predicate): New functions.
7782         * info.el (Info-finder-find-node): Search package-alist instead of
7783         finder-package-info.
7785 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7787         * subr.el (version-regexp-alist): Don't use "a" and "b" for
7788         "alpha" and "beta".
7789         (version-to-list): Handle versions like "10.3d".
7791 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7793         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7794         (macroexp-accumulate): Use `declare'.
7796 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7798         * whitespace.el (whitespace-style): Adjust type declaration.
7800 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
7802         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7804 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7806         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7807         (Bug#6907).
7809 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
7811         * progmodes/js.el: Make indentation more customizable (Bug#6914).
7812         (js-paren-indent-offset, js-square-indent-offset)
7813         (js-curly-indent-offset): New options.
7814         (js--proper-indentation): Use them.
7816 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
7818         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7819         instead of inspecting font-lock properties (Bug#6916).
7821 2010-08-26  David Reitter  <david.reitter@gmail.com>
7823         * server.el (server-visit-files): Run pre-command-hook and
7824         post-command-hook for each buffer while it is current (Bug#6910).
7825         (server-execute): Do not run hooks here.
7827 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
7829         Sync with Tramp 2.1.19.
7831         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
7832         deleting tmpfile.
7833         (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7835         * net/tramp.el (tramp-handle-expand-file-name)
7836         (tramp-completion-handle-file-name-all-completions)
7837         (tramp-completion-handle-file-name-completion):
7838         Use `tramp-connectable-p'.
7840         * net/trampver.el: Update release number.
7842 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7844         * help.el (help-map): Bind `C-h P' to describe-package.
7846         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7848         * emacs-lisp/package.el (package-refresh-contents): Catch errors
7849         when downloading archives.
7850         (describe-package-1): Add package commentary.
7851         (package-install-button-action): New function.
7852         (package-menu-mode-map): Bind ? to package-menu-describe-package.
7853         (package-menu-view-commentary): Function removed.
7854         (package-list-packages-internal): Hide the `package' package too.
7856 2010-08-25  Kenichi Handa  <handa@m17n.org>
7858         * language/misc-lang.el ("Arabic"): New language environment.
7859         Setup composition-function-table for Arabic characters.
7861         * international/fontset.el (setup-default-fontset): Fix typo for
7862         arabic OTF spec (fini->fina).
7864 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
7866         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7867         on all frames.
7869 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7871         * whitespace.el: Allow cleaning up blanks without blank
7872         visualization (Bug#6651).  Adjust help window for
7873         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7874         instead of whitespace-line-column (from EmacsWiki).  New version
7875         13.1.
7876         (whitespace-style): Add new value 'face.  Adjust docstring.
7877         (whitespace-space, whitespace-hspace, whitespace-tab):
7878         Adjust foreground property face.
7879         (whitespace-line-column): Adjust docstring and type declaration.
7880         (whitespace-style-value-list, whitespace-toggle-option-alist)
7881         (whitespace-help-text): Adjust const initialization.
7882         (whitespace-toggle-options, global-whitespace-toggle-options):
7883         Adjust docstring.
7884         (whitespace-display-window, whitespace-interactive-char)
7885         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7886         (whitespace-help-scroll): New fun.
7888 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7890         * emacs-lisp/package.el (list-packages): Alias for
7891         package-list-packages.
7893 2010-08-24  Kevin Ryde  <user42@zip.com.au>
7895         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7896         (Bug#5651).
7898         * progmodes/ruby-mode.el (ruby): Add defgroup.
7900 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7902         * progmodes/python.el: Add Ipython support (Bug#5390).
7903         (python-shell-prompt-alist)
7904         (python-shell-continuation-prompt-alist): New options.
7905         (python--set-prompt-regexp): New function.
7906         (inferior-python-mode, run-python, python-shell):
7907         Require ansi-color.  Use python--set-prompt-regexp to set the comint
7908         prompt based on the Python interpreter.
7909         (python--prompt-regexp): New var.
7910         (python-check-comint-prompt)
7911         (python-comint-output-filter-function): Use it.
7912         (run-python): Use a pipe (Bug#5694).
7914 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
7916         * progmodes/python.el (python-send-region): Send a different
7917         Python command if Ipython is in use.
7918         (python-check-version): Use a Python command to find the version.
7920 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7922         * mouse.el (mouse-yank-primary): Avoid setting primary when
7923         deactivating the mark (Bug#6872).
7925 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
7927         * progmodes/python.el (python-block-pairs): Allow use of "finally"
7928         with "else" (Bug#3991).
7930 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
7932         * net/dbus.el: Accept UNIX domain sockets as bus address.
7933         (top): Don't initialize `dbus-registered-objects-table' anymore,
7934         this is done in dbusbind.c.
7935         (dbus-check-event): Adapt test for bus.
7936         (dbus-return-values-table, dbus-unregister-service)
7937         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7938         Adapt doc string.
7940 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
7942         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7944 2010-08-22  Juri Linkov  <juri@jurta.org>
7946         * simple.el (read-extended-command): New function with the logic
7947         for `completing-read' moved to Elisp from `execute-extended-command'.
7948         Use `function-called-at-point' in `minibuffer-default-add-function'
7949         to get a command name for M-n (bug#5364, bug#5214).
7951 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7953         * startup.el (command-line-1): Issue warning for ignored arguments
7954         --unibyte, etc (Bug#6886).
7956 2010-08-22  Leo  <sdl.web@gmail.com>
7958         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7959         (ignore, bright, dim, keyword): Split list of nicknames before
7960         passing to rcirc-add-or-remove (Bug#6894).
7962 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7964         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7966 2010-08-22  Leo  <sdl.web@gmail.com>
7968         Fix buffer-list rename&refresh after killing a buffer in ido.
7969         * ido.el: Revert Óscar's.
7970         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7971         Remember the buffers at head, rather than their name.
7972         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7974 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
7975             Stefan Monnier  <monnier@iro.umontreal.ca>
7977         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7978         extra backslash added to each line (bug#6890).
7980 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7982         * subr.el (read-key): Don't echo keystrokes (bug#6883).
7984 2010-08-22  Glenn Morris  <rgm@gnu.org>
7986         * menu-bar.el (menu-bar-games-menu): Add landmark.
7988 2010-08-22  Glenn Morris  <rgm@gnu.org>
7990         * align.el (align-regexp): Make group and spacing arguments
7991         use the interactive defaults when non-interactive.  (Bug#6698)
7993         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7994         expansion, so as not to need sendmail.
7995         (mail-text-start): Remove declaration.
7996         (rmail-retry-failure): Require sendmail.
7998 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8000         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8002 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
8004         * progmodes/flymake.el (flymake-start-syntax-check-process):
8005         Use `start-file-process' in order to let it run also on remote hosts.
8007 2010-08-22  Kenichi Handa  <handa@m17n.org>
8009         * files.el: Add `word-wrap' as safe local variable.
8011 2010-08-22  Glenn Morris  <rgm@gnu.org>
8013         * woman.el (woman-translate): Case matters.  (Bug#6849)
8015 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8017         * simple.el (kill-region): Doc fix (Bug#6787).
8019 2010-08-22  Glenn Morris  <rgm@gnu.org>
8021         * calendar/diary-lib.el (diary-header-line-format):
8022         Fit it to the window, not the frame.
8024 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
8026         * subr.el (ignore-errors): Add debug declaration.
8028 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
8030         * whitespace.el (whitespace-color-off): Remove post-command-hook
8031         locally.
8033 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8035         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8037 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8039         * cus-edit.el (custom-group-value-create): Add extra newline
8040         before end line (Bug#6876).
8042 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8044         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8045         when extending it.  Before killing on the second click, check if
8046         the buffer is the correct one.  Doc fix.
8047         (mouse-secondary-save-then-kill): Allow usage without first
8048         calling mouse-start-secondary, by defaulting to point.  Don't save
8049         an empty secondary selection.  Doc fix.
8051 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8053         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
8054         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8055         New version 13.0.
8056         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8057         Adjust initialization.
8058         (whitespace-bob-marker, whitespace-eob-marker)
8059         (whitespace-buffer-changed): New vars.
8060         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8061         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8062         (whitespace-post-command-hook, whitespace-display-char-on):
8063         Adjust code.
8064         (whitespace-looking-back, whitespace-buffer-changed): New funs.
8065         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8067 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8069         * files.el (locate-file-completion-table): Only list the .el and .elc
8070         extensions if there's no other choice (bug#5955).
8072         * facemenu.el (facemenu-self-insert-data): New var.
8073         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8074         New functions.
8075         (facemenu-add-face): Use them.
8077         * simple.el (blink-matching-open): Obey forward-sexp-function.
8079 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8081         * simple.el (prog-mode-map): New var.
8082         (prog-indent-sexp): New command.
8084         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8086         * progmodes/prolog.el (smie): Require.
8088         * emacs-lisp/smie.el (smie-default-backward-token)
8089         (smie-default-forward-token): Strip properties.
8090         (smie-next-sexp): Be more careful with associative operators.
8091         (smie-forward-sexp-command): Generalize.
8092         (smie-backward-sexp-command): Simplify.
8093         (smie-closer-alist): New var.
8094         (smie-close-block): New command.
8095         (smie-indent-debug-log): New var.
8096         (smie-indent-offset-rule): Add a few more cases.
8097         (smie-indent-column): New function.
8098         (smie-indent-after-keyword): Use it.
8099         (smie-indent-keyword): Use it.
8100         Fix up the opener code's point position.
8101         (smie-indent-comment): Only applies at BOL.
8102         (smie-indent-debug): New command.
8104         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8105         declarations that are useful before running the macro.
8107 2010-08-18  Joakim Verona  <joakim@verona.se>
8109         * image.el (imagemagick-types-inhibit): New variable.
8110         (imagemagick-register-types): New function.
8111         * image-mode.el (image-transform-properties): New function.
8112         (image-transform-set-scale, image-transform-fit-to-height)
8113         (image-transform-set-rotation, image-transform-set-resize)
8114         (image-transform-fit-to-width, image-transform-fit-to-height):
8115         New functions.
8116         (image-toggle-display-image): Support image transforms.
8118 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
8120         * image.el (create-animated-image): Don't add heuristic mask to image
8121         (Bug#6839).
8123 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
8125         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8126         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8128 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8130         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8132         Font-lock '...' strings, plus various simplifications and fixes.
8133         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8134         (octave-font-lock-close-quotes): New function.
8135         (octave-font-lock-syntactic-keywords): New var.
8136         (octave-mode): Use it.  Set beginning-of-defun-function.
8137         (octave-mode-map): Don't override the <foo>-defun commands.
8138         (octave-mode-menu): Pass it directly to easy-menu-define;
8139         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8140         (octave-block-match-alist): Fix up last change so that
8141         octave-close-block uses the more specific keyword.
8142         (info-lookup-mode): Silence byte-compiler.
8143         (octave-beginning-of-defun): Not interactive any more.
8144         Optimize slightly.
8145         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8146         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8147         (octave-completion-at-point-function): Make sure point is within
8148         beg..end.
8149         (octave-reindent-then-newline-and-indent):
8150         Use reindent-then-newline-and-indent.
8151         (octave-add-octave-menu): Remove.
8153 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
8155         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8156         (report-emacs-bug-can-use-xdg-email): New functions.
8157         (report-emacs-bug): Set can-xdg-email to result of
8158         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
8159         \C-cm to report-emacs-bug-insert-to-mailer and add help text
8160         about it.
8162         * net/browse-url.el (browse-url-default-browser): Add cond
8163         for browse-url-xdg-open.
8164         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8166 2010-08-17  Glenn Morris  <rgm@gnu.org>
8168         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8169         (c-fontify-recorded-types-and-refs): Define for compiler.
8170         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8171         before use.
8173         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8174         Fix format call.
8176 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
8178         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8179         properties.
8180         (tramp-handle-process-file): Call the program in a subshell, in
8181         order to preserve working directory.
8182         (tramp-action-password): Hide password prompt before next run.
8183         (tramp-process-actions): Widen connection buffer for the trace.
8185 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8187         * net/rcirc.el (rcirc-log-process-buffers): New option.
8188         (rcirc-print): Use it.
8189         (rcirc-generate-log-filename): New function.
8190         (rcirc-log-filename-function): Change default to
8191         rcirc-generate-log-filename (Bug#6828).
8193 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
8195         * simple.el (deactivate-mark): If select-active-regions is `only',
8196         only set selection for temporarily active regions.
8198         * cus-start.el: Change defcustom for select-active-regions.
8200 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8202         * mouse.el (mouse--drag-set-mark-and-point): New function.
8203         (mouse-drag-track): Use LOCATION arg to push-mark.
8204         Use mouse--drag-set-mark-and-point to take click-count into
8205         consideration when updating point and mark (Bug#6840).
8207 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8209         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8210         Give the Ruby rule a lower priority than Gnu (Bug#6778).
8212 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8214         * font-lock.el (lisp-font-lock-keywords-2):
8215         Add combine-after-change-calls, condition-case-no-debug,
8216         with-demoted-errors, and with-silent-modifications (Bug#6025).
8218 2010-08-14  Kevin Ryde  <user42@zip.com.au>
8220         * emacs-lisp/copyright.el (copyright-update-year)
8221         (copyright-update): Temporary switch-to-buffer to ensure the
8222         buffer change being queried is visible (Bug#5394).
8224 2010-08-14  Tom Tromey  <tromey@redhat.com>
8226         * progmodes/etags.el (tags-file-name): Mark safe if stringp
8227         (Bug#6733).
8229 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
8231         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8232         MS-DOS.  (Bug#6689)
8234 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
8236         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8237         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8238         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8239         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8240         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8241         Call menu-bar-set-tool-bar-position.
8243 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8245         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8246         comment style (bug#6834).
8247         * progmodes/scheme.el (scheme-mode-syntax-table):
8248         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8249         "b" flag in "' 14b" syntax.
8251         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8252         for (un)commenting the region and performing completion.
8253         (octave-mode-menu): Use standard commands for help and completion.
8254         (octave-mode-syntax-table): Support %{..%} comments (sort of).
8255         (octave-mode): Use define-derived-mode.
8256         Set completion-at-point-functions and don't set columns.
8257         Don't disable adaptive-fill-regexp.
8258         (octave-describe-major-mode, octave-comment-region)
8259         (octave-uncomment-region, octave-comment-indent)
8260         (octave-indent-for-comment): Remove.
8261         (octave-indent-calculate): Rename from calculate-octave-indent.
8262         (octave-indent-line, octave-fill-paragraph): Update caller.
8263         (octave-initialize-completions): No need to make an alist.
8264         (octave-completion-at-point-function): New function.
8265         (octave-complete-symbol): Use it.
8266         (octave-insert-defun): Use define-skeleton.
8268         * progmodes/octave-mod.el (octave-mode): Set comment-add.
8269         (octave-mode-map): Use comment-dwim (bug#6829).
8271 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>
8273         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8274         indentation of inserted comment.
8276 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
8278         * faces.el (region): Add type gtk that uses gtk colors.
8280         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8281         Handle theme-name change.
8283 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
8285         * progmodes/sql.el: Version 2.5
8286         (sql-product-alist): Add :prompt-cont-regexp property for several
8287         database products.
8288         (sql-prompt-cont-regexp): New variable.
8289         (sql-output-newline-count, sql-output-by-send):
8290         New variables.  Record number of newlines in input text.
8291         (sql-send-string): Handle multiple filters and count newlines.
8292         (sql-send-magic-terminator): Count terminator newline.
8293         (sql-interactive-remove-continuation-prompt): Filters output to
8294         remove continuation prompts; one for each newline.
8295         (sql-interactive-mode): Set up new variables, prompt regexp and
8296         output filter.
8297         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8298         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8300 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8302         * emacs-lisp/pcase.el: New file.
8304 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
8306         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8307         as here-document, otherwise the command could exceed maximum
8308         length of command line.
8309         (tramp-handle-vc-registered): Call script accordingly.
8310         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8312 2010-08-10  Kenichi Handa  <handa@m17n.org>
8314         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8315         composable pattern.
8317 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
8319         * emacs-lisp/package.el (package-version-split)
8320         (package--version-first-nonzero, package-version-compare):
8321         Functions removed.
8322         (package-directory-list, package-load-all-descriptors)
8323         (package--built-in, package-activate, define-package)
8324         (package-installed-p, package-compute-transaction)
8325         (package-read-all-archive-contents)
8326         (package--add-to-archive-contents, package-buffer-info)
8327         (package-tar-file-info, package-list-packages-internal):
8328         Use version-to-list and version-list-*.
8330         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8331         Use version-to-list.
8332         (package-upload-buffer-internal): Use version-list-<=.
8334 2010-08-09  Kenichi Handa  <handa@m17n.org>
8336         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8337         composable pattern.
8339 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
8341         * tutorial.el (tutorial--default-keys): C-d is now bound to
8342         delete-forward-char (Bug#6826).
8344         * mouse.el (mouse-drag-track): Remove accidentally-removed check
8345         for `double' value of mouse-1-click-follows-link (Bug#6807).
8347 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
8349         * replace.el (replace-highlight): Bind isearch-forward and
8350         isearch-error, ensuring that highlighting is updated if the user
8351         switches the search direction (Bug#6808).
8353         * isearch.el (isearch-lazy-highlight-forward): New var.
8354         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8355         (isearch-lazy-highlight-update): Use it.
8357 2010-08-08  Kenichi Handa  <handa@m17n.org>
8359         * international/mule.el (define-charset): Store NAME as :base property.
8360         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8361         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8362         current priority.  Force using the designation of the specific
8363         charset by adding `charset' text property.  Improve the whole algorithm.
8365 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8367         * emulation/pc-select.el (pc-selection-mode-hook)
8368         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8369         (pc-selection-mode): Fix typos in docstrings.
8371 2010-08-08  Kenichi Handa  <handa@m17n.org>
8373         * language/cyrillic.el: Don't add "microsoft-cp1251" to
8374         ctext-non-standard-encodings-alist here.
8376         * international/mule.el (ctext-non-standard-encodings-alist):
8377         Add "koi8-r" and "microsoft-cp1251".
8378         (ctext-standard-encodings): New variable.
8379         (ctext-non-standard-encodings-table): List only elements for
8380         non-standard encodings.
8381         (ctext-pre-write-conversion): Adjust for the above change.
8382         Check ctext-standard-encodings.
8384         * international/mule-conf.el (compound-text): Doc fix.
8385         (ctext-no-compositions): Doc fix.
8386         (compound-text-with-extensions): Doc fix.
8388 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8390         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8392 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8394         * progmodes/which-func.el (which-func-format): Split help-echo text
8395         into lines, like other mode-line tooltips.
8397         * server.el (server-start): When using TCP sockets, force IPv4
8398         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
8400 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8402         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8404 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8406         * term.el (term-delimiter-argument-list): Reflow docstring.
8407         (term-read-input-ring, term-write-input-ring, term-send-input)
8408         (term-bol, term-erase-in-display, serial-supported-or-barf):
8409         Fix typos in docstrings.
8411 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8413         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8415 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8417         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8419 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
8421         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8422         Fix typo in docstring (bug#6747).
8424 2010-08-08  Leo  <sdl.web@gmail.com>
8426         * eshell/esh-io.el (eshell-get-target): Better detection of
8427         read-only file (Bug#6762).
8429 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8431         * align.el (align-default-spacing): Doc fix.
8432         (align-region-heuristic, align-regexp): Fix typos in docstrings.
8434 2010-08-08  Stephen Peters  <speters@itasoftware.com>
8436         * calendar/icalendar.el
8437         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
8438         (icalendar--get-weekday-numbers): New.
8439         (icalendar--convert-recurring-to-diary): Handle multiple byday
8440         values in weekly rules.  (Bug#6766)
8442 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
8444         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8445         (icalendar--create-uid, icalendar-export-region)
8446         (icalendar--parse-summary-and-rest): Code formatting.
8448 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
8450         * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8451         to italicize headers.
8452         (calc-highlight-selections-with-faces): New variable.
8453         (calc-selected-face, calc-nonselected-face): New faces.
8455         * calc/calccomp.el (math-comp-highlight-string): Use
8456         `calc-highlight-selections-with-faces' to determine how to highlight
8457         sub-formulas.
8459         * calc/calc-sel.el (calc-show-selections): Change message to when
8460         using faces to highlight selections.
8462 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
8464         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8465         Add SQLite 3 keywords, functions and datatypes.
8466         (sql-interactive-mode): Remove `comint-process-echoes' set to t
8467         (Bug#6686).
8469 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
8471         * simple.el (select-active-regions): Move to keyboard.c.
8472         (deactivate-mark): Used saved-region-selection.
8473         (select-active-region): Function removed.
8474         (activate-mark, set-mark, push-mark-command)
8475         (handle-shift-selection): Don't call it.
8476         (keyboard-quit): Avoid adding the region to the window selection.
8478         * mouse.el (mouse-drag-track): Remove hacks to deal with old
8479         select-active-regions implementation.
8480         (mouse-yank-at-click): Doc fix.
8482         * cus-start.el: Add custom declaration for select-active-regions.
8484 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
8486         * simple.el (delete-forward-char): Doc fix.
8488         * tutorial.el (help-with-tutorial): Hack safe file-local variables
8489         after reading the tutorial.
8491 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
8493         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8494         Fix for the case that a C style comment has its delimiters alone on
8495         their respective lines.  (Bug#193)
8497 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
8499         * net/tramp.el (tramp-handle-start-file-process): Set connection
8500         property "vec".
8501         (tramp-process-sentinel): Use it for flushing the cache.
8502         We cannot do it via the process buffer, the buffer could be deleted
8503         already when running the sentinel.
8505 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
8507         * comint.el (comint-mode): Make directory tracking functions
8508         functional on remote files.  (Bug#6764)
8510 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
8512         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8514 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
8516         * emacs-lisp/find-gc.el (find-gc-source-files):
8517         Rename unexec.c => unexcoff.c.
8519         * emacs-lisp/authors.el (authors-fixed-entries):
8520         Rename unexec.c => unexcoff.c.
8522 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
8524         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8525         cache, not only file cache.
8526         (tramp-process-sentinel): New defun.
8527         (tramp-handle-start-file-process): Use it, in order to invalidate
8528         file caches.
8530 2010-08-03  Leo  <sdl.web@gmail.com>
8532         * server.el (server-start): Simplify loop.
8534 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8536         * frame.el (screen-height, screen-width, set-screen-width)
8537         (set-screen-height): Remove ancient compatibility aliases.
8539         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8540         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
8542         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8543         that change current buffer.
8545 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8547         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8548         beginning of the string.  Use `string-match-p'.  (Bug#6765)
8550 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
8552         * cus-start.el (x-gtk-use-system-tooltips): New variable.
8554 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
8556         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8557         (package--builtins): Tweak descriptions.
8558         (package-print-package): Upcase descriptions if necessary.
8559         Show all built-in packages in font-lock-builtin-face.
8560         (package-list-packages-internal): Omit "emacs" package.
8561         Show status of built-in packages as "built-in".
8563 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
8565         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
8566         before killing to preserve the primary selection (Bug#6701).
8568         * term/x-win.el (x-select-text): Doc fix.
8570 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
8572         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8573         (objc-font-lock-extra-types):
8574         * progmodes/cc-mode.el (c-basic-common-init):
8575         * progmodes/cc-langs.el (c-make-mode-syntax-table)
8576         (c++-make-template-syntax-table)
8577         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8578         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8579         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8580         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8581         * progmodes/cc-fonts.el (c-make-inverse-face)
8582         (c-basic-matchers-after):
8583         * progmodes/cc-engine.el (c-forward-keyword-clause)
8584         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8585         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8586         (c-guess-continued-construct, c-guess-basic-syntax):
8587         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8588         The above functions were modified or created.
8590 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
8592         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8594 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
8596         * files.el (bidi-paragraph-direction): Define safe local values.
8598         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8599         language-info-alist.  Remove outdated FIXME in a comment.
8601 2010-07-31  Alan Mackenzie  <acm@muc.de>
8603         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8604         Auto-fill broken in C/C++ modes.
8606 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
8608         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8609         (menu-bar-showhide-tool-bar-menu-customize-disable)
8610         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8611         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8612         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8613         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8614         make a menu for Options => toolbar that can move it.
8616 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
8618         * emacs-lisp/package-x.el (package--make-rss-entry):
8619         (package-maint-add-news-item, package--update-news)
8620         (package-upload-buffer-internal): New arg ARCHIVE-URL.
8622         * emacs-lisp/package.el (package-archive-url): Rename from
8623         package-archive-id.
8624         (package-install): Doc fix.
8625         (package-download-single, package-download-tar, package-install)
8626         (package-menu-view-commentary): Callers changed.
8628 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
8630         * net/tramp.el (tramp-handle-start-file-process): Check only for
8631         `remote-tty' process property.
8632         (tramp-open-shell): Don't check for tty.
8633         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8634         process property.
8636         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8637         host.
8639 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
8641         * emacs-lisp/package.el (package-load-list, package-archives)
8642         (package-archive-contents, package-user-dir)
8643         (package-directory-list, package--builtins, package-alist)
8644         (package-activated-list, package-obsolete-alist): Mark as risky.
8646 2010-07-28  Phil Hagelberg  <phil@evri.com>
8648         Add support for non-default package repositories.
8649         * emacs-lisp/package.el (package-archive-base): Var deleted.
8650         (package-archives): New variable.
8651         (package-archive-contents): Doc fix.
8652         (package-load-descriptor): Do nothing if descriptor file is missing.
8653         (package--write-file-no-coding): New function.
8654         (package-unpack-single): Use it.
8655         (package-archive-id): New function.
8656         (package-download-single, package-download-tar)
8657         (package-menu-view-commentary): Use it.
8658         (package-installed-p): Make second argument optional.
8659         (package-read-all-archive-contents): New function.
8660         (package-initialize): Use it.
8661         (package-read-archive-contents): Add ARCHIVE argument.
8662         (package--add-to-archive-contents): New function.
8663         (package-install): Don't call package-read-archive-contents.
8664         (package--download-one-archive): Store archive file in a
8665         subdirectory of package-user-dir.
8666         (package-menu-execute): Remove spurious line movement.
8668 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
8670         * cus-start.el (tool-bar-style): Add text-image-horiz.
8672 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8674         * progmodes/gud.el (gud-common-init): Check for remoteness of
8675         `file', and not of `default-directory'.
8677 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8679         * net/tramp.el (tramp-methods): Move hostname to the end in all
8680         ssh `tramp-login-args'.
8681         (tramp-verbose): Describe verbose level 9.
8682         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8683         (tramp-open-connection-setup-interactive-shell): Trace stty
8684         settings if `tramp-verbose' >= 9.
8685         (tramp-handle-start-file-process): Implement tty setting.
8686         (Bug#4604, Bug#6360)
8688         * net/tramp-cmds.el (tramp-bug): Recommend setting of
8689         `tramp-verbose' to 9.
8691 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
8693         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8694         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8695         Remove references to package `lisp-re' (bug#4369).
8697 2010-07-27  Tom Tromey  <tromey@redhat.com>
8699         * progmodes/js.el (js-mode):
8700         * progmodes/make-mode.el (makefile-mode):
8701         * progmodes/simula.el (simula-mode):
8702         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8704 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
8706         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8708         * time.el (display-time-day-and-date): Remove spurious * in docstring.
8709         (display-time-world-buffer-name, display-time-world-mode-map):
8710         Fix typos in docstrings.
8712 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
8714         * image-mode.el (image-display-size): New function.
8715         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8716         (image-mode-fit-frame): Use it (Bug#6639).
8718 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
8720         * dired.el (dired-buffers-for-dir): Handle list values of
8721         dired-directory (Bug#6636).
8723 2010-07-26  Sam Steingold  <sds@gnu.org>
8725         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8726         Do not call `x-get-selection' the second time, reuse the value.
8728 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
8730         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8731         which consist of control chars only.  Suggested by Richard Stallman.
8733 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
8735         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8736         exists before passing an error to find-file-not-found-functions
8737         (bug#6723).
8739 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
8741         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8742         Remove leading nil element, adjust values.
8743         (tetris-shapes, tetris-shape-scores):
8744         Change representation of shapes and remove some redundancy.
8745         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8746         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8747         Adjust for working with new representation of shapes.
8748         (tetris-shape-rotations): New function.
8749         (tetris-move-bottom, tetris-move-left, tetris-move-right)
8750         (tetris-rotate-prev, tetris-rotate-next):
8751         Adjust for working with the new version of tetris-test-shape.
8753 2010-07-23  Markus Triska  <markus.triska@gmx.at>
8755         * progmodes/ps-mode.el: Use comint (bug#5954).
8756         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8757         (ps-mode-other-newline): Simplify.
8758         (ps-run-mode): Derive from comint-mode instead of
8759         fundamental-mode, yielding input history etc.
8760         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8761         (ps-run-send-string): Adapt for comint-mode.
8762         (ps-run-newline): Remove now unneeded function.
8764 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8766         * net/tramp.el (tramp-methods): Move hostname to the end in all
8767         plink `tramp-login-args'.
8769 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8771         * net/tramp.el (tramp-open-shell): New defun.
8772         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8773         Use it.
8775 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8777         * net/tramp.el (tramp-file-name-regexp-unified)
8778         (tramp-completion-file-name-regexp-unified): On W32 systems, do
8779         not regard the volume letter as remote filename.  (Bug#5447)
8781 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
8783         * custom.el (custom-declare-variable): Give a clearer error message
8784         when the docstring is missing (bug#6476).
8786 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
8788         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
8789         (sql-login-params): New widget definition.
8790         (sql-oracle-login-params, sql-mysql-login-params)
8791         (sql-solid-login-params, sql-sybase-login-params)
8792         (sql-informix-login-params, sql-ingres-login-params)
8793         (sql-ms-login-params, sql-postgres-login-params)
8794         (sql-interbase-login-params, sql-db2-login-params)
8795         (sql-linter-login-params): Use it.
8796         (sql-sqlite-login-params): Use it; Define "database" parameter as
8797         a file name.
8798         (sql-sqlite-program): Change to "sqlite3".
8799         (sql-comint-sqlite): Make sure database name is complete.
8800         (sql-for-each-login): New function.
8801         (sql-connect, sql-save-connection): Use it.
8802         (sql-get-login-ext): New function.
8803         (sql-get-login): Use it.
8804         (sql-make-alternate-buffer-name): Handle :file parameters.
8806 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
8808         * dired.el (dired-no-confirm): Document value t and fix defcustom to
8809         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
8811 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
8813         * dired.el (dired-mode-map): Use command remapping (bug#6632).
8815 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
8817         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8819 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
8821         * net/tramp.el (tramp-get-ls-command)
8822         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8823         instead of "/".
8825 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
8827         * progmodes/sql.el: Version 2.3.
8828         (sql-connection-alist): Change keys from symbols to strings;
8829         enhanced the widget definition.
8830         (sql-mode-menu): Add submenu to select connections.
8831         (sql-interactive-mode-menu): Add "Save Connection" item.
8832         (sql-add-product): Fix menu item.
8833         (sql-get-product-feature): Improved error handling.
8834         (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8835         (sql-make-alternate-buffer-name): Simplified.
8836         (sql-product-interactive): Handle missing product.
8837         (sql-connect): Support string keys, minor improvements.
8838         (sql-save-connection): New function.
8839         (sql-connection-menu-filter): New function.
8841 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8843         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8844         (tramp-open-connection-setup-interactive-shell):
8845         Apply workaround for IRIX64 bug.  Move argument of last
8846         `tramp-send-command' where it belongs to.
8848 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8850         * net/tramp.el (tramp-perl-file-attributes)
8851         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8852         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8853         front of `login-args'.
8855 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
8857         * time.el (display-time-world-mode): Define with `define-derived-mode'.
8858         Set `show-trailing-whitespace' to nil.
8859         (display-time-world-display): Simplify.
8861 2010-07-18  Alan Mackenzie  <acm@muc.de>
8863         Enhance `c-file-style' in file/directory local variables.
8864         * progmodes/cc-mode.el (c-count-cfss): New function.
8865         (c-before-hack-hook): Call `c-set-style' differently according to
8866         whether c-file-style was set in file or directory local
8867         variables.
8869 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
8871         * progmodes/sql.el: Version 2.2.
8872         (sql-product, sql-user, sql-database, sql-server, sql-port):
8873         Use defcustom :safe keyword rather than putting safe-local-variable
8874         property.
8875         (sql-password): Use defcustom :risky keyword rather than putting
8876         risky-local-variable property.
8877         (sql-oracle-login-params, sql-sqlite-login-params)
8878         (sql-solid-login-params, sql-sybase-login-params)
8879         (sql-informix-login-params, sql-ingres-login-params)
8880         (sql-ms-login-params, sql-postgres-login-params)
8881         (sql-interbase-login-params, sql-db2-login-params)
8882         (sql-linter-login-params): Add `port' option.
8883         (sql-get-product-feature): Add NO-INDIRECT parameter.
8884         (sql-comint-oracle, sql-comint-sybase)
8885         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8886         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8887         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8888         (sql-comint-linter): Rename sql-connect-* functions to
8889         sql-comint-*.
8890         (sql-product-alist, sql-mode-menu): Rename as above and
8891         :sqli-connect-func to :sqli-comint-func.
8892         (sql-connection): New variable.
8893         (sql-interactive-mode): Set it.
8894         (sql-connection-alist): New variable.
8895         (sql-connect): New function.
8896         (sql--alt-buffer-part, sql--alt-if-not-empty)
8897         (sql-make-alternate-buffer-name): Improved alternative buffer name.
8899 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8901         * image-mode.el (image-bookmark-make-record): Do not set context
8902         in an image (Bug#6650).
8904 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8906         * simple.el (select-active-region): New function.
8907         (push-mark-command, set-mark, activate-mark)
8908         (handle-shift-selection): Use it.
8909         (deactivate-mark): Don't check for size of region.
8911         * mouse.el (mouse-drag-track): Use select-active-region.
8913 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
8915         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8916         "--dired" stronger.
8918 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8920         * term/x-win.el (x-select-enable-primary): Change default to nil.
8921         (x-select-enable-clipboard): Add :version keyword.
8923         * mouse.el (mouse-drag-copy-region):
8924         * simple.el (select-active-regions): Likewise.
8926 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
8928         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8929         (vc-coding-system-for-diff): Use it to decide whether to inherit
8930         from the file the EOL format for reading the diffs of that file.
8931         (Bug#4451)
8933 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
8935         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8936         unibyte, so compressed attachments are not compressed again.
8938 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
8940         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8941         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8942         (tramp-find-shell): Simplify setting connection property.
8943         (tramp-get-ls-command): Make test for "--color=never" stronger.
8945 2010-07-15  Simon South  <ssouth@member.fsf.org>
8947         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8948         blocks within record declarations (i.e. variant parts) correctly.
8950 2010-07-15  Simon South  <ssouth@member.fsf.org>
8952         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8953         over literal tokens when parsing so newlines aren't "absorbed" by
8954         single-line comments.  Corrects the indentation of case blocks
8955         that have a comment on the first line.
8957 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
8959         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8960         by Drew Adams (Bug#5504).
8962 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
8964         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8965         now that Unicode is used (Bug#6594).
8967 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
8969         * term/x-win.el (x-select-enable-clipboard): Default to t.
8970         (x-initialize-window-system): Don't overwrite Paste menu item.
8972         * simple.el (select-active-regions): Default to t.
8973         (push-mark-command): Don't overwrite primary with empty string.
8975         * mouse.el: Bind mouse-2 to mouse-yank-primary.
8976         (mouse-drag-copy-region): Default to nil.
8978         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8979         Cut/Copy/Paste menu bar items.
8981 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8983         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8984         Patch applied by Karl Fogel.
8986         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8987         and `bookmark-current-buffer' if they have been already set in
8988         another buffer (e.g gnus-art).
8990 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
8991             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8993         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8995         * bookmark.el (bookmark-make-record-default): Allow unneeded
8996         information to be omitted from the record.
8998         Adjust declarations and calls:
9000         * info.el (bookmark-make-record-default): Adjust declaration.
9001         (Info-bookmark-make-record): Adjust call.
9003         * woman.el (bookmark-make-record-default): Adjust declaration.
9004         (woman-bookmark-make-record): Adjust call.
9006         * man.el (bookmark-make-record-default): Adjust declaration.
9007         (Man-bookmark-make-record): Adjust call.
9009         * image-mode.el (bookmark-make-record-default): Adjust declaration.
9011         * doc-view.el (bookmark-make-record-default): Adjust declaration.
9013 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9015         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9016         This is also from Thierry Volpiatto's patch in bug #6444.  However,
9017         because it was extraneous to the functional change in that patch,
9018         and causes a re-indendation, I am committing it separately.
9020 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9022         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9023         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9024         Patch applied by Karl Fogel (Bug#6444).
9026 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
9028         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9030 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
9032         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9033         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
9034         (ns-alternatives-map): Change S-tab binding to backtab
9035         (bug#6616).
9037         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9038         under ns.
9040 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
9042         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9043         (Bug#5806)
9045         * language/tv-util.el (tai-viet-re): Remove format.
9047 2010-07-12  Kenichi Handa  <handa@m17n.org>
9049         * language/hebrew.el: Remove no-byte-compile declaration.
9050         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
9051         composition-function-table for 3-character looking back.
9052         (hebrew-font-get-precomposed): New function.
9053         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9055 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
9057         * mouse.el (mouse-drag-track): Handle select-active-regions
9058         (Bug#6612).
9060 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
9062         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9063         empty argument to gvfs-copy.
9065 2010-07-10  Glenn Morris  <rgm@gnu.org>
9067         * calendar/calendar.el (calendar-week-end-day): New function.
9068         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9069         Respect calendar-week-start-day.  (Bug#6606)
9070         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9071         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9072         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9073         respect calendar-week-start-day.
9075 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
9077         * simple.el (use-region-p): Doc fix (Bug#6607).
9079 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
9081         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9082         Add regexps for cucumber and ruby.
9084 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
9086         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9087         (epa-file-insert-file-contents): Hack to prevent
9088         find-file from opening empty buffer when decryption failed
9089         (bug#6568).
9091 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
9093         * textmodes/ispell.el (ispell-alternate-dictionary):
9094         Use file-readable-p.
9095         Return nil if no word-list is found at default locations.
9096         (ispell-complete-word-dict): Default to nil.
9097         (ispell-command-loop): Use 'word-list' when using lookup-words.
9098         (lookup-words): Use ispell-complete-word-dict or
9099         ispell-alternate-dictionary.  Check for word-list availability
9100         and handle errors if needed with better messages (Bug#6539).
9101         (ispell-complete-word): Use ispell-complete-word-dict or
9102         ispell-alternate-dictionary.
9104 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
9106         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9107         builtins (BufferError, BytesWarning, WindowsError; callables
9108         bin, bytearray, bytes, format, memoryview, next, print; __package__).
9110 2010-07-07  Glenn Morris  <rgm@gnu.org>
9112         * play/zone.el (top-level): Do not require timer, tabify, or cl.
9113         (zone-shift-left): Ignore intangibility, and any errors from
9114         forward-char.
9115         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
9116         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9117         deleting, and copying text properties.
9118         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9119         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9120         to point-max is hard.
9121         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9122         (zone-fill-out-screen): Ignore intangibility.
9124 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
9126         * menu-bar.el (menu-bar-mode):
9127         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9128         if it has been set.
9130         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9131         word/line selection (Bug#6565).
9133 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
9135         * net/dbus.el (dbus-send-signal): Declare function.
9137 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
9139         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9140         (dbus-register-property): New optional argument EMITS-SIGNAL.
9141         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9143 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
9145         * mouse.el (mouse-drag-overlay): Variable deleted.
9146         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9147         (mouse--remap-link-click-p): New function.
9148         (mouse-drag-track): Handle dragging by using temporary Transient
9149         Mark mode, instead of a special overlay.
9150         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9151         mouse-show-mark.
9153         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9154         deleted.
9156 2010-07-02  Juri Linkov  <juri@jurta.org>
9158         * autoinsert.el (auto-insert-alist): Fix readability
9159         by using dotted pair notation for lambda.
9161 2010-07-02  Juri Linkov  <juri@jurta.org>
9163         * faces.el (read-face-name): Rename arg `string-describing-default'
9164         to `default'.  Doc fix.  Display the default value in quotes
9165         in the prompt.  With empty input, return the `default' arg,
9166         unless the default value is a string (in which case return nil).
9167         (describe-face): Replace the string `default' arg of `read-face-name'
9168         with the symbol `default'.
9170 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
9172         * emulation/viper-cmd.el (viper-delete-backward-char)
9173         (viper-del-backward-char-in-insert)
9174         (viper-del-backward-char-in-replace, viper-change)
9175         (viper-backward-indent): Replace delete-backward-char with
9176         delete-char (Bug#6552).
9178 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
9180         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9182 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9184         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9185         argument passed to frame-creation-function (Bug#5378).
9187         * faces.el (x-handle-named-frame-geometry)
9188         (x-handle-reverse-video, x-create-frame-with-faces)
9189         (face-set-after-frame-default, tty-create-frame-with-faces):
9190         Don't separately consult default-frame-alist.  It is now passed as the
9191         PARAMETER argument.
9193 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
9195         * startup.el (command-line): Don't call tool-bar-setup in a
9196         tty-only build.
9198 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9200         * ruler-mode.el (ruler--save-header-line-format): New fun.
9201         (ruler-mode): Use it as a setter function, so as not to overwrite
9202         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9204 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
9206         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
9207         (vc-root-diff, vc-print-root-log, vc-log-incoming)
9208         (vc-log-outgoing): Use it.
9209         (vc-diff-internal): Set diff-vc-backend.
9211         * vc/diff-mode.el (diff-vc-backend): New var.
9213 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
9215         * dynamic-setting.el (font-setting-change-default-font):
9216         Remove call to message.
9218 2010-06-28  Kenichi Handa  <handa@m17n.org>
9220         * international/quail.el (quail-insert-kbd-layout): Fix the
9221         showing of untranslated characters.
9223 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
9225         * simple.el (delete-active-region): New option.
9226         (delete-backward-char): Implement in Lisp.
9227         (delete-forward-char): New command.
9229         * mouse.el (mouse-region-delete-keys): Delete.
9230         (mouse-show-mark): Simplify.
9232         * bindings.el (global-map): Bind delete and DEL, the former to
9233         delete-forward-char.
9235 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
9237         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9238         (ruby-mode): Bind indent-line-function (Bug#5119).
9240 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9242         * startup.el (command-line): Recognize "0" X resource value.
9244 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9246         * startup.el (command-line): Use X resources to set the value of
9247         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9249         * menu-bar.el (menu-bar-mode):
9250         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9251         Set init-value to t.
9253         * frame.el (frame-notice-user-settings): Don't change
9254         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9255         vice versa (Bug#2249).
9257 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
9259         * w32-fns.el (w32-convert-standard-filename): Doc fix.
9261 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
9263         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9264         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9266         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9267         default directories are expanded (Bug#6143).
9269 2010-06-24  Juri Linkov  <juri@jurta.org>
9271         * minibuffer.el (completions-format): Change default from nil to
9272         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
9274 2010-06-24  Juri Linkov  <juri@jurta.org>
9276         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9277         buffer-locally to lambda that re-runs the vc diff command.
9278         (Bug#6447)
9280 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
9282         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9283         echo area is in use (Bug#3412).
9285 2010-06-22  Glenn Morris  <rgm@gnu.org>
9287         * textmodes/texinfmt.el (texinfo-format-region)
9288         (texinfo-raise-lower-sections, texinfo-format-separate-node)
9289         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9290         (texinfo-format-option, texinfo-noindent):
9291         Use line-beginning-position and line-end-position.
9293         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9294         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9295         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9296         utf-8 characters.
9298 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
9300         * play/zone.el (zone-fall-through-ws): Fix next-line ->
9301         forward-line fallout.
9303 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
9305         * mouse.el (mouse-appearance-menu): Add docstring.
9307         * help.el (describe-key): Print up-event using key-description.
9309 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
9311         * net/zeroconf.el (zeroconf-resolve-service)
9312         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9313         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9315 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
9317         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9319 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
9321         Avoid displaying files with a nil state in vc-dir.
9322         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9323         cases that cause insertion.
9324         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9325         with a nil state.
9327 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9329         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9331 2010-06-29  Leo  <sdl.web@gmail.com>
9333         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
9335 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9337         * generic-x.el (bat-generic-mode): Fix regexp for command line
9338         switches (Bug#5719).
9340 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
9342         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9343         of nconc to avoid pure storage error (Bug#6239).
9345 2010-06-27  Christoph Scholtes  <cschol2112@googlemail.com>
9347         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9348         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9349         bindings of bookmark-automatically-show-annotations (Bug#6515).
9351 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
9353         * arc-mode.el (archive-zip-extract): Don't quote the file name on
9354         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
9356 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9358         * comint.el (make-comint, make-comint-in-buffer): Mention return
9359         value in the docstrings.  (Bug#6498)
9361 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
9363         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9364         since it is not present when using some non-default switches.
9366 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
9368         * simple.el (compose-mail): Fix doc string to refer to
9369         `compose-mail-user-agent-warnings', instead of to the
9370         nonexistent `compose-mail-check-user-agent'.
9372 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
9374         Fix an indentation bug:
9376         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9377         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9378         of existing values.
9380         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9381         (c-clear->-pair-props-if-match-before): now return t when they've
9382         cleared properties, nil otherwise.
9383         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9384         by taking account of the existing value.
9386         * progmodes/cc-defs.el
9387         (c-clear-char-property-with-value-function): Fix this to clear the
9388         property rather than overwriting it with nil.
9390 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
9392         * emacs-lisp/package.el (package-print-package): Add link to
9393         package description via describe-package.
9394         (describe-package-1): List package requirements.  Add button to
9395         perform installation.
9396         (package-menu-describe-package): New command.
9398         * help-mode.el (help-package): New button type.
9400 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
9402         * emacs-lisp/package.el: Move package-list-packages binding to
9403         menu-bar.el.
9404         (describe-package, describe-package-1, package--dir): New funs.
9405         (package-activate-1): Use package--dir.
9407         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9409         * help-mode.el (help-package-def): New button type.
9411         * menu-bar.el: Move package-list-packages binding here from
9412         package.el.
9414 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
9416         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
9418 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9420         * emacs-lisp/edebug.el (edebug-read-list):
9421         Phase out old-style backquotes.
9423 2010-06-17  Juri Linkov  <juri@jurta.org>
9425         * help-mode.el (help-mode): Set buffer-local variable
9426         revert-buffer-function to help-mode-revert-buffer.
9427         (help-mode-revert-buffer): New function.
9429         * info.el (Info-revert-find-node): Check for major-mode Info-mode
9430         before popping to "*info*" (like in other Info functions).
9431         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
9432         old-history-forward.  Pop to old-buffer-name or "*info*" to
9433         recreate the killed buffer.  Set Info-history-forward from
9434         old-history-forward.
9435         (Info-breadcrumbs-depth): Add :group and :version.
9437 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
9439         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9441 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
9443         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9444         for languages like Portuguese with pt_{BR,PT} and no plain pt.
9446 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
9448         * emacs-lisp/package.el (package-menu-mode-map):
9449         Move initialization into declaration.
9451         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9453 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
9455         * emacs-lisp/package.el (package-archive-base): Point to
9456         elpa.gnu.org.
9457         (package-enable, package-load-list): New defcustoms.
9458         (package-user-dir, package-directory-list): Turn into defcustoms.
9459         Don't include package-user-dir in package-directory-list.
9460         (package--builtins-base): Don't include Emacs as a "package".
9461         (package-subdirectory-regexp): New var.
9462         (package-load-all-descriptors, package-compute-transaction)
9463         (package-download-transaction): Obey package-load-list.
9464         (package-activate-1): Rename from package-do-activate.
9465         (package-list-packages-internal): Check package-load-list.
9466         (package-load-descriptor, package-generate-autoloads)
9467         (package-unpack, package-unpack-single)
9468         (package--read-archive-file, package-delete):
9469         Use expand-file-name.
9471         * emacs-lisp/package-x.el: New file.  Package uploading
9472         functionality split out from package.el.
9474         * startup.el (command-line): Load packages after reading init file.
9476 2010-06-17  Tom Tromey  <tromey@redhat.com>
9478         * emacs-lisp/package.el: New file.
9480 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9482         Fix vc-annotate for renamed files when using Git.
9483         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9484         ls-files.  Doe not pass the object as a file name to cat-file, it
9485         is not a file name.
9486         (vc-git-annotate-command): Pass the file name using -- to avoid
9487         ambiguity with the revision.
9488         (vc-git-previous-revision): Pass a relative file name.
9490 2010-06-22  Glenn Morris  <rgm@gnu.org>
9492         * progmodes/js.el (js-mode-map): Use standard capitalization and
9493         ellipses for menu entries.
9495         * wid-edit.el (widget-complete): Doc fix.
9497 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
9499         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9501 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9503         Fix annotating other revisions for renamed files in vc-annotate.
9504         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9505         VC backend.  Use it when non-nil.
9506         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9507         (Bug#6487).
9509         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9510         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9511         Do not pass the file name to the 'previous-revision call when we
9512         don't want a file diff.  (Bug#6489)
9514 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9516         Fix finding revisions for renamed files in vc-annotate.
9517         * vc/vc.el (vc-find-revision): Add an optional argument for
9518         the VC backend.  Use it when non-nil.
9519         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9520         backend to vc-find-revision.  (Bug#6487)
9522 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9524         Fix reading file names in Git annotate buffers.
9525         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9526         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
9528 2010-06-20  Alan Mackenzie  <acm@muc.de>
9530         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9531         in file local variables, set it first.
9533 2010-06-19  Glenn Morris  <rgm@gnu.org>
9535         * descr-text.el (describe-char-unicode-data): Insert separating
9536         space when needed.  (Bug#6422)
9538         * progmodes/idlwave.el (idlwave-action-and-binding):
9539         Fix typo in 2009-12-03 change.  (Bug#6450)
9541 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9543         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9544         handling for `lambda' (misunderstanding).
9546 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
9548         * calc/calc-poly.el (math-accum-factors): Make sure that
9549         constants aren't distributed after they are factored out.
9551 2010-06-16  Juri Linkov  <juri@jurta.org>
9553         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9554         `list-colors-print'.  (Bug#6332)
9556         * subr.el (read-quoted-char): Fix up last change (bug#6290).
9558 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9560         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9561         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
9563         * font-lock.el (font-lock-major-mode): Rename from
9564         font-lock-mode-major-mode to distinguish it from
9565         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9566         (font-lock-set-defaults):
9567         * font-core.el (font-lock-default-function): Adjust users.
9568         (font-lock-mode): Don't set it at all.
9570 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9572         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9574 2010-06-16  Glenn Morris  <rgm@gnu.org>
9576         * calendar/appt.el (appt-time-msg-list): Doc fix.
9577         (appt-check): Let-bind appt-warn-time.
9578         (appt-add): Make the 3rd argument optional.
9579         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
9580         Only add WARNTIME to the output list if non-nil.
9582 2010-06-16  Ivan Kanis  <apple@kanis.eu>
9584         * calendar/appt.el (appt-check): Let the 3rd element of
9585         appt-time-msg-list specify the warning time.
9586         (appt-add): Add new argument with the warning time.  (Bug#5176)
9588 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9590         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9591         older than version 1.6.  (Bug#6361)
9593 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
9595         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9596         used by cl-do-arglist.  (Bug#6408)
9598 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
9600         * textmodes/ispell.el (ispell-dictionary-base-alist):
9601         Fix portuguese casechars/not-casechars for missing 'çÇ'.
9602         Suggested by Rolando Pereira (bug#6434).
9604 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
9606         * facemenu.el (list-colors-sort): Doc fix.
9608 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9610         * progmodes/sql.el (sql-connect-mysql): Fix typo.
9612 2010-06-14  Juri Linkov  <juri@jurta.org>
9614         Add sort option `list-colors-sort'.  (Bug#6332)
9615         * facemenu.el (color-rgb-to-hsv): New function.
9616         (list-colors-sort): New defcustom.
9617         (list-colors-sort-key): New function.
9618         (list-colors-display): Doc fix.  Sort list according to the option
9619         `list-colors-sort'.
9620         (list-colors-print): Add HSV values to `help-echo' property of
9621         RGB strings.
9623 2010-06-14  Juri Linkov  <juri@jurta.org>
9625         * compare-w.el: Move to the "vc" subdirectory.
9627 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9629         * image-mode.el (image-mode-map): Remap left-char and right-char.
9631         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9633 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
9635         * term/common-win.el (x-colors): Add all the color names defined
9636         in rgb.txt (Bug#6332).
9638         * facemenu.el (list-colors-print): Don't print extra names if it
9639         will overflow the window width.
9641         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9642         change (Bug#6343).
9644 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
9646         * files.el (make-directory): Doc fix (bug#6396).
9648 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
9650         * net/tramp.el (tramp-remote-process-environment): Protect version
9651         string by apostroph.
9652         (tramp-shell-prompt-pattern): Do not use a shy group in case of
9653         XEmacs.
9654         (tramp-file-name-for-operation): Add `call-process-region'.
9655         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9657         * net/tramp-compat.el (top): Do not autoload
9658         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
9659         only when `start-file-process' is not bound.
9660         (tramp-advice-file-expand-wildcards): Do not use
9661         `tramp-handle-file-remote-p'.
9662         (tramp-compat-make-temp-file): Handle the case, that
9663         `make-temp-file' has no third argument EXTENSION.
9665 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
9667         * makefile.w32-in (WINS_BASIC): Include new directory vc.
9669         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9671 2010-06-11  Juri Linkov  <juri@jurta.org>
9673         * finder.el (finder-known-keywords): Add keyword "vc"
9674         for version control.
9676         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9677         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9678         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9679         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9681 2010-06-11  Juri Linkov  <juri@jurta.org>
9683         Move version control related files to the "vc" subdirectory.
9684         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9685         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9686         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9687         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9688         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9689         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9690         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9691         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9692         Move files to the "vc" subdirectory.
9694 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
9696         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9697         (Bug#6367).
9699 2010-06-11  Stephen Eglen  <stephen@gnu.org>
9701         * shell.el: Bind `shell-resync-dirs' to M-RET.
9703 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
9705         * notifications.el: Move file from lisp/net, because it is
9706         supposed to talk locally to the user.
9708 2010-06-10  Julien Danjou  <julien@danjou.info>
9710         * net/notifications.el (notifications-on-action-signal)
9711         (notifications-on-closed-signal): Pass notification id as first
9712         argument to the callback functions.  Add docstrings.
9713         (notifications-notify): Fix docstring.
9715 2010-06-10  Glenn Morris  <rgm@gnu.org>
9717         * emacs-lisp/authors.el (authors-ignored-files)
9718         (authors-valid-file-names): Add some files.
9720 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9722         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9723         merge conflict, giving preference to the emacs-23 version of the code.
9725 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9727         * emacs-lisp/advice.el (ad-compile-function):
9728         Define warning-suppress-types before we let-bind it (bug#6275).
9730         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9731         declare it, make it buffer-local and permanent-local (bug#6324).
9732         (vc-resynch-window): Adjust name.
9733         * vc-hooks.el (vc-find-file-hook): Adjust name.
9735 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
9737         * net/notifications.el (notifications-notify): Fix docstring.
9739 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9741         Update to Unicode 6.0.0 beta.
9742         * international/charprop.el: Update copyright.
9743         * international/mule-cmds.el (ucs-names): Update character ranges.
9744         * international/uni-bidi.el:
9745         * international/uni-category.el:
9746         * international/uni-combining.el:
9747         * international/uni-comment.el:
9748         * international/uni-decimal.el:
9749         * international/uni-decomposition.el:
9750         * international/uni-digit.el:
9751         * international/uni-lowercase.el:
9752         * international/uni-mirrored.el:
9753         * international/uni-name.el:
9754         * international/uni-numeric.el:
9755         * international/uni-old-name.el:
9756         * international/uni-titlecase.el:
9757         * international/uni-uppercase.el: Regenerate.
9759 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9761         * emacs-lisp/smie.el (comment-string-strip): Declare function.
9762         (smie-precs-precedence-table): Fix typo in docstring.
9764         * vc-mtn.el (log-edit-extract-headers): Declare function.
9766         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9768         * net/notifications.el (dbus-register-signal): Declare function.
9769         (notifications-notify): Fix typos and reflow docstring.
9771 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9773         Improve VC create/retrieve tag/branch.
9774         * vc.el (vc-create-tag): Do not read the directory name for VCs
9775         with repository revision granularity.  Adjust the tag/branch
9776         prompt.  Reset VC properties.
9777         (vc-retrieve-tag): Do not read the directory name for VCs
9778         with repository revision granularity.  Reset VC properties.
9780 2010-06-09  Julien Danjou  <julien@danjou.info>
9782         * net/notifications.el: New file.
9784 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9786         Add optional support for resetting VC properties.
9787         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9788         call vc-file-clearprops when true.
9789         (vc-resynch-buffer): Add new optional argument, pass it down.
9790         (vc-resynch-buffers-in-directory): Likewise.
9792         Improve support for special markup in the VC commit message.
9793         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9794         * vc-hg.el (vc-hg-checkin): Add support for Date:.
9795         * vc-git.el (vc-git-checkin):
9796         * vc-bzr.el (vc-bzr-checkin): Likewise.
9798 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9800         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9801         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9803 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
9805         * iimage.el: Remove images as soon as the underlying text is modified.
9806         (iimage-modification-hook): New function.
9807         (iimage-mode-buffer): Use it.
9809 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9811         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9812         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
9813         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
9814         (smie-indent-keyword): Add handling of open-paren keywords.
9815         (smie-indent-comment-continue): Don't assume comment-continue.
9817 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
9819         * window.el (pop-to-buffer): Remove the conditional that
9820         compares new-window and old-window, so it will reselect
9821         the selected window unconditionally.
9822         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9824 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9826         * emacs-lisp/smie.el (smie-indent-offset-after)
9827         (smie-indent-forward-token, smie-indent-backward-token): New functions.
9828         (smie-indent-after-keyword): Use them.
9829         (smie-indent-fixindent): Only applies to the indentation of the BOL.
9830         (smie-indent-keyword): Tweak the black magic.
9831         (smie-indent-comment-continue): Strip comment-continue before use.
9832         (smie-indent-functions): Indent comments before keywords.
9834 2010-06-06  Juri Linkov  <juri@jurta.org>
9836         * isearch.el (isearch-lazy-highlight-search): Fix looping
9837         by checking for empty match.  This syncs this loop with the
9838         similar loop in `isearch-search'.  (Bug#6362)
9840 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
9842         * net/dbus.el (dbus-register-method): Declare function.
9843         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9844         (dbus-introspect): Doc fix.
9845         (dbus-event-bus-name, dbus-introspect-get-interface)
9846         (dbus-introspect-get-argument): Reflow docstrings.
9848 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
9850         vc-log-incoming/vc-log-outgoing fixes for Git.
9851         * vc-git.el (vc-git-log-view-mode): Fix font lock for
9852         incoming/outgoing logs.
9853         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9854         instead of vc-git-compute-remote.
9855         (vc-git-compute-remote): Remove.
9857 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
9859         * term/common-win.el (x-colors): Add "dark green" and "dark
9860         turquoise" (Bug#6332).
9862 2010-06-04  Juri Linkov  <juri@jurta.org>
9864         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9865         Instead of setting `replace' to t and replacing the same string
9866         with itself, don't do certain actions when
9867         kill-do-not-save-duplicates is non-nil and string is equal to car
9868         of kill-ring: don't call menu-bar-update-yank-menu, don't push
9869         interprogram-paste strings to kill-ring, and don't push the input
9870         argument `string' to kill-ring.
9871         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9873 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9875         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9877 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
9879         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9880         (tramp-gvfs-handler-mounted-unmounted)
9881         (tramp-gvfs-connection-mounted-p): Handle default-location.
9883         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9884         move files to trash.
9886 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9888         * international/mule-cmds.el (nonascii-insert-offset)
9889         (nonascii-translation-table): Add obsolescence information.
9891         * international/mule.el (make-translation-table-from-vector): Doc fix.
9893 2010-06-03  Glenn Morris  <rgm@gnu.org>
9895         * desktop.el (desktop-clear-preserve-buffers):
9896         Add "*Warnings*" buffer.  (Bug#6336)
9898 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
9900         vc-log-incoming/vc-log-outgoing improvements for Git.
9901         * vc-git.el (vc-git-log-outgoing): Use the same format as the
9902         short log.
9903         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
9905         Add bindings for vc-log-incoming and vc-log-outgoing.
9906         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9907         and vc-log-outgoing.
9908         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9909         and vc-log-outgoing.
9911 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9913         * net/rcirc.el (rcirc-sort-nicknames): Remove.
9914         (rcirc-handler-366): Always sort nicknames.
9916 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
9918         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9920 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9922         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9924 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9926         * net/rcirc.el (rcirc-sort-nicknames): Change default.
9927         (rcirc-sort-nicknames-join): Avoid setq.
9929 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
9931         * net/rcirc.el (rcirc-sort-nicknames): New custom.
9932         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9933         (rcirc-handler-366): Use them.
9935 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9937         Split smie-indent-calculate into more manageable chunks.
9938         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9939         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9940         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9941         (smie-indent-exps): Extract from smie-indent-calculate.
9942         (smie-indent-functions): New var.
9943         (smie-indent-functions): Use them.
9945 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9947         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9948         (smie-indent-calculate): Simplify and cleanup.
9950 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
9952         * net/tramp-gvfs.el (top): Require url-util.
9953         (tramp-gvfs-mount-point): Remove.
9954         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9955         New defuns.
9956         (with-tramp-dbus-call-method): Format trace message.
9957         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9958         Implement backup call, when operation on local files fails.
9959         Use progress reporter.  Flush properties of changed files.
9960         (tramp-gvfs-handle-make-directory): Make more traces.
9961         (tramp-gvfs-url-file-name): Hexify file name in url.
9962         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9963         into account for the resulting file name.
9964         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9965         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
9966         (tramp-gvfs-handler-mounted-unmounted)
9967         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9968         attribute "default_location".  Set "prefix" property.
9969         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9970         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9971         exists.  Raise an error, if not (due to a corresponding answer
9972         "no" in interactive questions, for example).
9974 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
9976         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9978 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
9980         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9981         right-*.  (Bug#6265)
9983 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
9985         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9986         * vc-git.el (vc-git-compute-remote): New function.
9987         (vc-git-log-outgoing): Use it instead of hard coding a value.
9988         (vc-git-log-incoming): New function.
9990         Improve state updating for VC tag commands.
9991         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9992         to update the state of all buffers in the directory.
9994         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9996 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9998         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9999         `file-directory-p' to the filename part rather than to the whole text.
10001 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10003         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10005 2010-05-31  Drew Adams  <drew.adams@oracle.com>
10007         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10009 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
10011         * subr.el (momentary-string-display): Just use read-event to read
10012         the exit event (Bug#6238).
10014 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
10016         * international/mule.el (define-coding-system): Doc fix (bug#6313).
10018 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10020         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10021         Suggested by Eli Zaretskii <eliz@gnu.org>.
10023 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10025         * minibuffer.el (completion-file-name-table): Don't return a boundary
10026         past the end of `string' (bug#6299).
10027         (completion--file-name-table): Delegate to completion-file-name-table
10028         for the `boundaries' case.
10030 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10032         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10033         movement commands.
10035         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10036         `path-separator', but maintain compatibility with Emacs 20.2.
10038 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10040         * server.el (server-process-filter): Receive parent-id argument
10041         from emacsclient.
10042         (server-create-window-system-frame): New arg.  Pass parent-id as
10043         frame parameter.
10045 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
10047         Bidi-sensitive word movement with arrow keys.
10048         * subr.el (right-arrow-command, left-arrow-command): Move to
10049         bindings.el.
10051         * bindings.el (right-char, left-char): Move from subr.el and
10052         rename from right-arrow-command and left-arrow-command.
10053         (right-word, left-word): New functions.
10054         (global-map) <right>: Bind to right-char.
10055         (global-map) <left>: Bind to left-char.
10056         (global-map) <C-right>: Bind to right-word.
10057         (global-map) <C-left>: Bind to left-word.
10059         * ls-lisp.el (ls-lisp-classify-file): New function.
10060         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10061         (ls-lisp-classify): Call ls-lisp-classify-file.
10062         (insert-directory): Remove blanks from switches.
10064 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10066         * ansi-color.el: Delete unused escape sequences (Bug#6085).
10067         (ansi-color-drop-regexp): New constant.
10068         (ansi-color-apply, ansi-color-filter-region)
10069         (ansi-color-apply-on-region): Delete unrecognized control sequences.
10070         (ansi-color-apply): Build string list before calling concat.
10072 2010-05-28  Juri Linkov  <juri@jurta.org>
10074         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10075         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10076         (Bug#5270)
10078 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10080         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10081         to ignored backtrace functions.
10082         (with-progress-reporter): Expand docstring.
10083         (tramp-handle-delete-file): Implement TRASH argument.
10084         (tramp-get-remote-trash): New defun.
10086 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10088         * net/tramp-compat.el (tramp-compat-delete-file):
10089         Use `symbol-value' for backward compatibility.
10091         * net/tramp.el (tramp-handle-make-symbolic-link)
10092         (tramp-handle-load)
10093         (tramp-do-copy-or-rename-file-via-buffer)
10094         (tramp-do-copy-or-rename-file-directly)
10095         (tramp-do-copy-or-rename-file-out-of-band)
10096         (tramp-handle-process-file, tramp-handle-call-process-region)
10097         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10098         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10099         (tramp-delete-temp-file-function): Use `delete-file' instead
10100         of `tramp-compat-delete-file'.
10102         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10103         (tramp-fish-handle-make-symbolic-link)
10104         (tramp-fish-handle-process-file): Use `delete-file' instead
10105         of `tramp-compat-delete-file'.
10107         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10108         Use `delete-file' instead of `tramp-compat-delete-file'.
10110         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10111         `delete-file' instead of `tramp-compat-delete-file'.
10113         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10114         Use `delete-file' instead of `tramp-compat-delete-file'.
10116         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10117         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10118         (tramp-smb-handle-write-region): Use `delete-file' instead of
10119         `tramp-compat-delete-file'.
10120         (tramp-smb-handle-delete-directory): Use 'trash as arg.
10122 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10124         * dired.el (dired-delete-file): New arg TRASH.
10125         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
10126         (dired-do-flagged-delete, dired-do-delete): Use trash.
10128         * speedbar.el (speedbar-item-delete): Allow trashing.
10130         * files.el (delete-directory): New arg TRASH.
10132         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10133         (ange-ftp-rename-remote-to-remote)
10134         (ange-ftp-rename-local-to-remote)
10135         (ange-ftp-rename-remote-to-local, ange-ftp-load)
10136         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10137         `delete-file'.
10138         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10139         allow trashing.
10141         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10142         handle new TRASH arg of `delete-file'.
10144         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10145         (tramp-handle-make-symbolic-link, tramp-handle-load)
10146         (tramp-do-copy-or-rename-file-via-buffer)
10147         (tramp-do-copy-or-rename-file-directly)
10148         (tramp-do-copy-or-rename-file-out-of-band)
10149         (tramp-handle-process-file, tramp-handle-call-process-region)
10150         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10151         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10152         (tramp-delete-temp-file-function): Use null TRASH arg in
10153         tramp-compat-delete-file call.
10155         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10156         (tramp-fish-handle-delete-file)
10157         (tramp-fish-handle-make-symbolic-link)
10158         (tramp-fish-handle-process-file): Use null TRASH arg in
10159         `tramp-compat-delete-file' call.
10161         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10162         arg in `tramp-compat-delete-file' call.
10164         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10165         (tramp-gvfs-handle-write-region): Use null TRASH arg in
10166         `tramp-compat-delete-file' call.
10168         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10169         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10170         `tramp-compat-delete-file' call.
10172         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10173         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10174         (tramp-smb-handle-write-region): Use null TRASH arg in
10175         tramp-compat-delete-file call.
10176         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10177         (tramp-smb-handle-delete-file): Rename arg.
10179         * diff.el (diff-sentinel):
10180         * epg.el (epg--make-temp-file, epg-decrypt-string)
10181         (epg-verify-string, epg-sign-string, epg-encrypt-string):
10182         * jka-compr.el (jka-compr-partial-uncompress)
10183         (jka-compr-call-process, jka-compr-write-region):
10184         * server.el (server-sentinel): Remove optional arg from
10185         delete-file, reverting 2010-05-03 change.
10187 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10189         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10190         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10192 2010-05-27  Kenichi Handa  <handa@m17n.org>
10194         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10195         element of GSTRING is nil.
10197 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10199         * emacs-lisp/smie.el (smie-forward-token-function)
10200         (smie-backward-token-function): New vars.
10201         (smie-backward-sexp, smie-forward-sexp)
10202         (smie-indent-hanging-p, smie-indent-calculate): Use them.
10203         (smie-default-backward-token): Rename from smie-backward-token and
10204         skip comments.
10205         (smie-default-forward-token): Rename from smie-forward-token and
10206         skip comments.
10207         (smie-next-sexp): Handle nil results from next-token.
10208         (smie-indent-calculate): Add a new case for special `fixindent' comments.
10210 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10212         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10213         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10215 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
10217         * htmlfontify.el (hfy-face-resolve-face): New function.
10218         (hfy-face-to-style): Use it (Bug#6279).
10220 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10222         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10223         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10225 2010-05-26  Glenn Morris  <rgm@gnu.org>
10227         * emulation/edt.el (edt-load-keys): Use locate-library.
10229 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
10231         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10232         (log-edit-changelog-entries): Doc fix.
10233         (log-edit-changelog-insert-entries): Args changed.
10234         Rename relative filenames in ChangeLog entries.  Delete tabs.
10235         (log-edit-insert-changelog-entries): Reorganize return value of
10236         `log-edit-changelog-entries' to pass filenames to
10237         log-edit-changelog-insert-entries.
10239 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10241         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10242         `image-dired-dired-insert-marked-thumbs' to
10243         `image-dired-dired-toggle-marked-thumbs'.
10245         * image-dired.el: Require cl when compiling.
10246         (image-dired-dired-toggle-marked-thumbs): Rename from
10247         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
10248         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
10249         to 'no-dir.  Skip files whose names don't match
10250         `image-file-name-regexp'.  When file has a thumbnail overlay,
10251         delete it.  (Bug#5270)
10253 2010-05-25  Juri Linkov  <juri@jurta.org>
10255         * image-mode.el (image-mode): Add image-after-revert-hook to
10256         after-revert-hook.
10257         (image-after-revert-hook): New function.  (Bug#5669)
10259 2010-05-25  Juri Linkov  <juri@jurta.org>
10261         * image.el (image-animated-p): When delay between animated images
10262         is 0, set it to 10 (0.1 sec).  (Bug#6258)
10264 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
10266         * net/tramp.el (tramp-handle-insert-directory): Don't use
10267         `forward-word', its default syntax could be changed.
10269 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
10271         * net/tramp.el (tramp-progress-reporter-update): New defun.
10272         (with-progress-reporter): Use it.
10273         (tramp-process-actions):
10274         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10275         Preserve current message, in order to let progress reporter continue
10276         afterwards.  (Bug#6257)
10278 2010-05-25  Glenn Morris  <rgm@gnu.org>
10280         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10281         Add :version.
10283 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10285         * net/rcirc.el (rcirc-default-user-name): Change to "user".
10286         (rcirc-default-full-name): Change to "unknown".
10287         (rcirc-user-name-history): Add variable.
10289 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10290             Jonathan Rockway  <jon@jrock.us>
10292         * net/rcirc.el (rcirc-server-alist): Add :pass.
10293         (rcirc): When prompting for connection parameters, also prompt for
10294         username and password.
10295         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
10296         value to server when connecting.
10298 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10300         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10301         (smie-merge-prec2s): Pass the tables as separate args.
10302         (smie-bnf-precedence-table): Adjust call accordingly.
10303         (smie-prec2-levels): Set levels at the end.
10305         Replace Lisp calls to delete-backward-char by delete-char.
10306         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10307         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10308         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10309         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10310         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10311         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10312         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10313         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10314         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10315         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10316         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10317         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10318         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10319         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10320         delete-backward-char by calls to delete-char.
10322 2010-05-25  Kenichi Handa  <handa@m17n.org>
10324         * language/hebrew.el (hebrew-shape-gstring): New function.
10325         Register it in composition-function-table for all Hebrew combining
10326         characters.
10328 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10330         * epa.el (epa--select-keys): Don't explicitly delete the window since
10331         that can fail (e.g. sole window in frame).  Use dedication instead.
10333 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10335         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10337 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
10339         * image.el (image-refresh): Define as an alias for image-flush.
10341         * image-mode.el (image-toggle-display-image): Caller changed.
10343 2010-05-21  Juri Linkov  <juri@jurta.org>
10345         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10346         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
10347         whitespace, call wildcard-to-regexp on substrings and concat them
10348         with "\\|".  (Bug#6114)
10350 2010-05-21  Alan Mackenzie  <acm@muc.de>
10352         * progmodes/cc-engine.el (c-parse-state-get-strategy):
10353         Replace parameter `here' with `here-' and `here-plus', which sandwich
10354         any pertinent CPP construct.
10355         (c-remove-stale-state-cache-backwards): Fix a bug which happens
10356         when doing (c-parse-state) in a CPP construct: Exclude any "new"
10357         CPP construct from taking part in the scanning.
10359 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
10361         * net/tramp.el (tramp-do-copy-or-rename-file)
10362         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10363         Tune `with-progress-reporter' messages.
10364         (tramp-handle-vc-registered):
10365         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10366         (tramp-fish-handle-insert-file-contents)
10367         (tramp-fish-maybe-open-connection):
10368         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10369         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10370         (tramp-imap-handle-insert-file-contents)
10371         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10373 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
10375         * add-log.el (change-log-font-lock-keywords):
10376         Highlight all authors in multi-author entries.
10378         * smerge-mode.el (smerge-refine-ignore-whitespace)
10379         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10380         Fix typos in docstrings.
10381         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10383 2010-05-21  Glenn Morris  <rgm@gnu.org>
10385         * progmodes/fortran.el (fortran-mode):
10386         * progmodes/f90.el (f90-mode): Derive from prog-mode.
10388         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10389         having a relative path in src/Makefile.in.
10391 2010-05-20  Kevin Ryde  <user42@zip.com.au>
10393         * help-mode.el (help-make-xrefs): For Info node links turn
10394         newlines into spaces.  Link node names with newlines are matched
10395         by help-xref-info-regexp and buttonized, this change ensures they
10396         can be followed successfully with RET.  (Bug#6206)
10398 2010-05-20  Juri Linkov  <juri@jurta.org>
10400         * locate.el (locate): Use pop-to-buffer instead of
10401         switch-to-buffer-other-window.  (Bug#6204)
10403 2010-05-20  Juri Linkov  <juri@jurta.org>
10405         * replace.el (replace-highlight): Fix lazy-highlighting
10406         for `M-s w str M-% str RET'.
10408 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
10410         * isearch.el (isearch-yank-word-or-char): Pull next subword
10411         when `subword-mode' is activated.  (Bug#6220)
10413 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
10415         * isearch.el (isearch-update-post-hook): New hook.
10416         (isearch-update): Use the new hook.  (Bug#6225)
10418 2010-05-20  Juri Linkov  <juri@jurta.org>
10420         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10421         [f1], [help], and (char-to-string help-char) instead of "\C-h".
10422         (Bug#6222)
10424 2010-05-20  Juri Linkov  <juri@jurta.org>
10426         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10427         (Bug#6223)
10429 2010-05-20  Juri Linkov  <juri@jurta.org>
10431         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10432         FILE-NAME to read from the minibuffer when called interactively
10433         with prefix argument instead of using buffer-file-name.
10434         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10436         * dired.el: Update autoloads.
10438 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
10440         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10441         nxml-finish-element, for consistency with SGML mode.
10443         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10444         octave-close-block.
10446 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
10448         * composite.el: Require cl when compiling.
10449         (reference-point-alist, compose-gstring-for-graphic)
10450         (compose-gstring-for-terminal): Fix typos in docstrings.
10452 2010-05-19  Juri Linkov  <juri@jurta.org>
10454         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10455         set-window-parameter.
10457 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10459         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10460         where appropriate.
10461         (tramp-maybe-open-connection): Use it.
10463 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
10465         * simple.el (move-end-of-line): Make sure we are at line beginning
10466         before backing up to end of previous line.
10468 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10470         * password-cache.el (password-cache-remove): Fix docstring.
10472         * net/secrets.el: Autoload the widget functions.
10473         (secrets-search-items, secrets-create-item)
10474         (secrets-get-attributes, secrets-expand-item): Attributes will be
10475         stored on the password database without leading ":", as all other
10476         clients do as well.
10477         (secrets-mode): Fix docstring.
10478         (secrets-show-secrets): Provide it as autoloaded command only when
10479         D-Bus support is available.  Check existence of Secret Service API.
10481 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10483         * indent.el (indent-region): Deactivate region (bug#6200).
10485 2010-05-19  Glenn Morris  <rgm@gnu.org>
10487         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
10489 2010-05-19  Kenichi Handa  <handa@m17n.org>
10491         * composite.el: Register compose-gstring-for-graphic in
10492         composition-function-table only for combining characters (Mn, Mc, Me).
10494 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
10496         * calc/calc-trail.el (calc-trail-isearch-forward)
10497         (calc-trail-isearch-backward): Ensure that the new window
10498         point is set correctly.
10500 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10502         * subr.el (read-quoted-char): Resolve modifiers after key
10503         remapping (bug#6212).
10505 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
10507         Add visualization code for secrets.
10508         * net/secrets.el (secrets-mode): New major mode.
10509         (secrets-show-secrets, secrets-show-collections)
10510         (secrets-expand-collection, secrets-expand-item)
10511         (secrets-tree-widget-after-toggle-function)
10512         (secrets-tree-widget-show-password): New defuns.
10514 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10516         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10517         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10518         handled in smie-next-sexp.
10519         (smie-indent-calculate): Provide a starting indentation (so the
10520         recursion is well-founded ;-).
10522         Fix handling of non-associative equal levels.
10523         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10524         when it's not needed.
10525         (smie-op-left, smie-op-right): New functions.
10526         (smie-next-sexp): New function, extracted from smie-backward-sexp.
10527         Better handle equal levels to distinguish the associative case from
10528         the "multi-keyword construct" case.
10529         (smie-backward-sexp, smie-forward-sexp): Use it.
10531 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
10533         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10535         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10536         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10538 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10540         Provide a simple generic indentation engine and use it for Prolog.
10541         * emacs-lisp/smie.el: New file.
10542         * progmodes/prolog.el (prolog-smie-op-levels)
10543         (prolog-smie-indent-rules): New var.
10544         (prolog-mode-variables): Use them to configure SMIE.
10545         (prolog-indent-line, prolog-indent-level): Remove.
10547 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10549         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10550         order before computing the averages.
10552 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
10554         * calc/calc-vec.el (calc-histogram):
10555         (calcFunc-histogram): Allow vectors as inputs.
10556         (math-vector-avg): New function.
10558         * calc/calc-ext.el (math-group-float): Have the number of digits
10559         being grouped depend on the radix (Bug#6189).
10561 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
10563         * version.el (emacs-copyright, emacs-version): Don't define here,
10564         now that emacs.c defines it.
10566 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
10568         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10569         "Describe Language Environment" menu item.
10571         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10573         Bidi-sensitive movement with arrow keys.
10574         * subr.el (right-arrow-command, left-arrow-command): New functions.
10576         * bindings.el (global-map): Bind them to right and left arrow keys.
10578         Don't override standard definition of convert-standard-filename.
10579         * files.el (convert-standard-filename):
10580         Call w32-convert-standard-filename and dos-convert-standard-filename on
10581         the corresponding systems.
10583         * w32-fns.el (w32-convert-standard-filename): Rename from
10584         convert-standard-filename.  Doc fix.
10586         * dos-fns.el (dos-convert-standard-filename): Doc fix.
10587         (convert-standard-filename): Don't defalias.
10588         (register-name-alist, make-register, register-value)
10589         (set-register-value, intdos): Obsolete aliases for the
10590         corresponding dos-* functions and variables.
10591         (dos-intdos): Add a doc string.
10593 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
10595         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10596         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10597         (math-compose-tex-func):
10598         * calc/calccomp.el (math-compose-expr):
10599         * calc/calc-ext.el (math-format-flat-expr-fancy):
10600         * calc/calc-store.el (calc-read-var-name):
10601         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10603         * calc/calc.el (var-π, var-φ, var-γ): New variables.
10604         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10605         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10606         (math-standard-units): Add units.
10608 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10610         * progmodes/asm-mode.el (asm-mode):
10611         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10613         * pcomplete.el (pcomplete-completions-at-point): New function,
10614         extracted from pcomplete-std-complete.
10615         (pcomplete-std-complete): Use it.
10617 2010-05-15  Glenn Morris  <rgm@gnu.org>
10619         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10620         Remove references to CVS, RCS and Old directories.
10622 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
10624         * calc/calc-bin.el (math-format-twos-complement): Group digits when
10625         appropriate.
10627 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10629         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10630         (sh-mode-syntax-table): Give it a default value instead.
10631         (sh-header-marker): Make buffer-local.
10632         (sh-mode): Move make-local-variable to the corresponding setq.
10633         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10634         Use complete-with-action.
10636         * simple.el (prog-mode): New (abstract) major mode.
10637         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10638         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10640 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
10642         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10643         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10644         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10645         (sql-make-alternate-buffer-name, sql-placeholders-filter)
10646         (sql-escape-newlines-filter, sql-input-sender)
10647         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10649 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
10651         Add TeX open-block and close-block keybindings to SGML, and vice versa.
10653         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10654         latex-open-block and C-c / to latex-close-block.
10656         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10657         and C-c C-e to sgml-close-tag.
10659 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
10661         * net/tramp.el (with-progress-reporter): Create reporter object
10662         only when the message would be displayed.  Handle nested calls.
10663         (tramp-handle-load, tramp-handle-file-local-copy)
10664         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10665         (tramp-maybe-send-script, tramp-find-shell):
10666         Use `with-progress-reporter'.
10667         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10668         Fix message text.
10670         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10671         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10672         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10673         Use `with-progress-reporter'.
10675 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
10677         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10678         process everytime when spellchecking from the minibuffer (bug#6143).
10680 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10682         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10684         * dos-fns.el: Add "dos-" prefix for namespace control.
10685         (convert-standard-filename): Define as alias for
10686         dos-convert-standard-filename but only if applicable.
10688 2010-05-12  Alan Mackenzie  <acm@muc.de>
10690         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10691         Push the mark at the start of these functions when appropriate.
10693 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10695         * minibuffer.el (completion-cycle-threshold): New custom var.
10696         (completion--do-completion): Use it.
10697         (minibuffer-complete): Use cycling if appropriate.
10699 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
10701         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10702         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10704 2010-05-11  Juri Linkov  <juri@jurta.org>
10706         * scroll-all.el (scroll-all-check-to-scroll):
10707         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10709 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10711         * iimage.el (iimage-mode-map): Move initialization into declaration.
10712         (iimage-mode-buffer): Use with-silent-modifications.
10713         Simplify calling convention.  Adjust callers.
10714         (iimage-mode): Don't run hook redundantly.
10716         * minibuffer.el (completion-pcm--pattern->regex):
10717         Fix last change (bug#6160).
10719 2010-05-10  Juri Linkov  <juri@jurta.org>
10721         Remove nodes visited during Isearch from the Info history.
10722         * info.el (Info-isearch-initial-history)
10723         (Info-isearch-initial-history-list): New variables.
10724         (Info-isearch-start): Record initial values of
10725         Info-isearch-initial-history and Info-isearch-initial-history-list.
10726         Add Info-isearch-end to isearch-mode-end-hook.
10727         (Info-isearch-end): New function.
10729 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
10731         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10732         format string, in order to work around a bug in pdksh.
10733         Reported by Gilles Pion <gpion@lfdj.com>.
10734         (tramp-handle-verify-visited-file-modtime): Do not send a command
10735         when the connection is not established.
10736         (tramp-handle-set-file-times): Simplify the check for utc.
10738 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
10740         Fix use of `filter-buffer-substring' (rework previous change).
10741         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10742         (cua-repeat-replace-region):
10743         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10744         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10745         (cua-cut-region-to-global-mark): Use it.
10747 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
10749         * progmodes/sql.el: Version 2.1.
10750         (sql-product-alist): Redesign structure of product info.
10751         (sql-product, sql-user, sql-server, sql-database): Safe variables.
10752         (sql-port, sql-port-history): New variables.
10753         (sql-interactive-product): New variable.
10754         (sql-send-terminator): New variable.
10755         (sql-imenu-generic-expression): Add "Types" imenu entry.
10756         (sql-oracle-login-params, sql-sqlite-login-params)
10757         (sql-mysql-login-params, sql-solid-login-params)
10758         (sql-sybase-login-params, sql-informix-login-params)
10759         (sql-ingres-login-params, sql-ms-login-params)
10760         (sql-postgres-login-params, sql-interbase-login-params)
10761         (sql-db2-login-params, sql-linter-login-params)
10762         (sql-oracle-scan-on): New variables.
10763         (sql-mode-map): Add C-c C-i to start interactive mode.
10764         (sql-mode-menu): Update existing menu entries.
10765         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10766         (sql-mode-oracle-font-lock-keywords)
10767         (sql-mode-postgres-font-lock-keywords)
10768         (sql-mode-ms-font-lock-keywords)
10769         (sql-mode-sybase-font-lock-keywords)
10770         (sql-mode-informix-font-lock-keywords)
10771         (sql-mode-interbase-font-lock-keywords)
10772         (sql-mode-ingres-font-lock-keywords)
10773         (sql-mode-solid-font-lock-keywords)
10774         (sql-mode-mysql-font-lock-keywords)
10775         (sql-mode-sqlite-font-lock-keywords)
10776         (sql-mode-db2-font-lock-keywords)
10777         (sql-mode-linter-font-lock-keywords): Update initialization to
10778         reduce run-time complexity.
10779         (sql-add-product, sql-del-product): New functions.
10780         (sql-set-product-feature, sql-get-product-feature): New functions.
10781         (sql-product-font-lock): Update product API.
10782         (sql-add-product-keywords): New function.
10783         (sql-highlight-product): Update product API.
10784         (sql-help-list-products): New function.
10785         (sql-help): Dynamically lists free and non-free products.
10786         (sql-get-login): Correct bug in handling history and added
10787         prompt for port.
10788         (sql-copy-column): Copy without properties.
10789         (sqli-input-sender): Apply filters to SQLi input.
10790         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10791         Implement as a filter.
10792         (sql-escape-newlines-filter): Implement as a filter.
10793         (sql-remove-tabs-filter): New function.
10794         (sql-send-magic-terminator): New function.
10795         (sql-send-string): Implement magic terminator.
10796         (sql-send-region): Use `sql-send-string'.
10797         (sql-interactive-mode): Use product API.
10798         (sql-product-interactive): Use product API.
10799         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10800         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10801         (sql-db2, sql-linter): Use `sql-product-interactive'.
10802         (sql-connect): New function.
10803         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10804         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10805         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10806         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10807         Use `sql-connect'.
10809 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10811         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10812         New custom variable.
10813         (completion-pcm--string->pattern): Use it.
10814         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10815         Make it handle any symbol as `any'.
10816         (completion-pcm--merge-completions): Extract common suffix for the new
10817         `prefix' symbol as well.
10818         (completion-substring--all-completions): Use the new `prefix' symbol.
10820 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
10822         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10823         not bound.
10824         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10825         (tramp-compat-funcall): New defmacro.
10826         (tramp-compat-line-beginning-position)
10827         (tramp-compat-line-end-position)
10828         (tramp-compat-temporary-file-directory)
10829         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10830         (tramp-compat-copy-file, tramp-compat-copy-directory)
10831         (tramp-compat-delete-file, tramp-compat-delete-directory)
10832         (tramp-compat-number-sequence, tramp-compat-process-running-p)
10833         * net/tramp.el (top, with-progress-reporter)
10834         (tramp-rfn-eshadow-setup-minibuffer)
10835         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10836         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10837         (tramp-completion-mode-p, tramp-check-for-regexp)
10838         (tramp-open-connection-setup-interactive-shell)
10839         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10840         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10841         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10842         * net/tramp-cmds.el (tramp-cleanup-all-connections)
10843         (tramp-reporter-dump-variable, tramp-load-report-modules)
10844         (tramp-append-tramp-buffers)
10845         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10847         * net/tramp-imap.el (top): Autoload `epg-make-context'.
10849 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10851         * progmodes/compile.el (compilation-buffer-modtime): Rename from
10852         buffer-modtime.  Adjust users.
10854 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10856         * international/mule.el (auto-coding-alist): Only purecopy
10857         car of each item, not the whole list (Bug#6083).
10859 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10861         * progmodes/js.el (js-mode): Make paragraph variables local before
10862         calling c-setup-paragraph-variables (Bug#6071).
10864 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
10866         * composite.el (compose-region, reference-point-alist): Fix typos
10867         in the doc strings.
10869 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
10871         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10872         gnuplot's "set" command.
10874 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10876         * abbrev.el (last-abbrev-text): Doc fix.
10877         (abbrev-prefix-mark): Don't escape parenthesis.
10879 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
10881         * composite.el (find-composition): Doc fix.
10883 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10885         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10886         (sql-oracle-program, sql-sqlite-options)
10887         (sql-query-placeholders-and-send): Doc fixes.
10888         (sql-set-product, sql-interactive-mode): Reflow docstrings.
10889         (sql-imenu-generic-expression, sql-buffer)
10890         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10891         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10892         (sql-mode-sybase-font-lock-keywords)
10893         (sql-mode-informix-font-lock-keywords)
10894         (sql-mode-interbase-font-lock-keywords)
10895         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10896         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10897         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10898         (sql-product-feature, sql-highlight-product)
10899         (comint-line-beginning-position, sql-rename-buffer)
10900         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10901         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10902         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10903         Fix typos in docstrings.
10905 2010-05-08  Juri Linkov  <juri@jurta.org>
10907         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10908         property instead of `invisible' and `after-string' (bug#5998).
10910 2010-05-08  Juri Linkov  <juri@jurta.org>
10912         * image-mode.el (image-mode-as-text): Fix typo in docstring.
10914 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10916         * filecache.el (file-cache-add-directory-list)
10917         (file-cache-add-directory-recursively): Fix typos in docstrings.
10919 2010-05-08  Kenichi Handa  <handa@m17n.org>
10921         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10922         (gujarati-composable-pattern): Fix typo.
10924 2010-05-08  Kenichi Handa  <handa@m17n.org>
10926         * language/indian.el (oriya-composable-pattern)
10927         (tamil-composable-pattern, malayalam-composable-pattern):
10928         Add two-part vowels to "v" (vowel sign).
10930 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10932         * files.el (copy-directory): Handle symlinks (Bug#5982).
10934 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
10936         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10937         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
10938         (Bug#5846).
10940 2010-05-08  Glenn Morris  <rgm@gnu.org>
10942         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10944         * minibuffer.el (completion-at-point): Doc fix.
10946 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10948         * electric.el (Electric-command-loop): Minor tweak.
10950         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10951         better with dedicated windows.
10953 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
10955         * Version 23.2 released.
10957 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
10958             Stefan Monnier  <monnier@iro.umontreal.ca>
10960         Highlight vendor specific properties.
10961         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10962         (css-proprietary-property): New face.
10963         (css-font-lock-keywords): Use them.
10965 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
10967         * cus-start.el (all): Add native condition for tool-bar-* symbols.
10969 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10971         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10972         * files.el (auto-mode-alist): Remove redundant entries.
10974         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10975         * simple.el (auto-save-mode): Move from files.el.
10976         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10978 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
10980         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10982 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
10984         * mail/binhex.el (binhex-decode-region-internal)
10985         * mail/uudecode.el (uudecode-decode-region-internal)
10986         * net/dns.el (dns-read-string-name, dns-write, dns-read)
10987         (dns-read-type, dns-query)
10988         * pgg-parse.el (pgg-parse-armor)
10989         * pgg.el (pgg-verify-region)
10990         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10991         XEmacs.
10993         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10995 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
10997         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10999         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11000         * emulation/cua-base.el (cua-repeat-replace-region):
11001         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11002         (cua-cut-region-to-global-mark):
11003         Remove text properties with `set-text-properties'.
11005 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
11007         * net/tramp.el (top, with-progress-reporter):
11008         Use `symbol-function' inside `funcall'.
11010         * net/tramp-compat.el (tramp-compat-file-attributes)
11011         (tramp-compat-delete-file, tramp-compat-delete-directory):
11012         Handle only `wrong-number-of-arguments' error.
11014         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11015         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11016         inside `funcall'.
11018 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11020         * minibuffer.el (completion--sreverse, completion--common-suffix):
11021         New functions.
11022         (completion-pcm--merge-completions): Extract common suffix when safe.
11024         * emacs-lisp/easy-mmode.el (define-minor-mode):
11025         Make :variable more flexible.
11026         * files.el (auto-save-mode): Use it to define using define-minor-mode.
11028 2010-05-05  Juri Linkov  <juri@jurta.org>
11030         Add `slow' and `history' tags to the desktop data.
11032         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11033         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11034         (Info-finder-find-node): Require `finder.el' to be able
11035         to restore node from the desktop.
11036         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
11037         data `Info-history' and `slow' tag in the assoc list.
11038         (Info-restore-desktop-buffer): Don't restore nodes with the
11039         `slow' tag.  Restore `Info-history'.
11041 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
11043         Add FORCE argument to `delete-file'.
11045         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11046         forcing to delete the temporary file.
11047         (ange-ftp-delete-file): Add FORCE arg.
11048         (ange-ftp-rename-remote-to-remote)
11049         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11050         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11051         Force file deletion.
11053         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11055         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11056         (tramp-handle-make-symbolic-link, tramp-handle-load)
11057         (tramp-do-copy-or-rename-file-via-buffer)
11058         (tramp-do-copy-or-rename-file-directly)
11059         (tramp-do-copy-or-rename-file-out-of-band)
11060         (tramp-handle-process-file, tramp-handle-call-process-region)
11061         (tramp-handle-shell-command, tramp-handle-file-local-copy)
11062         (tramp-handle-insert-file-contents, tramp-handle-write-region)
11063         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11065         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11066         (tramp-fish-handle-make-symbolic-link)
11067         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11069         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11070         Use `tramp-compat-delete-file'.
11072         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11073         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11075         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11076         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11078         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11079         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11080         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11081         Use `tramp-compat-delete-file'.
11083 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11085         Minor cleanups.
11086         * subr.el (add-minor-mode): Use push.
11087         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11088         * emulation/edt.el (edt-select-mode): Simplify.
11090         Use define-minor-mode in more cases.
11091         * term/tvi970.el (tvi970-set-keypad-mode):
11092         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11093         (normal-erase-is-backspace-mode):
11094         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11095         (set-scroll-bar-mode-1): (Re)move to its sole caller.
11096         (get-scroll-bar-mode): New function.
11097         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11099         Use define-minor-mode for less obvious cases.
11100         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11101         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11102         * international/iso-ascii.el (iso-ascii-mode):
11103         * frame.el (auto-raise-mode, auto-lower-mode):
11104         * composite.el (global-auto-composition-mode): Use define-minor-mode.
11106 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
11108         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11109         in order to see error messages for failed logins.
11111 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
11113         * diff.el (diff-sentinel):
11115         * epg.el (epg--make-temp-file, epg-decrypt-string)
11116         (epg-verify-string, epg-sign-string, epg-encrypt-string):
11118         * jka-compr.el (jka-compr-partial-uncompress)
11119         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11121         * server.el (server-sentinel): Use delete-file's new FORCE arg
11122         (Bug#6070).
11124 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11126         Use define-minor-mode where applicable.
11127         * view.el (view-mode):
11128         * type-break.el (type-break-query-mode)
11129         (type-break-mode-line-message-mode):
11130         * textmodes/reftex.el (reftex-mode):
11131         * term/vt100.el (vt100-wide-mode):
11132         * tar-mode.el (tar-subfile-mode):
11133         * savehist.el (savehist-mode):
11134         * ibuf-ext.el (ibuffer-auto-mode):
11135         * composite.el (auto-composition-mode):
11136         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11137         Use define-minor-mode.
11138         (vhdl-mode): Use static mode-line format.
11139         (vhdl-mode-line-update): Delete.
11140         (vhdl-create-mode-menu, vhdl-activate-customizations)
11141         (vhdl-hs-minor-mode): Don't bother calling it.
11143 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11145         * simple.el (with-wrapper-hook): Move.
11146         (buffer-substring-filters): Mark obsolete.
11147         (filter-buffer-substring-functions): New variable.
11148         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
11150 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
11151             Michael Albinus  <michael.albinus@gmx.de>
11153         Implement compression for inline methods.
11155         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11156         (tramp-copy-size-limit): Allow also nil.
11157         (tramp-inline-compress-commands): New defconst.
11158         (tramp-find-inline-compress, tramp-get-inline-compress)
11159         (tramp-get-inline-coding): New defuns.
11160         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11161         replaced by `tramp-get-inline-coding'.
11162         (tramp-handle-file-local-copy, tramp-handle-write-region)
11163         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11165 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11167         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11168         Remove unused functions.
11170         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11171         Set find-tag-default-function as a variable rather than a property.
11173         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11174         * progmodes/etags.el (tags-completion-at-point-function):
11175         Remove left over interactive spec.  Add autoloading stub.
11176         (complete-tag): Use tags-completion-at-point-function.
11178 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
11180         * minibuffer.el (tags-completion-at-point-function): Fix return value.
11182 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11184         * ido.el (ido-init-completion-maps): Remove C-v binding.
11185         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11187 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11189         * minibuffer.el (tags-completion-at-point-function): New function.
11190         (completion-at-point-functions): Use it.
11192         * progmodes/etags.el (complete-tag): Revert last change.
11194 2010-04-29  Alan Mackenzie  <acm@muc.de>
11196         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11197         off-by-one error (in end of macro position).
11199 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11201         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11202         firefox is absent.  Don't autoload.
11203         (browse-url-galeon-program): Don't autoload.
11205 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11207         * bindings.el (complete-symbol): Move into minibuffer.el.
11209         * minibuffer.el (complete-tag): Move from etags.el.  If tags
11210         completion cannot be performed, return nil instead of signalling
11211         an error.
11212         (completion-at-point): Make it an alias for complete-symbol.
11213         (complete-symbol): Move from bindings.el, and replace with the
11214         body of completion-at-point.
11216         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11218 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
11220         * net/tramp.el (tramp-remote-selinux-p): New defun.
11221         (tramp-handle-file-selinux-context)
11222         (tramp-handle-set-file-selinux-context): Use it.
11224 2010-04-28  Sam Steingold  <sds@gnu.org>
11226         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11227         `safe-local-variable' if the value is a string or a symbol with
11228         the property `bug-reference-url-format'.
11230 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11232         * progmodes/bug-reference.el (bug-reference-url-format):
11233         Revert 2010-04-27 change due to security risk.
11235 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11237         Make it possible to locally disable a globally enabled mode.
11238         * simple.el (fundamental-mode): Run fundamental-mode-hook.
11239         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11240         rather than kill-all-local-variables so it runs fundamental-mode-hook.
11241         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11242         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11243         that subsequent hooks get a chance to disable it.
11245 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11247         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11248         Avoid re-enabling a minor mode after the user turned the minor mode
11249         off if MODE-enable-in-buffers is run twice (typically once from
11250         fundamental-mode's after-change-major-mode-hook and a second time from
11251         run-mode-hook's own after-change-major-mode-hook).
11253         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11255 2010-04-27  Sam Steingold  <sds@gnu.org>
11257         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11258         `safe-local-variable' if the value is a string or a function, as
11259         documented and implemented on 2010-04-02.
11261 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
11263         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11264         when method is 'kill.
11266 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
11268         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11269         condition in default directory check.
11270         (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11271         Kill ispell process when killing its associated buffer.
11273 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
11275         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11276         but we aren't using it.
11278 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
11280         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11281         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11283 2010-04-24  Glenn Morris  <rgm@gnu.org>
11285         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11286         Ignore VCS-ignore files, and deleted nextstep preferences files.
11287         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11288         (authors-ambiguous-files): New list.
11289         (authors-valid-file-names): Add some deleted files.
11290         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11291         (authors-disambiguate-file-name): New function.  (Bug#5501)
11292         (authors-canonical-file-name): Doc fix.
11293         Don't warn about obsolete files.
11294         (authors-canonical-file-name, authors-scan-el):
11295         Use authors-disambiguate-file-name.
11297         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11298         Add autoload cookies.
11299         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11300         (generated-autoload-file): Set file-local value to "htmlfontify.el".
11301         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11302         They have definitions / compiler macros in cl.el.
11303         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11304         Replace manual autoloads with generated ones.
11305         (htmlfontify-unload-rgb-file): Remove autoload.
11306         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11308 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11310         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11311         (byte-compile-setq-default): Optimize for the
11312         single-var case and don't call byte-compile-form in this case to avoid
11313         inf-loop with byte-compile-set-default.
11315         * progmodes/compile.el (compilation-start): Abbreviate default directory.
11317 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
11319         Implement SELINUX backends.
11321         * net/tramp.el (tramp-file-name-handler-alist):
11322         Add `file-selinux-context' and `set-file-selinux-context'.
11323         (tramp-handle-file-selinux-context)
11324         (tramp-handle-set-file-selinux-context): New defuns.
11325         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11326         Handle PRESERVE-SELINUX-CONTEXT.
11328         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11329         Add `file-selinux-context' and `set-file-selinux-context'.
11330         (tramp-gvfs-handle-file-selinux-context)
11331         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11332         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11334         * net/ange-ftp.el (ange-ftp-copy-file):
11335         * net/tramp-fish.el (tramp-fish-handle-copy-file):
11336         * net/tramp-imap.el (tramp-imap-handle-copy-file):
11337         * net/tramp-smb.el (tramp-smb-handle-copy-file):
11338         Add PRESERVE-SELINUX-CONTEXT.
11340 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11342         Synchronize with Tramp repository.
11344         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11345         (tramp-action-process-alive, tramp-action-out-of-band)
11346         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11347         (tramp-exists-file-name-handler): Fix docstring.
11348         (with-progress-reporter): New defmacro.
11349         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11350         (tramp-maybe-open-connection): Use it.
11352 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
11354         Detect ssh 'ControlMaster' argument automatically in some cases.
11356         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11357         (tramp-default-method): Use it.
11359 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11361         * net/tramp.el (tramp-handle-copy-file): Add new optional
11362         parameter `preserve-selinux-context'.
11363         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11365 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11367         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11368         Ensure, that non remote files are still checked.  Oops.
11370 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
11372         Fix Bug#5840.
11374         * icomplete.el (icomplete-completions): Use `non-essential'.
11376         * net/tramp.el (tramp-connectable-p): New defun.
11377         (tramp-handle-expand-file-name)
11378         (tramp-completion-handle-file-name-all-completions)
11379         (tramp-completion-handle-file-name-completion): Use it.
11381 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11383         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11385 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
11387         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11389         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11391         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11392         is present.
11394         * info.el (info-tool-bar-map): Add labels.
11396         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11398         * cus-edit.el (custom-commands): Add labels for tool bar.
11399         (custom-buffer-create-internal, Custom-mode): Adjust for
11400         labels in custom-commands.
11402         * dynamic-setting.el: Renamed from font-setting.el.
11404 2010-04-21  John Wiegley  <jwiegley@gmail.com>
11406         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11407         toggles the use of virtual buffers.
11408         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11409         (ido-toggle-virtual-buffers): New function.
11411 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
11413         Use `define-derived-mode'; fix window selection; doc fixes.
11414         * play/tetris.el (tetris, tetris-update-speed-function)
11415         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11416         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11417         (tetris-rotate-next, tetris-end-game, tetris-start-game)
11418         (tetris-pause-game): Fix typos in docstrings.
11419         (tetris-mode-map, tetris-null-map):
11420         Move initialization into declaration.
11421         (tetris-mode): Define with `define-derived-mode';
11422         set show-trailing-whitespace to nil.
11423         (tetris): Prefer window already displaying the "*Tetris*" buffer.
11425 2010-04-21  Karel Klíč  <kklic@redhat.com>
11427         * files.el (backup-buffer): Handle SELinux context, and return it
11428         if a backup was made by renaming.
11429         (backup-buffer-copy): Set SELinux context to the target file.
11430         (basic-save-buffer): Set SELinux context of the newly written file.
11431         (basic-save-buffer-1): Now it also returns any SELinux context.
11432         (basic-save-buffer-2): Set SELinux context of the newly created file,
11433         and return it.
11434         * net/tramp.el (tramp-file-name-for-operation):
11435         Add file-selinux-context.
11437 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11439         Make the log-edit comments use RFC822 format throughout.
11441         * vc.el (vc-checkin, vc-modify-change-comment):
11442         Adjust to new vc-start/finish-logentry.
11443         (vc-find-conflicted-file): New command.
11444         (vc-transfer-file): Adjust to new vc-checkin.
11445         (vc-next-action): Improve scoping.
11447         * vc-hg.el (vc-hg-log-edit-mode): Remove.
11448         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
11450         * vc-git.el (vc-git-log-edit-mode): Remove.
11451         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
11452         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11454         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11455         (vc-start-logentry): Remove argument `extra'.
11456         (vc-finish-logentry): Remove extra args.
11458         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11459         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
11460         (vc-bzr-conflicted-files): New function.
11462         * log-edit.el (log-edit-extra-flags)
11463         (log-edit-before-checkin-process): Remove.
11464         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11465         (log-edit-headers-alist): New var.
11466         (log-edit-header-contents-regexp): New const.
11467         (log-edit-match-to-eoh): New function.
11468         (log-edit-font-lock-keywords): Use them.
11469         (log-edit): Insert a "Summary:" header as default.
11470         (log-edit-mode): Mark font-lock rules as case-insensitive.
11471         (log-edit-done): Cleanup headers.
11472         (log-view-process-buffer): Remove.
11473         (log-edit-extract-headers): New function to replace it.
11475 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
11477         * subr.el (default-direction-reversed): Remove obsolescence info.
11479 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11481         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11482         windows/frames.
11484         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11485         I.e. include text after point in the completion region.
11486         Also, return nil when we're not after/in a symbol.
11488         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11489         default enable-multibyte-characters.
11491 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11493         * international/mule.el: Help the user choose a valid coding-system.
11494         (read-buffer-file-coding-system): New function.
11495         (set-buffer-file-coding-system): Use it.  Prompt the user if the
11496         coding-system cannot encode all the chars.
11498         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11499         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11500         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11501         Don't use *vc-bzr-shelve*.
11503 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
11505         Fix the version number for added files.
11506         * vc-hg.el (vc-hg-working-revision): Check if the file is
11507         registered after hg parent fails (Bug#5961).
11509 2010-04-19  Glenn Morris  <rgm@gnu.org>
11511         * htmlfontify.el (htmlfontify-buffer)
11512         (htmlfontify-copy-and-link-dir): Autoload entry points.
11514 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
11516         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11517         name relative to the project root (Bug#5960).
11519 2010-04-19  Glenn Morris  <rgm@gnu.org>
11521         * vc-git.el (vc-git-print-log): Doc fix.
11523 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
11525         * ido.el (ido-file-internal): Fix 2009-12-02 change.
11527 2010-04-19  Christoph Scholtes  <cschol2112@googlemail.com>
11529         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11530         default settings (Bug#5928).
11532 2010-04-19  Glenn Morris  <rgm@gnu.org>
11534         * progmodes/fortran.el (fortran-match-and-skip-declaration):
11535         New function.
11536         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
11538 2010-04-19  Kenichi Handa  <handa@m17n.org>
11540         * language/indian.el (malayalam-composable-pattern): Fix previous
11541         change (add U+0D4D "SIGN VIRAMA").
11542         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11543         (tamil-composable-pattern): Fix typo in the regexp.
11544         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11545         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11546         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11548 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11550         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11551         paragraph-separate (Bug#5821).
11553 2010-04-19  Juri Linkov  <juri@jurta.org>
11555         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11557         * info.el (Info-find-node-2): Comment out code that skips
11558         breadcrumbs line.
11559         (Info-mouse-follow-link): New command.
11560         (Info-link-keymap): New keymap.
11561         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11562         Return a string with links instead of inserting breadcrumbs
11563         to the Info buffer.
11564         (Info-fontify-node): Comment out code that inserts breadcrumbs.
11565         Instead of putting the `invisible' text property over the Info
11566         header, make an overlay over the Info header with the `invisible'
11567         property and `after-string' set to the string returned by
11568         `Info-breadcrumbs'.
11570 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11572         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11573         Reported by monkey@sandpframing.com.
11575 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11577         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11578         (tmm-get-keymap): Add key-binding shortcuts now that they're not
11579         available in the "keyseq cache" any more.
11581         * custom.el (defcustom): Add edebug spec.
11583 2010-04-18  Juri Linkov  <juri@jurta.org>
11585         Test for special mode-class in view-buffer instead of view-file (bug#5513).
11587         * view.el (view-file, view-buffer): Move test for special mode-class
11588         from view-file to view-buffer.
11590         * tar-mode.el (tar-extract): Turn if's into one cond
11591         like in arc-mode.el.
11593 2010-04-18  Juri Linkov  <juri@jurta.org>
11595         Add 7z archive format support (bug#5475).
11597         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11598         (archive-7z-extract): New defcustom.
11599         (archive-find-type): Add magic string for 7z.
11600         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11601         If `stderr-file' is non-nil, use `(t stderr-file)' for the
11602         `buffer' arg of `call-process'.
11603         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11604         call the function `archive-7z-extract' with the variable
11605         `archive-7z-extract' let-bound to `archive-zip-extract'.
11606         (archive-7z-summarize, archive-7z-extract): New functions.
11608         * international/mule.el (auto-coding-alist):
11609         * files.el (auto-mode-alist): Add 7z file extension.
11611 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11613         * loadup.el: Setup hash-cons for pure data.
11615         Fix duplicate entries in cedet's loaddefs.el files.
11616         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11617         Should make most file-local generated-autoload-file unnecessary.
11618         (print-readably): Silence warnings.
11619         (autoload-find-destination): Take load-name as an arg to make sure
11620         it's the same as the one that will be in the file.
11621         (autoload-generate-file-autoloads): Adjust to above changes.
11622         Try to make the dataflow a bit simpler.
11624         * cvs-status.el (cvs-refontify): Remove unused.
11626 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
11628         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11630         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11631         twos-complement mode.
11633 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
11635         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11636         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
11637         (calc-inverse): Add "Option" to message, as appropriate.
11638         (calc-hyperbolic): Add "Option" to message, as appropriate.
11639         (calc-option, calc-is-option): New functions.
11641         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11642         (calc-option-prefix-help): New function.
11644         * calc/calc-misc.el (calc-help): Add "Option" entry.
11646         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11647         (calc-option-flag): New variable.
11648         (calc-do): Set `calc-option-flag to nil.
11649         (calc-set-mode-line): Add "Opt " as appropriate.
11651 2010-04-16  Juri Linkov  <juri@jurta.org>
11653         Move scrolling commands from simple.el to window.el
11654         because their primitives are implemented in window.c.
11656         * simple.el (scroll-error-top-bottom)
11657         (scroll-up-command, scroll-down-command, scroll-up-line)
11658         (scroll-down-line, scroll-other-window-down)
11659         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11660         * window.el (scroll-error-top-bottom)
11661         (scroll-up-command, scroll-down-command, scroll-up-line)
11662         (scroll-down-line, scroll-other-window-down)
11663         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11664         Move from simple.el to window.el because their primitives are
11665         implemented in window.c.
11667 2010-04-16  Juri Linkov  <juri@jurta.org>
11669         * isearch.el (isearch-lookup-scroll-key): Check both
11670         `isearch-scroll' and `scroll-command' properties.
11671         (scroll-up, scroll-down): Remove `isearch-scroll' property.
11673         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11675         * simple.el (scroll-up-command, scroll-down-command)
11676         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11678 2010-04-15  Juri Linkov  <juri@jurta.org>
11680         * simple.el (scroll-up-command, scroll-down-command)
11681         (scroll-up-line, scroll-down-line): Put `scroll-command'
11682         property on the these symbols.  Remove them from
11683         `scroll-preserve-screen-position-commands'.
11685         * mwheel.el (mwheel-scroll): Put `scroll-command' and
11686         `isearch-scroll' properties on the `mwheel-scroll' symbol.
11687         Remove it from `scroll-preserve-screen-position-commands'.
11689         * isearch.el (isearch-allow-scroll): Doc fix.
11691 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
11693         * net/tramp.el (tramp-error-with-buffer): Don't show the
11694         connection buffer when we are in completion mode.
11695         (tramp-file-name-handler): Catch the error for some operations
11696         when we are in completion mode.  This gives the user the chance to
11697         correct the file name in the minibuffer.
11699 2010-04-15  Glenn Morris  <rgm@gnu.org>
11701         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11703 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
11705         Simplify by using `define-derived-mode'.
11706         * info.el (Info-mode):
11707         * calendar/todo-mode.el (todo-mode):
11708         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11709         (gomoku-mode-map): Move initialization into declaration.
11711 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
11713         Fix Bug#5840.
11714         * ido.el (ido-file-name-all-completions-1):
11715         * minibuffer.el (minibuffer-completion-help):
11716         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11718 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11720         * simple.el (non-essential): New var.
11722         Add a new field `location' to bookmarks for non-file bookmarks.
11723         * bookmark.el (bookmark-location): Use the new field, if present.
11724         (bookmark-insert-location): Undo last change, not needed any more.
11725         * man.el (Man-bookmark-make-record):
11726         * woman.el (woman-bookmark-make-record): Add `location' field.
11728 2010-04-14  Juri Linkov  <juri@jurta.org>
11730         * simple.el (scroll-error-top-bottom): New defcustom.
11731         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
11733         * emulation/pc-select.el (pc-select-override-scroll-error):
11734         Obsolete in favor of `scroll-error-top-bottom'.
11736 2010-04-14  Juri Linkov  <juri@jurta.org>
11738         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11739         `scroll-up-command' and `M-v' to `scroll-down-command'.
11741         * emulation/cua-rect.el (cua--init-rectangles):
11742         * forms.el (forms--change-commands):
11743         * image-mode.el (image-mode-map):
11744         Remap scroll-down-command and scroll-up-command
11745         in addition to scroll-down and scroll-up.
11747 2010-04-14  Juri Linkov  <juri@jurta.org>
11749         * mwheel.el (scroll-preserve-screen-position-commands):
11750         Add mwheel-scroll to this list of commands.
11752         * simple.el (scroll-preserve-screen-position-commands):
11753         Add scroll-up-command, scroll-down-command, scroll-up-line,
11754         scroll-down-line to this list of commands.
11756 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11758         * obsolete/complete.el: Move from lisp/complete.el.
11760         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11762         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11763         to the minor mode function now turns the mode ON unconditionally.
11765 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11767         * vc-dir.el (vc-dir-kill-line): New command.
11768         (vc-dir-mode-map): Bind it to C-k.
11770         * bookmark.el (bookmark-insert-location): Handle a nil filename.
11772         * woman.el: Add bookmark declarations to silence the compiler.
11773         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11774         step to compatibility between man and woman bookmarks.
11775         Adjust for Man-default-bookmark-title renaming.
11776         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
11778         * man.el: Add bookmark declarations to silence the compiler.
11779         (Man-name-local-regexp): Make it match NAME as well.
11780         (Man-getpage-in-background): Return the buffer.
11781         (Man-notify-when-ready): Use `case'.
11782         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11783         Don't hardcode "NAME".  Simplify.
11784         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11785         Rename from Man-bookmark-make-record.
11786         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
11787         we have the actual man-args.  Use Man-getpage-in-background rather
11788         than `man' since the arg is already processed.  Let bookmark.el do the
11789         window handling.  Only wait for the relevant process.
11790         Don't forget to autoload.
11792         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11794 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11796         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11797         New functions.
11798         (woman-mode): Setup bookmark support.
11800         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11801         (man-bookmark-jump): New functions.
11802         (Man-mode): Setup bookmark support.
11804 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
11806         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11807         recognize ssh-keygen prompt (Bug#2817).
11809 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11811         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11813 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11815         Synchronize with Tramp repository.
11817         * net/tramp.el (tramp-completion-function-alist)
11818         (tramp-file-name-regexp, tramp-chunksize)
11819         (tramp-local-coding-commands, tramp-remote-coding-commands):
11820         Fix docstring.
11821         (tramp-remote-process-environment): Use `format' instead of `concat'.
11822         (tramp-handle-directory-files-and-attributes)
11823         (tramp-get-remote-path): Use `copy-tree'.
11824         (tramp-handle-file-name-all-completions): Backward/ XEmacs
11825         compatibility: Use `completion-ignore-case' if
11826         `read-file-name-completion-ignore-case' does not exist.
11827         (tramp-do-copy-or-rename-file-directly): Do not use
11828         `tramp-handle-file-remote-p'.
11829         (tramp-do-copy-or-rename-file-out-of-band):
11830         Use `tramp-compat-delete-directory'.
11831         (tramp-do-copy-or-rename-file-out-of-band)
11832         (tramp-compute-multi-hops, tramp-maybe-open-connection):
11833         Use `format-spec-make'.
11834         (tramp-find-foreign-file-name-handler)
11835         (tramp-advice-make-auto-save-file-name)
11836         (tramp-set-auto-save-file-modes): Remove superfluous check for
11837         `stringp'.  This is done inside `tramp-tramp-file-p'.
11838         (tramp-debug-outline-regexp): New defconst.
11839         (tramp-get-debug-buffer): Use it.
11840         (tramp-check-for-regexp): Use (forward-line 1).
11841         (tramp-set-auto-save-file-modes): Adapt version check.
11843         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11844         Wrap call of `featurep' for 2nd argument.
11845         (tramp-compat-make-temp-file): Simplify fallback implementation.
11846         (tramp-compat-copy-tree): Remove function.
11847         (tramp-compat-delete-directory): Provide implementation for older
11848         Emacsen.
11850         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11851         Do not use `tramp-fish-handle-file-attributes.
11853         * net/trampver.el: Update release number.
11855 2010-04-10  Glenn Morris  <rgm@gnu.org>
11857         * progmodes/compile.el (compilation-save-buffers-predicate):
11858         Add missing :version tag.
11860 2010-04-09  Sam Steingold  <sds@gnu.org>
11862         * progmodes/compile.el (compilation-save-buffers-predicate):
11863         Remove the "autoload" cookie.
11865         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11866         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11867         and `bug-reference-prog-mode' can be used in hooks directly.
11869 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
11871         Add --author support to git commit.
11872         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11873         (vc-git-log-edit-mode): New minor mode.
11874         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11875         New declarations.
11877 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
11879         * vc-hooks.el, vc-git.el: Improve documentation comments.
11881 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11883         Fix some of the problems in defsubst* (bug#5728).
11884         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11885         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11887 2010-04-07  Sam Steingold  <sds@gnu.org>
11889         * progmodes/compile.el (compilation-save-buffers-predicate):
11890         New custom variable.
11891         (compile, recompile): Pass it to `save-some-buffers'.
11893 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
11895         * wid-edit.el (widget-choose): Move cursor to the second line of
11896         the buffer (Bug#5695).
11898 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11900         Add new VC methods: vc-log-incoming and vc-log-outgoing.
11901         * vc.el (vc-print-log-setup-buttons): New function split out from
11902         vc-print-log-internal.
11903         (vc-log-internal-common): New function, a parametrized version of
11904         vc-print-log-internal.
11905         (vc-print-log-internal): Just call vc-log-internal-common with the
11906         right arguments.
11907         (vc-incoming-outgoing-internal):
11908         (vc-log-incoming, vc-log-outgoing): New functions.
11909         (vc-log-view-type): New permanent local variable.
11911         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11913         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11914         of the dynamic bound vc-short-log.
11915         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11917         * vc-git.el (vc-git-log-outgoing): New function.
11918         (vc-git-log-view-mode): Use vc-log-view-type instead
11919         of the dynamic bound vc-short-log.
11921         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11922         of the dynamic bound vc-short-log.  Highlight the tag.
11923         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11924         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11925         (vc-hg-incoming-mode): Remove.
11926         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11928 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11930         Fix default-directory for vc-root-diff.
11931         * vc.el (vc-root-diff): Bind default-directory to the root
11932         directory for the diff command.
11934 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
11936         * progmodes/verilog-mode.el (verilog-forward-sexp):
11937         (verilog-calc-1): Support "disable fork" and "fork wait" multi
11938         word keywords, suggested by Steve Pearlmutter.
11939         (verilog-pretty-declarations): Support lineup of declarations in
11940         port lists.
11941         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11942         fix bug for /* / comments.
11943         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11944         Speed up and simplfy as this is never called with a bound.
11945         (verilog-pretty-declarations): Enhance to line up declarations
11946         inside a parameter list, suggested by Alan Morgan.
11947         (verilog-pretty-expr): Tune assignment regular expression match
11948         string for corner cases; also use markers instead of character
11949         number as indent changes the later.
11951 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
11953         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11954         as missing keyword.
11955         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11956         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
11957         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11958         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
11959         Tennant.
11960         (verilog-keywords):
11961         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11962         1800-2009 keywords, including "global.".
11964 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11966         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11967         appearing in buffer list (if a live buffer name matched a recentf
11968         file basename).  Should use uniquify to offer a real solution.
11970 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11972         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11973         comment to code, and add a :version tag.
11974         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11976 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
11978         Enable recentf-mode if using virtual buffers.
11979         * ido.el (recentf-list): Declare for byte-compiler.
11980         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
11981         (ido-make-buffer-list): Simplify.
11982         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
11984 2010-04-05  Juri Linkov  <juri@jurta.org>
11986         Scrolling commands which scroll a line instead of full screen.
11987         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11989         * simple.el (scroll-up-line, scroll-down-line): New commands.
11990         Put property isearch-scroll=t on them.
11992         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11993         Remove commands.
11995 2010-04-05  Juri Linkov  <juri@jurta.org>
11997         Scrolling commands which do not signal errors at top/bottom.
11998         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12000         * simple.el (scroll-up-command, scroll-down-command): New commands.
12001         Put property isearch-scroll=t on them.
12003         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12004         `scroll-down-command' and [next] from `scroll-up' to
12005         `scroll-up-command'.
12007         * emulation/cua-base.el: Put property CUA=move on
12008         `scroll-up-command' and `scroll-down-command'.
12009         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12010         and `scroll-down-command' to `cua-scroll-down'.
12012 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
12014         * help.el (describe-mode): Return nil.
12016 2010-04-04  John Wiegley  <jwiegley@gmail.com>
12018         * ido.el (ido-use-virtual-buffers): New variable to indicate
12019         whether "virtual buffer" support is enabled for IDO.
12020         (ido-virtual): Face used to indicate virtual buffers in the list.
12021         (ido-buffer-internal): If a buffer is chosen, and no such buffer
12022         exists, but a virtual buffer of that name does (which would be why
12023         it was in the list), recreate the buffer by reopening the file.
12024         (ido-make-buffer-list): If virtual buffers are being used, call
12025         `ido-add-virtual-buffers-to-list' before the make list hook.
12026         (ido-virtual-buffers): New variable which contains a copy of the
12027         current contents of the `recentf-list', albeit pared down for the
12028         sake of speed, and with proper faces applied.
12029         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12030         create a list of "virtual buffers" to present to the user in
12031         addition to the currently open set.  Note that this logic could
12032         get rather slow if that list is too large.  With the default
12033         `recentf-max-saved-items' of 200, there is little speed penalty.
12035 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12037         * font-lock.el: Require CL when compiling.
12038         (font-lock-turn-on-thing-lock): Use `case'.
12040 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
12042         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12043         Zaretskii.
12045 2010-04-02  Juri Linkov  <juri@jurta.org>
12047         * ehelp.el (electric-help-orig-major-mode):
12048         New buffer-local variable.
12049         (electric-help-mode): Set it to original major-mode.  Doc fix.
12050         (with-electric-help): Use `electric-help-orig-major-mode' instead
12051         of (default-value 'major-mode).  Doc fix.
12052         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12054 2010-04-02  Sam Steingold  <sds@gnu.org>
12056         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12057         `vc-hg-command' with a list of flags.
12059         * progmodes/bug-reference.el (bug-reference-bug-regexp):
12060         Also accept "patch" and "RFE".
12061         (bug-reference-fontify): `bug-reference-url-format' can also be a
12062         function to be able to handle the bug kind.
12063         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12065 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
12067         * tmm.el (tmm-get-keymap): Check with symbolp before passing
12068         value to fboundp, it may not be a symbol.
12070 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12072         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12074 2010-03-31  Juri Linkov  <juri@jurta.org>
12076         * simple.el (next-line, previous-line): Re-throw a signal
12077         with `signal' instead of using `ding'.
12078         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12080 2010-03-31  Juri Linkov  <juri@jurta.org>
12082         * simple.el (keyboard-escape-quit): Raise deselecting the active
12083         region higher than exiting the minibuffer.
12084         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12086 2010-03-31  Juri Linkov  <juri@jurta.org>
12088         * image.el (image-animated-p): Use `image-metadata' instead of
12089         `image-extension-data'.  Get GIF extenstion data from metadata
12090         property `extension-data'.
12092 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12094         * simple.el (append-to-buffer): Simplify.
12096 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
12098         * textmodes/artist.el (artist-mode): Fix typo in docstring.
12099         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
12101 2010-03-31  Kenichi Handa  <handa@m17n.org>
12103         * language/sinhala.el (composition-function-table): Fix regexp for
12104         the new Unicode specification.
12106         * language/indian.el (devanagari-composable-pattern)
12107         (tamil-composable-pattern, kannada-composable-pattern)
12108         (malayalam-composable-pattern): Adjust for the new Unicode
12109         specification.
12110         (bengali-composable-pattern, gurmukhi-composable-pattern)
12111         (gujarati-composable-pattern, oriya-composable-pattern)
12112         (telugu-composable-pattern): New variables to cope with the new
12113         Unicode specification.  Use them in composition-function-table.
12115 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12117         Make tmm-menubar work for the Buffers menu again (bug#5726).
12118         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12119         vectors rather than cons cells, as used in menu-bar-update-buffers.
12121 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12123         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12124         (js-insert-and-indent): Revert 2009-08-15 change, restoring
12125         electric punctuation for "{}();,:" (Bug#5586).
12127         * mail/sendmail.el (mail-default-directory): Doc fix.
12129 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12131         * mail/sendmail.el (mail-default-directory): Doc fix.
12133 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
12135         * subr.el (version-regexp-alist, version-to-list)
12136         (version-list-<, version-list-=, version-list-<=)
12137         (version-list-not-zero, version<, version<=, version=): Doc fix.
12138         (Bug#5744).
12140 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
12142         * vc.el (vc-root-diff): Doc fix.
12144 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12146         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12148         * simple.el (append-to-buffer): Fix last change.
12150 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12152         * simple.el (append-to-buffer): Ensure that point is preserved if
12153         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
12154         (Bug#5749)
12156 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12158         * files.el (auto-mode-case-fold): Change default to t.
12160 2010-03-30  Juri Linkov  <juri@jurta.org>
12162         * dired-x.el (dired-omit-mode): Doc fix.
12164 2010-03-30  Juri Linkov  <juri@jurta.org>
12166         * replace.el (occur-accumulate-lines): Move occur-engine related
12167         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12168         to be located after `occur-engine'.
12170 2010-03-30  Juri Linkov  <juri@jurta.org>
12172         Make occur handle multi-line matches cleanly with context.
12173         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12175         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12176         (occur-engine): Add local variables `ret', `prev-after-lines',
12177         `prev-lines'.  Use more arguments for `occur-context-lines'.
12178         Set first elem of its returned list to `data', and the second elem
12179         to `prev-after-lines'.  Don't print the separator line.
12180         In the end, print remaining context after-lines.
12181         (occur-context-lines): Add new arguments `begpt', `endpt',
12182         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
12183         after-lines of the previous match with before-lines of the
12184         current match and not overlap them.  Return a list with two
12185         values: the output line and the list of context after-lines.
12187 2010-03-30  Juri Linkov  <juri@jurta.org>
12189         * replace.el (occur-accumulate-lines): Fix a bug where the first
12190         context line at the beginning of the buffer was missing.
12192 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
12194         * files.el: Make bidi-display-reordering safe variable for boolean
12195         values.
12197 2010-03-29  Phil Hagelberg  <phil@evri.com>
12198             Chong Yidong  <cyd@stupidchicken.com>
12200         * subr.el: Extend progress reporters to perform "spinning".
12201         (progress-reporter-update, progress-reporter-do-update):
12202         Handle non-numeric value arguments.
12203         (progress-reporter--pulse-characters): New var.
12205 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
12207         * progmodes/compile.el (compilation-start): Fix regexp detection
12208         of initial cd command (Bug#5771).
12210 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
12212         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12214 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
12216         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12217         * progmodes/gdb-mi.el: Restore.
12218         * progmodes/gdb-ui.el: Remove.
12219         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12221 2010-03-25  Glenn Morris  <rgm@gnu.org>
12223         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12224         all dired buffers, even tramp ones.  (Bug#5755)
12226 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12228         Add "union tags" in mpc.el.
12229         * mpc.el: Remove backward compatibility code.
12230         (mpc-browser-tags): Change default.
12231         (mpc--find-memoize-union-tags): New var.
12232         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12233         (mpc-cmd-find): Handle the case where the playlist does not exist.
12234         Handle union-tags.
12235         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
12236         (mpc-cmd-add): Use mpc-cmd-flush.
12237         (mpc-tagbrowser-tag-name): New fun.
12238         (mpc-tagbrowser-buf): Use it.
12239         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
12241 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12243         Misc cleanup.
12244         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12245         Use replace-regexp-in-string.
12246         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12247         (makefile-imake-mode-syntax-table): Move init into defvar.
12248         (makefile-mode): Use define-derived-mode.
12250         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12251         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12252         not be present any more.
12254 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12256         * faces.el (set-face-attribute): Fix typo in docstring.
12257         (face-valid-attribute-values): Reflow docstring.
12259 2010-03-24  Glenn Morris  <rgm@gnu.org>
12261         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12263 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12265         * indent.el (indent-for-tab-command): Doc fix.
12267 2010-03-24  Alan Mackenzie  <acm@muc.de>
12269         * progmodes/cc-engine.el (c-remove-stale-state-cache):
12270         Fix off-by-one error.  Fixes bug #5747.
12272 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12274         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12275         (image-dired-read-comment): Doc fix.
12277         * json.el (json-object-type, json-array-type, json-key-type)
12278         (json-false, json-null, json-read-number):
12279         * minibuffer.el (completion-in-region-functions):
12280         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12281         (cal-tex-cursor-week):
12282         * emacs-lisp/trace.el (trace-function):
12283         * eshell/em-basic.el (eshell/printnl):
12284         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12285         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12286         * obsolete/levents.el (allocate-event, event-key, event-object)
12287         (event-point, event-process, event-timestamp, event-to-character)
12288         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12289         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12290         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12291         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12292         (reftex-highlight-selection): Fix typos in docstrings.
12294 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12296         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12298 2010-03-24  Glenn Morris  <rgm@gnu.org>
12300         * mail/rmail.el (rmail-highlight-face): Restore option deleted
12301         2008-02-13 without comment; mark it obsolete.
12302         (rmail-highlight-headers): Use rmail-highlight-face once more.
12304 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12306         * woman.el (woman2-process-escapes): Only consume the newline if
12307         the filler character is on a line by itself (Bug#5729).
12309 2010-03-24  Kenichi Handa  <handa@m17n.org>
12311         * language/indian.el (devanagari-composable-pattern): Add more
12312         consonants.
12314 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12316         * net/trampver.el: Update release number.
12318 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12320         * net/tramp.el (tramp-find-executable):
12321         Use `tramp-get-connection-buffer'.  Make the regexp for checking
12322         output of "wc -l" more robust.
12323         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12324         (tramp-open-connection-setup-interactive-shell): Remove workaround
12325         for OpenSolaris bug, it is not needed anymore.
12327 2010-03-24  Glenn Morris  <rgm@gnu.org>
12329         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
12331 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
12333         * files.el (auto-mode-alist): Accept more verilog file patterns.
12335 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12337         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12339 2010-03-24  Glenn Morris  <rgm@gnu.org>
12341         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12342         log-edit-before-checkin-process.
12344         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12346         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12348         * vc-dispatcher.el (vc-start-logentry): Doc fix.
12349         (log-view-process-buffer, log-edit-extra-flags): Declare.
12351         * log-edit.el (log-edit-before-checkin-process): Doc fix.
12353 2010-03-23  Sam Steingold  <sds@gnu.org>
12355         Fix bug#5620: recalculate all markers on compilation buffer
12356         modifications, not on file modifications.
12357         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12358         variable: the buffer modification time, for buffers not associated with
12359         files.
12360         (compilation-mode): Create it.
12361         (compilation-filter): Update it.
12362         (compilation-next-error-function): Use it instead of
12363         `visited-file-modtime' for timestamp.
12365 2010-03-23  Juri Linkov  <juri@jurta.org>
12367         Implement Occur multi-line matches.
12368         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12370         * replace.el (occur): Doc fix.
12371         (occur-engine): Set `begpt' to the beginning of the first line.
12372         Set `endpt' to the end of the last match line.  At first, count
12373         line numbers between `origpt' and `begpt'.  Split out code from
12374         `out-line' variable to new let-bindings `match-prefix' and
12375         `match-str'.  In `out-line' add non-numeric prefix to all
12376         non-first lines of multi-line matches.  Finally, count lines
12377         between `begpt' and `endpt' and add to `lines'.
12379 2010-03-23  Juri Linkov  <juri@jurta.org>
12381         * replace.el (occur-accumulate-lines, occur-engine):
12382         Use `occur-engine-line' instead of duplicate code.
12383         (occur-engine-line): New function created from duplicate code
12384         in `occur-accumulate-lines' and `occur-engine'.
12386         * replace.el (occur-engine-line): Add optional arg `keep-props'.
12387         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12389 2010-03-23  Juri Linkov  <juri@jurta.org>
12391         * finder.el: Remove TODO tasks.
12393         * info.el (Info-finder-find-node): Add node "all"
12394         with all package info.  Handle a list of multiple keywords
12395         separated by comma.
12396         (info-finder): In interactive use with a prefix argument,
12397         use `completing-read-multiple' to read a list of keywords
12398         separated by comma.
12400 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12402         Add a new completion style `substring'.
12403         * minibuffer.el (completion-basic--pattern): New function.
12404         (completion-basic-try-completion, completion-basic-all-completions):
12405         Use it.
12406         (completion-substring--all-completions)
12407         (completion-substring-try-completion)
12408         (completion-substring-all-completions): New functions.
12409         (completion-styles-alist): New style `substring'.
12411 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12413         Get rid of .elc files after removal of the corresponding .el.
12414         * Makefile.in (compile-clean): New target.
12415         (compile-main): Use it.
12417 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
12419         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12420         don't do make there.  When compiling with separate object dir, there
12421         is no Makefile there.
12423 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12425         Get rid of the ELCFILES abomination, again.
12426         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12427         (all, compile): Don't call compile-last.
12428         (compile-main): Build the "elcfiles" list dynamically.
12429         (compile-targets): New (internal) target.
12431 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12433         * Makefile.in (top_srcdir): Define.
12434         (abs_top_builddir): Define.
12435         (srcdir): Don't append `/..'.
12436         (EMACS): Use ${abs_top_builddir}.
12437         (all, compile, compile-always, compile-last): Don't set emacswd.
12438         (update-subdirs, update-authors): Use $(top_srcdir) instead of
12439         $(srcdir).
12440         (lisp): Use $(srcdir) instead of @srcdir@.
12442 2010-03-21  Juri Linkov  <juri@jurta.org>
12444         Fix message of multi-line occur regexps and multi-buffer header lines.
12445         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12447         * replace.el (occur-1): Don't display regexp if it is longer
12448         than window-width.  Use `query-replace-descr' to display regexp.
12449         (occur-engine): Don't display regexp in the buffer header for
12450         multi-buffer occur.  Display a separate header line with total
12451         match count and regexp for multi-buffer occur.
12452         Use `query-replace-descr' to display regexp.
12454 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
12456         * net/secrets.el: Fix parenthesis.
12457         (secrets-enabled): Fix parenthesis.
12459 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12461         Use more relative file and directory names.
12462         * Makefile.in (EMACS): Arrange for it to work when we chdir.
12463         (setwins, setwins_almost, setwins_for_subdirs):
12464         Don't `cd'; output relative names.
12465         (all, compile, compile-always, compile-last): Set emacswd.
12466         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12467         Just cd to the lisp source dir so we can use relative file names.
12469         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12471 2010-03-20  Glenn Morris  <rgm@gnu.org>
12473         * textmodes/rst.el: Use faces for font-lock customization, and make the
12474         old -face variables obsolete.
12475         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12476         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12477         (rst-block-face, rst-external-face, rst-definition-face)
12478         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12479         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12480         Make obsolete.
12481         (rst-font-lock-keywords-function): Update for above changes.
12483 2010-03-20  Juri Linkov  <juri@jurta.org>
12485         * s-region.el:
12486         * obsolete/s-region.el: Move to obsolete.
12488 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
12490         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12492 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12494         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12496 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12498         Add special markup processing for commit logs.
12499         * log-edit.el (log-edit-extra-flags): New variable.
12500         (log-edit): Add new argument MODE.  Use that mode when non-nil
12501         instead of the log-view-mode.
12502         (log-view-process-buffer): New function.
12504         * vc.el: Document that the checkin method takes optional
12505         arguments.  Document new backend specific method: log-view-mode.
12506         (vc-default-log-edit-mode): New function.
12507         (vc-checkin): Use a backend specific log-view-mode.
12508         Pass extra arguments to the checkin method.
12509         (vc-modify-change-comment): Pass a dummy extra argument.
12511         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12512         log-edit.
12513         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12514         (vc-finish-logentry): Process the log buffer before passing it
12515         down.  Pass log-edit-extra-flags.
12517         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12518         command.
12519         (log-edit-extra-flags, log-edit-before-checkin-process):
12520         New declarations.
12522         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12523         command.
12524         (log-edit-extra-flags, log-edit-before-checkin-process):
12525         New declarations.
12526         (vc-hg-log-edit-mode): New derived mode.
12528         * vc-arch.el (vc-arch-checkin):
12529         * vc-cvs.el (vc-cvs-checkin):
12530         * vc-git.el (vc-git-checkin):
12531         * vc-mtn.el (vc-mtn-checkin):
12532         * vc-rcs.el (vc-rcs-checkin):
12533         * vc-sccs.el (vc-sccs-checkin):
12534         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12536 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12538         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12539         parent typo).
12541 2010-03-19  Glenn Morris  <rgm@gnu.org>
12543         * password-cache.el (password-cache, password-cache-expiry): Autoload.
12545 2010-03-18  Glenn Morris  <rgm@gnu.org>
12547         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12549         * replace.el (query-replace-history): Give it a doc string.
12550         (map-query-replace-regexp): Use query-replace-from-history-variable
12551         and query-replace-to-history-variable.
12553         * mail/hashcash.el (declare-function): Remove duplicate definition.
12555         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12556         Make it an obsolete alias for report-emacs-bug-address.
12557         (message-strip-special-text-properties): Declare.
12558         (report-emacs-bug): Remove test for a pretest bug address.
12559         Combine message-mode-specific code.
12561         * mail/supercite.el: Don't require sendmail.
12562         (mh-in-header-p): Declare rather than using with-no-warnings.
12563         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12564         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
12566         * calendar/cal-french.el: Convert to utf-8.
12568         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12569         Emacs scripts.
12571 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
12573         * net/secrets.el (secrets-enabled): New variable.  Use it instead
12574         of a subfeature.
12576 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
12578         * net/secrets.el (top): Register the D-Bus signals only when the
12579         service "org.freedesktop.secrets" can be pinged.
12580         Provide subfeature `enabled'.
12582 2010-03-14  Juri Linkov  <juri@jurta.org>
12584         Add finder unknown keywords.
12586         * finder.el (finder-unknown-keywords): New function.
12588         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12589         to create a Finder node with unknown keywords.
12591 2010-03-14  Juri Linkov  <juri@jurta.org>
12593         * finder.el (finder-compile-keywords): Replace `princ' with
12594         `prin1' on a list of symbols interned from keyword strings.
12596         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12597         a comma, then split keywords using a comma and optional whitespace.
12598         Otherwise, split by whitespace.
12600         * complete.el:
12601         * face-remap.el:
12602         * log-view.el:
12603         * net/hmac-def.el:
12604         * net/hmac-md5.el:
12605         * net/netrc.el:
12606         * progmodes/mixal-mode.el: Fix keywords.
12608 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
12610         * Makefile.in (ELCFILES): Add net/secrets.elc.
12612         * net/secrets.el: New file.
12614 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12616         * facemenu.el (list-colors-display, list-colors-print): New arg
12617         callback.  Use it to allow selecting colors.
12619         * wid-edit.el (widget-image-insert): Insert image prop even if the
12620         current display is non-graphic.
12621         (widget-field-value-set): New fun.
12622         (editable-field): Use it.
12623         (widget-field-value-get): Clean up unused var.
12624         (widget-color-value-create, widget-color--choose-action):
12625         New funs.  Allow using list-colors-display to choose color.
12627 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12629         * cus-edit.el: Resort topmost custom groups.
12630         (custom-buffer-sort-alphabetically): Default to t.
12631         (customize-apropos): Use apropos-parse-pattern.
12632         (custom-search-field): New var.
12633         (custom-buffer-create-internal): Add custom-apropos search field.
12634         (custom-add-parent-links): Don't display parent doc.
12635         (custom-group-value-create): Don't sort top-level custom group.
12636         (custom-magic-value-create): Show visibility button before option name.
12638         (custom-variable-state): New fun, from custom-variable-state-set.
12639         (custom-variable-state-set): Use it.
12640         (custom-group-value-create): Hide options with standard values
12641         using the :hidden-states property.  Use progress reporter.
12643         (custom-show): Simplify.
12644         (custom-visibility): Disable images by default.
12645         (custom-variable): New property :hidden-states.
12646         (custom-variable-value-create): Enable images for
12647         custom-visibility widgets.  Use :hidden-states property to
12648         determine initial visibility.
12650         * wid-edit.el (widget-image-find): Give images center ascent.
12651         (visibility): Add :on-image and :off-image properties.
12652         (widget-visibility-value-create): Use them.
12654 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12656         * cus-edit.el (processes): Remove from development group.
12657         (oop, hypermedia): Delete group.
12658         (comm): Promote to top-level group.
12660         * net/browse-url.el (browse-url):
12661         * net/xesam.el (xesam):
12662         * net/tramp.el (tramp):
12663         * net/goto-addr.el (goto-address):
12664         * net/ange-ftp.el (ange-ftp): Put in comm group.
12666         * view.el (view): Remove from editing group.
12668         * uniquify.el (uniquify): Put in files group.
12670         * net/browse-url.el (browse-url):
12671         * ps-print.el (postscript): Put in external group.
12673         * cus-edit.el (outlines):
12674         * textmodes/text-mode.el (text-mode-hook):
12675         * textmodes/table.el (table):
12676         * textmodes/picture.el (picture):
12677         * outline.el (outlines): Put in wp group.
12679         * nxml/nxml-mode.el (nxml): Remove from wp group.
12681         * net/tramp-imap.el (tramp-imap): Put in tramp group.
12683         * mail/metamail.el (metamail): Remove from hypermedia group.
12685         * cus-edit.el (abbrev):
12686         * whitespace.el (whitespace):
12687         * vcursor.el (vcursor):
12688         * reveal.el (reveal):
12689         * hl-line.el (hl-line): Put in convenience group.
12691         * epg-config.el (epg): Put in data group.
12693         * emulation/pc-select.el (pc-select): Put in emulations group.
12695         * calculator.el (calculator): Put in applications group.
12697 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12699         Add .dir-locals.el support for file-less buffers.
12700         * files.el (hack-local-variables): Split out code to apply local
12701         variable settings ...
12702         (hack-local-variables-apply): ... here.  New function.
12703         (hack-dir-local-variables): Use the default directory for when the
12704         buffer does not have an associated file.
12705         (hack-dir-local-variables-non-file-buffer): New function.
12706         * diff-mode.el (diff-mode):
12707         * vc-annotate.el (vc-annotate-mode):
12708         * vc-dir.el (vc-dir-mode):
12709         * log-edit.el (log-edit-mode):
12710         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12712 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12714         Add support for shelving snapshots and for showing shelves.
12715         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12716         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12717         New functions.
12718         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12719         (vc-bzr-extra-menu-map): Map them.
12721 2010-03-11  Glenn Morris  <rgm@gnu.org>
12723         * cus-edit.el (customize-changed-options-previous-release):
12724         Bump to 23.1.
12726         * image.el (image-animate-max-time): Fix :version tag.
12728 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
12730         * Branch for 23.2.
12732 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12734         * vc-git.el (vc-git-revision-table): Include remote branches.
12736 2010-03-10  Kim F. Storm  <storm@cua.dk>
12738         Animated image API.
12739         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12741         * image.el (image-animate-max-time): New defcustom.
12742         (image-animated-types): New defconst.
12743         (create-animated-image, image-animate-timer)
12744         (image-animate-start, image-animate-stop, image-animate-timeout)
12745         (image-animated-p): New functions.
12747         * image-mode.el (image-toggle-display-image):
12748         Replace `create-image' with `create-animated-image'.
12750 2010-03-09  Miles Bader  <miles@gnu.org>
12752         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12753         instead of "format:"; this ensures that the output is
12754         newline-terminated.
12756 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
12758         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12759         that all errors are caught, and that the return value is always a
12760         list (Bug#5692).
12762 2010-03-08  Kenichi Handa  <handa@m17n.org>
12764         * language/misc-lang.el (windows-1256): New coding system.
12765         (cp1256): New alias of windows-1256 (bug#5690).
12767 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
12769         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12770         call to rfc822-bad-address.  (Bug#5692)
12772 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12774         * vc-git.el (vc-git-annotate-extract-revision-at-line):
12775         Use vc-git-root as default directory for revision path (Bug#5657).
12777 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
12779         * calculator.el (calculator): Don't bind split-window-keep-point
12780         (Bug#5674).
12782 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12784         * vc-git.el: Re-flow to fit into 80 columns.
12785         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12786         Remove spurious `quote' element in each case alternative.
12787         (vc-git-show-log-entry): Use prog1.
12788         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12790 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12792         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12794 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
12796         * macros.el (insert-kbd-macro): Look up keyboard macro using the
12797         definition, not the name (Bug#5481).
12799 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12801         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12802         argument with a local variable.  (Bug#5670)
12804 2010-03-02  Juri Linkov  <juri@jurta.org>
12806         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
12808 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
12810         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12811         error when FILENAME and NEWNAME are existing remote directories.
12813         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12814         parameter DIR-FLAG.
12816 2010-03-02  Glenn Morris  <rgm@gnu.org>
12818         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12819         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12821 2010-03-01  Kenichi Handa  <handa@m17n.org>
12823         * language/burmese.el (burmese-composable-pattern): Rename from
12824         myanmar-composable-pattern.
12826         * international/characters.el (script-list):
12827         * international/fontset.el (script-representative-chars):
12828         Change myanmar to burmese.
12829         (otf-script-alist): Likewise.
12830         (setup-default-fontset): Likewise.  Re-fix :otf spec.
12832 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
12834         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12836 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
12838         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12840 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12842         * net/tramp.el (tramp-handle-write-region): START can be a string.
12843         Take care in the checks.  Reported by Dan Davison
12844         <davison@stats.ox.ac.uk>.
12846 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12848         * net/dbus.el (dbus-introspect, dbus-get-property)
12849         (dbus-set-property, dbus-get-all-properties):
12850         Use `dbus-call-method' when noninteractive.  (Bug#5645)
12852 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
12854         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12855         * emacs-lisp/elint.el (elint-add-required-env):
12856         * calendar/icalendar.el (icalendar--add-diary-entry):
12857         * calc/calcalg2.el (math-tracing-integral):
12858         * files.el (recover-session-finish): Use with-current-buffer
12859         instead of save-excursion.
12861 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12863         Fix in-buffer completion when after-change-functions modify the buffer.
12864         * minibuffer.el (completion--replace): New function.
12865         (completion--do-completion): Use it and use relative movement.
12867 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
12869         * international/fontset.el (setup-default-fontset): Fix :otf spec.
12871 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
12873         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12874         Allow the characters _<> in the stack entry (Bug#5653).
12876 2010-02-26  Kenichi Handa  <handa@m17n.org>
12878         * language/burmese.el: Fix entries in composition-function-table.
12879         (myanmar-composable-pattern): New variable.
12881         * international/fontset.el (setup-default-fontset): Add an entry
12882         for myanmar.
12884         * international/characters.el (script-list): Add Myanmar
12885         Extended-A.
12887 2010-02-26  Glenn Morris  <rgm@gnu.org>
12889         * custom.el (custom-initialize-delay): Doc fix.
12891         * mail/sendmail.el (send-mail-function): Autoload the call
12892         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12894 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
12896         * files.el (hack-local-variables-filter): For eval forms, also
12897         check safe-local-variable-p (Bug#5636).
12899 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
12901         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12902         setting the modes by `ignore-errors'.  It might fail, for example
12903         if the file is not owned by the user but the group.
12904         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12906 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
12908         * files.el (directory-listing-before-filename-regexp):
12909         Use stricter matching for iso-style dates, to avoid false matches with
12910         date-like filenames (Bug#5597).
12912         * htmlfontify.el (htmlfontify): Doc fix.
12914         * eshell/eshell.el (eshell): Doc fix.
12916         * startup.el (fancy-about-screen): In mode-line, apply
12917         mode-line-buffer-id face only to the buffer name (Bug#5613).
12919 2010-02-20  Kevin Ryde  <user42@zip.com.au>
12921         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12922         In `watcom' anchor regexp to start of line, to avoid slowness
12923         (Bug#5599).
12925 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
12927         * subr.el (remove-yank-excluded-properties): Explain in a comment
12928         why `category' property is removed.
12930 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
12932         * isearch.el (isearch-update-post-hook, isearch-update):
12933         Revert 2010-02-17 change.
12935 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
12937         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12938         (icalendar--convert-weekly-to-ical)
12939         (icalendar--convert-yearly-to-ical)
12940         (icalendar--convert-block-to-ical)
12941         (icalendar--convert-cyclic-to-ical)
12942         (icalendar--convert-anniversary-to-ical): Take care of time
12943         specifications where hour has 1-digit only (Bug#5549).
12945 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
12947         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12948         of disassemble output in GDB 7.1.
12950 2010-02-19  Glenn Morris  <rgm@gnu.org>
12952         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12953         property.  (Bug#5593)
12955 2010-02-18  Sam Steingold  <sds@gnu.org>
12957         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12959 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12961         Use abbreviated file names in bookmarks (bug#5591).
12962         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12963         calls to expand-file-name.
12964         (bookmark-relocate): Use abbreviated file names in bookmarks.
12965         (bookmark-load): Use abbreviated file names in messages.
12967 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12969         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12970         expand "." and "..".  Reported by Thierry Volpiatto
12971         <thierry.volpiatto@gmail.com>.
12973 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12975         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12976         permissions of the temporary file to "0600".  In case the remote
12977         file has no read permissions for the owner, there might be
12978         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
12980 22010-02-18  Glenn Morris  <rgm@gnu.org>
12982         * emacs-lisp/authors.el (authors-renamed-files-alist):
12983         Add entries for INSTALL.CVS.
12985 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
12987         * vc-bzr.el: Fix typo in Known Bugs section.
12989         * isearch.el (isearch-update-post-hook): New hook.
12990         (isearch-update): Use the new hook.
12992 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
12994         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12995         Fix errors in copying directories.
12996         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12997         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12998         (tramp-handle-delete-file)
12999         (tramp-handle-dired-recursive-delete-directory)
13000         (tramp-handle-write-region): Flush also the cache for the upper
13001         directory.
13003 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
13005         * simple.el (save-interprogram-paste-before-kill): Doc fix.
13007         * cus-edit.el (hardware): Doc fix.
13009         * man.el (man): Add to external custom group.
13011         * delim-col.el (columns): Move to wp custom group.
13013         * doc-view.el (doc-view): Add to data custom group.
13015         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13017         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13018         by ispell-parse-output (Bug#5575).
13020 2010-02-16  Kenichi Handa  <handa@m17n.org>
13022         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13023         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13024         (skkdic-convert): Use `euc-japan' coding system for writing.
13026 2010-02-16  Glenn Morris  <rgm@gnu.org>
13028         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13029         tex-main-file before using it.  (Bug#5562)
13031 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13033         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13034         warnings, since it is annoying for the user to see them each time he
13035         runs the code.
13037 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
13039         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13040         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13041         instead of PROC for caching "first-password-request".  Otherwise,
13042         new processes would not profit from passwords already entered.
13044         * net/tramp-cache.el (tramp-dump-connection-properties):
13045         Don't save "first-password-request" property.
13047 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
13049         * outline.el (outline-head-from-level):
13050         * simple.el (with-wrapper-hook):
13051         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13052         (elint-defun, elint-buffer-env, elint-top-form-logged)
13053         (elint-unbound-variable):
13054         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13055         Fix typos in docstrings.
13057 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
13059         * files.el (insert-directory): When WILDCARD-REGEXP and
13060         FULL-DIRECTORY-P are nil, insert the file entry instead of the
13061         whole directory.  (Bug#5551)
13063         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
13064         dired's alignment sanity.  (Bug#5516)
13066 2010-02-14  Juri Linkov  <juri@jurta.org>
13068         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13069         Remove remaining ^H with their preceding chars.  (Bug#5566)
13071 2010-02-13  Glenn Morris  <rgm@gnu.org>
13073         * simple.el (transpose-subr): Give it a doc-string.
13075         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13076         Doc fixes.
13078 2010-02-12  Juri Linkov  <juri@jurta.org>
13080         * arc-mode.el (archive-unique-fname): Make directories for nested
13081         archives.  (Bug#5540)
13083 2010-02-12  Juri Linkov  <juri@jurta.org>
13085         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
13087 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13089         * subr.el (copy-overlay): Handle deleted overlays.
13091         * man.el (Man-completion-table): Don't signal an error if we can't run
13092         manual-program (bug#4056).
13094 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
13096         * textmodes/artist.el (artist-mt): Fix typos in docstring.
13098 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13100         * info.el (Info-bookmark-jump): Simplify.
13102         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13103         (bookmark-default-handler): Accept new bookmark field `buffer'.
13105 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
13107         * iswitchb.el (iswitchb-completions): Revert last change.
13109 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
13111         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13112         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13113         This prevents file names like "~/" being listed literally.
13115 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
13117         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13118         Remove dead code.  (Bug#5546)
13120 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
13122         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13123         correctly (Bug#5548).
13125 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
13127         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13128         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13130 2010-02-08  Kenichi Handa  <handa@m17n.org>
13132         * international/mule-util.el (with-coding-priority): Add autoload
13133         cookie for putting `lisp-indent-function'.
13135 2010-02-07  Glenn Morris  <rgm@gnu.org>
13137         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13138         Move F2003 named interfaces from keywords-2 to keywords-1, and
13139         use function-name-face rather than constant-face.
13140         Simplify "abstract interface" regexp.
13142 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
13144         * eshell/esh-util.el (eshell-file-attributes): New optional arg
13145         ID-FORMAT.  Pass it to `file-attributes'.
13147         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13149 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
13151         * faces.el (set-face-attribute): Allow calling
13152         internal-set-lisp-face-attribute with 'unspecified family and
13153         foundry argument (Bug#5536).
13155 2010-02-07  Glenn Morris  <rgm@gnu.org>
13157         * progmodes/f90.el (f90-font-lock-keywords-2)
13158         (f90-looking-at-type-like, f90-looking-at-program-block-end):
13159         Handle F2003 named interfaces.
13161 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
13163         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13164         beg and end before calling c-get-state-before-change-functions.
13166 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
13168         * vc-bzr.el (vc-bzr-dir-extra-headers):
13169         Disable the pending merges header.
13171 2010-02-05  Juri Linkov  <juri@jurta.org>
13173         * doc-view.el (doc-view-mode):
13174         * image-mode.el (image-mode): Put property mode-class=special.
13175         (Bug#4896)
13177 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
13179         * vc-svn.el (vc-svn-revision-table): New function.
13181 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
13183         * net/ange-ftp.el (ange-ftp-insert-directory):
13184         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13185         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13186         Handle also directories.  (Bug#5478)
13188 2010-02-05  Glenn Morris  <rgm@gnu.org>
13190         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13192 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
13194         * startup.el (command-line-1): Convert options beginning with a
13195         single dash as well (Bug#5519).
13197 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13199         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13200         * minibuffer.el (completion-initials-expand): Only check the presence
13201         of delims *within* the boundaries, since otherwise the / delim is
13202         always found for files.
13204         Fix up various corner case problems.
13205         * doc-view.el (doc-view-last-page-number): New function.
13206         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13207         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13208         (doc-view-kill-proc): Avoid inf-loop in freak cases.
13209         (doc-view-reconvert-doc): Use the new recursive delete-directory.
13210         (doc-view-convert-current-doc): Don't create the resolution.el file
13211         here any more.
13212         (doc-view-pdf/ps->png): Do it here instead.
13213         (doc-view-already-converted-p): Check that resolution.el is present.
13214         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13215         windows that are not yet showing images.
13217 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
13219         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13220         `dired-uncache' for every elemnt which is an absolute file name.
13222         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13223         directory, handle its directory component.
13224         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13225         function is called permanently and creates noise, otherwise.
13227         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13228         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13229         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
13231 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
13233         * macros.el (apply-macro-to-region-lines):
13234         Minor simplification.  (Bug#5485)
13236 2010-02-04  Glenn Morris  <rgm@gnu.org>
13238         * mail/rmail.el (rmail-show-message-1): Handle malformed
13239         quoted-printable text.  (Bug#5441)
13241         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13243         * simple.el (visual-line-mode): Capitalize lighter.
13245 2010-02-03  John Wiegley  <jwiegley@gmail.com>
13247         * iswitchb.el (iswitchb-completions): Add bookmark files to the
13248         list of files considered for "virtual buffer" completions.
13250 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
13252         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13253         also in case of (and (not full) (not wildcard)).  This is needed
13254         when dired is called with a list of files, which are not in
13255         `default-directory'.  (Bug#5478)
13257 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13259         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13261 2010-02-02  Juri Linkov  <juri@jurta.org>
13263         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13264         from unidiff to allow function-line after @@.
13266 2010-02-02  Juri Linkov  <juri@jurta.org>
13268         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13269         '(RCS SCCS) with inverted condition.
13271 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
13273         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13274         messages.
13276 2010-02-01  Juri Linkov  <juri@jurta.org>
13278         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13279         compare with "pkunzip" and "pkzip" instead of only "pkzip".
13280         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13281         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
13283 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13285         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13286         (doc-view-revert-buffer): New command.
13287         (doc-view-mode-map): Use it.
13289 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
13291         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13292         pending merge is detected.
13294 2010-01-31  Juri Linkov  <juri@jurta.org>
13296         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13297         beginning of interactive spec like all other grep commands do.
13298         Put "all" in front of "gz".  (Bug#5260)
13300 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
13302         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13304 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
13306         * dirtrack.el (dirtrack): Warn instead of signalling error if the
13307         regexp is incorrect (Bug#5476).
13309 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
13311         * net/tramp.el (tramp-handle-insert-directory): Handle also
13312         symlinks, when FILENAME is not in `default-directory'.
13314 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13316         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13317         FILE is not in `default-directory'.  (Bug#5478)
13319         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13320         of SWITCHES.  Handle the case, FILENAME is not in
13321         `default-directory'.  (Bug#5478)
13322         (tramp-register-file-name-handlers): Add safe-magic property.
13324 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
13326         * arc-mode.el (archive-zip-extract): Quote the argument passed to
13327         unzip (Bug#5475).
13329 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
13331         * progmodes/flymake.el (flymake-allowed-file-name-masks)
13332         (flymake-master-make-header-init): Add other C++ filename masks.
13333         (flymake-find-possible-master-files)
13334         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13336 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13338         Fix some busybox annoyances.
13340         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13341         not responding." string.
13342         (tramp-open-connection-setup-interactive-shell): Dump stty
13343         settings.  Enable "neveropen" arg for all `tramp-send-command'
13344         calls.  Handle "=" in variable values properly.
13345         (tramp-find-inline-encoding): Raise an error, when no encoding is
13346         found.
13347         (tramp-wait-for-output): Check, whether PROC buffer is available.
13348         Remove spurious " ^H" sequences, sent by busybox.
13349         (tramp-get-ls-command): Suppress coloring, if possible.
13351 2010-01-28  Glenn Morris  <rgm@gnu.org>
13353         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
13355         * log-edit.el (log-edit-strip-single-file-name): Add missing
13356         :safe, :group, and :version tags.
13358 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
13360         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13361         buffers.  (Bug#5477)
13363 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
13365         * files.el (delete-directory): Handle moving to trash without
13366         first doing recursion (Bug#5436).
13368 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
13370         * vc-hooks.el (vc-path): Mark as obsolete.
13372 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
13374         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13375         names too.
13377         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13378         for the short log.
13379         (vc-bzr-log-view-mode): Adjust regexp for the above change.
13381 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
13383         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13385         * vc-bzr.el (vc-bzr-revision-table): New function.
13387 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
13389         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13390         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
13392 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
13394         Remove support for adding --signoff on commit.
13395         Future support will use an incompatible generic mechanism.
13396         * vc-git.el (vc-git-add-signoff): Remove variable.
13397         (vc-git-toggle-signoff): Remove function.
13398         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13400         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13401         Rename from xterm-set-background-mode.  Return t if the background mode
13402         was set.
13403         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13404         earlier, call it again in case the background mode has changed.
13406 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
13408         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13409         (Bug#3541).
13411 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
13413         * emacs-lisp/assoc.el (aelement): Doc fix.
13414         (aput, adelete, amake): Use lexical-let (Bug#5450).
13416 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
13418         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13419         is the same as subprogram call, not declaration.  (Bug#5435).
13421 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
13423         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13424         (tramp-smb-maybe-open-connection): Use it.
13426 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
13428         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
13430 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13432         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13433         just because we see "encoding: 8bit".
13434         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13436 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
13438         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13440 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
13442         * jka-compr.el (jka-compr-load): If load-file is not in
13443         load-history, try its file-truename version.  (bug#5447)
13445 2010-01-21  Alan Mackenzie  <acm@muc.de>
13447         Fix a situation where deletion of a cpp construct throws an error.
13448         * progmodes/cc-engine.el (c-invalidate-state-cache):
13449         Before invoking c-with-all-but-one-cpps-commented-out, check that the
13450         special cpp construct is still in the buffer.
13451         (c-parse-state): Record the special cpp with markers, not numbers.
13453 2010-01-21  Kenichi Handa  <handa@m17n.org>
13455         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13456         process last-command-event, as it is now decoded first (Bug#5380).
13458 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
13460         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13462 2010-01-20  Glenn Morris  <rgm@gnu.org>
13464         * indent.el (tab-always-indent): Fix custom-type.
13466 2010-01-19  Alan Mackenzie  <acm@muc.de>
13468         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13469         buffer throws "args out of range".
13470         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13471         playing the role of delimiter.
13473 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
13475         * progmodes/ada-mode.el: Fix bug#5400.
13476         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13477         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13478         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
13479         Improve comments in "is" portion.  Handle null procedure declaration.
13480         (ada-move-to-end): Improve doc string.
13482 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
13484         * ido.el (ido-cur-list): Initialize to nil.
13485         Remove obsolete information from commentary.
13486         (ido-choice-list): Initialize to nil.
13487         (ido-get-bufname): Reject minibuffers.
13488         (ido-make-buffer-list): If "default" is a nonexistent
13489         buffer, ignore it, as per the function's comment.
13490         (ido-kill-buffer-internal): New function.
13491         (ido-kill-buffer-at-head): Use it.
13492         (ido-visit-buffer): Likewise.
13494 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
13496         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13498 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
13500         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13501         Fix typos in chart titles.
13503         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13504         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13505         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13506         (describe-class, eieio-describe-generic, describe-generic):
13507         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13508         (eieio-speedbar-expand):
13509         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13510         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13511         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13512         (viper-del-backward-char-in-replace, viper-backward-indent)
13513         (viper-brac-function, viper-register-to-point, viper-submit-report):
13514         * net/tramp.el (tramp-remote-coding-commands):
13515         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13516         Fix typos in docstrings.
13518 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
13520         * mail/sendmail.el (mail-yank-original): Set the mark if the
13521         specified function for yanking does not do it.
13523 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
13525         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
13527         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13528         resyncing a directory.
13530 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
13532         * progmodes/ada-mode.el: Fix bug#1920.
13533         (ada-ident-re): Delete ., allow multibyte characters.
13534         (ada-goto-label-re): New; matches goto labels.
13535         (ada-block-label-re): New; matches block labels.
13536         (ada-label-re): New; matches both.
13537         (ada-named-block-re): Delete; callers changed to use
13538         `ada-block-label-re' instead.
13539         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13540         Use `ada-block-label-re'.
13541         (ada-indent-on-previous-lines): Improve handling of goto labels.
13542         (ada-get-indent-block-start): Special-case block label.
13543         (ada-get-indent-label): Split into `ada-indent-block-label' and
13544         `ada-indent-goto-label'.
13545         (ada-goto-stmt-start, ada-goto-next-non-ws):
13546         Optionally ignore goto labels.
13547         (ada-goto-next-word): Simplify.
13548         (ada-indent-newline-indent-conditional): Insert newline before
13549         trying to fix indentation; doc fix.
13551 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
13553         * calc/calc.el (calc-command-flags): Give it an initial value.
13555 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
13557         * files.el (minibuffer-with-setup-hook):
13558         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13559         (artist-key-draw-continously, artist-key-do-continously-continously)
13560         (artist-key-set-point-continously, artist-mouse-draw-continously):
13561         Fix typos in docstrings.
13563 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
13565         * nxml/nxml-mode.el (nxml-extend-after-change-region):
13566         Never return t (Bug#3898).
13568 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
13570         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13571         can parse the output of the external commands (Bug#5279).
13573 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
13575         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13577 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
13579         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13581         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13583         * startup.el (command-line): Remove unused --icon-type arg.
13584         Handle --display arg, passing it to command-line-1 (Bug#5392).
13586 2010-01-16  Mario Lang  <mlang@delysid.org>
13588         * emacs-lisp/chart.el (chart-translate-namezone):
13589         * textmodes/artist.el (artist-compute-popup-menu-table):
13590         Remove duplicated words in doc-strings.
13592 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
13594         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13595         to mairix-search to suppress threading (Bug#5342).
13597 2010-01-15  Kenichi Handa  <handa@m17n.org>
13599         * international/mule-cmds.el (canonicalize-coding-system-name):
13600         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13602 2010-01-15  Glenn Morris  <rgm@gnu.org>
13604         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
13606         * wid-edit.el (widget-keymap): Doc fix.
13608         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13609         former seems to be more widely accepted by various svn versions.
13611 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13613         * find-cmd.el (find-constituents):
13614         * vc-arch.el (vc-arch-root):
13615         * window.el (window-body-height, pop-up-frames):
13616         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13617         * progmodes/ada-stmt.el (ada-if):
13618         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13619         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13620         (ispell-encoding8-command, ispell-aspell-supports-utf8)
13621         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13623         * progmodes/flymake.el (flymake-post-syntax-check):
13624         Fix typo in error message.
13626 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13628         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13629         which is always a string.  (Bug#5313)
13631 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13633         * progmodes/ada-xref.el (ada-default-prj-properties):
13634         Simplify previous change.
13636 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13638         * progmodes/ada-xref.el (ada-default-prj-properties):
13639         Default ada_project_path to $ADA_PROJECT_PATH.
13641 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13643         * progmodes/ada-mode.el (ada-create-keymap):
13644         Override `narrow-to-defun' with `ada-narrow-to-defun'.
13646 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13648         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13649         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13650         (ada-get-current-indent, ada-imenu-generic-expression)
13651         (ada-which-function): Check for it.
13653 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13655         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13656         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13658 2010-01-14  Glenn Morris  <rgm@gnu.org>
13660         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
13662 2010-01-14  Kenichi Handa  <handa@m17n.org>
13664         * composite.el (auto-composition-mode): Make it a buffer local
13665         variable (permanent-local).
13666         (auto-composition-function): Set the default value to
13667         auto-compose-chars.
13668         (auto-composition-mode): Make it a simple function, not a minor mode.
13669         (global-auto-composition-mode): Likewise.
13670         (turn-on-auto-composition-if-enabled): Delete it.
13672 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
13674         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13676 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
13678         * files.el (copy-directory): Compute target for recursive
13679         directories with identical names.  (Bug#5343)
13681 2010-01-12  Glenn Morris  <rgm@gnu.org>
13683         * mail/emacsbug.el (report-emacs-bug-pretest-address):
13684         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13686 2010-01-11  Sam Steingold  <sds@gnu.org>
13688         * imenu.el (imenu-default-create-index-function): Detect infinite
13689         loops caused by imenu-prev-index-position-function.
13691 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13693         * htmlfontify.el (htmlfontify-load-rgb-file)
13694         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13695         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13696         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13697         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13698         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13699         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13700         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13701         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13702         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13703         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13704         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13705         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13706         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13707         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13708         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13709         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13710         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13711         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13712         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13713         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13714         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13715         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13716         backslash-quoting from parentheses, etc.
13718 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
13720         * progmodes/js.el: Autoload javascript-mode alias.
13722 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13724         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13725         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13726         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13727         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13728         Fix typos in docstrings.
13729         (ffap-url-regexp): Doc fix.
13730         (ffap-at-mouse): Fix typo in message.
13732 2010-01-11  Glenn Morris  <rgm@gnu.org>
13734         * version.el (emacs-copyright): Set copyright year to 2010.
13736 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13738         * format.el (format-annotate-function): Only set
13739         write-region-post-annotation-function after running to-fn so as not to
13740         affect nested write-region calls (bug#5273).
13742 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
13744         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13745         wisent/python.el.
13747 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13749         * man.el (Man-goto-section): Signal error if the section is not
13750         found (Bug#5317).
13752 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
13754         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13755         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
13757 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13759         * progmodes/compile.el: Don't treat compile-command as safe if
13760         compilation-read-command might be nil (Bug#4218).
13762 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
13764         * startup.el (command-line-1): Use orig-argi to check for ignored X and
13765         NS options.
13767 2010-01-08  Kenichi Handa  <handa@m17n.org>
13769         * international/fontset.el (build-default-fontset-data):
13770         Exclude characters in scripts kana, hangul, han, or cjk-misc.
13772 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
13774         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13775         to `create-file-buffer' as it expects, not just a buffer name.
13776         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13777         to help uniquify.  (Bug#3224)
13779 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
13781         * font-setting.el (font-setting-change-default-font): Use user-spec
13782         instead of name.
13784 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
13786         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13788 2010-01-05  Tom Tromey  <tromey@redhat.com>
13790         * progmodes/python.el (python-font-lock-keywords):
13791         Handle qualified decorators (Bug#881).
13793 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13795         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13796         in a lightweight checkout.
13798 2010-01-05  Kenichi Handa  <handa@m17n.org>
13800         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13802 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13804         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13806 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
13808         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13809         checkouts.  (Bug#618)
13810         (vc-bzr-log-view-mode): Also highlight the author.
13811         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13812         (vc-bzr-shelve-menu-map):
13813         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13814         (vc-bzr-shelve-apply): Make prompt more explicit.
13816 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
13818         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13819         They are valid characters in URL paths (rfc3986), and at least
13820         Firefox does not understand the encoded version (Bug#3166).
13822 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
13824         * progmodes/octave-mod.el (octave-end-keywords)
13825         (octave-block-begin-or-end-regexp, octave-block-match-alist):
13826         Add "end" keyword (Bug#3061).
13827         (octave-end-as-array-index-p): New function.
13828         (calculate-octave-indent): Use it.
13830 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13832         * bookmark.el: Consistently put the text property on the bookmark name.
13833         (bookmark-bmenu-marks-width): Bump back to 2, to include
13834         annotation marks.
13835         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13836         property on the bookmark name, instead of not putting it at all.
13837         (bookmark-bmenu-list): Fix where we put the text property.
13839 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13841         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13842         for showing buffer modified state (as added in the previous change).
13844 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13846         * bookmark.el: Show modified state of bookmark buffer more accurately.
13847         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13848         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13849         (with-buffer-modified-unmodified): New macro.
13850         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13851         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13852         Use new macro to preserve the buffer modified state.
13854 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13856         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13857         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13858         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13859         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13860         (bookmark-bmenu-rename, bookmark-bmenu-locate)
13861         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13862         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13864 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13866         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13867         Make the lines in the generated doc string shorter.  (Bug#4668)
13869 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
13871         * net/rcirc.el: Add follow-link binding (Bug#4738).
13873 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13875         * Makefile.in (bzr-update): Rename from cvs-update.
13876         (cvs-update): New target for backward compatibility.
13878         * makefile.w32-in (bzr-update): Rename from cvs-update.
13879         (cvs-update): New target for backward compatibility.
13881 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13883         * bookmark.el: Remove gratuitous gratitude.
13885 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13887         * bookmark.el (bookmark-bmenu-any-marks): New function.
13888         (bookmark-bmenu-save): Clear buffer modification if no marks.
13890 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13892         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13893         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13894         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13895         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13897         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13898         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13899         To: emacs-devel {_AT_} gnu.org
13900         Subject: bookmark.el bug report
13901         Date: Mon, 28 Dec 2009 14:19:16 +0800
13902         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13904 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13906         * bookmark.el: Improvements suggested by Drew Adams:
13907         (bookmark-bmenu-ensure-position): New name for
13908         `bookmark-bmenu-check-position'.  Just ensure the position,
13909         don't return any meaningful value.
13910         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13911         New constants.
13913 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
13915         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13916         (bookmark-yank-point, bookmark-bmenu-check-position):
13917         Fix typos in docstrings.
13918         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13919         (bookmark-name-from-full-record, bookmark-get-position)
13920         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13921         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13922         Remove useless quoting of parenthesis, etc. in docstrings.
13924         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13925         (ediff-append-custom-diff): Fix typo in error message.
13926         (ediff-meta-mark-equal-files): Fix typos in messages.
13928         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13930         * net/imap-hash.el (imap-hash-make): Doc fix.
13931         (imap-hash-test): Fix typo in error message; reflow docstring.
13932         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13933         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13934         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13935         Fix typos in docstrings.
13936         (imap-hash-open-connection): Fix typo in error message.
13938         * play/gomoku.el (gomoku): Fix typos in docstring.
13940         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13941         (gdb-jsonify-buffer): Fix typos in docstring.
13942         (gdb-goto-breakpoint): Fix typo in error message.
13943         ("Display Other Windows"): Fix typo in help message.
13944         (gdb-speedbar-expand-node): Fix typo in question.
13946         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13947         (idlwave-html-system-help-location, idlwave-html-help-location)
13948         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13949         (idlwave-help-browser-generic-args, idlwave-help-directory)
13950         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13951         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13952         (idlwave-online-help, idlwave-help-html-link)
13953         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13954         Fix typos in docstrings.
13955         (idlwave-help-with-source, idlwave-help-find-routine-definition):
13956         Reflow docstrings.
13957         (idlwave-help-assistant-start): Fix typo in error message.
13959         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13960         (octave-electric-space): Fix typos in docstrings.
13962 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
13964         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13966 2010-01-01  Juri Linkov  <juri@jurta.org>
13968         * comint.el (comint-input-ring-size): Make it a defcustom and
13969         increase the default to 500 (Bug#5148).
13971 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
13973         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13974         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13975         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13977 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
13979         Show working revision correctly for mercurial.
13980         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13981         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13983 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
13985         Declare some functions for the byte-compiler.
13986         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13987         (speedbar-timer-fn, speedbar-change-expand-button-char)
13988         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13990 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
13992         This changeset reverts GDB Graphical Interface to use annotations.
13993         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13995 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
13997         Make vc-dir work on subdirectories of the bzr root.
13998         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13999         Return file names relative to it.
14000         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14001         relative directory to vc-bzr-after-dir-status.
14003 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
14005         * font-lock.el (font-lock-refresh-defaults): New function, which
14006         can be used to let font-lock react to external changes in
14007         variables like font-lock-defaults and keywords.
14008         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14010 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
14012         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14014         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14016 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
14018         Supersede color.diff settings in git log (bug#5211).
14020         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14021         escape chars in its output when the user has color.diff set to `always'.
14022         This fix works on git 1.4.2 and newer (released on 2006-08-13).
14024 2009-12-26  Kevin Ryde  <user42@zip.com.au>
14026         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14027         node.  Keep previous "Index" name to work with past coreutils too.
14029         * man.el (man): Revise docstring a bit to show -a and -l as
14030         examples.  Add -k description since support for it has otherwise
14031         been a secret.  (Further to bug#3717.)
14032         (Man-bgproc-sentinel): When "-k foo" produces no output show error
14033         "no matches" rather than "Can't find manpage", as the latter reads
14034         like -k was interpreted as a page name, which is not so.  (Bug#5431)
14036 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
14038         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14039         switches.  Check also for //SUBDIRED// line.
14041 2009-12-25  Kenichi Handa  <handa@m17n.org>
14043         * language/indian.el (devanagari-composable-pattern): Fix to
14044         handle ZWNJ and ZWJ.  Use it in composition-function-table for
14045         Devanagari.
14046         (malayalam-composable-pattern): Fix previous change.
14048 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14050         * ps-print.el (ps-face-attributes): It was not returning the
14051         attribute face for faces specified as string.  Reported by harven
14052         <harven@free.fr>.  (Bug#5254)
14053         (ps-print-version): New version 7.3.5.
14055 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
14057         * calendar/icalendar.el (icalendar--convert-tz-offset):
14058         Fix timezone names.
14059         (icalendar--convert-tz-offset): Fix the "last-day-problem".
14060         (icalendar--add-diary-entry): Remove the trailing blank that
14061         diary-make-entry inserts.
14063 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
14065         Make `file-expand-wildcards' work for remote files.
14067         * files.el (file-expand-wildcards): In case of remote files, check
14068         only local file name part for wildcards.  Provide feature 'files
14069         and subfeature 'remote-wildcards.  (Bug#5198)
14071         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14072         if there is already an established connection.
14073         (tramp-advice-file-expand-wildcards): Remove it.
14075         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14076         (tramp-advice-file-expand-wildcards): Move from tramp.el.
14077         Activate advice for older GNU Emacs versions.  (Bug#5237)
14079 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
14081         Some doc fixes (more needed).
14083         * find-cmd.el (find-constituents): Reflow docstring.
14084         (find-cmd, find-prune, find-command): Fix typos in docstrings.
14085         (find-generic): Doc fix.
14087 2009-12-17  Juri Linkov  <juri@jurta.org>
14089         Fix regression from 23.1 to allow multiple modes in Local Variables.
14091         * files.el (hack-local-variables-filter): While ignoring duplicates,
14092         don't take `mode' into account.
14093         (hack-local-variables-filter, hack-dir-local-variables):
14094         Don't remove duplicate `mode' from local-variables-alist (like `eval').
14096 2009-12-17  Juri Linkov  <juri@jurta.org>
14098         Make `dired-diff' safer.  (Bug#5225)
14100         * dired-aux.el (dired-diff): Signal an error when `file' equals to
14101         `current' or when `file' is a directory of the `current' file.
14103 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
14105         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14106         unconditionally preloaded files.
14108 2009-12-16  Juri Linkov  <juri@jurta.org>
14110         Revert to old 23.1 logic of using the file at the mark as default.
14111         * dired-aux.el (dired-diff): Use the file at the mark as default
14112         if it's not the same as the current file, and the target dir is
14113         the current dir or the mark is active.  Add the current file
14114         as the arg of `dired-dwim-target-defaults'.  Use the default file
14115         in the prompt.  (Bug#5225)
14117 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
14119         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14120         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14121         (tramp-check-for-regexp): Check also, when an echoing shell stops
14122         to echo sent commands.
14124 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14126         * Makefile.in: Revert last change (Bug#5191).
14128 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
14130         * vc-hg.el (vc-hg-print-log): Fix argument order.
14131         (vc-hg-working-revision): Make sure the command is executed in a
14132         known environment so that we can parse the output.  (Bug#4417)
14134 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14136         * progmodes/python.el (python-symbol-completions): Remove text
14137         properties from symbol string before calling python-send-receive.
14139 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
14141         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14142         when there are values for both file and line.  (Bug#5060)
14144 2009-12-14  Juri Linkov  <juri@jurta.org>
14146         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14147         whitespace after the file name of the first line of unified format,
14148         because git-diff doesn't output whitespace and file modification time
14149         after the file name.
14151 2009-12-14  David Kastrup  <dak@gnu.org>
14153         * info.el (Info-hide-cookies-node): Before hiding a cookie,
14154         check if it already has the `display' property added by
14155         `Info-display-images-node', and not put the `invisible' property
14156         in this case.
14158 2009-12-13  Glenn Morris  <rgm@gnu.org>
14160         * mail/emacsbug.el (message-sort-headers): Define for compiler.
14161         (report-emacs-bug): In message-mode, sort manually before storing
14162         original report text.  (Bug#5178)
14163         Remove superfluous save-excursion.
14165 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
14167         * net/dbus.el (dbus-property-handler): Filter lambda forms out
14168         when responding to "GetAll" properties.
14170 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
14172         * simple.el (compose-mail): Remove mail-setup-with-from from
14173         customization checks.
14175 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
14177         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14178         RAR archives created on Unix systems.
14180 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14182         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14183         the varalias that was accidentally removed by the 2009-11-19 change
14184         (bug#5186).
14186 2009-12-12  Kenichi Handa  <handa@m17n.org>
14188         * language/indian.el (indian-compose-regexp): New function.
14189         (malayalam-composable-pattern): Fix the pattern.
14190         (composition-function-table): Set malayalam-composable-pattern for
14191         Malayalam characters.
14193 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
14195         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14196         rather than down-mouse-1, based on follow-link conventions.
14198         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14199         are compiled.
14201 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
14203         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14204         (verilog-vmm-statement-re, verilog-ovm-statement-re)
14205         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14206         (verilog-leap-to-head, verilog-backward-token):
14207         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
14209 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
14211         * progmodes/verilog-mode.el (verilog-auto-lineup)
14212         (verilog-nameable-item-re): Cleanup user-visible spelling and
14213         documentation errors.  One reported by Gary Delp.
14214         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14215         (verilog-read-decls): Fix AUTOWIRE with types declared in a
14216         package, bug195.  Reported by Pierre-David Pfister.
14218 2009-12-11  Glenn Morris  <rgm@gnu.org>
14220         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14222         * mail/emacsbug.el: No longer require sendmail.
14223         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
14224         (report-emacs-bug-orig-text): Doc fix.
14225         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14226         New local variables, to adapt to different mail-user-agents.
14227         (report-emacs-bug): Fix test for a gnu.org address.
14228         Use overlays for emphasis, since font-lock defeats 'face property.
14229         Pretest bugs also end up at the newsgroup these days.
14230         Stop message-mode stripping text properties.
14231         Set and use the new buffer-local variables.
14232         (report-emacs-bug-hook): Add doc-string.
14233         Remove some unnecessary save-excursions and simplify.
14234         Use the appropriate hook and send-command.
14236         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14237         capitalization of some menu entries.
14239 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14241         * whitespace.el (whitespace-display-char-on):
14242         Ensure `buffer-display-table' is unique when two or more windows are
14243         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14244         New version 12.1.
14246 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
14248         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14249         characters in the Attribute field.
14251 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
14253         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
14255 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14257         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14258         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14259         Disregard autoload-excludes.
14260         (update-directory-autoloads): Obey autoload-excludes here instead.
14261         But don't store its contents in no-autoloads and remove entries that
14262         refer to excludes files.
14264 2009-12-10  Glenn Morris  <rgm@gnu.org>
14266         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14267         (expand-mail-aliases): Define for compiler.
14269         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14270         Define for compiler.
14272         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14273         appropriate for the mail-user-agent in use.
14275 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
14277         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14279 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
14281         Fix short log parsing and fontification.
14282         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14283         Fix fontification for the [merge] label.
14285 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
14287         Drop some properties to avoid surprises (bug#5002).
14288         * htmlfontify.el (hfy-ignored-properties): New defcustom.
14289         (hfy-fontify-buffer): Use it.
14291 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14293         Minor cleanup.
14294         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14295         Adjust all callers.
14296         (ffap-locate-file): Remove unused arg `dir-ok' and make other
14297         args compulsory.  Adjust callers.
14298         (ffap-gopher-at-point): Remove unused var `name'.
14300         Get rid of the ELCFILES abomination.
14301         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14302         (compile-elcfiles): New phony target.
14303         (compile-main): Compute ELCFILES dynamically.
14304         (compile-clean): New target to remove left-over elc files.
14305         (compile, all): Use it.
14307 2009-12-09  Kenichi Handa  <handa@etlken>
14309         * international/mule-diag.el: Require help-mode instead of help-fns.
14311 2009-12-09  Kenichi Handa  <handa@m17n.org>
14313         * international/mule-cmds.el (ucs-names): Supply sufficiently
14314         fine ranges instead of pre-calculating accurate ranges.
14315         Iterate with bigger gc-cons-threshold.
14317 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
14319         Add support for stashing a snapshot of the current tree.
14320         * vc-git.el (vc-git-stash-snapshot): New function.
14321         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14323 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
14325         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14326         instead of `(beginning|end)-of-line'.
14328 2009-12-08  Glenn Morris  <rgm@gnu.org>
14330         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14332         * Makefile.in (ELCFILES): Regenerate.
14334 2009-12-07  Juri Linkov  <juri@jurta.org>
14336         Don't lazy-highlight the comint output in history Isearch mode.
14338         * comint.el (comint-history-isearch-search): Instead of
14339         `comint-line-beginning-position', use `comint-after-pmark-p'
14340         to check if point if before the process mark, and go to
14341         `process-mark' in this case.
14343 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14345         * textmodes/tex-mode.el (latex-complete)
14346         (latex-indent-or-complete): Remove.
14347         (latex-mode): Set completion-at-point-functions instead.
14349         Provide a standard completion command and hook it into TAB.
14350         * minibuffer.el (completion-at-point-functions): New var.
14351         (completion-at-point): New command.
14352         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14353         * progmodes/python.el (python-mode-map): Use completion-at-point.
14354         (python-completion-at-point): Rename from python-partial-symbol and
14355         adjust for use in completion-at-point-functions.
14356         (python-mode): Setup completion-at-point for Python completion.
14357         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14358         extracted from lisp-complete-symbol.
14359         (lisp-complete-symbol): Use it.
14360         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14361         setup completion-at-point for Elisp completion.
14362         (emacs-lisp-mode-map, lisp-interaction-mode-map):
14363         Use completion-at-point.
14364         * ielm.el (ielm-map): Use completion-at-point.
14365         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14366         * progmodes/sym-comp.el: Move to...
14367         * obsolete/sym-comp.el: Move from progmodes.
14369 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
14371         Prevent save-buffer in Rmail buffers from using the coding-system
14372         of the current message, and from clobbering the encoding mnemonics
14373         in the mode line (Bug#4623).
14375         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14376         flag, too.
14377         (rmail-message-encoding): New variable.
14378         (rmail-write-region-annotate): Record the encoding of the current
14379         message in rmail-message-encoding.
14380         (rmail-after-save-hook): New function, restores the encoding of
14381         the current message after the message collection is saved.
14383 2009-12-07  Juri Linkov  <juri@jurta.org>
14385         * progmodes/grep.el (grep-read-files): Use `completing-read'
14386         instead of `read-string'.  Set its `collection' arg to
14387         `read-file-name-internal'.  (Bug#4301)
14389 2009-12-07  Juri Linkov  <juri@jurta.org>
14391         Correctly restore original Isearch point.  (Bug#4994)
14393         * isearch.el (isearch-mode): Move `isearch-push-state' after
14394         `(run-hooks 'isearch-mode-hook)'.
14395         (isearch-cancel): When `isearch-push-state-function' is defined,
14396         let-bind `isearch-cmds' to the first state (the last element of
14397         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14398         function and restores the original point).  Otherwise, move point
14399         to `isearch-opoint'.
14401 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14403         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14404         chars that don't have names, so the table can be built much faster at
14405         run-time.
14407 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
14409         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14410         change.  Suggested by David Kastrup.
14412         * simple.el (compose-mail): Check for incompatibilities and warn.
14413         (compose-mail-user-agent-warnings): New option.
14415 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14417         Support showing a single log entry from vc-annotate.
14418         * vc.el (print-log): Add a new argument: START-REVISION.
14419         (vc-print-log-internal): Add a new optional argument and
14420         pass it to the backend.
14421         (vc-print-log, vc-print-root-log): Adjust callers.
14422         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14423         buffer already displays the requested log entry, use it.
14424         Otherwise display only the log entry in question.
14425         * vc-svn.el (vc-svn-print-log):
14426         * vc-mtn.el (vc-mtn-print-log):
14427         * vc-hg.el (vc-hg-state):
14428         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14429         (vc-git-show-log-entry): Return t on success.
14430         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14431         (vc-bzr-show-log-entry): Return t on success.
14432         * vc-rcs.el (vc-rcs-print-log):
14433         * vc-sccs.el (vc-sccs-print-log):
14434         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14436 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14438         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14439         Add menus to the meta mode.  (Bug#5043)
14441 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
14443         * ediff-init.el (ediff-event-key): Use event-to-character instead of
14444         event-key.
14446         * ediff.el (ediff-buffers-internal): Add unwind-protect.
14448 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
14450         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
14451         Berbain <raphael.berbain@gmail.com>.
14453         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
14454         characters.
14455         (tramp-initial-end-of-output): New defconst.
14456         (tramp-methods, tramp-find-shell)
14457         (tramp-open-connection-setup-interactive-shell)
14458         (tramp-maybe-open-connection): Use it.
14459         (tramp-shell-prompt-pattern, tramp-wait-for-output):
14460         Handle existence of `#' and `$'.
14462         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14463         Use `tramp-initial-end-of-output'.
14465 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14467         Get the background mode from the terminal for xterm, and set
14468         faces accordingly.
14469         * term/xterm.el (xterm-set-background-mode): New function.
14470         (terminal-init-xterm): Use it in case xterm supports background
14471         color queries.  Recompute faces after getting the background
14472         color.
14474 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
14476         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14477         number comment back on its own line, for easier parsing.
14479 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14481         Make it work for non-file buffers (bug#5102).
14482         * doc-view.el (doc-view-current-cache-dir):
14483         Use doc-view-buffer-file-name rather than buffer-file-name.
14484         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14486 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
14488         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14489         author field is too short.
14491 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
14493         * vc-git.el (vc-git-print-log): Handle a limit argument.
14494         Display the short log in graph form and with labels.
14495         (vc-git-log-view-mode): Handle labels.
14497         Make vc-revert change VC state from 'added to 'unregistered.
14498         * vc-git.el (vc-git-revert): Call git reset first.
14500 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14502         * net/newst-backend.el, net/newst-plainview.el:
14503         * net/newst-reader.el, net/newst-ticker.el:
14504         * net/newst-treeview.el, net/newsticker.el:
14505         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
14507 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14509         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14511         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14512         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
14513         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14514         Update annotation regexp.
14516         * simple.el (beginning-of-visual-line): Constrain to field
14517         boundaries (Bug#5106).
14519 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14521         * xml.el (xml-substitute-numeric-entities):
14522         Move newsticker--decode-numeric-entities in newst-backend.el to
14523         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14524         * net/newst-backend.el (newsticker--parse-generic-feed)
14525         (newsticker--parse-generic-items)
14526         (newsticker--decode-numeric-entities):
14527         Move newsticker--decode-numeric-entities in newst-backend.el to
14528         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14530 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
14532         * progmodes/js.el (js--js-not): Add null to the list of values.
14534 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14536         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14538 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14540         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14541         delimiter if it is at the end of the current line.
14542         (bibtex-generate-url-list): Fix docstring.
14544 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14546         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14547         minibuffer's content with itself.
14548         Fold the confirm-after-completion case into the `confirm' case.
14549         (completion-pcm-word-delimiters): Add : and / to the delimiters.
14551 2009-12-06  Kevin Ryde  <user42@zip.com.au>
14553         * ffap.el (ffap-rfc-path): Make this a defcustom since
14554         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
14556         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14557         manuals, similar to existing setup for help-mode.  (Bug#3913.)
14559 2009-12-05  Juri Linkov  <juri@jurta.org>
14561         Save and restore dired buffer's point positions too.  (Bug#4880)
14563         * dired.el (dired-save-positions): Return in the first element
14564         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14565         Doc fix.
14566         (dired-restore-positions): First restore buffer's position.
14567         While restoring window's positions, check if window still displays
14568         the original buffer.
14570 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
14572         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14573         if possible.
14575         * shell.el (shell): Require ansi-color (Bug#5113).
14577         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14579         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14581 2009-12-05  Alan Mackenzie  <acm@muc.de>
14583         * progmodes/cc-mode.el (c-before-hack-hook)
14584         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14585         `c-file-style' to work again.  This reversion restores the current
14586         software to its state in Emacs 23.1.  (Bug#4146)
14588 2009-12-05  Kevin Ryde  <user42@zip.com.au>
14590         * textmodes/sgml-mode.el (sgml-lexical-context):
14591         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14593 2009-12-05  Juri Linkov  <juri@jurta.org>
14595         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14596         for virtual nodes.  (Bug#4147)
14597         (Info-find-node-2): Set `Info-current-node-virtual' to nil
14598         when moving from a virtual node.
14599         (Info-mode-menu): Add `Info-virtual-index' to the menu.
14600         (Info-mode): Add `Info-virtual-index' to the docstring.
14602 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14604         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14605         track of the buffer position of the end of a BibTeX entry as this
14606         position may change during reformatting.
14607         (bibtex-format-entry): Remove whitespace before processing
14608         numerical fields so that we recognize the latter properly.
14609         (bibtex-reformat): Do not use push which changes the global value
14610         of bibtex-entry-format.
14611         (bibtex-field-braces-alist, bibtex-field-strings-alist)
14612         (bibtex-field-re-init): Replace only space characters by regexp
14613         for whitespace.
14614         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14615         (bibtex-initialize): Also update bibtex-strings.
14616         (bibtex-kill-field): Preserve white space at end of entry.
14617         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14618         Update bibtex-reference-keys.
14620 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14622         * minibuffer.el (completion-pcm--merge-try): Also consider placing
14623         point after a star, if that's the only place where modifications can
14624         make progress.
14626 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
14628         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14629         in docstrings.
14631 2009-12-04  Juri Linkov  <juri@jurta.org>
14633         * proced.el (proced): Call `(proced-update t)' to update process
14634         information instead of only running proced-post-display-hook.
14635         (proced-send-signal): Add a leading space to the buffer name
14636         " *Marked Processes*" to make this buffer ephemeral.
14638 2009-12-04  Juri Linkov  <juri@jurta.org>
14640         * dired.el (dired-auto-revert-buffer): New defcustom.
14641         (dired-internal-noselect): Use it.
14643 2009-12-04  Juri Linkov  <juri@jurta.org>
14645         Change roles of modes and functions in image-mode.el (Bug#5062).
14647         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14648         in `auto-mode-alist'.
14649         (image-mode-previous-major-mode): New variable.
14650         (image-minor-mode-map): Rename from `image-mode-text-map'.
14651         (image-mode): Move graceful error-handling code from
14652         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
14653         (image-minor-mode): Remove all image-handling code.
14654         Replace `image-mode-text-map' with `image-minor-mode-map'.
14655         Check for `image-type' in mode-line format string.
14656         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14657         (image-mode-as-text): New function with most code from
14658         `image-mode-maybe'.
14659         (image-toggle-display-text): Move code that removes image
14660         properties from `image-toggle-display' to here.
14661         (image-toggle-display-image): New function with code that adds
14662         image properties copied from `image-toggle-display'.
14663         (image-toggle-display): Remove most code with leaving only code
14664         that toggles between `image-mode-as-text' and `image-mode'.
14666 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
14668         * net/newst-treeview.el
14669         (newsticker--treeview-list-highlight-start): Restored call to
14670         save-excursion: Selected item was stuck.
14671         (newsticker--treeview-list-select): New.
14672         (newsticker--treeview-item-show-text)
14673         (newsticker--treeview-item-show)
14674         (newsticker--treeview-item-update): Use new
14675         newsticker-treeview-item-mode.
14676         (newsticker-treeview-update): Keep current item.
14677         (newsticker-treeview-next-new-or-immortal-item): Doc change.
14678         (newsticker--treeview-first-feed): Doc change.
14679         (newsticker-treeview-list-menu)
14680         (newsticker-treeview-item-menu): Add menu entries.
14681         (newsticker-treeview-item-mode): New.
14683         * net/newst-backend.el (newsticker-customize): Delete other
14684         windows.
14686 2009-12-04  Sam Steingold  <sds@gnu.org>
14688         * log-view.el (log-view-mode-map): "q" calls quit-window,
14689         like in all the other non-self-insert buffers.
14691 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14693         Minor cleanup.
14694         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14695         key decoding rather than do it manually via last-input-event +
14696         ascii-character.
14697         (term-exec): Use delete-and-extract-region.
14698         (term-handle-ansi-terminal-messages): Remove unused var `end'.
14699         (term-process-pager): Remove unused var `i'.
14700         (term-dynamic-simple-complete): Make obsolete.
14701         (serial-update-config-menu): Remove unused vars `y' and `str'.
14702         (term-update-mode-line): Remove unused var `temp'.
14704 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14706         Limit the number of log entries displayed by default.
14707         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14708         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14709         using a prefix argument.
14711 2009-12-03  Glenn Morris  <rgm@gnu.org>
14713         * progmodes/idlwave.el (class): Restore still useful declaration.
14715 2009-12-03  Alan Mackenzie  <acm@muc.de>
14717         Enhance `c-parse-state' to run efficiently in "brace deserts".
14719         * progmodes/cc-mode.el (c-basic-common-init):
14720         Call c-state-cache-init.
14721         (c-neutralize-syntax-in-and-mark-CPP): Rename from
14722         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
14723         placing `category' properties value 'c-cpp-delimiter at its boundaries.
14725         * progmodes/cc-langs.el (c-before-font-lock-function):
14726         c-extend-and-neutralize-syntax-in-CPP has been renamed
14727         c-neutralize-syntax-in-and-mark-CPP.
14729         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14730         with `category' properties now, not `syntax-table' ones.
14732         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14733         enhanced (but slower) version of c-end-of-macro that won't land
14734         inside a literal or on another awkward character.
14735         (c-state-cache-too-far, c-state-cache-start)
14736         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14737         (c-state-nonlit-pos-cache-limit, c-state-point-min)
14738         (c-state-point-min-lit-type, c-state-point-min-lit-start)
14739         (c-state-min-scan-pos, c-state-brace-pair-desert)
14740         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14741         buffer local variables.
14742         (c-state-literal-at, c-state-lit-beg)
14743         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14744         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14745         (c-state-cache-top-paren, c-state-cache-after-top-paren)
14746         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14747         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14748         (c-renarrow-state-cache)
14749         (c-append-lower-brace-pair-to-state-cache)
14750         (c-state-push-any-brace-pair, c-append-to-state-cache)
14751         (c-remove-stale-state-cache)
14752         (c-remove-stale-state-cache-backwards, c-state-cache-init)
14753         (c-invalidate-state-cache-1, c-parse-state-1)
14754         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14755         (c-parse-state): Enhance and refactor.
14756         (c-debug-parse-state): Amend to deal with all the new variables.
14758         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14759         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14760         modify to use category text properties rather than syntax-table ones.
14761         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14762         to switch off/on the syntactic paren property of C++ template
14763         delimiters using the category property.
14764         (c-with-<->-as-parens-suppressed): Macro to invoke code with
14765         template delims suppressed.
14766         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14767         New constant/macros which apply category properties to the start
14768         and end of preprocessor constructs.
14769         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14770         "comment out" the syntactic value of characters in preprocessor
14771         constructs.
14772         (c-with-cpps-commented-out)
14773         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14774         with characters in all or all but one preprocessor constructs
14775         "commented out".
14777 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14779         * proced.el (proced-filter-alist): Use regexp-quote.
14781 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
14783         Cleanup.
14784         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14785         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
14786         arguments.  Expand `default-directory'.
14788         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14789         the benefit of returning an expanded localname.
14790         (tramp-tramp-file-p): Handle the case NAME is not a string.
14792 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14794         Add support for bzr shelve/unshelve.
14795         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14796         (vc-bzr-extra-menu-map): New variables.
14797         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14798         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14799         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14800         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14801         (vc-bzr-dir-extra-headers): Display shelves.
14803         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14805 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14807         * textmodes/bibtex.el (bibtex-complete-internal):
14808         Use completion-in-region.
14809         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14811 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14813         Support applying stashes.  Improve UI.
14814         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14815         (vc-git-stash-apply, vc-git-stash-pop)
14816         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14817         (vc-git-stash-menu): New functions.
14818         (vc-git-stash-menu-map): New variable.
14819         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14821 2009-12-03  Glenn Morris  <rgm@gnu.org>
14823         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14824         (vc-print-log-internal): Fix previous change.
14825         (vc-revert): Correct pluralization.
14827 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14829         * progmodes/make-mode.el (makefile-special-targets-list): No need for
14830         it to be an alist any more.
14831         (makefile-complete): Use completion-in-region.
14833         * progmodes/octave-mod.el (octave-complete-symbol):
14834         Use completion-in-region.
14836         Misc cleanup.
14837         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14838         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14839         (idlwave-complete-class): Don't quote lambda.
14840         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14841         (idlwave-mode-map): Move initialization into declaration.
14842         (idlwave-action-and-binding): Use backquotes.
14843         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14844         Simplify.
14845         (idlwave-is-pointer-dereference): Remove unused var `pos'.
14846         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14847         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14848         `parts', and `all-parts'.
14849         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14850         (idlwave-convert-xml-system-routine-info): Remove unused string
14851         `version-string'.
14852         (idlwave-display-user-catalog-widget): Use dolist.
14853         (idlwave-scanning-lib): Declare dynamically-scoped var.
14854         (idlwave-scan-library-catalogs): Remove unused var `flags'.
14855         (completion-highlight-first-word-only): Declare to silence bytecomp.
14856         (idlwave-popup-select): Tighten scope of `resp'.
14857         (idlwave-find-struct-tag): Remove unused var `beg'.
14858         (idlwave-after-load-rinfo-hook): Declare.
14859         (idlwave-sintern-class-info): Remove unused var `taglist'.
14860         (idlwave-find-class-definition): Remove unused var `list'.
14861         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14862         (idlwave-what-module-find-class): Remove unused var `classes'.
14864 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
14866         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14868 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14870         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14871         buffers visited.  Remove redundant current-buffer-saving.
14873 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14875         Use completion-in-buffer and remove uses of dynamic scoping.
14876         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14877         (pascal-buffer-to-use, pascal-flag): Don't declare.
14878         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14879         (pascal-get-completion-decl, pascal-keyword-completion):
14880         Add `pascal-str' argument, save-excursion,
14881         return the found completions, and don't filter with pascal-pred.
14882         (pascal-completion-cache): New var.
14883         (pascal-completion): Don't switch buffer any more (it was never
14884         necessary).  Don't save-excursion any more (it's done by the called
14885         subroutines).  Use a cache to avoid redundant computations.
14886         Use complete-with-action rather than pascal-completion-response and
14887         let it apply the predicate as well.
14888         (pascal-complete-word): Use completion-in-buffer when
14889         pascal-toggle-completions is nil.
14890         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14891         not used any more.
14892         (pascal-comp-defun): Don't change buffer any more.
14893         Use complete-with-action rather than pascal-completion-response and
14894         let it apply the predicate as well.
14895         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14896         when neded.
14898 2009-12-02  Kenichi Handa  <handa@m17n.org>
14900         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14901         shape for all Indic scripts.
14903 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14905         Use completion-in-buffer.
14906         * wid-edit.el (widget-field-text-end): New function.
14907         (widget-field-value-get): Use it.
14908         (widget-string-complete, widget-file-complete)
14909         (widget-color-complete): Use it and completion-in-region.
14910         (widget-complete): Don't narrow the buffer.
14912 2009-12-02  Glenn Morris  <rgm@gnu.org>
14914         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
14915         (rmail-select-summary): Use rmail-pop-to-buffer.
14916         * mail/rmailsum.el: Replace all pop-to-buffer calls with
14917         rmail-pop-to-buffer, to prevent horizontal splits.
14919         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14920         save-excursion with save-current-buffer.
14921         Widen before searching.  (Bug#5093)
14922         (diary-list-sexp-entries): Remove superfluous save-excursion.
14924 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
14926         * woman.el (woman-make-bufname): Handle man-pages with "." in the
14927         name.  (Bug#5038)
14929 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
14931         * ido.el (ido-file-internal): Handle filenames at point that do
14932         not have a directory part.  (Bug#5049)
14934 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
14936         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14937         (mpc-songs-jump-to, mpc-resume): Doc fixes.
14939 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
14941         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14942         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14943         any more.
14945 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14947         * comint.el (comint-insert-input): Ignore clicks to the right of
14948         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14950         * vc.el (vc-print-log-internal): Don't wait for the process to
14951         terminate before setting up the major mode.
14953         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14954         in case.
14956         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14957         the last element.
14959         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14961 2009-12-01  Glenn Morris  <rgm@gnu.org>
14963         * window.el (window--display-buffer-2): Fix previous changes.
14965 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
14967         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14969 2009-12-01  Glenn Morris  <rgm@gnu.org>
14971         * Makefile.in (ELCFILES): Add mpc.elc.
14973 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14975         * mpc.el: New file.
14977 2009-12-01  Glenn Morris  <rgm@gnu.org>
14979         * window.el (window-to-use): Define for compiler.
14981         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14982         consistent with others (no final period).
14984         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14985         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
14987 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
14989         Make vc-print-log buttons work.
14990         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14992 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
14994         * savehist.el (savehist-autosave-interval): Allow setting to nil
14995         through customize.  (Bug#5056)
14997 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
14999         Fix references to jit-lock properties.
15000         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15001         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15002         (perl-font-lock-special-syntactic-constructs):
15003         Quote jit-lock-defer-multiline property.
15005 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
15007         * vc-git.el (vc-git-registered): Call vc-git-root only once.
15009 2009-11-30  Juri Linkov  <juri@jurta.org>
15011         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15012         value `buffer' of `multi-isearch-next-buffer-current-function'.
15013         Use `(current-buffer)' when `buffer' is nil.
15014         (multi-isearch-next-buffer-from-list): Don't fallback to
15015         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
15017 2009-11-30  Juri Linkov  <juri@jurta.org>
15019         * misearch.el (multi-isearch-read-buffers): Move canonicalization
15020         of buffers with `get-buffer' to `multi-isearch-buffers'.
15021         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15022         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
15023         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15024         FILES with `expand-file-name' converting relative file names
15025         to absolute.  Doc fix.  (Bug#4727)
15027 2009-11-30  Juri Linkov  <juri@jurta.org>
15029         * misearch.el (multi-isearch-read-buffers)
15030         (multi-isearch-read-matching-buffers): New functions.
15031         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15032         Use them in the `interactive' spec.  Doc fix.
15033         (multi-isearch-read-files, multi-isearch-read-matching-files):
15034         New functions.
15035         (multi-isearch-files, multi-isearch-files-regexp):
15036         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
15038 2009-11-30  Juri Linkov  <juri@jurta.org>
15040         * doc-view.el (doc-view-continuous):
15041         Rename from `doc-view-continuous-mode'.
15042         (doc-view-menu): Move "Toggle display" to the top.
15043         Add submenu "Continuous" with radio buttons "Off"/"On"
15044         and "Save as Default".
15045         (doc-view-scroll-up-or-next-page)
15046         (doc-view-scroll-down-or-previous-page)
15047         (doc-view-next-line-or-next-page)
15048         (doc-view-previous-line-or-previous-page):
15049         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
15051 2009-11-30  Juri Linkov  <juri@jurta.org>
15053         * comint.el (comint-mode-map): Rebind `M-r' from
15054         `comint-previous-matching-input' to
15055         `comint-history-isearch-backward-regexp'.
15056         Unbind `M-s' to allow global key binding `M-s'.
15057         Add menu items for `comint-history-isearch-backward' and
15058         `comint-history-isearch-backward-regexp'.  (Bug#3746)
15060 2009-11-30  Juri Linkov  <juri@jurta.org>
15062         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15063         For def=recenter, replace `recenter' with `recenter-top-bottom'
15064         that is called with `this-command' and `last-command' let-bound
15065         to `recenter-top-bottom'.  When the last `def' was not `recenter',
15066         set `recenter-last-op' to nil.  (Bug#4981)
15068 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15070         Minor cleanup and simplification.
15071         * filecache.el (file-cache-add-directory)
15072         (file-cache-add-directory-recursively)
15073         (file-cache-add-from-file-cache-buffer)
15074         (file-cache-delete-file-regexp, file-cache-delete-directory)
15075         (file-cache-files-matching-internal, file-cache-display): Use dolist.
15076         (file-cache-temp-minibuffer-message): Delete function.
15077         (file-cache-minibuffer-complete): Use minibuffer-message instead.
15079         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15080         Don't signal an error when bumping into EOB in tr, s, or y.
15082 2009-11-29  Juri Linkov  <juri@jurta.org>
15084         * startup.el (fancy-about-text): Fix wording of Guided Tour.
15085         (Bug#4960)
15087         * descr-text.el (describe-char-unidata-list): Use lowercase name
15088         for "Unicode name" like in other tags.
15090 2009-11-29  Juri Linkov  <juri@jurta.org>
15092         * ediff-util.el (ediff-minibuffer-with-setup-hook):
15093         New compatibility macro.
15094         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15096 2009-11-29  Juri Linkov  <juri@jurta.org>
15098         Add defcustom to define the cycling order of `recenter-top-bottom'.
15099         (Bug#4981)
15101         * window.el (recenter-last-op): Doc fix.
15102         (recenter-positions): New defcustom.
15103         (recenter-top-bottom): Rewrite to use `recenter-positions'.
15104         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15106 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
15108         Improve integration of Tramp and ange-ftp in eshell.
15110         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15111         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
15112         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
15114         * eshell/esh-util.el (top): Require also Tramp when compiling.
15115         (eshell-directory-files-and-attributes): Check for FTP remote
15116         connection.
15117         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15118         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15119         (eshell-file-attributes): Handle ".".  Return `entry'.
15121         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15122         (ange-ftp-directory-files-and-attributes)
15123         (ange-ftp-real-directory-files-and-attributes): New defuns.
15125         * net/tramp.el (tramp-maybe-open-connection): Open the remote
15126         shell with "exec" when possible.  This prevents trailing prompts
15127         in `start-file-process'.
15129 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15131         Try and remove assumptions about point-min==1.
15132         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15133         (rng-compute-mode-line-string): Show the validation percentage in
15134         terms of the narrowed text, not the widened text.
15135         (rng-do-some-validation): Don't catch internal errors when debugging.
15136         (rng-first-error): Simplify.
15137         (rng-after-change-function): Remove work around.  AFAIK the bug has
15138         been fixed a while ago.
15140         * image-mode.el (image-minor-mode): Exit more gracefully when the image
15141         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15143         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15145         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15146         `cd' doesn't always do it for us (bug#5067).
15148         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15149         on 2009-10-25 as part of some other change (bug#5067).
15151 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15153         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15154         `suspicious'.
15155         (byte-compile-warnings): Use byte-compile-warning-types.
15156         (byte-compile-save-excursion): Warn about use of set-buffer right
15157         after save-excursion.
15159         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15160         the excursion as well.
15162 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
15164         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15165         providing a Tramp related implementation of "su" and "sudo".
15166         (eshell-unix-initialize): Add "su" and "sudo".
15168 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
15170         * net/socks.el (socks-send-command): Convert binary request to
15171         unibyte before sending.  This fixes mishandling of some port
15172         numbers such as 129.
15174 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15176         * help.el (describe-bindings-internal): Remove `interactive'.
15178         * man.el (Man-completion-table): Trim a terminating "(".
15179         Remove the space between name page a section.
15180         Add the command's description on the `help-echo' property.
15181         Remove `process-connection-type' binding since it's unused by
15182         call-process.
15183         Provide completion for the "<section> <name>" format as well.
15184         (Man-default-man-entry): Remove spurious var shadowing the argument.
15186 2009-11-26  Kevin Ryde  <user42@zip.com.au>
15188         * log-view.el: Add "Keywords: tools", since its other keywords
15189         aren't in finder-known-keywords, and following vc.el.
15191         * sha1.el (sha1-string-external): default-directory "/" in case
15192         otherwise non-existent.  process-connection-type pipe for touch of
15193         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
15195 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15197         Misc coding convention cleanups.
15198         * htmlfontify.el (hfy-init-kludge-hook): Rename from
15199         hfy-init-kludge-hooks.
15200         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15201         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15202         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15203         and push.
15204         (hfy-slant, hfy-weight): Use tables rather than code.
15205         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15206         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15207         (hfy-face-attr-for-class): Initialize `face-spec' directly.
15208         (hfy-face-to-css): Remove `nconc' with single arg.
15209         (hfy-p-to-face-lennart): Use `or'.
15210         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
15211         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15212         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15213         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15214         (hfy-force-fontification): Use run-hooks.
15216 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
15218         Various minor fixes.
15219         * htmlfontify.el (hfy-default-header): Add toggle_invis since
15220         Javascript belongs in the header, not the body.
15221         (hfy-javascript): Remove.
15222         (hfy-fontify-buffer): Don't insert it any more.
15223         (hfy-face-at): Handle (face0 face1 face2) style face properties.
15224         Fix bug in invis handling when there were no invis props in a chunk.
15226 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15228         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15230 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
15232         * finder.el (finder-mode-map): Add a menu.
15234 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
15236         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15237         "unsigned" structs.
15239         (verilog-leap-to-head, verilog-backward-token): Handle "disable
15240         fork" statement better.
15242 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
15244         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15245         (verilog-delete-auto, verilog-delete-empty-auto-pair)
15246         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15247         Reported by Clay Douglass.
15249         (verilog-auto-inst, verilog-auto-star-safe)
15250         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15251         Fix removing "// Interfaces" when saving .* expansions.
15252         Reported by Pierre-David Pfister.
15254 2009-11-26  Glenn Morris  <rgm@gnu.org>
15256         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15257         the scope.
15259 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
15261         * vc-annotate.el (vc-annotate-revision-previous-to-line):
15262         Really use previous revision.
15264 2009-11-25  Kevin Ryde  <user42@zip.com.au>
15266         * man.el (Man-completion-table): default-directory "/" in case
15267         doesn't otherwise exist.  process-environment COLUMNS=999 so as
15268         not to truncate long names.  process-connection-type pipe to avoid
15269         any chance of hitting the pseudo-tty TIOCGWINSZ.
15270         (man): completion-ignore-case t for friendliness and since man
15271         itself is case-insensitive on the command line.
15272         Further to Bug#3717.
15274         * arc-mode.el: Add "Keywords: files", so the details in its
15275         commentary can be reached from finder-by-keyword.
15276         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
15277         editing mode, but it's comms related and sgml-mode.el has "comm"
15278         on that basis too.
15279         * textmodes/bibtex-style.el: Add "Keywords: tex".
15280         * international/isearch-x.el, international/ja-dic-cnv.el:
15281         * international/ja-dic-utl.el, international/kkc.el:
15282         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15284 2009-11-25  Juri Linkov  <juri@jurta.org>
15286         * man.el (Man-completion-table): Modify regexp to include
15287         section names to completion strings.  (Bug#3717)
15289 2009-11-25  Juri Linkov  <juri@jurta.org>
15291         Search recursively in gzipped files.  (Bug#4982)
15293         * progmodes/grep.el (grep-highlight-matches): Add new options
15294         `always' and `auto'.  Doc fix.
15295         (grep-process-setup): Check `grep-highlight-matches' for
15296         `auto-detect' to determine the need to compute grep defaults.
15297         Move Windows/DOS specific --colors settings handling
15298         to `grep-compute-defaults'.  Check `grep-highlight-matches'
15299         to get the value of "--color=".
15300         (grep-compute-defaults): Compute `grep-highlight-matches' when it
15301         has the value `auto-detect'.  Move Windows/DOS specific settings
15302         from `grep-process-setup'.
15303         (zrgrep): New command with alias `rzgrep'.
15305 2009-11-25  Juri Linkov  <juri@jurta.org>
15307         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15308         to nil instead of switching off view-mode.  (Bug#4896)
15310 2009-11-25  Juri Linkov  <juri@jurta.org>
15312         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
15314         * mwheel.el (mwheel-scroll-up-function)
15315         (mwheel-scroll-down-function): New defvars.
15316         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15317         `scroll-up', and `mwheel-scroll-down-function' instead of
15318         `scroll-down'.
15320         * doc-view.el (doc-view-scroll-up-or-next-page)
15321         (doc-view-scroll-down-or-previous-page): Add optional ARG.
15322         Use this ARG in the call to image-scroll-up/image-scroll-down.
15323         Change `interactive' spec to "P".  Goto next/previous page only
15324         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15325         SPC/DEL case).  Doc fix.
15326         (doc-view-next-line-or-next-page)
15327         (doc-view-previous-line-or-previous-page): Rename arg to ARG
15328         for consistency.
15329         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15330         `doc-view-scroll-up-or-next-page', and buffer-local
15331         `mwheel-scroll-down-function' to
15332         `doc-view-scroll-down-or-previous-page'.
15334 2009-11-25  Juri Linkov  <juri@jurta.org>
15336         Provide additional default values (directories at other Dired
15337         windows) via M-n in the minibuffer of some Dired commands.
15339         * dired-aux.el (dired-diff, dired-compare-directories)
15340         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15341         `minibuffer-default' in `minibuffer-with-setup-hook'.
15342         (dired-dwim-target-directory): Find a window that displays Dired
15343         buffer instead of failing when the next window is not Dired.
15344         Use `get-window-with-predicate' to find for the next Dired window.
15345         (dired-dwim-target-defaults): New function.
15347         * ediff-util.el (ediff-read-file-name):
15348         Use `dired-dwim-target-defaults' to set `minibuffer-default'
15349         in `minibuffer-with-setup-hook'.
15351 2009-11-25  Juri Linkov  <juri@jurta.org>
15353         Provide additional default values (file name at point or at the
15354         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
15356         * minibuffer.el (read-file-name-defaults): New function.
15357         (read-file-name): Reset `minibuffer-default' to nil when
15358         it duplicates initial input `insdef'.
15359         Bind `minibuffer-default-add-function' to lambda that
15360         calls `read-file-name-defaults' in `minibuffer-selected-window'.
15361         (minibuffer-insert-file-name-at-point): New command.
15363         * files.el (file-name-at-point-functions): New defcustom.
15364         (find-file-default): Remove defvar.
15365         (find-file-read-args): Don't use `find-file-default'.
15366         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15367         to `read-file-name'.
15368         (find-file-literally): Use `read-file-name' with
15369         `confirm-nonexistent-file-or-buffer'.
15371         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15373         * dired.el (dired-read-dir-and-switches):
15374         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15375         to `read-file-name'.
15376         (dired-file-name-at-point): New function.
15377         (dired-mode): Add hook `dired-file-name-at-point' to
15378         `file-name-at-point-functions'.
15380 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15382         Really make the *Completions* window soft-dedicated (bug#5030).
15383         * window.el (window--display-buffer-2): Add `dedicated' argument.
15384         (display-buffer): Pass it when needed so the dedicated flag is set
15385         after calling set-window-buffer, which would otherwise reset it.
15387 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15389         * progmodes/meta-mode.el (meta-complete-symbol):
15390         * progmodes/etags.el (complete-tag):
15391         * mail/mailabbrev.el (mail-abbrev-complete-alias):
15392         Use completion-in-region.
15394         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15395         (dabbrev-completion): Use completion-in-region.
15396         (dabbrev--abbrev-at-point): Simplify regexp.
15398         * abbrev.el (abbrev--before-point): Use word-motion functions
15399         if :regexp is not specified (bug#5031).
15401         * subr.el (string-prefix-p): New function.
15403         * man.el (Man-completion-cache): New var.
15404         (Man-completion-table): Use it.
15406         * vc.el (vc-print-log-internal): Make `limit' optional for better
15407         compatibility (e.g. with vc-annotate.el).
15409 2009-11-24  Kevin Ryde  <user42@zip.com.au>
15411         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15412         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
15414         * emacs-lisp/elint.el (elint-add-required-env): Better error message
15415         when .el source file not found or other error.
15417 2009-11-24  Markus Triska  <markus.triska@gmx.at>
15419         * linum.el (linum-update-window): Ignore intangible (bug#4996).
15421 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15423         Handle the [back] button properly (bug#4979).
15424         * descr-text.el (describe-text-properties): Add a `buffer' argument.
15425         Use help-setup-xref, help-buffer, and with-help-window.
15426         (describe-char): Add `buffer' argument.
15427         Pass proper command to help-setup-xref.  Don't meddle with
15428         help-xref-stack-item directly.
15429         (describe-text-category): Use with-help-window and help-buffer.
15431         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15432         for the displayed buffer (bug#4887).
15434         * man.el (Man-completion-table): New function.
15435         (man): Use it.
15437 2009-11-24  David Reitter  <david.reitter@gmail.com>
15439         * vc-git.el (vc-git-registered): Use checkout directory (where
15440         .git is) rather than the file's directory and a relative path spec
15441         to work around a bug in git.
15443 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
15445         Improve handling of processes on remote hosts.
15447         * eshell/esh-util.el (eshell-path-env): New defvar.
15448         (eshell-parse-colon-path): New defun.
15449         (eshell-file-attributes): Use `eshell-parse-colon-path'.
15451         * eshell/esh-ext.el (eshell-search-path):
15452         Use `eshell-parse-colon-path'.
15453         (eshell-remote-command): Remove argument HANDLER.
15454         (eshell-external-command): Check for FTP remote connection.
15456         * eshell/esh-proc.el (eshell-gather-process-output):
15457         Use `file-truename', in order to start also symlinked files.
15458         Apply `start-file-process' instead of `start-process'.
15459         Shorten `command' to the local file name part.
15461         * eshell/em-cmpl.el (eshell-complete-commands-list):
15462         Use `eshell-parse-colon-path'.
15464         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15466         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
15467         to `eshell-directory-change-hook'.
15469 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
15471         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15472         because it could be enabled automatically if view-read-only is non-nil.
15474 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
15476         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15477         made on 2009-11-22.
15479 2009-11-24  Glenn Morris  <rgm@gnu.org>
15481         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15482         deleted variable bookmark-bmenu-bookmark-column.
15484 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15486         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15488 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15490         * net/browse-url.el (browse-url-filename-alist): On Windows, add
15491         two slashes to the "file:" prefix.
15492         (browse-url-file-url): De-munge Cygwin filenames before passing
15493         them to Windows browser.
15494         (browse-url-default-windows-browser): Use call-process.
15496 2009-11-23  Juri Linkov  <juri@jurta.org>
15498         Implement DocView Continuous mode.  (Bug#4896)
15499         * doc-view.el (doc-view-continuous-mode): New defcustom.
15500         (doc-view-mode-map): Bind C-n/<down> to
15501         `doc-view-next-line-or-next-page', C-p/<up> to
15502         `doc-view-previous-line-or-previous-page'.
15503         (doc-view-next-line-or-next-page)
15504         (doc-view-previous-line-or-previous-page): New commands.
15506 2009-11-23  Juri Linkov  <juri@jurta.org>
15508         Implement Isearch in comint input history.  (Bug#3746)
15509         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15510         `isearch-mode-hook'.
15511         (comint-history-isearch): New defcustom.
15512         (comint-history-isearch-backward)
15513         (comint-history-isearch-backward-regexp): New commands.
15514         (comint-history-isearch-message-overlay): New buffer-local variable.
15515         (comint-history-isearch-setup, comint-history-isearch-end)
15516         (comint-goto-input, comint-history-isearch-search)
15517         (comint-history-isearch-message, comint-history-isearch-wrap)
15518         (comint-history-isearch-push-state)
15519         (comint-history-isearch-pop-state): New functions.
15521 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
15523         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15524         return.
15525         (tramp-handle-make-symbolic-link)
15526         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15527         Quote file names.
15528         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15529         (tramp-handle-process-file): Use it.
15531 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15533         * window.el (move-to-window-line-last-op): Remove.
15534         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15536 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
15538         Make M-r mirror the new cycling behavior of C-l.
15539         * window.el (move-to-window-line-last-op): New var.
15540         (move-to-window-line-top-bottom): New command.
15541         (global-map): Bind M-r move-to-window-line-top-bottom.
15543 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
15545         * dired-x.el (dired-guess-shell-alist-default):
15546         Support xz format.  (Bug#4953)
15548 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
15550         * emulation/viper-cmd.el: Use viper-last-command-char instead of
15551         last-command-char/last-command-event.
15552         (viper-prefix-arg-value): Do correct conversion of event-char for
15553         XEmacs.
15555         * emulation/viper-util.el, emulation/viper.el:
15556         Use viper-last-command-char instead of
15557         last-command-char/last-command-event.
15559         * ediff-init.el, ediff-mult.el, ediff-util.el:
15560         Replace last-command-char and last-command-event
15561         with (ediff-last-command-char) everywhere.
15563         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15564         created in fundamental mode.
15566         * ediff.el (ediff-version): Revert the change of interactive-p to
15567         called-interactively-p.
15569 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
15571         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15572         generation from word-movement command names.
15574 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
15576         * cus-start.el (all): Add native condition for font-use-system-font.
15578 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
15580         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15581         Correct the patch from 2009-11-18.  (Bug#3910)
15583 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
15585         * progmodes/subword.el: Rename from lisp/subword.el.
15587         * subword.el: Rename to progmodes/subword.el.
15589         * Makefile.in (ELCFILES): Adapt to subword.el move.
15591 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15592             Stefan Monnier  <monnier@iro.umontreal.ca>
15594         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15595         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15596         (bookmark-bmenu-show-filenames): Use push.
15597         (bookmark-bmenu-hide-filenames): Use local var instead of
15598         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
15599         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15600         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15601         filenames now that the bookmark names are always available.
15603 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15605         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15606         (bookmark-search-pattern): Move and leave unbound.
15607         (bookmark-bmenu-mode-map): Change binding.
15608         (bookmark-read-search-input): Simplify.
15609         Don't use text-char-description.  Don't error on non-char events.
15610         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15611         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15612         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15613         Use a local var for the timer.
15614         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15615         (i.e. bookmark-bmenu-search).
15617 2009-11-21  Glenn Morris  <rgm@gnu.org>
15619         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
15621 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15623         * net/browse-url.el (browse-url-default-windows-browser):
15624         Use cygstart for cygwin.
15626 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
15628         * bookmark.el: Formatting and doc fixes only:
15629         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15630         (bookmark-bmenu-search): Wrap to fit within 80 columns.
15631         Minor grammar and punctuation fixes in doc string.
15632         (bookmark-read-search-input): Adjust to fit within 80 columns.
15634 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15636         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15637         (c-backward-into-nomenclature): Adapt to subword renaming.
15639         * subword.el (subword-forward, subword-backward, subword-mark)
15640         (subword-kill, subword-backward-kill, subword-transpose)
15641         (subword-downcase, subword-upcase, subword-capitalize)
15642         (subword-forward-internal, subword-backward-internal):
15643         Rename from forward-subword, backward-subword, mark-subword,
15644         kill-subword, backward-kill-subword, transpose-subwords,
15645         downcase-subword, upcase-subword, capitalize-subword,
15646         forward-subword-internal, backward-subword-internal.
15648 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15650         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15651         New options.
15652         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15653         New vars.
15654         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15655         (bookmark-bmenu-filter-alist-by-regexp)
15656         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15657         (bookmark-bmenu-search): New command.
15658         (bookmark-bmenu-mode-map): Bind it.
15660 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15662         * progmodes/cc-cmds.el: declare-functioned forward-subword and
15663         backward-subword to quit the byte-compiler.
15665         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15667         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15669         * progmodes/cc-cmds.el (c-update-modeline)
15670         (c-forward-into-nomenclature, c-backward-into-nomenclature):
15671         Refer to subword.el functions instead of cc-subword.el.
15673         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15674         subword.el functions instead of cc-subword.el.
15676         * progmodes/cc-subword.el: Rename to subword.el.
15677         * subword.el: Rename from progmodes/cc-subword.el.
15678         (subword-mode-map): Rename from c-subword-mode-map.
15679         (subword-mode): Rename from c-subword-mode.
15680         (global-subword-mode): New global minor mode.
15681         (forward-subword): Rename from c-forward-subword.
15682         (backward-subword): Rename from c-backward-subword.
15683         (mark-subword): Rename from c-mark-subword.
15684         (kill-subword): Rename from c-kill-subword.
15685         (backward-kill-subword): Rename from c-backward-kill-subword.
15686         (transpose-subwords): Rename from c-tranpose-subword.
15687         (downcase-subword): Rename from c-downcase-subword.
15688         (capitalize-subword): Rename from c-capitalize-subword.
15689         (forward-subword-internal): Rename from c-forward-subword-internal.
15690         (backward-subword-internal): Rename from c-backward-subword-internal.
15692 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
15694         * vc.el (vc-deduce-fileset): Allow non-state changing operations
15695         from a dired buffer.
15696         (vc-dired-deduce-fileset): New function.
15697         (vc-root-diff, vc-print-root-log): Use it.
15699         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15700         nil LIMIT argument to vc-print-log-internal.
15702 2009-11-20  Glenn Morris  <rgm@gnu.org>
15704         * Makefile.in (ELCFILES): Regenerate.
15706 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
15708         * calc/calc.el (calc-set-mode-line):
15709         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15710         (math-format-number): Rename `math-format-complement-signed' to
15711         `math-format-twos-complement'.
15713         * calc/calc-bin.el (math-format-twos-complement): Rename from
15714         math-format-complement-signed.
15715         (calc-radix): Rename `calc-complement-signed-mode' to
15716         `calc-twos-complement-mode'.
15717         (calc-octal-radix, calc-hex-radix): Add an argument for
15718         two's complement.
15720         * calc/calc-embed.el (calc-embedded-mode-vars):
15721         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15723         * calc/calc-ext.el (calc-init-extensions):
15724         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15725         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15727         * calc/calc-units.el (math-build-units-table-buffer):
15728         Let `calc-twos-complement-mode' be nil.
15730         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15731         entries.
15733         * calc/calc-vec.el (calcFunc-vunpack):
15734         * calc/calc-aent.el (calc-do-calc-eval):
15735         * calc/calc-forms.el (math-format-date):
15736         * calc/calc-graph.el (calc-graph-plot):
15737         * calc/calc-math.el (math-use-emacs-fn):
15738         * calc/calccomp.el (math-compose-expr):
15739         Let `calc-twos-complement-mode' be nil.
15741 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15743         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15744         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
15745         * minibuffer.el (completion-in-region-functions): New hook.
15746         (completion-in-region): New function.
15747         * emacs-lisp/lisp.el (lisp-complete-symbol):
15748         * pcomplete.el (pcomplete-std-complete): Use it.
15750 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15752         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15753         (latex-complete-alist): New vars.
15754         (latex-string-prefix-p, latex-complete-bibtex-keys)
15755         (latex-complete-envnames, latex-complete-refkeys)
15756         (latex-complete-data): New functions.
15757         (latex-complete, latex-indent-or-complete): New commands.
15759         * window.el (display-buffer-mark-dedicated): New var.
15760         (display-buffer): Obey it.
15761         * minibuffer.el (minibuffer-completion-help): Use it.
15763         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15765         * filecache.el (file-cache-add-file): Use push and cons.
15766         (file-cache-delete-file-regexp): Use push.
15767         (file-cache-complete): Use completion-in-region.
15769         * simple.el (with-wrapper-hook): Fix thinko.
15771         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15772         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15773         Use with-current-buffer and string-to-number.
15774         (hfy-fallback-colour-values): Use assoc-string.
15775         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15776         (hfy-face-at): Remove unused var `found-face'.
15777         (hfy-compile-stylesheet): Remove unused var `css'.
15778         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15779         and `orig-buffer'.
15780         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15781         Use with-current-buffer.
15782         (hfy-text-p): Use expand-file-name and fewer setq.
15784 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
15786         * htmlfontify.el, hfy-cmap.el: New files.
15788 2009-11-19  Juri Linkov  <juri@jurta.org>
15790         * minibuffer.el (completions-format): New defcustom.
15791         (completion--insert-strings): Implement vertical format.
15793         * simple.el (switch-to-completions): Move point to the first
15794         completion when point was at the beginning of the buffer.
15796 2009-11-19  Juri Linkov  <juri@jurta.org>
15798         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
15800         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15802 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
15804         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15805         (mail-signature): Change default to t.
15806         (mail-from-style): Deprecate `system-default' value.
15807         (mail-insert-from-field): For default value of mail-from-style,
15808         default to `angles' unless `angles' needs quoting and `parens'
15809         does not.
15810         (mail-citation-prefix-regexp): Use citation regexp from
15811         message-mode.
15813 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
15815         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15816         Set variables for computing the prompt for reading password.
15818 2009-11-19  Glenn Morris  <rgm@gnu.org>
15820         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
15822         * textmodes/flyspell.el (sgml-lexical-context): Declare.
15824         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15825         (newsticker-treeview-listwindow-height): Fix custom type.
15827 2009-11-19  Kenichi Handa  <handa@m17n.org>
15829         * descr-text.el (describe-char-padded-string): Compose with TAB
15830         only if there's a font for CH.
15831         (describe-char): Fix the condition for detecting a trivial composition.
15833 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
15835         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15836         more accurate version of the regexp.  (Bug#3910)
15838 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15840         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15842 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
15844         * font-setting.el (font-use-system-font): Declare for byte-compiler.
15845         (font-setting-change-default-font): Fix typo in docstring.
15847 2009-11-18  Alan Mackenzie  <acm@muc.de>
15849         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15851 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15853         * font-setting.el (font-use-system-font): Move ...
15855         * cus-start.el (all): ... to here.
15857 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
15859         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15860         Don't set `ad-return-value' if `ad-do-it' doesn't.
15862         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15863         modification time.
15865 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15867         * menu-bar.el: Put "Use system font" in Option-menu.
15868         (menu-bar-options-save): Add font-use-system-font.
15870         * loadup.el: If feature system-font-setting or font-render-setting is
15871         there, load font-setting.
15873         * Makefile.in (ELCFILES): Add font-settings.el.
15874         * font-setting.el: New file.
15876 2009-11-17  Glenn Morris  <rgm@gnu.org>
15878         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15880         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15881         Preserve point in the list buffer.  (Bug#4939)
15882         Use point-at-eol.
15883         (newsticker--treeview-list-update-highlight)
15884         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15886 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15888         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15889         Remove.
15891         * calc/calc-ext.el (calc-init-extensions): Remove references to
15892         symclip.
15894         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15896         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15897         * calc/calc-help.el (calc-b-prefix-help): Remove references to
15898         `calc-symclip'.
15900 2009-11-16  Kevin Ryde  <user42@zip.com.au>
15902         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15903         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15905         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15906         (lm-keywords-list): Allow comma-only separator like "foo,bar".
15907         Ignore trailing spaces by omit-nulls to split-string (fixing
15908         regression from Emacs 21 due to the incompatible split-string
15909         change).  (Bug #4928.)
15911 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
15913         * vc.el (vc-log-show-limit): Default to 2000.
15914         (vc-print-log-internal): Insert buttons to request more entries
15915         when limiting the output.
15917         * vc-sccs.el (vc-sccs-print-log):
15918         * vc-rcs.el (vc-rcs-print-log):
15919         * vc-cvs.el (vc-cvs-print-log):
15920         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15921         LIMIT is non-nil.
15923 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15925         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15926         error when `tramp-gvfs-dbus-event-vector' is set.
15927         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15929 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15931         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15933 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15935         * net/dbus.el (dbus-unregister-service): New defun.
15936         (dbus-register-property): Register the handlers of
15937         "org.freedesktop.DBus.Properties" for SERVICE.
15938         (dbus-property-handler): Fix docstring.
15940 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15942         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15943         Quote doc string reference in defvaralias as it is not in special form.
15944         (byte-compile-output-docform): Doc fix.
15946 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15948         * calc/calc.el (math-2-word-size, math-half-2-word-size)
15949         (calc-complement-signed-mode): New variables.
15950         (calc-set-mode-line): Add indicator for twos-complements.
15951         (math-format-number): Format twos-complement notation.
15953         * calc/calc-bin.el (calc-word-size): Reset the variables
15954         `math-2-word-size' and `math-half-2-word-size'.
15955         (math-format-complement-signed, math-symclip, calcFunc-symclip)
15956         (calc-symclip): New functions.
15958         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15960         * calc/calc-embed.el (calc-embedded-mode-vars):
15961         Add `calc-complement-signed-mode' to the list of modes.
15963         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15964         (calc-b-oper-keys): Add `calc-symclip' to list.
15966         * calc/calc-ext.el (math-read-number-fancy): Read complement
15967         signed numbers.
15968         (calc-init-extensions): Add binding for `calc-symclip'.
15969         Add autoload for `calcFunc-symclip' and `calc-symclip'.
15971         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15972         `calc-symclip'.
15973         (calc-modes-menu): Add item for twos complement mode.
15975         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15977 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
15979         * register.el (jump-to-register, insert-register): Handle Semantic
15980         tags.  From commented-out advice in semantic/senator.el.
15982 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
15984         * vc.el (vc-log-show-limit): New variable.
15985         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
15986         when using a prefix argument.
15987         (vc-print-log-internal): Add new argument LIMIT.
15989         * vc-svn.el (vc-svn-print-log):
15990         * vc-mtn.el (vc-mtn-print-log):
15991         * vc-hg.el (vc-hg-print-log):
15992         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15993         pass it to the log command when set.  Make the BUFFER argument
15994         non-optional.
15996         * vc-sccs.el (vc-sccs-print-log):
15997         * vc-rcs.el (vc-rcs-print-log):
15998         * vc-git.el (vc-git-print-log):
15999         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16000         ignore it.  Make the BUFFER argument non-optional.
16002         * bindings.el (mode-line-buffer-identification): Do not purecopy.
16004 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16006         * dired.el (dired-mode-map): Move encryption items to "Operate"
16007         menu (Bug#4703).
16009         * strokes.el (strokes-update-window-configuration): Make strokes
16010         buffer current before erasing (Bug#4906).
16012 2009-11-15  Juri Linkov  <juri@jurta.org>
16014         * simple.el (set-mark-default-inactive): Add :type, :group
16015         and :version.  (Bug#4876)
16017 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
16019         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16020         (archive-unique-fname): ... here.  (Bug#4929)
16022 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16024         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16025         with a real fix.
16027         * novice.el (disabled-command-function): Add useful args.
16028         Setup the help buffer so that [back] works.
16029         Remove redundant call to help-mode.
16030         (disabled-command-function): Use `case'.
16031         (en/disable-command): New function extracted from enable-command.
16032         (enable-command, disable-command): Use it.
16034 2009-11-14  Glenn Morris  <rgm@gnu.org>
16036         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16037         constants.  (Bug#4913)
16039         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16041 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
16043         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16044         defined in C that have no doc-strings.  (Bug#1063)
16046 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
16048         * cus-edit.el (data, files):
16049         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
16051 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
16053         * simple.el (shell-command): Doc fix (Bug#4891).
16055         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16057 2009-11-14  Glenn Morris  <rgm@gnu.org>
16059         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16060         statements for vc-diff, emerge-quit, and rmail-cease-edit.
16061         If they are already loaded, eval-after-load will do the right thing.
16063         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16064         compiling.
16066         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16068         * simple.el (x-selection-owner-p): Declare.
16069         (read-mail-command): Use custom radio type rather than choice.
16070         (completion-no-auto-exit): Doc fix.
16072         * custom.el (defgroup):
16073         * epg-config.el (epg): Doc fixes.
16075 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
16077         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16078         * international/ccl.el (define-ccl-program): Do not purecopy the
16079         docstring, defconst does it anyway.
16081 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16083         * add-log.el (add-change-log-entry): Avoid displaying the changelog
16084         a second time.
16086         * x-dnd.el (x-dnd-maybe-call-test-function):
16087         * window.el (split-window-vertically):
16088         * whitespace.el (whitespace-help-on):
16089         * vc-rcs.el (vc-rcs-consult-headers):
16090         * userlock.el (ask-user-about-lock-help)
16091         (ask-user-about-supersession-help):
16092         * type-break.el (type-break-force-mode-line-update):
16093         * time-stamp.el (time-stamp-conv-warn):
16094         * terminal.el (te-set-output-log, te-more-break, te-filter)
16095         (te-sentinel, terminal-emulator):
16096         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16097         (term-write-input-ring, term-check-source, term-start-output-log):
16098         (term-display-buffer-line, term-dynamic-list-completions):
16099         (term-ansi-make-term, serial-term):
16100         * subr.el (selective-display):
16101         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16102         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16103         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16104         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16105         (speedbar-remove-localized-speedbar-support)
16106         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16107         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16108         (speedbar-buffers-line-directory):
16109         * simple.el (shell-command-on-region, append-to-buffer)
16110         (prepend-to-buffer):
16111         * shadowfile.el (shadow-save-todo-file):
16112         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16113         (scroll-bar-maybe-set-window-start):
16114         * sb-image.el (speedbar-image-dump):
16115         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16116         (load-save-place-alist-from-file):
16117         * ps-samp.el (ps-print-message-from-summary):
16118         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16119         (ps-background-image, ps-begin-job, ps-do-despool):
16120         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16121         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16122         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16123         (pr-call-process, pr-file-list, pr-interface-save):
16124         * novice.el (disabled-command-function)
16125         (enable-command, disable-command):
16126         * mouse.el (mouse-buffer-menu-alist):
16127         * mouse-copy.el (mouse-kill-preserving-secondary):
16128         * macros.el (kbd-macro-query):
16129         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16130         * informat.el (batch-info-validate):
16131         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16132         * hippie-exp.el (try-expand-dabbrev-visible):
16133         * help-mode.el (help-make-xrefs):
16134         * help-fns.el (describe-variable):
16135         * generic-x.el (bat-generic-mode-run-as-comint):
16136         * finder.el (finder-mouse-select):
16137         * find-dired.el (find-dired-sentinel):
16138         * filesets.el (filesets-file-close):
16139         * files.el (list-directory):
16140         * faces.el (list-faces-display, describe-face):
16141         * facemenu.el (list-colors-display):
16142         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16143         * epg.el (epg--process-filter, epg-cancel):
16144         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16145         (epa--read-signature-type):
16146         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16147         (emerge-file-names):
16148         * ehelp.el (electric-helpify):
16149         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16150         * ediff-vers.el (rcs-ediff-view-revision):
16151         * ediff-util.el (ediff-setup):
16152         * ediff-mult.el (ediff-append-custom-diff):
16153         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16154         (ediff-wordify):
16155         * echistory.el (Electric-command-history-redo-expression):
16156         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16157         * disp-table.el (describe-display-table):
16158         * dired.el (dired-find-buffer-nocreate):
16159         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16160         * dabbrev.el (dabbrev--same-major-mode-p):
16161         * chistory.el (list-command-history):
16162         * apropos.el (apropos-documentation):
16163         * allout.el (allout-obtain-passphrase):
16164         (allout-copy-exposed-to-buffer):
16165         (allout-verify-passphrase): Use with-current-buffer.
16167 2009-11-13  Glenn Morris  <rgm@gnu.org>
16169         * Makefile.in (ELCFILES): Regenerate.
16171 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
16173         * net/dbus.el (dbus-registered-objects-table): Rename from
16174         `dbus-registered-functions-table', because it contains also properties.
16175         (dbus-unregister-object): Unregister also properties.
16176         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16177         Use a timeout of 500 msec, in order to not block.
16178         (dbus-register-property, dbus-property-handler): New defuns.
16180 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16182         * simple.el (minibuffer-default-add-completions): Drop deprecated
16183         4th arg.
16185 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
16187         * textmodes/artist.el (artist-mouse-choose-operation):
16188         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16189         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16190         (artist-compute-up-event-key): New function.
16191         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16193 2009-11-13  Kenichi Handa  <handa@m17n.org>
16195         * language/japan-util.el: Make sure that the value of jisx0208
16196         property is jisx0208 character.
16198 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
16200         * international/mule.el (auto-coding-regexp-alist): Only purecopy
16201         car or each item, not the whole list.
16203 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16205         * minibuffer.el (minibuffer-completion-help):
16206         Use minibuffer-hide-completions.
16208 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
16210         * dired.el (dired-save-positions, dired-restore-positions): New funs.
16211         (dired-revert): Use them (bug#4880).
16213 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16215         * tooltip.el (tooltip-frame-parameters): Undo previous change.
16217 2009-11-12  Juri Linkov  <juri@jurta.org>
16219         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16220         New functions.
16221         (find-file-literally-at-point): Alias of `ffap-literally'.
16223 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16225         * textmodes/ispell.el (ispell-skip-region-alist):
16226         * textmodes/css-mode.el (auto-mode-alist):
16227         * progmodes/compile.el (auto-mode-alist):
16228         * international/mule.el (ctext-non-standard-encodings-alist)
16229         (ctext-non-standard-encodings-regexp):
16230         * simple.el (shell-command-switch, text-read-only):
16231         * replace.el (occur-mode-map):
16232         * paths.el (rmail-file-name):
16233         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16234         * find-file.el (ff-special-constructs):
16235         * files.el (file-name-handler-alist):
16236         * composite.el: Purecopy strings.
16238         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16240 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16242         * widget.el (define-widget): Purecopy the docstring.
16243         * international/mule-cmds.el (charset): Do not purecopy the
16244         docstring here, define-widget does it.
16246         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16247         * textmodes/bibtex-style.el (auto-mode-alist):
16248         * progmodes/inf-lisp.el (inferior-lisp-prompt):
16249         * progmodes/compile.el (compile-command):
16250         * language/korea-util.el (default-korean-keyboard):
16251         * international/mule-conf.el (file-coding-system-alist):
16252         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16253         * tooltip.el (tooltip-frame-parameters):
16254         * newcomment.el (comment-end, comment-padding):
16255         * dired.el (dired-trivial-filenames):
16256         * comint.el (comint-file-name-prefix): Purecopy initial values.
16258 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
16260         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16261         (tramp-advice-minibuffer-electric-tilde): Unload advices via
16262         `tramp-unload'.
16263         (tramp-advice-make-auto-save-file-name)
16264         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16265         after removing the advice.
16267 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16269         * progmodes/grep.el (grep-regexp-alist):
16270         * international/mule-cmds.el (iso-2022-control-alist):
16271         * emacs-lisp/timer.el (timer-duration-words):
16272         * subr.el (version-separator, version-regexp-alist):
16273         * minibuffer.el (completion-styles-alist):
16274         * faces.el (face-attribute-name-alist, list-faces-sample-text):
16275         Change defvars to defconsts.
16277         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16278         * loadup.el ("international/mule-conf"): Load the byte compiled version.
16279         * international/mule-conf.el: Allow to be byte compiled.
16281         * international/mule.el (define-charset): Purecopy props.
16282         (load-with-code-conversion): Purecopy doc string and file name.
16283         (put-charset-property): Purecopy strings.
16284         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16286         * international/mule-cmds.el (register-input-method): Purecopy arguments.
16287         (define-char-code-property): Correctly purecopy the table.
16289         * international/ccl.el (define-ccl-program): Purecopy the docstring.
16291         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16293         * subr.el (add-hook): Purecopy strings.
16294         (eval-after-load): Purecopy load-history-regexp and the form.
16296         * custom.el (custom-declare-group): Purecopy load-file-name.
16298         * subr.el (menu-bar-separator): New defconst.
16299         * net/eudc.el (eudc-tools-menu):
16300         * international/mule-cmds.el (set-coding-system-map)
16301         (mule-menu-keymap):
16302         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16303         * vc-hooks.el (vc-menu-map):
16304         * replace.el (occur-mode-map):
16305         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16306         (menu-bar-edit-menu, menu-bar-goto-menu)
16307         (menu-bar-custom-menu, menu-bar-showhide-menu)
16308         (menu-bar-options-menu, menu-bar-tools-menu)
16309         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16310         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16311         (menu-bar-help-menu):
16312         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16313         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16315         * term/x-win.el (x-gtk-stock-map):
16316         * progmodes/vera-mode.el (auto-mode-alist):
16317         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16318         (inferior-lisp-program, inferior-lisp-load-command):
16319         * progmodes/hideshow.el (hs-special-modes-alist):
16320         * progmodes/gud.el (same-window-regexps):
16321         * progmodes/grep.el (grep-program, find-program, xargs-program):
16322         * net/telnet.el (same-window-regexps):
16323         * net/rlogin.el (same-window-regexps):
16324         * language/ethiopic.el (font-ccl-encoder-alist):
16325         * vc-sccs.el (vc-sccs-master-templates):
16326         * vc-rcs.el (vc-rcs-master-templates):
16327         * subr.el (cl-assertion-failed):
16328         * simple.el (next-error-overlay-arrow-position):
16329         * lpr.el (lpr-command):
16330         * locate.el (locate-ls-subdir-switches):
16331         * info.el (same-window-regexps, info)
16332         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16333         * image-mode.el (image-mode, auto-mode-alist):
16334         * hippie-exp.el (hippie-expand-ignore-buffers):
16335         * format.el (format-alist):
16336         * find-dired.el (find-ls-subdir-switches, find-grep-options)
16337         (find-name-arg):
16338         * facemenu.el (facemenu-keybindings):
16339         * dired.el (dired-listing-switches, dired-chown-program):
16340         * diff.el (diff-switches, diff-command):
16341         * cus-edit.el (same-window-regexps):
16342         * bindings.el (mode-line-mule-info)
16343         (mode-line-buffer-identification): Purecopy strings.
16345 2009-11-11  Juri Linkov  <juri@jurta.org>
16347         * simple.el (dired-get-filename) <declare-function>:
16348         Tell the byte-compiler about dired-get-filename.
16349         (shell-command): In Dired mode, get filename from the current line
16350         as the default value.
16352 2009-11-10  Glenn Morris  <rgm@gnu.org>
16354         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16355         * calendar/holidays.el, progmodes/cperl-mode.el:
16356         Update x-popup-menu declarations.
16358         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16359         (list-load-path-shadows): Use dolist.
16360         (list-load-path-shadows): Use with-current-buffer.
16362 2009-11-10  Juri Linkov  <juri@jurta.org>
16364         * minibuffer.el (read-file-name): Support a list of default values
16365         in `default-filename'.  Use the first file name where only one
16366         element is required.  Doc fix.
16368 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
16370         * net/dbus.el (dbus-unregister-object): Release service, if no
16371         other method is registered for it.
16373 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
16375         * bookmark.el (bookmark-completing-read): Sort bookmark names if
16376         bookmark-sort-flag is non-nil (Bug#4653).
16378 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16380         * emulation/cua-base.el: Add CUA property to some CC mode commands
16381         (Bug#4100).
16383 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16385         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16386         at end of sentence (Bug#4818).
16388 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
16390         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16391         Handle "see declaration of" MSFT statements (Bug#4100).
16393 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
16395         * net/tramp.el (tramp-advice-make-auto-save-file-name)
16396         (tramp-advice-file-expand-wildcards): Unload via
16397         `ad-remove-advice'.
16399         * net/trampver.el: Update release number.
16401 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16403         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16404         `ad-do-it'.
16406 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
16408         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16409         in order to keep context in SELinux.
16411 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16413         * dired-aux.el (dired-query): Place cursor in echo area and allow
16414         C-g.
16416         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16417         menu item if not on a directory (Bug#4701).
16419 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
16421         Sync with Tramp 2.1.17.
16423         * net/tramp.el (tramp-handle-copy-directory): Don't use
16424         `file-remote-p' (due to compatibility).
16426         * net/tramp-compat.el (tramp-compat-copy-directory)
16427         (tramp-compat-delete-directory): New defuns.
16429         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16430         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16431         Use `tramp-compat-delete-directory'.
16433         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16434         (tramp-smb-handle-delete-directory):
16435         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16437         * net/trampver.el: Update release number.
16439 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
16441         * tar-mode.el (tar-copy): Call write-region on the right buffer
16442         (Bug#4857).
16444         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16445         by hand, if necessary (Bug#4878).
16447 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
16449         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16450         align size column (Bug#4839).
16452         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16453         statement.
16455 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16457         * progmodes/ld-script.el (auto-mode-alist):
16458         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16460         * cus-face.el (custom-declare-face): Purecopy face spec.
16462 2009-11-06  Kenichi Handa  <handa@m17n.org>
16464         * international/uni-bidi.el: Re-generated.
16465         * international/uni-category.el: Re-generated.
16466         * international/uni-combining.el: Re-generated.
16467         * international/uni-mirrored.el: Re-generated.
16469 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16471         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16472         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16473         (tex-start-options, slitex-run-command, latex-run-command)
16474         (tex-run-command, tex-directory):
16475         * textmodes/ispell.el (ispell-html-skip-alists)
16476         (ispell-tex-skip-alists, ispell-tex-skip-alists):
16477         * textmodes/fill.el (adaptive-fill-first-line-regexp):
16478         (adaptive-fill-regexp):
16479         * textmodes/dns-mode.el (auto-mode-alist):
16480         * progmodes/python.el (interpreter-mode-alist):
16481         * progmodes/etags.el (tags-compression-info-list):
16482         * progmodes/etags.el (tags-file-name):
16483         * net/browse-url.el (browse-url-galeon-program)
16484         (browse-url-firefox-program):
16485         * mail/sendmail.el (mail-signature-file)
16486         (mail-citation-prefix-regexp):
16487         * international/mule-conf.el (eight-bit):
16488         * international/latexenc.el (latex-inputenc-coding-alist):
16489         * international/fontset.el (x-pixel-size-width-font-regexp):
16490         * emacs-lisp/warnings.el (warning-type-format):
16491         * emacs-lisp/trace.el (trace-buffer):
16492         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16493         (emacs-lisp-mode-map):
16494         * calendar/holidays.el (holiday-solar-holidays)
16495         (holiday-bahai-holidays, holiday-islamic-holidays)
16496         (holiday-christian-holidays, holiday-hebrew-holidays)
16497         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16498         (hebrew-holidays-1, holiday-oriental-holidays)
16499         (holiday-general-holidays):
16500         * x-dnd.el (x-dnd-known-types):
16501         * tool-bar.el (tool-bar):
16502         * startup.el (site-run-file):
16503         * shell.el (shell-dumb-shell-regexp):
16504         * rfn-eshadow.el (file-name-shadow-tty-properties)
16505         (file-name-shadow-properties):
16506         * paths.el (remote-shell-program, news-directory):
16507         * mouse.el ([C-down-mouse-3]):
16508         * menu-bar.el (menu-bar-tools-menu):
16509         * jka-cmpr-hook.el (jka-compr-load-suffixes)
16510         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16511         (jka-compr-compression-info-list):
16512         * isearch.el (search-whitespace-regexp):
16513         * image-file.el (image-file-name-extensions):
16514         * find-dired.el (find-ls-option):
16515         * files.el (directory-listing-before-filename-regexp)
16516         (directory-free-space-args, insert-directory-program)
16517         (list-directory-brief-switches, magic-fallback-mode-alist)
16518         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16519         (automount-dir-prefix):
16520         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16521         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16522         (face-font-registry-alternatives, face-font-registry-alternatives)
16523         (face-font-family-alternatives):
16524         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16525         (facemenu-foreground-menu, facemenu-face-menu):
16526         * epa-hook.el (epa-file-name-regexp):
16527         * dnd.el (dnd-protocol-alist):
16528         * textmodes/rst.el (auto-mode-alist):
16529         * button.el (default-button): Purecopy strings.
16531 2009-11-06  Glenn Morris  <rgm@gnu.org>
16533         * Makefile.in (ELCFILES): Update.
16535 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16537         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16538         * emacs-lisp/levents.el: Move to obsolete/levents.el.
16540         * nxml/xsd-regexp.el (xsdre-gen-categories):
16541         * nxml/xmltok.el (xmltok-parse-entity):
16542         * nxml/rng-parse.el (rng-parse-validate-file):
16543         * nxml/rng-maint.el (rng-format-manual)
16544         (rng-manual-output-force-new-line):
16545         * nxml/rng-loc.el (rng-save-schema-location-1):
16546         * nxml/rng-cmpct.el (rng-c-parse-file):
16547         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16548         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16550 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
16552         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16553         Remove extra save-excursions and make-variable-buffer-local's.
16554         Suggested by Stefan Monnier.
16556         (verilog-getopt-file, verilog-module-inside-filename-p)
16557         (verilog-set-define): Merge GNU 1.35 and repair changes from
16558         switching to using with-current-buffer.
16560         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16561         being treated as a number and confusing AUTORESET.
16562         Reported by Dan Dever.
16564         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16565         Add verilog-auto-ignore-concat to fix backward compatibility with
16566         older verilog-modes.  Reported by Dan Katz.
16568         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16569         containing closing anchors "...$".
16571         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16572         Reported by Wade Smith.
16574         (verilog-batch-execute-func): Comment on function usage.
16576 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
16578         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16579         for labels.
16581         (verilog-label-re, verilog-calc-1): Support proper indent of named
16582         asserts.
16584         (verilog-backward-token, verilog-basic-complete-re)
16585         (verilog-beg-of-statement, verilog-indent-re): Support proper
16586         indent of the assert statement at the beginning of a block of text.
16588         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16589         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16590         tokens as begins.
16592 2009-11-05  Glenn Morris  <rgm@gnu.org>
16594         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16595         Emacs 19.  (Bug#1531)
16596         (byte-compile-fix-header): Update for the above change.
16597         Drop test for epoch::version.
16599         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16600         * cus-dep.el (custom-make-dependencies):
16601         * finder.el (finder-compile-keywords):
16602         Use autoload-rubric's feature argument.
16604         * calendar/diary-lib.el (top-level): Make load behave more like require.
16606         * vc-git.el (vc-git-stash-map): Move definition before use.
16608 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
16610         * custom.el (custom-declare-group): Purecopy standard-value.
16611         (custom-declare-group): Purecopy custom-prefix.
16613         * international/mule.el (load-with-code-conversion):
16614         Call do-after-load-evaluation unconditionally.
16616         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16618 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16620         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16622 2009-11-04  Glenn Morris  <rgm@gnu.org>
16624         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16625         (byte-compile-compatibility): Remove option.
16626         (byte-compile-close-variables, byte-compile-fix-header)
16627         (byte-compile-insert-header, byte-compile-output-docform)
16628         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16629         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16630         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16631         (byte-compile-insert, byte-compile-defun):
16632         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
16633         (byte-defop-compiler19): Remove.
16634         Without byte-compile-compatibility, the 'emacs19-opcode property is not
16635         used by anything.  Replace all calls with byte-defop-compiler.
16637 2009-11-04  Juri Linkov  <juri@jurta.org>
16639         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16640         (menu-bar-options-menu): Don't quote the `prop' arg of
16641         `menu-bar-make-mm-toggle'.
16643 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
16645         * calendar/calendar.el (cal-loaddefs):
16646         * calendar/diary-lib.el (diary-loaddefs):
16647         * calendar/holidays.el (hol-loaddefs):
16648         * eshell/esh-module.el (esh-groups): Load rather than require.
16650 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16652         * calendar/todo-mode.el (todo-add-category): Don't hardcode
16653         point-min==1.
16654         (todo-top-priorities): Only display-buffer when called interactively.
16655         (todo-item-start): Don't save excursion point.
16656         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
16657         (todo-insert-item-here, todo-file-item, todo-remove-item):
16658         Adjust uses of todo-item-start and todo-item-end.
16660         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16661         (autoload-rubric): Don't use any more.
16663         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16664         and only put a prop if it is non-nil.
16666 2009-11-03  Juri Linkov  <juri@jurta.org>
16668         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16669         (menu-bar-options-menu): Fix list quoting (Bug#4429).
16671         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16672         and "Menu" to make top-level menu item visually one unit (like
16673         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16674         multi-word menu items).  Fix :help string for quit-window.
16676 2009-11-03  Glenn Morris  <rgm@gnu.org>
16678         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16679         (byte-compile-file-form-define-abbrev-table)
16680         (byte-compile-file-form-custom-declare-variable)
16681         (byte-compile-variable-ref, byte-compile-defvar):
16682         Whether or not a warning is enabled should only affect whether we issue
16683         the warning, not whether or not we collect the relevant data.
16684         Eg warnings can be turned on and off throughout the course of a file.
16686         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16687         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16689 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16691         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16692         * play/mpuz.el (mpuz-create-buffer):
16693         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16694         (lm-print-y,s,noise, lm-print-w0, lm-init):
16695         * play/gomoku.el (gomoku-prompt-for-move):
16696         * play/fortune.el (fortune-in-buffer):
16697         * play/dissociate.el (dissociated-press):
16698         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16699         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16700         * mail/supercite.el (sc-eref-show):
16701         * mail/smtpmail.el (smtpmail-send-it):
16702         * mail/rmailsum.el (rmail-summary-next-labeled-message)
16703         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16704         (rmail-summary-undelete-many, rmail-summary-rmail-update)
16705         (rmail-summary-goto-msg, rmail-summary-expunge)
16706         (rmail-summary-get-new-mail, rmail-summary-search-backward)
16707         (rmail-summary-add-label, rmail-summary-output-menu)
16708         (rmail-summary-output-body):
16709         * mail/rfc822.el (rfc822-addresses):
16710         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16711         * mail/mailpost.el (post-mail-send-it):
16712         * mail/hashcash.el (hashcash-generate-payment):
16713         * mail/feedmail.el (feedmail-run-the-queue)
16714         (feedmail-queue-send-edit-prompt-help-first)
16715         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16716         (feedmail-deduce-address-list):
16717         * eshell/esh-ext.el (eshell-remote-command):
16718         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16719         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16720         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16721         (viper-save-string-in-file, viper-valid-marker):
16722         * emulation/viper-keym.el (viper-toggle-key):
16723         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16724         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16725         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16726         * emulation/viper-cmd.el (viper-exec-form-in-vi)
16727         (viper-exec-form-in-emacs, viper-brac-function):
16728         * emulation/viper.el (viper-delocalize-var):
16729         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16730         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16731         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16732         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16733         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16734         * emulation/edt.el (edt-electric-helpify):
16735         * emulation/cua-rect.el (cua--rectangle-aux-replace):
16736         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16737         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16738         (cua-indent-to-global-mark-column):
16739         * calendar/diary-lib.el (calendar-mark-1):
16740         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16741         Use with-current-buffer.
16742         * emulation/viper.el (viper-delocalize-var): Use dolist.
16744 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
16746         * comint.el (comint-replace-by-expanded-history-before-point):
16747         Replace !! with the previous input string literally (Bug#1795).
16749 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
16751         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16752         to be made up of whitespace.
16754 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
16756         * minibuffer.el (read-file-name): Don't use file dialogs for
16757         remote directories (Bug#99).
16759 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
16761         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16763 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16765         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16766         instead of deleting the window or frame.
16768 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16770         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16771         Support face colors.
16773         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16774         New function.  Support face colors (Bug#1168).
16775         (tex-common-initialization): Use it.
16777         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16778         mode allows it (Bug#1168).
16780 2009-10-31  Juri Linkov  <juri@jurta.org>
16782         * facemenu.el (list-colors-display): Don't mark buffer as
16783         modified (Bug#3948).
16785 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16787         * international/mule-diag.el (list-character-sets-1):
16788         Minor message fix (Bug#3526).
16790         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16791         Fix face property (Bug#4834).
16792         (etags-list-tags, etags-tags-apropos-additional)
16793         (etags-tags-apropos, tags-select-tags-table): Add follow-link
16794         property.
16796         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16797         items.
16799 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16801         * textmodes/two-column.el (2C-split):
16802         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16803         * textmodes/tex-mode.el (tex-set-buffer-directory):
16804         * textmodes/spell.el (spell-region, spell-string):
16805         * textmodes/reftex.el (reftex-erase-buffer):
16806         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16807         * textmodes/reftex-toc.el (reftex-toc-promote-action):
16808         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16809         (reftex-select-item):
16810         * textmodes/reftex-ref.el (reftex-label-info-update)
16811         (reftex-offer-label-menu):
16812         * textmodes/reftex-index.el (reftex-index-change-entry)
16813         (reftex-index-phrases-info):
16814         * textmodes/reftex-global.el (reftex-create-tags-file)
16815         (reftex-save-all-document-buffers, reftex-ensure-write-access):
16816         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16817         (reftex-view-crossref-from-bibtex):
16818         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16819         (reftex-extract-bib-entries-from-thebibliography)
16820         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16821         * textmodes/refbib.el (r2b-capitalize-title):
16822         (r2b-convert-buffer, r2b-help):
16823         * textmodes/page-ext.el (pages-directory)
16824         (pages-directory-goto-with-mouse):
16825         * textmodes/bibtex.el (bibtex-validate-globally):
16826         * textmodes/bib-mode.el (bib-capitalize-title):
16827         * textmodes/artist.el (artist-clear-buffer, artist-system):
16828         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16829         (local-set-scheme-interaction-buffer, xscheme-process-filter)
16830         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16831         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16832         (xscheme-send-control-g-interrupt, xscheme-start-process)
16833         (xscheme-process-sentinel, xscheme-cd):
16834         * progmodes/verilog-mode.el (verilog-read-always-signals)
16835         (verilog-set-define, verilog-getopt-file)
16836         (verilog-module-inside-filename-p):
16837         * progmodes/sh-script.el:
16838         * progmodes/python.el (python-pdbtrack-get-source-buffer)
16839         (python-pdbtrack-grub-for-buffer, python-execute-file):
16840         * progmodes/octave-inf.el (inferior-octave):
16841         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16842         (idlwave-shell-compile-helper-routines, idlwave-set-local)
16843         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16844         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16845         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16846         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16847         (idlwave-shell-filter, idlwave-shell-examine-highlight)
16848         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16849         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16850         (idlwave-shell-examine-display, idlwave-shell-run-region)
16851         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16852         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16853         * progmodes/idlw-help.el (idlwave-help-get-special-help)
16854         (idlwave-help-get-help-buffer):
16855         * progmodes/gud.el (gud-basic-call, gud-find-class)
16856         (gud-tooltip-activate-mouse-motions-if-enabled):
16857         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16858         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16859         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16860         (ebrowse-tags-next-file):
16861         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16862         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16863         (ebnf-eps-finish-and-write):
16864         * progmodes/cpp.el (cpp-edit-save):
16865         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16866         * progmodes/cc-defs.el (c-emacs-features):
16867         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16868         (antlr-directory-dependencies):
16869         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16870         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16871         (ada-find-any-references, ada-make-filename-from-adaname)
16872         (ada-make-body-gnatstub):
16873         * obsolete/rnews.el (news-list-news-groups):
16874         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16875         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16876         * net/rcirc.el (rcirc-debug):
16877         * net/newst-treeview.el (newsticker--treeview-list-add-item)
16878         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16879         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16880         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16881         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16882         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16883         (newsticker--treeview-list-clear-highlight)
16884         (newsticker--treeview-list-update-highlight)
16885         (newsticker--treeview-list-highlight-start)
16886         (newsticker--treeview-tree-update-highlight)
16887         (newsticker--treeview-get-selected-item)
16888         (newsticker-treeview-mark-list-items-old)
16889         (newsticker--treeview-set-current-node):
16890         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16891         * net/newst-backend.el (newsticker--get-news-by-funcall)
16892         (newsticker--get-news-by-wget, newsticker--image-get)
16893         (newsticker--image-sentinel):
16894         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16895         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16896         (eudc-ph-close-session):
16897         * net/eudc.el (eudc-save-options):
16898         * language/thai-word.el (thai-update-word-table):
16899         * language/japan-util.el (japanese-string-conversion):
16900         * international/titdic-cnv.el (tsang-quick-converter)
16901         (ziranma-converter, ctlau-converter):
16902         * international/mule-cmds.el (describe-language-environment):
16903         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16904         (skkdic-convert-postfix, skkdic-convert-prefix):
16905         (skkdic-convert-okuri-nasi, skkdic-convert):
16906         * emacs-lisp/re-builder.el (reb-update-overlays):
16907         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16908         * emacs-lisp/gulp.el (gulp-send-requests):
16909         * emacs-lisp/find-gc.el (trace-call-tree):
16910         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16911         (eieio-describe-generic):
16912         * emacs-lisp/eieio-base.el (eieio-persistent-read):
16913         * emacs-lisp/edebug.el (edebug-outside-excursion):
16914         * emacs-lisp/debug.el (debugger-make-xrefs):
16915         * emacs-lisp/cust-print.el (custom-prin1-to-string):
16916         * emacs-lisp/chart.el (chart-new-buffer):
16917         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16918         Use with-current-buffer.
16919         * textmodes/artist.el (artist-system): Don't call
16920         copy-sequence on a fresh string.
16921         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16923 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
16925         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16926         is no item to edit.  (Bug#4820)
16927         (todo-top-priorities): Restore point and restore narrowing in Todo
16928         buffer.  (Bug#4820)
16930 2009-10-31  Glenn Morris  <rgm@gnu.org>
16932         * net/ange-ftp.el (top-level): Don't require dired when compiling.
16933         (comint-last-output-start, comint-last-input-start)
16934         (comint-last-input-end): Don't defvar when compiling.
16935         (ange-ftp-process-file): Use bound-and-true-p.
16937         * pcmpl-rpm.el (top-level): Move provide statement to end.
16938         (pcmpl-rpm): Remove unused custom group.
16940         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16942         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16944         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16945         (byte-compile-warnings): Add `constants' as an option.
16946         (byte-compile-callargs-warn, byte-compile-arglist-warn)
16947         (display-call-tree): Update for byte-compile-fdefinition possibly
16948         returning `(macro lambda ...)'.  (Bug#4778)
16949         (byte-compile-variable-ref, byte-compile-setq-default):
16950         Respect `constants' member of byte-compile-warnings.
16952 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16954         * vc-bzr.el (vc-bzr-revision-keywords): New var.
16955         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16956         to "submit:".
16958 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
16960         * textmodes/ispell.el (ispell-skip-region-alist):
16961         * international/mule-conf.el (eight-bit):
16962         * international/fontset.el (font-encoding-alist):
16963         * startup.el (pure-space-overflow-message):
16964         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16965         * paths.el (gnus-nntp-service, rmail-spool-directory)
16966         (term-file-prefix):
16967         * files.el (save-some-buffers-action-alist):
16968         * cmuscheme.el (same-window-buffer-names):
16969         * ielm.el (same-window-buffer-names):
16970         * shell.el (same-window-buffer-names):
16971         * mail/sendmail.el (same-window-buffer-names):
16972         * progmodes/inf-lisp.el (same-window-buffer-names):
16973         * bindings.el (mode-line-client)
16974         (mode-line-column-line-number-mode-map):
16975         * language/tibetan.el (tibetan-precomposition-rule-regexp)
16976         (tibetan-precomposed-regexp): Purecopy string arguments.
16978 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16980         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16981         (calcDigit-nondigit):
16982         * calc/calc-yank.el (calc-copy-to-buffer):
16983         * calc/calc-units.el (calc-invalidate-units-table):
16984         * calc/calc-trail.el (calc-trail-yank):
16985         * calc/calc-store.el (calc-insert-variables):
16986         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16987         * calc/calc-prog.el (calc-read-parse-table):
16988         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16989         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16990         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16991         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16992         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16993         (calc-graph-name, calc-graph-find-command, calc-graph-view)
16994         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16995         * calc/calc-ext.el (calc-realign):
16996         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16997         (calc-embedded-finish-edit, calc-embedded-make-info)
16998         (calc-embedded-finish-command, calc-embedded-stack-change):
16999         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17001         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17002         shell-dynamic-complete-filename in preference to
17003         comint-dynamic-complete-filename.
17005         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17006         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17007         Don't consider whether the display supports colors.
17008         (bookmark-import-new-list): Use dolist.
17009         (bookmark-bmenu-mode-map): Move initialization into declaration.
17010         (bookmark-bmenu-list): Use dolist, simplify.
17011         (bookmark-show-all-annotations): Use save-selected-window and dolist.
17012         (menu-bar-final-items): Use push.
17014 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
17016         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17017         it works on remote files.
17018         (vc-hg-diff): Don't pass any `--cwd' argument.
17020 2009-10-27  Kevin Ryde  <user42@zip.com.au>
17022         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17023         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17024         (Further to Bug#3921).
17026 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
17028         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17029         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17030         calling `tramp-imap-put-file'.  Add file size to the call.
17031         (tramp-imap-get-file-entries): Compute also user name, file size,
17032         and date.
17033         (tramp-imap-handle-insert-directory): Insert uid and gid.
17034         (tramp-imap-handle-file-attributes): Transform uid and gid
17035         according to `id-format'.
17036         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
17037         size in header X-Size.
17039 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
17041         * simple.el (transpose-subr): Give clearer error when the mark
17042         is not set.  (Bug#4807)
17044 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
17046         * net/tramp.el (tramp-perl-file-truename): New defconst.
17047         Perl code contributed by yary <not.com@gmail.com> (tiny change).
17048         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17049         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17050         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17052         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17053         Ignore `dired-call-process'.
17054         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17056 2009-10-26  Julian Scheid  <julians37@gmail.com>
17058         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17059         (tramp-get-remote-readlink): New defun.
17060         (tramp-handle-file-truename): Use it.
17061         (tramp-handle-file-exists-p): Check file-attributes cache, assume
17062         file exists if cache value present.
17063         (tramp-check-cached-permissions): New defun.
17064         (tramp-handle-file-readable-p): Use it.
17065         (tramp-handle-file-writable-p): Likewise.
17066         (tramp-handle-file-executable-p): Likewise.
17067         (tramp-handle-file-name-all-completions): Try using Perl to get
17068         partial completions.  When perl not available, combine `cd' and
17069         `ls' into single remote operation and use shell expansion to get
17070         partial remote directory contents.  Set `file-exists-p' cache for
17071         directory and any files returned by ls.  Change cache handling to
17072         support partial directory contents.  Use error message emitted by
17073         remote `cd' or Perl code for local tramp-error.
17074         (tramp-do-copy-or-rename-file-directly): Avoid separate
17075         tramp-send-command-and-check call.
17076         (tramp-handle-process-file): Merge three remote ops into one.
17077         Do not flush all caches when `process-file-side-effects' is set.
17078         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17079         file-attributes shows uid/gid to be set already.
17081 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
17083         * textmodes/tex-mode.el (tex-dvi-view-command)
17084         (tex-show-queue-command, tex-open-quote):
17085         * progmodes/ruby-mode.el (auto-mode-alist)
17086         (interpreter-mode-alist): Purecopy strings.
17088         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17090         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17091         string for the hook, keymap and abbrev table.
17093         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17095         * x-dnd.el (x-dnd-xdnd-to-action):
17096         * startup.el (fancy-startup-text, fancy-about-text): Change to
17097         defconst from defvar.
17099         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17101         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17102         Purecopy initialization strings.
17104         * mail/sendmail.el (mail-header-separator)
17105         (mail-personal-alias-file):
17106         * mail/rmail.el (rmail-default-dont-reply-to-names)
17107         (rmail-ignored-headers, rmail-retry-ignored-headers)
17108         (rmail-highlighted-headers, rmail-secondary-file-directory)
17109         (rmail-secondary-file-regexp):
17110         * files.el (null-device, file-name-invalid-regexp)
17111         (locate-dominating-stop-dir-regexp)
17112         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17113         (interpreter-mode-alist): Use mapcar instead of mapc.
17115         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17117         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17118         (completion-ignored-extensions):
17119         (debug-ignored-errors): Purecopy strings.
17121 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17123         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17124         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17125         (pcomplete--here): Use push.
17127         * subr.el (all-completions): Declare the 4th arg obsolete.
17129 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17131         * pcomplete.el (pcomplete-unquote-argument-function): New var.
17132         (pcomplete-unquote-argument): New function.
17133         (pcomplete--common-suffix): Always pay attention to case.
17134         (pcomplete--table-subvert): Quote and unquote the text.
17135         (pcomplete--common-quoted-suffix): New function.
17136         (pcomplete-std-complete): Use it and pcomplete-begin.
17138         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17139         we're inside a dedicated or minibuffer window.
17141 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
17143         * bookmark.el: Update documentation, especially documentation
17144         of `bookmark-alist' and of the bookmark file format.
17145         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
17147 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
17149         * mail/emacsbug.el (report-emacs-bug): Clarify that the
17150         keybindings apply to the mail buffer (Bug#4003).  Shrink help
17151         window to buffer.
17153         * whitespace.el (whitespace-mode, whitespace-newline-mode)
17154         (global-whitespace-mode, global-whitespace-newline-mode)
17155         (whitespace-toggle-options, global-whitespace-toggle-options):
17156         Doc fix (Bug#3660).
17158         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17159         of xmltok-start before the end tag was inserted (Bug#2840).
17161         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17162         patterns that are preceded by an open-paren (Bug#1320).
17164 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
17166         * files.el (delete-directory): Delete symlinks to directories with
17167         delete-file (Bug#4739).
17169 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
17171         * vc.el (vc-backend-for-registration): Rename from
17172         vc-get-backend-for-registration.  Update callers.
17174         * international/mule-cmds.el (set-language-info-alist):
17175         Purecopy lang-env.
17176         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17177         (charset): Purecopy the name.
17178         (define-char-code-property): Purecopy string arguments.
17180         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17181         Purecopy string arguments.
17183         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17184         * ediff-hook.el (menu-bar-ediff-menu):
17185         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17186         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17188 2009-10-24  Glenn Morris  <rgm@gnu.org>
17190         * comint.el (comint-dynamic-list-completions):
17191         * term.el (term-dynamic-list-completions): Use choose-completion rather
17192         than obsolete alias mouse-choose-completion.
17194         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17195         file-cache-choose-completion.
17196         (file-cache-choose-completion): Handle an optional event argument.
17197         (file-cache-mouse-choose-completion): Make it an obsolete alias.
17199         * progmodes/octave-mod.el (octave-complete-symbol):
17200         Use choose-completion if mouse-choose-completion is ever removed.
17202         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17203         use.
17205         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17206         compiler.
17208         * vc-hooks.el (vc-responsible-backend): Fix declaration.
17210 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17212         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17213         Ignore `pred' now that we receive one.
17214         Handle test-completion specially.
17216 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17218         * vc.el (vc-responsible-backend): Throw an error if not backend is
17219         found.  Remove the REGISTER argument.  Move the code dealing with
17220         REGISTER ...
17221         (vc-get-backend-for-registration): ... here.  New function.
17222         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17223         of vc-responsible-backend, pass the file name instead of the
17224         directory name.
17226 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17228         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17229         New funs.
17230         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
17231         (pcomplete-comint-setup): Don't modify a global var via
17232         accidental side-effects.
17233         (pcomplete-shell-setup): Adjust call accordingly.
17234         (pcomplete-parse-comint-arguments): Use push.
17236 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
17238         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17239         Allow uncapitalized info node names (Bug#3921).
17241         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17242         to the DEBUG file (Bug#3781).
17244 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
17246         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17247         dictionary entry (Bug#4579).
17249 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
17251         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17252         from `rfn-eshadow-update-overlay-hook' when unloading.
17253         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17254         "rsyncc".  Adjust doc string.
17255         (tramp-temp-buffer-file-name): New buffer-local defvar.
17256         (tramp-handle-insert-file-contents, tramp-handle-write-region):
17257         Keep temporary file when indicated by method ("rsync" and
17258         "rsyncc").
17259         (tramp-handle-write-region): Handle APPEND.
17260         (tramp-delete-temp-file-function): New defun.  Added to
17261         `kill-buffer-hook'.
17263 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
17265         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17267 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17269         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17270         (color-name-rgb-alist, tty-standard-colors)
17271         (tty-color-mode-alist): Change to defconst.
17273         * simple.el (mark-inactive): Purecopy message.
17275         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17276         (global-map, yank-menu):
17277         * textmodes/ispell.el (ispell-menu-map):
17278         * net/eudc.el (eudc-tools-menu):
17279         * international/mule-cmds.el (describe-language-environment-map)
17280         (setup-language-environment-map, set-coding-system-map)
17281         (mule-menu-keymap):
17282         * vc-hooks.el (vc-menu-entry, vc-menu-map):
17283         * replace.el (occur-mode-map):
17284         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17286 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
17288         * calc/calc.el (math-read-number, math-read-number-simple):
17289         Use `save-match-data'.
17291 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17293         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17294         rather than fiddling with global-map bindings, since it should only
17295         affect per-terminal settings.
17296         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17298         * minibuffer.el (completion-table-with-terminator): Allow to specify
17299         the terminator-regexp.
17301         * simple.el (switch-to-completions): Look for *Completions* in other
17302         frames as well.
17304         * pcomplete.el: Allow the use of completion-tables.
17305         (pcomplete-std-complete): New command.
17306         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17307         (pcomplete--here): Use a function for `form' rather than an expression,
17308         so it can be byte-compiled.
17309         (pcomplete-here, pcomplete-here*): Adjust accordingly.
17310         Add edebug declaration.
17311         (pcomplete-show-completions): Remove unused var `curbuf'.
17312         (pcomplete-do-complete, pcomplete-stub):
17313         Don't assume `completions' is a list of strings any more.
17315 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
17317         * find-dired.el (find-name-arg): Fix typo in docstring.
17319 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17321         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17322         (pcmpl-linux-fs-types): Same, and update to new modules layout.
17324         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17325         pcomplete-entries.
17327         * comint.el (comint-read-input-ring, comint-write-input-ring)
17328         (comint-substitute-in-file-name)
17329         (comint-dynamic-complete-as-filename)
17330         (comint-dynamic-simple-complete)
17331         (comint-dynamic-list-filename-completions)
17332         (comint-dynamic-list-completions)
17333         (comint-redirect-results-list-from-process): Minor simplifications.
17335 2009-10-21  Kevin Ryde  <user42@zip.com.au>
17337         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17338         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17339         the first form.  And insert a blank line after ";;; Code" since
17340         that's usual style.  (Bug#4612)
17342         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17344 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17346         * minibuffer.el (completion-table-with-terminator): Properly implement
17347         boundaries, in case `terminator' appears in the suffix.
17348         (completion--embedded-envvar-table): Don't return boundaries if
17349         there's no valid completion.  Simplify.
17350         (completion-file-name-table): New completion table extracted from
17351         completion--file-name-table.
17352         (completion--file-name-table): Use it.
17353         (read-file-name-predicate): Declare obsolete.
17354         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17355         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17356         completion-file-name-table, and use the `pred' argument.
17357         * files.el (locate-file-completion-table): Use the `pred' arg rather
17358         than read-file-name-predicate.
17359         (abbreviate-file-name): Use \` rather than ^ for BOS.
17361 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
17363         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17364         vc-responsible-backend to register, it causes problems.
17366 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17368         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17370 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
17372         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17373         (tramp-smb-handle-file-attributes): Use it.
17374         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17375         (tramp-smb-handle-insert-directory): Use `mapc' rather than
17376         `mapcar'.  Use `tramp-smb-get-stat-capability'.
17377         Add `dired-filename' text properties.
17378         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17379         (tramp-smb-maybe-open-connection): Simplify check for smbclient
17380         version.
17382 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17384         * subr.el (read-key-delay): Reduce to 0.01.
17385         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17386         (bug#4751).
17388 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17390         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17392         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17393         (Info-menu): Remove unused vars `last' and `completions'.
17394         (Info-index-nodes): Remove unused var `node'.
17396         * info.el (Info-complete-menu-item): Use complete-with-action.
17398 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
17400         Make vc-annotate work through copies and renames.
17401         * vc-annotate.el (vc-annotate-extract-revision-at-line):
17402         Return the file name too.
17403         (vc-annotate-revision-at-line)
17404         (vc-annotate-find-revision-at-line)
17405         (vc-annotate-revision-previous-to-line)
17406         (vc-annotate-show-log-revision-at-line): Update to get the file
17407         name from vc-annotate-extract-revision-at-line.
17408         (vc-annotate-show-diff-revision-at-line-internal): Change the
17409         argument to mean whether to show a file diff or not.  Get the file
17410         name from vc-annotate-extract-revision-at-line.
17411         (vc-annotate-show-diff-revision-at-line):
17412         Update vc-annotate-show-diff-revision-at-line call.
17413         (vc-annotate-warp-revision): Add an optional file argument.
17415         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17416         (vc-git-annotate-extract-revision-at-line): Also return the file
17417         name if found.
17419         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17420         command.  Remove unused code.
17421         (vc-hg-annotate-re): Update to match --follow output.
17422         (vc-hg-annotate-extract-revision-at-line): Also return the file
17423         name if found.
17425         * vc.el: Update annotate-extract-revision-at-line documentation.
17427 2009-10-18  Kevin Ryde  <user42@zip.com.au>
17429         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17430         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17432         * net/browse-url.el (browse-url): Identify alist with "consp and
17433         not functionp" and let all other things go down the `apply' leg,
17434         as suggested by Stefan.  (Further to bug#4531.)
17436 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
17438         * minibuffer.el (read-file-name): Check for repeat before putting
17439         a default argument in file-name-history (Bug#4657).
17441         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17442         read syntax (Bug#4737).
17444         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17446 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
17448         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17449         (html-tag-alist, html-tag-help): Add descriptions for undocumented
17450         entries and make note of obsolete tags.
17452 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17454         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17456 2009-10-18  Glenn Morris  <rgm@gnu.org>
17458         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17459         grep, so that binary files (eg international/uni-bidi.el) can match.
17460         Remove test for "UnicodeData" files, since it is hopefully unnecessary
17461         now, and in any case the file header format has changed.
17463 2009-10-17  Glenn Morris  <rgm@gnu.org>
17465         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17466         (flyspell-get-word, flyspell-large-region)
17467         (flyspell-auto-correct-previous-word): Doc/error message fixes.
17469 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
17471         * Makefile.in (ELCFILES): Add ede/shell.
17473 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
17475         * term/common-win.el (x-colors): Purecopy it.
17477 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17479         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17480         permissive for when the buffer is empty.
17481         (tar-header-block-tokenize): Decode the username and groupname.
17482         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17484 2009-10-17  Eric Ludlam  <zappo@gnu.org>
17486         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17487         contains multibyte characters, choose first applicable coding
17488         system automatically.
17490 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17492         * international/mule-cmds.el (select-safe-coding-system): If the file
17493         has a coding cookie, use it regardless of any other setting (bug#4712).
17495 2009-10-17  Glenn Morris  <rgm@gnu.org>
17497         * foldout.el (foldout-mouse-swallow-events):
17498         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17500         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17501         (dired-keep-marker-copy, dired-keep-marker-hardlink)
17502         (dired-keep-marker-symlink, dired-dwim-target)
17503         (dired-copy-preserve-time): Do not autoload these defcustoms.
17505         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17506         messages from messing up the file coding.  (Bug#4623)
17508 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
17510         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17511         if no match is found for the current dictionary.  (Bug#4578)
17513         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17514         optional, since that is how it is documented, and this is often called
17515         with a nil argument.  (Bug#4577)
17516         (flyspell-external-point-words, flyspell-auto-correct-word)
17517         (flyspell-correct-word-before-point, flyspell-word-search-forward)
17518         (flyspell-word-search-backward): Remove nil argument in calls to
17519         flyspell-get-word, since it is not needed now.
17521 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
17523         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
17525 2009-10-16  Glenn Morris  <rgm@gnu.org>
17527         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17529 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
17531         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17532         (ange-ftp-file-size): New function.
17533         (ange-ftp-file-attributes): Use it.
17535 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
17537         * net/tramp-smb.el (tramp-smb-version): New defvar.
17538         (tramp-smb-maybe-open-connection): Use it, in order to avoid
17539         repeated checks.
17541 2009-10-16  Glenn Morris  <rgm@gnu.org>
17543         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17544         Maybe copy some custom properties from old to new name.  (Bug#4706)
17546 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
17548         * subr.el (error, sit-for, start-process-shell-command)
17549         (start-file-process-shell-command): Set the calling convention
17550         after the function definition.
17552 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17554         * subr.el (error, sit-for, start-process-shell-command)
17555         (start-file-process-shell-command): Use the new
17556         set-advertised-calling-convention feature.
17558 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
17560         * international/ucs-normalize.el (ucs-normalize-version):
17561         Change to 1.2.
17562         (check-range): Adjust for Unicode 5.2.
17564 2009-10-15  Juri Linkov  <juri@jurta.org>
17566         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17567         to the `menu-item' format.
17569 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
17571         * net/tramp.el (tramp-replace-environment-variables): Do not fail
17572         if the environment variable does not exist.
17574         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17575         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17576         parameter.
17577         (tramp-smb-handle-add-name-to-file)
17578         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17579         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17580         (tramp-smb-handle-file-attributes)
17581         (tramp-smb-do-file-attributes-with-stat)
17582         (tramp-smb-handle-file-local-copy)
17583         (tramp-smb-handle-insert-directory)
17584         (tramp-smb-handle-make-directory)
17585         (tramp-smb-handle-make-directory-internal)
17586         (tramp-smb-handle-make-symbolic-link)
17587         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17588         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17589         (tramp-smb-maybe-open-connection): Apply the changed parameters.
17590         (tramp-smb-read-file-entry): Read Disk names in compressed format.
17591         Handle long file names.
17592         (tramp-smb-get-cifs-capabilities): Check, whether the connection
17593         process is running.
17594         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17595         Read share names with "-g" option.
17597 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
17599         * net/rcirc.el (rcirc-view-log-file): New command.
17600         (rcirc-track-minor-mode-map): Remove C-c ` binding.
17601         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17602         specified.
17604 2009-10-15  Glenn Morris  <rgm@gnu.org>
17606         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17607         from the second command-line argument.
17608         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17609         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17610         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17611         w32-batch-update-autoloads.
17612         * emacs-lisp/autoload.el (autoload-make-program): New variable.
17613         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17615         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17616         the headers cannot be located.  Simplify, subtracting superflous
17617         save-excursions.
17619 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17621         Replace completion-base-size by completion-base-position to fix bugs
17622         such as (bug#4699).
17623         * simple.el (completion-base-position): New var.
17624         (completion-base-size): Mark as obsolete.
17625         (choose-completion): Make it work for mouse events as well.
17626         Pass the new base-position to choose-completion-string.
17627         (choose-completion-guess-base-position): New function, extracted from
17628         choose-completion-delete-max-match.
17629         (choose-completion-delete-max-match): Use it.  Make obsolete.
17630         (choose-completion-string): Use the new base-position info.
17631         (completion-root-regexp): Delete.
17632         (completion-setup-function): Preserve completion-base-position.
17633         Eliminate obsolete base-size manipulation.
17634         * minibuffer.el (display-completion-list): Don't mess with base-size.
17635         (minibuffer-completion-help): Set completion-base-position instead.
17636         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17637         choose-completion.
17638         * textmodes/bibtex.el (bibtex-complete):
17639         * emacs-lisp/crm.el (crm--choose-completion-string):
17640         Adjust to new calling convention.
17641         * complete.el (partial-completion-mode): Use minibufferp to avoid
17642         bumping into incompatible change to choose-completion-string-functions.
17643         * ido.el (ido-choose-completion-string): Make its calling convention
17644         more permissive.
17645         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17646         base-size manipulation.
17647         (comint-dynamic-list-input-ring): Use dotimes and push.
17648         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17649         fundamental-mode.  Use `or'.
17651 2009-10-14  Juri Linkov  <juri@jurta.org>
17653         * misearch.el (multi-isearch-next-buffer-from-list)
17654         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
17656 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17658         * Makefile.in (compile-onefile): Load `bytecomp' rather than
17659         `bytecomp.el'.
17661         * minibuffer.el (completion-pcm--merge-completions): Make sure the
17662         string we return is all made up of text from the completions rather
17663         than part from the completions and part from the input (bug#4219).
17665         * ido.el (ido-everywhere): Use define-minor-mode.
17667         * buff-menu.el (list-buffers, ctl-x-map):
17668         Mark the entry points with ;;;###autoload cookies.
17670 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
17672         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17673         correctly in the detached head case.
17674         (vc-git-print-log): Remove unused binding.
17676         * vc.el (vc-responsible-backend): When a directory is passed for
17677         for registration create a VC repository if no backend is
17678         responsible for the directory argument.
17679         (vc-deduce-fileset): Tell vc-responsible-backend to register.
17681         * vc.el: Move comments about RCS and SCCS ...
17682         * vc-rcs.el:
17683         * vc-sccs.el: ... here, respectively.
17685 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17687         * minibuffer.el (completion--file-name-table): Return nil if there's
17688         no file completion, even if substitute-in-file-name changed
17689         the string (bug#4708).
17691 2009-10-13  Juri Linkov  <juri@jurta.org>
17693         * files-x.el (read-file-local-variable-value): Don't filter out
17694         minor modes from mode name completion (bug#4664).
17696 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17698         * international/mule-cmds.el (ucs-names): Remove exclusion of
17699         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17701 2009-10-13  Kenichi Handa  <handa@m17n.org>
17703         * international/uni-name.el: Regenerated.
17705 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17707         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
17708         should be automatically buffer-local, but isn't.)
17710 2009-10-12  Sam Steingold  <sds@gnu.org>
17712         * progmodes/compile.el (compilation-next-error-function): Fix the
17713         timestamps if the buffer has been visited before.
17714         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17715         non-anchored patterns, like the perl one (bug#3928).
17717 2009-10-12  Glenn Morris  <rgm@gnu.org>
17719         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17720         Let-bind `size'.
17722 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
17724         * proced.el (proced-unload-function): New function.
17726         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17727         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17728         Doc fix.
17730         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17732 2009-10-11  Juri Linkov  <juri@jurta.org>
17734         * files-x.el (read-file-local-variable-value):
17735         Provide default value only for bound variables (bug#4664).
17737 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
17739         * net/tramp.el (tramp-local-host-p): Function shall return nil for
17740         connection methods like smb.
17742         * net/tramp-cache.el (tramp-flush-connection-property): The hash
17743         can be empty.
17745         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17746         (tramp-smb-file-name-handler-alist): Add handlers for
17747         `add-name-to-file', `make-symbolic-link'.
17748         (tramp-smb-handle-add-name-to-file)
17749         (tramp-smb-do-file-attributes-with-stat)
17750         (tramp-smb-handle-make-symbolic-link)
17751         (tramp-smb-get-cifs-capabilities): New defuns.
17752         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17753         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17754         (tramp-smb-handle-file-local-copy)
17755         (tramp-smb-handle-make-directory-internal)
17756         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17757         The file name syntax depends on cifs capabilities.
17758         (tramp-smb-handle-file-attributes):
17759         Call `tramp-smb-do-file-attributes-with-stat' if possible.
17760         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17761         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17763 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
17765         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17766         (eieio-defclass): Apply deftype handler and setf-method properties
17767         directly.
17768         (eieio-add-new-slot): Avoid union function from cl library.
17769         (eieio--typep): New function.
17770         (eieio-perform-slot-validation): Use it.
17772 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17774         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17775         Update documentation to refer to the variables documented in r1.135.
17776         (Bug#4188)
17778 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17780         * bookmark.el (Info-suffix-list): Remove this unused variable.
17781         (bookmark-current-point): Remove this obsolete variable.
17782         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17783         Adjust for removal of bookmark-current-point.
17785         (bookmarks-already-loaded, bookmark-current-buffer)
17786         (bookmark-yank-point): Document.  (Bug#4188)
17788 2009-10-10  Glenn Morris  <rgm@gnu.org>
17790         * frame.el (frame-height): Doc fix.
17792         * calendar/calendar.el (calendar-split-width-threshold): New option.
17793         (calendar-basic-setup): Use calendar-split-width-threshold.
17795 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
17797         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17798         Ideographic Supplement" range (U+1F200..U+1F2FF).
17800 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17802         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17803         since the list will have been rebuilt anyway.  (Bug#4349)
17805 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17807         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17808         (bookmark-bmenu-execute-deletions): Don't save here, as
17809         bookmark-delete will now do so if necessary.
17810         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17811         (Bug#4348)
17813 2009-10-09  Glenn Morris  <rgm@gnu.org>
17815         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17817 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17819         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17820         (bookmark-jump-other-window): Just invoke bookmark-jump with new
17821         argument now, so the two function's behaviors will match.  (Bug#3645)
17823 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
17825         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17826         (tramp-file-name-real-host, tramp-file-name-port):
17827         Apply `save-match-data'.
17829         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17830         case both directories are remote.
17831         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17832         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17834 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17836         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17838 2009-10-07  Glenn Morris  <rgm@gnu.org>
17840         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17841         of concat.
17843 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17845         * files-x.el (read-file-local-variable): Include some
17846         non-user-variables in the completion table (bug#4664).
17848 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
17850         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17851         message.
17853         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17854         (tramp-smb-file-name-handler-alist): Add handler for
17855         `copy-directory', `expand-file-name', `set-file-modes'.
17856         (tramp-smb-handle-copy-directory)
17857         (tramp-smb-handle-expand-file-name)
17858         (tramp-smb-handle-set-file-modes): New defuns.
17859         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17860         (tramp-smb-handle-file-attributes): Simplify check for retrieving
17861         entry.
17862         (tramp-smb-handle-insert-directory): Don't flush the cache.
17863         (tramp-smb-maybe-open-connection): Check for samba client and
17864         server versions.
17866 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
17868         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17869         to not error out of search for "^lisp=" fails.
17871 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17873         * makefile.w32-in (WINS_UPDATES): New macro.
17874         (custom-deps, finder-data, autoloads): Use it.
17876 2009-10-07  Glenn Morris  <rgm@gnu.org>
17878         * Makefile.in (autoloads): Revert previous change.
17879         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17880         the list of preloaded files passed on the command-line, get
17881         it from src/Makefile.
17883         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17884         show the original buffer rather than a random one.
17886 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
17888         * help.el (describe-no-warranty): Place point in a slightly better
17889         position in the GPLv3 text.
17891 2009-10-06  Sam Steingold  <sds@gnu.org>
17893         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17894         the comm attribute is present before calling regexp-quote.
17896 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
17898         * play/animate.el (animate-string): For good effect, make sure
17899         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17901         * play/animate.el (animate-sequence, animate-birthday-present):
17902         * misc.el (butterfly): Don't set `indent-tabs-mode'.
17904 2009-10-06  Glenn Morris  <rgm@gnu.org>
17906         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17908         * emacs-lisp/autoload.el (autoload-excludes): New variable.
17909         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17910         (batch-update-autoloads): Process a string value of autoload-excludes,
17911         set during the build process.
17912         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
17914         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17915         inside with-parsed...  macro so that `v' is defined.
17917         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17918         * progmodes/fortran.el (fortran-end-of-block)
17919         (fortran-beginning-of-block):
17920         Also push mark in the macro case.
17922         * emerge.el (emerge-show-file-name):
17923         * calc/calc.el (calc-quit):
17924         * calc/calc-misc.el (calc-big-or-small):
17925         * calc/calc-graph.el (calc-graph-view):
17926         * calc/calc-ext.el (calc-reset):
17927         * calendar/calendar.el (calendar-basic-setup):
17928         Use window-full-height-p.
17930         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17931         header we don't understand, don't insert another.  (Bug#4624)
17932         If changing mime charset, insert the new one in the right place.
17934 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
17936         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17937         (cal-tex-cursor-month): Correctly increment the end date for diary and
17938         holiday listing.  (Bug#4626)
17940 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17942         * help-fns.el (describe-function-1): Don't burp if the function is not
17943         a symbol.
17945 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
17947         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17948         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17949         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17950         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17952         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17953         (eieio-default-superclass): Reflow docstrings.
17954         (this, class-option-assoc, defclass, eieio-class-un-autoload)
17955         (eieio-unbind-method-implementations, defmethod)
17956         (eieio-validate-slot-value, eieio-validate-class-slot-value)
17957         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17958         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17959         (eieio-slot-originating-class-p, eieio-slot-name-index)
17960         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17961         (constructor, initialize-instance, no-next-method, object-print)
17962         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17963         Fix typos in docstrings.
17964         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17965         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17966         (next-method-p): Doc fixes.
17967         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17968         Fix typos in error messages.
17969         (eieio-defmethod): Fix typo in description of generic method.
17971         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17972         (eieio-persistent-save-interactive, slot-missing):
17973         Fix typos in docstrings.
17974         (eieio-instance-inheritor-slot-boundp): Doc fix.
17976         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17977         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17979         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17980         (eieio-custom-object-apply-reset):
17981         Fix typos in docstrings and error messages.
17983         * emacs-lisp/eieio-datadebug.el (data-debug-show):
17984         Fix typo in docstring.
17986         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17987         (eieio-browse-tree): Doc fix.
17988         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17989         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17990         Fix typos in docstrings.
17992         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17993         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17994         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17995         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17996         Reflow docstrings.
17998 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
18000         * vc-hg.el (log-view-vc-backend): Declare for compiler.
18001         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18002         Set log-view-vc-backend so that diff can work.
18004         * log-view.el (log-view-diff): Use vc-diff-internal instead of
18005         vc-version-diff.
18006         (vc-diff-internal): Autoload this instead of vc-version-diff.
18008 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
18010         * simple.el (eval-expression): Doc fix.
18012         * progmodes/cwarn.el (cwarn-mode): Doc fix.
18014 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
18016         * files.el (directory-files-no-dot-files-regexp): New defconst.
18017         (delete-directory): Use it.
18018         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
18020         * net/tramp.el (tramp-verbose): Fix docstring.
18021         (tramp-methods): Add recursive option to `tramp-copy-args'.
18022         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
18023         "scp1_old", "scp2_old", "rsync", "rsyncc".
18024         (tramp-default-method): Check also for `auth-source-user-or-password'.
18025         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18026         Add handler for `copy-directory'.
18027         (tramp-handle-copy-directory): New defun.
18028         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18029         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18030         Optimize sent command.
18032 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18034         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18035         window if necessary.
18037         * calendar/calendar.el (calendar-basic-setup): Don't call
18038         switch-to-buffer in a dedicated window.
18040 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
18042         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18043         don't do anything related to relocating, just return nil.
18044         (bookmark-error-no-filename): New error.
18045         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18046         bookmark has no file.  Don't even attempt to handle things that
18047         are not files; the whole point of custom handlers is to keep that
18048         knowledge elsewhere anyway.  Tighten some comments.
18049         (bookmark-file-or-variation-thereof): Remove now-unused function.
18050         (bookmark-location): Doc string fix.
18051         (Bug#4250)
18053 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18055         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18056         don't use a file dialog, because they usually don't know how to read
18057         a directory target from the user.  (Bug#4230)
18058         Also, make sure the prompt can display directories as well as files.
18060 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18062         * bookmark.el (bookmark-set, bookmark-buffer-name):
18063         Improve doc strings.  (Bug#1193)
18065 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18067         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18068         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18069         (bookmark-get-annotation, bookmark-set-annotation)
18070         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18071         (bookmark-set-position, bookmark-get-front-context-string)
18072         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18073         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18074         (bookmark-jump-other-window, bookmark-handle-bookmark)
18075         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18076         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18077         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18078         Improve doc strings to say whether bookmark can be a string or
18079         a record or both, and make other consistency and clarity fixes.
18080         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18081         (bookmark-default-annotation-text, bookmark-yank-word)
18082         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18083         (bookmark-import-new-list, bookmark-maybe-rename)
18084         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18085         (bookmark-bmenu-bookmark): Give these doc strings.
18086         (bookmark-bmenu-check-position): Give this a doc string, but also
18087         add a FIXME comment about how the function may be pointless.
18088         (bookmark-default-handler): Rework doc string and change a
18089         parameter name, to clarify that this takes a bookmark record
18090         not a bookmark name.
18091         (bookmark-set): Change a parameter name to indicate its meaning,
18092         and improve the doc string a bit.
18093         (Bug#4188)
18095 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18097         * bookmark.el (bookmark-alist): Document the new `handler' element
18098         in the param alist.
18099         (bookmark-make-record-function): Adjust documentation for above.
18100         (Bug#4193)
18102 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18104         * info.el (Info-bookmark-make-record): Document this function.
18105         (Info-bookmark-jump): Document with a doc string, not just a comment.
18106         (Bug#4203)
18108 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
18110         * files.el (copy-directory): New defun.
18112         * dired-aux.el (dired-copy-file-recursive): Use it.
18114 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
18116         * files-x.el (modify-dir-local-variable)
18117         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18118         docstrings.
18120         * recentf.el (recentf-unload-function): New function.
18122 2009-10-04  Glenn Morris  <rgm@gnu.org>
18124         * window.el (window-full-height-p): Add doc string.
18126 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
18128         * window.el (window-full-height-p): New function.  (Bug#4543)
18130 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
18132         * vc.el: Remove commented out code.
18133         (vc-derived-from-dir-mode): Remove, unused.
18134         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18136 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
18138         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18139         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
18140         there could be recursive loading when `default-directory' is a
18141         remote file name.  (Bug#4614)
18143 2009-10-03  Glenn Morris  <rgm@gnu.org>
18145         * calendar/calendar.el (calendar-basic-setup): Handle the case where
18146         the frame is wide.
18147         (calendar-generate-window): Test for shrinkability rather than width.
18149         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18150         reusing existing buffers, in case we happen to visit two files with the
18151         same basename.  (Bug#4593)
18153 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18155         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18156         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18157         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18158         subdirs of cedet as well.
18159         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18161 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18163         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18164         Obey advertised-signature-table.
18166         * help-fns.el (help-function-arglist): Don't check
18167         advertised-signature-table.
18168         (describe-function-1): Do it here instead so it also applies to subrs.
18170 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
18172         * simple.el (start-file-process): Say in the doc-string, that file
18173         handlers might not support pty association, if PROGRAM is nil.
18175         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18176         HOST and USER are strings.  They are nil, when there are
18177         incomplete entries in ~/.netrc, for example.
18178         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
18179         root directory ("device busy" error otherwise).
18181         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18182         Flush file properties of created directory.
18184 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18186         * makefile.w32-in (WINS_BASIC): Remove cedet.
18187         (WINS_CEDET): Add cedet.
18188         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18190 2009-10-02  Kevin Ryde  <user42@zip.com.au>
18192         * net/browse-url.el (browse-url): Pass any symbol in
18193         browse-url-browser-function to `apply', since if you've mistakenly put
18194         an unbound symbol then the error is clearer.  (Bug#4531)
18196 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18198         * allout.el (allout-init, allout-back-to-current-heading)
18199         (allout-beginning-of-current-entry, allout-ascend-to-depth)
18200         (allout-ascend, allout-up-current-level, allout-end-of-level)
18201         (allout-previous-visible-heading, allout-forward-current-level)
18202         (allout-backward-current-level, allout-show-children):
18203         * apropos.el (apropos-describe-plist):
18204         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18205         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18206         * completion.el (add-completion, add-permanent-completion):
18207         * descr-text.el (describe-text-category, describe-char):
18208         * desktop.el (desktop-lazy-abort):
18209         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18210         * dired.el (dired-build-subdir-alist):
18211         * ediff.el (ediff-version):
18212         * elide-head.el (elide-head, elide-head-show):
18213         * emerge.el (emerge-version):
18214         * env.el (getenv):
18215         * face-remap.el (variable-pitch-mode):
18216         * faces.el (describe-face):
18217         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18218         (dired-at-point):
18219         * files.el (find-file-existing, auto-save-mode):
18220         * font-lock.el (font-lock-fontify-buffer):
18221         * help-fns.el (describe-function, describe-variable)
18222         (describe-syntax, describe-categories):
18223         * help.el (view-lossage, describe-bindings, describe-key)
18224         (describe-mode):
18225         * hexl.el (hexl-current-address):
18226         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18227         * info.el (Info-goto-emacs-key-command-node):
18228         * log-edit.el (log-edit-insert-cvs-template)
18229         (log-edit-insert-cvs-rcstemplate):
18230         * menu-bar.el (menu-bar-mode):
18231         * mouse.el (mouse-appearance-menu):
18232         * newcomment.el (comment-indent-new-line):
18233         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18234         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18235         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18236         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18237         * recentf.el (recentf-mode):
18238         * savehist.el (savehist-mode, savehist-save):
18239         * shadowfile.el (shadow-copy-files):
18240         * simple.el (kill-ring-save, next-line, previous-line)
18241         (normal-erase-is-backspace-mode):
18242         * strokes.el (strokes-update-window-configuration)
18243         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18244         (strokes-xpm-for-stroke):
18245         * time.el (emacs-uptime, emacs-init-time):
18246         * tutorial.el (tutorial--describe-nonstandard-key)
18247         (tutorial--detailed-help):
18248         * type-break.el (type-break-mode)
18249         (type-break-mode-line-message-mode, type-break-query-mode)
18250         (type-break-guesstimate-keystroke-threshold):
18251         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18252         * version.el (emacs-version):
18253         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18254         * winner.el (winner-mode):
18255         * calendar/timeclock.el (timeclock-in, timeclock-out)
18256         (timeclock-status-string, timeclock-change)
18257         (timeclock-workday-remaining-string)
18258         (timeclock-workday-elapsed-string)
18259         (timeclock-when-to-leave-string):
18260         * calendar/todo-mode.el (todo-add-category):
18261         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18262         * emacs-lisp/autoload.el (update-file-autoloads):
18263         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18264         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18265         (checkdoc-message-text, checkdoc-defun):
18266         * emacs-lisp/debug.el (debugger-list-functions):
18267         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18268         * emacs-lisp/eieio-opt.el (eieio-describe-class)
18269         (eieio-describe-generic):
18270         * emacs-lisp/lisp-mnt.el (lm-synopsis):
18271         * emacs-lisp/shadow.el (list-load-path-shadows):
18272         * emulation/cua-base.el (cua-mode):
18273         * emulation/edt.el (edt-set-scroll-margins):
18274         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18275         (tpu-toggle-regexp, tpu-toggle-search-direction)
18276         (tpu-toggle-rectangle, tpu-toggle-control-keys):
18277         * emulation/tpu-extras.el (tpu-set-scroll-margins):
18278         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18279         (viper-set-parsing-style-toggling-macro)
18280         (viper-set-emacs-state-searchstyle-macros):
18281         * emulation/viper.el (viper-set-hooks):
18282         * eshell/esh-mode.el (eshell-truncate-buffer):
18283         * international/mule-cmds.el (prefer-coding-system)
18284         (describe-input-method, describe-language-environment):
18285         * international/mule-diag.el (list-character-sets)
18286         (describe-character-set, describe-coding-system)
18287         (describe-fontset, list-fontsets, list-input-methods):
18288         * mail/sendmail.el (mail-signature):
18289         * net/ange-ftp.el (ange-ftp-copy-file):
18290         * net/browse-url.el (browse-url):
18291         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18292         * net/quickurl.el (quickurl-add-url):
18293         * net/rcirc.el (names, topic):
18294         * net/xesam.el (xesam-mode):
18295         * play/5x5.el (5x5-new-game):
18296         * play/yow.el (apropos-zippy):
18297         * progmodes/ada-mode.el (ada-mode-version):
18298         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18299         (f90-end-of-block)
18300         (f90-beginning-of-block):
18301         * progmodes/fortran.el (fortran-end-of-block)
18302         (fortran-beginning-of-block):
18303         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18304         * progmodes/python.el (python-describe-symbol, python-shell):
18305         * term/ns-win.el (ns-print-buffer):
18306         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18307         * textmodes/flyspell.el (flyspell-mode-on):
18308         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18309         (pages-directory-for-addresses):
18310         * textmodes/table.el (table-recognize-cell)
18311         (table-query-dimension, table-generate-source)
18312         (table-insert-sequence, table--warn-incompatibility):
18313         * textmodes/tex-mode.el (tex-validate-buffer):
18314         * textmodes/texinfmt.el (texinfmt-version)
18315         (texinfo-format-buffer):
18316         Use `called-interactively-p' instead of `interactive-p'.
18318 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18320         * image-mode.el (image-toggle-display):
18321         * emacs-lisp/elp.el (elp-instrument-function):
18322         * emacs-lisp/advice.el (ad-make-advised-definition):
18323         * emacs-lisp/easy-mmode.el (define-minor-mode):
18324         * net/browse-url.el (browse-url-maybe-new-window):
18325         * progmodes/sh-script.el (sh-learn-buffer-indent):
18326         Pass new argument 'any to `called-interactively-p'.
18328 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
18330         * international/uni-bidi.el:
18331         * international/uni-category.el:
18332         * international/uni-combining.el:
18333         * international/uni-comment.el:
18334         * international/uni-decimal.el:
18335         * international/uni-decomposition.el:
18336         * international/uni-digit.el:
18337         * international/uni-lowercase.el:
18338         * international/uni-mirrored.el:
18339         * international/uni-name.el:
18340         * international/uni-numeric.el:
18341         * international/uni-old-name.el:
18342         * international/uni-titlecase.el:
18343         * international/uni-uppercase.el:
18344         Regenerate from Unicode 5.2.0 data.
18346 2009-10-01  Glenn Morris  <rgm@gnu.org>
18348         * Makefile.in (ELCFILES): Regenerate.
18350 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18352         * subr.el (interactive-p): Mark obsolete.
18353         (called-interactively-p): Make the optional-ness of `kind' obsolete.
18354         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18355         advertised-signature-table for subroutines as well.
18357         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18358         (set-advertised-calling-convention): New function.
18359         (make-obsolete, define-obsolete-function-alias)
18360         (make-obsolete-variable, define-obsolete-variable-alias):
18361         Make the optional-ness of `when' obsolete.
18362         (define-obsolete-face-alias): Make `when' non-optional.
18363         * help-fns.el (help-function-arglist):
18364         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18365         Use advertised-signature-table.
18367 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
18369         * files.el (delete-directory): New defun.  The original function
18370         in fileio.c has been renamed to `delete-directory-internal'.
18372         * dired.el (dired-delete-file): Call `delete-directory' with
18373         RECURSIVE parameter.
18375         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18376         parameter RECURSIVE.  Implementation is missing.
18378         * net/tramp.el (tramp-handle-make-directory): Flush upper
18379         directory's file properties.
18380         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18381         (tramp-handle-dired-recursive-delete-directory): Flush directory
18382         properties after the remove command only.
18384         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18385         Handle optional parameter RECURSIVE.
18387         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18388         Handle optional parameter RECURSIVE.
18390         * net/tramp-smb.el (tramp-smb-errors): Add error message for
18391         connection timeout.
18392         (tramp-smb-handle-delete-directory): Handle optional parameter
18393         RECURSIVE.
18395 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18397         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18398         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18399         (byte-compile-defmacro): Use backquotes.
18401         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18403         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18404         has no associated file.
18405         (vc-resynch-buffer): Use vc-dir-buffers.
18407 2009-10-01  Glenn Morris  <rgm@gnu.org>
18409         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18410         (chart-file-count):
18411         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18412         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18413         * emacs-lisp/eieio-opt.el (eieio-describe-class):
18414         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18415         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18416         (eieio-copy-parents-into-subclass, make-instance, class-children)
18417         (eieio-generic-form):
18419         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18420         match-data.  (Bug#4555).
18422         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18423         rather than parsing it as a regexp.  This relaxes the layout
18424         requirements and makes errors easier to detect.
18425         (check-declare-verify): Check file is regular.
18426         (check-declare-directory): Doc fix.
18427         * subr.el (declare-function): Doc fix.
18429         * ibuffer.el (ibuffer-format-qualifier):
18430         * isearch.el (hi-lock-regexp-okay):
18431         * calc/calc.el (math-zerop):
18432         * mail/uce.el (rmail-msgbeg, rmail-msgend):
18433         * term/w32-win.el (setup-default-fontset, set-fontset-font):
18434         Remove unused declarations.
18436 2009-09-30  Eric Ludlam  <zappo@gnu.org>
18438         * emacs-lisp/eieio.el (boolean-p): Delete.
18440 2009-09-30  Glenn Morris  <rgm@gnu.org>
18442         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18444         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18445         filename is not a string.
18447 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
18449         * files.el (safe-local-eval-forms): Fix typo.
18451 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18453         * vc-hooks.el (vc-dir-buffers): New var.
18454         (vc-state-refresh): New function.
18455         (vc-state): Use it.
18456         (vc-after-save): Always ask the backend to recompute the new state.
18457         Always call vc-dir if necessary, using vc-dir-buffers.
18458         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18459         Use vc-dir-buffers.
18460         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18461         (vc-dir-prepare-status-buffer, vc-dir-update)
18462         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18463         Don't call expand-file-name on default-directory.
18465 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18467         * speedbar.el (speedbar-item-delete):
18468         * calc/calc-prog.el (calc-kbd-if):
18469         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18471         * epa.el (epa-key-list-mode-map):
18472         * hi-lock.el (hi-lock-menu): Fix typos in menus.
18474         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18475         (hs-show-hook): Fix typo in docstring.
18477 2009-09-29  Glenn Morris  <rgm@gnu.org>
18479         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18480         file-name-nondirectory call preventing location of cedet files.
18481         (check-declare-verify): Use literal search rather than re-search.
18482         Add basic defmethod and defclass, and define-overloadable-function.
18484         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18485         Use tramp-compat-file-attributes rather than nonexistent
18486         tramp-compat-handle-file-attributes.
18488         * Makefile.in (lisptagsfiles4): New.
18489         (AUTOGENEL): Add cedet loaddefs files.
18490         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18491         (update-elclist, compile-always, backup-compiled-files)
18492         (bootstrap-clean): Add yet another directory level.
18493         (update-elclist): Use LC_COLLATE rather than COLLATE.
18494         (ELCFILES): Update, via `make update-elclist'.
18496 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18498         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18499         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18500         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18502 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18504         * Makefile.in (lisptagsfiles3): Define.
18505         (TAGS, TAGS-LISP): Use it.
18506         (update-elclist): Add third directory level to look for elc files.
18507         (compile-always): Likewise.
18508         (backup-compiled-files): Likewise.
18509         (bootstrap-clean): Likewise.
18510         (ELCFILES): Update.
18512 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
18514         * Makefile.in (ELCFILES): Add CEDET files.
18516 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
18518         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18520         * net/tramp.el (top): Require tramp-imap.
18522         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18523         Use `tramp-compat-handle-file-attributes'.
18525 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
18527         * net/tramp-imap.el: New package.
18529 2009-09-28  Eric Ludlam  <zappo@gnu.org>
18531         * emacs-lisp/chart.el:
18532         * emacs-lisp/eieio-base.el:
18533         * emacs-lisp/eieio-comp.el:
18534         * emacs-lisp/eieio-custom.el:
18535         * emacs-lisp/eieio-datadebug.el:
18536         * emacs-lisp/eieio-opt.el:
18537         * emacs-lisp/eieio-speedbar.el:
18538         * emacs-lisp/eieio.el: New files.
18540 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18542         * whitespace.el (whitespace-trailing-regexp)
18543         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18544         Fix doc string.
18546 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
18548         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18549         menu.
18551         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18552         menu-bar-ediff-menu.
18554         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18555         define-overloadable-function.
18557         * progmodes/autoconf.el: Provide autoconf as well, so that this
18558         file can be `require'd.
18560         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18562         * emacs-lisp/autoload.el (generated-autoload-feature)
18563         (generated-autoload-load-name): New vars.
18564         (autoload-rubric, autoload-generate-file-autoloads): Use them.
18565         (make-autoload): Recognize define-overloadable-function and
18566         defclass forms (for EIEIO).
18568         * Makefile.in (update-subdirs): Exclude cedet directory.
18570 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
18572         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
18574         * faces.el: Default light-background background for region face to
18575         ns_selection_color under NS.
18577 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
18579         * net/imap-hash.el: New library, see NEWS.
18581         * Makefile.in (ELCFILES): Add imap-hash.el.
18583 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18585         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18586         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18587         * help-macro.el (make-help-screen): Avoid using an ambiguous function
18588         definition where the docstring could be taken for the return value.
18590 2009-09-26  Glenn Morris  <rgm@gnu.org>
18592         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18593         Add option to only show images below a certain size.
18594         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18595         save-excursion calls.
18597 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
18599         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18600         subdirectories) and eieio.
18602 2009-09-26  Alan Mackenzie  <acm@muc.de>
18604         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18605         Correct buggy bracketing.  (Bug#4289)
18607         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18608         character constants (as case labels).  (Bug#4289)
18610 2009-09-25  Juri Linkov  <juri@jurta.org>
18612         * files.el (safe-local-eval-forms): Allow time-stamp in
18613         before-save-hook (Bug#4554).
18615 2009-09-25  Drew Adams  <drew.adams@oracle.com>
18617         * menu-bar.el (list-buffers-directory): Doc fix.
18619 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18621         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18622         Try and avoid copying twice the same paragraph.
18623         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18624         Remove save-excursion.
18625         (log-edit-changelog-entry): Do it here instead.
18627 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
18629         * bs.el (bs--get-file-name): Use `list-buffers-directory'
18630         when available, instead of hardcoding mode names.  Doc fix.
18632         * menu-bar.el (list-buffers-directory): Add docstring.
18633         Make automatically buffer-local.
18635         * dired.el (dired-mode):
18636         * files.el (cd-absolute):
18637         * pcvs.el (cvs-temp-buffer):
18638         * pcvs-util.el (cvs-get-buffer-create):
18639         * shell.el (shell-mode):
18640         * vc-dir.el (vc-dir-mode):
18641         Don't make `list-buffers-directory' buffer local.
18643 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
18645         * comint.el (comint-exec, comint-run, make-comint):
18646         Doc fixes (Bug#4542).
18648 2009-09-25  Glenn Morris  <rgm@gnu.org>
18650         * mail/rmailmm.el (rmail-mime): New custom group.
18651         Move all defcustoms in this file into this group.
18652         (rmail-mime-media-type-handlers-alist): Revert previous change.
18653         (rmail-mime-show-images): New option.
18654         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18655         references to it, since it wasn't actually used for anything.
18656         (rmail-mime-insert-image): New function.
18657         (rmail-mime-image): Use rmail-mime-insert-image.
18658         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18659         obey the value of `rmail-mime-show-images' option.  Print the size of
18660         attachments.
18662 2009-09-25  David Engster  <deng@randomsample.de>
18664         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
18666 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18668         * whitespace.el: Does not highlight trailing spaces While point is
18669         at end of line.  Does not highligt spaces at beginning of buffer
18670         while point is at beginning of buffer.  Does not highlight spaces
18671         at end of buffer while point is at end of buffer.  (Bug#4177)
18672         New version 12.0.
18673         (whitespace-display-mappings): Adjust initialization.
18674         (whitespace-point, whitespace-font-lock-refontify): New vars.
18675         (whitespace-color-on, whitespace-color-off): Adjust code.
18676         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18677         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18678         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18680 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
18682         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18684         * textmodes/sgml-mode.el: Remove xml-mode alias.
18686         * files.el (auto-mode-alist, conf-mode-maybe)
18687         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18689 2009-09-24  Alan Mackenzie  <acm@muc.de>
18691         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18692         c-forward-conditionals, but it doesn't move point and doesn't set
18693         the mark.
18694         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18695         (c-down-conditional-with-else, c-backward-conditional)
18696         (c-forward-conditional): Refactor to use c-scan-conditionals.
18698 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18700         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18701         (help-default-arg-highlight): Remove.
18702         (help-highlight-arg): New function.
18703         (help-do-arg-highlight): Use it.
18704         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
18706 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18708         * term.el (term-set-scroll-region, term-handle-ansi-escape):
18709         Undo last change, which didn't fix the problem and introduced others.
18711 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
18713         * progmodes/gdb-mi.el: Don't require speedbar.
18714         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18716 2009-09-24  Glenn Morris  <rgm@gnu.org>
18718         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18720         * term/ns-win.el (ns-reg-to-script): Define for compiler.
18722         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18723         there is no newline after the final mime boundary.  (Bug#4539)
18724         Move markers on insertion so that any buttons inserted don't end up in
18725         the next part of a multipart message.
18726         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
18727         (rmail-mime-bulk-handler): Optionally handle images.
18728         (rmail-mime-image): New button action.
18729         (rmail-mime-image-handler): New function.
18730         (rmail-mime-mode): New mode.
18731         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
18733 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18735         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18736         than just dropping elements from it (bug#4504).
18738         * term.el (term-set-scroll-region): Don't move cursor any more.
18739         (term-handle-ansi-escape): Call term-goto here instead.
18740         Suggested by Ivan Kanis <apple@kanis.eu>.
18742         * term.el: Require CL.
18743         (term-ansi-reset): New function.
18744         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18745         (term-handle-colors-array): Simplify.
18747 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18749         * allout.el (allout-overlay-interior-modification-handler)
18750         (allout-obtain-passphrase):
18751         * epa-file.el (epa-file-write-region):
18752         * ps-print.el (ps-begin-job):
18753         * vc-hooks.el (vc-toggle-read-only):
18754         * vc-rcs.el (vc-rcs-rollback):
18755         * vc-sccs.el (vc-sccs-rollback):
18756         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18757         (vc-version-diff, vc-revert, vc-rollback):
18758         * wdired.el (wdired-check-kill-buffer):
18759         * emacs-lisp/authors.el (authors):
18760         * net/socks.el (socks-open-connection):
18761         * net/zeroconf.el (zeroconf-service-add-hook):
18762         * obsolete/vc-mcvs.el (vc-mcvs-register):
18763         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18764         (gdb-select-frame):
18765         * progmodes/grep.el (lgrep, rgrep):
18766         * progmodes/idlw-help.el (idlwave-help-check-locations)
18767         (idlwave-help-html-link, idlwave-help-assistant-open-link):
18768         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18769         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18770         (reftex-toc-rename-label): Fix typos in error messages.
18772         * dired-aux.el (dired-do-shell-command): Reflow docstring.
18773         (dired-copy-how-to-fn): Doc fix.
18774         (dired-files-attributes, dired-read-shell-command):
18775         Fix typos in docstrings.
18777         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18778         (dired-x-find-file-other-window): Reflow docstrings.
18779         (dired-omit-marker-char, dired-read-shell-command)
18780         (dired-x-submit-report): Fix typos in docstrings.
18782         * shell.el (shell-mode-hook):
18783         * view.el (View-scroll-line-forward):
18784         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18785         Fix typos in docstrings.
18787         * net/dig.el (dig-invoke): Fix typo in docstring.
18788         (query-dig): Reflow docstring.
18790         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18791         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18792         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18793         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18794         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18795         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18796         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18797         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18798         (idlwave-completion-map, idlwave-current-indent)
18799         (idlwave-custom-ampersand-surround, idlwave-customize)
18800         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18801         (idlwave-define-abbrev, idlwave-determine-class-special)
18802         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18803         (idlwave-end-block-reg, idlwave-end-of-statement)
18804         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18805         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18806         (idlwave-explicit-class-listed, idlwave-file-header)
18807         (idlwave-fill-paragraph, idlwave-find-class-definition)
18808         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18809         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18810         (idlwave-in-quote, idlwave-indent-action-table)
18811         (idlwave-indent-expand-table, idlwave-indent-line)
18812         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18813         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18814         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18815         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18816         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18817         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18818         (idlwave-outlawed-buffers, idlwave-popup-select)
18819         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18820         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18821         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18822         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18823         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18824         (idlwave-statement-type, idlwave-struct-skip)
18825         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18826         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18827         (idlwave-what-module-find-class): Fix typos in docstrings.
18828         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18829         (idlwave-calculate-cont-indent, idlwave-expand-equal)
18830         (idlwave-find-module, idlwave-find-structure-definition)
18831         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18832         (idlwave-list-load-path-shadows, idlwave-next-statement)
18833         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18834         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18835         (idlwave-template): Reflow docstrings.
18837         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18838         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18839         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18840         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18841         (idlwave-shell-display-line, idlwave-shell-display-wframe)
18842         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18843         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18844         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18845         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18846         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18847         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18848         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18849         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18850         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18851         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18852         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18853         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18854         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18855         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18856         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18857         Fix typos in docstrings.
18858         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18859         (idlwave-shell-hide-output, idlwave-shell-mode)
18860         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18861         Reflow docstrings.
18863         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18865 2009-09-24  Ivan Kanis  <apple@kanis.eu>
18867         * term.el (term-bold-attribute): New var.
18868         (term-handle-colors-array): Use it.
18870 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
18872         * progmodes/gdb-mi.el (gdb-version): New variable.
18873         (gdb-non-stop-handler): Set gdb-version.
18874         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18875         Condition "--thread" option on gdb-version.
18876         (gdb-invalidate-threads): Remove unused argument.
18878 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18880         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18881         to looking-back to avoid ridiculous slow down in large files (bug#4511).
18883 2009-09-23  Glenn Morris  <rgm@gnu.org>
18885         * mail/rmail.el (rmail-reply): Don't try to add a References header when
18886         replying to mail without References or Message-Id.  (Bug#4525)
18888 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
18890         * term/ns-win.el (ns-reg-to-script): New variable.
18892 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
18894         * epg.el (epg-wait-for-status): Preserve existing 'error results.
18896 2009-09-22  Sam Steingold  <sds@gnu.org>
18898         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18899         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18900         to 1 because hg returns status 1 when nothing is found.
18901         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18903 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18905         * textmodes/fill.el: Convert to utf-8 encoding.
18906         (fill-french-nobreak-p): Remove redundant » and « inherited from our
18907         pre-Unicode days.
18909         * add-log.el (change-log-fill-forward-paragraph): New function.
18910         (change-log-mode): Use it so fill-region DTRT.
18911         Set fill-indent-according-to-mode here rather than in
18912         change-log-fill-paragraph.
18913         (change-log-fill-paragraph): Remove.
18915 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
18917         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18918         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
18920 2009-09-22  Glenn Morris  <rgm@gnu.org>
18922         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18923         the scroll-bar scroll the calendar window rather than the buffer.
18925         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18926         commands that move point (as opposed to scrolling).
18928         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18930         * emacs-lisp/elint.el (elint): New custom group.
18931         (elint-log-buffer): Make it a defcustom.
18932         (elint-scan-preloaded, elint-ignored-warnings)
18933         (elint-directory-skip-re): New options.
18934         (elint-builtin-variables): Doc fix.
18935         (elint-preloaded-env): New variable.
18936         (elint-unknown-builtin-args): Add an entry for encode-time.
18937         (elint-extra-errors): Make it a variable rather than a constant.
18938         (elint-preloaded-skip-re): New constant.
18939         (elint-directory): Skip files matching elint-directory-skip-re.
18940         (elint-features): New variable, local to linted buffers.
18941         (elint-update-env): Initialize elint-features.  Possibly add
18942         elint-preloaded-env to the buffer's environment.
18943         (elint-get-top-forms): Bind elint-current-pos, for log messages.
18944         Skip quoted forms.
18945         (elint-init-form): New function, extracted from elint-init-env.
18946         Make non-list forms a warning rather than an error.
18947         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
18948         easy-menu-define, put that adds an error-condition, and provide.
18949         When requiring cl, also require cl-macs.  Really require cl, to handle
18950         some cl macros.  Store required libraries in the list elint-features,
18951         so as not to re-load them.  Treat cc-require like require.
18952         (elint-init-env): Call elint-init-form to do the work.
18953         Handle eval-and-compile and such like.
18954         (elint-add-required-env): Do not clear messages.
18955         (elint-special-forms): Add handlers for function, defalias, if, when,
18956         unless, and, or.
18957         (elint-form): Add optional argument to ignore elint-special-forms,
18958         useful to prevent recursive calls from handlers.  Doc fix.
18959         Respect elint-ignored-warnings.
18960         (elint-form): Respect elint-ignored-warnings.
18961         (elint-bound-variable, elint-bound-function): New variables.
18962         (elint-unbound-variable): Respect elint-bound-variable.
18963         (elint-get-args): Respect elint-bound-function.
18964         (elint-check-cond-form): Add some simple handling for (f)boundp and
18965         featurep tests.
18966         (elint-check-defalias-form): New handler.
18967         (elint-check-let-form): Make an empty let a warning rather than an
18968         error.
18969         (elint-check-setq-form): Make an empty setq a warning rather than an
18970         error.  Respect elint-ignored-warnings.
18971         (elint-check-defvar-form): Accept null doc-strings.
18972         (elint-check-conditional-form): New handler.  Does some simple-minded
18973         checking of featurep and (f)boundp tests.
18974         (elint-put-function-args): New function.
18975         (elint-initialize): Use elint-scan-doc-file rather than
18976         elint-find-builtin-variables.  Use elint-put-function-args.
18977         Possibly scan preloaded-file-list.
18978         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18979         extend to handle functions as well.
18981 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
18983         * linum.el (linum-delete-overlays, linum-update-window):
18984         Do not modify the right margin.  (Bug#3971)
18986 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
18988         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18989         Use nxml-mode instead of xml-mode.
18991 2009-09-21  Kevin Ryde  <user42@zip.com.au>
18993         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
18995 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18997         * net/dig.el (dig-mode): Use define-derived-mode.
18999 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
19001         * vc-dispatcher.el (vc-do-command): Return the process object in
19002         the asynchronous case.  Use when instead of if.  Do not run
19003         vc-exec-after to display a message if not enabled.  (Bug#4463)
19005         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19006         properties to the stash strings.
19007         (vc-git-stash-list): Return a list of strings.
19008         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19009         (vc-git-stash-show-at-point): New functions.
19010         (vc-git-stash-map): New keymap.
19012         * register.el (ctl-x-r-map): Define the keys here instead of
19013         using autoload.
19015 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
19017         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19018         list, to workaround performance problem (bug#4485).
19020 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
19022         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19024 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
19026         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19027         Document that this option is not recommended to use.
19029 2009-09-19  Glenn Morris  <rgm@gnu.org>
19031         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19032         variable `var'.
19034         * calc/calc-alg.el (var):
19035         * calc/calcalg2.el (var): Define for compiler.
19037 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
19039         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19040         Doc fix (Bug#3932).
19042         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19044         * time-stamp.el (time-stamp-month-dd-yyyy)
19045         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19046         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19047         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19048         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19049         Remove functions that have been obsolete since 1995 (Bug#4436).
19051         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19052         indent buffer only if called interactively (Bug#4452).
19054 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
19055             Eli Zaretskii  <eliz@gnu.org>
19057         This fixes bug#4197 (merged to bug#865, though not identical).
19058         * server.el (server-auth-dir): Add docstring note about FAT32.
19059         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19060         but warn against using them.
19062 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
19064         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19065         older GDB where there is no has_more field.
19067 2009-09-19  Glenn Morris  <rgm@gnu.org>
19069         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19071 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
19073         * files.el (auto-mode-alist): Change default for XML files to nXML
19074         mode (Bug#4169).
19076 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
19078         * server.el (server-ensure-safe-dir): Pass 'integer
19079         to `file-attributes', as suggested.
19081 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19083         * dired-aux.el (dired-query-alist): Remove spurious backslash.
19084         (dired-query): Use read-key.
19086 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
19088         * cus-start.el (ns-use-qd-smoothing): Remove.
19090 2009-09-18  Glenn Morris  <rgm@gnu.org>
19092         * allout.el (top-level): Remove unnecessary progn.
19094         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19096         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19097         definition of abbrev table.
19099         * speedbar.el (speedbar-track-mouse):
19100         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19101         * net/eudc.el (eudc-expand-inline):
19102         * net/newst-backend.el (newsticker--cache-read-feed):
19103         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19104         condition-case handlers.
19106 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
19108         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19109         (gdb-var-list): Add an element for has_more field.
19110         (gdb-non-stop-handler): Enable pretty printing for STL containers.
19111         (gdb-var-create-handler, gdb-var-list-children-handler-1)
19112         (gdb-var-update-handler-1): Parse output of dynamic variable
19113         objects (STL containers).
19114         (gdb-var-delete-1): Pass var1 as an explicit second argument.
19115         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
19117         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19118         gdb-var-list.
19119         (gud-speedbar-buttons): Make node expandable if expression "has more"
19120         children.
19122 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
19124         * startup.el (emacs-quick-startup): Remove variable and all uses.
19125         (command-line): Set `inhibit-x-resources' instead.
19126         (command-line-1): Use `inhibit-x-resources' instead.
19128 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
19130         * subr.el: Fix last change to avoid using the `unless' macro,
19131         which breaks bootstrapping.
19133 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19135         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19136         extended definitions, in case we reload subr.el after having
19137         loaded CL.
19138         (eval-next-after-load): Mark as obsolete.
19140 2009-09-17  Juri Linkov  <juri@jurta.org>
19142         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19143         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19144         (menu-bar-showhide-menu, menu-bar-tools-menu)
19145         (menu-bar-describe-menu, menu-bar-help-menu)
19146         (minibuffer-local-completion-map, minibuffer-local-map):
19147         Fix list quoting.
19149 2009-09-17  Glenn Morris  <rgm@gnu.org>
19151         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19152         arguments, whether or not it has a handler.
19154         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19156         * simple.el (hard-newline): Give it a doc-string.
19158         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19159         (lisp-mode-syntax-table): Give them doc-strings.
19161 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
19163         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19164         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19165         (menu-bar-options-menu, menu-bar-showhide-menu)
19166         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19167         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19168         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19169         (menu-bar-options-menu, menu-bar-tools-menu)
19170         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19171         (menu-bar-help-menu):
19172         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19173         string arguments.
19175         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19176         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19177         calls for the menu names and :help.
19179 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19181         * mouse.el (minor-mode-menu-from-indicator): Pay attention
19182         to :minor-mode-function (bug#4455).
19184 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19186         * startup.el (command-line): Initialize the window-system after
19187         processing the command-line.
19189         * textmodes/page.el (what-page): Make sure we don't inf-loop if
19190         page-delimiter matches the empty string.
19192 2009-09-16  Glenn Morris  <rgm@gnu.org>
19194         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19195         byte-compile-not-obsolete-var.  It's a list now.
19196         (byte-compile-not-obsolete-funcs): New variable.
19197         (byte-compile-warn-obsolete): Don't warn about functions if they are in
19198         byte-compile-not-obsolete-funcs.
19199         (byte-compile-variable-ref, byte-compile-defvar): Update for
19200         byte-compile-not-obsolete-vars name-change and list nature.
19201         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19202         and variables behind (f)boundp tests.
19203         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19205 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19207         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19209 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19211         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19212         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19213         Don't autoload.
19215 2009-09-15  Stephen Eglen  <stephen@gnu.org>
19217         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19218         the virtual-buffers, use the name of the buffer specified by
19219         find-file-noselect, as the match may be a symlink.  (This was a
19220         problem if the target and the symlink had different names.)
19222 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19224         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19226         * desktop.el (desktop-path): Check user-emacs-directory.
19228         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19230         * loadup.el: Use after-load-functions to GC after loading each file.
19231         Remove the explicit GC calls that used to be sprinkled around.
19233         * subr.el (after-load-functions): New hook.
19234         (do-after-load-evaluation): Run it.  Use string-match-p to detect
19235         `obsolete' packages, rather than painfully extracting the relevant
19236         directory name.
19238 2009-09-15  Glenn Morris  <rgm@gnu.org>
19240         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19241         free variable `doc'.
19243         * dired.el (dired-mode-map): Add menu entry for async shell command.
19245         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19246         variables, also consider the .elc files, since the .el files are
19247         normally gzipped (subsequent code locates the .el.gz from the .elc).
19249         * calc/calc-prog.el (arglist): Define for compiler.
19251         * calendar/diary-lib.el (diary-display-function): Change the default to
19252         fancy display.
19253         (body): Define for compiler.
19255         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19256         (byte-compile-file-form, byte-compile-lambda)
19257         (byte-compile-top-level-body, byte-compile-form)
19258         (byte-compile-variable-ref, byte-compile-setq)
19259         (byte-compile-setq-default, byte-compile-body)
19260         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19261         (batch-byte-compile): Give some more local variables with common names
19262         a "bytecomp-" prefix to avoid masking warnings about free variables.
19264         * startup.el (command-line-1): Give local variables with common names a
19265         distinguishing prefix, so as not to hide free variable warnings during
19266         bootstrap.
19268         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19269         clever and add a suffix to make a unique name, just let the user decide
19270         whether or not to overwrite it.  If the input is a directory, write the
19271         default filename to that directory.  (Bug#4388)
19272         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19273         is a filename-as-a-directory.
19275 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19277         * textmodes/page.el (what-page): Don't move to beginning of line.
19278         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19280 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19282         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19284 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
19286         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19287         * help.el (help-for-help-internal): Add purecopy calls for text.
19289         * vc.el (top): print-log method now takes an optional SHORTLOG
19290         argument.  Add a new method: root.
19291         (vc-root-diff, vc-print-root-log): New functions.
19292         (vc-log-short-style): New variable.
19293         (vc-print-log-internal): Add support for showing short logs.
19295         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19296         vc-print-root-log and vc-print-root-diff.
19298         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19299         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19300         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19301         short logs.
19303         * vc-cvs.el (vc-cvs-print-log):
19304         * vc-mtn.el (vc-mtn-print-log):
19305         * vc-rcs.el (vc-rcs-print-log):
19306         * vc-sccs.el (vc-sccs-print-log):
19307         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19308         that is ignored for now.
19310         * vc-mtn.el (vc-mtn-annotate-command):
19311         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19313 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19315         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19316         to function-key-map, and give them ascii-character property.
19317         * term/x-win.el (x-alternatives-map):
19318         * term/ns-win.el (ns-alternatives-map):
19319         * term/internal.el (msdos-key-remapping-map):
19320         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19322 2009-09-14  Glenn Morris  <rgm@gnu.org>
19324         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19325         temp-buffers (2009-09-12).
19327 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19329         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19330         the new read-key function.
19332 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19334         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19335         is defined (Bug#4405).
19337 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
19339         * recentf.el (recentf-cleanup): Use a hash table to find
19340         duplicates (Bug#4407).
19342 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
19344         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19345         kp-0 to ascii equivalents (Bug#4325).
19347 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19349         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19351         * eshell/em-hist.el:
19352         * eshell/em-dirs.el (eshell-complete-user-reference):
19353         Declare pcomplete functions and variables to avoid compiler warnings.
19355 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
19357         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19358         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19359         * eshell/em-alias.el (eshell-aliases-file):
19360         * eshell/em-hist.el (eshell-history-file-name):
19361         Use expand-file-name instead of concat to make file names (Bug#4308).
19363 2009-09-13  Glenn Morris  <rgm@gnu.org>
19365         * ediff-merg.el (ediff-do-merge):
19366         * filesets.el (filesets-run-cmd):
19367         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19368         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19369         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19370         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19371         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19372         Replace empty `let's with `progn'.
19374 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19376         * mail/sendmail.el (send-mail-function):
19377         * tooltip.el (tooltip-mode):
19378         * simple.el (transient-mark-mode):
19379         * rfn-eshadow.el (file-name-shadow-mode):
19380         * frame.el (blink-cursor-mode):
19381         * font-core.el (global-font-lock-mode):
19382         * files.el (temporary-file-directory)
19383         (small-temporary-file-directory, auto-save-file-name-transforms):
19384         * epa-hook.el (auto-encryption-mode):
19385         * composite.el (global-auto-composition-mode):
19386         Use custom-initialize-delay.
19387         * startup.el (command-line): Don't explicitly call
19388         custom-reevaluate-setting for all the above vars.
19389         * custom.el (custom-initialize-safe-set)
19390         (custom-initialize-safe-default): Delete.
19392 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19394         * term/x-win.el (x-initialize-window-system):
19395         * term/w32-win.el (w32-initialize-window-system):
19396         * term/ns-win.el (ns-initialize-window-system): Don't call
19397         mouse-wheel-mode since it's enabled globally by default already.
19399         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19400         actually define the variable, but only silences the byte-compiler.
19401         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19402         before looking it up.
19403         (mouse-wheel-scroll-amount): Also reset the bindings if this value
19404         is changed.
19406 2009-09-12  Glenn Morris  <rgm@gnu.org>
19408         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19409         1000.
19410         (elint-add-required-env): Don't beep on error.
19411         (elint-forms): In case of error, return ENV unchanged.
19412         (elint-init-env): Skip non-list forms.
19413         (elint-log): Handle unknown file positions.
19415 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
19417         * epg.el (epg-make-context): Add autoload cookie.
19418         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19419         (epg-decrypt-string, epg-start-verify, epg-verify-file)
19420         (epg-verify-string, epg-start-sign, epg-sign-file)
19421         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19422         (epg-encrypt-string, epg-start-export-keys)
19423         (epg-export-keys-to-file, epg-export-keys-to-string)
19424         (epg-start-import-keys, epg-import-keys-from-file)
19425         (epg-import-keys-from-string, epg-start-receive-keys)
19426         (epg-receive-keys, epg-import-keys-from-server)
19427         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19428         (epg-sign-keys, epg-start-generate-key)
19429         (epg-generate-key-from-file, epg-generate-key-from-string):
19430         Remove autoload cookie.
19432 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
19434         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19435         reevaluation of trash-directory.
19437         * mwheel.el: Fix last change.
19438         (mouse-wheel-mode): New defvar.
19439         (mouse-wheel-mode): Remove autoload cookie.
19441 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19443         * mwheel.el (mwheel-installed-bindings): New var.
19444         (mouse-wheel-mode): Use it, so as to make sure we really remove all
19445         the bindings we set last time.  Use custom-initialize-delay.
19446         * loadup.el: Load mwheel after term/*-win.el.
19447         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19448         and mouse-wheel-up-event now that their first evaluation is done
19449         sufficiently late to be correct.
19451         * startup.el (tutorial-directory): Make it a defcustom.
19452         Use custom-initialize-delay rather than eval-at-startup to set it.
19453         * image.el (image-load-path): Make it a defcustom.
19454         Use custom-initialize-delay rather than eval-at-startup to set it.
19455         * subr.el (eval-at-startup): Remove.
19456         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19458         * subr.el (do-after-load-evaluation): Warn the user after loading an
19459         obsolete package.
19461 2009-09-12  Glenn Morris  <rgm@gnu.org>
19463         * proced.el (proced-mark-alt): Remove alias.
19464         (proced-mode-map): Remove proced-mark-alt.
19466         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19467         Elint file and directory.  Remove initialization entry.
19469         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19470         commands.
19471         (elint-current-buffer): Set mode-line-process.
19472         (elint-init-env): Handle define-derived-mode.
19473         Fix declare-function with unspecified arglist.  Guard against odd
19474         defalias statements (eg iso-insert's 8859-1-map).
19475         (elint-add-required-env): Use a temp buffer.
19476         (elint-form): Just print the function/macro name, not the whole form.
19477         Return env unchanged if we fail to parse a macro.
19478         (elint-forms): Guard against parse errors.
19479         (elint-output): New function, to handle batch mode.
19480         (elint-log-message): Add optional argument.  Use elint-output.
19481         (elint-set-mode-line): New function.
19483 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
19485         * emacs-lisp/elp.el (elp-not-profilable): Add more
19486         functions (Bug#4233).
19488 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
19490         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19491         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19493 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19495         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19496         (gdb-var-list-children): Use json parsing.
19498 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
19500         * progmodes/js.el (js--proper-indentation): Handle the case where
19501         char-before is null.  Reported by Deniz Dogan.
19503 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19505         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19507 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
19509         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19510         (epg-digest-algorithm-alist): Add SHA224.
19511         (epg-context-set-passphrase-callback)
19512         (epg-context-set-progress-callback): Add description about
19513         callback function.
19515 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19517         * custom.el (custom-delayed-init-variables): New var.
19518         (custom-initialize-delay): New function.
19519         * startup.el (command-line): "Re"evaluate all vars in
19520         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
19521         explicitly any more.
19522         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19523         to avoid creating a ~/.emacs.d at build-time (bug#4347).
19525         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19527 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19529         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19530         (gdb-var-update-handler): Use json parsing.
19532 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19534         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19535         decode annotated text, regardless of language environment.  (Bug#2741)
19537 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19539         * Makefile.in (autoloads): Make rmail.el writable as well.
19541 2009-09-11  Glenn Morris  <rgm@gnu.org>
19543         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19544         loaddefs.el.
19545         * dired.el: Regenerate with extracted autoloads.
19546         * Makefile.in (autoloads): Make dired.el writable.
19548         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19549         * ibuffer.el: Regenerate with extracted autoloads.
19550         * Makefile.in (autoloads): Make ibuffer.el writable.
19552         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19553         * version.el (emacs-copyright, emacs-major-version)
19554         (emacs-minor-version): Reformat doc-strings for make-docfile.
19556         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19557         functions and variables, since they must be stuff specific to some other
19558         platform.
19559         (apropos-print): Make mouse-click message less specific about button.
19561         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19562         that records where a macro was defined.
19563         * help-fns.el (describe-function-1): Mention if a function has a
19564         compiler-macro.
19565         * help-mode.el (help-function-cmacro): New button.
19567         * locate.el (top-level): Always require dired.
19568         (locate-mode-map): Initialize inside the defvar.
19570         * net/ange-ftp.el (dired-compress-file): Declare.
19571         (ange-ftp-dired-compress-file): Add doc string.
19573         * term/ns-win.el (x-display-name, x-setup-function-keys):
19574         Unify doc-strings with X versions.
19576 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19578         * emulation/crisp.el (crisp-mode-map): Move initialization
19579         into declaration.
19580         (crisp-mode): Use define-minor-mode.
19582         * progmodes/xscheme.el (xscheme-evaluation-commands):
19583         Put a :advertised-binding property rather than using
19584         advertised-xscheme-send-previous-expression.
19585         (advertised-xscheme-send-previous-expression): Declare obsolete.
19586         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19587         `advertised-undo'.
19588         (crisp-mode): Add corresponding bindings to
19589         undo's :advertised-binding instead.
19590         * dired.el (dired-mode-map): Put a :advertised-binding property rather
19591         than using dired-advertised-find-file.
19592         (dired-advertised-find-file):
19593         * simple.el (advertised-undo):
19594         * wid-edit.el (advertised-widget-backward): Declare obsolete.
19595         (widget-keymap): Put a :advertised-binding property rather
19596         than using advertised-widget-backward.
19597         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19598         than using advertised-undo.
19599         * tutorial.el (tutorial--default-keys): Adjust accordingly.
19601 2009-09-10  Simon South  <ssouth@slowcomputing.org>
19603         * progmodes/delphi.el (delphi-tab): Indent region when Transient
19604         Mark mode is enabled and region is active; otherwise indent or
19605         insert TAB as usual.
19606         (delphi-mode): Update description of TAB-key binding.
19608 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19610         * subr.el (define-key-rebound-commands): Mark obsolete.
19611         * startup.el (precompute-menubar-bindings): Remove.
19612         (normal-top-level): Remove obsolete code that tried to precompute
19613         menubar bindings.
19614         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19615         define-key-rebound-commands and precompute-menubar-bindings.
19617 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
19619         * net/imap.el (imap-interactive-login): Better messages.
19620         (imap-open): Fix bug with renamed buffer on reconnect.
19621         (imap-authenticate): Add buffer-local imap-last-authenticator variable
19622         for easier debugging and cleaner code.  On successful (guessed based on
19623         server capabilities) secondary authentication, set imap-state
19624         correctly.
19625         (imap-last-authenticator): Define imap-last-authenticator as a variable
19626         to avoid warnings.
19628 2009-09-10  Glenn Morris  <rgm@gnu.org>
19630         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19632         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19633         (byte-compile-file-form-autoload): Don't warn about unknown functions
19634         where the autoload statement comes after the use.
19635         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19636         that any handlers inside the body (eg require) are in turn respected.
19638         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19639         effects.
19641         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19642         and syntax and abbrev tables basic docs, if they don't have any.
19644         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19646         * international/mule-cmds.el (top-level): Require cl when compiling.
19647         (view-hello-file): Use default-value rather than
19648         default-enable-multibyte-characters.
19650         * progmodes/fortran.el: Move all safe and risky properties into the
19651         defcustoms.
19653         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19654         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19655         * mail/undigest.el:
19656         Put autoloads in rmail.el rather than loaddefs.el.
19657         * mail/rmail.el: Regenerate with extracted autoloads.
19659         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19660         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19662 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
19664         Reported in thread for Bug#4375.
19665         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19666         "-data-evaluate-expression" instead of print.
19667         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19668         (gdb-tooltip-print): Parse output from above MI command.
19669         (gdb): Revert 2009-08-11 change.  User should detach inferior
19670         manually.
19672         Remove the word "separate" from IO functions as inferior
19673         output is now never displayed in the GUD buffer.
19675 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
19677         * startup.el (command-line-normalize-file-name): On Windows and
19678         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19680 2009-09-10  Juri Linkov  <juri@jurta.org>
19682         * isearch.el (isearch-text-char-description): Propertize escape
19683         character sequences with the `escape-glyph' face.  (Bug#4344)
19685         * simple.el (shell-command): Set asynchronous process filter to
19686         `comint-output-filter'.  (Bug#4343)
19688         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19689         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
19690         the list.  Move "asm" to the bottom.
19691         (grep-find-ignored-directories): Add `choice' with nil value
19692         to empty the list easily.
19693         (grep-find-ignored-files): New option.
19694         (grep-files-history): Set to nil by default instead of '("ch" "el").
19695         (grep-compute-defaults): Add "<X>" to `grep-template'.
19696         (grep-read-files): Bind new local variables `default-alias' and
19697         `default-extension'.  Use a list of default values for the file prompt.
19698         (lgrep): Add `--exclude=' command line options composed from
19699         `grep-find-ignored-files'.
19700         (rgrep): Add `-name' command line options composed from
19701         `grep-find-ignored-files'.  (Bug#4301)
19703 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19705         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19706         (bug#4368).
19708 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
19710         * calendar/time-date.el (autoload):
19711         Expand define-obsolete-function-alias into defalias and make-obsolete
19712         for old Emacsen that Gnus supports.
19713         (with-no-warnings): Define it for old Emacsen.
19714         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19715         is available.
19716         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19717         float-time is available; suppress compile warning for time-to-seconds.
19719 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
19721         * net/imap.el (imap-message-map): Docstring fix.
19723 2009-09-09  Glenn Morris  <rgm@gnu.org>
19725         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19726         line numbers too.  (Bug#4374)
19728 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19730         * smerge-mode.el (smerge-remove-props, smerge-refine):
19731         Use with-silent-modifications (bug#4342).
19733         * subr.el (with-silent-modifications): New macro.
19735 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
19737         * files.el (top-level): Require `cl' when compiling.
19739 2009-09-07  Glenn Morris  <rgm@gnu.org>
19741         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19743         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19744         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
19746 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
19748         * vc-git.el (vc-git-annotate-command): Use separator to parse
19749         arguments correctly.
19751 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
19753         * proced.el (proced-mode): Doc fix.
19755 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
19757         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19758         lstat fails.
19759         (tramp-do-file-attributes-with-ls): Check for file existence at
19760         remote end.
19761         (tramp-do-file-attributes-with-stat): Likewise.
19762         (tramp-convert-file-attributes): Return nil when attr is nil.
19764 2009-09-05  Glenn Morris  <rgm@gnu.org>
19766         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19767         properties to this button.
19768         (diary-fancy-display): Don't extend the button to the final newline.
19769         (diary-fancy-display-mode): Continue to define "q" as a local key.
19771         * calendar/cal-china.el (holiday-chinese): Make it slightly more
19772         efficient.
19774         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19776         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19777         (byte-compile-dest-file-function): New option.
19778         (byte-compile-dest-file): Doc fix.
19779         Obey byte-compile-dest-file-function.
19780         (byte-compile-cl-file-p): New function.
19781         (byte-compile-eval): Only suppress noruntime warnings about cl functions
19782         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
19783         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19784         than for file being previously loaded.
19785         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19786         (byte-compile-file-form-require): Handle the case where requiring a file
19787         indirectly causes CL to be loaded.
19789 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19791         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19792         before killing the old buffer, since by the time `kill-buffer' is
19793         run so many buffer variables have been set to nil that it may not
19794         behave as expected.  (Bug#4061)
19796 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19798         * files.el (find-alternate-file): If the old buffer is modified
19799         and visiting a file, behave similarly to `kill-buffer' when
19800         killing it, thus reverting to the pre-1.878 behavior; see
19801         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19802         for discussion.  Also, consult `buffer-file-name' as a variable
19803         not as a function, for consistency with the rest of the code.
19805 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
19807         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19808         also when adding a new directory.
19810         * net/tramp-compat.el (tramp-compat-line-beginning-position):
19811         New defun.
19813 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19815         * files.el (locate-file-completion-table): Make it provide boundary
19816         information, so partial-completion works better.
19818 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
19820         * mail/footnote.el (Footnote-text-under-cursor):
19821         Check footnote-text-marker-alist before using it (bug#4324).
19823 2009-09-04  Glenn Morris  <rgm@gnu.org>
19825         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19826         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19827         * play/solitaire.el, play/tetris.el:
19828         Remove leading * from defcustom and defface docs.
19830         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19831         necessary.
19832         (diary-fancy-overriding-map): New variable.
19833         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19834         Use view-mode.
19836         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19837         goto-line.
19839 2009-09-03  Glenn Morris  <rgm@gnu.org>
19841         * arc-mode.el (archive-mode):
19842         * dos-fns.el (set-default-process-coding-system):
19843         * man.el (Man-getpage-in-background):
19844         * menu-bar.el (menu-bar-describe-menu):
19845         * server.el (server-process-filter):
19846         * startup.el (command-line):
19847         * tar-mode.el (tar-header-block-tokenize, tar-extract):
19848         * w32-fns.el (set-default-process-coding-system):
19849         * x-dnd.el (x-dnd-handle-file-name):
19850         * international/mule-cmds.el (mule-menu-keymap)
19851         (set-default-coding-systems, language-info-alist, set-language-info)
19852         (set-language-environment, standard-display-european-internal)
19853         (set-locale-environment):
19854         * international/mule-diag.el (mule-diag):
19855         * mail/emacsbug.el (report-emacs-bug):
19856         * mail/rmail.el (rmail-mode):
19857         * mail/sendmail.el (mail-setup):
19858         Use default-value rather than default-enable-multibyte-characters.
19860         * progmodes/f90.el: Move all safe properties into the defcustoms.
19861         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19863         * calendar/appt.el (appt-check):
19864         * calendar/diary-lib.el (diary-set-header, diary-live-p)
19865         (diary-check-diary-file, diary-list-entries)
19866         (diary-include-other-diary-files, diary-simple-display)
19867         (diary-fancy-display, diary-print-entries)
19868         (diary-mark-included-diary-files, diary-make-entry):
19869         Don't call substitute-in-file-name on diary-file.
19871 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
19872             Stefan Monnier  <monnier@iro.umontreal.ca>
19874         * mail/footnote.el (footnote-prefix): Make it a defcustom.
19875         (footnote-mode-map): Move initialization into the declaration.
19876         (footnote-minor-mode-map): Define it rather than changing global-map.
19877         (footnote-mode): Use define-minor-mode.
19879 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
19881         * net/tramp.el (tramp-handle-file-attributes-with-ls)
19882         (tramp-do-file-attributes-with-perl)
19883         (tramp-do-file-attributes-with-stat): Rename from
19884         `tramp-handle-file-attributes-with-*'.
19885         (tramp-handle-file-attributes): Use them.
19886         (tramp-do-directory-files-and-attributes-with-perl)
19887         (tramp-do-directory-files-and-attributes-with-stat): Rename from
19888         `tramp-handle-directory-files-and-attributes-with-*'.
19889         (tramp-handle-directory-files-and-attributes): Use them.
19890         (tramp-method-out-of-band-p): Additional parameter SIZE.
19891         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19892         (tramp-handle-write-region): Use it.
19893         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19894         (tramp-handle-vc-registered): Check, whether the first run did
19895         return files to be tested.
19896         (tramp-advice-make-auto-save-file-name): Do not call directly
19897         `tramp-handle-make-auto-save-file-name', because this would bypass
19898         the locking mechanism.
19900         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19901         (file-remote-p, process-file, start-file-process, set-file-times)
19902         (tramp-compat-file-attributes): Compatibility functions shall not
19903         call directly `tramp-handle-*', because this would bypass the
19904         locking mechanism.
19905         (tramp-compat-number-sequence): New defun.
19907 2009-09-02  Glenn Morris  <rgm@gnu.org>
19909         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19910         alias for float-time.
19911         (time-to-number-of-days): In Emacs, use float-time.
19912         * net/newst-backend.el (time-add): Suppress warnings from compat
19913         function.
19914         * time.el (emacs-uptime, emacs-init-time):
19915         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19916         Use float-time rather than time-to-seconds.
19918         * minibuffer.el (completion-initials-expand): Fix typo.
19920         * faces.el (modeline, modeline-inactive, modeline-highlight)
19921         (modeline-buffer-id):
19922         * info.el (info-menu-5): Mark these face aliases as obsolete.
19924 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19926         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19927         space ...
19928         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19929         no "--thread" option.
19930         (gdb-stopped): Don't print "Switched to thread" message when it is
19931         unchanged.
19933 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19935         * minibuffer.el (completion-try-completion)
19936         (completion-all-completions): Remove ill-defined (and
19937         mistakenly installed and luckily never used nor documented)
19938         `completion-styles' property.
19939         (completion-initials-expand, completion-initials-all-completions)
19940         (completion-initials-try-completion): New functions.
19941         (completion-styles-alist): Add doc to each entry.
19942         Add new `initials' entry.
19944 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19946         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19947         MI command -var-evaluate-expression.
19948         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19949         and tweak for case of string child.
19950         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19952 2009-09-01  Glenn Morris  <rgm@gnu.org>
19954         * add-log.el (change-log-date-face, change-log-name-face)
19955         (change-log-email-face, change-log-file-face, change-log-list-face)
19956         (change-log-conditionals-face, change-log-function-face)
19957         (change-log-acknowledgement-face):
19958         * cus-edit.el (custom-invalid-face, custom-rogue-face)
19959         (custom-modified-face, custom-set-face, custom-changed-face)
19960         (custom-saved-face, custom-button-face, custom-button-pressed-face)
19961         (custom-documentation-face, custom-state-face, custom-comment-face)
19962         (custom-comment-tag-face, custom-variable-tag-face)
19963         (custom-variable-button-face, custom-face-tag-face)
19964         (custom-group-tag-face-1, custom-group-tag-face):
19965         * diff-mode.el (diff-header-face, diff-file-header-face)
19966         (diff-index-face, diff-hunk-header-face, diff-removed-face)
19967         (diff-added-face, diff-changed-face, diff-function-face)
19968         (diff-context-face, diff-nonexistent-face):
19969         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19970         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19971         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19972         (Info-title-4-face):
19973         * isearch.el (isearch-lazy-highlight-face):
19974         * log-view.el (log-view-file-face, log-view-message-face):
19975         * paren.el (show-paren-match-face, show-paren-mismatch-face):
19976         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19977         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19978         (cvs-msg-face):
19979         * smerge-mode.el (smerge-mine-face, smerge-other-face)
19980         (smerge-base-face, smerge-markers-face):
19981         * wid-edit.el (widget-documentation-face, widget-button-face)
19982         (widget-field-face, widget-single-line-field-face)
19983         (widget-inactive-face, widget-button-pressed-face):
19984         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19985         (woman-addition-face):
19986         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19987         (eshell-ls-executable-face, eshell-ls-readonly-face)
19988         (eshell-ls-unreadable-face, eshell-ls-special-face)
19989         (eshell-ls-missing-face, eshell-ls-archive-face)
19990         (eshell-ls-backup-face, eshell-ls-product-face)
19991         (eshell-ls-clutter-face):
19992         * eshell/em-prompt.el (eshell-prompt-face):
19993         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19994         * obsolete/old-whitespace.el (whitespace-highlight-face):
19995         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19996         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19997         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19998         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19999         (antlr-font-lock-literal-face):
20000         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20001         (ebrowse-root-class-face, ebrowse-file-name-face)
20002         (ebrowse-default-face, ebrowse-member-attribute-face)
20003         (ebrowse-member-class-face, ebrowse-progress-face):
20004         * progmodes/make-mode.el (makefile-space-face):
20005         * progmodes/sh-script.el (sh-heredoc-face):
20006         * textmodes/flyspell.el (flyspell-incorrect-face)
20007         (flyspell-duplicate-face):
20008         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20009         * textmodes/texinfo.el (texinfo-heading-face):
20010         Mark face aliases with "-face" suffix as obsolete.
20012         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20013         compiler.
20015         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20016         (eudc-bob-sound-menu): Use defvar rather than defconst, since
20017         easy-menu-define wants to modify these.
20019         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20021         * net/browse-url.el (browse-url-file-url):
20022         * term/internal.el (dos-codepage-setup):
20023         Use default-value rather than default-enable-multibyte-characters.
20025         * progmodes/etags.el (etags-goto-tag-location):
20026         * progmodes/flymake.el (flymake-highlight-line)
20027         (flymake-goto-file-and-line, flymake-goto-line):
20028         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20029         (gdb-goto-breakpoint):
20030         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20031         * progmodes/python.el (python-find-function)
20032         (python-pdbtrack-track-stack-file):
20033         * progmodes/verilog-mode.el (verilog-surelint-off):
20034         * term/ns-win.el (ns-open-file-select-line):
20035         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20036         Use forward-line rather than goto-line.
20038         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20039         * textmodes/reftex-index.el (reftex-display-index):
20040         * textmodes/reftex-ref.el (reftex-offer-label-menu):
20041         * textmodes/reftex-toc.el (reftex-toc):
20042         Remove unnecessary bindings of default-major-mode (all are followed by
20043         major-mode check and possible mode switch).
20045 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20047         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20048         Handle watchpoints (bug#4282).
20049         (def-gdb-thread-buffer-command): Enable thread to be selected by
20050         clicking without selecting threads buffer first.
20051         (gdb-current-context-command): Use selected frame so that "up",
20052         "down" etc work in the GUD buffer.
20053         (gdb-update): Find selected frame before rendering stack buffer.
20054         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20056 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20058         * progmodes/sym-comp.el (displayed-completions): Remove.
20059         (symbol-complete): Use minibuffer-complete.
20061 2009-08-31  Glenn Morris  <rgm@gnu.org>
20063         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20065         * apropos.el (apropos-symbols-internal):
20066         Handle (obsolete) face aliases.
20068         * faces.el (describe-face): Adjust the output format to be more like
20069         describe-variable, and to mention (obsolete) face aliases.
20070         Adjust the whitespace so that help-setup-xref works.
20072         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20073         * calendar/diary-lib.el (diary-button-face):
20074         Mark these face aliases as obsolete.
20076         * calendar/calendar.el (calendar-today): Doc fix.
20078 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20080         * progmodes/gdb-mi.el (gdb-control-all-threads)
20081         (gdb-control-current-thread): Force tool bar update.
20082         (gdb-non-stop-handler): New function.
20083         (gdb-init-1): Use it to test if non-stop mode is supported.
20084         Remove unused gdbmi buffer type.
20086 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
20088         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20089         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
20091 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
20093         * comint.el (comint-exec-1): Check command is non-null first.
20094         Part of gdb-mi.el change (2009-08-28).
20096 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20098         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20100 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
20102         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20103         instead of `dolist' to avoid a recursive require when bootstrapping.
20105 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20107         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20109         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20111         * net/imap.el (imap-send-command): Simplify.
20112         (imap-wait-for-tag): point-max -> buffer-size.
20114         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20116         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20117         with constant argument.
20119         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20121         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20123         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20124         Change default, since most of our files don't have a history.
20125         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20126         the user.
20128         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20129         Add comint-run.
20131         * calc/calc.el: Improve commenting convention.
20132         (calc-digit-map, toplevel): Simplify.
20134         * comint.el (comint-insert-input): Be careful to only set point if we
20135         don't delegate to some other command.
20137         * proced.el (proced-signal-list): Make it an alist.
20138         (proced-grammar-alist): Capitalize names.
20139         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20140         Disable undo manually and make it read-only.
20141         Use completion-annotate-function.
20143         * minibuffer.el (minibuffer-message): If the current buffer is not
20144         a minibuffer, insert the message in the echo area rather than at the
20145         end of the buffer.
20146         (completion-annotate-function): New variable.
20147         (minibuffer-completion-help): Use it.
20148         (completion--embedded-envvar-table): Environment vars are
20149         always case-sensitive.
20151 2009-08-30  Glenn Morris  <rgm@gnu.org>
20153         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20154         from fortran-current-defun.
20155         (fortran-beginning-of-subprogram): Be more precise about finding the
20156         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
20157         (fortran-end-of-subprogram): Simplify.
20158         (fortran-current-defun): Use fortran-start-prog-re.
20160 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
20162         * subr.el (do-after-load-evaluation): Simplify.
20164 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
20166         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20168         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
20169         (vc-rcs-print-log): Use it.
20171         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20173 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20175         * paths.el (abbrev-file-name): Move to abbrev.el.
20176         * abbrev.el (abbrev-file-name): Move from paths.el.
20177         Obey user-emacs-directory.
20178         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20179         user-emacs-directory.
20180         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20181         abbrev-file-name and calc-settings-file any more.
20182         * startup.el (command-line): Recompute abbrev-file-name and
20183         abbreviated-home-dir.
20184         (normal-no-mouse-startup-screen): Improve the generic code and get rid
20185         of the special code for when C-h bindings haven't been changed.
20186         (display-startup-echo-area-message): Use with-current-buffer.
20187         (command-line-1): Use a list of strings, rather than a list of lists
20188         of strings for longopts.
20190         * files.el (get-free-disk-space): Use / for default-directory.
20192         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20193         Use with-current-buffer.
20195         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20196         Recognize immutable variables like most-positive-fixnum.
20197         (byte-compile-setq-default): Check and warn if trying to assign
20198         to an immutable variable, or a non-variable.
20200         * progmodes/cc-vars.el (c-comment-continuation-stars):
20201         * progmodes/cc-engine.el (c-looking-at-bos):
20202         * progmodes/cc-cmds.el (c-toggle-auto-state)
20203         (c-forward-into-nomenclature, c-backward-into-nomenclature)
20204         (c-comment-line-break-function): Add version of obsolescence.
20206 2009-08-28  Juri Linkov  <juri@jurta.org>
20208         * files.el (magic-fallback-mode-alist): Add ZIP magic number
20209         associated with `archive-mode'.
20211         * image.el (image-type-header-regexps): Use only JPEG magic number
20212         to determine JPEG images, and don't use `image-jpeg-p' because
20213         Emacs can display non-JFIF non-Exif JPEG images.
20215 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20217         * arc-mode.el (archive-mode):
20218         * emacs-lisp/re-builder.el (re-builder-unload-function):
20219         Protect against the default value of `major-mode' being nil.
20221 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20223         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20224         Fix typos in docstrings.
20226         * progmodes/js.el (js--macro-decl-re): Doc fix.
20227         (js--plain-method-re, js--split-name): Refloc docstring.
20228         (js--class-styles, js--make-merged-item, js--splice-into-items):
20229         Fix typos in docstrings; reflow docstrings.
20230         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20231         (js--variable-decl-matcher, js--inside-pitem-p)
20232         (js--parse-state-at-point, js--get-all-known-symbols)
20233         (js--symbol-history, js-find-symbol, js--js-references)
20234         (js--moz-interactor, js--js-encode-value, js--read-tab):
20235         Fix typos in docstrings.
20237 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20239         * textmodes/reftex.el (reftex-get-file-buffer-force):
20240         * progmodes/verilog-mode.el (verilog-batch-execute-func):
20241         * emulation/viper.el (viper-go-away, viper-set-hooks):
20242         * emacs-lisp/re-builder.el (re-builder-unload-function):
20243         * emacs-lisp/bytecomp.el (byte-compile-file):
20244         * ses.el (ses-unload-function):
20245         * hexl.el (hexl-find-file):
20246         * files.el (normal-mode):
20247         * ehelp.el (with-electric-help):
20248         * autoinsert.el (auto-insert-alist):
20249         * arc-mode.el (archive-mode):
20250         Use (default-value 'major-mode) instead of default-major-mode.
20252         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20253         * international/mule.el (load-with-code-conversion):
20254         * emacs-lisp/debug.el (debug):
20255         * ediff-vers.el (ediff-rcs-get-output-buffer):
20256         * dired.el (dired-internal-noselect): Don't let-bind
20257         default-major-mode around code that doesn't use it.
20258         E.g. buffer creation via get-buffer-create doesn't use it.
20260 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
20262         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20263         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20264         when writing the temp file.  Otherwise, epa-file gets confused.
20265         (tramp-register-file-name-handlers): Make it a defun.  Move also
20266         `epa-file-handler' to the front of `file-name-handler-alist'.
20268 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20270         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20271         start right after a ^M.
20272         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20273         (tramp-completion-file-name-regexp-separate)
20274         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20275         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20276         Don't modify last-coding-system-used by accident.
20277         (tramp-completion-file-name-handler): Apply the checks here,
20278         instead during registration.
20279         (tramp-register-file-name-handlers): Rename from
20280         `tramp-register-file-name-handler'.  Register both
20281         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20282         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
20284 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
20286         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20287         Remove variable ...
20288         (gdb-init-1, gdb-display-separate-io-buffer)
20289         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20290         references to it.
20291         (gdb-inferior-io-mode): Use make-comint-in-buffer.
20292         (gdb-inferior-filter): Use comint-output-filter to stop
20293         echoing and remove ^M characters.
20295 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20297         * emulation/viper-init.el (viper-restore-cursor-type):
20298         * emulation/cua-base.el (cua--update-indications):
20299         Replace default-cursor-type with (default-value 'cursor-type).
20301         * mail/sendmail.el (mail-recover-1):
20302         * international/mule-diag.el (describe-current-coding-system-briefly)
20303         (describe-current-coding-system):
20304         * international/mule-cmds.el (select-safe-coding-system)
20305         (select-message-coding-system)
20306         (set-language-environment-coding-systems, set-locale-environment):
20307         * hexl.el (hexl-insert-multibyte-char):
20308         * dos-w32.el (find-buffer-file-type-coding-system):
20309         * simple.el (what-cursor-position):
20310         Replace uses of default-buffer-file-coding-system
20311         with (default-value 'buffer-file-coding-system).
20313         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20314         Replace uses of default-cursor-in-non-selected-windows
20315         with (default-value 'cursor-in-non-selected-windows).
20316         Use with-current-buffer.
20318         * mail/feedmail.el: Use CL macros.
20319         (feedmail-run-the-queue, feedmail-send-it-immediately):
20320         * dos-w32.el (find-buffer-file-type): Replace uses of
20321         default-buffer-file-type with (default-value 'buffer-file-type).
20323 2009-08-28  Glenn Morris  <rgm@gnu.org>
20325         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20326         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20327         Use default-value of major-mode rather than default-major-mode.
20329 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20331         * Makefile.in (update-elcfiles): Report left over elc files.
20333         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20334         expand-file-name and with-current-buffer.
20335         (mail-get-names, mail-directory): Use with-current-buffer.
20337         * vc.el (vc-read-revision): New function.
20338         (vc-version-diff, vc-merge): Use it.
20340 2009-08-27  Sam Steingold  <sds@gnu.org>
20342         * simple.el (kill-do-not-save-duplicates): New user option.
20343         (kill-new): When it is non-nil, and the new string is the same as
20344         the latest kill, set replace to t to avoid duplicates in kill-ring.
20346 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
20348         * net/tramp.el (tramp-handle-process-file): Do not flush all
20349         caches when `process-file-side-effects' is set.
20350         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20351         instead of `tramp-find-file-exists-command'.
20352         Unset `process-file-side-effects'.
20354 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
20356         * net/tramp.el (tramp-methods): New method "rsyncc".
20357         (top): Add completion function for "rsyncc".
20358         (tramp-message-show-message): New defvar.
20359         (tramp-message, tramp-error): Use it.
20360         (tramp-do-copy-or-rename-file-directly): Extend check for direct
20361         remote copying.
20362         (tramp-do-copy-or-rename-file-out-of-band): Handle new
20363         `tramp-methods' entry `copy-env' of "rsyncc".
20364         (tramp-vc-registered-read-file-names): New defconst.
20365         (tramp-vc-registered-file-names): New defvar.
20366         (tramp-handle-vc-registered): Implement optimization strategy.
20367         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20368         (tramp-vc-file-name-handler): New defun.
20369         (tramp-get-ls-command, tramp-get-test-command)
20370         (tramp-get-file-exists-command, tramp-get-remote-ln)
20371         (tramp-get-remote-perl, tramp-get-remote-stat)
20372         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20374         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20375         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
20376         timestamps.
20377         (tramp-get-file-property): Check for timestamps in
20378         `tramp-cache-inhibit-cache'.
20379         (tramp-set-file-property): Write timestamp.
20381 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20383         * language/japan-util.el (japanese-symbol-table): Add entries for
20384         cp932-2-byte.
20386         * international/characters.el: Add category `j' to cp932-2-byte.
20388 2009-08-27  Kenichi Handa  <handa@m17n.org>
20390         * international/fontset.el (build-default-fontset-data): New macro.
20391         (setup-default-fontset): Use build-default-fontset-data for CJK,
20392         tibetan, ethiopic, and ipa.
20394 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20396         * cus-start.el (default-major-mode): Customize `major-mode' instead.
20397         (enable-multibyte-characters): Not customizable any more.
20399         * subr.el (default-mode-line-format, default-header-line-format)
20400         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20401         (default-direction-reversed, default-truncate-lines)
20402         (default-left-margin, default-tab-width, default-case-fold-search)
20403         (default-left-margin-width, default-right-margin-width)
20404         (default-left-fringe-width, default-right-fringe-width)
20405         (default-fringes-outside-margins, default-scroll-bar-width)
20406         (default-vertical-scroll-bar, default-indicate-empty-lines)
20407         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20408         (default-fringe-cursor-alist, default-scroll-up-aggressively)
20409         (default-scroll-down-aggressively, default-fill-column)
20410         (default-cursor-type, default-buffer-file-type)
20411         (default-cursor-in-non-selected-windows)
20412         (default-buffer-file-coding-system, default-major-mode)
20413         (default-enable-multibyte-characters): Mark as obsolete.
20415 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
20417         * vc-dir.el (vc-dir-update): Remove debug helper.
20419         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20421 2009-08-26  Sam Steingold  <sds@gnu.org>
20423         * simple.el (save-interprogram-paste-before-kill): New user option.
20424         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20425         save the interprogram-paste into kill-ring before overriding it
20426         with the Emacs kill.
20428 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20430         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20431         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20432         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20433         and move to vc-rcs.el.
20434         (vc-default-next-revision): Rename to vc-rcs-next-revision and
20435         move to vc-rcs.el.
20436         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20437         (vc-rcs-update-changelog): Remove.
20438         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20439         and move to vc-rcs.el.
20441         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20442         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20443         renaming.
20444         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20445         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20446         vc.el, renamed to be RCS specific.
20448         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20449         New functions.
20450         (vc-cvs-update-changelog): Move here from vc.el.
20452         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20453         New functions.
20455 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20457         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20459 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20461         * vc-git.el (vc-git-register): Use "git add" for directories.
20462         (vc-git-stash, vc-git-stash-show): New functions.
20463         (vc-git-extra-menu-map): Bind them.
20465         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20466         directory correctly in case the item is a directory itself.
20468         * vc.el: Document the desired behavior for reverted files in the
20469         `added' state.
20470         (vc-default-prettify-state-info): Remove function, unused.
20472         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20474 2009-08-26  Glenn Morris  <rgm@gnu.org>
20476         * bindings.el (standard-mode-line-format): Reposition dashes in
20477         which-func entry.  (Bug#4217)
20479         * files.el (enable-local-variables, enable-local-eval)
20480         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20481         the defcustoms.
20482         (auto-mode-alist, ignored-local-variables)
20483         (save-some-buffers-action-alist): Move risky declarations to the
20484         definitions.
20485         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20486         (font-lock-defaults, format-alist, imenu--index-alist)
20487         (imenu-generic-expression, input-method-alist, minor-mode-alist)
20488         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20489         (mode-line-modified, mode-line-mule-info, mode-line-position)
20490         (mode-line-process, mode-line-remote, outline-level)
20491         (parse-time-rules, rmail-output-file-alist)
20492         (special-display-buffer-names, vc-mode):
20493         Move risky declarations to the relevant files.
20494         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20495         (mode-line-modified, mode-line-process, mode-line-position)
20496         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20497         * font-core.el (font-lock-defaults):
20498         * format.el (format-alist):
20499         * vc-hooks.el (vc-mode):
20500         * window.el (special-display-buffer-names):
20501         * international/mule-cmds.el (input-method-alist):
20502         Define riskiness here (dumped file) rather than in files.el.
20503         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20504         * imenu.el (imenu-generic-expression, imenu--index-alist):
20505         * outline.el (outline-level):
20506         * time.el (display-time-string):
20507         * calendar/parse-time.el (parse-time-rules):
20508         * mail/rmailout.el (rmail-output-file-alist):
20509         Autoload riskiness here, rather than placing in files.el.
20511 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
20513         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20515 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
20517         * simple.el (process-file-side-effects): New defvar.
20519         * dired-aux.el (dired-show-file-type):
20520         * vc.el (vc-diff-internal):
20521         * vc-arch.el (vc-arch-diff):
20522         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20523         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20524         * vc-git.el (vc-git-registered, vc-git-working-revision)
20525         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20526         (vc-git--empty-db-p):
20527         * vc-hooks.el (vc-user-login-name):
20528         * vc-svn.el (vc-svn-registered, vc-svn-state)
20529         (vc-svn-dir-extra-headers, vc-svn-find-revision):
20530         * progmodes/grep.el (grep-probe): Let-bind
20531         `process-file-side-effects' with nil.
20533         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20535         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20536         daemon.  Replace ping by checking for running service for bluez
20537         and zeroconf.  (Bug#4239)
20539 2009-08-25  Kevin Ryde  <user42@zip.com.au>
20541         * net/dig.el (dig): Add autoload cookie.
20543 2009-08-25  Glenn Morris  <rgm@gnu.org>
20545         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20546         load-history for absolute file-names.
20547         (byte-compile-file-form-require): Warn about use of the cl package.
20549         * format.el (format-alist): Doc fix.
20551         * play/bubbles.el (top-level): Don't require cl at run-time.
20553         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20554         run-time cl).
20556 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
20558         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20559         from cl package.
20560         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20562 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
20564         * calc/calc-alg.el (math-trig-rewrite)
20565         (math-hyperbolic-trig-rewrite): New functions.
20566         (calc-simplify): Simplify trig functions when asked.
20568 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20570         * diff-mode.el (diff-find-source-location): Avoid goto-line.
20572 2009-08-24  Kenichi Handa  <handa@m17n.org>
20574         * language/ind-util.el (mapthread): Delete it.
20575         (combinatorial): New function.
20576         (indian--puthash-cv): Use combinatorial instead of mapthread.
20578 2009-08-22  Kevin Ryde  <user42@zip.com.au>
20580         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20581         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20582         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20583         Clarify docstring that the value is strings not symbols.
20584         (checkdoc-list-of-strings-p): New function.
20586 2009-08-22  Glenn Morris  <rgm@gnu.org>
20588         * files.el (auto-mode-alist):
20589         * hippie-exp.el (he-concat-directory-file-name):
20590         * lpr.el (lpr-windows-system, printer-name):
20591         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20592         * ps-print.el (ps-windows-system):
20593         * startup.el (command-line):
20594         * emulation/viper-ex.el (viper-glob-function):
20595         * international/mule-cmds.el (set-language-environment-coding-systems):
20596         * net/ange-ftp.el (ange-ftp-write-region):
20597         * obsolete/fast-lock.el (fast-lock-cache-name):
20598         Remove code for defunct system-types emx, macos, mswindows, next-mach,
20599         unisoft-unix, vax-vms, win32, w32.
20601         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20602         given name if the pattern is not more specific.
20604         * calendar/lunar.el (lunar-phase-names): New option.
20605         (lunar-phase): Doc fix.
20606         (lunar-cycles-per-year): New constant.
20607         (lunar-index): New function.
20608         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20609         (lunar-phase-name): Use lunar-phase-names.
20610         (calendar-lunar-phases): Use format.
20611         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20613         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20614         Copy imenu-example--name-and-position function here for own use.
20615         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20617         * bs.el (bs--redisplay):
20618         * cus-edit.el (custom-redraw):
20619         * ibuffer.el (ibuffer-bury-buffer):
20620         * server.el (server-goto-line-column):
20621         * startup.el (command-line-1):
20622         * strokes.el (strokes-xpm-for-stroke):
20623         * term.el (term-display-buffer-line):
20624         * view.el (View-goto-line):
20625         * calc/calc.el (calc-do, calc-trail-buffer):
20626         * play/gamegrid.el (gamegrid-add-score-insecure):
20627         * progmodes/ada-mode.el (ada-compile-goto-error):
20628         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20629         (ebrowse-select-1st-to-9nth):
20630         * progmodes/cperl-mode.el (cperl-time-fontification):
20631         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20632         * progmodes/gud.el (gud-display-line):
20633         (idlwave-shell-display-line):
20634         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20635         * progmodes/make-mode.el (makefile-browser-toggle):
20636         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20637         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20638         * textmodes/picture.el (picture-draw-rectangle):
20639         * textmodes/reftex-index.el (reftex-index-goto-letter):
20640         (reftex-select-jump-to-previous):
20641         * textmodes/reftex-sel.el (reftex-find-start-point)
20642         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20643         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20644         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20645         * textmodes/tex-mode.el (tex-compilation-parse-errors):
20646         * textmodes/two-column.el (2C-associated-buffer):
20647         Use forward-line rather than goto-line.
20649         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20650         goto-line.
20652         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20653         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20654         (quick-check-list-to-regexp): Declare.
20656         * progmodes/make-mode.el (makefile-browser-insert-selection):
20657         Use goto-char rather than goto-line.
20659         * progmodes/prolog.el (compilation-error-regexp-alist)
20660         (compilation-forget-errors): Declare.
20662 2009-08-22  Juri Linkov  <juri@jurta.org>
20664         * progmodes/grep.el (lgrep, rgrep): At the beginning
20665         set `dir' to `default-directory' unless `dir' is a non-nil
20666         readable directory.  (Bug#4052)
20667         (lgrep, rgrep): Change a weird way to report an error
20668         from using `read-string' to using `error'.
20669         Instead of using interactive arguments in the function body,
20670         add new argument `confirm'.
20672 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20674         * textmodes/remember.el (remember-buffer):
20675         * progmodes/cperl-mode.el (cperl-vc-header-alist):
20676         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20677         (icalendar-extract-ical-from-buffer):
20678         * net/newst-treeview.el (newsticker-groups-filename):
20679         * net/newst-backend.el (newsticker-cache-filename):
20680         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20681         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20682         (speedbar-add-ignored-path-regexp, speedbar-line-path)
20683         (speedbar-buffers-line-path, speedbar-path-line)
20684         (speedbar-buffers-line-path):
20685         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20686         (epg-sign-keys):
20687         * epa.el (epa-display-verify-result):
20688         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20690 2009-08-21  Glenn Morris  <rgm@gnu.org>
20692         * progmodes/js.el (inferior-moz-process): Fix declaration.
20694         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20696         * obsolete/rnewspost.el (news-mail-reply):
20697         Use goto-char rather than goto-line.
20699         * term/ns-win.el (ns-open-file-select-line):
20700         Use line-beginning-position rather than goto-line.
20702         * apropos.el (apropos-command):
20703         * ehelp.el (electric-helpify):
20704         * printing.el (pr-show-setup):
20705         * strokes.el (strokes-help):
20706         * tutorial.el (tutorial--describe-nonstandard-key)
20707         (tutorial--detailed-help):
20708         * woman.el (woman-mini-help, woman-display-extended-fonts):
20709         * calc/calc-help.el (calc-describe-key):
20710         * emulation/edt.el (edt-electric-helpify):
20711         * international/mule-diag.el (mule-diag):
20712         * play/yow.el (apropos-zippy):
20713         * progmodes/python.el (python-describe-symbol):
20714         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20715         * textmodes/table.el (*table--cell-describe-mode)
20716         (*table--cell-describe-bindings):
20717         Use help-print-return-message rather than the now obsolete alias.
20719         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20720         (calendar-cursor-to-visible-date):
20721         * play/5x5.el (5x5-position-cursor):
20722         * play/decipher.el (decipher):
20723         * play/gomoku.el (gomoku-goto-xy):
20724         * play/landmark.el (lm-goto-xy):
20725         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20726         (mpuz-paint-digit):
20727         Use forward-line, not goto-line.
20729         * mail/rmail.el (rmail-obsolete): Delete custom group.
20730         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20731         (rmail-remote-password, rmail-remote-password-required):
20732         Remove unneeded :set-after and :set properties.
20734 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
20736         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20738 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
20740         * loadup.el: Remove leftover macos code.
20742         * vc-git.el (vc-git-annotate-command): Run asynchronously.
20743         Explicitly pass the date format to git blame so that user local
20744         so that the output format can be parsed.
20746 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
20748         * net/dbus.el (top): Don't check for (getenv
20749         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
20751 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
20753         * log-edit.el (log-edit-strip-single-file-name): New var.
20754         (log-edit-insert-changelog): Use it.  Bug#3571.
20756 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20758         * subr.el (read-passwd): Use read-key so keypad keys work as well.
20759         Bug#3287.
20761         * help.el (help-print-return-message): Rename from
20762         print-help-return-message.
20764         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20765         cvs-mode-map parent hack.
20766         (log-view-mode): Derive from special-mode.
20768         * linum.el (linum-mode): window-size-change-functions is redundant.
20769         Adapt to new window-configuration-change-hook behavior.
20770         (linum-after-size, linum-after-config): Remove.
20772         * imenu.el (imenu-example--name-and-position)
20773         (imenu-example--lisp-extract-index-name)
20774         (imenu-example--create-lisp-index, imenu-example--create-c-index):
20775         Mark as obsolete.
20777         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20778         (inferior-prolog-mode): Use it.
20779         (inferior-prolog-load-file): Reset list of errors.
20781 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20783         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20785         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20787 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
20789         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20790         is running already.
20792 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20794         * subr.el (listify-key-sequence-1): Use normal syntax since those
20795         integers are nowadays always represented by the same (positive) number
20796         on all platforms.
20797         (read-key-empty-map): New const.
20798         (read-key-delay): New var.
20799         (read-key): New function.
20800         (force-mode-line-update): Use with-current-buffer.
20801         (locate-user-emacs-file): Don't forget to abbreviate the file name.
20802         (start-process-shell-command, start-file-process-shell-command):
20803         Discourage the use of command-args.
20805 2009-08-19  Glenn Morris  <rgm@gnu.org>
20807         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20809 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20811         * simple.el (choose-completion-string): Don't rely on
20812         minibuffer-completing-file-name and ad-hoc checks to decide whether
20813         to continue completion or not.
20815         * minibuffer.el (minibuffer-hide-completions): New function.
20816         (completion--do-completion): Use it.
20817         (completions-annotations): New face.
20818         (completion--insert-strings): Use it.
20819         (completion-pcm--delim-wild-regex): Add docstring.
20820         (completion-pcm--string->pattern): Add support for 0-width delimiters
20821         in completion-pcm--delim-wild-regex.
20823 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20825         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20826         Remove unused var `buffer-modified-p'.
20828         * minibuffer.el (completion--do-completion): Move point for the #b001
20829         case as well (bug#4176).
20830         (minibuffer-complete, minibuffer-complete-word): Don't move point.
20832 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
20834         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
20835         and :session buses.
20837 2009-08-18  Kenichi Handa  <handa@m17n.org>
20839         * international/ucs-normalize.el (ucs-normalize-version):
20840         Change to 1.1.
20841         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20842         (utf-8-hfs): Make it perform normalization on encoding too.
20844         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
20845         (sentence-end-without-space): Delete duplicated chars.
20846         (sentence-end-base): Likewise.
20848         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
20849         (html-mode): Delete duplicated chars from sentence-end-base.
20851         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
20852         (texinfo-mode): Delete duplicated chars from sentence-end-base.
20854 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
20856         * files.el (hack-one-local-variable): If the mode function is for
20857         a minor mode, pass it an argument (Bug#4148).
20859 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
20861         * net/tramp.el (tramp-register-completion-file-name-handler):
20862         Check also for (member 'partial-completion completion-styles).
20864 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20866         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20867         abbrev (Bug#3943).
20869 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
20871         * progmodes/cperl-mode.el: Merge upstream 6.2.
20872         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20873         (cperl-forward-re): Check cperl-brace-recursing.
20874         (cperl-highlight-charclass): New function.
20875         (cperl-find-pods-heres): Use it.
20876         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20877         (cperl-beautify-regexp-piece): Fix column calculation.
20878         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20879         (cperl-beautify-level): Don't process entire regexp.
20880         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20881         calling man.
20882         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20883         (cperl-init-faces): Build a list in the normal way.
20885 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20887         * calendar/parse-time.el (parse-time-string-chars): Save match
20888         data.
20890 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20892         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20893         (sql-product): Use it.
20894         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20895         (sql-set-product): Add completion.
20896         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20897         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20898         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20899         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20900         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20901         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20902         (sql-highlight-db2-keywords): Remove.
20903         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20904         (sql-highlight-product): Use derived-mode-p.
20905         (sql-set-sqli-buffer): Use with-current-buffer.
20906         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20907         Simplify.
20909         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20911         * term.el: Fix commenting convention, turn comments into docstrings.
20913 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20915         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20917 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
20919         * calendar/parse-time.el (parse-time-string-chars): Compute using
20920         character classes, to handle non-ascii characters (Bug#3190).
20922 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20924         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20925         another heredoc if the user adds another < (Bug#3226).
20927         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20928         Don't initialize based on window-system (Bug#4124).
20930         * facemenu.el (facemenu-read-color): Use a completion function
20931         that accepts any defined color, such as RGB triplets (Bug#3677).
20933         * files.el (get-free-disk-space): Change fallback default
20934         directory to /.  Expand DIR argument before switching to fallback.
20935         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20937 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20939         * files.el (load-library): Doc fix.
20941 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
20943         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20944         (viper-if-string): Redefine C-s in the minibuffer to insert the last
20945         incremental search string.
20947         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20948         XEmacs.
20950         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20951         (ediff-merge-region-is-non-clash)
20952         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20953         Also check if the job is really a merge job.
20955         * ediff.el (ediff-current-file): New function.
20957 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20959         * progmodes/js.el: Edit docstrings throughout to follow Emacs
20960         conventions.
20961         (js-insert-and-indent): Delete function.
20962         (js-mode-map): Don't bind keys to js-insert-and-indent.
20963         (js-beginning-of-defun): Rename from js--beginning-of-defun.
20964         (js-end-of-defun): Rename from js--end-of-defun.
20965         (js-auto-indent-flag): Delete variable.
20967 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
20969         * progmodes/js.el: Remove proclaim statement.
20970         Defvar which-func-imenu-joiner-function to silence compiler.
20972         * files.el (auto-mode-alist): Use js-mode for .js files.
20974         * progmodes/js2-mode.el: Remove file.
20976         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20978         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20980         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20982 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
20983             Karl Landstrom  <karl.landstrom@brgeight.se>
20985         * progmodes/js.el: New file.
20987 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
20989         * timezone.el (timezone-parse-date): Add ability to understand ISO
20990         basic format (minimal separators) dates in addition to the
20991         already-supported extended format dates.
20993 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
20995         * international/ucs-normalize.el: Add a `coding' file variable.
20997         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20999 2009-08-14  Sam Steingold  <sds@gnu.org>
21001         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21003 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
21005         * faces.el (help-argument-name): Define it here instead of
21006         help-fns.el, because in daemon mode help-fns.el may be loaded when
21007         faces are still uninitialized (Bug#1078).
21009         * help-fns.el (help-argument-name): Move defface to faces.el.
21011 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
21013         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21014         create buffer with a pty but no process so that GDB can make the
21015         inferior the controlling process.
21017 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
21019         * international/ucs-normalize.el: New file.
21021 2009-08-13  Richard Stallman  <rms@gnu.org>
21023         * mail/rmail.el (rmail-get-attr-names):
21024         Accept an attribute header that is too short.
21026         * mail/rmail.el (rmail-forget-messages):
21027         Ignore nil elt in rmail-message-vector.  Use dotimes.
21029         * progmodes/compile.el (compilation-goto-locus):
21030         Use next-error-move-function.
21032         * simple.el (next-error-move-function): New variable.
21034 2009-08-12  Juri Linkov  <juri@jurta.org>
21036         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21037         always non-nil.  (Bug#4052)
21039         * replace.el (read-regexp): Return empty string when
21040         `default-value' is nil.
21041         (keep-lines-read-args): Don't use empty string as the
21042         default value for `read-regexp'.  (Bug#2495)
21044 2009-08-12  Juri Linkov  <juri@jurta.org>
21046         * international/mule-cmds.el (ucs-insert): Change arguments
21047         from `arg' to `character', `count', `inherit' to be the same
21048         as in `insert-char'.  Doc fix.  (Bug#4039)
21050         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21052 2009-08-12  Juri Linkov  <juri@jurta.org>
21054         * files-x.el: New file.
21056         * files.el: Move code that deals with adding/deleting
21057         file/directory-local variables to files-x.el.
21059         * Makefile.in (ELCFILES): Add files-x.elc.
21061 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
21063         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21064         to use `goto-line'.
21065         (gdb-place-breakpoints, gdb-get-location): Rewritten without
21066         `goto-line'.
21067         (gdb-invalidate-disassembly): Do not refresh upon receiving
21068         'update signal.  Instead, update all disassembly buffers only after
21069         threads list.
21070         (gdb): Send -target-detach when buffer is killed (Bug#3794).
21071         (gdb-starting): Move -data-list-register-names...
21072         (gdb-stopped): ...here so it's sent when first thread stops.
21073         (gdb-registers-handler-custom): Do nothing if register names are
21074         unknown yet.
21076         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21077         from `gdb-mi.el' to avoid extra tangling.
21079         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21080         change which breaks `gud-def' definitions used in `gdb'.
21081         (gdb-update-gud-running): No extra fuss for updating frame number.
21083 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
21085         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21086         (describe-language-environment-map, setup-language-environment-map)
21087         (set-coding-system-map): Move initialization into declaration.
21088         (set-language-info-alist): Last arg to define-key-after can be skipped.
21090         * international/quail.el (quail-completion-1): Simplify.
21091         (quail-define-rules): Use slightly more compact code.
21092         (quail-insert-decode-map): Propertize keys, compact columns.
21094         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21095         Add goto-line.
21097 2009-08-10  Miles Bader  <miles@gnu.org>
21099         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21100         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21101         (js2-instance-member, js2-private-member, js2-private-function-call)
21102         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21103         (js2-magic-paren, js2-external-variable):
21104         Remove "-face" suffix from face names.
21105         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21106         (js2-highlight-undeclared-vars, js2-peek-token)
21107         (js2-parse-function-params, js2-mode-show-errors)
21108         (js2-mode-show-warnings, js2-make-magic-delimiter)
21109         (js2-mode-highlight-magic-parens): Update to use new face names.
21111 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
21113         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21114         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
21116 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
21118         * subr.el: Provide hashtable-print-readable.
21120         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21121         hs-c-like-adjust-block-beginning.
21122         (hs-hide-block-at-point): Stop hiding at the beginning of
21123         hs-block-end-regexp (Bug#700).
21125 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
21127         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21128         a macro.
21129         (gdb-registers-handler-custom): Do not fail when register names
21130         are unavailable.
21132 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21134         * progmodes/gdb-mi.el (gdb-control-all-threads)
21135         (gdb-control-current-thread): Interactive setters for
21136         `gdb-gud-control-all-threads' to use in menu.
21137         (gdb-show-run-p): Show «Go» when process is not active.
21138         (gud-tool-bar-map): Add non-stop/A,T indicator.
21139         Uses gud/thread.xpm and gud/all.xpm.
21141 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
21143         * net/net-utils.el (net-utils-font-lock-keywords): New var.
21144         (nslookup-font-lock-keywords): Make it a variable.
21145         (net-utils-mode): New mode for viewing diagnostic network output.
21146         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21147         (net-utils-run-simple): New function.
21148         (ifconfig, iwconfig, netstat, arp, route): Use it.
21150 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21152         * progmodes/gdb-mi.el (gdb-read-memory-custom)
21153         (gdb-memory-set-address, def-gdb-set-positive-number)
21154         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21155         after changing settings.
21156         (gdb-invalidate-disassembly): Update when first shown.
21157         (gdb-edit-locals-value): Fix.
21158         (gdb-registers-handler-custom): Print registers in right order and
21159         allow changing register values (only for current thread yet).
21160         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21161         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21162         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21163         (gdb-locals-handler-custom, gdb-registers-handler-custom):
21164         Thread info in mode name.
21165         (gdb-registers-mode-map): TAB to switch to locals.
21167 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
21169         * mail/rmail.el (rmail-add-mbox-headers)
21170         (rmail-set-message-counters-counter): Search for
21171         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
21173 2009-08-08  Glenn Morris  <rgm@gnu.org>
21175         * Makefile.in (ELCFILES): Update.
21177 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21179         * mail/sendmail.el (mail-yank-original):
21180         Set buffer-file-coding-system from the one used by the message whose
21181         text is yanked.
21183         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21184         to "windows" when "pgnuplot" is used.
21185         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21186         Don't call accept-process-output if "pgnuplot" is used.
21187         (calc-graph-init): Don't send -display and -geometry to
21188         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
21189         running "pgnuplot -V" with shell-command-to-string.
21191         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21192         the default.
21194 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21196         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21197         org/org-latex.elc.
21199 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
21201         * vc-dispatcher.el (vc-resynch-window): Update comment.
21203         * term.el (term-handle-ansi-escape): Add comments with the
21204         terminfo capabilities implemented.
21206 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
21208         * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21209         (gdb-var-create-handler): Rewritten using JSON parser.
21210         (gdb-propertize-header): Move earlier.
21211         (gdb-set-header): Remove to avoid duplication.
21212         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21213         Refresh disassembly buffers only after threads list have been
21214         update.
21215         (gdb-threads-header, gdb-registers-header): Per-buffer header line
21216         variables.
21218 2009-08-04  Juri Linkov  <juri@jurta.org>
21220         * files.el: Commands to add/delete file/directory-local variables.
21221         (read-file-local-variable, read-file-local-variable-value)
21222         (read-file-local-variable-mode, modify-file-local-variable)
21223         (modify-file-local-variable-prop-line)
21224         (modify-dir-local-variable): New functions.
21225         (add-file-local-variable, delete-file-local-variable)
21226         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21227         (add-dir-local-variable, delete-dir-local-variable)
21228         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21229         (copy-dir-locals-to-file-locals-prop-line): New commands.
21231 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
21233         * abbrev.el (insert-abbrev-table-description): Prettify output.
21234         Suggested by Karl Chen.
21236 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
21238         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21239         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21240         (gdb-overlay-arrow-position, gdb-thread-position)
21241         (gdb-disassembly-position): Declare variables.
21242         (gdb-wait-for-pending): Function now.
21243         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21244         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21245         compilation goes smoothly.
21246         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21247         (gdb-non-stop-setting): New customization setting which replaces
21248         `gdb-non-stop' so changing it doesn't break active GDB session.
21249         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21250         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21251         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21252         (gdb-show-threads-by-default): New customization options.
21253         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21254         routines.
21255         (gdb-get-buffer-create): Send buffers update signal when they are
21256         created.
21257         (gdb-invalidate-locals, gdb-invalidate-registers)
21258         (gdb-invalidate-breakpoints)
21259         (gdb-invalidate-threads, gdb-invalidate-disassembly)
21260         (gdb-invalidate-memory): Accept update signal.
21261         (gdb-current-context-command): Use --frame option.
21262         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21263         Implement `gdb-frame-number' selection logic.
21264         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21265         whether to show GUD toolbar buttons.
21266         (gdb-thread-exited): Unselect current thread when it exits.
21267         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21268         (gdb-mark-line): Routine which sets overlay arrow or inverses
21269         video on fringeless displays.
21270         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21271         to build aligned columns of data in GDB buffers and set text
21272         properties line-by-line.
21273         (gdb-invalidate-breakpoints)
21274         (gdb-breakpoints-list-handler-custom)
21275         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21276         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21277         (gdb-registers-handler-custom): Align data columns.
21278         (gdb-locals-handler-custom): Now prints data like in variable
21279         declarations.
21280         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21281         Remove confusing buttons.
21282         (gdb-invalidate-threads): Append --frame.
21283         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21284         between breakpoints/threads buffers.
21285         (gdb-set-window-buffer): Now can ignore dedicated windows.
21286         (gdb-propertize-header): Use `gdb-set-window-buffer'.
21287         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21288         (def-gdb-thread-buffer-gud-command): Replaces
21289         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21290         for fine thread control.
21291         (gdb-preempt-existing-or-display-buffer): New function used to
21292         display bound buffers without breaking window layout.
21293         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21294         (gdb-select-frame): New version of `gdb-frames-select' which now
21295         sets `gdb-frame-number' so commands may use --frame option instead
21296         of inner debugger state.
21297         (gdb-frame-handler): Do not set `gdb-frame-number'.
21298         (gdb-threads-mode-map): Select threads with mouse.
21300         * progmodes/gud.el (gdb-gud-context-call): Declare function to
21301         avoid compilation warning.
21302         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21303         `gdb-show-stop-p`.
21305         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21306         Argument `key' renamed to `buffer-type'.
21307         (gdb-current-context-buffer-name): Do not add thread info to
21308         buffer name when no thread is selected.
21309         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21310         command (bug 3794).
21311         (gdb-thread-selected): Handle `=thread-selected' notification.
21312         (gdb-wait-for-pending): New macro to deal with congestion problems.
21313         (gdb-breakpoints-list-handler-custom): Don't fail on pending
21314         breakpoints.
21315         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21316         This fixes problem similar to one described in bug 3947.
21317         (gud-menu-map): More menu items.
21318         (gdb-init-1): Reset `gdb-thread-number' to nil.
21320         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21321         non-stop settings.
21323         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21324         (gdb-current-context-command): Do not append --thread if
21325         `gdb-thread-number' is nil.
21326         (gdb-running-threads-count, gdb-stopped-threads-count):
21327         New variables.
21328         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21329         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21330         New customization options.
21331         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21332         GUD commands.
21333         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21334         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21335         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21336         set `gdb-thread-number' and update `gud-running' properly.
21337         (gdb-running): Update threads list when new threads appear.
21338         (gdb-stopped): Support non-stop operation and new thread switching
21339         logic.
21340         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21341         (gdb-json-partial-output): New set of JSON routines.
21342         (def-gdb-auto-update-trigger): New `signal-list' optional
21343         argument.
21344         (gdb-thread-list-handler-custom): Update `gud-running',
21345         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21346         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21347         (gdb-continue-thread, gdb-step-thread): New commands for fine
21348         thread execution control.
21349         (gud-menu-map): New menu items to switch non-stop options.
21350         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21351         (gdb-send): Mimic RET properly (bug 3794).
21353         * progmodes/gdb-mi.el (gdb-rules-name-maker)
21354         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21355         gdb-buffer-rules.
21356         (def-gdb-auto-update-handler): New nopreserve optional argument.
21357         (gdb-stack-list-frames-custom): Print stack from top to bottom.
21359         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21360         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21361         (gdb-parent-mode): New mode to derive other GDB modes from.
21362         (gdb-display-disassembly-for-thread)
21363         (gdb-frame-disassembly-for-thread): New commands for threads
21364         buffer.
21366         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21367         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21368         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21369         (gdb-update): We now store all GDB buffers in a list so that they
21370         can be updated by traversing a list instead of calling invalidate
21371         triggers explicitly.
21372         (def-gdb-trigger-and-handler): New macro to define trigger-handler
21373         pair for GDB buffer.
21374         (gdb-stack-buffer-name): Add thread information.
21375         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21376         handle pending triggers.
21377         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21378         (def-gdb-thread-buffer-simple-command)
21379         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21380         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21381         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21382         New commands which show buffers bound to thread.
21383         (gdb-stack-list-locals-regexp): Remove unused regexp.
21385         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21386         (gdb-locals-buffer-name, gdb-registers-buffer-name)
21387         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21388         to (gud-comint-buffer) in *-buffer-name functions
21389         because (gdb-get-target-string) already does that.
21390         (gdb-locals-handler-custom, gdb-registers-handler-custom)
21391         (gdb-changed-registers-handler): Rewritten without regexps.
21393         * progmodes/gdb-mi.el: Basic thread selection support.
21394         (gdb-thread-number): New variable.
21395         (gdb-current-context-command): New macro which adds --thread
21396         option to command.
21397         (gdb-threads-mode-map): Select thread with SPC.
21398         (gdb-thread-list-handler-custom): Mark current thread with overlay
21399         arrow.  Synchronize GDB thread and Emacs thread.
21400         (gdb-select-thread): New command which selects current thread.
21401         (gdb-invalidate-frames, gdb-invalidate-locals)
21402         (gdb-invalidate-registers): Use --thread option.
21404 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
21406         * net/tramp.el (top): Make check for tramp-gvfs loading more
21407         robust.  (Bug#3977)
21408         (tramp-handle-insert-file-contents): `unwind-protect' must be
21409         inside `with-parsed-tramp-file-name'.
21411         * net/tramp-gvfs.el (top): Remove superfluous message when loading
21412         fails.
21414 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
21416         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21417         directory if CLASSPATH is not set.
21419 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
21421         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21422         New defconst.
21423         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
21425 2009-08-02  Kevin Ryde  <user42@zip.com.au>
21427         * net/newst-backend.el (newsticker--raw-url-list-defaults):
21428         Update freshmeat link.  Delete newsforge.com as it seems gone.
21430 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21432         * select.el (x-set-selection): Doc fix (Bug#4021).
21434         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21436         * help-fns.el (describe-variable): Treat list return values from
21437         dir-locals-find-file properly (Bug#4005).
21439 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
21441         * net/tramp.el (tramp-debug-message): Print also microseconds.
21443 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
21445         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21446         or END is non-nil.
21447         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21448         (tramp-get-debug-buffer): Change `outline-regexp' according to new
21449         format.
21451         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21452         (tramp-get-file-property): Use it.
21454         * autorevert.el (auto-revert-handler):
21455         Allow `auto-revert-tail-mode' for remote files.
21457 2009-08-02  Jason Rumney  <jasonr@gnu.org>
21459         * minibuffer.el (read-file-name): Treat confirm options to
21460         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
21462 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21464         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21465         (font-lock-variable-name-face, font-lock-constant-face):
21466         Darken the colors for light backgrounds.
21468 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
21470         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21471         month names.  (Bug#3987)
21473 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
21475         * simple.el (line-move-finish): Pass whole number to
21476         line-move-to-column.
21477         (line-move-visual): Perform hscroll to the recorded position.
21479 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
21481         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21483 2009-07-29  Alan Mackenzie  <acm@muc.de>
21485         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21487 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
21489         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21490         (gdb-place-breakpoints): Use full path when setting breakpoints.
21492 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
21494         * calc/calc.el (calc-mode-map): Add keybinding for
21495         `calc-transpose-lines'.
21497 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
21499         * calc/calc-misc.el (calc-transpose-lines): New function.
21501 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
21503         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21504         Simplify check for out-of-band methods.
21505         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21506         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
21508 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
21510         * vc-git.el (vc-git-checkin): Fix typo.
21512 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
21514         * progmodes/js2-mode.el: New file.
21516 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
21518         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21519         (gud-menu-map): Adjust tooltip accordingly.
21521 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
21523         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21524         (vc-bzr-log-view-mode): Adjust log-view-file-re.
21526         * add-log.el (change-log-mode-map): Add a menu.
21528 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
21530         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21531         function returns nil.
21532         (dbus-handle-event): Handle special return value :ignore.
21533         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21535 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
21537         * view.el (view-mode-enable): Don't define Helper-return-blurb if
21538         it's not needed.
21540 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
21542         Fix Bug#3888:
21544         * w32-vars.el (x-select-enable-clipboard): Doc fix.
21546         * term/pc-win.el (x-display-name, x-colors)
21547         (x-select-enable-clipboard, x-select-text): Doc fix.
21549         * term/common-win.el (x-display-name, x-colors): Doc fix.
21551         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21552         (xw-defined-colors): Doc fix.
21554         * w32-fns.el (x-select-text, x-setup-function-keys)
21555         (x-get-selection, x-set-selection): Doc fix.
21557         * term/x-win.el (x-select-text, x-setup-function-keys)
21558         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21560         * select.el (x-set-selection): Doc fix.
21562 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
21564         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21565         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
21566         "IsNSSSupportAvailable" method is not available.
21567         Reported by Steve Youngs <steve@sxemacs.org>.
21569 2009-07-24  Kenichi Handa  <handa@m17n.org>
21571         * international/characters.el: Fix setting of category ?C, ?|, ?K,
21572         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
21573         (build-unicode-category-table): Fix range checks.
21575 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
21577         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21578         the buffer we try to sync is current when calling
21579         vc-resynch-buffer.
21581         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21582         not show up to date files.
21584 2009-07-24  Glenn Morris  <rgm@gnu.org>
21586         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21587         Add autoload cookies.  If necessary, initialize.
21588         (elint-log): Handle non-file buffers.
21589         (elint-initialize): Add optional argument to reinitialize.
21590         (elint-find-builtin-variables): Save excursion.
21592 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
21594         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21595         for Lint.
21597 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
21599         * vc.el (vc-print-log-internal): New function, split out from ...
21600         (vc-print-log): ... here.
21601         (vc-dir-move-to-goal-column): Declare.
21603         * vc-git.el (vc-git-add-signoff): New variable.
21604         (vc-git-checkin): Use it.
21605         (vc-git-toggle-signoff): New function.
21606         (vc-git-extra-menu-map): Bind it to menu.
21607         (vc-git--run-command-string): Accept a nil FILE argument.
21608         (vc-git-stash-list): New function.
21609         (vc-git-dir-extra-headers): Use it.
21611 2009-07-23  Glenn Morris  <rgm@gnu.org>
21613         * help-fns.el (describe-variable): Describe ignored and risky local
21614         variables in a similar way to that in which we describe safe ones.
21616         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21617         (byte-compile-output-file-form, byte-compile-output-docform)
21618         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21619         Give some more local variables with common names a "bytecomp-" prefix,
21620         so as not to shadow things during compilation.
21621         * emacs-lisp/cl-macs.el (load-time-value)
21622         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21623         `outbuffer' to `bytecomp-outbuffer'.
21625         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21626         since the next two variables cover them automatically now.
21627         (elint-builtin-variables, elint-autoloaded-variables): New.
21628         (elint-unknown-builtin-args): Remove all members, since they can be
21629         parsed automatically now.
21630         (elint-extra-errors): New.
21631         (elint-env-add-env, elint-env-add-macro): Use cadr.
21632         (elint-current-buffer): Use or.  Change final message.
21633         (elint-get-top-forms): Use line-end-position.
21634         (elint-init-env): Use cadr.  Handle autoload, declare-function,
21635         and defalias.
21636         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
21637         (regexp-assoc): Remove unused function.
21638         (elint-top-form): Set elint-current-pos, to record the start of the
21639         top-level form, for compilation-mode.
21640         (elint-form): Trap errors in macro expansion.  Use dolist.
21641         (elint-unbound-variable): Use elint-builtin-variables and
21642         elint-autoloaded-variables.
21643         (elint-get-args): Use cadr, or.
21644         (elint-check-cond-form): Use dolist, cadr.
21645         (elint-check-condition-case-form): Doc fix.  Use cadr.
21646         Use elint-extra-errors.
21647         (elint-log): New function.
21648         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21649         Distinguish errors and warnings.
21650         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
21651         Use a bytecomp-style format.
21652         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
21653         (elint-get-log-buffer): Use compilation mode.  Disable undo.
21654         Don't truncate lines.
21655         (elint-initialize): Set builtin and autoloaded variable lists.
21656         Only process elint-unknown-builtin-args if non-nil.
21657         (elint-find-builtin-variables, elint-find-autoloaded-variables):
21658         New functions.
21659         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
21661 2009-07-22  Kevin Ryde  <user42@zip.com.au>
21663         * net/newst-backend.el (newsticker--parse-atom-1.0)
21664         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21665         (newsticker--parse-rss-1.0):
21666         * progmodes/idlwave.el (idlwave-mode):
21667         * progmodes/idlw-shell.el (idlwave-shell-mode):
21668         * progmodes/vera-mode.el (vera-mode):
21669         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21670         * progmodes/vhdl-mode.el (vhdl-mode):
21671         * textmodes/table.el (table-generate-source)
21672         (table--warn-incompatibility):
21673         Hyperlink urls in docstrings with URL `...'.
21675 2009-07-22  Glenn Morris  <rgm@gnu.org>
21677         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21678         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21679         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21680         Remove leading * from defcustom docs.
21682         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
21684         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21685         defcustom doc.
21686         (list-load-path-shadows): Optionally, just return shadows as a string.
21688         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21690 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
21692         * mail/rmailedit.el (rmail-edit-mode):
21693         Use auto-save-include-big-deletions.
21695         * mail/rmail.el (rmail-variables):
21696         Use auto-save-include-big-deletions.
21698         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21699         changes.
21701 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
21703         * calc/calc.el (calc-undo-length): New variable.
21704         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21706 2009-07-21  Richard Stallman  <rms@gnu.org>
21708         * files.el (auto-save-mode): Handle buffer-save-size = -2
21709         for toggling mode.
21711 2009-07-21  Glenn Morris  <rgm@gnu.org>
21713         * textmodes/ispell.el (ispell-looking-back): Update declaration.
21715         * calendar/todo-mode.el (calendar-current-date): Update declaration.
21717         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21718         silence compiler.  Instead...
21719         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21720         (ps-print-ensure-fontified): Update for above function name changes.
21722         * printing.el (pr-mh-get-msg-num, pr-mh-show)
21723         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21724         silence compiler.  Instead...
21725         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21726         (mh-show-buffer): Only define for compiler.
21727         (pr-mh-current-message): Update for above function name changes.
21729         * files.el (abort-if-file-too-large): Explicitly pass `filename'
21730         as an argument.
21731         (find-file-noselect, insert-file-1): Update for above change.
21733         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21735         * mail/mailclient.el (mailclient-send-it): Fix message.
21737         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21738         (edebug-eval): Check cl-debug-env is bound.
21739         (print-level, print-circle): Don't redefine built-in variables.
21741         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21742         (custom-print-vectors): Remove old comments from doc.
21744         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21745         (emerge-version): Make the variable an obsolete alias for the
21746         emacs-version variable.  Make the function obsolete.
21747         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21748         Emerge options, rather than merging in into the main Options menu.
21749         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
21750         and auto advance modes.  Disable edit/fast items when not relevant.
21752 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
21754         * term/vt420.el (terminal-init-vt420): Fix typo.
21756 2009-07-20  Sam Steingold  <sds@gnu.org>
21758         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21759         variable (removed from compile.el on 2004-03-11).
21761 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
21763         * files.el (hack-local-variables-filter): Fix last change.
21765 2009-07-19  Juri Linkov  <juri@jurta.org>
21767         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21768         (dir-local-variables-alist): New buffer-local variable.
21769         (hack-local-variables-filter): If variable is not dir-local,
21770         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21771         because file-local overrides dir-local.
21772         (c-postprocess-file-styles) <declare-function>:
21773         Remove obsolete declaration.
21774         (hack-dir-local-variables): Add dir-local variable/value pair to
21775         `dir-local-variables-alist' and remove duplicates.  Doc fix.
21777         * help-fns.el (describe-variable): Add information about
21778         file-local and dir-local variables.
21780 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
21782         * files.el (hack-local-variables-filter): Rewrite.
21784 2009-07-19  Glenn Morris  <rgm@gnu.org>
21786         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21787         Silence compiler by only defining on XEmacs.
21789         * international/mule.el (auto-coding-regexp-alist): Only match
21790         BABYL... at the start of buffer, not of lines.  (Bug#3790)
21792         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21793         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
21794         (cal-menu-context-mouse-menu): Doc fix.
21796         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21798         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
21800 2009-07-18  Juri Linkov  <juri@jurta.org>
21802         * info.el: Virtual Info keyword finder.
21803         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21804         (Info-finder-file): New variable.
21805         (Info-finder-find-file): New function.
21806         (finder-known-keywords, finder-package-info)
21807         (find-library-name, lm-commentary): Use defvar and
21808         declare-function to silence compiler warnings.
21809         (Info-finder-find-node): New function.
21810         (info-finder): New command.
21812         * subr.el (process-kill-buffer-query-function): New function.
21813         (add-hook)<kill-buffer-query-functions>: Add hook
21814         `process-kill-buffer-query-function'.
21816 2009-07-18  Alan Mackenzie  <acm@muc.de>
21818         * progmodes/cc-mode.el (c-before-hack-hook)
21819         (c-postprocess-file-styles): Give invocation of `c-set-style'
21820         DONT-OVERRIDE parameter of t.  Already set style variables will
21821         thus not be overridden by style settings given by `c-file-syle'.
21823         * files.el (hack-local-variables-filter): Remove entries with
21824         duplicate keys from `file-local-variables-alist'.
21826 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21828         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21829         x-set-selection if display-selections-p returns nil for the
21830         current frame.
21832 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
21834         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21836 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21838         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21839         Accept nil in addition to a regexp.
21840         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21841         Accept nil in addition to a regexp.
21842         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21843         buffers that have an associated file.  Handle nil values of
21844         desktop-buffers-not-to-save and desktop-files-not-to-save.
21845         (Bug#3833)
21847         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21848         (x-disown-selection-internal): New functions.
21850 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
21852         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21853         warning.
21854         (gdb-breakpoints-header): Move forward to avoid compiler warning.
21855         (gdb-make-header-line-mouse-map): Remove duplicate definition.
21857 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
21859         * simple.el (set-mark): Revert last change.
21861 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
21863         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21864         rendering of pngs is not possible instead of messaging a long
21865         description.
21867 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
21869         * w32-fns.el (x-selection-owner-p): New function.
21871         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21872         (mouse-yank-at-click, mouse-yank-primary):
21873         If select-active-regions is non-nil, deactivate the mark before
21874         insertion.
21876         * simple.el (deactivate-mark, set-mark): Only save selection if we
21877         own it.
21879 2009-07-17  Kenichi Handa  <handa@m17n.org>
21881         * case-table.el (describe-buffer-case-table): Fix for the case
21882         that KEY is a cons.
21884 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
21886         * vc-rcs.el (vc-rcs-find-file-hook):
21887         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21889 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
21891         * net/tramp.el (tramp-wait-for-output): Handle the case when
21892         commands do not return a newline but a null byte before the shell
21893         prompt.  (Bug#3858)
21895 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21897         * term/ns-win.el (ns-set-alpha): Don't declare.
21898         (ns-set-background-alpha): Remove function.
21900 2009-07-16  Kevin Ryde  <user42@zip.com.au>
21902         * emacs-lisp/copyright.el (copyright-update): Save match-data across
21903         y-or-n-p, for safety.
21905 2009-07-16  Richard Stallman  <rms@gnu.org>
21907         * files.el (auto-save-mode): If buffer-saved-size is -2,
21908         don't clobber it.
21910         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21911         (rmail-retry-ignored-headers): Add more uninteresting fields.
21913 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
21915         * net/rcirc.el (rcirc): Use history variables.
21916         (rcirc-server-name-history, rcirc-nick-name-history)
21917         (rcirc-server-port-history): New variables.
21919 2009-07-15  Kenichi Handa  <handa@m17n.org>
21921         * international/mule-cmds.el (set-language-environment-charset):
21922         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21923         ignore them.
21925         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21926         Delete unibyte-display.
21928 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21930         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21932 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21934         * simple.el (deactivate-mark): Optional argument FORCE.
21935         (set-mark): Use deactivate-mark.
21937         * info.el (Info-search): No need to check transient-mark-mode
21938         before calling deactivate-mark.
21940         * select.el (x-set-selection): Doc fix.
21941         (x-valid-simple-selection-p): Allow buffer values.
21942         (xselect--selection-bounds): Handle buffer values.
21943         Suggested by David De La Harpe Golden.
21945         * mouse.el (mouse-set-region, mouse-drag-track):
21946         Call copy-region-as-kill before setting the mark, to let
21947         select-active-regions work.
21949 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
21951         * simple.el (deactivate-mark): If select-active-regions is
21952         non-nil, copy the selection data into a string.
21953         (activate-mark): If select-active-regions is non-nil, set the
21954         selection to the current buffer.
21955         (set-mark): Update selection if select-active-regions is non-nil.
21957         * select.el (x-valid-simple-selection-p): Allow buffer values.
21959 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21961         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21962         and more featureful message-mode.
21964 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
21966         * select.el (x-set-selection): Doc fix.
21967         (x-valid-simple-selection-p): Disallow selection data consisting
21968         of a list or cons of integers, since that is not used.
21969         (xselect--selection-bounds, xselect--int-to-cons): New functions.
21970         (xselect-convert-to-string, xselect-convert-to-length)
21971         (xselect-convert-to-filename, xselect-convert-to-charpos)
21972         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21974 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
21976         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21977         output in -break-info command (Emacs bug #3794).
21979 2009-07-14  Glenn Morris  <rgm@gnu.org>
21981         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21982         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21983         (edebug-print-length, edebug-print-level, edebug-print-circle)
21984         (edebug-sit-for-seconds, edebug-view-outside)
21985         (edebug-bounce-point, edebug-set-global-break-condition)
21986         (edebug-Go-nonstop-mode, edebug-trace-mode)
21987         (edebug-Trace-fast-mode, edebug-continue-mode)
21988         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21989         (edebug-visit-eval-list): Doc fixes.
21991         * subr.el (def-edebug-spec): Doc fix.
21993 2009-07-14  Kenichi Handa  <handa@m17n.org>
21995         * international/characters.el: Fix setting of category ?C.
21997 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
21999         * term/ns-win.el (x-select-font): defalias x-select-font to
22000         ns-popup-font-panel instead of generate-fontset-menu.
22002 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
22004         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
22006 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
22008         * arc-mode.el (archive-find-type): Allow for a PK00 string before
22009         the PK\003\004 header (Bug#3770).
22011 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
22013         * pcomplete.el (pcomplete-comint-setup): Check for
22014         shell-dynamic-complete-filename too.
22016 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
22018         * simple.el (temporary-goal-column): Change the value for
22019         line-move-visual to a cons cell.
22020         (line-move-visual): Record or set the window hscroll, if
22021         necessary (Bug#3494).
22022         (line-move-1): Handle cons value of temporary-goal-column.
22024 2009-07-11  Kenichi Handa  <handa@m17n.org>
22026         * international/mule-diag.el (describe-character-set): Don't show
22027         width.
22029 2009-07-10  Sam Steingold  <sds@gnu.org>
22031         * progmodes/compile.el (compilation-mode-font-lock-keywords):
22032         Omake sometimes indents the errors it prints, so allow all
22033         regexps to start with spaces.
22035 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
22037         * cus-edit.el (customize-changed-options-previous-release):
22038         Bump value to 22.1.  (Bug#3804)
22040 2009-07-08  Sam Steingold  <sds@gnu.org>
22042         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22043         to be a cons cell (test . ignored-directory) to selectively ignore
22044         some directories depending on the location of the search.
22046 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
22048         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22049         remote user is root, on the local host.
22050         (tramp-local-host-p): Either the local user or the remote user
22051         must be root.  (Bug#3771)
22053 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22055         * progmodes/gdb-mi.el (gdb): Remove description of
22056         gdb-use-separate-io-buffer.
22057         (menu): Don't allow toggling of or enable
22058         gdb-use-separate-io-buffer from menubar.
22060 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
22062         * mail/unrmail.el (unrmail): Make sure the message ends with two
22063         newlines (Bug#3769).
22065 2009-07-08  Glenn Morris  <rgm@gnu.org>
22067         * calendar/calendar.el (calendar-current-date): Rework previous change.
22069 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
22071         * calendar/calendar.el (calendar-current-date):
22072         Add an optional argument giving an offset from today.
22074 2009-07-08  Glenn Morris  <rgm@gnu.org>
22076         * tutorial.el (tutorial--describe-nonstandard-key):
22077         Adjust the message for when a key has been unbound.
22078         (help-with-tutorial): Hide the arch-tag.
22080 2009-07-08  Kenichi Handa  <handa@m17n.org>
22082         * international/fontset.el (setup-default-fontset): For each
22083         script, append (not set) font-specs.
22085         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22086         docstring.
22088 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22090         * progmodes/gdb-mi.el (gdb-init-1): Move sending
22091         -data-list-register-names to ...
22092         (gdb-starting): ... here because GDB 7.0 requires execution to
22093         have started when using this MI command.
22094         (gdb-set-header): New function to distinguish select and
22095         unselected tabs in gdb buffers.
22096         (gdb-propertize-header): New macro that uses gdb-set-header.
22097         (gdb-breakpoints-header, gdb-locals-header): Use it.
22098         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22100 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
22102         * Makefile.in (ELCFILES): Remove fadr.elc.
22104 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
22106         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22107         may contain frame information, so `string-match' should be used.
22108         (gdb-update): Disassembly is invalidated through
22109         `gdb-get-selected-frame'.
22110         (gdb-pad-string): New function to pad string with spaces.
22111         (gdb-invalidate-disassembly): Invalidate only if the buffer
22112         exists.
22113         (gdb-disassembly-handler-custom): Column alignment.
22114         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22115         placing new ones.
22116         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22117         end of line, too.
22118         (gdb-frame-handler): Match convention to for disassembly buffer
22119         mode name.
22120         (gdb-stack-list-frames-handler): Rewritten without regexps.
22121         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22122         not highlight breakpoints without line information.
22123         (gdb-input): Add trailing newline to command.
22125         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22126         buffer properly.
22127         (gdb-breakpoints-list-handler-custom): Replacement for
22128         `gdb-break-list-handler'.  Using real parser instead of regexps
22129         now.
22130         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22131         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22132         to place breakpoints.
22133         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22134         functions.
22135         (gdb-disassembly-handler-custom): Show overlay arrow.
22136         (gdb-disassembly-place-breakpoints): Show breakpoints in
22137         disassembly buffer.
22138         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22139         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22140         instead of parsing breakpoints buffer.  Fixed old menu references
22141         in `gud-menu-map'.
22143         * fadr.el: Remove.
22145         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22146         (gdb-memory-address): New variable which holds top address of
22147         memory page shown in memory buffer.
22148         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22149         New customization variables.
22150         New functions:
22151         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22152         display the memory buffer.
22153         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22154         buffer display parameters.
22155         (def-gdb-memory-format, gdb-memory-format-binary)
22156         (gdb-memory-format-octal, gdb-memory-format-unsigned)
22157         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22158         Functions for setting memory buffer format.
22159         (gdb-memory-unit-word, gdb-memory-unit-halfword)
22160         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22161         unit size used in memory buffer.
22162         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22163         Switch to next/previous page of memory buffer.
22164         Now using (bindat-get-field) instead of fadr functions.
22166 2009-07-07  Sam Steingold  <sds@gnu.org>
22168         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22169         non-top-level files.
22171 2009-07-07  Kenichi Handa  <handa@m17n.org>
22173         * international/mule-cmds.el (reset-language-environment):
22174         Put the highset priority to the charset iso-8859-1.
22176 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22178         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22179         to the end of the line when locating the block (Bug#700).
22181 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
22183         * net/tramp.el (tramp-handle-write-region): Flush file properties
22184         in case of short track.
22186 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
22188         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22189         Coded custom representation of verilog error regular expressions
22190         to work with Emacs-22's new format.
22191         (verilog-error-regexp-xemacs-alist): Coded custom representation
22192         of verilog error regular expressions to work with XEmacs format.
22193         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22194         error recognition into XEmacs.
22195         (verilog-error-regexp-add-emacs): Hook routine to install verilog
22196         error recognition into Emacs-22.
22198 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22200         * woman.el: Remove stand-alone closing parentheses.
22201         (woman-file-name, woman2-format-paragraphs)
22202         (woman-leave-blank-lines): Code cleanup.
22203         (woman-use-own-frame): Change default to nil.
22204         (woman-italic, woman-bold, woman-unknown, woman-addition):
22205         Change defaults to inherit from default faces.
22206         (woman2-process-escapes): Consume the newline after a stand-alone
22207         filler character (Bug#3651).
22209 2009-07-06  Glenn Morris  <rgm@gnu.org>
22211         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22212         (top-level): Move provide to the end.
22213         (ffap): Remove defunct URL from custom group.
22215         * subr.el (eval-after-load): Doc fix.
22217 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
22219         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22220         `calc-embedded-word' is called twice.
22222 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22224         * files.el (find-alternate-file-other-window, find-alternate-file):
22225         Obey confirm-nonexistent-file-or-buffer.
22227 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
22229         * dired-aux.el (dired-show-file-type): Handle remote files.
22231 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
22233         * desktop.el (desktop-globals-to-save):
22234         Add file-name-history (Bug#2750).
22236 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
22238         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22240 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
22242         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22243         property on entire argument since this is what eshell-lisp-command
22244         expects.
22246 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
22248         * net/tramp-gvfs.el (tramp-gvfs-methods)
22249         (tramp-gvfs-zeroconf-domain)
22250         (tramp-bluez-discover-devices-timeout): Add version flag.
22251         (tramp-gvfs-handler-mounted-unmounted)
22252         (tramp-gvfs-connection-mounted-p): Polish handling of
22253         incompatibilities between GVFS 0.2 and 1.0.
22255 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
22257         * cus-start.el (all): Add make-pointer-invisible.
22259 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
22261         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22262         formatted correctly.
22264 2009-07-02  Juri Linkov  <juri@jurta.org>
22266         * info.el: Virtual Info files and nodes.
22267         (Info-virtual-files, Info-virtual-nodes): New variables.
22268         (Info-current-node-virtual): New variable.
22269         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22270         New functions.
22271         (Info-file-supports-index-cookies): Use Info-virtual-file-p
22272         to check for a virtual file instead of checking a fixed list
22273         of node names.
22274         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22275         instead of ad-hoc processing of "dir" and (apropos history toc).
22276         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22277         instead of ad-hoc processing of "dir" and (apropos history toc).
22278         Reread a file when moving from a virtual node.
22279         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22280         (Info-directory-toc-nodes, Info-directory-find-file)
22281         (Info-directory-find-node): New functions.
22282         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22283         (Info-history): Move part of code to
22284         `Info-history-find-node'.
22285         (Info-history-toc-nodes, Info-history-find-file)
22286         (Info-history-find-node): New functions.
22287         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22288         (Info-toc): Move part of code to `Info-toc-find-node'.
22289         (Info-toc-find-node): New function.
22290         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
22291         the current Info file name to references because now the node
22292         "*TOC*" belongs to the same Info manual.
22293         (Info-toc-build): Rename from `Info-build-toc'.
22294         (Info-toc-nodes): Rename input argument `file' to `filename'.
22295         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22296         instead of ad-hoc processing of ("dir" apropos history toc).
22297         (Info-index-nodes): Use Info-virtual-file-p
22298         to check for a virtual file instead of checking a fixed list
22299         of node names.
22300         (Info-index-node): Add check for `Info-current-node-virtual'.
22301         Raise `save-match-data' higher up the tree to contain
22302         `search-forward' too (bug fix).
22303         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22304         (Info-virtual-index-nodes): New variable.
22305         (Info-virtual-index-find-node, Info-virtual-index): New functions.
22306         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22307         (Info-apropos-file, Info-apropos-nodes): New variables.
22308         (Info-apropos-toc-nodes, Info-apropos-find-file)
22309         (Info-apropos-find-node, Info-apropos-matches): New functions.
22310         (info-apropos): Move part of code to `Info-apropos-find-node' and
22311         `Info-apropos-matches'.
22312         (Info-mode-map): Bind "I" to `Info-virtual-index'.
22313         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22314         for a virtual file instead of checking a fixed list of node names.
22316         * simple.el (async-shell-command): New command.
22318         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22320         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22321         instead of `mount-info'.
22323 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
22325         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22326         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22328 2009-07-02  Kenichi Handa  <handa@m17n.org>
22330         * international/mule.el (set-keyboard-coding-system): Force *-unix
22331         coding-system to avoid eol conversion.
22333 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
22335         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22336         Add handler for `process-file', `shell-command' and
22337         `start-file-process'.
22338         (tramp-gvfs-handle-shell-command)
22339         (tramp-gvfs-handle-start-file-process)
22340         (tramp-gvfs-handle-process-file): New defuns.
22341         (tramp-synce-list-devices): Simplify check for existence of property.
22343 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
22345         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22347 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
22349         * language/korean.el (set-language-info-alist): Add korean-cp949,
22350         cp949 to spec.
22352 2009-07-01  Kenichi Handa  <handa@m17n.org>
22354         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22356         * international/encoded-kb.el: Deleted.
22358         * international/mule.el (set-keyboard-coding-system): Perform the
22359         necessary setup here instead of calling encoded-kbd-setup-display.
22361 2009-07-01  Glenn Morris  <rgm@gnu.org>
22363         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22365 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
22367         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
22369 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
22371         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22372         Handle also the 'rename case, when setting file modes.  (Bug#3712)
22373         (tramp-default-file-modes): Remove execute permissions.
22375         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22376         (top): Add a default for "synce" in `tramp-default-user-alist'.
22377         Add completion function for "synce" method.
22378         (tramp-hal-service, tramp-hal-path-manager)
22379         (tramp-hal-interface-manager, tramp-hal-interface-device):
22380         New defconst.
22381         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22382         (tramp-synce-list-devices, tramp-synce-parse-device-names):
22383         New defuns.
22385         * net/trampver.el: Update release number.
22387 2009-06-30  Kenichi Handa  <handa@m17n.org>
22389         * international/fontset.el (setup-default-fontset): Add CJK fonts
22390         for symbols and the other miscellaneous characters.
22392         * language/korea-util.el (setup-korean-environment-internal):
22393         Make char-width-table suitable for Korean environments.
22394         (exit-korean-environment): Cancel above.
22396         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22397         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22398         setup-function to make char-width-table suitable for respective
22399         environments, and an exit-function to cancel that.
22401         * language/japan-util.el (setup-japanese-environment-internal):
22402         Call use-cjk-char-width-table with arg `ja_JP'.
22404         * international/characters.el (cjk-char-width-table): Delete it.
22405         (cjk-char-width-table-list): New variable.
22406         (use-cjk-char-width-table): New arg local-name.
22407         (use-default-char-width-table): Fix for the case that Emacs is
22408         already using the default char-width-table.
22410 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
22412         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22413         modes mandatory.  (Bug#3712)
22415 2009-06-29  Alan Mackenzie  <acm@muc.de>
22417         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22418         correction between the visible width of TABs and their number of bytes.
22420 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
22422         * server.el (server-buffer-done): Prevent kill-buffer from
22423         prompting by clearing the buffer modification flag (Bug#3696).
22425 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
22427         * progmodes/verilog-mode.el (verilog-beg-of-statement)
22428         (verilog-endcomment-reason-re): Support unique case and priority case.
22429         (verilog-basic-complete-re): Support localparam lineup.
22430         (verilog-beg-of-statement-1): Fix for robustness, unique case.
22431         (verilog-set-auto-endcomments): Fix for unique case, always_comb
22432         commenting.
22433         (verilog-leap-to-case-head): Now support *nested* unique &
22434         priority case statements.
22435         (verilog-auto-lineup): Make just declarations the default (as it
22436         had been).
22437         (verilog-leap-to-case-head): Support priority/unique case statements.
22438         (verilog-auto-lineup): Rework to give users radio buttons to
22439         select the various styles of automatic lineup.
22440         (verilog-error-regexp-alist): Rework to support the XEmacs style
22441         of error regular expressions from compilers, lint tools &
22442         simulators.  Note that GNU Emacs has made it impossible for a mode
22443         to load such things.
22444         (electric-verilog-terminate-line, verilog-indent-declaration)
22445         (verilog-auto-wiure): Rework for radio button selection of
22446         auto-lineup selection of specification of auto lineup.
22447         (verilog-beg-of-statement-1): Redesign to support proper operation
22448         in additional code, based on testing with auto-lineup.
22449         (verilog-calculate-indent, assignments & declarations)
22450         (verilog-backward-token): Enhance to support auto-lineup of
22451         assignments & declarations.
22452         (verilog-in-directive-p, verilog-at-struct-p): New function for
22453         easy test of whether we are.
22454         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22455         to support safe execution at almost anyline.
22456         (verilog-calc-1): Properly support indenting deep inside generate
22457         blocks.
22458         (verilog-init-font): Remove definition & use of verilog-init-font,
22459         as it is redundant with font-lock-defaults.
22460         (verilog-mode): Alter the definition of verilog-font-lock-defaults
22461         to avoid circular calls if syntax-ppss is a function (as is the
22462         case now in 22.x GNU Emacs) as that function would sometimes call
22463         itself, leading to (nearly) infinite recursion.
22464         (verilog-ovm-begin-re, verilog-ovm-end-re)
22465         (verilog-ovm-statement-re, verilog-leap-to-head)
22466         (verilog-backward-token): Add support for OVM macros.  Some are
22467         complete statements, and others open and close scopes like begin
22468         and end.
22469         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22470         (verilog-defun-level-generate-only-re): Really fix the defun-list
22471         compilation issue.
22472         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22473         coverpoint, constraint and cross statements.
22474         (verilog-defun-level-list, verilog-generate-defun-level-list)
22475         (verilog-all-defun-level-list): Redo these specifications - it is
22476         too hard to support eval-when compile aggregation of lists also
22477         built at when-compile time.
22478         (verilog-defun-level-list): Place defconsts of variables used in
22479         building regular expressions which are built in eval-when-compile
22480         bodies in the same eval-when-compile body to facilitate compile
22481         without load.
22482         (verilog-beg-block-re-ordered): Support indenting
22483         virtual/protected tasks and functions.
22484         (verilog-defun-level-list, verilog-in-generate-region-p)
22485         (verilog-backward-ws&directives, verilog-calc-1): Speed up
22486         indentation of some module items (generate items).
22487         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22488         across virtual/protected tasks and functions.
22490 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
22492         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22493         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
22494         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22495         in concatenations.  Reported by Yishay Belkind.
22496         (verilog-auto-ascii-enum): Support one-hot state machines in
22497         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
22498         (verilog-auto-inst, verilog-auto-inst-port): Include interface
22499         modport in AUTOINST and add vl-modport for users.
22500         Reported by David Rogoff.
22501         (verilog-auto-inout-module, verilog-auto-inst)
22502         (verilog-decls-get-interfaces, verilog-insert-definition)
22503         (verilog-insert-one-definition, verilog-read-decls)
22504         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22505         (verilog-sig-modport, verilog-signals-combine-bus)
22506         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22507         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22508         Suggested by David Rogoff.
22509         (verilog-repair-open-comma): Fix non-insertion of comma when
22510         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
22511         (verilog-make-width-expression): Simplify [A-1:0] expression
22512         widths to just {A{1'b0}}.
22513         (verilog-mode): Cleanup checkdoc warnings.
22514         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22515         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22516         inputs/outputs or data type.  Suggested by Vasu Kandadi.
22517         (next-error-last-buffer): Fix byte-compiler warning.
22518         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22519         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22520         or shell command text during AUTO expansion.  Suggested by Tad Truex.
22521         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22522         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22523         Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22524         in AUTOINOUT.  Reported by Matthew Lovell.
22525         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22526         causing use of <= assignments.  Reported by Alex Reed.
22527         (verilog-read-decls): Fix triand, trior, wand, wor to be
22528         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
22529         (verilog-extended-complete-re): Support import "DPI-C" functions.
22530         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22531         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
22532         (verilog-insert-date, verilog-insert-year)
22533         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22534         Windows systems.  Reported by Michael Potts.
22535         (verilog-read-module-name): Fix AUTOINST when the child module
22536         declaration's name is a tick define.  Reported by Elliot Mednick.
22537         (verilog-read-decls): Fix V2K parameter bit subscripts getting
22538         passed to next parameter's definition.  Reported by Bruce T.
22539         (verilog-read-decls): Fix detecting "parameter int" when using
22540         AUTOINSTPARAM.  Reported by Bruce T.
22541         (verilog-goto-defun): Fix goto not finding modules unless first
22542         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
22543         (verilog-mode): Expand -f flag arguments on entry to mode so
22544         verilog-goto-defun will work.  Reported by Lawrence Butcher.
22545         (verilog-getopt): Expand environment variables in -f file
22546         arguments.  Suggested by Lawrence Butcher.
22547         (verilog-set-define): Fix "Symbol's value as variable is void"
22548         when reading enumerations.
22549         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22550         Suggested by Stephen Peltan.
22551         (verilog-read-defines): Fix reading of enumerations in include
22552         files.  Reported by Steve Peltan.
22554 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22556         * files.el (trash-directory): Fix defcustom type.
22558 2009-06-28  Juri Linkov  <juri@jurta.org>
22560         * help-fns.el (describe-function-1): Correctly locate adviced
22561         functions in hyperlink (Bug#2438).
22563 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
22565         * files.el (trash-directory): Change default to nil.
22566         (move-file-to-trash): If trash-directory is nil and
22567         system-move-file-to-trash is unbound, perform freedesktop-style
22568         trashing.
22570 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22572         * files.el (move-file-to-trash): Add freedesktop trash
22573         support (Bug#973).
22575 2009-06-28  Glenn Morris  <rgm@gnu.org>
22577         * autorevert.el (global-auto-revert-non-file-buffers)
22578         (global-auto-revert-mode): Doc fixes.
22580 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
22582         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22584 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
22586         * faces.el (x-handle-named-frame-geometry): Ensure that we have
22587         opened an X connection before calling x-get-resource (Bug#3194).
22589         * play/doctor.el: Remove reference to obsolete website.
22590         (make-doctor-variables): Correct grammar mistake (Bug#2633).
22592 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
22594         Remove find-file-not-found-hook VC method.  (Bug#2757)
22595         * vc-hooks.el (vc-file-not-found-hook)
22596         (vc-default-find-file-not-found-hook): Remove functions.
22597         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22598         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22599         * vc.el:
22600         * vc-hg.el:
22601         * vc-git.el: Do not mention find-file-not-found-hook VC method.
22603 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
22605         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22606         compatibility function for `looking-back'.
22608         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22609         Use `ispell-looking-back'.
22611 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
22613         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22614         rather than `filename'.
22616 2009-06-23  Miles Bader  <miles@gnu.org>
22618         * face-remap.el (text-scale-set): New function.
22620 2009-06-23  Glenn Morris  <rgm@gnu.org>
22622         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22624         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22626         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22628         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22630         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22631         Simplify Persian conditionals.
22633         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22634         variable `filename'.
22636         * comint.el (comint-insert-input): Doc fix.
22638         * Makefile.in (ELCFILES): Fix typo in previous change.
22640 2009-06-23  Miles Bader  <miles@gnu.org>
22642         * cus-start.el: Add entry for `recenter-redisplay'.
22644 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22646         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22647         Add an optional argument for the backend, use it instead of
22648         calling vc-backend.
22649         (vc-mode-line): Add an optional argument for the backend.
22650         Pass the backend to vc-state and vc-working-revision.  Move code for
22651         special handling for vc-state being a buffer to ...
22653         * vc-rcs.el (vc-rcs-find-file-hook):
22654         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
22656         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22657         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22658         vc-stay-local-p and vc-mode-line calls.
22660         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22661         (vc-cvs-diff, vc-cvs-annotate-command)
22662         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22663         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22664         vc-mode-line calls.
22666         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22667         direct comparison.
22668         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22669         backend when calling vc-mode-line.
22670         (vc-register): Do not create a closure for calling the vc register
22671         function, call it directly.
22673 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22675         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22676         to make it obvious item can be clicked.
22678         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22680 2009-06-23  Kenichi Handa  <handa@m17n.org>
22682         * language/korea-util.el (korean-key-bindings): Change the binding
22683         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
22684         same command.
22686 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
22688         Sync with Tramp 2.1.16.
22690         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22692         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
22693         when a loading of a package fails.  Completion function for rsync
22694         is `tramp-completion-function-alist-ssh'.
22695         (all): Replace all calls of `split-string' and
22696         `tramp-split-string' by `tramp-compat-split-string'.
22697         (tramp-default-method): Use `tramp-compat-process-running-p'.
22698         (tramp-default-proxies-alist): Allow also Lisp forms.
22699         (tramp-remote-path): Add choice "Private Directories".
22700         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22701         (tramp-domain-regexp): Allow also "-", "_" and ".".
22702         (tramp-end-of-output): Remove newlines, and add "$" at the end.
22703         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22704         (tramp-debug-message): Insert header line in debug buffer.
22705         (tramp-handle-directory-files-and-attributes-with-stat):
22706         Care about filenames with spaces, or starting with "-".
22707         (tramp-handle-dired-uncache): New defun.
22708         (tramp-handle-insert-directory): Don't flush the directory from
22709         cache, this is handled by `dired-uncache' now.
22710         (tramp-handle-insert-file-contents): Improve error handling.
22711         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22712         Quote `tramp-end-of-output'.
22713         (tramp-action-password): Improve trace message.
22714         (tramp-check-for-regexp): Both echoes must be present, before removing.
22715         (tramp-open-connection-setup-interactive-shell): Trace coding system.
22716         (tramp-compute-multi-hops): Eval cons cells of
22717         `tramp-default-proxies-alist'.
22718         (tramp-maybe-open-connection): Use the same command pattern for
22719         first hop and further hops.
22720         (tramp-wait-for-output): Remove handling of newlines.
22721         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22722         (tramp-split-string): Remove function.  It is handled in
22723         tramp-compat now.
22725         * net/tramp-cmds.el (tramp-bug):
22726         Recommend `tramp-cleanup-all-connections' in the bug mail.
22728         * net/tramp-compat.el (tramp-compat-split-string)
22729         (tramp-compat-process-running-p): New defuns.
22731         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22732         for `dired-uncache'.
22734         * net/tramp-gvfs.el: New package.
22736         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22737         Add handler for `dired-uncache'.
22738         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22740         * net/trampver.el: Update release number.  Make version check fit
22741         for SXEmacs 22.
22743 2009-06-22  Jim Meyering  <meyering@redhat.com>
22745         Automatically handle .xz suffix (XZ-compressed files), too.
22746         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22747         XZ is the successor to LZMA: <http://tukaani.org/xz/>
22749 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
22750             Nick Roberts  <nickrob@snap.net.nz>
22752         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22753         repository (http://sphinx.net.ru/hg/gdb-mi/).
22755 2009-06-22  Glenn Morris  <rgm@gnu.org>
22757         * files.el (dir-locals-collect-mode-variables): Allow for any number of
22758         `mode' and `eval' entries.  (Bug#3430)
22760         * Makefile.in (ELCFILES): Add fadr.elc.
22762         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22763         differing behavior of \n and ^ in strings.  (Bug#3385)
22765         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22767         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22768         property.
22769         (lisp-indent-function): Make it a defcustom.
22771 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
22773         * progmodes/gdb-ui.el: Replace with ...
22774         * progmodes/gdb-mi.el: ... this file.
22775         * progmodes/gud.el: Modify for gdb-mi.el.
22777 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
22779         * fadr.el: New file.
22781 See ChangeLog.14 for earlier changes.
22783 ;; Local Variables:
22784 ;; coding: utf-8
22785 ;; End:
22787   Copyright (C) 2009-2011  Free Software Foundation, Inc.
22789   This file is part of GNU Emacs.
22791   GNU Emacs is free software: you can redistribute it and/or modify
22792   it under the terms of the GNU General Public License as published by
22793   the Free Software Foundation, either version 3 of the License, or
22794   (at your option) any later version.
22796   GNU Emacs is distributed in the hope that it will be useful,
22797   but WITHOUT ANY WARRANTY; without even the implied warranty of
22798   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22799   GNU General Public License for more details.
22801   You should have received a copy of the GNU General Public License
22802   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.