cus-start.el fix for bug#8192.
[emacs.git] / lisp / ChangeLog
blobe96200885a024923c9f0b44b0057950eae843721
1 2011-03-08  Glenn Morris  <rgm@gnu.org>
3         * cus-start.el (cursor-in-non-selected-windows):
4         Fix :set quoting oddness.  (Bug#8192)
6         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
7         in some setf expressions.  (Bug#2159)
9 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
11         * custom.el (custom-available-themes): Return themes in
12         alphabetical order.
14 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
16         * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
17         application of patch from Alan Mackenzie (Bug#7595).
19 2011-03-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
21         * net/rcirc.el (rcirc-connect): Fix PASS bug.
23 2011-03-07  Glenn Morris  <rgm@gnu.org>
25         * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
26         Give an explicit error if failed to make writable.  (Bug#6146)
28 2011-03-07  Ed Reingold  <reingold@emr.cs.iit.edu>
30         * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
31         Add optional `after-sunset' argument.  (Bug#8190)
33 2011-03-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
35         * play/morse.el (nato-alphabet, nato-region, denato-region):
36         New variable and functions.  (Bug#2288)
37         (morse-region, unmorse-region): Barf if read-only.
39 2011-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
41         * progmodes/gud.el (gdb-script-syntax-propertize-function):
42         Don't change the syntax of a \n that closes a comment (bug#8169).
44 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
46         * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
47         defcustom.
48         (package--update-file): Doc fix.  Accept relative file names.
49         (package--archive-contents-from-file): Remove the argument, since
50         it's necessarily always "archive-contents".
51         (package-maint-add-news-item): Pass relative file name args to
52         package--update-file.
53         (package-upload-buffer-internal): Prompt for a destination if
54         package-archive-upload-base is invalid.  Create the directory if
55         it does not exist.
56         (package-upload-buffer, package-upload-file): Doc fix.
58 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
60         * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
61         and move isearch-yank-line to M-s C-e (Bug#8183).
63 2011-03-06  Alan Mackenzie  <acm@muc.de>
65         * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
66         (c-guess-basic-syntax): Move CASE 19 to a different place,
67         correctly to process template-args-cont lines.
69 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
71         * calc/calc-ext.el (calc-init-extensions):
72         Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
73         and calc-nplevel, respectively.  Add keybindings for calc-spn,
74         calc-midi and calc-freq.  Add autoloads for calcFunc-spn,
75         calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
77         * calc/calc-units.el (calc-dblevel): Rename from
78         calc-logunits-dblevel.
79         (calc-nplevel): Rename from calc-logunits-nplevel.
80         (math-midi-round, math-freqp, math-midip, math-spnp)
81         (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
82         (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
83         (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
84         (math-notes): New variable.
86         * calc/calc.el (calc-note-threshold): New variable.
88 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
90         * emacs-lisp/package.el (package-archives): Accept either ordinary
91         directory names, in addition to HTTP URLs.
92         (package--with-work-buffer): New macro.   Handle normal directories.
93         (package-handle-response): Don't display the failing buffer.
94         (package-download-single, package-download-tar)
95         (package--download-one-archive): Use package--with-work-buffer.
96         (package-archive-base): Rename from package-archive-url.
98 2011-03-06  Glenn Morris  <rgm@gnu.org>
100         * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
101         (xmodmap-generic-mode): Respect generic-extras-enable-list.
103 2011-03-06  Daniel Clemente  <dcl441-bugs@yahoo.com>  (tiny change)
105         * generic-x.el (xmodmap-generic-mode): New.  (Bug#2065)
107 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
109         * allout.el (allout-init, allout-prefixed-keybindings)
110         (allout-unprefixed-keybindings):
111         * progmodes/prolog.el (prolog-find-term):
112         Fix typos in docstrings.
114 2011-03-06  Nikolaj Schumacher  <me@nschum.de>  (tiny change)
116         * emacs-lisp/elp.el (elp-results): Fix off-by-one in header.  (Bug#2746)
118 2011-03-06  Kevin Ryde  <user42@zip.com.au>
120         * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc.  (Bug#5326)
122 2011-03-06  Michael Shields  <shields@msrl.com>  (tiny change)
124         * window.el (one-window-p, walk-windows, display-buffer):
125         Doc fixes.  (Bug#5567)
127 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
129         * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
130         of the variable if it exists.
132 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
134         * bookmark.el:
135         * desktop.el:
136         * emacs-lock.el:
137         * ps-print.el:
138         * saveplace.el:
139         * net/tramp-cache.el:
140         * obsolete/fast-lock.el:
141         * textmodes/reftex.el:
142         Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
144 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
146         * files.el (delete-directory, copy-directory, list-directory):
147         Use read-directory-name.
149         * find-file.el (ff-find-the-other-file):
150         * net/ange-ftp.el (ange-ftp-make-directory):
151         * printing.el (pr-interactive-dir):
152         * progmodes/ada-prj.el (ada-prj-load-directory):
153         * progmodes/ebnf2ps.el (ebnf-print-directory)
154         (ebnf-spool-directory, ebnf-eps-directory)
155         (ebnf-syntax-directory):
156         * shell.el (shell):
157         * speedbar.el (speedbar-create-directory):
158         * vc/emerge.el (emerge-merge-directories):
159         * vc/vc-dir.el (vc-dir):
160         * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
162 2011-03-05  Chong Yidong  <cyd@stupidchicken.com>
164         * help-mode.el (help-buffer): If we are to return the current
165         buffer, signal an error if it's not in Help mode (Bug#8147).
167 2011-03-05  Reuben Thomas  <rrt@sc3d.org>
169         * files.el (file-name-version-regexp): Handle backup files of the
170         form `foo.js.~HEAD~1~' (Bug#8159).
172 2011-03-05  Glenn Morris  <rgm@gnu.org>
174         * eshell/esh-var.el: Don't require esh-test when compiling.
175         * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
176         * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
177         * eshell/esh-test.el: Move to ../../test/eshell.el.
179 2011-03-05  David Engster  <deng@randomsample.de>
181         * files.el (save-some-buffers): Report the names of buffers saved
182         automatically due to buffer-save-without-query (Bug#8134).
184 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
186         * net/rcirc.el: Add QuakeNet authentication support.
187         (rcirc-authinfo, rcirc-check-auth-status)
188         (rcirc-authenticate): Support QuakeNet.
190 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
192         * net/rcirc.el: Add functionality to authenticate before
193         autojoining channels.
194         (rcirc-authenticate-before-join): New option.
195         (rcirc-authenticated-hook): New variable.
196         (rcirc-connect): Make local variable rcirc-user-authenticated.
197         (rcirc-handler-001): Respect rcirc-authenticate-before-join.
198         (rcirc-check-auth-status, rcirc-join-channels-post-auth):
199         New functions.
200         (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
201         Call rcirc-check-auth-status.
203 2011-03-05  Alex Harsanyi  <AlexHarsanyi@gmail.com>
205         * net/soap-client.el (soap-namespace-put-link): Check if the target
206         name is fully qualified -- use only the name part.
207         (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
208         types, treated the same as xsd:sequence.  (Bug#8166)
210 2011-03-05  Eli Zaretskii  <eliz@gnu.org>
212         * files.el (find-file-noselect): Don't ask about re-visiting
213         non-literally if the file is already visited in image-mode.
214         (Bug#8177)
216 2011-03-05  Glenn Morris  <rgm@gnu.org>
218         * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
219         (eshell-mode): Use eshell-kill-buffer-function.
220         Run the -initialize functions independently of the -load-hooks.
221         * eshell/esh-proc.el (eshell-kill-process-function): New function.
222         (eshell-gather-process-output, eshell-sentinel)
223         (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
224         Use eshell-kill-process-function.
225         * eshell/em-alias.el (eshell-alias-load-hook):
226         * eshell/em-banner.el (eshell-banner-load-hook):
227         * eshell/em-cmpl.el (eshell-cmpl-load-hook):
228         * eshell/em-dirs.el (eshell-dirs-load-hook):
229         * eshell/em-glob.el (eshell-glob-load-hook):
230         * eshell/em-hist.el (eshell-hist-load-hook):
231         * eshell/em-pred.el (eshell-pred-load-hook):
232         * eshell/em-prompt.el (eshell-prompt-load-hook):
233         * eshell/em-rebind.el (eshell-rebind-load-hook):
234         * eshell/em-script.el (eshell-script-load-hook):
235         * eshell/em-smart.el (eshell-smart-load-hook):
236         * eshell/em-term.el (eshell-term-load-hook):
237         * eshell/em-unix.el (eshell-unix-load-hook):
238         * eshell/esh-arg.el (eshell-arg-load-hook):
239         * eshell/esh-cmd.el (eshell-cmd-load-hook):
240         * eshell/esh-ext.el (eshell-ext-load-hook):
241         * eshell/esh-io.el (eshell-io-load-hook):
242         * eshell/esh-mode.el (eshell-exit-hook):
243         * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
244         * eshell/esh-var.el (eshell-var-load-hook):
245         Set default hook values to nil.  (Bug#5375)
247         * eshell/esh-module.el (eshell-module-unload-hook)
248         (eshell-modules-list): Remove leading * from defcustom docs.
250         * eshell/esh-util.el (eshell-for): Make it obsolete.
251         * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
252         * eshell/em-dirs.el (eshell-save-some-last-dir):
253         * eshell/em-hist.el (eshell-save-some-history)
254         (eshell-hist-parse-modifier):
255         * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
256         (eshell-ls-entries):
257         * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
258         * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
259         (eshell/which):
260         * eshell/esh-ext.el (eshell-find-interpreter):
261         * eshell/esh-mode.el (eshell-mode):
262         * eshell/esh-module.el (eshell-unload-extension-modules):
263         * eshell/esh-proc.el (eshell-process-interact):
264         * eshell/esh-test.el (eshell-test):
265         * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
266         * eshell/esh-var.el (eshell/env, eshell-environment-variables)
267         (eshell-variables-list):
268         * eshell/eshell.el (eshell-unload-all-modules):
269         Replace eshell-for with dolist.
271 2011-03-04  Glenn Morris  <rgm@gnu.org>
273         * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0.  (Bug#8170)
275 2011-03-04  Tom Tromey  <tromey@redhat.com>
277         * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
279 2011-03-04  Glenn Morris  <rgm@gnu.org>
281         * outline.el (outline-regexp): No longer allow nil.
282         (outline-heading-end-regexp): Add safety predicate.  (Bug#7619)
284         * net/browse-url.el (browse-url):
285         Handle deleted default-directory.  (Bug#6077)
287         * recentf.el (recentf-include-p): In case of a buggy predicate,
288         err on the side of including, not excluding.  (Bug#5843)
290 2011-03-04  Jay Belanger  <jay.p.belanger@gmail.com>
292         * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
293         variables as units.
295 2011-03-04  Bob Rogers  <rogers@rgrjr.dyndns.org>
297         * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
298         if there is no node.  (Bug#3261)
300 2011-03-04  Leo  <sdl.web@gmail.com>
302         * vc/diff-mode.el (diff-mode): Fix whitespace-style.  (Bug#8139)
304         * time.el (display-time-world-list): Fix typo.  (Bug#7571)
306 2011-03-04  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
308         * cus-edit.el (custom-buffer-create-internal):
309         Split search string before passing it to `customize-apropos' (bug#8136).
311 2011-03-04  Drew Adams  <drew.adams@oracle.com>
313         * image-dired.el (image-dired-cmd-read-exif-data-options):
314         Fix typo in docstring (bug#8156).
316 2011-03-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
318         * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
320 2011-03-03  Christian Ohler  <ohler@gnu.org>
322         * emacs-lisp/ert.el (ert--explain-equal): New function.
323         (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
324         All callers changed.
325         (ert--explain-equal-including-properties): Renamed from
326         `ert--explain-not-equal-including-properties'.  All callers
327         changed.
329 2011-03-03  Christian Ohler  <ohler@gnu.org>
331         * emacs-lisp/ert.el (ert--stats-set-test-and-result)
332         (ert-char-for-test-result, ert-string-for-test-result)
333         (ert-run-tests-batch, ert--print-test-for-ewoc):
334         Handle `ert-test-quit'.
336 2011-03-03  David Abrahams  <dave@boostpro.com>  (tiny change)
338         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
339         Move ediff-defvar-local calls after defcustoms.  (Bug#1821)
341 2011-03-03  Glenn Morris  <rgm@gnu.org>
343         * files.el (file-truename): Doc fix.  (Bug#2341)
345 2011-03-03  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
347         * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
349 2011-03-03  Vagn Johansen  <gonz808@hotmail.com>  (tiny change)
351         * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
352         programs output backslashes.  (Bug#7663)
354 2011-03-03  Glenn Morris  <rgm@gnu.org>
356         * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
357         (mail-mode): Remove mail-sent-via from the doc.
358         (mail-sent-via): Make it obsolete.  (Bug#1776)
360         * progmodes/grep.el (grep-highlight-matches): Doc fix.
361         (grep-process-setup): No highlighting without font-lock.  (Bug#8084)
363         * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
364         with no parents.  (Bug#8025)
366 2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>
368         * password-cache.el (password-in-cache-p): Add autoload.
370 2011-03-02  Glenn Morris  <rgm@gnu.org>
372         * man.el (Man-support-local-filenames): Also handle Red Hat's man.
373         * dired-x.el (Man-support-local-filenames): Autoload it.
374         (dired-guess-shell-alist-default): Also handle Red Hat's man.
376         * dired-x.el (dired-default-directory-alist, dired-default-directory):
377         Mark as obsolete.
378         (dired-smart-shell-command): Just call dired-current-directory.
380         * dired-x.el (dired-jump-other-window): Add autoload.
381         (dired-default-directory-alist, dired-default-directory): Doc fixes.
382         (dired-default-directory-alist): Mark as risky.
384         * dired-x.el (dired-omit-here-always): Make it obsolete.
386 2011-03-02  Chong Yidong  <cyd@stupidchicken.com>
388         * textmodes/artist.el (artist-curr-go): Default to pen-line.
389         (artist-select-op-pen-line): New function.
390         (artist-menu-map): New variable.
391         (artist-mode-map): Add a menu to the menu-bar.
393 2011-03-02  Jay Belanger  <jay.p.belanger@gmail.com>
395         * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
396         when evaluating.
398         * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
399         New function.
400         (math-logunits-add, math-logunits-mul, math-logunits-divide):
401         (math-logunits-quant, math-logunits-level):
402         Use `math-conditional-apply' and `math-conditional-pow' to evaluate
403         functions.
404         (math-logunits-level): Extract units from ratio.
406 2011-03-01  Juanma Barranquero  <lekktu@gmail.com>
408         * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
410 2011-03-01  Glenn Morris  <rgm@gnu.org>
412         * calendar/cal-hebrew.el (calendar-hebrew-birthday)
413         (diary-hebrew-birthday): Rename and rework functions added
414         in previous change.
416 2011-03-01  Ed Reingold  <reingold@emr.cs.iit.edu>
418         * calendar/cal-hebrew.el (hebrew-calendar-birthday)
419         (diary-hebrew-birthday): New functions.
421 2011-03-01  Glenn Morris  <rgm@gnu.org>
423         * dired.el (dired-safe-switches-p): Beef it up.
424         (dired-actual-switches): Use it for the safe-local prop.  (Bug#3230)
426 2011-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
428         * dired.el (dired-safe-switches-p): New function.
430 2011-03-01  Glenn Morris  <rgm@gnu.org>
432         * files.el (dir-locals-collect-variables):
433         Add the ability to exclude subdirectories.  (Bug#8100)
435         * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
437 2011-02-28  Christoph Scholtes  <cschol2112@googlemail.com>
439         * ido.el (ido-everywhere): Doc fix.
440         (ido-mode): Doc fix.
442 2011-02-28  Glenn Morris  <rgm@gnu.org>
444         * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
446 2011-02-28  Michael Albinus  <michael.albinus@gmx.de>
448         * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
449         shadows.
451 2011-02-28  Antoine Levitt  <antoine.levitt@gmail.com>
453         * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
455 2011-02-28  Juanma Barranquero  <lekktu@gmail.com>
457         * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
458         Fix typos in docstrings.
460 2011-02-28  Stephen Berman  <stephen.berman@gmx.net>
462         * dired-aux.el (dired-update-file-line):
463         Fix 2010-11-09 change.  (Bug#8131)
465 2011-02-28  Eli Zaretskii  <eliz@gnu.org>
467         * international/mule-cmds.el (set-default-coding-systems): Use the
468         -unix variant of encoding in default-keyboard-coding-system.
469         (Bug#8122)
471 2011-02-27  Chong Yidong  <cyd@stupidchicken.com>
473         * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
475 2011-02-27  Prestoo Ten  <prestooten@gmail.com>  (tiny change)
477         * term/screen.el: New file (Bug#2650).
479 2011-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
481         * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
482         (pcase-mutually-exclusive-predicates): New var.
483         (pcase--split-consp, pcase--split-pred): Use it.
484         (pcase--split-equal, pcase--split-member): When splitting against
485         a pure predicate, run it to know the outcome.
486         (pcase--u1): Mark vars that are actually used.
487         (pcase--q1): Avoid introducing unused vars.
489 2011-02-27  Jay Belanger  <jay.p.belanger@gmail.com>
491         * calc/calc-ext.el (calc-init-extensions):
492         Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
494         * calc/calc-math.el (calcFunc-log10): Don't signal an error in
495         symbolic mode.
497         * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
498         argument is a variable.
500 2011-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
502         * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
503         (aput, adelete, amake): Replace `eval' -> `symbol-value'.
504         Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
506 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
508         * password-cache.el (password-in-cache-p): Convenience function to
509         check if a key is in the cache, even if the value is nil.
511 2011-02-25  Jambunathan K  <kjambunathan@gmail.com>
513         * emacs-lisp/package-x.el (package--archive-contents-from-url)
514         (package--archive-contents-from-file): New functions.
515         (package-update-news-on-upload): New var.
516         (package-upload-buffer-internal): Extract archive-contents from
517         package-archive-upload-base if it is not found at archive-url.
518         Obey package-update-news-on-upload.
519         (package-upload-buffer, package-upload-file): Doc fix.
521 2011-02-24  Glenn Morris  <rgm@gnu.org>
523         * files-x.el (modify-dir-local-variable): Handle dir-locals from
524         the cache, and from non-file sources.
526         * help-fns.el (describe-variable): Return consistent results when a
527         dir-local from a file came from the cache or did not.  (Bug#8095)
528         If a dir-local has no associated file, say it came from a "directory".
530         * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
531         (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
533         * files.el (dir-locals-find-file): Doc fix.
534         Fix the check for cache elements that have no associated file,
535         and the mtime check for those that do.  (Bug#8095)
537         * dired-x.el (dired-hack-local-variables):
538         Handle interrupts during hacking local variables.  (Bug#5216)
540         * emacs-lisp/autoload.el (autoload-save-buffers)
541         (autoload-find-destination, update-directory-autoloads):
542         Avoid prompts when updating autoloads.
544 2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
546         * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
548 2011-02-23  Kenichi Handa  <handa@m17n.org>
550         * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
551         error when a multipart boundary in the nested multipart is found.
553         * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
554         header components.
556 2011-02-23  Glenn Morris  <rgm@gnu.org>
558         * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
559         * dired-x.el (dired-omit-mode): Safe if boolean.
560         (dired-enable-local-variables): Fix doc and custom type.
561         (dired-enable-local-variables, dired-local-variables-file)
562         (dired-hack-local-variables): Make obsolete.
563         (dired-omit-here-always): Use dir-locals.el instead.
565         * files.el (safe-local-eval-forms): Add the write-file-hooks version.
567 2011-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
569         * help-fns.el (describe-function-1): Don't signal an error just because
570         the DOC file disappeared.
572 2011-02-22  Seppo Sade  <sepposade1@gmail.com>  (tiny change)
574         * eshell/esh-ext.el (eshell-external-command): Do not restrict
575         remote check to "ftp".  (Bug#8089)
577 2011-02-21  Alan Mackenzie  <acm@muc.de>
579         Fix bug #7930.
580         * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
581         in macros finding their way into c-state-nonlit-pos-cache.
582         Strengthen the comments.
583         (c-state-dump): New commented out diagnostic routine.
585 2011-02-21  Michael Albinus  <michael.albinus@gmx.de>
587         * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
588         `field' property of `rfn-eshadow-overlay'.
590 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
592         * net/netrc.el (netrc-parse): Comment fix.
594 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
596         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
597         Autoload.  Add optional arg FRAME, and pass it to color-values.
598         (color-complement): Caller changed.  Doc fix.
599         (color-gradient): Rewrite for better clarity and efficiency.
601         * faces.el (color-values): Use cond for clarity.  Doc fix.
603         * facemenu.el (color-rgb-to-hsv): Delete; use the version in
604         color.el instead.
605         (list-colors-sort-key, list-colors-print):
606         Use color-normalized-values.
608 2011-02-20  Drew Adams  <drew.adams@oracle.com>
610         * color.el: First part of merge from hexrgb.el.
611         (color-rgb-to-hex): Rename from color-rgb->hex.
612         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
613         saturation to zero if the value is too small.
614         (color-rgb-to-hsl): Rename from color-rgb->hsl.
615         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
616         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
617         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
618         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
619         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
620         (color-cie-de2000): Doc fix.
622 2011-02-20  Alan Mackenzie  <acm@muc.de>
624         * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
625         locating the beginning of a macro.  (Bug#7595)
627 2011-02-20  Glenn Morris  <rgm@gnu.org>
629         * edmacro.el (edmacro-eight-bits): Make it a defcustom.
630         Don't autoload it.
632         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
633         (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
635 2011-02-19  Dmitry Bolshakov  <dmitry.bolshakov@bridge-quest.com>
636             Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
638         * progmodes/hideshow.el (hs-find-block-beginning)
639         (hs-hide-level-recursive): Ignore comments when parsing braces
640         (Bug#8036).
642 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
644         * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
645         (vc-bzr-pull): Use it.
647 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
649         * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
650         (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
651         but returning an alist.  Ignore comments in bzr conffile.
652         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
653         (vc-bzr-error-regex-alist): New var.
654         (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
656         * vc/vc-dispatcher.el (vc-do-async-command):
657         Bind inhibit-read-only to t.
659         * progmodes/compile.el (compilation--flush-directory-cache):
660         Handle the case where cdr of compilation--flush-directory-cache
661         points to no buffer, which can occur if we previously switched to
662         compilation-mode in a pregenerated buffer.
664 2011-02-19  Kenichi Handa  <handa@m17n.org>
666         * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
667         get the header copy into the temporary buffer.
668         (rmail-mime-insert-decoded-text): Ignore us-ascii.
669         (rmail-show-mime): When rmail-mime-coding-system is nil, set
670         buffer-file-coding-system to undecided.
672 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
674         * international/mule-cmds.el (read-char-by-name, ucs-insert):
675         Document completion with asterisk and a substring.
677 2011-02-19  Glenn Morris  <rgm@gnu.org>
679         * files.el (find-file-literally): Doc fix.
681         * simple.el (rfc822-goto-eoh): Give it a doc-string.
683         * log-edit.el (log-edit-insert-changelog):
684         Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
686 2011-02-19  Glenn Morris  <rgm@gnu.org>
688         * dired-x.el: Don't require dired-aux.
689         (dired-do-create-files, dired-mark-read-regexp)
690         (dired-do-create-files-regexp): Autoload from dired-aux.
692         * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
693         * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
695         * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
696         * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
698         * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
699         * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
700         (dired-clean-up-buffers-too): Declare.
702         * dired-x.el (dired-initial-position): Merge into dired.el's version.
703         * dired.el (dired-initial-position): Merge dired-x's version here.
704         (dired-find-subdir): Declare.
706         * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
707         * dired-aux.el (dired-add-entry): Give it a doc-string.
708         Merge dired-x's dired-omit handling here.
709         (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
711         * international/mule-diag.el (list-input-methods-1):
712         Indent all lines of multi-line doc-strings.  (Bug#8066)
714 2011-02-18  Chong Yidong  <cyd@stupidchicken.com>
716         Fix 2011-02-02 changes.
718         * apropos.el (apropos-print): Call apropos-mode before setting up
719         buffer variables.  Use inhibit-read-only.
721         * emacs-lisp/package.el (package--list-packages):
722         Call package-menu-mode before setting up buffer variables.
724         * play/solitaire.el (solitaire): Call solitaire-mode before
725         setting up buffer variables.  Use inhibit-read-only.
727 2011-02-18  Lawrence Mitchell  <wence@gmx.li>
729         * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
730         Bind case-fold-search to nil when looking for end of here-doc.
732 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
734         * image-mode.el (image-toggle-display-image):
735         Set find-file-literally non-nil in buffers visiting binary image
736         files.  (Bug#8047)
738 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
740         * files.el (cd): Make completion obey cd-path (bug#7924).
742 2011-02-18  Glenn Morris  <rgm@gnu.org>
744         * progmodes/prolog.el: Don't require compile when compiling.
745         (compilation-shell-minor-mode, compilation-error-regexp-alist)
746         (compilation-forget-errors, compilation-fake-loc)
747         (compilation-parse-errors-function, compilation-error-list): Declare.
748         (prolog-inferior-mode): Require 'compile.
750         * emulation/cua-base.el (pc-selection-mode): Declare.
752         * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
753         (customize-object): Add autoload cookie.
754         * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
755         (eieio-browse, describe-class, eieio-describe-class)
756         (eieio-describe-constructor, describe-generic, eieio-describe-generic)
757         (eieio-help-mode-augmentation-maybee): Add autoload cookies.
758         * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
759         * Makefile.in (autoloads): Make eieio.el writable.
761         * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
762         (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
763         (dired-hack-local-variables): Use inhibit-read-only.
764         (dired-guess-default): Simplify.
765         (dired-make-relative-symlink): Use dotimes.
766         (dired-simultaneous-find-file): Use dolist.
767         (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
768         (dired-x-hands-off-my-keys): Doc fix.
769         (dired-x-bind-find-file): Doc fix.  Use remapping.
770         (after-init-hook): No need to add dired-x-bind-find-file.
771         (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
772         No need to call expand-file-name.
773         (dired-filename-at-point): Remove unused locals `end', `filename'.
775 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
777         * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
779 2011-02-18  Christian Ohler  <ohler@gnu.org>
781         * emacs-lisp/ert.el (ert--setup-results-buffer)
782         (ert-results-pop-to-backtrace-for-test-at-point)
783         (ert-results-pop-to-messages-for-test-at-point)
784         (ert-results-pop-to-should-forms-for-test-at-point)
785         (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
786         were incorrect and unnecessary.  This should make `make check'
787         pass again.
789 2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
791         * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
792         (allout-widgets-icons-dark-subdir): Track relocations of icons
793         * lisp/allout.el: Remove commentary about remove encryption
794         passphrase mnemonic support and verification.
795         (allout-encrypt-string): Recognize epg failure to decrypt gpg2
796         armored text using gpg1, and indicate that the gpg version *might*
797         be the problem in the error message.
799 2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
801         * net/rcirc.el (rcirc-float-time): New function.
802         (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
803         (rcirc-ctcp-sender-PING): Use it.
805 2011-02-17  Glenn Morris  <rgm@gnu.org>
807         * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
808         (speedbar-update-flag, speedbar-fetch-etags-command)
809         (speedbar-fetch-etags-arguments):
810         * term.el (term-buffer-maximum-size, term-input-chunk-size)
811         (term-completion-autolist, term-completion-addsuffix)
812         (term-completion-recexact, term-completion-fignore):
813         * term/sup-mouse.el (sup-mouse-fast-select-window):
814         * term/x-win.el (x-select-request-type):
815         Convert some defvars with "*" to defcustoms.
817         * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
819         * vc/vc.el (vc-default-previous-version):
820         Remove alias that points nowhere.  (Bug#4496)
822         * dired-x.el (dired-clean-up-after-deletion):
823         kill-buffer does not need save-excursion.
824         (dired-do-run-mail): Doc fix.
825         (dired-filename-at-point): Doc fix.
826         Use looking-at, and skip-chars rather than re search.
828         * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
830 2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
832         * allout-widgets.el: New allout extension that shows allout
833         outline structure with graphical widgets.  'allout-widgets'
834         customize group is an 'allout' subgroup, for easy discovery.
836         * allout.el: Include PGP and GnuPG in Keywords, and other
837         commentary refinements.
838         (allout-abbreviate-flattened-numbering): Rename to
839         allout-flattened-numbering-abbreviation, and
840         define-obsolete-variable-alias the old name.
841         (allout-flattened-numbering-abbreviation): Rename from
842         allout-abbreviate-flattened-numbering.
843         (allout-mode-p): Include among autoloads, for use by other modes
844         with impunity.
845         (allout-listify-exposed):
846         Use allout-flattened-numbering-abbreviation.
847         (allout-encrypt-string): Use set-buffer-multibyte directly.
848         (allout-set-buffer-multibyte): Remove.
850 2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
852         * simple.el (just-one-space): Remove useless `or' call.
854 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
856         * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
857         (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
858         (soap-decoded-multi-refs, soap-current-wsdl)
859         (soap-encoded-namespaces): Rename CL-style *...* variables.
861 2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
863         * net/soap-client.el: Add "comm" and "hypermedia" to the
864         keywords.  Reflow too long lines.
866         * net/soap-inspect.el: Ditto.  Require 'cl.
868 2011-02-16  Bastien Guerry  <bzg@altern.org>
870         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
871         in a `doctor-type' argument.
873 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
875         * net/soap-client.el:
876         * net/soap-inspect.el: New files.
878 2011-02-16  Leo  <sdl.web@gmail.com>
880         * dired-x.el (dired-mode-map, dired-extra-startup):
881         Remove dired-copy-filename-as-kill since it's already in dired.el.
883 2011-02-16  Glenn Morris  <rgm@gnu.org>
885         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
886         Doc fixes.  Add :set property, replacing top-level calls.
887         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
888         (dired-guess-shell-gnutar): Test tar version rather than system-type.
889         (dired-extra-startup, dired-man, dired-info): Doc fixes.
890         (dired-clean-up-after-deletion): Use when and dolist.
891         (dired-jump): Use unless and when.
892         (dired-virtual): Use line-end-position.
893         (dired-default-directory-alist): Rename from default-directory-alist.
894         (dired-default-directory): Update for above name change.
895         (dired-vm): Drop VM < 5 and simplify.
896         (dired-buffer-more-recently-used-p): Rewrite.
897         (dired-filename-at-point): Use when and or.
898         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
899         Update callers.
901 2011-02-15  Glenn Morris  <rgm@gnu.org>
903         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
905 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
907         * vc/vc-git.el (vc-git-root-log-format): New option for
908         customizing log format.
909         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
910         (vc-git-log-view-mode): Use it.
911         (vc-git-expanded-log-entry): New function.
912         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
914         * vc/vc-hg.el (vc-hg-root-log-template): New option for
915         customizing log format.
916         (vc-hg-print-log): Use it.
917         (vc-hg-expanded-log-entry): New function.
918         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
919         vc-hg-expanded-log-entry.  Truncate lines in root log.
921         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
923         * vc/log-view.el (log-view-mode-menu):
924         Add log-view-toggle-entry-display.
926 2011-02-14  Glenn Morris  <rgm@gnu.org>
928         * dired-x.el: Don't require man when compiling.
929         (dired-omit-extensions, dired-local-variables-file)
930         (dired-x-hands-off-my-keys): Make them defcustoms.
931         (Man-support-local-filenames, Man-getpage-in-background): Declare.
932         (vm-visit-folder): Declare rather than defining.
933         (dired-x-help-address, dired-x-variable-list): Remove.
934         (dired-x-submit-report): Make it an obsolete alias.
936 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
938         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
940 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
942         * net/imap.el: Bring it back.
944 2011-02-13  Alan Mackenzie  <acm@muc.de>
946         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
947         narrow-to-region call that cuts context off the end (Bug#7722).
949         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
950         Refactor nested if-forms with a simple cond.
951         (c-forward-<>-arglist): Revert 2011-01-31 change.
953 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
955         * vc/log-view.el: New command log-view-toggle-entry-display for
956         toggling log entries between concise and detailed forms.
957         (log-view-toggle-entry-display): New command.
958         (log-view-mode-map): Bind RET to it.
959         (log-view-expanded-log-entry-function): New variable.
960         (log-view-current-entry, log-view-inside-comment-p)
961         (log-view-current-tag): New functions.
962         (log-view-toggle-mark-entry): Use log-view-current-entry and
963         log-view-end-of-defun instead of searching directly with
964         log-view-message-re.
965         (log-view-end-of-defun): Likewise.  Add optional ARG for
966         compatibility with end-of-defun.
967         (log-view-end-of-defun): Ignore comments and VC buttons.
969         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
970         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
972 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
974         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
976         * net/imap-hash.el: Remove file.
978 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
980         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
982         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
983         call.
985         * net/tramp-imap.el: Remove file.
987 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
989         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
990         widget library for buttons, just use button.el.
992         * vc/log-view.el (log-view-mode-map): Don't inherit from
993         widget-keymap.
995 2011-02-12  Glenn Morris  <rgm@gnu.org>
997         * emacs-lisp/cl-seq.el (union, nunion, intersection)
998         (nintersection, set-difference, nset-difference)
999         (set-exclusive-or, nset-exclusive-or): Doc fix.
1001         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1003         * faces.el (face-attr-match-p): Handle the obsolete :bold and
1004         :italic props, so that frame-set-background-mode works.  (Bug#7966)
1006         * simple.el (next-error): Doc fix.
1008 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1010         * dired-aux.el (dired-create-files): Adapt destination name to
1011         match the new behavior of copy-directory.
1013 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
1015         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1016         from rmail-dont-reply-to-names.  Callers changed.
1017         (mail-dont-reply-to): Rename from mail-dont-reply-to.
1018         (rmail-dont-reply-to): Make it an obsolete alias.
1020         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1021         nil, and make obsolete (Bug#7888).
1022         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1024         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1026         * mail/rmailsort.el (rmail-sort-by-correspondent)
1027         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
1029         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1031 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1033         * files.el (copy-directory): New argument COPY-CONTENTS for
1034         copying directory contents into another existing directory.
1036 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
1038         * minibuffer.el (completion-table-case-fold): New function for
1039         creating a case-insensitive completion table.
1041 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
1043         * net/tramp.el (tramp-default-method): Also check if
1044         `auth-source-search' is bound.
1045         (tramp-read-passwd): Use `auth-source-search' instead of
1046         `auto-source-user-or-password'.
1048         * net/tramp-imap.el: Autoload `auto-source-search' instead of
1049         `auto-source-user-or-password.
1050         (tramp-imap-passphrase-callback-function): Use it.
1052         * net/imap-hash.el: Autoload `auto-source-search' instead of
1053         `auto-source-user-or-password.
1054         (imap-hash-open-connection): Use it.
1056         * mail/smtpmail.el: Autoload `auto-source-search' instead of
1057         `auto-source-user-or-password.
1058         (smtpmail-try-auth-methods): Use it.
1060 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
1062         * emacs-lisp/package.el: Allow packages to be reinstalled.
1063         (package--write-file-no-coding): Remove EXCL arg.
1064         (package-unpack-single): Don't use it.
1066 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
1068         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1069         in each sub directory.
1070         (vc-svn-registered): Use vc-svn-root.
1071         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
1072         (vc-svn-repository-hostname): Use "svn info".
1074 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1076         * simple.el (delete-trailing-whitespace): New optional buffer
1077         bound parameters.
1079 2011-02-11  Bastien Guerry  <bzg@altern.org>
1081         * files.el (basic-save-buffer): save unmodified buffers when
1082         the file pointed by buffer-file-name doesn't exist.
1084 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1086         * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1088 2011-02-11  Glenn Morris  <rgm@gnu.org>
1090         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1092 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
1094         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1096 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1098         * server.el (server-process-filter): Use pcase.
1100         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1101         conflicting ways.
1102         (smie-indent--parent): Extend to "parent of arg".
1103         (smie-indent-inside-string): New function.
1104         (smie-indent-functions): Use it.
1106         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1107         bzr locking race condition.
1109         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1110         still valid before using it.
1112         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1113         `message' -> `compilation-message' rename (bug#8004).
1115         Move keymap initialization into declaration.
1116         * textmodes/enriched.el (enriched-mode-map):
1117         * textmodes/bib-mode.el (bib-mode-map):
1118         * term/lk201.el (lk201-function-map):
1119         * tar-mode.el (tar-mode-map):
1120         * replace.el (occur-mode-map):
1121         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1122         * progmodes/idlw-help.el (idlwave-help-mode-map):
1123         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1124         * play/solitaire.el (solitaire-mode-map):
1125         * play/snake.el (snake-mode-map, snake-null-map):
1126         * play/pong.el (pong-mode-map):
1127         * play/handwrite.el (menu-bar-handwrite-map):
1128         * play/gametree.el (gametree-mode-map):
1129         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1130         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1131         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1132         (newsticker--url-keymap):
1133         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1134         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1135         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1136         (menu-bar-edit-menu, menu-bar-custom-menu)
1137         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1138         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1139         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1140         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1141         (menu-bar-tools-menu, menu-bar-describe-menu)
1142         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1143         (menu-bar-help-menu):
1144         * mail/rmailsum.el (rmail-summary-mode-map):
1145         * kmacro.el (kmacro-step-edit-map):
1146         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1147         (ibuffer-mode-operate-map):
1148         * hi-lock.el (hi-lock-menu, hi-lock-map):
1149         * emulation/vip.el (vip-mode-map):
1150         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1151         * bookmark.el (bookmark-bmenu-mode-map):
1152         * help-mode.el (help-mode-map): Move initialization into declaration.
1154 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1156         * net/rcirc.el: Add PRIVMSG and CTCP functions.
1157         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1158         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1159         (rcirc-cmd-me, rcirc-authenticate): Use them.
1161 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
1163         * allout.el: Synopsis: Change allout user configuration so
1164         auto-activation is controlled solely by customization
1165         `allout-auto-activation'.
1167         (allout-auto-activation-helper, allout-setup): New autoloads
1168         implement new custom set procedure for allout-auto-activation.
1169         Also, explicitly invoke
1170         (allout-setup) after allout-auto-activation is custom-defined, to
1171         effect the settings in emacs sessions besides the few where
1172         allout-auto-activation customization is donea.
1173         (allout-auto-activation): Use allout-auto-activation-helper to
1174         :set.  Revise the docstring.
1175         (allout-init): Reduce functionality to just customizing
1176         allout-auto-activation, and mark obsolete.
1177         (allout-mode): Respect string values for allout-auto-activation.
1178         Run allout-after-copy-or-kill-hook without any args.
1179         (allout-mode, allout-layout, allout-default-layout)
1180         (outlineify-sticky): Adjust docstring for new scheme.
1181         (allout-after-copy-or-kill-hook): No arguments - hook implementers
1182         should concentrate on the kill ring.
1184 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
1186         * password-cache.el (password-cache-remove): Accept secrets that are
1187         not strings.
1189 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1191         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1192         of here-doc that immediately follows a comment.
1194 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1196         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1198         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1199         available.
1200         (rcirc-ctcp-sender-PING): New function.
1202 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1204         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1205         Remove the mark/nomark handling, and activate shift-select-mode instead.
1207         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1209 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
1211         * calc/calc-units.el (math-logunits-quant): Add support for
1212         non-logarithmic units.
1214 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
1216         * allout.el (allout-after-copy-or-kill-hook): New hook for
1217         extension-specific processing of killed text.
1218         (allout-mode): Include new allout-after-copy-or-kill-hook among
1219         mentioned hooks.
1220         (allout-kill-line, allout-kill-topic): Ensure that processing
1221         after kill happens even if barf-if-buffer-read-only is raised.
1222         Include new allout-after-copy-or-kill-hook among that subsequent
1223         processing.
1224         (allout-deannotate-hidden): Actually remove the annotation text
1225         properties.
1227         * allout.el (allout-listify-exposed): Copy text sans text properties.
1229 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
1231         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1233 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1235         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1237 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
1239         * calc/calc.el (calc-logunits-field-reference): Rename from
1240         `calc-default-field-reference-level'.
1241         (calc-logunits-power-reference): Rename from
1242         `calc-default-power-reference-level'.
1244         * calc/calc-units.el (math-logunits-quant): Rename from
1245         `math-logunits-level'
1246         (math-logunits-plus): Rename from math-logcombine.
1247         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1248         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1249         (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1250         New functions.
1251         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1252         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1253         (calc-logunits-quantity): Rename from `calc-level'.
1254         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1255         (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1256         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1257         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1258         (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1259         New functions.
1261         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1262         (calc-ul-prefix-help): Remove.
1263         (calc-l-prefix-help): New function.
1264         (calc-full-help): Add reference to `calc-l-prefix-help'.
1266         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1268         * calc/README: Mention logarithmic units.
1270 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
1272         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1273         non-ASCII characters (Bug#7925).
1275 2011-02-05  Glenn Morris  <rgm@gnu.org>
1277         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1279         * calendar/diary-lib.el (diary-font-lock-keywords):
1280         Tweak diary-time-regexp match.  (Bug#7891)
1282         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
1283         (f90-mode): Use it for mode's `find-tag-default-function' property.
1285         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
1287         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
1289 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1291         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1292         (Bug#6386).
1294 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1296         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1297         font-lock-syntax-table remappings.
1298         (sh-here-doc-markers, sh-here-doc-re): Remove.
1299         (sh-font-lock-close-heredoc): Remove.
1300         (sh-syntax-propertize-here-doc): New function.
1301         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1302         instead of the sh-here-doc-re.
1303         (sh-font-lock-paren): Don't do anything in comments or strings.
1304         Handle line continuations.  Accept a few more chars.
1305         Don't rely on the font-lock-syntax-table remappings.
1306         `esac' is not a valid pattern.
1307         (sh-syntax-propertize-function): Handle here-docs differently, so we
1308         don't bother syntax-propertizing the insides.
1310         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1311         Handle new bashisms ";&" and ";;&" (bug#7947).
1313 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
1315         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1316         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1318 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
1320         * net/tramp.el (tramp-postfix-method-format)
1321         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1322         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1323         (tramp-postfix-user-regexp, tramp-prefix-port-format)
1324         (tramp-prefix-port-regexp, tramp-postfix-host-format)
1325         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1326         Doc fix.
1328 2011-02-04  Sam Steingold  <sds@gnu.org>
1330         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1332 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
1334         * international/mule-util.el (with-coding-priority): Doc fix.
1336 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1338         * arc-mode.el (archive-mode-map): Fix a typo in last change.
1340 2011-02-03  Sam Steingold  <sds@gnu.org>
1342         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1343         Do not error out when `func' is nil.
1345 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
1347         * net/tramp-sh.el (tramp-remote-path): Add default settings for
1348         `tramp-default-remote-path' to the docstring.
1349         (tramp-get-remote-path): Suppress error message when `getconf
1350         PATH' fails.
1352         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1354 2011-02-03  Glenn Morris  <rgm@gnu.org>
1356         * vc/vc-hg.el (vc-hg-command): Doc fix.
1358         * term/w32-win.el (libpng-version): Declare for compiler.
1360         * msb.el: No need to load dired while compiling.
1362         * emacs-lisp/elint.el (elint-standard-variables):
1363         Remove a couple of built-ins that now have doc-strings.
1365         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1366         `require' is automatically `eval-and-compile'd.
1368         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1369         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1371         * strokes.el (strokes-fill-current-buffer-with-whitespace):
1372         Move definition before use.
1373         (strokes-report-bug): Make it obsolete.
1375 2011-02-02  Sam Steingold  <sds@gnu.org>
1377         * apropos.el (apropos-print): Now that `apropos-mode' inherits
1378         from `special-mode', entering it makes the buffer read-only, so
1379         call it only when everything has been already inserted.
1380         * emacs-lisp/ert.el (ert--setup-results-buffer)
1381         (ert-results-pop-to-backtrace-for-test-at-point)
1382         (ert-results-pop-to-messages-for-test-at-point)
1383         (ert-results-pop-to-timings): Ditto.
1384         * emacs-lisp/package.el (package--list-packages): Ditto.
1385         * play/solitaire.el (solitaire): Ditto.
1387 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
1389         * progmodes/compile.el: Make all faces inherit.
1390         (compilation-warning): Inherit from font-lock-variable-name-face.
1391         (compilation-info): Inherit from font-lock-type-face.
1392         (compilation-line-number): Reassign to font-lock-keyword-face.
1393         (compilation-column-number): Reassign to font-lock-doc-face.
1394         (compilation-leave-directory-face): Reassign to
1395         font-lock-builtin-face.
1397 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
1399         * dired.el (dired-insert-directory): Don't invoke `ls' when
1400         ls-lisp.el is used to emulate it.
1402 2011-02-01  Julien Danjou  <julien@danjou.info>
1404         * color.el (color-gradient): Add a color-gradient function.
1406 2011-02-01  Sam Steingold  <sds@gnu.org>
1408         * simple.el (special-mode-map): Bind "h" to `describe-mode';
1409         bind "z" to `kill-this-buffer'.
1410         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1411         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1412         (apropos-mode): Inherit from `special-mode'.
1413         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1414         * bookmark.el (bookmark-bmenu-mode): Define using
1415         `define-derived-mode' inheriting from `special-mode'.
1416         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1417         * image-mode.el (image-mode-map): Ditto.
1418         * replace.el (occur-mode): Define using
1419         `define-derived-mode' inheriting from `special-mode'.
1420         * tar-mode.el (tar-mode): Inherit from `special-mode'.
1421         * calendar/diary-lib.el (diary-fancy-display-mode):
1422         Inherit from `special-mode-map'.
1423         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1424         Inherit from `special-mode'.
1425         * emacs-lisp/package.el (package-menu-mode-map): Copy from
1426         `special-mode-map'.
1427         (package-menu-mode): Define using `define-derived-mode'
1428         inheriting from `special-mode'.
1429         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1430         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1431         (xesam-mode-map): Define separately.
1432         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1433         * progmodes/compile.el (compilation-minor-mode-map)
1434         (compilation-mode-map): Inherit from `special-mode-map'.
1435         * vc/diff-mode.el (diff-mode-shared-map):
1436         Inherit from `special-mode-map'.
1437         * vc/log-view.el (log-view-mode-map): Add a comment.
1439 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
1441         * custom.el (load-theme): Define return value.  Drop use of
1442         unsafep; call custom-theme-load-confirm for non-known-safe themes.
1443         (custom-theme-load-confirm): Scroll in the correct window.
1444         (custom-enabled-themes): Add custom-safe-themes to :set-after.
1446         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1447         checkbox if load-theme fails.
1449 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1451         * progmodes/compile.el (compilation-next-error): Check there's
1452         a message before using it (bug#7941).
1454 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
1456         * calc/calc-mtx.el (math-lud-pivot-check): New function.
1457         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1458         of potential pivots.
1460 2011-01-31  Alan Mackenzie  <acm@muc.de>
1462         * progmodes/cc-cmds.el (c-forward-over-illiterals):
1463         Continue parsing if we encounter a naked # (Bug#7595).
1464         (c-beginning-of-statement): Avoid loop in locating the beginning
1465         of a macro.  (Not actually committed until 2011-02-20, see above).
1467 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1469         * files.el (copy-directory): Fix arguments to recursive call.
1471 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1473         * files.el (copy-directory): If destination is an existing
1474         directory, copy into a subdirectory there.
1476 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
1478         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1479         files.
1481 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1483         * image-dired.el (image-dired-mouse-display-image): No-op if no
1484         file is found (Bug#7817).
1486         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1488 2011-01-31  Kenichi Handa  <handa@m17n.org>
1490         * international/quail.el (quail-keyboard-layout-alist):
1491         Remove superfluous SPC for "pc105-uk" (bug#7927).
1493 2011-01-31  Glenn Morris  <rgm@gnu.org>
1495         * msb.el (msb-menu-bar-update-buffers): Update for changed
1496         argument handling of menu-bar-select-frame.  (Bug#7902)
1498 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1500         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1501         to the recursion depth (Bug#7722).
1503 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
1505         * term/ns-win.el (ns-find-file): Expand ns-input-file with
1506         command-line-default-directory (Bug#7872).
1508 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1510         * progmodes/compile.el (compilation--flush-directory-cache):
1511         New function, extracted from compilation--remove-properties.
1512         (compilation--remove-properties, compilation--parse-region): Use it.
1513         (compilation--previous-directory): Handle one more case.
1514         (compilation-enable-debug-messages): Remove.
1515         (compilation-parse-errors, compilation--flush-parse): Just remove the
1516         left over debug messages.
1518 2011-01-31  Sam Steingold  <sds@gnu.org>
1520         * progmodes/compile.el (compilation-enable-debug-messages):
1521         Add a variable to make the parsing messages introduced in
1522         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1523         (compilation-parse-errors, compilation--flush-parse): Use it.
1525 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1527         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
1528         (rcirc-nick-completion-format): New defcustom.
1529         (rcirc-complete): Use it.
1531 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1533         * net/rcirc.el: Clean log filenames (Bug#7933).
1534         (rcirc-log-write): Use convert-standard-filename.
1535         (rcirc-log-filename-function): Documentation updates.
1537 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
1539         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1540         Check report-emacs-bug-can-use-osx-open and use that if t.
1541         (report-emacs-bug-can-use-osx-open): New function.
1542         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1543         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1545 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1547         * vc/vc-dispatcher.el (vc-set-async-update): New function for
1548         updating Dired or VC-dir buffers after async command completes.
1550         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1551         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1553         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1554         completions if it exists.  Use vc-set-async-update.
1555         (vc-git-pull): Use vc-set-async-update.
1557         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1558         read-shell-command.  Use vc-set-async-update.
1559         (vc-hg-merge-branch): Use vc-set-async-update.
1561 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
1563         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1564         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1565         (Bug#7931).
1567 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1569         * progmodes/compile.el: Avoid an N² behavior in grep.
1570         (compilation--previous-directory): New fun.
1571         (compilation--previous-directory-cache): New var.
1572         (compilation--remove-properties): Flush it.
1573         (compilation-directory-properties, compilation-error-properties):
1574         Use the new fun to speed up looking for the current directory.
1576 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1578         * vc/vc-hg.el (vc-hg-history): New var.
1579         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1580         (vc-hg-merge-branch): New function.
1582         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1583         the other way around.
1585         * vc/vc-git.el (vc-git-branches, vc-git-pull)
1586         (vc-git-merge-branch): New functions.
1587         (vc-git-history): New var.
1589 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1591         * vc/vc-dispatcher.el (vc-do-async-command): New function.
1593         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1594         vc-do-async-command.
1596         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1597         Callers changed.
1599 2011-01-28  Leo  <sdl.web@gmail.com>
1601         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1602         highlighting to the "this function is advised" message.
1604         * help-mode.el (help-mode-finish): Apply highlighting here, to
1605         avoid clobbering by substitute-command-keys (Bug#6304).
1607 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1609         * woman.el (woman0-roff-buffer): Process roff escape sequences
1610         occurring prior to the first request (Bug#7843).
1612 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1614         * progmodes/compile.el: Don't use font-lock any more.
1615         (compilation-error-regexp-alist-alist): Change handling of makepp
1616         so it preserves the warning/error distinction on subsequent files.
1617         Simplify various rules.
1618         (compilation-directory-properties): Use font-lock-face.
1619         Add a compilation-message property.
1620         (compilation-internal-error-properties): Use font-lock-face.
1621         Don't set the compilation-debug property here.
1622         (compilation--put-prop, compilation--remove-properties)
1623         (compilation--parse-region, compilation--ensure-parse)
1624         (compilation--ensure-parse): New functions.
1625         (compilation-parse-errors): New function, largely inspired of
1626         compilation-mode-font-lock-keywords.  Set compilation-debug here.
1627         (compilation--parsed): New var.
1628         (compilation--flush-parse): Use compilation--ensure-parse.
1629         (compilation-start): Don't call font-lock.
1630         (compilation-turn-on-font-lock): Remove.
1631         (compilation-setup): Don't set font-lock-extra-managed-props not change
1632         other font-lock settings, other than keywords.
1633         Don't activate font-lock-mode.
1634         Set change-major-mode-hook and before-change-functions.
1635         (compilation--unsetup): Remove properties and hooks.
1636         (compilation-next-single-property-change): New function.
1637         (compilation-next-error): Use it to parse when needed.
1638         (compile-goto-error): Parse buffer as needed.
1639         (compilation--compat-error-properties): Don't need a dummy `face'
1640         property any more.
1642 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1644         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1645         (compilation-process-setup-function): Fix docstring's false promises.
1646         (compilation-error-regexp-alist-alist): Catch omake's continuous
1647         recompilation message and avoid reuse of old markers.
1648         (compilation-parse-errors-function): Declare obsolete.
1649         (compilation-buffer-modtime): Remove.
1650         (compilation--make-cdrloc, compilation--loc->col)
1651         (compilation--loc->line, compilation--loc->file-struct)
1652         (compilation--loc->marker, compilation--loc->visited)
1653         (compilation--make-file-struct, compilation--file-struct->file-spec)
1654         (compilation--file-struct->formats)
1655         (compilation--file-struct->loc-tree): New macros.  Use them.
1656         (compilation--message): New defstruct.  Use them.
1657         (compilation-next-error-function): Don't mess with timestamps to try
1658         and guess when to reparse.
1660 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1662         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1663         (tex-old-error-file-name): New function,
1664         extracted from tex-compilation-parse-errors.
1665         (tex-compilation-parse-errors): Remove.
1666         (tex-error-regexp-alist): New var.
1667         (tex-shell): Use it to avoid compilation-parse-errors-function.
1669         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1670         (grep-mode-font-lock-keywords): Remove regexp that seems like
1671         a left-over from before we used compile.el.
1672         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1673         modifying the buffer within with-silent-modifications.
1675         * progmodes/compile.el: Cleanup text-properties namespace by using
1676         `compilation-message' instead of `message', `compilation-directory'
1677         instead of `directory', and `compilation-debug' instead of `debug'.
1678         (compilation-last-buffer, compilation-parsing-end)
1679         (compilation-error-list, compilation-old-error-list): Move to the
1680         compatibility part of the code.
1681         (compilation-error-properties): If `file' is a function, let it return
1682         a file name.
1683         (compilation-mode-font-lock-keywords): Be more conservative with the
1684         omake "^ *" pattern prefix, to try and minimize the risk of
1685         pathologically slow regexp matching.
1686         (compilation-start): Use inhibit-read-only.
1687         (compilation--unsetup): New function.
1688         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1689         (compilation-filter): Minor tweaks.
1690         (compilation-next-error-function): Try and avoid abusing variables.
1691         (compilation--flush-file-structure): New fun.
1692         (compilation-fake-loc): Use it to improve behavior when file is reused.
1693         (debug-ignored-errors): Add "Moved past last ...".
1694         (compilation--compat-error-properties)
1695         (compilation--compat-parse-errors): Rename by doubling the "-".
1697         Port features from the previous prolog.el to the new one.
1698         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1699         (prolog-program-name, prolog-program-switches, prolog-consult-string)
1700         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1701         variable and use a function to compute the value dynamically.
1702         (prolog-prompt-regexp): Add regexp for GNU Prolog.
1703         (prolog-continued-prompt-regexp): Remove, unused.
1704         (prolog-find-value-by-system): Try and use the value of prolog-system
1705         in the *prolog* buffer if it helps.
1706         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1707         (prolog-zip-on): ..and check prolog-system and version here instead.
1708         (prolog-inferior-self-insert-command): New command.
1709         (prolog-inferior-mode-map): Use it.
1710         (prolog-inferior-error-regexp-alist): New var.
1711         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1712         (prolog-input-filter): Use derived-mode-p.
1713         (prolog-inferior-guess-flavor): New function.
1714         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
1715         make-comint to avoid running comint-mode twice.
1716         (prolog-inferior-buffer): New fun.
1717         (prolog-old-process-region, prolog-old-process-file):
1718         Don't call prolog-bsts here...
1719         (prolog-build-prolog-command): ...do it here instead.
1720         (prolog-old-process-region, prolog-old-process-file):
1721         Use compilation-fake-loc and compilation-forget-errors.
1722         (prolog-consult-compile-region): Use bolp.
1724 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1726         * image-mode.el (image-display-size): Doc fix (Bug#7820).
1728 2011-01-27  Sam Steingold  <sds@gnu.org>
1730         * midnight.el (clean-buffer-list-kill-never-buffer-names):
1731         Remove "*server*" which is never created by emacs server.
1733 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1735         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1736         there are some diff switches.
1738 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1740         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1741         Copy change made to ruby-font-lock-syntactic-keywords.
1743         * htmlfontify.el: Make it obey the font-lock-face text property.
1744         Miscellaneous cleanup such as:
1745         - Don't hide expressions after a closing paren.
1746         - Move initial setq into let.
1747         - Hoist common parts out of ifs.
1748         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1749         (hfy-face-at): Use get-text-property instead.
1750         (hfy-prop-invisible-p): Use invisible-p if available.
1751         (htmlfontify-manual): Use \\[...].
1752         (hfy-html-quote-regex): Use [...].
1753         (hfy-combined-face-spec): Simplify.
1754         (hfy-compile-face-map): Don't presume point-min==1.
1755         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1756         match end of string.
1757         (hfy-text-p): η-reduce.
1758         (hfy-tags-for-file): Receive cache-hash directly.
1759         (hfy-mark-tag-names): Adjust call.
1761 2011-01-27  Glenn Morris  <rgm@gnu.org>
1763         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1764         (msb-after-load-hook): Remove eval-after-load wackiness.
1766 2011-01-25  Sam Steingold  <sds@gnu.org>
1768         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1769         literal "diff" (important for windows-nt).
1771 2011-01-25  Glenn Morris  <rgm@gnu.org>
1773         * emacs-lisp/copyright.el (copyright-at-end-flag)
1774         (copyright-names-regexp): Add safety properties.
1775         (copyright-year-ranges): New option.
1776         (copyright-find-end): New function, split from copyright-update-year.
1777         (copyright-update-year): Use copyright-find-end.
1778         (copyright-fix-years): Optionally, convert years to ranges.
1779         Handle years continued over comment lines.
1780         Do not mess with the fill-prefix.
1781         Do not call copyright-update.
1782         (copyright-update-directory): Optionally, fix years rather than update.
1783         Skip directories.  Find files with only safe local vars.
1785 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1787         * files.el (file-name-non-special): Only change buffer-file-name after
1788         insert-file-contents if it's `visit'ing the file (bug#7854).
1790 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
1792         * dired.el (dired-revert): Doc fix (Bug#7758).
1794         * simple.el (line-move-visual): Doc fix (Bug#7594).
1796 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1798         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1799         here-doc which ends with an underscore.
1800         (ruby-mode-set-encoding): Skip shebang line always.
1801         (ruby-mode-map): Bind C-c C-c to comment-region.
1802         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1803         (ruby-forward-sexp): Stop after literal hash key labels.
1804         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1805         bracket.
1807 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
1809         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1810         the correct buffer (Bug#7650).
1812 2011-01-25  Glenn Morris  <rgm@gnu.org>
1814         * comint.el (comint-mode): Doc fix.  (Bug#7897)
1816         * simple.el (do-auto-fill): Give it a doc string.
1818         * button.el (make-text-button): Doc fix.  (See bug#7881)
1820 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1822         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1823         Don't move backward, so as not to fall in an inf-loop (bug#7736).
1825         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1826         Handle ?" and friends differently (e.g. don't use backrefs).
1828 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
1830         * calc/calc.el (calc-default-power-reference-level)
1831         (calc-default-field-reference-level): New variables.
1832         * calc/calc-units.el (math-standard-units): Add dB and Np.
1833         (math-logunits): New variable.
1834         (math-extract-logunits, math-logcombine, calcFunc-luplus)
1835         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1836         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1837         New functions.
1838         (math-find-base-units-rec): Add entry for ln(10).
1839         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1840         (calc-ul-prefix-help): New function.
1841         * calc/calc-ext.el (calc-init-extensions): Autoload new units
1842         functions.  Add keybindings for new units functions.
1844 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
1846         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1847         rcirc buffers.  (Bug#4940)
1849 2011-01-22  Glenn Morris  <rgm@gnu.org>
1851         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1852         split out from copyright-update-year.
1853         (copyright-update): Don't mess with the GPL version if we don't own the
1854         copyright.  Update license regexp, and remove no longer needed
1855         Esperanto stuff.
1856         (copyright-fix-years): Use copyright-find-copyright.
1858 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1860         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1862 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1864         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1865         (lm): Rename to landmark.
1866         (lm-test-run): Rename to landmark-test-run.
1868 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1870         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1871         "Case sensitive" menu item.
1873 2011-01-22  Roland McGrath  <roland@frob.com>
1875         * comint.el (comint-replace-by-expanded-history-before-point): Fix
1876         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1878 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1880         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1882 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1884         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1885         Assume foo(bar) is a manpage reference rather than some unquoted
1886         symbol (bug#7705).
1888 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1890         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1891         Suggested by Flo <sensorflo@gmail.com>.
1893 2011-01-22  Glenn Morris  <rgm@gnu.org>
1895         * progmodes/compile.el (compilation-error-regexp-alist):
1896         Fix custom type.  (Bug#7812)
1898 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
1900         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1901         allout-number-siblings, in keeping with what obtained due to
1902         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
1903         (prefixed) ?i.
1904         (allout-before-change-handler): Better expose spots affected by
1905         undo.
1907 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1909         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1911 2011-01-22  Phil Hagelberg  <phil@evri.com>
1913         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1914         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1915         (pcmpl-ssh-config-hosts): New function.
1916         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1917         pcmpl-ssh-known-hosts.
1919 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1921         * calc/calc-undo.el (calc-undo): Autoload it.
1922         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1923         and autoload for `calc-undo'.
1924         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1925         * calc/calc-prog.el:
1926         * calc/calc-graph.el:
1927         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1929 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
1931         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1932         keybindings to `calc-undo'.
1934 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1936         Don't mess with *temp*.
1937         * obsolete/spell.el: Move from textmodes/spell.el.
1938         (spell-string):
1939         * term.el (term-read-input-ring):
1940         * startup.el (display-startup-echo-area-message):
1941         * progmodes/antlr-mode.el (antlr-directory-dependencies):
1942         * comint.el (comint-read-input-ring): Use with-temp-buffer.
1943         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1944         point-min==1.
1946 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
1948         * allout.el (allout-institute-keymap): Use fset instead of
1949         reapplying defalias.
1951         (allout-hotspot-key-handler): Check for non-control-modified
1952         bindings for hotspot characters if there are no control-modified
1953         versions.
1955         * allout.el: Summary - migrate to defining allout mode using
1956         define-minor-mode instead of defun.  Significantly clean-up
1957         internal keymap provisions, refactoring and, in the process,
1958         removing a lot of accumulated cruft.
1960         allout-mode-map is now a keymap by virtue of being a defalias to
1961         allout-mode-map-value, which contains the actual keymap structure.
1963         (allout-mode): Use define-minor-mode rather than defun.
1964         Remove now-unnecessary minor-mode setup activities from the body.
1965         Specify :keymap as allout-mode-map so the minor-mode-map-alist
1966         entry will be '(allout-mode . allout-mode-map) - see
1967         allout-mode-map-value, below.  Adjust docstring to track changes.
1968         (allout-minor-mode): Remove this defalias, now that we're using
1969         define-minor-mode.
1970         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
1971         keymap is allout-mode-map-value, via defalias.
1972         (allout-mode-map-value): The variable holding the actual mode
1973         keymap structure, by virtue of defalias from allout-mode-map.
1974         (allout-compose-and-institute-keymap): Rename from
1975         allout-bind-keys, and including the binding-composition
1976         functionality of the former produce-allout-mode-map and
1977         allout-setup-mode-map.
1978         (allout-institute-keymap): Take over the "setup" part of the former
1979         allout-setup-mode-map.  Reassign allout-mode-map-value value and
1980         update the defalias.
1981         (allout-command-prefix, allout-prefixed-keybindings)
1982         (allout-unprefixed-keybindings):
1983         Use allout-compose-and-institute-keymap to process the bindings.
1984         (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
1985         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1986         user can customize if they want to use that binding.
1987         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1988         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
1989         elided that, previously, instead of the one for \C-h.)
1990         (allout-hotspot-key-handler): Remove attempt to resolve the key
1991         through the literal key-string lookup on allout-keybindings-list.
1992         That probably hasn't worked for a Long Time, and removal of
1993         allout-keybindings-list further simplifies the keybindings situation.
1994         (allout-pre-command-business): Use allout-mode-map-value instead
1995         of allout-mode-map.
1996         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
1997         the bindings if they want to use a keybinding having a trailing
1998         \C-h.  No deprecation needed since this feature was never in a release.
1999         (allout-keybindings-list): Remove.  It's not been useful for a
2000         while.  (See allout-hotspot-key-handler changes, above.)
2001         (produce-allout-mode-map): Remove.  Consolidate into
2002         allout-compose-and-institute-keymap.
2003         (allout-mode-map-adjustments): Remove.  No longer necessary with
2004         removal of allout-preempt-trailing-ctrl-h.
2005         (allout-setup-mode-map): Remove.  Consolidate into
2006         allout-compose-and-institute-keymap and allout-institute-keymap.
2008 2011-01-20  Glenn Morris  <rgm@gnu.org>
2010         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2012         * simple.el (read-expression-history): Remove, it's in minibuf.c.
2014 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
2016         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2018         * files.el (find-alternate-file, basic-save-buffer)
2019         (basic-save-buffer-2, revert-buffer, recover-file)
2020         (kill-buffer-ask, abort-if-file-too-large)
2021         (set-visited-file-name, write-file, backup-buffer)
2022         (basic-save-buffer, save-some-buffers):
2023         * dired-aux.el (dired-compress-file): Callers changed.
2025 2011-01-19  Glenn Morris  <rgm@gnu.org>
2027         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2028         Also check the property status.  (Bug#7861)
2030 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
2032         * net/tramp.el (tramp-debug-message): Extend function exclude
2033         list.  Use `regexp-opt'.
2035 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2037         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2038         highlighting doesn't spill over subsequent lines.
2040         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2041         keymap expression.  Improve docstring.
2043         * electric.el (electric-indent-post-self-insert-function):
2044         Don't auto-indent for indent-to-left-margin, it's too often
2045         counter-productive.
2047 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
2049         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2050         spaces if the frame was resized, so that the full visible buffer
2051         serves as canvas for strokes.
2053 2011-01-16  Glenn Morris  <rgm@gnu.org>
2055         * info-xref.el (info-xref-docstrings): Replace cl function.
2056         Also skip directories.
2058 2011-01-16  Kevin Ryde  <user42@zip.com.au>
2060         * info-xref.el: Version 3.
2061         (info-xref-check, info-xref-check-all): Move commentary details
2062         into docstrings for better visibility.
2063         Use compilation-mode for the results buffer.
2064         (info-xref-output, info-xref-output-error, info-xref-with-output)
2065         (info-xref-filename, info-xref-in-progress):
2066         New internals for this.
2067         (info-xref-check-list, info-xref-check-buffer)
2068         (info-xref-check-all-custom): Use those.
2069         (info-xref-output-buffer): Rename from info-xref-results-buffer.
2070         (info-xref-output-heading): Rename from info-xref-filename-heading.
2071         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2072         (info-xref-filename-heading): Move to output managing section.
2073         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2074         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2075         (info-xref-subfile-p): Move to generic section with those two.
2076         (info-xref-check-node): New function split from
2077         info-xref-check-buffer, shared by info-xref-docstrings.
2078         (info-xref-goto-node-p): Move to a checking section with that func.
2079         (info-xref-unavail): New counter.
2080         (info-xref-check-node): Use it.
2081         (info-xref-with-output): Show count of unavailables at end of output.
2082         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
2083         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
2084         (info-xref-check-all-custom): Fix quietening viper-mode and
2085         gnus-registry-install -- use setq not let so as not to unbind
2086         after load.
2088 2011-01-16  Juri Linkov  <juri@jurta.org>
2090         * isearch.el (isearch-abort): Don't quit if search has
2091         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
2093 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
2095         * files.el (backup-buffer): Make last-resort backup file in
2096         .emacs.d (Bug#6953).
2098         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2099         make it with permission 700.
2101 2011-01-15  Kenichi Handa  <handa@m17n.org>
2103         * mail/rmailmm.el (rmail-mime-insert-header):
2104         Set rmail-mime-coding-system to a cons whose car is the last coding
2105         system used to decode the header.
2106         (rmail-mime-find-header-encoding): New function.
2107         (rmail-mime-insert-decoded-text):
2108         Override rmail-mime-coding-system if it is a cons.
2109         (rmail-show-mime): If only a header part was decoded, find the
2110         coding system while ignoring mm-charset-override-alist.
2112 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
2114         * subr.el (event-start, event-end): Doc fix (Bug#7826).
2116 2011-01-15  Kenichi Handa  <handa@m17n.org>
2118         * mail/rmailmm.el (rmail-mime-next-item)
2119         (rmail-mime-previous-item): Delete them.
2120         (rmail-mime-shown-mode): Recursively call for children.
2121         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2122         Callers changed.
2123         (rmail-mime-raw-mode): Recursively call for children.
2124         (rmail-mode-map): Change mapping of tab and backtab to
2125         forward-button and backward-button respectively.
2126         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2127         button.
2128         (rmail-mime-update-tagline): New function.
2129         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2130         body display is changed.
2131         (rmail-mime-toggle-button): Rename from rmail-mime-image.
2132         (rmail-mime-image): Delete this button type.
2133         (rmail-mime-toggle): New button type.
2134         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2135         body display is changed.  Change the save button label to "Save".
2136         Don't process show/hide button here.
2137         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2138         the body display is changed.  Unconditionally call
2139         rmail-mime-insert for children.
2140         (rmail-mime-handle): Update `display' vector of the just inserted
2141         entity.
2142         (rmail-mime-process): If mail-header-parse-content-type returns
2143         nil, use "text/plain" as the fallback type.
2144         (rmail-mime-insert): For raw-mode, recursively call
2145         rmail-mim-insert for children.
2146         (rmail-mime): Handle the case that the current buffer is not rmail
2147         buffer (e.g. in summary buffer).
2149 2011-01-15  Kenichi Handa  <handa@m17n.org>
2151         * mail/rmailmm.el (rmail-mime-next-item)
2152         (rmail-mime-previous-item): Skip the body of a non-multipart
2153         entity if a tagline is shown.
2155 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2157         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2158         (tmm-prompt): Simplify.
2159         (tmm-add-prompt): Remove unused var `win'.
2161         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2162         to minor mode which used nil accidentally to mean "turn off".
2164 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2166         * net/tramp-sh.el (tramp-find-inline-compress)
2167         (tramp-get-inline-coding): Quote command after pipe symbol for
2168         local calls under W32.  (Bug#6784)
2170 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2172         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2173         only when running under W32.
2175 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2177         * progmodes/grep.el (grep-compute-defaults): Quote the program
2178         file name after the pipe symbol in Grep templates.  (Bug#6784)
2179         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2181 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
2183         * buff-menu.el (Buffer-menu-buffer-list): New var.
2184         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2185         restricted buffer list is not lost on revert (Bug#7749).
2187 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
2189         * net/ldap.el (ldap-search-internal): Discard stderr output.
2191 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2193         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
2195 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2197         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2199 2011-01-15  Kenichi Handa  <handa@m17n.org>
2201         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2202         part as a plain text.
2203         (rmail-mime-process-multipart): Set the default content-type to
2204         nil for unknown multipart subtypes (bug#7651).
2206 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2208         * hexl.el (hexl-mode-old-*): Remove.
2209         (hexl-mode--old-var-vals): New var to replace them.
2210         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2211         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2212         Use them to set local vars (bug#7846).
2213         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2214         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2215         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2217         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2218         (smerge-resolve--normalize-re): New var.
2219         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2220         (smerge-resolve): Use them.
2221         * newcomment.el (comment-only-p): New function.
2222         (comment-or-uncomment-region): Use it.
2224 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
2226         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2227         table, get the value before switching to the output buffer.  (Bug#7733)
2229 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2231         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2233 2011-01-14  Kim F. Storm  <storm@cua.dk>
2235         * emulation/cua-base.el (cua--init-keymaps):
2236         Remap exchange-point-and-mark in cua-global-keymap.
2238 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
2240         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2241         loop keyword.
2243 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2245         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2246         Require CL.
2247         (easy-menu-create-menu, easy-menu-convert-item-1):
2248         Use :label rather than nil for labels.  Use `case'.
2249         Add :enable as alias for :active.
2250         (easy-menu-binding): Obey :label.
2252 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2254         Use run-mode-hooks for major mode hooks (bug#513).
2255         * textmodes/reftex-toc.el (reftex-toc-mode-map):
2256         Rename from reftex-toc-map.
2257         (reftex-toc-mode): Use define-derived-mode.
2258         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2259         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2260         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
2261         (reftex-select-label-mode, reftex-select-bib-mode):
2262         Use define-derived-mode.
2263         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2264         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2265         Move init into delcaration.
2266         (reftex-index-mode, reftex-index-phrases-mode):
2267         Use define-derived-mode.
2268         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2269         speedbar-syntax-table.  Move init into declaration.
2270         (speedbar-mode-map): Rename from speedbar-key-map.
2271         Move init into declaration.
2272         (speedbar-file-key-map): Move init into declaration.
2273         (speedbar-mode): Use define-derived-mode.
2274         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2275         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2276         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2277         (chart-face-list): Move initialization into declaration.
2278         (chart-mode): Use define-derived-mode.
2279         * calculator.el (calculator-mode-map): Move init into declaration.
2280         (calculator-mode): Use define-derived-mode.
2282         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2283         work for nested comments.
2285         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
2286         (prolog-use-prolog-tokenizer-flag): Change default when
2287         syntax-propertize can be used.
2288         (prolog-syntax-propertize-function): New var.
2289         (prolog-mode-variables): Move make-local-variable into `set'.
2290         Don't make comment-column local since we don't set it.
2291         Set comment-add (as it was in previous prolog.el).  Use dolist.
2292         Set syntax-propertize-function.
2293         (prolog-mode, prolog-inferior-mode):
2294         Call prolog(-inferior)-menu directly, not through the mode-hook.
2295         (prolog-buffer-module, prolog-indent-level)
2296         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2297         (prolog-comment-limits, prolog-goto-comment-column):
2298         Use line-(end|beginning)-position.
2299         (prolog-build-prolog-command): Tighten up regexp.
2300         (prolog-consult-compile): Move make-local-variable into `set'.
2301         (prolog-consult-compile-filter, prolog-goto-next-paren)
2302         (prolog-help-on-predicate, prolog-clause-info)
2303         (prolog-mark-predicate): Don't let+setq.
2304         (prolog-indent-line): Use indent-line-to.
2305         Only call prolog-goto-comment-column if necessary.
2306         (prolog-indent-level): Use bobp.
2307         (prolog-first-pos-on-line): Remove, not used any more.
2308         (prolog-in-string-or-comment): Use syntax-ppss if available.
2309         (prolog-help-on-predicate): Use read-string.
2310         (prolog-goto-predicate-info): Simplify.
2311         (prolog-read-predicate): Use `default' rather than `initial'.
2312         (prolog-temporary-file): Use make-temp-file to close a security hole.
2313         (prolog-toggle-sicstus-sd): New command.
2314         (prolog-electric-underscore, prolog-variables-to-anonymous):
2315         Use dynamic-scoping as it was meant.
2316         (prolog-menu): Move menu definitions to top-level.
2317         Use a toggle-button for Sicstus's source debugger.
2318         Change "Code" to the more usual "Prolog", and hence change "Prolog"
2319         to "System".
2320         (prolog-inferior-menu): Reuse prolog-menu's help menu.
2321         Move other menu definition to top-level.
2323 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2325         * doc-view.el (doc-view-open-text): Use meaningful text buffer
2326         name.  Keep original document's directory as default-directory
2327         (bug#6446).
2328         (doc-view-initiate-display): Fall back to normal mode when
2329         doc-view-mode cannot be enabled, also when extracting the document
2330         text into a separate buffer (bug#6446).
2332         * simple.el (shell-command): Don't error out if shell command
2333         buffer contains text with non-nil read-only property when erasing
2334         the buffer.
2336 2011-01-13  Kim F. Storm  <storm@cua.dk>
2338         * ido.el (ido-may-cache-directory): Move "too-big" check later.
2339         (ido-next-match, ido-prev-match): Fix stray reordering of matching
2340         items when cycling through the matches.
2342 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2344         * dired-x.el (dired-omit-verbose): New defcustom that allows
2345         disabling the omit messages.
2346         (dired-omit-expunge): Use it.
2348 2011-01-13  Christian Ohler  <ohler@gnu.org>
2350         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2352 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2354         * font-lock.el (font-lock-verbose): Default to nil.
2356 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2358         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2359         (compose-mail): New arg RETURN-ACTION.
2360         (compose-mail-other-window, compose-mail-other-frame): Likewise.
2362         * mail/sendmail.el (mail-return-action): New var.
2363         (mail-mode): Make it buffer-local.
2364         (mail-bury): Obey it.  Move special Rmail window handling to
2365         rmail-mail-return.
2366         (mail, mail-setup): New arg RETURN-ACTION.
2367         (sendmail-user-agent-compose): Move from simple.el.
2369         * mail/rmail.el (rmail-mail-return): New function.
2370         (rmail-start-mail): Pass it to compose-mail.
2372 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
2374         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2375         menus.  Add menu item for customize-themes.
2377         * cus-theme.el (customize-themes):
2378         * emacs-lisp/package.el (package--list-packages):
2379         Use switch-to-buffer.
2381 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
2383         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2385 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2387         * progmodes/prolog.el: Fix up coding convention and such.
2388         (prolog-indent-width): Use the same default as in
2389         previous prolog.el rather than tab-width which depends on which buffer
2390         is current when the file is loaded.
2391         (prolog-electric-newline-flag): Only enable if electric-indent-mode
2392         is not available.
2393         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
2394         (prolog-known-systems): Remove.
2395         (prolog-mode-syntax-table, prolog-inferior-mode-map):
2396         Move initialization into declaration.
2397         (prolog-mode-map): Move initialization into declaration.
2398         Remove system-specific mode-map vars, since they referred to the same
2399         keymap anyway.
2400         (prolog-mode-variables): Obey the user's preference w.r.t
2401         adaptive-fill-mode.  Prefer symbol-value to `eval'.
2402         (prolog-mode-keybindings-edit): Add compatibility bindings.
2403         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
2404         (mercury-mode-map): New var.
2405         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2406         (prolog-ensure-process, prolog-process-insert-string)
2407         (prolog-consult-compile): Use with-current-buffer.
2408         (prolog-guess-fill-prefix): Simplify data flow.
2409         (prolog-replace-in-string): New function to use instead of
2410         replace-in-string.
2411         (prolog-enable-sicstus-sd): Don't abuse `eval'.
2412         (prolog-uncomment-region): Use `uncomment-region' when available.
2413         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2414         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2415         of int-to-char and char-to-int.
2416         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2418 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
2420         * progmodes/prolog.el: Replace by a whole new file.
2422 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2424         * subr.el (eval-after-load): Fix timing for features (bug#7769).
2425         (declare-function, undefined, insert-for-yank)
2426         (replace-regexp-in-string): Follow checkdoc's recommendations.
2428 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2430         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2431         refreshing the diary buffer.
2433 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
2435         * allout.el: Add 2011 to the file copyright.
2436         (allout-encrypt-string): Prevent encryption from adding an extra
2437         newline at the end of the topic body.
2438         (allout-version): Increment to 2.3.
2440 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
2442         * net/dbus.el (dbus-unregister-service): Complete doc.
2443         Fix call of dbus-error signal.
2444         (dbus-register-property): Use `dont-register' keyword.
2446 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2448         * net/dbus.el (dbus-unregister-service): Translate returned
2449         integer into a symbol.
2450         (dbus-register-property): Use `dbus-register-service' to do the
2451         name registration.
2453 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2455         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2456         Suggested by Joakim Verona.
2458         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2460         * wid-edit.el (visibility): Replace :on-image and :off-image
2461         widget properties with :on-glyph and :off-glyph, for consistency
2462         with the `visibility' widget.
2463         (widget-toggle-value-create, widget-visibility-value-create):
2464         Merge into a single function `widget-toggle-value-create'.
2466         * cus-edit.el (custom-variable-value-create, custom-visibility)
2467         (custom-face-edit-value-create, custom-face-value-create):
2468         Replace :on-image and :off-image widget properties with :on-glyph and
2469         :off-glyph, for consistency with the `visibility' widget.
2471 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
2473         * net/ldap.el (ldap-search-internal): Don't use eval.
2475 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2477         * subr.el (read-char-choice): Use read-key.
2479         * custom.el (custom-safe-themes): Rename from
2480         custom-safe-theme-files.  Add :risky tag.
2481         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2482         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
2484 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2486         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
2487         from Search and add a label to Undo.
2489         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2490         inappropriate buttons and adding :vert-only tags.
2492         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2493         removal of Help tool-bar button.  Remove Undo button for space.
2495         * info.el (info-tool-bar-map): Add :vert-only tags.
2497 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
2499         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2500         image backend support.  Either of them is fine.
2502 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
2504         * subr.el (y-or-n-p): Doc fix.
2506         * custom.el (custom-safe-theme-files): New defcustom.
2507         (custom-theme-load-confirm): New function.
2508         (load-theme): Load theme using `load', confirming with
2509         custom-theme-load-confirm if necessary.
2511         * subr.el (read-char-choice): New function, factored out from
2512         dired-query and hack-local-variables-confirm.
2514         * dired-aux.el (dired-query):
2515         * files.el (hack-local-variables-confirm): Use it.
2517         * dired-aux.el (dired-compress-file):
2518         * files.el (abort-if-file-too-large, find-alternate-file)
2519         (set-visited-file-name, write-file, backup-buffer)
2520         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2521         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2522         Use new format string args for y-or-n-p and yes-or-no-p.
2524 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
2526         * progmodes/compile.el (compilation-error-regexp-alist-alist)
2527         [gcc-include]: Tighten file name match, add match for column
2528         number.  (Bug#7806)
2529         [gnu]: Remove unused group.
2531 2011-01-08  Glenn Morris  <rgm@gnu.org>
2533         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2535         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2537 2011-01-07  Sam Steingold  <sds@gnu.org>
2539         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2540         the `explicit-shell-file-name' because that is the
2541         non-interactive shell.
2543 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
2545         * subr.el (y-or-n-p): Accept format string args.
2547 2011-01-07  Glenn Morris  <rgm@gnu.org>
2549         * Makefile.in (EMACSOPT): Add --no-site-lisp.
2551 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
2553         * allout.el (allout-back-to-current-heading): Ensure return to
2554         the visible containing topic, rather than a collapsed one.
2555         (allout-view-change-hook): Remove hook that was deprecated long ago.
2556         (allout-exposure-change-hook): Remove documentation remarks
2557         concerning removed allout-view-change-hook.
2558         (allout-flag-region): Remove invocation of and documentation
2559         remarks concerning allout-view-change-hook.
2561 2011-01-06  Glenn Morris  <rgm@gnu.org>
2563         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2564         (vc-bzr-annotate-extract-revision-at-line):
2565         Handle authors with embedded spaces.  (Bug#7792)
2567 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
2569         * doc-view.el (doc-view-image-width): New variable.
2570         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2571         backend for PNG images, and do dynamic rescaling instead of
2572         reconverting the whole doc.
2574 2011-01-05  Glenn Morris  <rgm@gnu.org>
2576         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2578 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
2580         * allout.el: Reconcile with changes in line movement behavior for
2581         long text lines that cross more than a single physical window
2582         line, ie when truncate-lines is nil.
2583         (allout-next-visible-heading): Provide for change in line-move
2584         behavior on long lines when truncate-lines is nil.  In that case,
2585         line-move can wind up on the same textual line when it moves to
2586         the next window line, and moving to the bullet position after the
2587         move yields zero advancement.  Add logic to detect and compensate
2588         for the lack of progress.
2589         (allout-current-topic-collapsed-p): move-end-of-line respect for
2590         field boundaries is different when operating with body lines
2591         shorter than window width versus ones greater than window width,
2592         which can yield false negatives in this function.  Avoid
2593         difference by applying move-end-of-line while field-text-motion is
2594         inhibited.
2596 2011-01-04  Glenn Morris  <rgm@gnu.org>
2598         * textmodes/rst.el (rst-compile-toolsets):
2599         Add pdf and s5 to option alist.
2601 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2603         * net/dbus.el (dbus-register-property): Add optional parameter
2604         dont-register-service.  Updated docstring accordingly.
2606 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2608         * textmodes/rst.el (rst-compile-pdf-preview)
2609         (rst-compile-slides-preview): Remove extra line.
2611 2011-01-04  Glenn Morris  <rgm@gnu.org>
2613         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2614         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
2615         default to `prog' without a .py extension.
2616         (rst-compile-pdf-preview, rst-compile-slides-preview):
2617         Use program names from rst-compile-toolsets, rather than hard-coding.
2618         (rst-portable-mark-active-p): Fix presumed typo.
2620 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2622         * term/w32-win.el (dynamic-library-alist): Set up correctly for
2623         libpng versions both before and after 1.4.0.  (Bug#7716)
2625 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2627         * time.el (display-time-mode): Mention display-time-interval in
2628         the doc string.  (Bug#7713)
2630 2011-01-02  Kenichi Handa  <handa@m17n.org>
2632         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2633         condition-case and return an error message string if something
2634         goes wrong.
2635         (rmail-show-mime): Adjust for the above change.  Insert the
2636         header by rmail-mime-insert-header.
2638 2011-01-02  Kenichi Handa  <handa@m17n.org>
2640         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2641         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2642         (rmail-mime-mbox-buffer)
2643         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2644         (rmail-mime-entity): Argument changed.  All codes handling an
2645         entity object are changed.
2646         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2647         the above change.
2648         (rmail-mime-entity-children, rmail-mime-entity-handler)
2649         (rmail-mime-entity-tagline): New functions.
2650         (rmail-mime-message-p): New function.
2651         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2652         (rmail-mime-entity-segment, rmail-mime-next-item)
2653         (rmail-mime-previous-item, rmail-mime-shown-mode)
2654         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2655         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2656         (rmail-mime-insert-tagline, rmail-mime-insert-header):
2657         New functions.
2658         (rmail-mime-text-handler): Call rmail-mime-insert-text.
2659         (rmail-mime-insert-decoded-text): New function.
2660         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2661         (rmail-mime-insert-image): Argument changed.  Caller changed.
2662         (rmail-mime-image): Call rmail-mime-toggle-hidden.
2663         (rmail-mime-set-bulk-data): New function.
2664         (rmail-mime-insert-bulk): Argument changed.
2665         (rmail-mime-multipart-handler): Return t.
2666         (rmail-mime-process-multipart): Argument changed.
2667         Handle "multipart/alternative" here.
2668         (rmail-mime-process): Argument changed.
2669         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2670         (rmail-mime-insert): Argument changed.  Handle raw display mode.
2671         (rmail-mime): Argument changed.  Handle toggling of raw display
2672         mode.
2673         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2674         rmail-mime-view-buffer.
2675         (rmail-insert-mime-forwarded-message): Likewise.
2676         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
2678         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2679         non-nil, handle the header in rmail-show-mime-function.
2681 2011-01-02  Leo  <sdl.web@gmail.com>
2683         * help-fns.el (describe-variable): Fix previous change.
2685 2011-01-02  Juri Linkov  <juri@jurta.org>
2687         * isearch.el (isearch-lazy-highlight-error): New variable.
2688         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2689         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
2690         to the current value of `isearch-error' (Bug#7468).
2692 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2694         * help-fns.el (describe-variable): Don't emit trailing whitespace
2695         (Bug#7511).
2697 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2699         * textmodes/rst.el (rst-compile-pdf-preview)
2700         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2702 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
2704         * emulation/edt-mapper.el: Override mapping of function keys so
2705         that the later call to read-key-sequence works.
2707 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2709         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2710         Unix EOLs.  (Bug#7589)
2712 2011-01-02  Leo  <sdl.web@gmail.com>
2714         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2715         if point is not behind eshell-last-output-end (Bug#7585).
2717 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2719         * files.el (file-local-variables-alist):
2720         Make permanent-local (bug#7767).
2722 2011-01-02  Glenn Morris  <rgm@gnu.org>
2724         * version.el (emacs-copyright): Set short copyright year to 2011.
2726 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2728         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2729         an existing temp buffer.  (Bug#7746)
2731 2011-01-02  Glenn Morris  <rgm@gnu.org>
2733         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2734         multiple addresses.  (Bug#7760)
2736 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
2738         * allout.el (allout-auto-fill): Do not infinitely recurse - use
2739         do-auto-fill if everything points back to allout-auto-fill.
2740         (allout-mode-deactivate-hook): Declare obsolete, in favor of
2741         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2743 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
2745         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2746         and "scpx".
2748 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2750         * doc-view.el (doc-view-set-doc-type): New function refactored
2751         from doc-view-mode.
2752         (doc-view-fallback-mode): New function.
2753         (doc-view-mode): Use it.
2754         (doc-view-mode-maybe): New function that checks if doc-view-mode
2755         can be used and falls back to the next best mode otherwise.
2757         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2758         DVI, OpenDocument, and MS Office files.
2760 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
2762         * emacs-lisp/rx.el (rx-syntax): Fix typo.
2764 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2766         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2767         on a copy of auto-mode-alist, because that deletes with side
2768         effects.
2770 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2772         * doc-view.el (doc-view-mode, doc-view-toggle-display):
2773         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2774         fallback instead of hard coding fundamental mode.
2776 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2778         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2779         Office) files also for searching.
2781 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2783         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2784         Office) files.  Not yet enabled via auto-mode-list.
2785         (doc-view-unoconv-program): New custom variable.
2786         (doc-view-mode-p): Handle new odf document type.
2787         (doc-view-odf->pdf): New conversion function.
2788         (doc-view-convert-current-doc): Call it for odf files.
2789         (doc-view-mode): Recognize newly supported file extensions.
2791 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
2793         * net/tramp.el (tramp-default-method-alist)
2794         (tramp-default-user-alist)
2795         (tramp-local-host-regexp, tramp-prefix-domain-format)
2796         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2798         * net/tramp-ftp.el:
2799         * net/tramp-gvfs.el:
2800         * net/tramp-gw.el:
2801         * net/tramp-imap.el:
2802         * net/tramp-sh.el:
2803         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2804         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2806 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
2808         * saveplace.el (save-place-alist-to-file): Save list sorted and
2809         pretty-printed, so that it is mergeable by line-based text merging,
2810         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2812 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
2814         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2815         (allout-mode): Argument "toggle" => "force".
2816         Refine the docstring.
2817         Remove special provisions for reactivation, besides the 'force'
2818         argument.
2819         Consolidate layout provisions coce directly into the activation
2820         condition branch, now that we've removed those provisions.
2821         (allout-unload-function): Explicitly activate the mode before
2822         deactivating, if it's initially deactivated.
2823         (allout-set-buffer-multibyte): Properly prevent byte-compiler
2824         warnings for version of function used only where
2825         set-buffer-multibyte is unavailable.
2827 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
2829         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2830         are handled by the menu-bar entries.  As before, don't use
2831         :visibile to avoid changing the tool-bar.
2833 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2835         * net/secrets.el (secrets-delete-alias): New defun.
2837 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2839         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2840         methods, otherwise ~/.ssh/config would be ignored.
2842 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2844         * emacs-lisp/rx.el: Make it a superset of sregex.
2845         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2846         of args, add `regex' alias.
2847         (rx-info): Add arg to distinguish head and standalone forms.
2848         (rx-check, rx-form): Pass the corresponding arg.
2849         (rx-**): Simplify.
2850         (rx-repeat): Make it work for any number of args.
2851         (rx-syntax): Make it accept syntax chars as is.
2852         * obsolete/sregex.el: Move from emacs-lisp/.
2853         * emacs-lisp/re-builder.el: Remove sregex support.
2854         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2856 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
2858         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2859         PRIMARY first, then the clipboard.  (Bug#7699)
2861 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2863         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2864         print-number-table.
2866 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
2868         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2869         .emacs.elc (Bug#7530).
2871         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2872         image spec (Bug#7480).
2874 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
2876         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2877         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2878         Move from lisp/.
2880 2010-12-20  Leo  <sdl.web@gmail.com>
2882         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2883         always be performed (Bug#7680).
2885 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
2887         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2888         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
2889         mouse-region-match.
2891         * color.el: Move from gnus/.
2893         * vc/diff.el (diff-better-file-name): Function deleted.
2894         abbreviating file names causes problems with shell-quote-argument.
2895         (diff-no-select): Just use expand-file-name.
2897         * tool-bar.el (tool-bar--image-expression): New function.
2898         (tool-bar-local-item, tool-bar--image-exp): Use it.
2899         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2900         Use :enable instead of :visible to avoid changing the tool-bar
2901         configuration unnecessarily.
2903         * info.el (info-tool-bar-map): Add separators.
2905 2010-12-17  Ken Brown  <kbrown@cornell.edu>
2907         * loadup.el: Use version numbers in Cygwin build.
2909 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
2911         * ido.el (ido-file-internal): Ask for confirmation before
2912         overwriting an existing file (Bug#1238).
2914 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
2916         * tool-bar.el (tool-bar-setup): Add separators.
2918         * menu-bar.el (featurep): Use menu-bar-separator.
2920 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
2922         Migrate allout encryption provisions from pgg to epg.
2924         * allout.el (allout-toggle-current-subtree-encryption)
2925         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2926         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
2927         for simpler universal argument interpretation.
2928         (allout-toggle-subtree-encryption): Adjust docstring to describe
2929         changed encryption provisions.  Change fetch-pass to keymode-cue, for
2930         simpler universal argument interpretation.  Remove provisions for
2931         handling key type and identity - they'll all be within
2932         allout-encrypt-string or epg/epg or even contained all the way in gpg.
2933         (allout-encrypt-string): Include keymode-cue, for optionally prompting
2934         for keypair recipients (universal argument > 1) and, in addition,
2935         associating the specified recipients with the outline (universal
2936         argument > 4) using a file local variable setting for
2937         'epa-file-encrypt-to'.
2938         Require epa, for recipients handling.
2939         Change how regexp filtering elements are named.
2940         Describe the problem with caching of incorrect symmetric-decryption
2941         keys.
2942         Use the epa-passphrase-callback-function, in case the user is using
2943         GnuPG v1.
2944         Support saving of the selected keypair recipients when invoked with a
2945         keymode-cue > 4.
2946         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2947         Require 'epa.
2948         Establish epg-context with armoring and default epg-protocol.
2949         Remove all passphrase cache, verification, and hinting code.
2950         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2951         No longer used, delete.
2952         (allout-mode): Adjust docstring to describe changed encryption
2953         provisions.  Describe the problem with caching of incorrect
2954         symmetric-decryption keys.
2955         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2956         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2957         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2958         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2959         Obsolete, remove.
2961 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
2963         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2964         key selection prompt; make 'silent as default (Bug#7487).
2966 2010-12-16  Leo  <sdl.web@gmail.com>
2968         * eshell/eshell.el (eshell-directory-name):
2969         Use locate-user-emacs-file (Bug#7578).
2971 2010-12-15  Glenn Morris  <rgm@gnu.org>
2973         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2975 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
2976             Scott Evans  <gse@antisleep.com>
2978         * rect.el (rectange--default-line-number-format)
2979         (rectangle-number-line-callback): New functions.
2980         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2982 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
2984         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2985         Delete unused variables.
2986         (move-to-column-force): Remove function obsolete since 21.2.
2988 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
2990         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2991         (tramp-handle-insert-file-contents): Do not set permanent-local
2992         property.
2994         * net/tramp-cache.el (tramp-persistency-file-name):
2995         Use `locate-user-emacs-file' if fboundp.
2997         * net/tramp-sh.el (tramp-methods): Add "ksu".
2998         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
2999         method list.
3001 2010-12-14  Glenn Morris  <rgm@gnu.org>
3003         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3004         (find-tag-marker-ring): Declare.
3005         (js-find-symbol): Require etags.
3007         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3008         Require mail-utils.
3009         (mail-alias-file): Don't autoload.  Doc fix.
3010         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3011         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
3012         Mark as obsolete, and risky.
3013         (mail-setup): Simplify.
3015         * mail/mailalias.el (build-mail-aliases): Make it interactive.
3016         * mail/sendmail.el (build-mail-aliases): Update autoload.
3018         * dired.el (dired-trivial-filenames, dired-chown-program)
3019         (dired-auto-revert-buffer): Remove autoload cookies.
3020         * mail/sendmail.el (mail-recover-1): Require 'dired.
3022         * dired.el (dired-subdir-switches, dired-chown-program)
3023         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3024         Make into defcustoms.
3025         (dired-chown-program): Simplify initialization.
3027         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3029 2010-12-13  Romain Francoise  <romain@orebokech.com>
3031         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3033 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3035         * net/netrc.el (netrc-point-at-eol): Remove the unused
3036         netrc-point-at-old and netrc-bound-and-true-p bindings.
3037         (netrc-parse): Cache the netrc contents.
3039 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3041         * subr.el (posn-col-row): Evaluate header-line-format in the
3042         context of the POSITION window's buffer.
3044 2010-12-13  Glenn Morris  <rgm@gnu.org>
3046         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3047         (with-silent-modifications): Doc fixes.
3049 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3051         * net/tramp.el (tramp-action-password, tramp-process-actions):
3052         Revert previous from.  Use `save-restriction'.
3054 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
3056         * calendar/diary-lib.el (diary-list-sexp-entries):
3057         Handle case of no newline at end of file.  (Bug#7536)
3059 2010-12-13  Glenn Morris  <rgm@gnu.org>
3061         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3063 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3065         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3066         (tramp-process-actions): Do not widen.
3068         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3069         Protect buffer-modified value.  (Bug#7557)
3071 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
3073         * log-edit.el (log-edit-changelog-entries):
3074         Regexp quote filename.  (Bug#7505)
3076 2010-12-13  Tom Breton  <tehom@panix.com>
3078         * cus-edit.el (custom-save-all):
3079         Bind print-length and print-level to nil.  (Bug#7581)
3081 2010-12-13  Glenn Morris  <rgm@gnu.org>
3083         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3084         Run hooks to update menu contents.  (Bug#7586)
3086         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3087         file names, for the sake of MS Windows.  (Bug#7588)
3089 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3091         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3092         empty lines without a leading space.
3094 2010-12-13  Leo  <sdl.web@gmail.com>
3096         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3097         while mapping over marks (Bug#6810).
3099 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3101         * image-dired.el (image-dired-db-file)
3102         (image-dired-temp-image-file, image-dired-gallery-dir)
3103         (image-dired-temp-rotate-image-file): Set default values relative
3104         to image-dired-dir (Bug#7518).
3106 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
3108         * format.el (format-decode-run-method): Pass args FROM and TO, not
3109         point-min and point-max, to shell-command-on-region (Bug#7488).
3111 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
3113         * frame.el (blink-cursor-mode): Make default t for ns.
3115 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3117         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3119 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3121         * comint.el (comint-dynamic-list-input-ring)
3122         (comint-dynamic-complete-filename)
3123         (comint-replace-by-expanded-filename)
3124         (comint-dynamic-simple-complete)
3125         (comint-dynamic-list-filename-completions)
3126         (comint-dynamic-list-completions): Doc fix (Bug#7499).
3128         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3129         Doc fix (Bug#7471).
3131 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
3133         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3134         (Bug#7533).
3136 2010-12-13  W. Martin Borgert  <debacle@debian.org>  (tiny change)
3138         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3139         (Bug#7491).
3141 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3143         * files.el (file-relative-name): Handle UNC file names on
3144         DOS/Windows.  (Bug#4674)
3146 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
3148         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3149         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3150         (epg-context-set-passphrase-callback): Mention that the callback
3151         is not called when used with GnuPG 2.x.
3153 2010-12-13  Glenn Morris  <rgm@gnu.org>
3155         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3156         Ensure ps-footer-font-size-internal is initialized.
3157         Call ps-get-page-dimensions before trying to use ps-font-for-text.
3159 2010-12-13  Kenichi Handa  <handa@m17n.org>
3161         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3162         within condition-case.
3163         (rmail-show-mime): Don't use condition-case.
3164         (rmail-search-mime-message): New function.
3165         (rmail-search-mime-message-function): Set to
3166         rmail-search-mime-message.
3168 2010-12-13  Leo  <sdl.web@gmail.com>
3170         * ido.el (ido-common-initialization): New function.  (bug#3274)
3171         (ido-mode): Use it.
3172         (ido-completing-read): Call it.
3174 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
3176         * bookmark.el (bookmark-name-from-full-record): Rename back to
3177         this original name from `bookmark-name-from-record' reverting part
3178         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3179         As Drew Adams pointed out, there was no reason to cause churn for
3180         third-party callers.  (Bug#7609)
3182 2010-12-12  Alan Mackenzie  <acm@muc.de>
3184         * progmodes/cc-engine.el (c-forward-type): Before scanning a
3185         template arglist, check that the current language supports this.
3187 2010-12-11  Glenn Morris  <rgm@gnu.org>
3189         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3190         state of the file matches.  (Bug#7544)
3191         (vc-bzr-register, vc-bzr-checkin)
3192         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3193         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3195         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3197 2010-12-11  Karel Klíč  <kklic@redhat.com>
3199         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
3201 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3203         Derive from prog-mode, use derived-mode-p, and fix up various
3204         minor style issues in lisp/progmodes.
3206         * progmodes/vhdl-mode.el (vhdl-mode):
3207         * progmodes/verilog-mode.el (verilog-mode):
3208         * progmodes/vera-mode.el (vera-mode):
3209         * progmodes/sql.el (sql-mode):
3210         * progmodes/scheme.el (scheme-mode):
3211         * progmodes/perl-mode.el (perl-mode):
3212         * progmodes/octave-inf.el (inferior-octave-mode):
3213         * progmodes/autoconf.el (autoconf-mode):
3214         * progmodes/m4-mode.el (m4-mode):
3215         * progmodes/inf-lisp.el (inferior-lisp-mode):
3216         * progmodes/idlwave.el (idlwave-mode):
3217         * progmodes/icon.el (icon-mode):
3218         * progmodes/idlw-help.el (idlwave-help-mode):
3219         * progmodes/dcl-mode.el (dcl-mode):
3220         * progmodes/idlw-shell.el (idlwave-shell-mode):
3221         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3222         (ebrowse-member-mode, ebrowse-electric-position-mode):
3223         Use define-derived-mode.
3225         * progmodes/xscheme.el (exit-scheme-interaction-mode)
3226         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3227         (xscheme-debugger-mode-p, xscheme-send-string-1):
3228         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3229         (tcl-load-file, tcl-restart-with-file):
3230         * progmodes/ps-mode.el (ps-run-running):
3231         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3232         * progmodes/js.el (js--get-all-known-symbols):
3233         * progmodes/inf-lisp.el (inferior-lisp-proc):
3234         * progmodes/idlwave.el (idlwave-beginning-of-statement)
3235         (idlwave-template, idlwave-update-buffer-routine-info)
3236         (idlwave-update-current-buffer-info)
3237         (idlwave-get-routine-info-from-buffers, idlwave-choose)
3238         (idlwave-scan-class-info, idlwave-fix-keywords)
3239         (idlwave-list-buffer-load-path-shadows):
3240         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3241         (idlwave-toolbar-remove):
3242         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3243         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3244         (idlwave-shell-menu-def):
3245         * progmodes/idlw-complete-structtag.el
3246         (idlwave-prepare-structure-tag-completion):
3247         * progmodes/gud.el (gud-set-buffer):
3248         * progmodes/f90.el (f90-backslash-not-special):
3249         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3251         * progmodes/xscheme.el (xscheme-start)
3252         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3253         * progmodes/which-func.el (which-function):
3254         * progmodes/vhdl-mode.el (vhdl-set-style):
3255         * progmodes/verilog-mode.el (verilog-set-compile-command)
3256         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3257         (verilog-set-define, verilog-auto-reeval-locals):
3258         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3259         * progmodes/simula.el (simula-mode):
3260         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3261         * progmodes/python.el (python-check, python-mode):
3262         * progmodes/prolog.el (prolog-mode-variables):
3263         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3264         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3265         * progmodes/delphi.el (delphi-mode):
3266         * progmodes/cc-styles.el (c-setup-paragraph-variables):
3267         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3268         (c-font-lock-init): Move make-local-variable to their setq.
3270         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3271         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3272         make-local-hook.
3273         * progmodes/sh-script.el (sh-require-final-newline): Remove.
3274         (sh-set-shell): Don't set require-final-newline since it's already done
3275         by prog-mode.
3276         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3277         since we never set it.
3278         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3279         Use read-string and standard prompt.
3280         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3281         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3282         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3283         (meta-common-mode-map): Rename from meta-mode-map.
3284         Remove C-m binding, which is a user preference, not mode specific.
3285         (meta-common-mode): New major mode; replace meta-common-initialization.
3286         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3287         around with font-lock.
3288         * progmodes/etags.el (select-tags-table-mode):
3289         Derive from special-mode.
3290         * progmodes/octave-mod.el (octave-mode):
3291         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3292         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3293         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3294         Let define-derived-mode do its job.
3295         * progmodes/cpp.el (cpp-edit-mode-map):
3296         Move initialization into declaration.
3297         (cpp-edit-mode): Use define-derived-mode.
3298         (cpp-edit-load): Use derived-mode-p.
3299         * progmodes/mixal-mode.el (mixal-mode):
3300         * progmodes/f90.el (f90-mode):
3301         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3302         require-final-newline since prog-mode does it already.
3303         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3304         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3305         * progmodes/antlr-mode.el: Require cc-mode upfront.
3306         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3307         the declaration.
3308         (antlr-directory-dependencies, antlr-show-makefile-rules):
3309         Use derived-mode-p.
3310         (antlr-language-option): Don't assume point-min==1.
3311         (antlr-mode): Use define-derived-mode.
3312         * progmodes/ada-mode.el: Use derived-mode-p.
3313         (ada-mode): Use define-derived-mode.
3314         Use hack-local-variables-hook.
3316 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3318         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3319         (texinfo-mode): Don't disable adaptive-fill-mode.
3320         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3321         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3322         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3323         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3324         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3325         (texinfo-insert-@quotation, texinfo-insert-@samp)
3326         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3327         (texinfo-insert-@uref): Use define-skeleton.
3328         (texinfo-insert-@-with-arg): Delete.
3330 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
3332         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3333         nil, do quote archive member names.  (Bug#6144)
3335 2010-12-10  Glenn Morris  <rgm@gnu.org>
3337         * files.el (diff-no-select): Declare.
3339         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3340         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3342         * comint.el (comint-input-ring-file-name): Doc fix.
3344 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
3346         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3347         New functions.
3348         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3349         Use them instead of `nil' and `>', respectively.
3350         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3351         instead of `nil'.
3352         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3353         and menu-bar-positive-p instead of `nil' and `>', respectively.
3354         (Bug#1077)
3356 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3358         * whitespace.el (whitespace-newline-mode): Code fix.
3360 2010-12-09  Glenn Morris  <rgm@gnu.org>
3362         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3363         Rename functions without commas, update callers.
3365 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
3367         * whitespace.el (whitespace-cleanup-region):
3368         Clean up spaces before tabs.  (Bug#7582)
3370 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
3372         * bookmark.el: Adjust parameter names and doc strings to resolve
3373         confusion over whether "bookmark" meant a bookmark name or a
3374         bookmark record.  Along the way, shorten one function's name for
3375         similar reasons.  (Issue #7548)
3376         (bookmark-name-from-record): New name for
3377         `bookmark-name-from-full-record'.  All callers changed.
3378         (bookmark-get-bookmark, bookmark-get-bookmark-record)
3379         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3380         (bookmark-get-annotation, bookmark-set-annotation)
3381         (bookmark-get-filename, bookmark-set-filename)
3382         (bookmark-get-position, bookmark-set-position)
3383         (bookmark-get-front-context-string, bookmark-set-front-context-string)
3384         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3385         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3386         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3387         Rename `bookmark' parameter to `bookmark-name-or-record', to
3388         clearly show its role, and shorten or adjust doc strings accordingly.
3389         (bookmark-set-name): Same, and pass the parameter directly to
3390         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3391         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3392         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3393         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3394         and in some cases shorten doc string accordingly.
3395         (bookmark-rename): Change `old' and `new' parameters to `old-name'
3396         and `new-name', and adjust an internal variable to avoid confusion.
3397         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3398         parameter in doc string.
3400 2010-12-08  Glenn Morris  <rgm@gnu.org>
3402         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3403         from gdb's history file.  (Bug#7575)
3405         * mail/emacsbug.el (report-emacs-bug):
3406         Try to handle some other mail clients.
3408 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3410         * files.el (dir-locals-collect-variables): Don't let errors stop us.
3411         Use string-prefix-p.
3412         (file-name-version-regexp): New var.
3413         (file-name-sans-versions):
3414         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3415         (jka-compr-get-compression-info): Use dolist.
3416         (jka-compr-compression-info-list): Don't bother specifying
3417         version/backup regexps.
3419 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
3421         * simple.el (just-one-space): Make argument n default to 1 if
3422         omitted.
3424 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3426         * electric.el (electric-indent-post-self-insert-function):
3427         Delete trailing newlines even if we don't reindent.
3429 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3431         * minibuffer.el (completion-at-point): Remove the `arg'.
3432         * bindings.el (complete-symbol): Move back from minibuffer.el.
3434 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3436         * simple.el (just-one-space): Delete newlines for negative arg.
3438 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3440         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3441         (ansi-color-filter-apply): Simplify.
3442         (ansi-color-apply): Use `font-lock-face' rather than `face'.
3444 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3446         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3448 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
3450         * dired.el (dired-use-ls-dired): Set default to a special
3451         "unspecified" value.
3452         (dired-insert-directory): When called the first time, check
3453         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3455 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
3457         * replace.el: Add "collect" feature to occur.
3458         (occur-collect-regexp-history): New var.
3459         (occur-read-primary-args): Return a replace string for nlines,
3460         if needed.
3461         (occur): Extend the meaning of nlines.
3463 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3465         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3466         (which-func-update-1): Distinguish symbols from strings.
3467         (which-function): Stay within 80 columns.
3469 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3471         * subr.el (with-demoted-errors): Distinguish symbols from strings.
3473         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3474         Improve docstring.
3475         (comment-style): Use comment-styles's docs to describe values.
3477 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
3479         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3480         and ns-show-prefs (Bug#7535).
3482         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3483         bindings (Bug#7535).
3485 2010-12-03  Glenn Morris  <rgm@gnu.org>
3487         * nxml/nxml-mode.el: Require rng-nxml.
3488         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3489         Remove declarations.
3491         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3492         * nxml/rng-nxml.el, nxml/rng-valid.el:
3493         Remove leading `*' from defcustom docs.
3495         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3496         (normal-top-level-add-to-load-path, tty-handle-args):
3497         Convert comments to basic doc-strings.
3499         * net/browse-url.el (browse-url-url-at-point)
3500         (browse-url-default-browser): Remove autoload cookies.
3502         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3503         Remove more undefined cl functions.
3505         * vc/diff.el (diff-sentinel): Make new arguments optional.
3506         * ibuf-ext.el (diff-sentinel): Update declaration.
3508 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
3510         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3511         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3512         (epg-context-set-passphrase-callback): Mention that the callback
3513         is not called when used with GnuPG 2.x.
3515 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
3517         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3518         (tramp-file-name-port): Check also for `tramp-default-port'.
3519         (tramp-get-connection-name): New defun.
3520         (tramp-get-connection-process): Use it.
3521         (tramp-debug-message): Extend function exclude list.
3522         (tramp-drop-volume-letter): Fix doc string.
3524         * net/tramp-cmds.el: Remove solved todo item.
3526         * net/tramp-ftp.el:
3527         * net/tramp-gvfs.el:
3528         * net/tramp-gw.el:
3529         * net/tramp-imap.el:
3530         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3531         and `tramp-default-user-alist', respectively.
3533         * net/tramp-gw.el (tramp-gw-open-connection):
3534         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3536         * net/tramp-imap.el (tramp-imap-make-iht): Use just
3537         `tramp-file-name-port'.
3539         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3540         and "psftp".  Exchange "%k" marker with options.
3541         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3542         Compute size of link target.
3543         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3544         `tramp-current-*' up due to gateway methods.  Optimize computing of
3545         copy arguments.  Use `tramp-get-connection-name' and
3546         `tramp-get-connection-buffer'.  Improve debug messages.
3547         (tramp-compute-multi-hops): Remove port determination.
3548         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3550         * net/trampver.el: Update release number.
3552 2010-12-02  Glenn Morris  <rgm@gnu.org>
3554         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3555         Avoid infinite loop over windows.  (Bug#7492)
3557         * progmodes/flymake.el (flymake-check-file-limit):
3558         Allow nil to mean "no limit".
3559         (flymake-check-patch-master-file-buffer): Update for above change.
3560         Allow a .tex file-name extension to be optional.
3561         (flymake-master-tex-init): Also match \include statements.
3563 2010-11-30  Sam Steingold  <sds@gnu.org>
3565         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3566         (nxml-parent-document-set): A function to set `nxml-parent-document'.
3567         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3568         (nxml-mode-hook): Remove `defcustom' (auto-defined by
3569         define-derived-mode').
3570         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3571         users who want to call `nxml-parent-document-set'.
3573 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3575         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3576         stand-alone lines, since that is handled by log-edit-match-to-eoh
3577         (Bug#6465).
3579 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
3581         * dired.el (dired-get-filename): Replace backslashes with slashes
3582         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
3583         * locate.el (locate-default-make-command-line): Don't consider
3584         drive letter and root directory part of
3585         `directory-listing-before-filename-regexp'.  (Bug#7308)
3586         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3588 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3590         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3591         of :smie-open/close-alist.
3592         (smie-next-sexp): Make it accept a "start token" as argument.
3593         (smie-indent-keyword): Be careful not to misidentify tokens that span
3594         more than one line, as empty lines.  Add argument `token'.
3596 2010-11-27  Kenichi Handa  <handa@m17n.org>
3598         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3599         multipart subtypes, insert all as usual.
3601         * mail/rmail.el: Require rfc2047.
3603 2010-11-27  Kenichi Handa  <handa@m17n.org>
3605         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3606         (rmail-mime-entity-disposition)
3607         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3608         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3609         (rmail-mime-save): Handle the case that the button's `data' is a
3610         MIME entity.
3611         (rmail-mime-insert-text): New function.
3612         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3613         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3614         (rmail-mime-insert-bulk): New function mostly copied from the old
3615         rmail-mime-bulk-handler.
3616         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3617         (rmail-mime-process-multipart): New function mostly copied from
3618         the old rmail-mime-multipart-handler.
3619         (rmail-mime-show): Just call rmail-mime-process.
3620         (rmail-mime-process): New function mostly copied from the old
3621         rmail-mime-show.
3622         (rmail-mime-insert-multipart, rmail-mime-parse)
3623         (rmail-mime-insert, rmail-show-mime)
3624         (rmail-insert-mime-forwarded-message)
3625         (rmail-insert-mime-resent-message): New functions.
3626         (rmail-insert-mime-forwarded-message-function): Set to
3627         rmail-insert-mime-forwarded-message.
3628         (rmail-insert-mime-resent-message-function): Set to
3629         rmail-insert-mime-resent-message.
3631         * mail/rmailsum.el: Require rfc2047.
3632         (rmail-header-summary): Handle multiline Subject: field.
3633         (rmail-summary-line-decoder): Change the default to
3634         rfc2047-decode-string.
3636         * mail/rmail.el (rmail-enable-mime): Change the default to t.
3637         (rmail-mime-feature): Change the default to `rmailmm'.
3638         (rmail-quit): Delete the specifal code for rmail-enable-mime.
3639         (rmail-display-labels): Likewise.
3640         (rmail-show-message-1): Check rmail-enable-mime, and use
3641         rmail-show-mime-function for a MIME message.  Decode the headers
3642         according to RFC2047.
3644 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3646         * progmodes/which-func.el (which-func-imenu-joiner-function):
3647         Return a string, as expected.
3648         (which-function-mode): Make sure we stop any previous timer before
3649         starting a new one.
3651 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
3653         * net/tramp.el (tramp-default-method-alist)
3654         (tramp-default-user-alist, tramp-default-proxies-alist):
3655         Adapt custom options type.  (Bug#7445)
3657 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3659         * progmodes/python.el: Add Ipython support (Bug#5390).
3660         (python-shell-prompt-alist)
3661         (python-shell-continuation-prompt-alist): New options.
3662         (python--set-prompt-regexp): New function.
3663         (inferior-python-mode, run-python, python-shell):
3664         Require ansi-color.  Use python--set-prompt-regexp to set the comint
3665         prompt based on the Python interpreter.
3666         (python--prompt-regexp): New var.
3667         (python-check-comint-prompt)
3668         (python-comint-output-filter-function): Use it.
3669         (run-python): Use a pipe (Bug#5694).
3671 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3673         * progmodes/python.el (run-python): Doc fix.
3674         (python-keep-current-directory-in-path): New var (Bug#7454).
3676 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3678         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3679         Prompt user before actually printing.
3681 2010-11-27  Glenn Morris  <rgm@gnu.org>
3683         * startup.el (package-enable-at-startup, package-initialize):
3684         Remove unnecessary declarations.
3686 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
3688         * international/characters.el (glyphless-char-display-control):
3689         Exclude newline and TAB from the c0-control group.
3691 2010-11-27  Glenn Morris  <rgm@gnu.org>
3693         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3694         (expand-mail-aliases): Remove unnecessary autoload.
3696         * allout.el (allout-command-prefix, allout-mode-map): Declare.
3698         * shell.el (shell-dir-cookie-re): Move definition before use.
3700         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3701         Replace undefined CL functions.
3703 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
3705         * simple.el (prog-mode): Set bidi-paragraph-direction to
3706         left-to-right.
3708         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3710 2010-11-26  Glenn Morris  <rgm@gnu.org>
3712         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3713         diary-outlook-formats can be sensitive to calendar-date-style.
3714         (diary-outlook-formats): Simplify the default setting.
3715         (diary-from-outlook-internal): Pass subject and body as arguments.
3716         Use dolist rather than dotimes.  Don't save the diary buffer.
3717         (diary-from-outlook-gnus, diary-from-outlook-rmail):
3718         Pass subject and body as explicit arguments to the -internal function.
3720 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3722         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3723         parsing them.  This makes mailto:...?subject=foo\nbar work.
3725 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3727         * vc/diff.el (diff): Fix last change.
3729 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3731         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
3732         (pcase--dontcare-upats): New var.
3733         (pcase-let, pcase-let*): Generate better code.
3734         Accept the same bodies as `let'.
3735         (pcase-dolist): New macro.
3736         (pcase--trivial-upat-p): New helper function.
3737         (pcase--expand): Strip leading "(let nil" if any.
3739 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3741         * mail/mailclient.el (browse-url): Require.
3742         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3743         use the external browser function to send the mail (bug#7469).
3745         * net/browse-url.el (browse-url-browser-function): Revert the
3746         default back to the previous value, since the new value broke
3747         mailclient.el.
3748         (browse-url-mailto-function): New variable for mailto: URLs.
3749         (browse-url): Use the new variable for mailto: URLs.
3751 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3753         * eshell/esh-cmd.el (eshell-parse-command):
3754         * eshell/esh-arg.el (eshell-parse-arguments):
3755         * eshell/em-script.el (eshell-source-file):
3756         Use with-silent-modifications.
3758 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3760         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
3761         for a merge location.
3763         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3764         (vc-bzr-merge-branch): Always prompt.
3765         (vc-bzr-async-command): Use the full branch filename.
3767 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3769         * shell.el (shell): Use current-buffer by default if it's already
3770         a shell mode buffer and its process is dead.
3771         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3773 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
3775         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3776         Mention that the keywords should be comma separated.
3778 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3780         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3781         Accept optional prefix arg meaning to prompt for a command.
3782         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
3783         prefix arg meaning to prompt for a command.
3784         (vc-pull): Alias for vc-update.
3786         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3787         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3788         (vc-bzr-merge-branch): New functions, implementing merge-branch
3789         and pull operations.
3791 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3793         * Makefile.in: Fix up last merge.
3795         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3796         (diff-sentinel): Get them as arguments instead.
3797         (diff-old-file, diff-new-file, diff-extra-args): Remove.
3798         (diff-file-local-copy, diff-better-file-name): New funs.
3799         (diff-no-select): Rename from diff-into-buffer.
3800         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
3801         Prefer closures to buffer-local variables.
3802         (diff): Adjust accordingly.
3803         (diff-buffer-with-file): Move from files.el.
3804         * files.el (diff-buffer-with-file): Move to vc/diff.el.
3805         (diff-buffer-internal): Remove.
3806         (diff-buffer-buffer): Remove.
3807         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3808         the buffer name used, and so as not to mess up windows and frames.
3810 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3812         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3813         (diff-buffer-internal): New function extracted from diff-buffer-with-file
3814         (diff-buffer-with-file): Use it.
3815         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3816         (diff): Use it.
3818 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
3820         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3821         \ref's or \pageref's value as default instead of initial input.
3823 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
3825         * files.el (backup-by-copying-when-mismatch): The default value is
3826         now t.
3828         * startup.el (normal-top-level):
3829         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3830         `backup-by-copying-when-mismatch'.
3832 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3834         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3836 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3838         * progmodes/python.el (python-font-lock-keywords):
3839         Highlight top-level augmented assignments (Bug#6445).
3841 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3843         * term/ns-win.el (ns-right-control-modifier)
3844         (ns-right-command-modifier): Defvar them.
3846         * cus-start.el (all): Add ns-right-control-modifier and
3847         ns-right-command-modifier (Bug#7458).
3849 2010-11-20  Glenn Morris  <rgm@gnu.org>
3851         * emacs-lisp/authors.el (authors-ignored-files)
3852         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3854 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3856         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3857         (report-emacs-bug-parse-query-results)
3858         (report-emacs-bug-create-existing-bugs-buffer): Pass through
3859         keywords used for querying the bug database to show them in the
3860         existing bugs buffer.
3862 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
3864         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3866         * info.el (info-tool-bar-map): Add some :vert-only keywords.
3868 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3870         * international/characters.el (glyphless-char-display-control):
3871         Make it a defcustom, with update-glyphless-char-display as its
3872         :set attribute.
3873         (top level): Don't call update-glyphless-char-display.
3875 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
3877         Sync with Tramp 2.2.0.
3879         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3880         `file-remote-p' (due to compatibility).
3882         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3883         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3885         * net/trampver.el: Update release number.
3887 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3889         * faces.el (glyphless-char): Define value for `pc'.
3891 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3893         Implemented a bug querying mechanism.
3894         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3895         (report-emacs-bug-create-existing-bugs-buffer)
3896         (report-emacs-bug-parse-query-results)
3897         (report-emacs-bug-query-existing-bugs): New functions.
3899 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
3901         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3902         a \ref{} or \pageref{} macro, then use its value as initial input.
3904 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
3906         * calc/calc-units.el (math-build-units-table-buffer):
3907         calc/README: Mention that the TeX specific units won't use the
3908         `tex' prefix in TeX mode.
3909         calc/calc-lang.el (math-variable-table): Don't use the `tex'
3910         prefix for units in TeX mode.
3912 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3914         * simple.el (kill-new, kill-append, kill-region):
3915         * comint.el (comint-kill-region): Make the yank-handler argument
3916         obsolete.
3918 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3920         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3921         that are both openers (resp. closers) and something else.
3922         (smie-grammar): Loosen definition of valid values.
3923         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3924         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3925         (smie-indent-after-keyword): Adjust users.
3926         (smie-indent-keyword): Don't indent empty lines.
3928         * vc-hg.el (vc-hg-program): New var.
3929         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3930         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3932 2010-11-18  Glenn Morris  <rgm@gnu.org>
3934         * emacs-lisp/autoload.el (autoload-find-destination): The function
3935         coding-system-eol-type may return non-numeric values.  (Bug#7414)
3937 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
3939         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3941 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
3943         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
3945 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
3947         * textmodes/picture.el (picture-mouse-set-point): Don't use
3948         posn-col-row; explicitly compute the motion based on the posn at
3949         the window-start (Bug#7390).
3951 2010-11-18  Glenn Morris  <rgm@gnu.org>
3953         * novice.el (disabled-command-function):
3954         Fix 2009-11-15 change.  (Bug#7384)
3956 2010-11-18  Glenn Morris  <rgm@gnu.org>
3958         * calendar/calendar.el (diary-iso-date-forms): Make elements
3959         mutually exclusive.  (Bug#7377)
3961 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3963         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3964         when filling the remaining "unconstrained" values.
3966 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3968         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3969         safety predicate.
3971         * files.el (safe-local-variable-p): Gracefully handle errors.
3973         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3974         Use smie-indent-virtual when indenting relative to an opener.
3975         (smie-rule-separator): Use smie-rule-parent.
3976         (smie-indent-keyword): Consult rules, even for openers at bol.
3977         (smie-indent-comment-close): Try to align closer's content.
3979 2010-11-18  Glenn Morris  <rgm@gnu.org>
3981         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3983 2010-11-18  Glenn Morris  <rgm@gnu.org>
3985         * printing.el (pr-menu-bind): Doc fix.
3987         * speedbar.el (speedbar-toggle-images): Doc fix.
3989         * progmodes/python.el (python-shell): Doc fix.
3991         * wid-edit.el (widget-field-use-before-change)
3992         (widget-use-overlay-change): Doc fixes.
3994 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3996         Minor cleanup to improve style.
3997         * textmodes/rst.el (rst-update-section): Use point-marker.
3998         (rst-get-decoration): Eliminate unneeded assignment.
3999         (rst-promote-region, rst-straighten-decorations)
4000         (rst-section-tree, rst-adjust): Use point-marker.
4001         (rst-toc-mode-mouse-goto): Avoid setq.
4002         (rst-shift-region-guts, rst-shift-region-left)
4003         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4004         (rst-convert-bullets-to-enumeration): Use copy-marker.
4006         * minibuffer.el (completion-fail-discreetly): New var.
4007         (completion--do-completion): Use it.
4009         * electric.el (electric-pair-pairs): New var.
4010         (electric-pair-post-self-insert-function): Use it.
4011         (electric-layout-post-self-insert-function): Don't insert a before
4012         newline unless it's actually needed.
4014 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4016         * progmodes/python.el (run-python): Explain why we remove the current
4017         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
4019         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4021 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4023         * progmodes/octave-mod.el: Rely on elecric-*-modes.
4024         (octave-mode-map): Don't bind ;, SPC, and LF.
4025         (octave-auto-indent, octave-auto-newline): Remove.
4026         (electric-layout-rules): Declare.
4027         (octave-mode): Set electric-layout-rules.
4028         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4029         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4030         (octave-electric-space): Remove.
4032         * electric.el (electric-layout-mode): New minor mode.
4033         (electric--after-char-pos): New function.
4034         (electric-indent-post-self-insert-function): Use it.
4035         (electric-layout-rules): New var.
4036         (electric-layout-post-self-insert-function): New function.
4037         (electric-indent-mode): Make them interact better.
4039 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4041         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4042         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4043         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4045 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
4047         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4048         Make sure to check inside the word (Bug#6761).
4050 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
4052         * startup.el (command-line): If the cursorColor resource is set,
4053         change the cursor face-spec (Bug#7392).
4055 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
4057         The main features of the following allout.el changes are:
4058         - implement user customization for the allout key bindings
4059         - add a customization control by which the user can inhibit use of
4060           a trailing Ctrl-H, so by default it's reserved for use with
4061           describe-prefix-bindings
4062         - adapt to new version of called-interactively-p, while
4063           maintaining backwards compatibility with old version
4064         - fix hotspot navigation so i works properly with meta-modified keys.
4066         * allout.el (allout-keybindings, allout-bind-keys)
4067         (allout-keybindings-binding, allout-prefixed-keybindings)
4068         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4069         (allout-keybindings-list, allout-mode-map-adjustments)
4070         (allout-setup-mode-map): Establish allout-mode keymaps as user
4071         customizable settings, and also establish a customizable setting which
4072         regulates whether or not a trailing control-h is reserved for use with
4073         describe-prefix-bindings - and inhibit it by default, so that control-h
4074         *is* reserved for describe-prefix-bindings unless the user changes it.
4076         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4077         and accurately between modified and unmodified events, and handle
4078         modified events more comprehensively.
4080         * allout.el (allout-substring-no-properties):
4081         Alias to use or provide version of `substring-no-properties'.
4082         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4084         * allout.el (allout-next-single-char-property-change):
4085         Alias to use or provide version of `next-single-char-property-change'.
4086         (allout-annotate-hidden, allout-hide-by-annotation):
4087         Use `allout-next-single-char-property-change'.
4089         * allout.el (allout-select-safe-coding-system):
4090         Alias to use or provide version of `select-safe-coding-system'.
4091         (allout-toggle-subtree-encryption):
4092         Use `allout-select-safe-coding-system'.
4094         * allout.el (allout-set-buffer-multibyte):
4095         Alias to use or provide version of `set-buffer-multibyte'.
4096         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4098         * allout.el (allout-called-interactively-p): Macro for using the
4099         different versions of called-interactively-p identically, depending on
4100         the subroutine's argument signature.
4101         (allout-back-to-current-heading, allout-beginning-of-current-entry):
4102         Use `(interactive "p")' instead of `(called-interactively-p)'.
4104         * allout.el (allout-init, allout-ascend, allout-end-of-level)
4105         (allout-previous-visible-heading, allout-forward-current-level)
4106         (allout-backward-current-level, allout-show-children):
4107         Use `allout-called-interactively-p' instead of `called-interactively-p'.
4109         * allout.el (allout-before-change-handler):
4110         Exempt edits to the (overlaid) character after the allout outline
4111         bullet from edit confirmation prompt.
4113         * allout.el (allout-add-resumptions):
4114         Ensure that it respects correct buffer for keybindings.
4116         * allout.el (allout-beginning-of-line):
4117         Use `allout-previous-single-char-property-change' alias for the sake of
4118         diverse compatibility.
4120         * allout.el (allout-end-of-line):
4121         Use `allout-mark-active-p' to encapsulate respect for mark activity.
4123 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
4125         * frame.el (frame-notice-user-settings): Don't clobber other
4126         user-set parameters when calling face-set-after-frame-default in
4127         response to background-color parameter (Bug#7373).
4129 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
4131         * international/characters.el (glyphless-char-display-control):
4132         Rename from glyphless-char-control; all users changed.  Doc fix.
4133         Signal an error if display method is not one of the recognized
4134         symbols.
4136 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
4138         * net/tramp-compat.el (tramp-compat-line-beginning-position)
4139         (tramp-compat-line-end-position): Remove them.
4141         * net/tramp.el (tramp-parse-rhosts-group)
4142         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4143         (tramp-parse-hosts-group, tramp-parse-passwd-group)
4144         (tramp-parse-netrc-group, tramp-parse-putty-group)
4145         * net/tramp-cmds.el (tramp-append-tramp-buffers)
4146         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4147         (tramp-sh-handle-file-selinux-context)
4148         (tramp-sh-handle-file-name-all-completions)
4149         (tramp-sh-handle-insert-directory)
4150         (tramp-sh-handle-expand-file-name, tramp-find-executable)
4151         (tramp-wait-for-output, tramp-send-command-and-read)
4152         * net/tramp-smb.el (tramp-smb-read-file-entry)
4153         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4155         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4156         `point-at-bol'.
4157         (tramp-remote-coding-commands): Add an alternative using "base64
4158         -d -i".  This is needed for older base64 versions from GNU
4159         coreutils.  Reported by Klaus Reichl
4160         <Klaus.Reichl@thalesgroup.com>.
4162 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
4164         * simple.el (count-words-region): New function.
4166 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4168         * shell.el (shell-dir-cookie-re): New custom variable.
4169         (shell-dir-cookie-watcher): New function.
4171         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4172         and compilation-mode (bug#7350).
4174         * vc/smerge-mode.el (smerge-refine): Choose better default part to
4175         highlight when one of them is empty.
4177         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4178         trailing space.
4179         (skeleton-newline): New function.
4180         (skeleton-internal-1): Use it.
4182         * simple.el (open-line): `newline' may strip trailing space.
4184 2010-11-12  Kevin Ryde  <user42@zip.com.au>
4186         * international/mule-cmds.el (princ-list): Use mapc.
4188 2010-11-12  Glenn Morris  <rgm@gnu.org>
4190         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4191         Use it to replace all instances of "*Compile-Log*".
4193 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4195         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4196         indentation specs.
4198 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4200         * progmodes/modula2.el: Use SMIE and skeleton.
4201         (m2-mode-syntax-table): (*..*) can be nested.
4202         Add //...\n.  Fix paren syntax.
4203         (m2-mode-map): Remove LF and TAB bindings.
4204         (m2-indent): Add safety property.
4205         (m2-smie-grammar): New var.
4206         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4207         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4208         (m2-mode): Use define-derived-mode.
4209         (m2-newline, m2-tab): Remove.
4210         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4211         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4212         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4213         (m2-import): Use define-skeleton.
4215 2010-11-11  Glenn Morris  <rgm@gnu.org>
4217         * obsolete/lucid.el: Don't warn about any CL functions in this file.
4219         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4220         (ls-lisp-verbosity): Add custom :set-after property.
4221         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4222         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4223         (ls-lisp-insert-directory): Update caller.
4224         (ls-lisp-set-options): New function.
4225         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4226         Doc fix.
4228         * play/landmark.el (lm-prompt-for-move):
4229         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4231         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4233         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4234         (idlwave-study-twins): Prefix dynamic local variable `name'.
4235         (idlwave-routine-twin-compare): Update for above change.
4237         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4238         Prefix dynamic local variables `name', `kwd', and `link'.
4239         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4240         * progmodes/idlw-complete-structtag.el
4241         (idlwave-complete-structure-tag-help):
4242         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4243         (idlwave-complete-sysvar-tag-help)
4244         (idlwave-complete-class-structure-tag-help):
4245         Update for above name changes.
4247 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4249         * net/browse-url.el (browse-url-browser-function): Change the
4250         default to use `browse-url-mail' on mailto: URLs.
4252 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
4254         * emacs-lisp/package.el (package-read-all-archive-contents):
4255         Reset package-archive-contents to nil before re-reading.
4257 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
4259         * textmodes/flyspell.el (flyspell-word): Do not re-check words
4260         already found as misspellings by (flyspell-large-region), just
4261         do highlighting (bug#7322).
4263 2010-11-10  Glenn Morris  <rgm@gnu.org>
4265         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4267         * emulation/edt.el (edt-with-position): New macro.
4268         (edt-find-forward, edt-find-backward, edt-find-next-forward)
4269         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4270         (edt-paragraph-forward, edt-paragraph-backward): Use it.
4272         * emulation/tpu-extras.el (tpu-with-position): New macro.
4273         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4275         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4277         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4278         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4279         (texinfo-master-menu, texinfo-insert-node-lines)
4280         (texinfo-multiple-files-update):
4281         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4282         Use line-beginning-position.
4284         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4285         No recent Emacs supports system-type `emx'.
4287         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4288         (ada-command-separator, ada-default-prj-properties)
4289         (ada-find-any-references): Update for above name change.
4291         * dirtrack.el (dirtrack-directory-function)
4292         (dirtrack-canonicalize-function):
4293         * filecache.el (file-cache-completion-ignore-case)
4294         (file-cache-case-fold-search, file-cache-ignore-case):
4295         * term.el (serial-port-is-file-p): Cosmetic change.
4297         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4298         Remove non-existent `windows-95' system-type.
4299         * dired.el (dired-chown-program): Remove non-existent `linux'
4300         system-type.
4302         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4303         (ping-program-options): Remove non-existent `linux' system-type.
4305         * startup.el (package-initialize): Update declaration.
4307         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4308         (ls-lisp-handle-switches): Use time-less-p.
4309         (ls-lisp-format-time): Use float-time.
4311         * textmodes/remember.el (remember-time-to-seconds): Remove.
4312         (remember-store-in-mailbox): Use float-time.
4314         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4316         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4317         never a real function.
4318         (with-no-warnings): Remove compat stub, now unused.
4319         (time-less-p): Doc fix.
4320         (time-to-number-of-days): Simplify.
4322         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4323         Remove.
4324         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4325         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4326         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4327         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4328         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4330         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4331         (eshell-shuffle-files, eshell-shorthand-tar-command)
4332         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4333         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4334         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4335         Prefix dynamic local variable `matches'.
4337         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4338         Prefix dynamic local variable `skeleton'.
4340 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4342         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4343         in mail buffer; make yank-action always a command that yanks original
4344         buffer.
4346 2010-11-09  Glenn Morris  <rgm@gnu.org>
4348         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4350 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4352         * minibuffer.el (minibuffer-completion-help): Specify the end of the
4353         completion field (bug#7211).
4355         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4356         Fix handling of backslash escapes.
4357         (python-quote-syntax): Adjust accordingly.
4359 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
4361         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4362         (vc-mtn-workfile-branch): Adjust to new output format.
4364 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4366         * international/mule-cmds.el (princ-list): Mark as obsolete.
4368 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4370         * emacs-lisp/smie.el: New package.
4372 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
4374         * files.el (backup-by-copying-when-mismatch):
4375         Set `permanent-local' property.
4377         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4378         `permanent-local' property for `backup-by-copying-when-mismatch'.
4380 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
4382         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
4384 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
4386         * progmodes/verilog-mode.el (verilog-insert-one-definition)
4387         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4388         AUTOINOUT for SV style multidimensional arrays, bug294.
4389         Reported by Eric Mastromarchi.
4390         (verilog-preprocess): Use with-current-buffer and
4391         font-lock-fontify-buffer to cleanup style issues.
4393 2010-11-09  Glenn Morris  <rgm@gnu.org>
4395         * locate.el (locate, locate-mode): Doc fixes.
4397 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
4399         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4400         user for confirmation.
4401         (server-force-stop): Use it.
4402         (server-start): Use server-force-stop for kill-emacs-hook, to
4403         avoid user interaction while killing Emacs.
4405 2010-11-09  Glenn Morris  <rgm@gnu.org>
4407         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4408         (meta-indent-line): Simplify.
4410         * vc/emerge.el (emerge-line-number-in-buf):
4411         * textmodes/ispell.el (ispell-region):
4412         * textmodes/fill.el (current-fill-column):
4413         * progmodes/xscheme.el (xscheme-send-current-line):
4414         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4415         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4416         * progmodes/sh-script.el (sh-handle-prev-do):
4417         * progmodes/meta-mode.el (meta-indent-line):
4418         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4419         (idlwave-in-quote):
4420         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4421         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4422         * progmodes/fortran.el (fortran-looking-at-if-then):
4423         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4424         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4425         (cperl-find-pods-heres):
4426         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4427         * net/quickurl.el (quickurl-list-insert):
4428         * net/ldap.el (ldap-search-internal):
4429         * net/eudc.el (eudc-expand-inline):
4430         * mail/sendmail.el (sendmail-send-it):
4431         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4432         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4433         (viper-brac-function):
4434         * calc/calc-yank.el (calc-do-grab-region):
4435         * calc/calc-keypd.el (calc-keypad-press):
4436         * term.el (term-move-columns, term-insert-spaces):
4437         * speedbar.el (speedbar-highlight-one-tag-line):
4438         * simple.el (current-word):
4439         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4440         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4441         (Info-scroll-down):
4442         * hippie-exp.el (he-line-beg):
4443         * epa.el (epa--marked-keys):
4444         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4445         (dired-update-file-line, dired-add-entry, dired-remove-entry)
4446         (dired-relist-entry):
4447         * buff-menu.el (Buffer-menu-buffer):
4448         * array.el (current-line):
4449         * allout.el (allout-resolve-xref)
4450         (allout-latex-verbatim-quote-curr-line):
4451         Replace yet more uses of end-of-line etc with line-end-position, etc.
4453 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4455         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4456         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4457         (checkdoc-syntax-table): Initialize in the declaration.
4458         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4459         the mode on unconditionally.
4461         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4462         (extent-end-position, extent-start-position): Remove setf method for
4463         non-existing functions (bug#7319).
4465 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4467         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4468         (smie-precs->prec2): Rename from smie-precs-precedence-table.
4469         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4470         (smie-prec2->grammar): Rename from smie-prec2-levels.
4471         (smie-grammar): Rename from smie-op-levels.
4472         (smie-indent--hanging-p): Rename from smie-hanging-p.
4473         (smie-rule-hanging-p): New alias.
4474         (smie-indent--bolp): Rename from smie-bolp.
4475         (smie-indent--hanging-p): New alias.
4476         (smie--token): New dynamically bound variable.
4477         (smie-indent--parent): New function.
4478         (smie-rule-parent-p): Use it; rename from smie-parent-p.
4479         (smie-rule-next-p): Rename from smie-next-p.
4480         (smie-rule-prev-p): Rename from smie-prev-p.
4481         (smie-rule-sibling-p, smie-rule-parent)
4482         (smie-indent--separator-outdent, smie-rule-separator): New functions.
4483         (smie-rule-separator-outdent): New var.
4484         (smie-indent--rule): Merge with smie-indent--column.
4485         (smie-indent-forward-token, smie-indent-backward-token):
4486         Also recognize close parens.
4487         (smie-indent-keyword): Don't use smie-indent--column any more.
4488         (smie-indent-after-keyword): Ignore closers by default.
4489         (smie-indent-line): Use with-demoted-errors.
4490         * progmodes/octave-mod.el (octave-smie-grammar):
4491         Rename from octave-smie-op-levels.
4492         (octave-smie-rules): Adjust to new behavior.
4493         * progmodes/prolog.el (prolog-smie-grammar):
4494         Rename from prolog-smie-op-levels.
4496 2010-11-07  Glenn Morris  <rgm@gnu.org>
4498         * eshell/esh-util.el (subst-char-in-string)
4499         (directory-files-and-attributes): These compatibility definitions are
4500         not needed on any version of Emacs since at least 21.4.
4502         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4503         (verilog-get-end-of-line): Remove.
4504         (verilog-within-string, verilog-re-search-forward-substr)
4505         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4506         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4507         Use point-at-bol, point-at-eol.
4508         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4509         Remove.
4510         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4511         (electric-pascal-terminate-line, pascal-set-auto-comments)
4512         (pascal-indent-paramlist, pascal-indent-declaration)
4513         (pascal-get-lineup-indent, pascal-func-completion)
4514         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4515         Use point-at-bol, point-at-eol.
4516         * progmodes/flymake.el (flymake-line-beginning-position)
4517         (flymake-line-end-position): Remove.
4518         (flymake-highlight-line): Use point-at-bol, point-at-eol.
4519         * eshell/esh-util.el (line-end-position, line-beginning-position):
4520         Remove compat definitions.
4522         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4523         Use end-of-line N.
4524         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4525         Use line-end-position.
4527         * emacs-lisp/chart.el (chart-zap-chars):
4528         * play/decipher.el (decipher-set-map):
4529         * progmodes/ada-mode.el (ada-get-current-indent)
4530         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4531         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4532         * progmodes/ada-xref.el (ada-initialize-runtime-library)
4533         (ada-get-all-references):
4534         * progmodes/cperl-mode.el (cperl-electric-paren)
4535         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4536         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4537         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4538         (cperl-word-at-point-hard):
4539         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4540         (idlwave-shell-filename-string, idlwave-shell-batch-command)
4541         (idlwave-shell-display-line):
4542         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4543         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4544         * progmodes/js.el (js--re-search-forward-inner)
4545         (js--re-search-backward-inner):
4546         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4547         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4548         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4549         * textmodes/flyspell.el (flyspell-process-localwords):
4550         * textmodes/ispell.el (ispell-buffer-local-parsing)
4551         (ispell-buffer-local-dict, ispell-buffer-local-words):
4552         Use point-at-bol and point-at-eol.
4554         * speedbar.el (speedbar-generic-item-info)
4555         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4556         (speedbar-add-indicator, speedbar-check-vc-this-line)
4557         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4558         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4559         Replace more uses of end-of-line etc with line-end-position.
4561 2010-11-06  Glenn Morris  <rgm@gnu.org>
4563         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4564         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4565         (texinfo-delete-existing-pointers, texinfo-find-pointer)
4566         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4567         (texinfo-multiple-files-update):
4568         * textmodes/table.el (table--probe-cell-left-up)
4569         (table--probe-cell-right-bottom):
4570         * textmodes/picture.el (picture-tab-search):
4571         * textmodes/page-ext.el (pages-copy-header-and-position)
4572         (pages-directory-for-addresses):
4573         * progmodes/vera-mode.el (vera-get-offset):
4574         * progmodes/simula.el (simula-calculate-indent):
4575         * progmodes/python.el (python-pdbtrack-overlay-arrow):
4576         * progmodes/prolog.el (end-of-prolog-clause):
4577         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4578         * progmodes/icon.el (indent-icon-exp):
4579         * progmodes/etags.el (tag-re-match-p):
4580         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4581         * progmodes/ebnf2ps.el (ebnf-begin-file):
4582         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4583         (dcl-save-local-variable):
4584         * play/life.el (life-setup):
4585         * play/gametree.el (gametree-looking-at-ply):
4586         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4587         * mail/sendmail.el (mail-mode-auto-fill):
4588         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4589         * emacs-lisp/edebug.el (edebug-overlay-arrow):
4590         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4591         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4592         (woman-tab-to-tab-stop, WoMan-warn-ignored):
4593         * type-break.el (type-break-file-keystroke-count):
4594         * term.el (term-replace-by-expanded-history-before-point)
4595         (term-skip-prompt, term-extract-string):
4596         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4597         (speedbar-contract-line, speedbar-toggle-line-expansion)
4598         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4599         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4600         * sort.el (sort-skip-fields):
4601         * skeleton.el (skeleton-internal-list):
4602         * simple.el (line-move-finish, line-move-to-column):
4603         * shell.el (shell-forward-command):
4604         * misc.el (copy-from-above-command):
4605         * makesum.el (double-column):
4606         * ebuff-menu.el (electric-buffer-update-highlight):
4607         * dired.el (dired-move-to-end-of-filename):
4608         * dframe.el (dframe-popup-kludge):
4609         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4610         * arc-mode.el (archive-get-lineno):
4611         Use line-end-position and line-beginning-position.
4613         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4614         (idlwave-study-twins): Prefix dynamic local `class'.
4615         (idlwave-routine-twin-compare): Update for above name change.
4617         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4618         Use boundp tests to silence compiler.  Update for changed name of
4619         bytecomp-filename variable.
4621         * emulation/viper-cmd.el (viper-read-string-with-history):
4622         Prefix dynamic local `initial'.
4623         (viper-minibuffer-standard-hook): Update for above name change.
4625         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4626         (elint-init-form): Update for above name change.
4628         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4629         local variables `cbeg' and `cend' a prefix.
4630         (mail-extr-voodoo): Update for above name change.
4632         * textmodes/reftex-toc.el (reftex-toc-do-promote)
4633         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4634         (reftex-toc-promote-action): Doc fix.
4636         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4637         `prompt', `data' a prefix.
4638         (reftex-select-post-command-hook, reftex-select-callback)
4639         (reftex-select-mouse-accept, reftex-select-read-cite):
4640         Update for above name changes.
4642         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4643         `refstyle' to reftex-refstyle.
4644         (reftex-offer-label-menu): Update for above name change.
4645         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4646         `refstyle' name change.
4648         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4649         with with-current-buffer.
4650         (diff, template): Give dynamic local variables a prefix.
4651         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4652         (emerge-line-number-in-buf): Update for above name change.
4653         (emerge-combine-versions-internal): Rename local `template' to
4654         emerge-combine-template.
4655         (emerge-combine-versions-edit): Update for above name change.
4657 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
4659         * textmodes/reftex-cite.el
4660         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4661         entries with whitespace after \bibitem.
4662         (reftex-create-bibtex-file): Match entries containing numbers and
4663         symbol constituents.  Make sure that entries with whitespace at
4664         various places are found.
4666 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
4668         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4670 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
4672         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4674 2010-11-05  Glenn Morris  <rgm@gnu.org>
4676         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4677         (woman2-roff-buffer): Give local variable `request' a prefix.
4678         (woman0-macro): Rename argument `request' in the same way.
4679         (woman-request): New name for `request' dynamic variable.
4680         (woman-unquote, woman-forward-arg): Update for above name change.
4681         (woman1-roff-buffer): Give local variable `unquote' a prefix.
4682         (woman1-unquote): New name for `unquote' dynamic variable.
4683         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4684         (woman-translations): Rename from `translations'.  No longer global.
4685         (woman2-tr, woman-translate): Update for above name change.
4686         (woman-translate): Check for bound variable.
4687         (woman2-roff-buffer): Give local variable `translations' a prefix.
4689         * play/doctor.el: Give all local variables a prefix.  Update callers.
4690         (doc$, doctor-put-meaning): Use backquote.
4692         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4693         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4695         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4696         variables bytes, ptr, op a prefix.
4697         (disassemble-offset): Update for above change.
4699 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4701         * emacs-lisp/package.el (package-unpack): Remove no-op.
4702         (package--builtins, package--dir): Doc fix.
4703         (package-activate-1, package-activate, package-install)
4704         (package-compute-transaction): Fix error message.
4705         (package-delete): Use delete-directory.  Omit system packages.
4706         (package-initialize): Set package-alist to nil first.
4707         (package-menu-mark-delete, package-menu-mark-install): Don't add
4708         symbols that are inconsistent with the package state.
4709         (package-menu-execute): Perform deletions and installations as
4710         single batch operations.
4712 2010-11-03  Glenn Morris  <rgm@gnu.org>
4714         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4715         (props): Remove unnecessary declaration.
4717         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4718         set-process-query-on-exit-flag.
4720         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4721         (reftex-toc-do-promote): Remove unused local `mpos'.
4722         (reftex-toc-restore-region): Make `mpos' local to this function.
4724         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4726         * play/landmark.el (lm-losing-threshold): Correct spelling.
4727         (lm-human-plays): Use new name.
4729         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4730         (gomoku-human-plays): Use new name.
4732         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4733         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4734         (gomoku-score-trans-table, gomoku-winning-threshold)
4735         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4737 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4739         * emacs-lisp/package.el: Don't put built-in packages in
4740         package-alist, to avoid loading inefficiencies.
4741         (package-built-in-p): Make VERSION optional, and treat it as a
4742         minimum acceptable version.
4743         (package-activate): Search separately for built-in packages.
4744         Emit a warning if a dependency fails.
4745         (define-package): Handle most common case, where there is no
4746         obsolete package, first.
4747         (package-compute-transaction): Print required version in error.
4748         (package--initialized): New variable.
4749         (list-packages): Use it.
4750         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
4751         built-in packages in packages-alist; keep it separate.
4752         Set package--initialized.
4753         (describe-package): Avoid activating packages as a side-effect.
4754         Search separately for built-in packages.
4755         (describe-package-1): Handle the case where an elpa package is
4756         simultaneously built-in and available/installed.
4757         (package-installed-p, package--generate-package-list):
4758         Search separately for built-in packages.
4759         (package-load-descriptor): Doc fix.
4761 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4763         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4764         Handle __DATA__ and __END__.
4766 2010-11-02  Noah Friedman  <friedman@splode.com>
4768         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4769         nil, do not ask to recompile files that are not already compiled,
4770         and do not recompile them.
4772 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
4774         * emacs-lisp/package.el (package-initialize): Ensure that
4775         obsoleted built-in packages are not in package-activated-list
4776         during activation.
4777         (describe-package-1): Make the "installed" status override
4778         "built-in".
4780 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4782         * subr.el (version-separator, version-regexp-alist): Remove '*'
4783         from docstring.
4784         (version-list-<=, version<=, version=): Doc fix.
4786 2010-11-01  Kenichi Handa  <handa@m17n.org>
4788         * faces.el (glyphless-char): Inherit underline for tty.
4790 2010-11-01  Kenichi Handa  <handa@m17n.org>
4792         Implement various display methods for glyphless characters.
4794         * international/characters.el (char-acronym-table): New variable.
4795         (glyphless-char-control): New variable.
4796         (update-glyphless-char-display): New function.
4798         * faces.el (glyphless-char): New face.
4800 2010-11-01  Glenn Morris  <rgm@gnu.org>
4802         * calendar/holidays.el (general-holidays, oriental-holidays)
4803         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4804         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4805         the definitions of their targets.
4807         * emacs-lisp/smie.el (smie): New custom group.
4808         (smie-blink-matching-inners, smie-indent-basic): Add :group.
4810         * faces.el (xw-defined-colors, x-setup-function-keys):
4811         * mouse-sel.el (x-select-text):
4812         * term/w32console.el (x-setup-function-keys): Update declarations.
4814         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4816         * textmodes/ispell.el (comment-add): Declare.
4818         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4819         Declare.
4821         * info.el (finder-keywords-hash, package-alist): Declare.
4823 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4825         * finder.el (finder-compile-keywords): Don't use intern-soft,
4826         since package names may not yet exist in the obarray.
4828 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4830         * vc/vc-arch.el (vc-arch-checkin):
4831         * vc/vc-cvs.el (vc-cvs-checkin):
4832         * vc/vc-mtn.el (vc-mtn-checkin):
4833         * vc/vc-rcs.el (vc-rcs-checkin):
4834         * vc/vc-sccs.el (vc-sccs-checkin):
4835         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4836         since 2010-04-21 commit by Stefan Monnier.
4838 2010-11-01  Glenn Morris  <rgm@gnu.org>
4840         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4842         * startup.el (package-enable-at-startup, package-initialize):
4843         Silence compiler.
4845         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4846         Silence compiler.
4848 2010-10-31  Julien Danjou  <julien@danjou.info>
4850         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4851         (byte-recompile-directory):
4852         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4853         Use `byte-recompile-file'.
4855 2010-10-31  Glenn Morris  <rgm@gnu.org>
4857         * cus-start.el: Handle standard values via a keyword.
4858         Only set version property if specified.
4859         (cursor-in-non-selected-windows, menu-bar-mode)
4860         (tool-bar-mode, show-trailing-whitespace):
4861         Do not specify standard values.
4862         (transient-mark-mode, temporary-file-directory): Use :standard.
4864 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
4866         * term/x-win.el (x-get-selection-value): New function that gets
4867         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
4869 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
4871         * net/tramp.el (tramp-handle-insert-file-contents): For root,
4872         preserve owner and group when editing files.  (Bug#7289)
4874 2010-10-31  Glenn Morris  <rgm@gnu.org>
4876         * speedbar.el (speedbar-mode):
4877         * play/fortune.el (fortune-in-buffer, fortune):
4878         * play/gomoku.el (gomoku-mode):
4879         * play/landmark.el (lm-mode):
4880         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4881         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
4883         * select.el (x-selection): Mark it as an obsolete alias.
4885 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4887         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4888         major-mode (bug#7284).
4890 2010-10-31  Glenn Morris  <rgm@gnu.org>
4892         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4893         rather than just an unused variable that inherits from the real one.
4895 2010-10-31  Alan Mackenzie  <acm@muc.de>
4897         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4898         This fixes bug #7185.
4900 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
4902         * startup.el (command-line): Search for package directories, and
4903         don't load package.el if none are found.
4905         * emacs-lisp/package.el (describe-package, list-packages):
4906         Call package-initialize if it has not been called yet.
4908 2010-10-30  Alan Mackenzie  <acm@muc.de>
4910         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4911         which fontifies the tail of an enum.
4912         (c-basic-matchers-after): Insert a call to the above new function.
4913         This fixes bug #7264.
4915 2010-10-30  Glenn Morris  <rgm@gnu.org>
4917         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4918         tool-bar-mode, transient-mark-mode.  (Bug#7306)
4919         Include the :set property in the dumped Emacs.
4921 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4923         SMIE: change indent rules format, improve smie-setup.
4924         * emacs-lisp/smie.el (smie-precs-precedence-table)
4925         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4926         Mark them pure so the tables gets built at compile time.
4927         (smie-bnf-precedence-table): Store the closer-alist in the table.
4928         (smie-prec2-levels): Preserve the closer-alist.
4929         (smie-blink-matching-open): Be more forgiving in case of indentation.
4930         (smie-hanging-p): Rename from smie-indent--hanging-p.
4931         (smie-bolp): Rename from smie-indent--bolp.
4932         (smie--parent, smie--after): New dynamic vars.
4933         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4934         (smie-indent-rules): Remove.
4935         (smie-indent--offset-rule): Remove fun.
4936         (smie-rules-function): New var.
4937         (smie-indent--rule): New fun.
4938         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4939         (smie-indent-exps): Use it.
4940         (smie-setup): Setup paren blinking; add keyword args for token
4941         functions; extract closer-alist from op-levels.
4942         (smie-indent-debug-log): Remove var.
4943         (smie-indent-debug): Remove fun.
4944         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4945         (prolog-smie-rules): New fun to replace it.
4946         (prolog-mode-variables): Simplify.
4947         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4948         it's setup automatically.
4949         (octave-smie-indent-rules): Remove.
4950         (octave-smie-rules): New fun to replace it.
4951         (octave-mode): Simplify.
4953 2010-10-29  Glenn Morris  <rgm@gnu.org>
4955         * files.el (temporary-file-directory): Remove (already defined in C).
4956         * cus-start.el: Add temporary-file-directory.
4958         * abbrev.el (abbrev-mode):
4959         * composite.el (auto-composition-mode):
4960         * menu-bar.el (menu-bar-mode):
4961         * simple.el (transient-mark-mode):
4962         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4963         that they do not define the associated variables twice.
4964         * simple.el (transient-mark-mode): Remove defvar.
4965         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4966         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4967         Handle multiple groups, and also custom-delayed-init-variables.
4968         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4970 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4972         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4973         (pcase-if): Add one minor optimization.
4974         (pcase-split-equal): Rename from pcase-split-eq.
4975         (pcase-split-member): Rename from pcase-split-memq.
4976         (pcase-u1): Add strings to the member optimization.
4977         Add `guard' variant of predicates.
4978         (pcase-q1): Add string patterns.
4980 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4982         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4984 2010-10-28  Glenn Morris  <rgm@gnu.org>
4986         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4987         Move menu-bar related settings to ../menu-bar.el.
4988         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4989         Move ns-specific settings here from term/ns-win.el.
4991         * simple.el (x-selection-owner-p): Remove unused declaration.
4993 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4995         * minibuffer.el (completion-cycling): New var (bug#7266).
4996         (minibuffer-complete, completion--do-completion):
4997         Use completion--flush-all-sorted-completions.
4998         (minibuffer-complete): Only cycle if completion-cycling is set.
4999         (completion--flush-all-sorted-completions): Unset completion-cycling.
5000         (minibuffer-force-complete): Set completion-cycling.
5001         (completion-all-sorted-completions): Move declaration before first use.
5003 2010-10-28  Leo  <sdl.web@gmail.com>
5005         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5006         which changes the order of matches seen by users (bug#7231).
5008 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
5010         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5011         Don't confuse -omega as "-o mega".
5013 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5015         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5016         (log-edit-author): New dynamic var.
5017         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5018         to return the author if different from committer.
5019         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5021         * play/landmark.el: Adjust commenting convention.
5022         (lm-nil-score): Rename from nil-score.
5023         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5024         (OOOOscore): Move into a let in lm-score-trans-table.
5025         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5027         * electric.el (electric-indent-chars): Autoload.
5028         * progmodes/octave-mod.el (octave-mode):
5029         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5030         (ruby-mode-abbrev-table): Merge initialization and declaration.
5032 2010-10-27  Glenn Morris  <rgm@gnu.org>
5034         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5035         variable.
5037         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5039         * term/ns-win.el: Restore require of cl when compiling.
5040         (menu-bar-final-items): Remove non-existent `windows' menu.
5041         (ns-handle-nxopen): Optionally handle the temp-case.
5042         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5043         (ns-insert-file, ns-find-file): Use `pop'.
5045 2010-10-26  Glenn Morris  <rgm@gnu.org>
5047         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5049 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
5051         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5052         global map.
5053         * term/common-win.el (x-setup-function-keys): Remove most of the
5054         keymappings.  Comment on the remaining ones.
5056 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
5058         * server.el (server-port): New option.  (Bug#854)
5059         (server-start): Use server-port.
5061 2010-10-26  Glenn Morris  <rgm@gnu.org>
5063         * term/ns-win.el (ns-version-string): Remove unused declaration.
5064         (ns-invocation-args): Change to x-invocation-args.
5065         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5066         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5067         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5068         Use x-invocation-args instead of ns-invocation-args.
5069         (ns-initialize-window-system, handle-args-function-alist):
5070         Use x-handle-args instead of ns-handle-args.
5071         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5072         * startup.el (command-line-ns-option-alist): Replace
5073         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5074         ns-handle-iconic with the x- equivalents.
5076         * term/common-win.el (x-select-enable-clipboard):
5077         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5079         * term/ns-win.el: No need to require cl when compiling.
5080         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5081         (xw-defined-colors): Use the common-win definitions.
5082         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5083         (ns-handle-iconic): Make it an alias for x-handle-iconic.
5084         * term/common-win.el (x-select-text, x-alternatives-map)
5085         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5086         * loadup.el [ns]: Load common-win.
5088 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
5090         * epa-mail.el (epa-mail-encrypt): Handle local-part only
5091         recipients; expand mail aliases (Bug#7280).
5093 2010-10-25  Glenn Morris  <rgm@gnu.org>
5095         * term/common-win.el (x-handle-switch): Simplify with pop.
5096         Optionally handle numeric switches.
5097         (x-handle-numeric-switch): Just call x-handle-switch.
5098         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5099         (x-handle-name-switch, x-handle-display, x-handle-args):
5100         Simplify with pop.
5102         * term/ns-win.el: Do not require easymenu.
5103         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5104         <spell>: Move adjustments to menu-bar.el.
5105         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5106         <separator-undo, spell>: Move ns-win's adjustments here.
5107         * loadup.el [ns]: Do not load easymenu.
5109 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5111         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5112         Delete (Bug#7222).
5114         * startup.el (fancy-startup-tail): Instead of using inline images,
5115         refer to image files from etc/.
5117         * wid-edit.el (checkbox): Likewise.
5118         (widget-image-find): Center image specs.
5120 2010-10-24  Glenn Morris  <rgm@gnu.org>
5122         * term/ns-win.el (x-select-text): Doc fix.
5123         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5124         (x-select-text): Move to term/common-win.
5125         * term/w32-win.el (xw-defined-colors): Move to common-win.
5126         * term/x-win.el (xw-defined-colors, x-alternatives-map)
5127         (x-setup-function-keys, x-select-text): Move to common-win.
5128         * term/common-win.el (x-select-text, x-alternatives-map)
5129         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5130         definitions here.
5132 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
5134         * net/mairix.el (mairix-searches-mode-map):
5135         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5137 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
5139         * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5140         auto-built for efficiency of execution and updating.
5141         (verilog-extended-complete-re): Support 'pure' fucntion & task
5142         declarations (these have no bodies).
5143         (verilog-beg-of-statement): General cleanup to enable support of
5144         'pure' fucntion & task declarations (these have no bodies).
5145         These efforts together fix Verilog bug210 from veripool; which was also
5146         noticed by Steve Pearlmutter.
5147         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5148         (verilog-directive-nest-re, verilog-set-auto-endcomments):
5149         Support `elsif.  Reported by Shankar Giri.
5150         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5151         attribute handling for lining up declarations and assignments.
5152         (verilog-beg-of-statement-1): Fix issue where continued declaration
5153         is indented differently if it is after a begin..end clock.
5154         (verilog-in-attribute-p, verilog-skip-backward-comments)
5155         (verilog-skip-forward-comment-p): Support proper treatment of
5156         attributes by indent code.  Reported by Jeff Steele.
5157         (verilog-in-directive-p): Fix comment to correctly describe function.
5158         (verilog-backward-up-list, verilog-in-struct-region-p)
5159         (verilog-backward-token, verilog-in-struct-p)
5160         (verilog-in-coverage-p, verilog-do-indent)
5161         (verilog-pretty-declarations): Use verilog-backward-up-list as
5162         wrapper around backward-up-list inorder to properly skip comments.
5163         Reported by David Rogoff.
5164         (verilog-property-re, verilog-endcomment-reason-re)
5165         (verilog-beg-of-statement, verilog-set-auto-endcomments)
5166         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5167         of if).  Reported by Max Bjurling and
5168         (verilog-calc-1): Fix for clocking block in modport
5169         declaration.  Reported by Brian Hunter.
5171 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
5173         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5174         (verilog-gate-keywords, verilog-read-sub-decls)
5175         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5176         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5177         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
5178         (verilog-read-decls): Fix spaces in V2K module parameters causing
5179         mis-identification as interfaces, bug287.
5180         (verilog-read-decls): Fix not treating "parameter string" as a
5181         parameter in AUTOINSTPARAM.
5182         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5183         treating `elsif similar to `endif inside AUTOSENSE.
5184         (verilog-do-indent): Implement correct automatic or static task or
5185         function end comment highlight.  Reported by Steve Pearlmutter.
5186         (verilog-font-lock-keywords-2): Fix highlighting of single
5187         character pins, bug264.  Reported by Michael Laajanen.
5188         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5189         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5190         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5191         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
5192         (verilog-pretty-expr): Fix interactive arguments, bug272.
5193         Reported by Mark Johnson.
5194         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5195         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5196         bug269.  Suggested by Gary Delp.
5197         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5198         (verilog-preprocessor, verilog-set-compile-command):
5199         Create verilog-preprocess and verilog-preprocessor to show
5200         preprocessed output.
5201         (verilog-get-beg-of-line, verilog-get-end-of-line)
5202         (verilog-modi-file-or-buffer, verilog-modi-name)
5203         (verilog-modi-point, verilog-within-string): Move defmacro's
5204         before first use to avoid warning.  Reported by Steve Pearlmutter.
5205         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5206         (verilog-colorize-region, verilog-highlight-buffer)
5207         (verilog-highlight-includes, verilog-highlight-modules)
5208         (verilog-highlight-region, verilog-mode): Rename colorize to
5209         highlight to match other packages.  Disable module highlighting,
5210         as received speed complaints, reenable for experimentation only
5211         using new verilog-highlight-modules.
5212         (verilog-read-decls): Fix regexp stack overflow in very large
5213         AUTO_TEMPLATEs, bug250.
5214         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5215         (verilog-scan): Create verilog-save-buffer-state to standardize
5216         making insignificant changes that shouldn't call hooks.
5217         (verilog-save-no-change-functions, verilog-save-scan-cache)
5218         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5219         Create verilog-save-no-change-functions to wrap verilog-scan
5220         preservation, and fix to work with nested preserved calls.
5221         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5222         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5223         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
5224         (verilog-submit-bug-report): Update variable list to be complete.
5225         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5226         breaking on-the-fly font-locking.
5227         (verilog-colorize-buffer, verilog-colorize-include-files)
5228         (verilog-colorize-include-files-buffer, verilog-colorize-region)
5229         (verilog-load-file-at-mouse, verilog-load-file-at-point)
5230         (verilog-mode, verilog-read-inst-module-matcher): With point on a
5231         AUTOINST cell instance name, middle mouse button now finds-file on
5232         it.  Suggested by Brad Dobbie.
5233         (verilog-alw-get-temps, verilog-auto-reset)
5234         (verilog-auto-sense-sigs, verilog-read-always-signals)
5235         (verilog-read-always-signals-recurse): Fix loop indexes being
5236         AUTORESET.  AUTORESET now assumes any variables in the
5237         initialization section of a for() should be ignored.
5238         Reported by Dan Dever.
5239         (verilog-error-font-lock-keywords)
5240         (verilog-error-regexp-emacs-alist)
5241         (verilog-error-regexp-xemacs-alist): Fix error detection of
5242         Cadence HAL, reported by David Asher.  Repair drift between the
5243         three similar error variables.
5244         (verilog-modi-lookup, verilog-modi-lookup-cache)
5245         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5246         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5247         Fix slow verilog-auto expansion on very large files.
5248         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5249         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5250         "{1*2{...".  Broke in last revision.
5251         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5252         submodule connections with replications "{#{a},#{b}}".
5254 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
5256         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5257         Fix typo in docstring.
5259 2010-10-24  Kenichi Handa  <handa@m17n.org>
5261         * face-remap.el (text-scale-adjust): Call read-event with a proper
5262         prompt.
5264 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5266         * emacs-lisp/unsafep.el: Don't mark functions that display
5267         messages as safe.  Suggested by Johan Bockgård.
5269 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5271         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5272         Turn comments into docstrings.
5274         * minibuffer.el (completion--replace): Move point where it belongs
5275         when there's a common suffix (bug#7215).
5277 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5279         Merge read-color and facemenu-read-color (Bug#7242).
5281         * faces.el (read-color): Use the completion code from
5282         facemenu-read-color.  Require match in completion.  Doc fix.
5284         * facemenu.el (facemenu-read-color): Alias for read-color.
5285         (facemenu-set-foreground, facemenu-set-background):
5286         Use read-color.
5288         * frame.el (set-background-color, set-foreground-color)
5289         (set-cursor-color, set-mouse-color, set-border-color):
5290         Use read-color.
5292 2010-10-24  Leo  <sdl.web@gmail.com>
5294         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5295         argument of delete-file and delete-directory (Bug#7011).
5297 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5299         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5300         button-buffer-map.
5302 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
5304         * emacs-lisp/package.el (package--generate-package-list): Make the
5305         *Packages* buffer read-only.
5307 2010-10-24  Alan Mackenzie  <acm@muc.de>
5309         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5310         result of `c-beginning-of-decl-1' between invocations of a lambda
5311         function (Bug #7265).
5313 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
5315         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5316         executable is not available on the system (Bug#7268).
5318 2010-10-24  Glenn Morris  <rgm@gnu.org>
5320         * select.el (selection-coding-system, next-selection-coding-system):
5321         Sync doc with C versions.
5323         * w32-vars.el (x-select-enable-clipboard):
5324         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5325         * term/common-win.el (x-select-enable-clipboard): Move here.
5327         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5328         definition of C variable.
5330         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5331         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5332         Don't redefine things that are defined in C.
5333         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5334         (show-trailing-whitespace, auto-hscroll-mode)
5335         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5336         Set up the appropriate custom properties.
5338 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5340         Bind "C-c ]" to ...
5341         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5342         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5343         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5344         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5346 2010-10-23  Glenn Morris  <rgm@gnu.org>
5348         * textmodes/flyspell.el (flyspell-mode): If there was an error,
5349         say what it was.
5351         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5352         Sync docs with C version.
5354         * term/ns-win.el (xw-defined-colors):
5355         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5357         * term/pc-win.el (x-select-enable-clipboard):
5358         * term/x-win.el (x-select-enable-clipboard):
5359         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5361         * comint.el (comint-password-prompt-regexp): Make it less vague.
5362         Bump version.
5364         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5366         * help.el (finder-by-keyword): Remove unnecessary autoload.
5368 2010-10-22  Glenn Morris  <rgm@gnu.org>
5370         * loadup.el: Unconditionally load float-sup.
5371         * paren.el (show-paren-delay):
5372         * emacs-lisp/float-sup.el:
5373         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5374         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5375         (lazy-lock-stealth-verbose): Assume float support.
5376         * ps-print.el: Assume float support on Emacs.
5377         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5378         Remove non-float branch.
5380         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5381         src/Makefile no longer being pre-processed.
5383 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5385         * emacs-lisp/find-func.el (find-library): Use test-completion.
5387 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5389         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5391 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
5393         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5394         space in stat format string.
5395         (tramp-send-command): Unset $PS1 when using here documents, in
5396         order not to get several prompts.
5397         (tramp-get-inline-coding): Return `nil' in case of errors.
5399 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
5401         * hexl.el (hexl-mode, hexl-mode-exit):
5402         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5403         (hexl-revert-buffer-function): New function.
5404         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5406 2010-10-19  Alan Mackenzie  <acm@muc.de>
5408         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5409         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5410         that these keywords aren't wrongly matched as identifiers.
5412         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5413         setting of c-new-BEG and c-new-END from c-before-change to
5414         c-after-change.  (Bug#7181)
5416 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5418         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5419         Don't mark as safe.
5421         * custom.el (custom-theme-set-variables): Likewise.
5422         (load-theme): Add custom-theme-set-faces and
5423         custom-theme-set-variables to safe-functions while loading.
5424         (custom-enabled-themes): Mark as risky.
5426 2010-10-18  Julien Danjou  <julien@danjou.info>
5428         * bindings.el: Remove end dashes in default mode-line-format.
5430 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5432         * bindings.el (global-map): Bind C-d to delete-char and deletechar
5433         to delete-forward-char.
5435         * simple.el (normal-erase-is-backspace-mode): Remap delete to
5436         deletechar, and hence delete-forward-char.
5438 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5440         * repeat.el (repeat): Use read-key (bug#6256).
5442 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5444         * emacs-lisp/unsafep.el: Don't mark functions that display
5445         messages as safe.  Suggested by Johan Bockgård.
5447 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5449         * minibuffer.el (completion--replace): Move point where it belongs
5450         when there's a common suffix (bug#7215).
5452 2010-10-19  Kenichi Handa  <handa@m17n.org>
5454         * international/characters.el: Add category '|' (word breakable)
5455         to fullwidth characters.
5457 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
5459         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5460         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5461         order to make stat results a float.  Patch by Andreas Schwab
5462         <schwab@linux-m68k.org>.
5464 2010-10-18  Julien Danjou  <julien@danjou.info>
5466         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5467         hidden by `make-pointer-invisible'.
5469 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5471         * files.el (locate-file-completion-table): Strip non-matching elements
5472         before checking length of list (bug#7238).
5474 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
5476         * custom.el (custom-theme-set-variables): Mark as a safe function.
5477         (load-theme): Check forms using unsafep.
5479         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5481 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
5483         * textmodes/ispell.el (ispell-aspell-find-dictionary):
5484         Fix aspell data file searching (bug#7230).
5486 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5488         * cus-theme.el (custom-theme--migrate-settings): New var.
5489         (customize-create-theme): Allow editing the `user' theme.
5490         (custom-theme-add-variable, custom-theme-add-var-1)
5491         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5492         to the front of each variable or face widget.
5493         (custom-theme-write): Save theme settings in the correct order.
5494         Optionally, remove saved settings from user customizations.
5495         (custom-theme-write-variables, custom-theme-write-faces):
5496         Save only the checked widgets.
5497         (customize-themes): Add a link for migrating custom settings.
5499         * custom.el (custom-declare-theme, provide-theme):
5500         Use custom-theme-name-valid-p.
5501         (custom-theme-name-valid-p): Remove checks that are now
5502         unnecessary since themes no longer obey load-path.
5504         * cus-edit.el (custom-variable-value-create): For the simple
5505         style, hide documentation string when hidden.
5507 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5509         * cus-edit.el (custom-variable, custom-face): Combine the
5510         :inhibit-magic and :display-style properties into a single
5511         :custom-style property.
5512         (custom-toggle-hide-variable, custom-toggle-hide-face):
5513         New functions.  If hiding an edited value, save it to :shown-value.
5514         (custom-variable-value-create, custom-face-value-create): Use them.
5515         (custom-magic-reset): Allow magic property to be unset.
5517         * custom.el: Custom themes no longer use load-path.
5518         (custom-theme-load-path): New option.  Change built-in theme
5519         directory to etc/.
5520         (custom-enabled-themes): Add custom-theme-load-path dependency.
5521         (custom-theme--load-path): New function.
5522         (load-theme, custom-available-themes): Use it.
5524         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5525         (customize-themes): Link to custom-theme-load-path variable.
5526         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5527         :custom-style property.
5529         * themes/*.el: Moved to etc/.
5531 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
5533         * textmodes/reftex-cite.el
5534         (reftex-extract-bib-entries-from-thebibliography): Do not move
5535         point when searching for \bibitem entries.  Match entries with
5536         spaces or tabs in front of arguments.
5538 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5540         * cus-theme.el (customize-create-theme): Delete overlays after
5541         erasing.  If given a THEME arg, display only the faces of that arg
5542         instead of custom-theme--listed-faces.
5543         (custom-theme-variable-menu, custom-theme-variable-action)
5544         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5545         (custom-theme-add-variable, custom-theme-add-face): Apply value
5546         from the theme settings, instead of the current value.
5547         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5548         (custom-theme-visit-theme): Allow calling outside theme buffers.
5549         (custom-theme-merge-theme): Don't enable the theme when merging.
5550         (custom-theme-write-variables, custom-theme-write-faces): Use the
5551         :shown-value properties to save buffer values, not global ones.
5552         (customize-themes): Display a warning about user customizations.
5554         * cus-edit.el (custom-variable-value-create)
5555         (custom-face-value-create): Obey new special properties
5556         :shown-value and :inhibit-magic.
5558 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
5560         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5561         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
5562         <dale@codefu.org>.
5564 2010-10-14  Kenichi Handa  <handa@m17n.org>
5566         * mail/rmail.el (rmail-show-message-1): Catch an error of
5567         base64-decode-region and just show an error message (bug#7165).
5569         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
5570         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5571         a font-spec (bug#7197).
5573 2010-10-14  Glenn Morris  <rgm@gnu.org>
5575         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5577 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
5579         * international/mule.el (define-coding-system):
5580         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5581         * composite.el (compose-region): Fix typo in docstring.
5583 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
5585         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5586         only after checking the theme-face property.
5588         * faces.el (face-spec-reset-face): Reset all attributes in one
5589         single call to set-face-attribute.
5590         (face-spec-match-p): Make it a defsubst.
5591         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5592         (x-create-frame-with-faces, tty-create-frame-with-faces)
5593         (tty-set-up-initial-frame-faces): Don't recompute face specs in
5594         frame-set-background-mode, since they are recomputed immediately
5595         afterwards in face-set-after-frame-default.
5596         (face-set-after-frame-default): Minor optimization.
5597         (cursor): Provide non-trivial defface spec.
5599         * custom.el (custom-theme-recalc-face): Simplify.
5601 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
5603         * calc/calc-alg.el (math-var): Rename from `var'.
5604         (math-is-polynomial, math-is-poly-rec): Replace `var'
5605         with `math-var'.
5607         * calc/calcalg2.el (math-var): Rename from `var'.
5608         (calcFunc-table, math-scan-for-limits): Replace `var'
5609         with `math-var'.
5611 2010-10-13  Glenn Morris  <rgm@gnu.org>
5613         * subr.el (last): Deal with dotted lists (reported in bug#7174).
5615 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
5617         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5619 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5621         * net/tls.el (tls-program): Remove spurious %s from openssl.
5622         (tls-starttls-switches): Remove starttls hack.
5623         (open-tls-stream): Ditto.
5624         (tls-find-starttls-argument): Ditto.
5626 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
5628         * image.el (image-library-alist): Declare as obsolete alias.
5629         (image-type-available-p): Use `dynamic-library-alist'.
5631         * term/w32-win.el (dynamic-library-alist):
5632         Use instead of `image-library-alist'.
5634 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
5636         * subr.el (last): Make it faster.  (Bug#7174)
5638 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
5640         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
5642 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5644         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5645         (describe-theme-1): Extract doc from unloaded themes.
5647         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5649         * themes/tango-theme.el:
5650         * themes/tango-dark-theme.el:
5651         * themes/wheatgrass-theme.el: New files.
5653 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5655         * cus-theme.el (describe-theme, customize-themes)
5656         (custom-theme-save): New commands.
5657         (custom-new-theme-mode-map): Bind C-x C-s.
5658         (custom-new-theme-mode): Use custom--initialize-widget-variables.
5659         (customize-create-theme): New optional arg THEME.
5660         (custom-theme-revert): Use it.
5661         (custom-theme-visit-theme): Remove dead code.
5662         (custom-theme-merge-theme): Use custom-available-themes.
5663         (custom-theme-write): Make interactive.
5664         (custom-theme-write): Use custom-theme-name-valid-p.
5665         (describe-theme-1, custom-theme-choose-revert)
5666         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5667         New funs.
5668         (custom-theme-allow-multiple-selections): New option.
5669         (custom-theme-choose-mode): New major mode.
5671         * custom.el (custom-theme-set-variables): Remove dead code.
5672         Obey custom--inhibit-theme-enable.
5673         (custom--inhibit-theme-enable): New var.
5674         (provide-theme): Obey it.
5675         (load-theme): Replace load with manual read/eval, in order to
5676         check for correctness.  Use custom-theme-name-valid-p.
5677         (custom-theme-name-valid-p): New function.
5678         (custom-available-themes): Use it.
5680         * cus-edit.el (custom--initialize-widget-variables): New function.
5681         (Custom-mode): Use it.
5683         * cus-face.el (custom-theme-set-faces): Remove dead code.
5684         Obey custom--inhibit-theme-enable.
5686         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5688 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
5690         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5692 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
5694         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5695         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5696         (mac-right-option-modifier): New alias for ns-right-option-modifier.
5698         * cus-start.el (all): ns-right-alternate-modifier is new.
5700 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5702         * emacs-lisp/lisp.el (lisp-completion-at-point):
5703         Use emacs-lisp-mode-syntax-table for the whole function.
5705 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
5707         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5708         instead of font-lock-mode before adding keywords.
5709         Remove hi-lock-mode off code.  Remove inhibit hack.
5710         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5711         non-nil; removed hook inhibit hack.
5713 2010-10-12  Glenn Morris  <rgm@gnu.org>
5715         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5716         (load-path-shadows-find): ... to this.
5717         (list-load-path-shadows): Update for above change.
5719         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5721 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
5723         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5724         Fix comment for declare-function.
5726 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
5728         * custom.el (custom-fix-face-spec): New function; code moved from
5729         custom-face-edit-fix-value.
5730         (custom-push-theme): Use it when checking if a face has been
5731         changed outside customize.
5732         (custom-available-themes): New function.
5733         (load-theme): Use it.
5735         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5737         * custom.el (custom-push-theme): Cleanup (use cond).
5738         (disable-theme): Recompute the saved-face property.
5739         (custom-theme-recalc-face): Follow face alias before setting prop.
5741         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5742         New variables, containing checkbox images.
5744         * startup.el (fancy-startup-tail):
5745         * wid-edit.el (checkbox): Use them.
5747 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
5749         * shell.el (shell-mode-map):
5750         * progmodes/modula2.el (m2-mode-map):
5751         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5752         * play/mpuz.el (mpuz-mode-map):
5753         * play/landmark.el (lm-mode-map):
5754         * play/decipher.el (decipher-mode-map):
5755         * play/5x5.el (5x5-mode-map):
5756         * net/telnet.el (telnet-mode-map):
5757         * net/quickurl.el (quickurl-list-mode-map):
5758         * net/mairix.el (mairix-searches-mode-map):
5759         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5760         * net/dig.el (dig-mode-map):
5761         * mail/mspools.el (mspools-mode-map):
5762         * hexl.el (hexl-mode-map):
5763         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5764         (wordstar-C-o-map, wordstar-C-q-map):
5765         * emacs-lisp/edebug.el (edebug-eval-mode-map):
5766         * emacs-lisp/chart.el (chart-map):
5767         * edmacro.el (edmacro-mode-map):
5768         * erc/erc-list.el (erc-list-menu-mode-map):
5769         * array.el (array-mode-map): Declare and define in one step.
5771         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5773 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
5775         * epa.el (epa-passphrase-callback-function): Display filename
5776         passed as the 3rd arg.
5777         * epa-file.el (epa-file-passphrase-callback-function):
5778         Pass filename to epa-passphrase-callback-function.
5780 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
5782         * cus-edit.el (custom-face-widget-to-spec)
5783         (custom-face-get-current-spec, custom-face-state): New functions.
5784         (custom-face-set, custom-face-mark-to-save)
5785         (custom-face-value-create, custom-face-state-set): Use them.
5787         * cus-theme.el (custom-theme--listed-faces): New var.
5788         (customize-create-theme): Use *Custom Theme* as the buffer name.
5789         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
5790         faces listed in custom-theme--listed-faces.
5791         (custom-theme-revert): New function.
5792         (custom-theme-add-variable, custom-theme-add-face): Insert at the
5793         bottom of the list.
5794         (custom-theme-write): Prompt for theme name if empty.
5795         (custom-theme-write-variables): Use dolist.
5796         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5798 2010-10-09  Alan Mackenzie  <acm@muc.de>
5800         Enhance fontification of declarators to take account of the
5801         presence/absence of "typedef".
5803         * cc-engine.el (c-forward-type): New &optional param
5804         "brace-block-too".
5805         (c-forward-decl-or-cast-1): cdr of return value now indicates the
5806         presence of either or both of a "struct"-like keyword and "typedef".
5808         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5809         fontification of declarators which follow a "}".
5810         (c-font-lock-declarations): Fontify declarators according to the
5811         presence/absence of "typedef".
5813         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5814         for "typedef".
5815         (c-typedef-decl-key): New lang variable built from
5816         c-typedef-decl-kwds.
5818 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5820         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5821         since that's too annoying.  Move the filter groups commands to
5822         TAB/backtab.
5824         * epa.el (epa-passphrase-callback-function): Say what we're
5825         querying the password for.
5827         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5828         behaviour, don't bury the ibuffer buffer when visiting other buffers.
5830 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5832         * cus-edit.el (custom-commands, custom-buffer-create-internal)
5833         (custom-magic-value-create): Pad button tags with spaces.
5834         (custom-face-edit): New variable.
5835         (custom-face-value-create): Determine whether to use the usual
5836         face editor here, instead of using custom-face-selected.
5837         Pass face defaults to custom-face-edit widget.
5838         (custom-face-selected, custom-display-unselected): Delete widgets.
5839         (custom-display-unselected-match): Function removed.
5840         (custom-face-set, custom-face-mark-to-save):
5841         Accept custom-face-edit widgets as the direct widget child.
5843         * wid-edit.el (widget--completing-widget): New var.
5844         (widget-default-complete): Bind it when doing completion.
5845         (widget-string-complete, widget-file-complete): Use it.
5847 2010-10-09  Glenn Morris  <rgm@gnu.org>
5849         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5850         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5851         (holiday-hebrew-misc): Small simplifications.
5853         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5855         * net/browse-url.el: Don't require thingatpt, term, dired,
5856         executable, or w3-auto when compiling.
5857         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5858         Declare.
5859         (browse-url-text-emacs): Require term.
5861 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
5863         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5865 2010-10-08  Glenn Morris  <rgm@gnu.org>
5867         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5869         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5870         (shadows-compare-text-p): Make it an obsolete alias for...
5871         (load-path-shadows-compare-text): ... new name.
5872         (find-emacs-lisp-shadows): Update for above name change.
5873         (load-path-shadows-same-file-or-nonexistent): New name for the old
5874         shadow-same-file-or-nonexistent.
5876 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5878         * minibuffer.el (completion--some, completion--do-completion)
5879         (minibuffer-complete-and-exit, minibuffer-completion-help)
5880         (completion-basic-try-completion)
5881         (completion-basic-all-completions)
5882         (completion-pcm--find-all-completions): Use lexical-let to
5883         avoid some false matches in variable completion (Bug#7056)
5885 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
5887         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
5889 2010-10-08  Leo  <sdl.web@gmail.com>
5891         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5892         return non-nil if the file exists (Bug#7090).
5894 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5896         * minibuffer.el (completion--replace):
5897         Better preserve markers (bug#7138).
5899 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
5901         * server.el (server-process-filter): Doc fix.
5903 2010-10-08  Drew Adams  <drew.adams@oracle.com>
5905         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
5907 2010-10-08  Glenn Morris  <rgm@gnu.org>
5909         * vc/ediff-wind.el (ediff-setup-control-frame):
5910         * vc/ediff-ptch.el (ediff-default-backup-extension):
5911         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5912         (ediff-exec-process): Remove system-types emx, windows-95.
5914         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
5916 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
5918         * cus-edit.el (custom-variable, custom-face): Doc fix.
5919         (custom-face-edit): Add value-create attribute.
5920         (custom-face-edit-value-create)
5921         (custom-face-edit-value-visibility-action): New functions.
5922         Hide unused face attributes by default, and add a visibility toggle.
5923         (custom-face-edit-deactivate): Show empty values with shadow face.
5924         (custom-face-selected): Only use this for face specs with default
5925         attributes.
5926         (custom-face-value-create): Cleanup.
5928         * wid-edit.el (widget-checklist-value-create): Use dolist.
5929         (widget-checklist-match-find): Make second arg optional.
5931 2010-10-07  Glenn Morris  <rgm@gnu.org>
5933         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5934         Prefix things.
5936         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5937         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5938         load-path-shadows-mode, update references.
5939         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5940         Rename variable and button.
5941         (list-load-path-shadows): Update button caller.
5943 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5945         * emacs-lisp/smie.el (smie-bnf-classify): New function.
5946         (smie-bnf-precedence-table): Use it to remember the closers/openers.
5947         (smie-merge-prec2s): Handle those new entries.
5948         (smie-prec2-levels): Only set precedence to nil for actual
5949         openers/closers.
5950         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5951         that is now unnecessary.
5953 2010-10-07  Miles Bader  <miles@gnu.org>
5955         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5957 2010-10-07  Glenn Morris  <rgm@gnu.org>
5959         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5960         (mail-position-on-field): Remove declarations.
5961         (mail-position-on-field): Autoload it.
5962         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5963         and mail-header-end.  Don't require sendmail.
5965         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5966         (shadow-mode): New mode.
5967         (shadow-find-file): New button.
5968         (list-load-path-shadows): Use shadow-mode and buttons.
5970         * iimage.el (iimage-version): Remove.
5971         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5972         Turn into defcustoms.
5973         (iimage-mode-map): Give it a doc string.
5975         * calendar/appt.el (appt-activate): Give a warning rather than an error
5976         if there is no diary-file.
5978 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
5980         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5981         Use `tramp-handle-find-backup-file-name'.
5983 2010-10-06  Glenn Morris  <rgm@gnu.org>
5985         * font-core.el (font-lock-defaults-alist): Remove variable.
5986         (font-lock-mode): Doc fix.
5987         (font-lock-default-function): Do not consult font-lock-defaults-alist.
5988         * font-lock.el (font-lock-refresh-defaults): Doc fix.
5989         (font-lock-set-defaults): Doc fix.
5990         Do not consult font-lock-defaults-alist.
5992         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5994         * emacs-lisp/cl.el: No longer provide cl-19.
5996 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
5998         * net/tramp.el (tramp-handle-directory-files-and-attributes)
5999         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6000         New defuns, taken from tramp-smb.el.
6001         (tramp-coding-system-change-eol-conversion)
6002         (tramp-set-process-query-on-exit-flag): Remove.
6004         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6005         (tramp-compat-coding-system-change-eol-conversion)
6006         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6007         from tramp.el.
6009         * net/tramp-gvfs.el:
6010         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6011         by `tramp-compat-set-process-query-on-exit-flag'.
6013         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6014         Use `tramp-handle-directory-files-and-attributes',
6015         `tramp-handle-file-exists-p' and
6016         `tramp-handle-file-newer-than-file-p'.
6017         (tramp-imap-handle-file-exists-p)
6018         (tramp-imap-handle-file-executable-p)
6019         (tramp-imap-handle-file-readable-p)
6020         (tramp-imap-handle-directory-files-and-attributes)
6021         (tramp-imap-handle-file-newer-than-file-p): Remove.
6023         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6024         by `tramp-compat-set-process-query-on-exit-flag' and
6025         `tramp-coding-system-change-eol-conversion' by
6026         `tramp-compat-coding-system-change-eol-conversion'.
6028         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6029         Use `tramp-handle-directory-files-and-attributes',
6030         `tramp-handle-file-exists-p' and
6031         `tramp-handle-file-newer-than-file-p'.
6032         (tramp-smb-handle-directory-files-and-attributes)
6033         (tramp-smb-handle-file-exists-p)
6034         (tramp-smb-handle-file-newer-than-file-p): Remove.
6035         (tramp-smb-maybe-open-connection):
6036         Replace `tramp-set-process-query-on-exit-flag' by
6037         `tramp-compat-set-process-query-on-exit-flag'.
6039 2010-10-05  Glenn Morris  <rgm@gnu.org>
6041         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6043 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
6045         Continue reorganization of load dependencies.  (Bug#7156)
6047         * net/tramp.el (tramp-handle-file-local-copy-hook)
6048         (tramp-delete-temp-file-function): Move down.
6049         (tramp-exists-file-name-handler): Move up.
6050         (tramp-register-file-name-handlers): Simplify autoload.
6051         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6052         (tramp-handle-directory-files, tramp-handle-dired-uncache)
6053         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6054         (tramp-handle-file-name-completion)
6055         (tramp-handle-file-name-directory)
6056         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6057         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6058         (tramp-handle-find-backup-file-name)
6059         (tramp-handle-insert-file-contents, tramp-handle-load)
6060         (tramp-handle-substitute-in-file-name)
6061         (tramp-handle-unhandled-file-name-directory)
6062         (tramp-mode-string-to-int, tramp-local-host-p)
6063         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6065         * net/tramp-gvfs.el (top):
6066         * net/tramp-smb.el (top): Do not require 'tramp-sh.
6068         * net/tramp-sh.el (all): Move several objects to tramp.el, see
6069         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6071 2010-10-04  Glenn Morris  <rgm@gnu.org>
6073         * calendar/appt.el (appt-add): Ensure reminders are enabled.
6074         (appt-activate): Give status messages.
6076 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6078         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
6079         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6080         `gnutls-negotiate' (formerly `starttls-negotiate').
6081         Remove trivial wrapper `starttls-open-stream'.
6083 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
6085         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6086         log-outgoing commands.
6087         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6088         to create a buffer local revert-buffer-function variable.
6089         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6090         revert-buffer-function lambda.
6092 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6094         * net/gnutls.el (starttls-negotiate): Use the plist interface to
6095         `gnutls-boot'.  Make TYPE the only required parameter.
6096         Allow TRUSTFILES and KEYFILES to be lists.
6097         (open-ssl-stream): Use it.
6099 2010-10-03  Glenn Morris  <rgm@gnu.org>
6101         * subr.el (directory-sep-char): Remove obsolete variable.
6102         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6103         it is "necessary".
6105         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6106         * vc/vc.el (vc-static-header-alist): Doc fix.
6107         * vc/vc-cvs.el (vc-cvs-header):
6108         * vc/vc-rcs.el (vc-rcs-header):
6109         * vc/vc-sccs.el (vc-sccs-header):
6110         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6111         * obsolete/vc-mcvs.el (vc-mcvs-header):
6112         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6113         on XEmacs.
6115 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6117         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6118         Remove obsolete use of binary-overwrite-mode (Bug#7001).
6120 2010-10-03  Glenn Morris  <rgm@gnu.org>
6122         * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6124         * textmodes/rst.el (rst-font-lock-keywords-function):
6125         Drop Emacs 20 code.
6127         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6129         * printing.el: Drop Emacs 20 code.
6131         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6132         without having used appt.el already).
6134         * subr.el (make-local-hook): Remove function obsolete since 21.1.
6135         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6136         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6137         XEmacs.
6138         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6139         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6141         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6142         (charset-width, find-charset-region, chars-in-region, forward-point)
6143         (encode-coding-string, coding-system-p, ccl-execute-on-string)
6144         (define-ccl-program, multibyte-string-p, string-make-multibyte):
6145         Remove compatibility cruft (none of these are used by ps*.el).
6147 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
6149         * subr.el (booleanp): Return t instead of a list (Bug#7086).
6151 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6153         * server.el (server-process-filter, server-return-error):
6154         Give emacsclient time to shut down after receiving an error string.
6156 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
6158         * files.el (remote-file-name-inhibit-cache): New defcustom.
6160         * time.el (display-time-file-nonempty-p):
6161         Use `remote-file-name-inhibit-cache'.
6163         * net/tramp.el (tramp-completion-reread-directory-timeout):
6164         Fix docstring.
6166         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6167         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6168         `remote-file-name-inhibit-cache'.  Check also for an integer
6169         value.  Add/increase counter when `tramp-verbose' >= 10.
6170         (tramp-set-file-property): Add/increase counter when
6171         `tramp-verbose' >= 10.
6173         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6174         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6175         (tramp-bug): Set tramp-autoload cookie.  Report all interned
6176         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
6177         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
6178         characters only in strings.
6180         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6181         to backward compatibility.
6183         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6184         (tramp-handle-file-name-all-completions)
6185         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6186         (tramp-open-connection-setup-interactive-shell):
6187         Call `tramp-cleanup-connection' directly.
6189 2010-10-02  Glenn Morris  <rgm@gnu.org>
6191         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6193         * subr.el (char-bytes): Remove obsolete function.
6195         * isearch.el (isearch-return-char): Remove obsolete function.
6197         * mouse.el: No longer provide mldrag.
6198         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6199         Remove obsolete aliases.
6201         * comint.el (comint-kill-output): Remove obsolete alias.
6203         * composite.el (decompose-composite-char): Remove obsolete function.
6204         * ps-def.el (decompose-composite-char): Remove unused function.
6206         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6208         * outline.el (outline-visible): Remove obsolete function.
6210         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6211         * faces.el (internal-find-face, internal-get-face)
6212         (frame-update-faces, frame-update-face-colors)
6213         (x-frob-font-weight, x-frob-font-slant)
6214         (internal-frob-font-weight, internal-frob-font-slant)
6215         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6216         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6217         (x-make-font-bold-italic): Remove functions and aliases, obsolete
6218         since Emacs 21.1.
6219         * emulation/viper-util.el (viper-get-face):
6220         * obsolete/lucid.el (find-face, get-face): Use facep.
6221         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6222         Remove unused functions.
6223         * vc/ediff-util.el (ediff-submit-report): Doc fix.
6225         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6226         delete tempfile if interrupted during compilation.
6228 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6230         * net/tls.el (tls-starttls-switches): Give up on using starttls with
6231         gnutls-cli.
6232         (tls-program): Add --insecure to be consistent with the defaults from
6233         openssl s_client.  Now all three commands are insecure.
6235 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
6237         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6238         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6239         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6241 2010-10-01  Glenn Morris  <rgm@gnu.org>
6243         * obsolete/sc.el: Remove file.
6245         * files.el (temporary-file-directory): On darwin, also try
6246         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6248 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
6250         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6251         Let's not break compatibility gratuitously, shall we?
6253 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6255         * net/tls.el (tls-starttls-switches): New variable.
6256         (tls-find-starttls-argument): Use it.
6257         (open-tls-stream): Ditto.
6259         * net/netrc.el (netrc-credentials): Return the value of the "default"
6260         entry.
6261         (netrc-machine): Ditto.
6263 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
6265         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6267 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
6269         * server.el (server-start): Don't write pid to the authentication file.
6270         (server-create-tty-frame): Don't send pid.
6271         (server-process-filter): Send pid at the start of every connection.
6273 2010-09-30  Glenn Morris  <rgm@gnu.org>
6275         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6276         (show-all-diary-entries): Remove obsolete function aliases.
6278         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6279         Remove options, obsolete since 22.1.
6280         (appt-display-format, appt-display-message):
6281         Remove backwards-compatibility code.
6282         (appt-check): No longer check appt-issue-message.
6283         (appt-make-list): No longer autoload it.  Doc fix.  No longer
6284         activate the package.
6286 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6288         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6289         (starttls-negotiate): Just call boot, and let the handshake be
6290         triggered from the read loop.
6292 2010-09-29  Glenn Morris  <rgm@gnu.org>
6294         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6295         not displaying the diary.
6296         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6297         * calendar/appt.el (appt-check): No longer need to kill diary.
6299         * calendar/diary-lib.el (diary-list-entries): Move the
6300         "Preparing..." message entirely here.
6301         (diary-simple-display, diary-fancy-display): Move "Preparing..."
6302         messages to diary-list-entries.
6303         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6304         diary-display-function.
6306         * calendar/diary-lib.el (diary-include-other-diary-files):
6307         Trap some recursive includes.
6309         * calendar/appt.el (appt-activate): Check diary file.
6311 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
6313         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6314         construction.
6316         * calendar/time-date.el: No need to require cl for Emacs 21.
6318 2010-09-28  Glenn Morris  <rgm@gnu.org>
6320         * calendar/appt.el (appt-check): Minor simplification.
6322 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
6324         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6325         citation prefix.
6327 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
6329         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6330         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
6332 2010-09-27  Kenichi Handa  <handa@m17n.org>
6334         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6335         "ustar" format.
6337 2010-09-27  Kenichi Handa  <handa@m17n.org>
6339         * international/mule.el (define-coding-system): Docstring fixed.
6341         * international/mule-diag.el (describe-character-set): Use princ
6342         with proper print-length and print-level instead of insert.
6344 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
6346         * window.el (walk-windows): Doc fix (bug#7105).
6348 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6350         * emacs-lisp/float-sup.el (e): Remove.
6352 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
6354         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6355         variable.
6356         (starttls-negotiate): Use it.
6358 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6360         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6361         back.
6363 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6365         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6367 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6369         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6371         * net/netrc.el (netrc-store-data): New function.
6373 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
6375         * net/gnutls.el: GnuTLS glue code to set up a connection.
6377 2010-09-25  Julien Danjou  <julien@danjou.info>
6379         * notifications.el: Call dbus-register-signal only if it is bound.
6381 2010-09-25  Glenn Morris  <rgm@gnu.org>
6383         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6384         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6385         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6386         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6387         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6388         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6389         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6390         * eshell/esh-util.el, eshell/esh-var.el:
6391         Remove leading `*' from docs of faces and defcustoms.
6393 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
6395         * eshell/em-ls.el (eshell-ls-archive-regexp):
6396         * eshell/esh-util.el (eshell-tar-regexp):
6397         * ibuffer.el (ibuffer-compressed-file-name-regexp):
6398         * info.el (Info-suffix-list):
6399         * international/mule.el (auto-coding-alist):
6400         * woman.el (woman-file-regexp, woman-file-compression-regexp):
6401         * progmodes/etags.el (tags-compression-info-list):
6402         Support xz compression.
6404 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
6406         * files.el (get-free-disk-space): Don't assume the "df" output
6407         columns line up (Bug#6995).
6409 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6411         * finder.el (finder-unknown-keywords):
6412         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6413         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6415 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6417         * server.el (server-start): Revert part of 2010-08-08 change.  Using
6418         address 127.0.0.1 for local host is now done in Fmake_network_process.
6420 2010-09-24  Glenn Morris  <rgm@gnu.org>
6422         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6423         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6424         * textmodes/css-mode.el, textmodes/dns-mode.el:
6425         Move autoloaded auto-mode-alist entries to files.el.
6426         * files.el (auto-mode-alist): Move entries here.
6428 2010-09-23  Glenn Morris  <rgm@gnu.org>
6430         * isearch.el (isearch-lazy-highlight-cleanup)
6431         (isearch-lazy-highlight-initial-delay)
6432         (isearch-lazy-highlight-interval)
6433         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6434         * net/net-utils.el (ipconfig-program-options):
6435         Move aliases to options before the associated definitions.
6437 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6439         * newcomment.el (comment-normalize-vars): Better test validity of
6440         comment-end-skip.
6442 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6444         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6445         (float-e): New name for `e'.
6446         (degrees-to-radians, radians-to-degrees):
6447         * calendar/solar.el (solar-longitude):
6448         * calculator.el (calculator-registers, calculator-funcall):
6449         * textmodes/artist.el (artist-spray-random-points):
6450         * play/bubbles.el (bubbles--initialize-images): Use new names.
6452 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
6454         Update to CEDET 1.0's version of EIEIO.
6456         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6457         New function.
6458         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6459         (eieio-default-eval-maybe): Eval val instead of unquoting only.
6460         (class-precedence-list): If class is nil, return nil.
6461         (eieio-generic-call): If class of first input arg is nil, don't
6462         look up static methods, and do check for primary methods.
6463         (initialize-instance): See if the default needs to be evaluated
6464         during the constructor.
6465         (eieio-perform-slot-validation-for-default): Don't do the check
6466         for values that will eventually be evaluated.
6467         (eieio-eval-default-p): New function.
6468         (eieio-default-eval-maybe): Use it.
6470 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6472         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6473         method-invocation-order.
6474         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6475         (eieio-class-precedence-dfs): Compute class precedence list using
6476         dfs algorithm.
6477         (eieio-class-precedence-bfs): Compute class precedence list using
6478         bfs algorithm.
6479         (eieio-class-precedence-c3): Compute class precedence list using
6480         c3 algorithm.
6481         (class-precedence-list): New function.
6482         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6483         (inconsistent-class-hierarchy): New error symbol.
6484         (call-next-method): Stow the replacement argument list for future
6485         call-next-method invocations.
6487 2010-09-23  Glenn Morris  <rgm@gnu.org>
6489         * calendar/appt.el (appt-check): If not displaying the diary,
6490         use (diary 1) to only get the entries we need.
6491         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6492         that it is in day order.  (Bug#7019)
6494         * calendar/appt.el (appt-check): Rather than showing the diary,
6495         just turn off invisible display, and only if needed.
6497         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
6499 2010-09-23  Glenn Morris  <rgm@gnu.org>
6501         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6502         (byte-compile-defvar, byte-compile-cl-warn):
6503         Start warnings with lower-case, like the majority.
6505         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6507         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
6509         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6510         * files.el (auto-mode-alist): Move ld-script entries here, further down
6511         the list.
6513         * vc/add-log.el: Don't require timezone when compiling.
6514         (timezone-make-date-sortable): Autoload it.
6515         (change-log-sortable-date-at): Don't require timezone.
6516         Use `ignore-errors'.
6518         * comint.el (comint-use-prompt-regexp-instead-of-fields):
6519         Move alias before definition, so it does not need autoloading.
6521         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6522         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6523         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6524         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6525         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6526         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6527         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6528         * textmodes/tex-mode.el, textmodes/two-column.el:
6529         Remove leading `*' from docs of defcustoms etc.
6531 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
6533         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6535 2010-09-22  Dan Christensen  <jdc@uwo.ca>
6537         * calendar/time-date.el (date-to-time): Try using parse-time-string
6538         first before using the slower timezone-make-date-arpa-standard.
6540 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
6542         * calendar/time-date.el (format-seconds): Comment fix.
6544 2010-09-22  Glenn Morris  <rgm@gnu.org>
6546         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6547         is not automatically buffer-local.
6549 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6551         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6552         (smie-indent-comment): Be more careful with comment-start-skip.
6553         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6554         (smie-indent-functions): Use them.
6556 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
6558         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6560 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
6562         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6563         tool-bar-position.  Don't modify frame parameters here.
6564         (menu-bar-options-save): Add tool-bar-position.
6566         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6568 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6570         * textmodes/reftex-parse.el (reftex-what-macro)
6571         (reftex-context-substring): Let-bind forward-sexp-function to nil
6572         since we don't need/want to treat \begin...\end as a block (bug#7053).
6574         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6576         * simple.el (blink-matching-open): Use syntax-class.
6578         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6579         Set invisibility spec for pascal's outline mode.
6580         (pascal-outline-change): Clean up calling convention.
6581         (pascal-show-all, pascal-hide-other-defuns): Update callers.
6583         * progmodes/prolog.el (prolog-smie-forward-token)
6584         (prolog-smie-backward-token): New functions.
6585         (prolog-mode-variables): Use them to parse "!," correctly.
6586         Set up smie-blink-matching for ".".
6588         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6589         and `end'.
6590         (ispell-region, ispell-process-line): Update users.
6592         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6593         point-min==1.
6595         * textmodes/ispell.el: Fix commenting convention.
6596         (ispell-parse-output): Simplify, use push.
6597         (ispell-region): Use match-string-no-properties.
6598         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6599         (ispell-minor-mode): Use define-minor-mode.
6600         (ispell-message): Remove unused var `skip-regexp'.
6601         (ispell-add-per-file-word-list): Use dynamic let-binding.
6602         Try and use the proper comment marker.
6604         * mail/sendmail.el: Fix commenting convention.
6605         (sendmail-send-it): Use line-beginning-position.
6607         * help-fns.el (describe-variable): Add original value, if applicable.
6609 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
6611         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6613         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6615 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6617         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6618         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6619         (smie-prec2-levels): Use them to better diagnose precedence cycles.
6620         (smie-blink-matching-check): Don't signal a mismatch if car is t.
6621         (smie-blink-matching-open): Rewrite to remove assumptions, so that
6622         something like "." can also be a closer.
6623         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6624         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6625         Rename internal functions to use "--".  Update callers.
6627         * frame.el (make-frame-names-alist): Don't list frames on other displays.
6629         * fringe.el (fringe-styles): New var.
6630         (fringe-mode, fringe-query-style): Use it.
6632 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
6634         * progmodes/sql.el: Version 2.8
6635         (sql-login-params): Update widget structure; changes still needed.
6636         (sql-product-alist): Add :list-all and :list-table features for
6637         SQLite, Postgres and MySQL products.
6638         (sql-redirect): Handle default value.
6639         (sql-execute, sql-execute-feature): New functions.
6640         (sql-read-table-name): New function.
6641         (sql-list-all, sql-list-table): New functions.  User API.
6642         (sql-mode-map, sql-interactive-mode-map): Add key definitions
6643         for above functions.
6644         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6645         for above functions.
6646         (sql-postgres-login-params): Add user and database defaults.
6647         (sql-buffer-live-p): Bug fix.
6648         (sql-product-history): New variable.
6649         (sql-read-product): New function.  Use it.
6650         (sql-set-product, sql-product-interactive): Use it.
6651         (sql-connection-history): New variable.
6652         (sql-read-connection): New function.  Use it.
6653         (sql-connect): New function.
6654         (sql-for-each-login): Redesign function interface.
6655         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6656         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
6657         (sql-comint): Check for program.  Existing live buffer.
6658         (sql-comint-postgres): Add port parameter.
6660 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6662         * emacs-lisp/warnings.el: Fix commenting convention.
6663         (display-warning): Use special mode and make the buffer read-only.
6665 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
6667         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6668         empty string when it follows a repeated or optional pattern.
6670 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6672         * indent.el (indent-according-to-mode): Apply syntax-propertize.
6673         (indent-region): Use indent-according-to-mode.
6675 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
6677         * fringe.el (fringe-mode): Doc fix.
6679 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
6681         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6682         refreshing the preview buffer.
6684 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6686         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6687         (latex-syntax-propertize-rules): New consts; replace
6688         tex-font-lock-syntactic-keywords.
6689         (tex-env-mark, latex-env-before-change): New functions.
6690         (latex-electric-env-pair-mode): New minor mode.
6691         (tex-font-lock-verb): Change arguments; do move point.
6692         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6693         representation as a form of comment.
6694         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6695         (doctex-syntax-propertize-rules): New const; replaces
6696         doctex-font-lock-syntactic-keywords.
6697         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6699         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6700         (fortran-make-syntax-propertize-function): New function; replaces
6701         fortran-font-lock-syntactic-keywords.
6702         (fortran-mode): Use it.
6703         (fortran-line-length): Use it.  Improve interactive spec.
6705         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6706         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
6707         when adding surrounding \(..\).
6709         * progmodes/js.el (js-mode): Fix last change (bug#7054).
6711 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6713         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6714         Use with-current-buffer.
6716         * isearch.el (isearch-face): Rename from `isearch'.
6717         (isearch-highlight): Use new name.
6719 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
6721         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6722         5, for `half' width fringes.  (Bug#6933)
6724 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6726         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6727         (byte-compile-defvar): "foo/bar" does not lack a prefix.
6729         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6731 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
6733         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6734         in calculating new frame position.  Add more space between new and
6735         parent on the left (Bug#7048).
6737 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
6739         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6740         defmacro.
6742 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
6744         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6746         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6747         obsolete alias for x-selection-value.
6749         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6751 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
6753         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6754         cookie.
6756 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
6758         * net/tramp-compat.el (tramp-compat-with-temp-message)
6759         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6760         (tramp-compat-process-put): New defuns.
6762         * net/tramp.el (top):
6763         * net/tramp-gvfs.el (top):
6764         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6766         * net/tramp.el (tramp-progress-reporter-update):
6767         Use `tramp-compat-funcall'.
6769         * net/tramp.el (tramp-process-actions):
6770         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6771         * net/tramp-sh.el (tramp-handle-vc-registered)
6772         (tramp-get-remote-stat, tramp-get-remote-readlink):
6773         Use `tramp-compat-with-temp-message'.
6775         * net/tramp-sh.el (top): Require 'cl.
6776         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6777         (tramp-open-connection-setup-interactive-shell):
6778         Use `tramp-compat-process-put'.
6780 2010-09-15  Alan Mackenzie  <acm@muc.de>
6782         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6783         indentation.
6784         (c-forward-<>-arglist-recur): Fix an infinite recursion.
6786 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6788         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6789         `lexical' for warnings related to lexical scoping.
6790         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6791         global vars which don't have a prefix and could hence affect lexical
6792         scoping in unrelated files.
6794 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6796         * net/imap.el: Revert back to version
6797         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6798         seem problematic.
6800 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
6802         * obsolete/old-whitespace.el (whitespace-unload-function):
6803         Explicitly pass `obarray' to `unintern' to avoid a warning.
6805 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6807         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6808         Add `when' argument.  Update callers.
6810         * subr.el (unintern): Declare the obarray arg mandatory.
6812 2010-09-14  Glenn Morris  <rgm@gnu.org>
6814         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6815         Doc fixes.
6817         * calendar/diary-lib.el (diary-included-files): New variable.
6818         (diary-list-entries): Maybe initialize diary-included-files.
6819         (diary-include-other-diary-files): Append to diary-included-files.
6820         * calendar/appt.el (appt-update-list): Also check the members of
6821         diary-included-files.  (Bug#6999)
6822         (appt-check): Doc fix.
6824 2010-09-14  David Reitter  <david.reitter@gmail.com>
6826         * simple.el (line-move-visual): Do not truncate goal column to
6827         integer size.  (Bug#7020)
6829 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6831         * repeat.el (repeat): Allow repeating when the last event is a click.
6832         Suggested by Drew Adams (bug#6256).
6834 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
6836         * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
6837         Replace setting HGRCPATH to "" by some less invasive --config options.
6839 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6841         * font-lock.el (font-lock-beginning-of-syntax-function):
6842         Mark as obsolete.
6844 2010-09-14  Glenn Morris  <rgm@gnu.org>
6846         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6847         and tool-bar modes.  (Bug#6211)
6848         (menu-bar-mode): Move setting of standard-value after the
6849         minor-mode definition, otherwise it seems to have no effect.
6851 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
6853         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6854         Fix typo.  (Bug#6976)
6856 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6858         * whitespace.el: Allow cleaning up blanks without blank
6859         visualization (Bug#6651).  Adjust help window for
6860         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6861         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
6862         (whitespace-style): Add new value 'face.  Adjust docstring.
6863         (whitespace-space, whitespace-hspace, whitespace-tab):
6864         Adjust foreground property face.
6865         (whitespace-line-column): Adjust docstring and type declaration.
6866         (whitespace-style-value-list, whitespace-toggle-option-alist)
6867         (whitespace-help-text): Adjust const initialization.
6868         (whitespace-toggle-options, global-whitespace-toggle-options):
6869         Adjust docstring.
6870         (whitespace-display-window, whitespace-interactive-char)
6871         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6872         (whitespace-help-scroll): New fun.
6874 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6876         * calendar/time-date.el (format-seconds): Comment fix.
6878 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
6880         * progmodes/sql.el: Version 2.7.
6881         (sql-buffer-live-p): Improve detection.
6882         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6883         (sql-set-sqli-buffer): Use it.
6884         (sql-product-interactive): Run `sql-set-sqli-hook'.
6885         (sql-rename-buffer): Code cleanup.
6886         (sql-redirect, sql-redirect-value): New functions.  More to come.
6888 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
6890         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.
6891         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6892         (TRAMP_SRC): New macro.
6893         ($(lisp)/net/tramp-loaddefs.el): New target.
6895 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
6897         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
6899         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
6901         * net/tramp.el (top): Don't show loading message.  Require just
6902         'tramp-compat, everything else is required there.
6903         Use `ignore-errors' where appropriate.
6904         (tramp-inline-compress-start-size, tramp-copy-size-limit)
6905         (tramp-terminal-type, tramp-end-of-output)
6906         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6907         (tramp-completion-function-alist-ssh)
6908         (tramp-completion-function-alist-telnet)
6909         (tramp-completion-function-alist-su)
6910         (tramp-completion-function-alist-putty, tramp-remote-path)
6911         (tramp-remote-process-environment, tramp-sh-extra-args)
6912         (tramp-actions-before-shell, tramp-uudecode)
6913         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6914         (tramp-perl-file-attributes)
6915         (tramp-perl-directory-files-and-attributes)
6916         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6917         (tramp-perl-encode, tramp-perl-decode)
6918         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6919         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6920         (tramp-handle-make-symbolic-link, tramp-handle-load)
6921         (tramp-handle-file-name-as-directory)
6922         (tramp-handle-file-name-directory)
6923         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6924         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6925         (tramp-do-file-attributes-with-ls)
6926         (tramp-do-file-attributes-with-perl)
6927         (tramp-do-file-attributes-with-stat)
6928         (tramp-handle-set-visited-file-modtime)
6929         (tramp-handle-verify-visited-file-modtime)
6930         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6931         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6932         (tramp-handle-file-selinux-context)
6933         (tramp-handle-set-file-selinux-context)
6934         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6935         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6936         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6937         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6938         (tramp-handle-file-ownership-preserved-p)
6939         (tramp-handle-directory-file-name, tramp-handle-directory-files)
6940         (tramp-handle-directory-files-and-attributes)
6941         (tramp-do-directory-files-and-attributes-with-perl)
6942         (tramp-do-directory-files-and-attributes-with-stat)
6943         (tramp-handle-file-name-all-completions)
6944         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6945         (tramp-handle-copy-file, tramp-handle-copy-directory)
6946         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6947         (tramp-do-copy-or-rename-file-via-buffer)
6948         (tramp-do-copy-or-rename-file-directly)
6949         (tramp-do-copy-or-rename-file-out-of-band)
6950         (tramp-handle-make-directory, tramp-handle-delete-directory)
6951         (tramp-handle-delete-file)
6952         (tramp-handle-dired-recursive-delete-directory)
6953         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6954         (tramp-handle-insert-directory)
6955         (tramp-handle-unhandled-file-name-directory)
6956         (tramp-handle-expand-file-name)
6957         (tramp-handle-substitute-in-file-name)
6958         (tramp-handle-executable-find, tramp-process-sentinel)
6959         (tramp-handle-start-file-process, tramp-handle-process-file)
6960         (tramp-handle-call-process-region, tramp-handle-shell-command)
6961         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6962         (tramp-handle-insert-file-contents)
6963         (tramp-handle-insert-file-contents-literally)
6964         (tramp-handle-find-backup-file-name)
6965         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6966         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6967         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6968         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6969         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6970         (tramp-find-file-exists-command, tramp-open-shell)
6971         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6972         (tramp-open-connection-setup-interactive-shell)
6973         (tramp-local-coding-commands, tramp-remote-coding-commands)
6974         (tramp-find-inline-encoding, tramp-call-local-coding-command)
6975         (tramp-inline-compress-commands, tramp-find-inline-compress)
6976         (tramp-compute-multi-hops, tramp-maybe-open-connection)
6977         (tramp-send-command, tramp-wait-for-output)
6978         (tramp-send-command-and-check, tramp-barf-unless-okay)
6979         (tramp-send-command-and-read, tramp-mode-string-to-int)
6980         (tramp-convert-file-attributes, tramp-check-cached-permissions)
6981         (tramp-file-mode-from-int, tramp-file-mode-permissions)
6982         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6983         (tramp-method-out-of-band-p, tramp-local-host-p)
6984         (tramp-get-remote-path, tramp-get-remote-tmpdir)
6985         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6986         (tramp-get-test-command, tramp-get-test-nt-command)
6987         (tramp-get-file-exists-command, tramp-get-remote-ln)
6988         (tramp-get-remote-perl, tramp-get-remote-stat)
6989         (tramp-get-remote-readlink, tramp-get-remote-trash)
6990         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6991         (tramp-get-local-uid, tramp-get-local-gid)
6992         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6993         tramp-sh.el.
6994         (tramp-methods, tramp-default-method-alist)
6995         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6996         Move initialization to tramp-sh.el.
6997         (tramp-temp-name-prefix): Make it a defconst.
6998         (tramp-dissect-file-name): Don't check anymore for multi-hop
6999         methods.
7000         (tramp-debug-outline-regexp): Add a docstring.
7001         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7002         (tramp-get-debug-buffer): Use it.
7004         * net/tramp-cache.el (top): Set tramp-autoload cookie for
7005         initialization forms.
7006         (tramp-set-connection-property): Don't protect `tramp-message'
7007         call, it isn't necessary any longer.
7008         (tramp-dump-connection-properties): Use `ignore-errors'.
7010         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7011         'password-cache and 'auth-source.
7013         * net/tramp-gvfs.el (top):
7014         * net/tramp-smb.el (top): Require 'tramp-sh.
7016         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7018         * net/tramp-sh.el: New file, derived from tramp.el.
7019         (top): Initialize `tramp-methods', `tramp-default-method-alist',
7020         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7021         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7022         Use `ignore-errors' where appropriate.
7023         (tramp-sh-file-name-handler-alist): Rename from
7024         `tramp-file-name-handler-alist'.
7025         (tramp-send-command-and-check): Return t or nil.  Remove all
7026         `zerop' checks, where called.
7027         (tramp-handle-set-file-modes)
7028         (tramp-do-copy-or-rename-file-directly)
7029         (tramp-handle-delete-directory, tramp-handle-delete-file)
7030         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7031         (tramp-sh-file-name-handler, tramp-send-command-and-check)
7032         (tramp-get-remote-ln): Set tramp-autoload cookie.
7034         * net/tramp-fish.el: Remove file.
7036 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
7038         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7039         buffer-file-name to avoid file-locking.  (Bug#7026)
7041 2010-09-13  Julien Danjou  <julien@danjou.info>
7043         * notifications.el (notifications-notify): Add support for
7044         image-path and sound-name.
7045         (notifications-specification-version): Add this variable.
7047 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7049         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7051 2010-09-12  Leo  <sdl.web@gmail.com>
7053         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7054         (rcirc-completion-start): New variables.
7055         (rcirc-nick-completions): Rename to rcirc-completions.
7056         (rcirc-nick-completion-start-offset): Delete.
7057         (rcirc-completion-at-point): New function for constructing
7058         completion data for both nicks and irc commands.  Add to
7059         completion-at-point-functions in rcirc mode.
7060         (rcirc-complete): Rename from rcirc-nick-complete; use
7061         rcirc-completion-at-point.
7062         (defun-rcirc-command): Update rcirc-client-commands.
7064 2010-09-11  Glenn Morris  <rgm@gnu.org>
7066         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7067         atomically, to avoid parallel build errors.  (Bug#4196)
7069 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
7071         * progmodes/sql.el: Version 2.6
7072         (sql-dialect): Synonym for "sql-product".
7073         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7074         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7075         Set "sql-buffer" to buffer name not buffer object so multiple sql
7076         interactive buffers work properly.  Reverts misguided changes in
7077         earlier work.
7078         (sql-comint): Make sure different buffer name is used if "*SQL*"
7079         buffer is for a different product.
7080         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7081         login param.
7082         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7083         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7084         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7085         Accept new buffer name or prompt for one.
7086         (sql-port): Default to zero.
7087         (sql-comint-mysql): Handle "sql-port" as a numeric.
7088         (sql-port-history): Delete unused variable.
7089         (sql-get-login): Default "sql-port" to a number.
7090         (sql-product-alist): Correct Postgres prompt and terminator regexp.
7091         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7092         "sqlite3" executables.
7093         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7094         (sql-buffer-live-p): New function.
7095         (sql-mode-menu, sql-send-string): Use it.
7096         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7097         syntax pattern.
7098         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7099         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7101 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7103         * net/netrc.el (netrc-credentials): New convenience function.
7105 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7107         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7108         to replace texinfo-font-lock-syntactic-keywords.
7109         (texinfo-mode): Use it.
7111         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7112         Use syntax-propertize-function.
7114         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7115         replace sgml-font-lock-syntactic-keywords.
7116         (sgml-mode): Use it.
7118         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7119         since we don't use it.
7121         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7123         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7124         if available.
7125         (vhdl-fontify-buffer): Adjust.
7127         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7128         replace tcl-font-lock-syntactic-keywords.
7129         (tcl-mode): Use it.
7131         * progmodes/simula.el (simula-syntax-propertize-function): New var to
7132         replace simula-font-lock-syntactic-keywords.
7133         (simula-mode): Use it.
7135         * progmodes/sh-script.el (sh-st-symbol): Remove.
7136         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7137         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7138         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7139         (sh-font-lock-paren): Set syntax-multiline.
7140         (sh-font-lock-syntactic-keywords): Remove.
7141         (sh-syntax-propertize-function): New function to replace it.
7142         (sh-mode): Use it.
7144         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7145         Define while compiling.
7146         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7147         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7148         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7149         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7150         (ruby-here-doc-end-syntax): Only define when
7151         syntax-propertize is not available.
7152         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7153         New functions.
7154         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7155         (electric-indent-chars): Silence bytecompiler.
7156         (ruby-mode): Use prog-mode, syntax-propertize-function, and
7157         electric-indent-chars.
7159         * progmodes/python.el (python-syntax-propertize-function): New var to
7160         replace python-font-lock-syntactic-keywords.
7161         (python-mode): Use it.
7162         (python-quote-syntax): Simplify and adjust to new use.
7164         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7165         replace perl-font-lock-syntactic-keywords.
7166         (perl-syntax-propertize-special-constructs): New fun to replace
7167         perl-font-lock-special-syntactic-constructs.
7168         (perl-font-lock-syntactic-face-function): New fun.
7169         (perl-mode): Use it.
7171         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7172         to replace octave-font-lock-close-quotes.
7173         (octave-syntax-propertize-function): New function to replace
7174         octave-font-lock-syntactic-keywords.
7175         (octave-mode): Use it.
7177         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7178         replaces mixal-font-lock-syntactic-keywords.
7179         (mixal-mode): Use it.
7181         * progmodes/make-mode.el (makefile-syntax-propertize-function):
7182         New var; replaces makefile-font-lock-syntactic-keywords.
7183         (makefile-mode): Use it.
7184         (makefile-imake-mode): Adjust.
7186         * progmodes/js.el (js--regexp-literal): Define while compiling.
7187         (js-syntax-propertize-function): New var; replaces
7188         js-font-lock-syntactic-keywords.
7189         (js-mode): Use it.
7191         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7192         replaces gdb-script-font-lock-syntactic-keywords.
7193         (gdb-script-mode): Use it.
7195         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7196         (fortran--font-lock-syntactic-keywords): New var.
7197         (fortran-line-length): Update syntax-propertize-function and
7198         fortran--font-lock-syntactic-keywords.
7200         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7202         * progmodes/cfengine.el (cfengine-mode):
7203         Use syntax-propertize-function.
7204         (cfengine-font-lock-syntactic-keywords): Remove.
7206         * progmodes/autoconf.el (autoconf-mode):
7207         Use syntax-propertize-function.
7208         (autoconf-font-lock-syntactic-keywords): Remove.
7210         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7211         (ada-after-change-function, ada-initialize-syntax-table-properties)
7212         (ada-handle-syntax-table-properties): Only define when
7213         syntax-propertize is not available.
7214         (ada-mode): Use syntax-propertize-function.
7216         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7217         (font-lock-fontify-syntactic-keywords-region): Move handling of
7218         font-lock-syntactically-fontified to...
7219         (font-lock-default-fontify-region): ...here.
7220         Let syntax-propertize-function take precedence.
7221         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7223         * emacs-lisp/syntax.el (syntax-propertize-function)
7224         (syntax-propertize-chunk-size, syntax-propertize--done)
7225         (syntax-propertize-extend-region-functions): New vars.
7226         (syntax-propertize-wholelines, syntax-propertize-multiline)
7227         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7228         (syntax-propertize): New functions.
7229         (syntax-propertize-rules): New macro.
7230         (syntax-ppss-flush-cache): Set syntax-propertize--done.
7231         (syntax-ppss): Call syntax-propertize.
7233         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7235 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
7237         * textmodes/ispell.el (ispell-init-process): Improve comments.
7238         XEmacs compatibility changes regarding (add-hook) 'local option
7239         and (set-process-query-on-exit-flag).
7241 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
7243         * net/tramp-cache.el (tramp-parse-connection-properties):
7244         Set tramp-autoload cookie.
7246 2010-09-09  Glenn Morris  <rgm@gnu.org>
7248         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7249         (imagemagick-register-types): Doc fix.
7251 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7253         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7255         * progmodes/js.el (require): Require is already "eval-and-compile".
7256         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
7257         (js--re-search-backward): Use js--re-search-forward.
7259         * progmodes/fortran.el (fortran-line-length): Don't recompute
7260         syntactic keywords redundantly a second time.
7262         * progmodes/ada-mode.el: Replace "(set '" with setq.
7263         (ada-mode): Simplify.
7264         (ada-create-case-exception, ada-adjust-case-interactive)
7265         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7266         (ada-search-ignore-string-comment, ada-move-to-start)
7267         (ada-move-to-end): Use with-syntax-table.
7269         * font-lock.el (save-buffer-state): Remove `varlist' arg.
7270         (font-lock-unfontify-region, font-lock-default-fontify-region):
7271         Update usage correspondingly.
7272         (font-lock-fontify-syntactic-keywords-region):
7273         Set parse-sexp-lookup-properties buffer-locally here.
7274         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7276         * simple.el (blink-matching-open): Don't burp if we can't find a match.
7278 2010-09-08  Glenn Morris  <rgm@gnu.org>
7280         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7281         Error if not compiled with -DBYTE_CODE_METER.
7283         * emacs-lisp/bytecomp.el (byte-recompile-directory):
7284         Ignore dir-locals-file.
7286 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7288         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7289         Not a const.
7290         (compilation-error-regexp-alist-alist): Rule out ": " in file names
7291         for the `gnu' messages.
7292         (compilation-set-skip-threshold): New command.
7293         (compilation-start): Use \' rather than $.
7294         (compilation-forget-errors): Use clrhash.
7296 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
7298         * textmodes/ispell.el (ispell-valid-dictionary-list):
7299         Simplify logic.
7301 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
7303         Migrate to Tramp 2.2.  Rearrange load dependencies.
7304         (Bug#1529, Bug#5448, Bug#5705)
7306         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7307         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7308         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7310         * net/tramp.el (top): Remove all other tramp-* loads except
7311         tramp-compat.el.  Remove all changes to tramp-unload-hook for
7312         other tramp-* packages.  Rearrange defun order.  Change calls of
7313         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7314         `tramp-compat-octal-to-decimal' to new function names.
7315         (tramp-terminal-type, tramp-initial-end-of-output)
7316         (tramp-methods, tramp-foreign-file-name-handler-alist)
7317         (tramp-tramp-file-p, tramp-completion-mode-p)
7318         (tramp-send-command-and-check, tramp-get-remote-path)
7319         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7320         (tramp-shell-quote-argument): Set tramp-autoload cookie.
7321         (with-file-property, with-connection-property): Move to
7322         tramp-cache.el.
7323         (tramp-local-call-process, tramp-decimal-to-octal)
7324         (tramp-octal-to-decimal): Move to tramp-compat.el.
7325         (tramp-handle-shell-command): Do not require 'shell.
7326         (tramp-compute-multi-hops): No special handling for tramp-gw-*
7327         symbols.
7328         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7330         * net/tramp-cache.el (top): Require 'tramp.  Add to
7331         `tramp-unload-hook'.
7332         (tramp-cache-data, tramp-get-file-property)
7333         (tramp-set-file-property, tramp-flush-file-property)
7334         (tramp-flush-directory-property, tramp-get-connection-property)
7335         (tramp-set-connection-property, tramp-flush-connection-property)
7336         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7337         cookie.
7338         (with-file-property, with-connection-property): New defuns, moved
7339         from tramp.el.
7340         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7341         macro.
7343         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7344         (tramp-version): Set tramp-autoload cookie.
7346         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
7347         changes to tramp-unload-hook for other tramp-* packages.  Add to
7348         `tramp-unload-hook'.
7349         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7350         (tramp-compat-call-process): New defuns, moved from tramp.el.
7352         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
7353         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7354         Add to `tramp-unload-hook'.  Change call of
7355         `tramp-compat-decimal-to-octal' to new function name.
7356         (tramp-fish-method): Make it a defconst.
7357         (tramp-fish-file-name-p): Make it a defsubst.
7358         (tramp-fish-method, tramp-fish-file-name-handler)
7359         (tramp-fish-file-name-p): Set tramp-autoload cookie.
7361         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7362         `tramp-foreign-file-name-handler-alist'.  Add to
7363         `tramp-unload-hook'.
7364         (tramp-ftp-method): Make it a defconst.
7365         (tramp-ftp-file-name-p): Make it a defsubst.
7366         (tramp-ftp-method, tramp-ftp-file-name-handler)
7367         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7369         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7370         `tramp-foreign-file-name-handler-alist'.  Add to
7371         `tramp-unload-hook'.  Change checks, whether package can be
7372         loaded.
7373         (tramp-gvfs-file-name-p): Make it a defsubst.
7374         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7375         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7376         (tramp-gvfs-handle-file-directory-p): New defun.
7377         (tramp-gvfs-file-name-handler-alist): Use it.
7379         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7380         `tramp-foreign-file-name-handler-alist'.  Add to
7381         `tramp-unload-hook'.
7382         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7383         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7384         defconst.
7385         (tramp-gw-tunnel-method, tramp-gw-socks-method)
7386         (tramp-gw-open-connection): Set tramp-autoload cookie.
7388         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
7389         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7390         Add to `tramp-unload-hook'.  Change checks, whether package can be
7391         loaded.
7392         (tramp-imap-file-name-p): Make it a defsubst.
7393         (tramp-imap-method, tramp-imaps-method)
7394         (tramp-imap-file-name-handler)
7395         (tramp-imap-file-name-p): Set tramp-autoload cookie.
7397         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
7398         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7399         Add to `tramp-unload-hook'.  Change checks, whether package can be
7400         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
7401         function name.
7402         (tramp-smb-tunnel-method): Make it a defconst.
7403         (tramp-smb-file-name-p): Make it a defsubst.
7404         (tramp-smb-method, tramp-smb-file-name-handler)
7405         (tramp-smb-file-name-p): Set tramp-autoload cookie.
7407         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7408         (tramp-uuencode-region): Set tramp-autoload cookie.
7410         * net/trampver.el (top) Add to `tramp-unload-hook'.
7411         (tramp-version, tramp-bug-report-address): Set tramp-autoload
7412         cookie.  Update release number.
7414 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
7416         * textmodes/ispell.el (ispell-start-process): Make sure original
7417         arg list is properly initialized (Bug#6993, Bug#6994).
7419 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7421         * files.el (directory-abbrev-alist): Use \` as default regexp.
7423         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7424         chars like - or ] (bug#6984).
7425         (rx-any-condense-range): Explode 2-char ranges.
7427 2010-09-06  Glenn Morris  <rgm@gnu.org>
7429         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7431 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7433         * textmodes/bibtex.el:
7434         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7436 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7438         * net/imap.el (imap-message-map): Remove optional buffer parameter,
7439         since no callers use it.
7440         (imap-message-get): Ditto.
7441         (imap-message-put): Ditto.
7442         (imap-mailbox-map): Ditto.
7443         (imap-mailbox-put): Ditto.
7444         (imap-mailbox-get): Ditto.
7445         (imap-mailbox-get): Revert last change for this function.
7447 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7449         * net/imap.el (imap-fetch-safe): Remove function, and alter all
7450         callers to use `imap-fetch' instead.  According to the comments, this
7451         should be safe, since all other IMAP clients use the 1:* syntax.
7452         (imap-enable-exchange-bug-workaround): Remove.
7453         (imap-debug): Remove -- doesn't seem very useful.
7455 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7457         * net/imap.el (imap-log): New convenience function used throughout
7458         instead of repeating the same code all over the place.
7460 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
7462         * mouse.el (mouse-save-then-kill): Save region to kill-ring
7463         when mouse-drag-copy-region is non-nil (Bug#6956).
7465 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
7467         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7468         Improve regexps (Bug#6987).
7469         (dired-sort-toggle): Search more robustly for -t flag.
7471         * files.el (get-free-disk-space): Search more robustly for
7472         "available" column.  Suggested by Ehud Karni
7473         <ehud@unix.mvs.co.il>.
7475 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
7477         * international/uni-bidi.el:
7478         * international/uni-category.el:
7479         * international/uni-combining.el:
7480         * international/uni-decimal.el:
7481         * international/uni-mirrored.el:
7482         * international/uni-name.el: Regenerate.
7484 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7486         * electric.el (electric-indent-post-self-insert-function):
7487         Don't reindent with a sloppy indentation function.
7489         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7490         border case in change-log-mode.
7492 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
7494         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7495         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7496         Recognize leading tab in gcc-include regexp.  Ignore names with
7497         leading "from" or "in" in gnu regexp (Bug#6937).
7499 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7501         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7502         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7503         (ispell-start-process): Avoid setq and simplify logic.
7504         (ispell-init-process): Setup kill-buffer-hook locally when needed.
7505         (kill-buffer-hook): Don't use it globally with code that uses
7506         expand-file-name since that may call kill-buffer via
7507         code_conversion_restore.
7509 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
7511         * emacs-lisp/package.el (package-directory-list): Only call
7512         file-name-nondirectory on a string.
7514 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7516         * emacs-lisp/package.el (package--download-one-archive):
7517         Ensure that archive-contents is valid before saving it.
7518         (package-activate-1, package-mark-obsolete, define-package)
7519         (package-compute-transaction, package-list-maybe-add): Use push.
7521 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7523         Use SMIE's blink-paren for octave-mode.
7524         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7525         Backslashes do not escape single-quotes, single-quotes do.
7526         (octave-block-else-regexp, octave-block-end-regexp)
7527         (octave-block-match-alist): Remove.
7528         (octave-smie-bnf-table): New var, with old content.
7529         (octave-smie-op-levels): Use it.
7530         (octave-smie-closer-alist): New var.
7531         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
7532         (octave-blink-matching-block-open): Remove.
7533         (octave-reindent-then-newline-and-indent, octave-electric-semi)
7534         (octave-electric-space): Let self-insert-command run expand-abbrev and
7535         blink parens.
7537         * electric.el (electricity): New group.
7538         (electric-indent-chars): New var.
7539         (electric-indent-post-self-insert-function): New fun.
7540         (electric-indent-mode): New minor mode.
7541         (electric-pair-skip-self): New custom.
7542         (electric-pair-post-self-insert-function): New function.
7543         (electric-pair-mode): New minor mode.
7545         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7546         calcAlg-blink-matching-open.
7547         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7548         (calc-do-alg-entry): Only touch the part of the keymap that varies.
7549         Use the new blink-matching-check-function.
7551         Provide blink-matching support to SMIE.
7552         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7553         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7554         (smie-blink-matching-check, smie-blink-matching-open): New functions.
7556         * simple.el (newline): Fix last change to properly remove itself from
7557         the hook.
7559 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7561         * simple.el (newline): Eliminate optimization.
7562         Use post-self-insert-hook to set hard-newline and things before
7563         running post-self-insert-hook.
7564         (blink-matching-check-mismatch): New function.
7565         (blink-matching-check-function): New variable.
7566         (blink-matching-open): Use them.
7567         Skip back forward over prefix chars skipped by forward-sexp.
7568         Don't check if the parens are backslash escaped.
7569         (blink-paren-post-self-insert-function): Check backslash escaping here.
7571 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7573         * emacs-lisp/package.el (package-menu-mode-map):
7574         Change package-menu-revert bindings to revert-buffer.
7575         (package-menu-mode): Set revert-buffer-function.
7576         (package-menu-revert): Doc fix.
7578 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
7580         * textmodes/ispell.el (ispell-init-process): Use "~/" as
7581         `default-directory' unless using Ispell per-directory personal
7582         dictionaries and not in a mini-buffer under XEmacs.
7583         (kill-buffer-hook): Do not kill ispell process on exit when
7584         `ispell-process-directory' is "~/".  (Bug#6143)
7586 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
7588         * simple.el (kill-new): Call interprogram-cut-function with only
7589         one argument.
7591         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7592         Remove cut buffer from error message.
7594         * term/x-win.el (x-select-text):
7595         * term/pc-win.el (x-selection-value):
7596         * term/ns-win.el (x-selection-value):
7597         * eshell/em-term.el:
7598         * w32-fns.el (x-get-selection-value):
7599         * mouse-sel.el (mouse-sel-set-selection-function):
7600         * frame.el (display-selections-p): Remove cut-buffer in documentation.
7602         * term/x-win.el: Update documentation for x-last-selected-text-*.
7603         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7604         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7605         (x-select-text): Remove argument PUSH, update documentation.
7606         Remove cut-buffer code.
7607         (x-selection-value-internal): Was previously x-selection-value.
7608         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7609         Update documentation, remove cut-buffer code.
7610         Call x-selection-value-internal.
7611         (x-clipboard-yank): Call x-selection-value-internal.
7612         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7614         * term/pc-win.el (x-last-selected-text):
7615         x-cut-buffer-or-selection-value renamed to x-selection-value
7616         (x-select-text): Remove argument PUSH, update documentation.
7618         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7619         x-cut-buffer-or-selection-value renamed to x-selection-value
7620         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7621         (x-select-text): Remove argument PUSH, update documentation.
7623         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7625         * w32-fns.el (x-last-selected-text):
7626         x-cut-buffer-or-selection-value renamed to x-selection-value.
7627         (x-cut-buffer-max): Remove.
7628         (x-select-text): Remove argument PUSH, update documentation.
7630         * simple.el (interprogram-cut-function): Remove mention of PUSH.
7632         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7634         * mouse-sel.el (mouse-sel-get-selection-function):
7635         x-cut-buffer-or-selection-value renamed to x-selection-value.
7636         (x-select-text): Remove optional push.
7638 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7640         * simple.el (blink-paren-function): Move from C to here.
7641         (blink-paren-post-self-insert-function): New function.
7642         (post-self-insert-hook): Use it.
7644         * emacs-lisp/pcase.el (pcase-split-memq):
7645         Fix overenthusiastic optimisation.
7646         (pcase-u1): Handle the case of a lambda pred.
7648 2010-08-31  Kenichi Handa  <handa@m17n.org>
7650         * international/mule-cmds.el (standard-display-european-internal):
7651         Setup standard-display-table for 8-bit characters by storing 8-bit
7652         characters in the element vector.
7654         * disp-table.el (standard-display-8bit):
7655         Setup standard-display-table for 8-bit characters by storing 8-bit
7656         characters in the element vector.
7657         (standard-display-european): Likewise.
7659 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
7661         * textmodes/nroff-mode.el (nroff-view): New command.
7662         (nroff-mode-map): Bind it to C-c C-c.
7664 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7666         * emacs-lisp/smie.el (smie-down-list): New command.
7668         Remove old indentation and navigation code on octave-mode.
7669         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7670         smie-down-list rather than add a binding for octave-down-block.
7671         (octave-mark-block, octave-blink-matching-block-open):
7672         Rely on forward-sexp-function.
7673         (octave-fill-paragraph): Don't narrow, so you can use
7674         indent-according-to-mode.
7675         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7676         (octave-in-block-p, octave-re-search-forward-kw)
7677         (octave-re-search-backward-kw, octave-indent-calculate)
7678         (octave-end-as-array-index-p, octave-block-end-offset)
7679         (octave-scan-blocks, octave-forward-block, octave-backward-block)
7680         (octave-down-block, octave-backward-up-block, octave-up-block)
7681         (octave-before-magic-comment-p, octave-indent-line): Remove.
7683 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
7685         * emacs-lisp/package.el (package--read-archive-file): Just use
7686         `read', to avoid copying an additional string.
7687         (package-menu-mode): Set header-line-format here.
7688         (package-menu-refresh, package-menu-revert): Signal an error if
7689         not in the Package Menu.
7690         (package-menu-package-list): New var.
7691         (package--generate-package-list): Operate on the current buffer;
7692         don't assume that it is *Packages*, since the user may rename it.
7693         Allow persistent package listings and sort keys using
7694         package-menu-package-list and package-menu-package-sort-key.
7695         (package-menu--version-predicate): Fix version calculation.
7696         (package-menu-sort-by-column): Don't select the window.
7697         (package--list-packages): Create the *Packages* buffer.
7698         Set package-menu-package-list-key.
7699         (list-packages): Sorting by status is now the default.
7700         (package-buffer-info): Use match-string-no-properties.
7701         (define-package): Add a &rest argument for future proofing, but
7702         don't use it yet.
7703         (package-install-from-buffer, package-install-buffer-internal):
7704         Merge into a single function, package-install-from-buffer.
7705         (package-install-file): Change caller.
7707         * finder.el: Load finder-inf using `require'.
7708         (finder-list-matches): Sorting by status is now the default.
7709         (finder-compile-keywords): Simpify printing.
7711 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7713         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7714         (octave-mode-map): Remove special bindings for forward/backward-block
7715         and octave-backward-up-block.  Use smie-close-block.
7716         (octave-continuation-marker-regexp): New var.
7717         (octave-continuation-regexp): Use it.
7718         (octave-operator-table, octave-smie-op-levels)
7719         (octave-operator-regexp, octave-smie-indent-rules): New vars.
7720         (octave-smie-backward-token, octave-smie-forward-token): New funs.
7721         (octave-mode): Use SMIE.
7722         (octave-close-block): Delete.
7724 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
7726         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7727         CLIPBOARD, not in PRIMARY.  (Bug#6944)
7729 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7731         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7732         a list of parents.
7733         (smie-indent-column): Allow indirection through variables.
7735         * composite.el (save-buffer-state): Delete, unused.
7736         * font-lock.el (save-buffer-state): Use with-silent-modifications.
7737         (font-lock-default-fontify-region): Use with-syntax-table.
7738         * jit-lock.el (with-buffer-unmodified): Remove.
7739         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7741         Use `declare' in defmacros.
7742         * window.el (save-selected-window):
7743         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7744         * progmodes/python.el (def-python-skeleton):
7745         * net/dbus.el (dbus-ignore-errors):
7746         * jka-cmpr-hook.el (with-auto-compression-mode):
7747         * international/mule.el (with-category-table):
7748         * emacs-lisp/timer.el (with-timeout):
7749         * emacs-lisp/lisp-mnt.el (lm-with-file):
7750         * emacs-lisp/eieio.el (with-slots):
7751         * emacs-lisp/easymenu.el (easy-menu-define):
7752         * emacs-lisp/debug.el (debugger-env-macro):
7753         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7754         (Multiple-value-call, Multiple-value-prog1):
7755         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7756         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7757         edebug rule to definition.
7758         * emacs-lisp/lisp-mode.el (save-selected-window)
7759         (with-current-buffer, combine-after-change-calls)
7760         (with-output-to-string, with-temp-file, with-temp-buffer)
7761         (with-temp-message, with-syntax-table, read-if, eval-after-load)
7762         (dolist, dotimes, when, unless):
7763         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7765 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7767         * finder.el: Require `package'.
7768         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
7769         (finder-package-info): Var deleted.
7770         (finder-keywords-hash, finder--builtins-alist): New vars.
7771         (finder-compile-keywords): Compute package--builtins and
7772         finder-keywords-hash instead of finder-keywords-hash, respecting
7773         the "Package" header.
7774         (finder-unknown-keywords, finder-list-matches):
7775         Use finder-keywords-hash and package--list-packages.
7776         (finder-mode): Don't set font-lock-defaults.
7777         (finder-exit): We don't use "*Finder-package*" and "*Finder
7778         Category*" buffers anymore.
7780         * emacs-lisp/package.el (package--builtins-base): Var deleted.
7781         (package--builtins): Set default value to nil.
7782         (package-initialize): Load precomputed value of package--builtins
7783         from finder-inf.el.
7784         (package-alist, package-compute-transaction)
7785         (package-download-transaction): Improve docstring.
7786         (package-read-all-archive-contents): Do not change
7787         package--builtins here.
7788         (list-packages): Make package-list-packages an alias for this.
7789         Sort by status by default.
7790         (package--list-packages): Add optional PACKAGES arg.
7791         (describe-package-1): Use font-lock-face property.  For built-in
7792         packages, insert file commentary.
7793         (package--generate-package-list): Rename from
7794         package-list-packages-internal; all callers changed.  Add optional
7795         PACKAGES arg.  Add alphabetical sort fallbacks.
7796         (package-menu--version-predicate, package-menu--status-predicate)
7797         (package-menu--description-predicate)
7798         (package-menu--name-predicate): New functions.
7800         * info.el (Info-finder-find-node): Search package-alist instead of
7801         finder-package-info.
7803 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7805         * subr.el (version-regexp-alist): Don't use "a" and "b" for
7806         "alpha" and "beta".
7807         (version-to-list): Handle versions like "10.3d".
7809 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7811         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7812         (macroexp-accumulate): Use `declare'.
7814 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7816         * whitespace.el (whitespace-style): Adjust type declaration.
7818 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
7820         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7822 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7824         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7825         (Bug#6907).
7827 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
7829         * progmodes/js.el: Make indentation more customizable (Bug#6914).
7830         (js-paren-indent-offset, js-square-indent-offset)
7831         (js-curly-indent-offset): New options.
7832         (js--proper-indentation): Use them.
7834 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
7836         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7837         instead of inspecting font-lock properties (Bug#6916).
7839 2010-08-26  David Reitter  <david.reitter@gmail.com>
7841         * server.el (server-visit-files): Run pre-command-hook and
7842         post-command-hook for each buffer while it is current (Bug#6910).
7843         (server-execute): Do not run hooks here.
7845 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
7847         Sync with Tramp 2.1.19.
7849         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
7850         deleting tmpfile.
7851         (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7853         * net/tramp.el (tramp-handle-expand-file-name)
7854         (tramp-completion-handle-file-name-all-completions)
7855         (tramp-completion-handle-file-name-completion):
7856         Use `tramp-connectable-p'.
7858         * net/trampver.el: Update release number.
7860 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7862         * help.el (help-map): Bind `C-h P' to describe-package.
7864         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7866         * emacs-lisp/package.el (package-refresh-contents): Catch errors
7867         when downloading archives.
7868         (describe-package-1): Add package commentary.
7869         (package-install-button-action): New function.
7870         (package-menu-mode-map): Bind ? to package-menu-describe-package.
7871         (package-menu-view-commentary): Function removed.
7872         (package-list-packages-internal): Hide the `package' package too.
7874 2010-08-25  Kenichi Handa  <handa@m17n.org>
7876         * language/misc-lang.el ("Arabic"): New language environment.
7877         Setup composition-function-table for Arabic characters.
7879         * international/fontset.el (setup-default-fontset): Fix typo for
7880         arabic OTF spec (fini->fina).
7882 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
7884         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7885         on all frames.
7887 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7889         * whitespace.el: Allow cleaning up blanks without blank
7890         visualization (Bug#6651).  Adjust help window for
7891         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7892         instead of whitespace-line-column (from EmacsWiki).  New version
7893         13.1.
7894         (whitespace-style): Add new value 'face.  Adjust docstring.
7895         (whitespace-space, whitespace-hspace, whitespace-tab):
7896         Adjust foreground property face.
7897         (whitespace-line-column): Adjust docstring and type declaration.
7898         (whitespace-style-value-list, whitespace-toggle-option-alist)
7899         (whitespace-help-text): Adjust const initialization.
7900         (whitespace-toggle-options, global-whitespace-toggle-options):
7901         Adjust docstring.
7902         (whitespace-display-window, whitespace-interactive-char)
7903         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7904         (whitespace-help-scroll): New fun.
7906 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7908         * emacs-lisp/package.el (list-packages): Alias for
7909         package-list-packages.
7911 2010-08-24  Kevin Ryde  <user42@zip.com.au>
7913         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7914         (Bug#5651).
7916         * progmodes/ruby-mode.el (ruby): Add defgroup.
7918 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7920         * progmodes/python.el: Add Ipython support (Bug#5390).
7921         (python-shell-prompt-alist)
7922         (python-shell-continuation-prompt-alist): New options.
7923         (python--set-prompt-regexp): New function.
7924         (inferior-python-mode, run-python, python-shell):
7925         Require ansi-color.  Use python--set-prompt-regexp to set the comint
7926         prompt based on the Python interpreter.
7927         (python--prompt-regexp): New var.
7928         (python-check-comint-prompt)
7929         (python-comint-output-filter-function): Use it.
7930         (run-python): Use a pipe (Bug#5694).
7932 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
7934         * progmodes/python.el (python-send-region): Send a different
7935         Python command if Ipython is in use.
7936         (python-check-version): Use a Python command to find the version.
7938 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7940         * mouse.el (mouse-yank-primary): Avoid setting primary when
7941         deactivating the mark (Bug#6872).
7943 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
7945         * progmodes/python.el (python-block-pairs): Allow use of "finally"
7946         with "else" (Bug#3991).
7948 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
7950         * net/dbus.el: Accept UNIX domain sockets as bus address.
7951         (top): Don't initialize `dbus-registered-objects-table' anymore,
7952         this is done in dbusbind.c.
7953         (dbus-check-event): Adapt test for bus.
7954         (dbus-return-values-table, dbus-unregister-service)
7955         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7956         Adapt doc string.
7958 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
7960         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7962 2010-08-22  Juri Linkov  <juri@jurta.org>
7964         * simple.el (read-extended-command): New function with the logic
7965         for `completing-read' moved to Elisp from `execute-extended-command'.
7966         Use `function-called-at-point' in `minibuffer-default-add-function'
7967         to get a command name for M-n (bug#5364, bug#5214).
7969 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7971         * startup.el (command-line-1): Issue warning for ignored arguments
7972         --unibyte, etc (Bug#6886).
7974 2010-08-22  Leo  <sdl.web@gmail.com>
7976         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7977         (ignore, bright, dim, keyword): Split list of nicknames before
7978         passing to rcirc-add-or-remove (Bug#6894).
7980 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7982         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7984 2010-08-22  Leo  <sdl.web@gmail.com>
7986         Fix buffer-list rename&refresh after killing a buffer in ido.
7987         * ido.el: Revert Óscar's.
7988         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7989         Remember the buffers at head, rather than their name.
7990         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7992 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
7993             Stefan Monnier  <monnier@iro.umontreal.ca>
7995         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7996         extra backslash added to each line (bug#6890).
7998 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8000         * subr.el (read-key): Don't echo keystrokes (bug#6883).
8002 2010-08-22  Glenn Morris  <rgm@gnu.org>
8004         * menu-bar.el (menu-bar-games-menu): Add landmark.
8006 2010-08-22  Glenn Morris  <rgm@gnu.org>
8008         * align.el (align-regexp): Make group and spacing arguments
8009         use the interactive defaults when non-interactive.  (Bug#6698)
8011         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8012         expansion, so as not to need sendmail.
8013         (mail-text-start): Remove declaration.
8014         (rmail-retry-failure): Require sendmail.
8016 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8018         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8020 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
8022         * progmodes/flymake.el (flymake-start-syntax-check-process):
8023         Use `start-file-process' in order to let it run also on remote hosts.
8025 2010-08-22  Kenichi Handa  <handa@m17n.org>
8027         * files.el: Add `word-wrap' as safe local variable.
8029 2010-08-22  Glenn Morris  <rgm@gnu.org>
8031         * woman.el (woman-translate): Case matters.  (Bug#6849)
8033 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8035         * simple.el (kill-region): Doc fix (Bug#6787).
8037 2010-08-22  Glenn Morris  <rgm@gnu.org>
8039         * calendar/diary-lib.el (diary-header-line-format):
8040         Fit it to the window, not the frame.
8042 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
8044         * subr.el (ignore-errors): Add debug declaration.
8046 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
8048         * whitespace.el (whitespace-color-off): Remove post-command-hook
8049         locally.
8051 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8053         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8055 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8057         * cus-edit.el (custom-group-value-create): Add extra newline
8058         before end line (Bug#6876).
8060 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8062         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8063         when extending it.  Before killing on the second click, check if
8064         the buffer is the correct one.  Doc fix.
8065         (mouse-secondary-save-then-kill): Allow usage without first
8066         calling mouse-start-secondary, by defaulting to point.  Don't save
8067         an empty secondary selection.  Doc fix.
8069 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8071         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
8072         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8073         New version 13.0.
8074         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8075         Adjust initialization.
8076         (whitespace-bob-marker, whitespace-eob-marker)
8077         (whitespace-buffer-changed): New vars.
8078         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8079         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8080         (whitespace-post-command-hook, whitespace-display-char-on):
8081         Adjust code.
8082         (whitespace-looking-back, whitespace-buffer-changed): New funs.
8083         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8085 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8087         * files.el (locate-file-completion-table): Only list the .el and .elc
8088         extensions if there's no other choice (bug#5955).
8090         * facemenu.el (facemenu-self-insert-data): New var.
8091         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8092         New functions.
8093         (facemenu-add-face): Use them.
8095         * simple.el (blink-matching-open): Obey forward-sexp-function.
8097 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8099         * simple.el (prog-mode-map): New var.
8100         (prog-indent-sexp): New command.
8102         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8104         * progmodes/prolog.el (smie): Require.
8106         * emacs-lisp/smie.el (smie-default-backward-token)
8107         (smie-default-forward-token): Strip properties.
8108         (smie-next-sexp): Be more careful with associative operators.
8109         (smie-forward-sexp-command): Generalize.
8110         (smie-backward-sexp-command): Simplify.
8111         (smie-closer-alist): New var.
8112         (smie-close-block): New command.
8113         (smie-indent-debug-log): New var.
8114         (smie-indent-offset-rule): Add a few more cases.
8115         (smie-indent-column): New function.
8116         (smie-indent-after-keyword): Use it.
8117         (smie-indent-keyword): Use it.
8118         Fix up the opener code's point position.
8119         (smie-indent-comment): Only applies at BOL.
8120         (smie-indent-debug): New command.
8122         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8123         declarations that are useful before running the macro.
8125 2010-08-18  Joakim Verona  <joakim@verona.se>
8127         * image.el (imagemagick-types-inhibit): New variable.
8128         (imagemagick-register-types): New function.
8129         * image-mode.el (image-transform-properties): New function.
8130         (image-transform-set-scale, image-transform-fit-to-height)
8131         (image-transform-set-rotation, image-transform-set-resize)
8132         (image-transform-fit-to-width, image-transform-fit-to-height):
8133         New functions.
8134         (image-toggle-display-image): Support image transforms.
8136 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
8138         * image.el (create-animated-image): Don't add heuristic mask to image
8139         (Bug#6839).
8141 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
8143         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8144         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8146 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8148         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8150         Font-lock '...' strings, plus various simplifications and fixes.
8151         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8152         (octave-font-lock-close-quotes): New function.
8153         (octave-font-lock-syntactic-keywords): New var.
8154         (octave-mode): Use it.  Set beginning-of-defun-function.
8155         (octave-mode-map): Don't override the <foo>-defun commands.
8156         (octave-mode-menu): Pass it directly to easy-menu-define;
8157         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8158         (octave-block-match-alist): Fix up last change so that
8159         octave-close-block uses the more specific keyword.
8160         (info-lookup-mode): Silence byte-compiler.
8161         (octave-beginning-of-defun): Not interactive any more.
8162         Optimize slightly.
8163         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8164         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8165         (octave-completion-at-point-function): Make sure point is within
8166         beg..end.
8167         (octave-reindent-then-newline-and-indent):
8168         Use reindent-then-newline-and-indent.
8169         (octave-add-octave-menu): Remove.
8171 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
8173         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8174         (report-emacs-bug-can-use-xdg-email): New functions.
8175         (report-emacs-bug): Set can-xdg-email to result of
8176         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
8177         \C-cm to report-emacs-bug-insert-to-mailer and add help text
8178         about it.
8180         * net/browse-url.el (browse-url-default-browser): Add cond
8181         for browse-url-xdg-open.
8182         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8184 2010-08-17  Glenn Morris  <rgm@gnu.org>
8186         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8187         (c-fontify-recorded-types-and-refs): Define for compiler.
8188         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8189         before use.
8191         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8192         Fix format call.
8194 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
8196         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8197         properties.
8198         (tramp-handle-process-file): Call the program in a subshell, in
8199         order to preserve working directory.
8200         (tramp-action-password): Hide password prompt before next run.
8201         (tramp-process-actions): Widen connection buffer for the trace.
8203 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8205         * net/rcirc.el (rcirc-log-process-buffers): New option.
8206         (rcirc-print): Use it.
8207         (rcirc-generate-log-filename): New function.
8208         (rcirc-log-filename-function): Change default to
8209         rcirc-generate-log-filename (Bug#6828).
8211 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
8213         * simple.el (deactivate-mark): If select-active-regions is `only',
8214         only set selection for temporarily active regions.
8216         * cus-start.el: Change defcustom for select-active-regions.
8218 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8220         * mouse.el (mouse--drag-set-mark-and-point): New function.
8221         (mouse-drag-track): Use LOCATION arg to push-mark.
8222         Use mouse--drag-set-mark-and-point to take click-count into
8223         consideration when updating point and mark (Bug#6840).
8225 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8227         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8228         Give the Ruby rule a lower priority than Gnu (Bug#6778).
8230 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8232         * font-lock.el (lisp-font-lock-keywords-2):
8233         Add combine-after-change-calls, condition-case-no-debug,
8234         with-demoted-errors, and with-silent-modifications (Bug#6025).
8236 2010-08-14  Kevin Ryde  <user42@zip.com.au>
8238         * emacs-lisp/copyright.el (copyright-update-year)
8239         (copyright-update): Temporary switch-to-buffer to ensure the
8240         buffer change being queried is visible (Bug#5394).
8242 2010-08-14  Tom Tromey  <tromey@redhat.com>
8244         * progmodes/etags.el (tags-file-name): Mark safe if stringp
8245         (Bug#6733).
8247 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
8249         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8250         MS-DOS.  (Bug#6689)
8252 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
8254         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8255         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8256         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8257         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8258         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8259         Call menu-bar-set-tool-bar-position.
8261 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8263         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8264         comment style (bug#6834).
8265         * progmodes/scheme.el (scheme-mode-syntax-table):
8266         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8267         "b" flag in "' 14b" syntax.
8269         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8270         for (un)commenting the region and performing completion.
8271         (octave-mode-menu): Use standard commands for help and completion.
8272         (octave-mode-syntax-table): Support %{..%} comments (sort of).
8273         (octave-mode): Use define-derived-mode.
8274         Set completion-at-point-functions and don't set columns.
8275         Don't disable adaptive-fill-regexp.
8276         (octave-describe-major-mode, octave-comment-region)
8277         (octave-uncomment-region, octave-comment-indent)
8278         (octave-indent-for-comment): Remove.
8279         (octave-indent-calculate): Rename from calculate-octave-indent.
8280         (octave-indent-line, octave-fill-paragraph): Update caller.
8281         (octave-initialize-completions): No need to make an alist.
8282         (octave-completion-at-point-function): New function.
8283         (octave-complete-symbol): Use it.
8284         (octave-insert-defun): Use define-skeleton.
8286         * progmodes/octave-mod.el (octave-mode): Set comment-add.
8287         (octave-mode-map): Use comment-dwim (bug#6829).
8289 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>
8291         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8292         indentation of inserted comment.
8294 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
8296         * faces.el (region): Add type gtk that uses gtk colors.
8298         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8299         Handle theme-name change.
8301 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
8303         * progmodes/sql.el: Version 2.5
8304         (sql-product-alist): Add :prompt-cont-regexp property for several
8305         database products.
8306         (sql-prompt-cont-regexp): New variable.
8307         (sql-output-newline-count, sql-output-by-send):
8308         New variables.  Record number of newlines in input text.
8309         (sql-send-string): Handle multiple filters and count newlines.
8310         (sql-send-magic-terminator): Count terminator newline.
8311         (sql-interactive-remove-continuation-prompt): Filters output to
8312         remove continuation prompts; one for each newline.
8313         (sql-interactive-mode): Set up new variables, prompt regexp and
8314         output filter.
8315         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8316         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8318 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8320         * emacs-lisp/pcase.el: New file.
8322 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
8324         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8325         as here-document, otherwise the command could exceed maximum
8326         length of command line.
8327         (tramp-handle-vc-registered): Call script accordingly.
8328         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8330 2010-08-10  Kenichi Handa  <handa@m17n.org>
8332         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8333         composable pattern.
8335 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
8337         * emacs-lisp/package.el (package-version-split)
8338         (package--version-first-nonzero, package-version-compare):
8339         Functions removed.
8340         (package-directory-list, package-load-all-descriptors)
8341         (package--built-in, package-activate, define-package)
8342         (package-installed-p, package-compute-transaction)
8343         (package-read-all-archive-contents)
8344         (package--add-to-archive-contents, package-buffer-info)
8345         (package-tar-file-info, package-list-packages-internal):
8346         Use version-to-list and version-list-*.
8348         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8349         Use version-to-list.
8350         (package-upload-buffer-internal): Use version-list-<=.
8352 2010-08-09  Kenichi Handa  <handa@m17n.org>
8354         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8355         composable pattern.
8357 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
8359         * tutorial.el (tutorial--default-keys): C-d is now bound to
8360         delete-forward-char (Bug#6826).
8362         * mouse.el (mouse-drag-track): Remove accidentally-removed check
8363         for `double' value of mouse-1-click-follows-link (Bug#6807).
8365 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
8367         * replace.el (replace-highlight): Bind isearch-forward and
8368         isearch-error, ensuring that highlighting is updated if the user
8369         switches the search direction (Bug#6808).
8371         * isearch.el (isearch-lazy-highlight-forward): New var.
8372         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8373         (isearch-lazy-highlight-update): Use it.
8375 2010-08-08  Kenichi Handa  <handa@m17n.org>
8377         * international/mule.el (define-charset): Store NAME as :base property.
8378         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8379         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8380         current priority.  Force using the designation of the specific
8381         charset by adding `charset' text property.  Improve the whole algorithm.
8383 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8385         * emulation/pc-select.el (pc-selection-mode-hook)
8386         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8387         (pc-selection-mode): Fix typos in docstrings.
8389 2010-08-08  Kenichi Handa  <handa@m17n.org>
8391         * language/cyrillic.el: Don't add "microsoft-cp1251" to
8392         ctext-non-standard-encodings-alist here.
8394         * international/mule.el (ctext-non-standard-encodings-alist):
8395         Add "koi8-r" and "microsoft-cp1251".
8396         (ctext-standard-encodings): New variable.
8397         (ctext-non-standard-encodings-table): List only elements for
8398         non-standard encodings.
8399         (ctext-pre-write-conversion): Adjust for the above change.
8400         Check ctext-standard-encodings.
8402         * international/mule-conf.el (compound-text): Doc fix.
8403         (ctext-no-compositions): Doc fix.
8404         (compound-text-with-extensions): Doc fix.
8406 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8408         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8410 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8412         * progmodes/which-func.el (which-func-format): Split help-echo text
8413         into lines, like other mode-line tooltips.
8415         * server.el (server-start): When using TCP sockets, force IPv4
8416         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
8418 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8420         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8422 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8424         * term.el (term-delimiter-argument-list): Reflow docstring.
8425         (term-read-input-ring, term-write-input-ring, term-send-input)
8426         (term-bol, term-erase-in-display, serial-supported-or-barf):
8427         Fix typos in docstrings.
8429 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8431         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8433 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8435         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8437 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
8439         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8440         Fix typo in docstring (bug#6747).
8442 2010-08-08  Leo  <sdl.web@gmail.com>
8444         * eshell/esh-io.el (eshell-get-target): Better detection of
8445         read-only file (Bug#6762).
8447 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8449         * align.el (align-default-spacing): Doc fix.
8450         (align-region-heuristic, align-regexp): Fix typos in docstrings.
8452 2010-08-08  Stephen Peters  <speters@itasoftware.com>
8454         * calendar/icalendar.el
8455         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
8456         (icalendar--get-weekday-numbers): New.
8457         (icalendar--convert-recurring-to-diary): Handle multiple byday
8458         values in weekly rules.  (Bug#6766)
8460 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
8462         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8463         (icalendar--create-uid, icalendar-export-region)
8464         (icalendar--parse-summary-and-rest): Code formatting.
8466 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
8468         * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8469         to italicize headers.
8470         (calc-highlight-selections-with-faces): New variable.
8471         (calc-selected-face, calc-nonselected-face): New faces.
8473         * calc/calccomp.el (math-comp-highlight-string): Use
8474         `calc-highlight-selections-with-faces' to determine how to highlight
8475         sub-formulas.
8477         * calc/calc-sel.el (calc-show-selections): Change message to when
8478         using faces to highlight selections.
8480 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
8482         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8483         Add SQLite 3 keywords, functions and datatypes.
8484         (sql-interactive-mode): Remove `comint-process-echoes' set to t
8485         (Bug#6686).
8487 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
8489         * simple.el (select-active-regions): Move to keyboard.c.
8490         (deactivate-mark): Used saved-region-selection.
8491         (select-active-region): Function removed.
8492         (activate-mark, set-mark, push-mark-command)
8493         (handle-shift-selection): Don't call it.
8494         (keyboard-quit): Avoid adding the region to the window selection.
8496         * mouse.el (mouse-drag-track): Remove hacks to deal with old
8497         select-active-regions implementation.
8498         (mouse-yank-at-click): Doc fix.
8500         * cus-start.el: Add custom declaration for select-active-regions.
8502 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
8504         * simple.el (delete-forward-char): Doc fix.
8506         * tutorial.el (help-with-tutorial): Hack safe file-local variables
8507         after reading the tutorial.
8509 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
8511         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8512         Fix for the case that a C style comment has its delimiters alone on
8513         their respective lines.  (Bug#193)
8515 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
8517         * net/tramp.el (tramp-handle-start-file-process): Set connection
8518         property "vec".
8519         (tramp-process-sentinel): Use it for flushing the cache.
8520         We cannot do it via the process buffer, the buffer could be deleted
8521         already when running the sentinel.
8523 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
8525         * comint.el (comint-mode): Make directory tracking functions
8526         functional on remote files.  (Bug#6764)
8528 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
8530         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8532 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
8534         * emacs-lisp/find-gc.el (find-gc-source-files):
8535         Rename unexec.c => unexcoff.c.
8537         * emacs-lisp/authors.el (authors-fixed-entries):
8538         Rename unexec.c => unexcoff.c.
8540 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
8542         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8543         cache, not only file cache.
8544         (tramp-process-sentinel): New defun.
8545         (tramp-handle-start-file-process): Use it, in order to invalidate
8546         file caches.
8548 2010-08-03  Leo  <sdl.web@gmail.com>
8550         * server.el (server-start): Simplify loop.
8552 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8554         * frame.el (screen-height, screen-width, set-screen-width)
8555         (set-screen-height): Remove ancient compatibility aliases.
8557         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8558         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
8560         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8561         that change current buffer.
8563 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8565         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8566         beginning of the string.  Use `string-match-p'.  (Bug#6765)
8568 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
8570         * cus-start.el (x-gtk-use-system-tooltips): New variable.
8572 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
8574         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8575         (package--builtins): Tweak descriptions.
8576         (package-print-package): Upcase descriptions if necessary.
8577         Show all built-in packages in font-lock-builtin-face.
8578         (package-list-packages-internal): Omit "emacs" package.
8579         Show status of built-in packages as "built-in".
8581 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
8583         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
8584         before killing to preserve the primary selection (Bug#6701).
8586         * term/x-win.el (x-select-text): Doc fix.
8588 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
8590         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8591         (objc-font-lock-extra-types):
8592         * progmodes/cc-mode.el (c-basic-common-init):
8593         * progmodes/cc-langs.el (c-make-mode-syntax-table)
8594         (c++-make-template-syntax-table)
8595         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8596         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8597         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8598         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8599         * progmodes/cc-fonts.el (c-make-inverse-face)
8600         (c-basic-matchers-after):
8601         * progmodes/cc-engine.el (c-forward-keyword-clause)
8602         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8603         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8604         (c-guess-continued-construct, c-guess-basic-syntax):
8605         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8606         The above functions were modified or created.
8608 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
8610         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8612 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
8614         * files.el (bidi-paragraph-direction): Define safe local values.
8616         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8617         language-info-alist.  Remove outdated FIXME in a comment.
8619 2010-07-31  Alan Mackenzie  <acm@muc.de>
8621         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8622         Auto-fill broken in C/C++ modes.
8624 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
8626         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8627         (menu-bar-showhide-tool-bar-menu-customize-disable)
8628         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8629         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8630         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8631         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8632         make a menu for Options => toolbar that can move it.
8634 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
8636         * emacs-lisp/package-x.el (package--make-rss-entry):
8637         (package-maint-add-news-item, package--update-news)
8638         (package-upload-buffer-internal): New arg ARCHIVE-URL.
8640         * emacs-lisp/package.el (package-archive-url): Rename from
8641         package-archive-id.
8642         (package-install): Doc fix.
8643         (package-download-single, package-download-tar, package-install)
8644         (package-menu-view-commentary): Callers changed.
8646 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
8648         * net/tramp.el (tramp-handle-start-file-process): Check only for
8649         `remote-tty' process property.
8650         (tramp-open-shell): Don't check for tty.
8651         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8652         process property.
8654         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8655         host.
8657 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
8659         * emacs-lisp/package.el (package-load-list, package-archives)
8660         (package-archive-contents, package-user-dir)
8661         (package-directory-list, package--builtins, package-alist)
8662         (package-activated-list, package-obsolete-alist): Mark as risky.
8664 2010-07-28  Phil Hagelberg  <phil@evri.com>
8666         Add support for non-default package repositories.
8667         * emacs-lisp/package.el (package-archive-base): Var deleted.
8668         (package-archives): New variable.
8669         (package-archive-contents): Doc fix.
8670         (package-load-descriptor): Do nothing if descriptor file is missing.
8671         (package--write-file-no-coding): New function.
8672         (package-unpack-single): Use it.
8673         (package-archive-id): New function.
8674         (package-download-single, package-download-tar)
8675         (package-menu-view-commentary): Use it.
8676         (package-installed-p): Make second argument optional.
8677         (package-read-all-archive-contents): New function.
8678         (package-initialize): Use it.
8679         (package-read-archive-contents): Add ARCHIVE argument.
8680         (package--add-to-archive-contents): New function.
8681         (package-install): Don't call package-read-archive-contents.
8682         (package--download-one-archive): Store archive file in a
8683         subdirectory of package-user-dir.
8684         (package-menu-execute): Remove spurious line movement.
8686 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
8688         * cus-start.el (tool-bar-style): Add text-image-horiz.
8690 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8692         * progmodes/gud.el (gud-common-init): Check for remoteness of
8693         `file', and not of `default-directory'.
8695 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8697         * net/tramp.el (tramp-methods): Move hostname to the end in all
8698         ssh `tramp-login-args'.
8699         (tramp-verbose): Describe verbose level 9.
8700         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8701         (tramp-open-connection-setup-interactive-shell): Trace stty
8702         settings if `tramp-verbose' >= 9.
8703         (tramp-handle-start-file-process): Implement tty setting.
8704         (Bug#4604, Bug#6360)
8706         * net/tramp-cmds.el (tramp-bug): Recommend setting of
8707         `tramp-verbose' to 9.
8709 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
8711         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8712         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8713         Remove references to package `lisp-re' (bug#4369).
8715 2010-07-27  Tom Tromey  <tromey@redhat.com>
8717         * progmodes/js.el (js-mode):
8718         * progmodes/make-mode.el (makefile-mode):
8719         * progmodes/simula.el (simula-mode):
8720         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8722 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
8724         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8726         * time.el (display-time-day-and-date): Remove spurious * in docstring.
8727         (display-time-world-buffer-name, display-time-world-mode-map):
8728         Fix typos in docstrings.
8730 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
8732         * image-mode.el (image-display-size): New function.
8733         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8734         (image-mode-fit-frame): Use it (Bug#6639).
8736 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
8738         * dired.el (dired-buffers-for-dir): Handle list values of
8739         dired-directory (Bug#6636).
8741 2010-07-26  Sam Steingold  <sds@gnu.org>
8743         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8744         Do not call `x-get-selection' the second time, reuse the value.
8746 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
8748         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8749         which consist of control chars only.  Suggested by Richard Stallman.
8751 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
8753         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8754         exists before passing an error to find-file-not-found-functions
8755         (bug#6723).
8757 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
8759         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8760         Remove leading nil element, adjust values.
8761         (tetris-shapes, tetris-shape-scores):
8762         Change representation of shapes and remove some redundancy.
8763         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8764         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8765         Adjust for working with new representation of shapes.
8766         (tetris-shape-rotations): New function.
8767         (tetris-move-bottom, tetris-move-left, tetris-move-right)
8768         (tetris-rotate-prev, tetris-rotate-next):
8769         Adjust for working with the new version of tetris-test-shape.
8771 2010-07-23  Markus Triska  <markus.triska@gmx.at>
8773         * progmodes/ps-mode.el: Use comint (bug#5954).
8774         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8775         (ps-mode-other-newline): Simplify.
8776         (ps-run-mode): Derive from comint-mode instead of
8777         fundamental-mode, yielding input history etc.
8778         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8779         (ps-run-send-string): Adapt for comint-mode.
8780         (ps-run-newline): Remove now unneeded function.
8782 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8784         * net/tramp.el (tramp-methods): Move hostname to the end in all
8785         plink `tramp-login-args'.
8787 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8789         * net/tramp.el (tramp-open-shell): New defun.
8790         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8791         Use it.
8793 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8795         * net/tramp.el (tramp-file-name-regexp-unified)
8796         (tramp-completion-file-name-regexp-unified): On W32 systems, do
8797         not regard the volume letter as remote filename.  (Bug#5447)
8799 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
8801         * custom.el (custom-declare-variable): Give a clearer error message
8802         when the docstring is missing (bug#6476).
8804 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
8806         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
8807         (sql-login-params): New widget definition.
8808         (sql-oracle-login-params, sql-mysql-login-params)
8809         (sql-solid-login-params, sql-sybase-login-params)
8810         (sql-informix-login-params, sql-ingres-login-params)
8811         (sql-ms-login-params, sql-postgres-login-params)
8812         (sql-interbase-login-params, sql-db2-login-params)
8813         (sql-linter-login-params): Use it.
8814         (sql-sqlite-login-params): Use it; Define "database" parameter as
8815         a file name.
8816         (sql-sqlite-program): Change to "sqlite3".
8817         (sql-comint-sqlite): Make sure database name is complete.
8818         (sql-for-each-login): New function.
8819         (sql-connect, sql-save-connection): Use it.
8820         (sql-get-login-ext): New function.
8821         (sql-get-login): Use it.
8822         (sql-make-alternate-buffer-name): Handle :file parameters.
8824 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
8826         * dired.el (dired-no-confirm): Document value t and fix defcustom to
8827         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
8829 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
8831         * dired.el (dired-mode-map): Use command remapping (bug#6632).
8833 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
8835         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8837 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
8839         * net/tramp.el (tramp-get-ls-command)
8840         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8841         instead of "/".
8843 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
8845         * progmodes/sql.el: Version 2.3.
8846         (sql-connection-alist): Change keys from symbols to strings;
8847         enhanced the widget definition.
8848         (sql-mode-menu): Add submenu to select connections.
8849         (sql-interactive-mode-menu): Add "Save Connection" item.
8850         (sql-add-product): Fix menu item.
8851         (sql-get-product-feature): Improved error handling.
8852         (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8853         (sql-make-alternate-buffer-name): Simplified.
8854         (sql-product-interactive): Handle missing product.
8855         (sql-connect): Support string keys, minor improvements.
8856         (sql-save-connection): New function.
8857         (sql-connection-menu-filter): New function.
8859 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8861         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8862         (tramp-open-connection-setup-interactive-shell):
8863         Apply workaround for IRIX64 bug.  Move argument of last
8864         `tramp-send-command' where it belongs to.
8866 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8868         * net/tramp.el (tramp-perl-file-attributes)
8869         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8870         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8871         front of `login-args'.
8873 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
8875         * time.el (display-time-world-mode): Define with `define-derived-mode'.
8876         Set `show-trailing-whitespace' to nil.
8877         (display-time-world-display): Simplify.
8879 2010-07-18  Alan Mackenzie  <acm@muc.de>
8881         Enhance `c-file-style' in file/directory local variables.
8882         * progmodes/cc-mode.el (c-count-cfss): New function.
8883         (c-before-hack-hook): Call `c-set-style' differently according to
8884         whether c-file-style was set in file or directory local
8885         variables.
8887 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
8889         * progmodes/sql.el: Version 2.2.
8890         (sql-product, sql-user, sql-database, sql-server, sql-port):
8891         Use defcustom :safe keyword rather than putting safe-local-variable
8892         property.
8893         (sql-password): Use defcustom :risky keyword rather than putting
8894         risky-local-variable property.
8895         (sql-oracle-login-params, sql-sqlite-login-params)
8896         (sql-solid-login-params, sql-sybase-login-params)
8897         (sql-informix-login-params, sql-ingres-login-params)
8898         (sql-ms-login-params, sql-postgres-login-params)
8899         (sql-interbase-login-params, sql-db2-login-params)
8900         (sql-linter-login-params): Add `port' option.
8901         (sql-get-product-feature): Add NO-INDIRECT parameter.
8902         (sql-comint-oracle, sql-comint-sybase)
8903         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8904         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8905         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8906         (sql-comint-linter): Rename sql-connect-* functions to
8907         sql-comint-*.
8908         (sql-product-alist, sql-mode-menu): Rename as above and
8909         :sqli-connect-func to :sqli-comint-func.
8910         (sql-connection): New variable.
8911         (sql-interactive-mode): Set it.
8912         (sql-connection-alist): New variable.
8913         (sql-connect): New function.
8914         (sql--alt-buffer-part, sql--alt-if-not-empty)
8915         (sql-make-alternate-buffer-name): Improved alternative buffer name.
8917 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8919         * image-mode.el (image-bookmark-make-record): Do not set context
8920         in an image (Bug#6650).
8922 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8924         * simple.el (select-active-region): New function.
8925         (push-mark-command, set-mark, activate-mark)
8926         (handle-shift-selection): Use it.
8927         (deactivate-mark): Don't check for size of region.
8929         * mouse.el (mouse-drag-track): Use select-active-region.
8931 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
8933         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8934         "--dired" stronger.
8936 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8938         * term/x-win.el (x-select-enable-primary): Change default to nil.
8939         (x-select-enable-clipboard): Add :version keyword.
8941         * mouse.el (mouse-drag-copy-region):
8942         * simple.el (select-active-regions): Likewise.
8944 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
8946         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8947         (vc-coding-system-for-diff): Use it to decide whether to inherit
8948         from the file the EOL format for reading the diffs of that file.
8949         (Bug#4451)
8951 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
8953         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8954         unibyte, so compressed attachments are not compressed again.
8956 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
8958         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8959         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8960         (tramp-find-shell): Simplify setting connection property.
8961         (tramp-get-ls-command): Make test for "--color=never" stronger.
8963 2010-07-15  Simon South  <ssouth@member.fsf.org>
8965         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8966         blocks within record declarations (i.e. variant parts) correctly.
8968 2010-07-15  Simon South  <ssouth@member.fsf.org>
8970         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8971         over literal tokens when parsing so newlines aren't "absorbed" by
8972         single-line comments.  Corrects the indentation of case blocks
8973         that have a comment on the first line.
8975 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
8977         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8978         by Drew Adams (Bug#5504).
8980 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
8982         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8983         now that Unicode is used (Bug#6594).
8985 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
8987         * term/x-win.el (x-select-enable-clipboard): Default to t.
8988         (x-initialize-window-system): Don't overwrite Paste menu item.
8990         * simple.el (select-active-regions): Default to t.
8991         (push-mark-command): Don't overwrite primary with empty string.
8993         * mouse.el: Bind mouse-2 to mouse-yank-primary.
8994         (mouse-drag-copy-region): Default to nil.
8996         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8997         Cut/Copy/Paste menu bar items.
8999 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9001         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9002         Patch applied by Karl Fogel.
9004         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9005         and `bookmark-current-buffer' if they have been already set in
9006         another buffer (e.g gnus-art).
9008 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9009             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9011         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9013         * bookmark.el (bookmark-make-record-default): Allow unneeded
9014         information to be omitted from the record.
9016         Adjust declarations and calls:
9018         * info.el (bookmark-make-record-default): Adjust declaration.
9019         (Info-bookmark-make-record): Adjust call.
9021         * woman.el (bookmark-make-record-default): Adjust declaration.
9022         (woman-bookmark-make-record): Adjust call.
9024         * man.el (bookmark-make-record-default): Adjust declaration.
9025         (Man-bookmark-make-record): Adjust call.
9027         * image-mode.el (bookmark-make-record-default): Adjust declaration.
9029         * doc-view.el (bookmark-make-record-default): Adjust declaration.
9031 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9033         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9034         This is also from Thierry Volpiatto's patch in bug #6444.  However,
9035         because it was extraneous to the functional change in that patch,
9036         and causes a re-indendation, I am committing it separately.
9038 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9040         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9041         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9042         Patch applied by Karl Fogel (Bug#6444).
9044 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
9046         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9048 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
9050         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9051         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
9052         (ns-alternatives-map): Change S-tab binding to backtab
9053         (bug#6616).
9055         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9056         under ns.
9058 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
9060         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9061         (Bug#5806)
9063         * language/tv-util.el (tai-viet-re): Remove format.
9065 2010-07-12  Kenichi Handa  <handa@m17n.org>
9067         * language/hebrew.el: Remove no-byte-compile declaration.
9068         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
9069         composition-function-table for 3-character looking back.
9070         (hebrew-font-get-precomposed): New function.
9071         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9073 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
9075         * mouse.el (mouse-drag-track): Handle select-active-regions
9076         (Bug#6612).
9078 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
9080         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9081         empty argument to gvfs-copy.
9083 2010-07-10  Glenn Morris  <rgm@gnu.org>
9085         * calendar/calendar.el (calendar-week-end-day): New function.
9086         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9087         Respect calendar-week-start-day.  (Bug#6606)
9088         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9089         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9090         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9091         respect calendar-week-start-day.
9093 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
9095         * simple.el (use-region-p): Doc fix (Bug#6607).
9097 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
9099         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9100         Add regexps for cucumber and ruby.
9102 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
9104         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9105         (epa-file-insert-file-contents): Hack to prevent
9106         find-file from opening empty buffer when decryption failed
9107         (bug#6568).
9109 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
9111         * textmodes/ispell.el (ispell-alternate-dictionary):
9112         Use file-readable-p.
9113         Return nil if no word-list is found at default locations.
9114         (ispell-complete-word-dict): Default to nil.
9115         (ispell-command-loop): Use 'word-list' when using lookup-words.
9116         (lookup-words): Use ispell-complete-word-dict or
9117         ispell-alternate-dictionary.  Check for word-list availability
9118         and handle errors if needed with better messages (Bug#6539).
9119         (ispell-complete-word): Use ispell-complete-word-dict or
9120         ispell-alternate-dictionary.
9122 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
9124         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9125         builtins (BufferError, BytesWarning, WindowsError; callables
9126         bin, bytearray, bytes, format, memoryview, next, print; __package__).
9128 2010-07-07  Glenn Morris  <rgm@gnu.org>
9130         * play/zone.el (top-level): Do not require timer, tabify, or cl.
9131         (zone-shift-left): Ignore intangibility, and any errors from
9132         forward-char.
9133         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
9134         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9135         deleting, and copying text properties.
9136         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9137         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9138         to point-max is hard.
9139         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9140         (zone-fill-out-screen): Ignore intangibility.
9142 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
9144         * menu-bar.el (menu-bar-mode):
9145         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9146         if it has been set.
9148         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9149         word/line selection (Bug#6565).
9151 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
9153         * net/dbus.el (dbus-send-signal): Declare function.
9155 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
9157         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9158         (dbus-register-property): New optional argument EMITS-SIGNAL.
9159         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9161 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
9163         * mouse.el (mouse-drag-overlay): Variable deleted.
9164         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9165         (mouse--remap-link-click-p): New function.
9166         (mouse-drag-track): Handle dragging by using temporary Transient
9167         Mark mode, instead of a special overlay.
9168         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9169         mouse-show-mark.
9171         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9172         deleted.
9174 2010-07-02  Juri Linkov  <juri@jurta.org>
9176         * autoinsert.el (auto-insert-alist): Fix readability
9177         by using dotted pair notation for lambda.
9179 2010-07-02  Juri Linkov  <juri@jurta.org>
9181         * faces.el (read-face-name): Rename arg `string-describing-default'
9182         to `default'.  Doc fix.  Display the default value in quotes
9183         in the prompt.  With empty input, return the `default' arg,
9184         unless the default value is a string (in which case return nil).
9185         (describe-face): Replace the string `default' arg of `read-face-name'
9186         with the symbol `default'.
9188 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
9190         * emulation/viper-cmd.el (viper-delete-backward-char)
9191         (viper-del-backward-char-in-insert)
9192         (viper-del-backward-char-in-replace, viper-change)
9193         (viper-backward-indent): Replace delete-backward-char with
9194         delete-char (Bug#6552).
9196 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
9198         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9200 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9202         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9203         argument passed to frame-creation-function (Bug#5378).
9205         * faces.el (x-handle-named-frame-geometry)
9206         (x-handle-reverse-video, x-create-frame-with-faces)
9207         (face-set-after-frame-default, tty-create-frame-with-faces):
9208         Don't separately consult default-frame-alist.  It is now passed as the
9209         PARAMETER argument.
9211 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
9213         * startup.el (command-line): Don't call tool-bar-setup in a
9214         tty-only build.
9216 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9218         * ruler-mode.el (ruler--save-header-line-format): New fun.
9219         (ruler-mode): Use it as a setter function, so as not to overwrite
9220         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9222 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
9224         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
9225         (vc-root-diff, vc-print-root-log, vc-log-incoming)
9226         (vc-log-outgoing): Use it.
9227         (vc-diff-internal): Set diff-vc-backend.
9229         * vc/diff-mode.el (diff-vc-backend): New var.
9231 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
9233         * dynamic-setting.el (font-setting-change-default-font):
9234         Remove call to message.
9236 2010-06-28  Kenichi Handa  <handa@m17n.org>
9238         * international/quail.el (quail-insert-kbd-layout): Fix the
9239         showing of untranslated characters.
9241 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
9243         * simple.el (delete-active-region): New option.
9244         (delete-backward-char): Implement in Lisp.
9245         (delete-forward-char): New command.
9247         * mouse.el (mouse-region-delete-keys): Delete.
9248         (mouse-show-mark): Simplify.
9250         * bindings.el (global-map): Bind delete and DEL, the former to
9251         delete-forward-char.
9253 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
9255         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9256         (ruby-mode): Bind indent-line-function (Bug#5119).
9258 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9260         * startup.el (command-line): Recognize "0" X resource value.
9262 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9264         * startup.el (command-line): Use X resources to set the value of
9265         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9267         * menu-bar.el (menu-bar-mode):
9268         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9269         Set init-value to t.
9271         * frame.el (frame-notice-user-settings): Don't change
9272         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9273         vice versa (Bug#2249).
9275 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
9277         * w32-fns.el (w32-convert-standard-filename): Doc fix.
9279 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
9281         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9282         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9284         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9285         default directories are expanded (Bug#6143).
9287 2010-06-24  Juri Linkov  <juri@jurta.org>
9289         * minibuffer.el (completions-format): Change default from nil to
9290         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
9292 2010-06-24  Juri Linkov  <juri@jurta.org>
9294         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9295         buffer-locally to lambda that re-runs the vc diff command.
9296         (Bug#6447)
9298 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
9300         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9301         echo area is in use (Bug#3412).
9303 2010-06-22  Glenn Morris  <rgm@gnu.org>
9305         * textmodes/texinfmt.el (texinfo-format-region)
9306         (texinfo-raise-lower-sections, texinfo-format-separate-node)
9307         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9308         (texinfo-format-option, texinfo-noindent):
9309         Use line-beginning-position and line-end-position.
9311         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9312         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9313         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9314         utf-8 characters.
9316 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
9318         * play/zone.el (zone-fall-through-ws): Fix next-line ->
9319         forward-line fallout.
9321 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
9323         * mouse.el (mouse-appearance-menu): Add docstring.
9325         * help.el (describe-key): Print up-event using key-description.
9327 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
9329         * net/zeroconf.el (zeroconf-resolve-service)
9330         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9331         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9333 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
9335         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9337 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
9339         Avoid displaying files with a nil state in vc-dir.
9340         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9341         cases that cause insertion.
9342         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9343         with a nil state.
9345 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9347         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9349 2010-06-29  Leo  <sdl.web@gmail.com>
9351         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
9353 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9355         * generic-x.el (bat-generic-mode): Fix regexp for command line
9356         switches (Bug#5719).
9358 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
9360         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9361         of nconc to avoid pure storage error (Bug#6239).
9363 2010-06-27  Christoph Scholtes  <cschol2112@googlemail.com>
9365         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9366         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9367         bindings of bookmark-automatically-show-annotations (Bug#6515).
9369 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
9371         * arc-mode.el (archive-zip-extract): Don't quote the file name on
9372         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
9374 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9376         * comint.el (make-comint, make-comint-in-buffer): Mention return
9377         value in the docstrings.  (Bug#6498)
9379 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
9381         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9382         since it is not present when using some non-default switches.
9384 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
9386         * simple.el (compose-mail): Fix doc string to refer to
9387         `compose-mail-user-agent-warnings', instead of to the
9388         nonexistent `compose-mail-check-user-agent'.
9390 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
9392         Fix an indentation bug:
9394         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9395         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9396         of existing values.
9398         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9399         (c-clear->-pair-props-if-match-before): now return t when they've
9400         cleared properties, nil otherwise.
9401         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9402         by taking account of the existing value.
9404         * progmodes/cc-defs.el
9405         (c-clear-char-property-with-value-function): Fix this to clear the
9406         property rather than overwriting it with nil.
9408 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
9410         * emacs-lisp/package.el (package-print-package): Add link to
9411         package description via describe-package.
9412         (describe-package-1): List package requirements.  Add button to
9413         perform installation.
9414         (package-menu-describe-package): New command.
9416         * help-mode.el (help-package): New button type.
9418 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
9420         * emacs-lisp/package.el: Move package-list-packages binding to
9421         menu-bar.el.
9422         (describe-package, describe-package-1, package--dir): New funs.
9423         (package-activate-1): Use package--dir.
9425         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9427         * help-mode.el (help-package-def): New button type.
9429         * menu-bar.el: Move package-list-packages binding here from
9430         package.el.
9432 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
9434         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
9436 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9438         * emacs-lisp/edebug.el (edebug-read-list):
9439         Phase out old-style backquotes.
9441 2010-06-17  Juri Linkov  <juri@jurta.org>
9443         * help-mode.el (help-mode): Set buffer-local variable
9444         revert-buffer-function to help-mode-revert-buffer.
9445         (help-mode-revert-buffer): New function.
9447         * info.el (Info-revert-find-node): Check for major-mode Info-mode
9448         before popping to "*info*" (like in other Info functions).
9449         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
9450         old-history-forward.  Pop to old-buffer-name or "*info*" to
9451         recreate the killed buffer.  Set Info-history-forward from
9452         old-history-forward.
9453         (Info-breadcrumbs-depth): Add :group and :version.
9455 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
9457         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9459 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
9461         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9462         for languages like Portuguese with pt_{BR,PT} and no plain pt.
9464 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
9466         * emacs-lisp/package.el (package-menu-mode-map):
9467         Move initialization into declaration.
9469         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9471 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
9473         * emacs-lisp/package.el (package-archive-base): Point to
9474         elpa.gnu.org.
9475         (package-enable, package-load-list): New defcustoms.
9476         (package-user-dir, package-directory-list): Turn into defcustoms.
9477         Don't include package-user-dir in package-directory-list.
9478         (package--builtins-base): Don't include Emacs as a "package".
9479         (package-subdirectory-regexp): New var.
9480         (package-load-all-descriptors, package-compute-transaction)
9481         (package-download-transaction): Obey package-load-list.
9482         (package-activate-1): Rename from package-do-activate.
9483         (package-list-packages-internal): Check package-load-list.
9484         (package-load-descriptor, package-generate-autoloads)
9485         (package-unpack, package-unpack-single)
9486         (package--read-archive-file, package-delete):
9487         Use expand-file-name.
9489         * emacs-lisp/package-x.el: New file.  Package uploading
9490         functionality split out from package.el.
9492         * startup.el (command-line): Load packages after reading init file.
9494 2010-06-17  Tom Tromey  <tromey@redhat.com>
9496         * emacs-lisp/package.el: New file.
9498 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9500         Fix vc-annotate for renamed files when using Git.
9501         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9502         ls-files.  Doe not pass the object as a file name to cat-file, it
9503         is not a file name.
9504         (vc-git-annotate-command): Pass the file name using -- to avoid
9505         ambiguity with the revision.
9506         (vc-git-previous-revision): Pass a relative file name.
9508 2010-06-22  Glenn Morris  <rgm@gnu.org>
9510         * progmodes/js.el (js-mode-map): Use standard capitalization and
9511         ellipses for menu entries.
9513         * wid-edit.el (widget-complete): Doc fix.
9515 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
9517         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9519 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9521         Fix annotating other revisions for renamed files in vc-annotate.
9522         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9523         VC backend.  Use it when non-nil.
9524         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9525         (Bug#6487).
9527         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9528         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9529         Do not pass the file name to the 'previous-revision call when we
9530         don't want a file diff.  (Bug#6489)
9532 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9534         Fix finding revisions for renamed files in vc-annotate.
9535         * vc/vc.el (vc-find-revision): Add an optional argument for
9536         the VC backend.  Use it when non-nil.
9537         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9538         backend to vc-find-revision.  (Bug#6487)
9540 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9542         Fix reading file names in Git annotate buffers.
9543         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9544         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
9546 2010-06-20  Alan Mackenzie  <acm@muc.de>
9548         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9549         in file local variables, set it first.
9551 2010-06-19  Glenn Morris  <rgm@gnu.org>
9553         * descr-text.el (describe-char-unicode-data): Insert separating
9554         space when needed.  (Bug#6422)
9556         * progmodes/idlwave.el (idlwave-action-and-binding):
9557         Fix typo in 2009-12-03 change.  (Bug#6450)
9559 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9561         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9562         handling for `lambda' (misunderstanding).
9564 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
9566         * calc/calc-poly.el (math-accum-factors): Make sure that
9567         constants aren't distributed after they are factored out.
9569 2010-06-16  Juri Linkov  <juri@jurta.org>
9571         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9572         `list-colors-print'.  (Bug#6332)
9574         * subr.el (read-quoted-char): Fix up last change (bug#6290).
9576 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9578         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9579         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
9581         * font-lock.el (font-lock-major-mode): Rename from
9582         font-lock-mode-major-mode to distinguish it from
9583         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9584         (font-lock-set-defaults):
9585         * font-core.el (font-lock-default-function): Adjust users.
9586         (font-lock-mode): Don't set it at all.
9588 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9590         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9592 2010-06-16  Glenn Morris  <rgm@gnu.org>
9594         * calendar/appt.el (appt-time-msg-list): Doc fix.
9595         (appt-check): Let-bind appt-warn-time.
9596         (appt-add): Make the 3rd argument optional.
9597         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
9598         Only add WARNTIME to the output list if non-nil.
9600 2010-06-16  Ivan Kanis  <apple@kanis.eu>
9602         * calendar/appt.el (appt-check): Let the 3rd element of
9603         appt-time-msg-list specify the warning time.
9604         (appt-add): Add new argument with the warning time.  (Bug#5176)
9606 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9608         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9609         older than version 1.6.  (Bug#6361)
9611 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
9613         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9614         used by cl-do-arglist.  (Bug#6408)
9616 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
9618         * textmodes/ispell.el (ispell-dictionary-base-alist):
9619         Fix portuguese casechars/not-casechars for missing 'çÇ'.
9620         Suggested by Rolando Pereira (bug#6434).
9622 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
9624         * facemenu.el (list-colors-sort): Doc fix.
9626 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9628         * progmodes/sql.el (sql-connect-mysql): Fix typo.
9630 2010-06-14  Juri Linkov  <juri@jurta.org>
9632         Add sort option `list-colors-sort'.  (Bug#6332)
9633         * facemenu.el (color-rgb-to-hsv): New function.
9634         (list-colors-sort): New defcustom.
9635         (list-colors-sort-key): New function.
9636         (list-colors-display): Doc fix.  Sort list according to the option
9637         `list-colors-sort'.
9638         (list-colors-print): Add HSV values to `help-echo' property of
9639         RGB strings.
9641 2010-06-14  Juri Linkov  <juri@jurta.org>
9643         * compare-w.el: Move to the "vc" subdirectory.
9645 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9647         * image-mode.el (image-mode-map): Remap left-char and right-char.
9649         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9651 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
9653         * term/common-win.el (x-colors): Add all the color names defined
9654         in rgb.txt (Bug#6332).
9656         * facemenu.el (list-colors-print): Don't print extra names if it
9657         will overflow the window width.
9659         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9660         change (Bug#6343).
9662 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
9664         * files.el (make-directory): Doc fix (bug#6396).
9666 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
9668         * net/tramp.el (tramp-remote-process-environment): Protect version
9669         string by apostroph.
9670         (tramp-shell-prompt-pattern): Do not use a shy group in case of
9671         XEmacs.
9672         (tramp-file-name-for-operation): Add `call-process-region'.
9673         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9675         * net/tramp-compat.el (top): Do not autoload
9676         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
9677         only when `start-file-process' is not bound.
9678         (tramp-advice-file-expand-wildcards): Do not use
9679         `tramp-handle-file-remote-p'.
9680         (tramp-compat-make-temp-file): Handle the case, that
9681         `make-temp-file' has no third argument EXTENSION.
9683 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
9685         * makefile.w32-in (WINS_BASIC): Include new directory vc.
9687         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9689 2010-06-11  Juri Linkov  <juri@jurta.org>
9691         * finder.el (finder-known-keywords): Add keyword "vc"
9692         for version control.
9694         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9695         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9696         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9697         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9699 2010-06-11  Juri Linkov  <juri@jurta.org>
9701         Move version control related files to the "vc" subdirectory.
9702         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9703         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9704         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9705         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9706         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9707         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9708         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9709         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9710         Move files to the "vc" subdirectory.
9712 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
9714         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9715         (Bug#6367).
9717 2010-06-11  Stephen Eglen  <stephen@gnu.org>
9719         * shell.el: Bind `shell-resync-dirs' to M-RET.
9721 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
9723         * notifications.el: Move file from lisp/net, because it is
9724         supposed to talk locally to the user.
9726 2010-06-10  Julien Danjou  <julien@danjou.info>
9728         * net/notifications.el (notifications-on-action-signal)
9729         (notifications-on-closed-signal): Pass notification id as first
9730         argument to the callback functions.  Add docstrings.
9731         (notifications-notify): Fix docstring.
9733 2010-06-10  Glenn Morris  <rgm@gnu.org>
9735         * emacs-lisp/authors.el (authors-ignored-files)
9736         (authors-valid-file-names): Add some files.
9738 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9740         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9741         merge conflict, giving preference to the emacs-23 version of the code.
9743 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9745         * emacs-lisp/advice.el (ad-compile-function):
9746         Define warning-suppress-types before we let-bind it (bug#6275).
9748         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9749         declare it, make it buffer-local and permanent-local (bug#6324).
9750         (vc-resynch-window): Adjust name.
9751         * vc-hooks.el (vc-find-file-hook): Adjust name.
9753 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
9755         * net/notifications.el (notifications-notify): Fix docstring.
9757 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9759         Update to Unicode 6.0.0 beta.
9760         * international/charprop.el: Update copyright.
9761         * international/mule-cmds.el (ucs-names): Update character ranges.
9762         * international/uni-bidi.el:
9763         * international/uni-category.el:
9764         * international/uni-combining.el:
9765         * international/uni-comment.el:
9766         * international/uni-decimal.el:
9767         * international/uni-decomposition.el:
9768         * international/uni-digit.el:
9769         * international/uni-lowercase.el:
9770         * international/uni-mirrored.el:
9771         * international/uni-name.el:
9772         * international/uni-numeric.el:
9773         * international/uni-old-name.el:
9774         * international/uni-titlecase.el:
9775         * international/uni-uppercase.el: Regenerate.
9777 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9779         * emacs-lisp/smie.el (comment-string-strip): Declare function.
9780         (smie-precs-precedence-table): Fix typo in docstring.
9782         * vc-mtn.el (log-edit-extract-headers): Declare function.
9784         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9786         * net/notifications.el (dbus-register-signal): Declare function.
9787         (notifications-notify): Fix typos and reflow docstring.
9789 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9791         Improve VC create/retrieve tag/branch.
9792         * vc.el (vc-create-tag): Do not read the directory name for VCs
9793         with repository revision granularity.  Adjust the tag/branch
9794         prompt.  Reset VC properties.
9795         (vc-retrieve-tag): Do not read the directory name for VCs
9796         with repository revision granularity.  Reset VC properties.
9798 2010-06-09  Julien Danjou  <julien@danjou.info>
9800         * net/notifications.el: New file.
9802 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9804         Add optional support for resetting VC properties.
9805         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9806         call vc-file-clearprops when true.
9807         (vc-resynch-buffer): Add new optional argument, pass it down.
9808         (vc-resynch-buffers-in-directory): Likewise.
9810         Improve support for special markup in the VC commit message.
9811         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9812         * vc-hg.el (vc-hg-checkin): Add support for Date:.
9813         * vc-git.el (vc-git-checkin):
9814         * vc-bzr.el (vc-bzr-checkin): Likewise.
9816 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9818         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9819         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9821 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
9823         * iimage.el: Remove images as soon as the underlying text is modified.
9824         (iimage-modification-hook): New function.
9825         (iimage-mode-buffer): Use it.
9827 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9829         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9830         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
9831         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
9832         (smie-indent-keyword): Add handling of open-paren keywords.
9833         (smie-indent-comment-continue): Don't assume comment-continue.
9835 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
9837         * window.el (pop-to-buffer): Remove the conditional that
9838         compares new-window and old-window, so it will reselect
9839         the selected window unconditionally.
9840         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9842 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9844         * emacs-lisp/smie.el (smie-indent-offset-after)
9845         (smie-indent-forward-token, smie-indent-backward-token): New functions.
9846         (smie-indent-after-keyword): Use them.
9847         (smie-indent-fixindent): Only applies to the indentation of the BOL.
9848         (smie-indent-keyword): Tweak the black magic.
9849         (smie-indent-comment-continue): Strip comment-continue before use.
9850         (smie-indent-functions): Indent comments before keywords.
9852 2010-06-06  Juri Linkov  <juri@jurta.org>
9854         * isearch.el (isearch-lazy-highlight-search): Fix looping
9855         by checking for empty match.  This syncs this loop with the
9856         similar loop in `isearch-search'.  (Bug#6362)
9858 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
9860         * net/dbus.el (dbus-register-method): Declare function.
9861         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9862         (dbus-introspect): Doc fix.
9863         (dbus-event-bus-name, dbus-introspect-get-interface)
9864         (dbus-introspect-get-argument): Reflow docstrings.
9866 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
9868         vc-log-incoming/vc-log-outgoing fixes for Git.
9869         * vc-git.el (vc-git-log-view-mode): Fix font lock for
9870         incoming/outgoing logs.
9871         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9872         instead of vc-git-compute-remote.
9873         (vc-git-compute-remote): Remove.
9875 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
9877         * term/common-win.el (x-colors): Add "dark green" and "dark
9878         turquoise" (Bug#6332).
9880 2010-06-04  Juri Linkov  <juri@jurta.org>
9882         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9883         Instead of setting `replace' to t and replacing the same string
9884         with itself, don't do certain actions when
9885         kill-do-not-save-duplicates is non-nil and string is equal to car
9886         of kill-ring: don't call menu-bar-update-yank-menu, don't push
9887         interprogram-paste strings to kill-ring, and don't push the input
9888         argument `string' to kill-ring.
9889         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9891 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9893         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9895 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
9897         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9898         (tramp-gvfs-handler-mounted-unmounted)
9899         (tramp-gvfs-connection-mounted-p): Handle default-location.
9901         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9902         move files to trash.
9904 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9906         * international/mule-cmds.el (nonascii-insert-offset)
9907         (nonascii-translation-table): Add obsolescence information.
9909         * international/mule.el (make-translation-table-from-vector): Doc fix.
9911 2010-06-03  Glenn Morris  <rgm@gnu.org>
9913         * desktop.el (desktop-clear-preserve-buffers):
9914         Add "*Warnings*" buffer.  (Bug#6336)
9916 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
9918         vc-log-incoming/vc-log-outgoing improvements for Git.
9919         * vc-git.el (vc-git-log-outgoing): Use the same format as the
9920         short log.
9921         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
9923         Add bindings for vc-log-incoming and vc-log-outgoing.
9924         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9925         and vc-log-outgoing.
9926         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9927         and vc-log-outgoing.
9929 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9931         * net/rcirc.el (rcirc-sort-nicknames): Remove.
9932         (rcirc-handler-366): Always sort nicknames.
9934 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
9936         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9938 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9940         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9942 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9944         * net/rcirc.el (rcirc-sort-nicknames): Change default.
9945         (rcirc-sort-nicknames-join): Avoid setq.
9947 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
9949         * net/rcirc.el (rcirc-sort-nicknames): New custom.
9950         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9951         (rcirc-handler-366): Use them.
9953 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9955         Split smie-indent-calculate into more manageable chunks.
9956         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9957         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9958         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9959         (smie-indent-exps): Extract from smie-indent-calculate.
9960         (smie-indent-functions): New var.
9961         (smie-indent-functions): Use them.
9963 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9965         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9966         (smie-indent-calculate): Simplify and cleanup.
9968 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
9970         * net/tramp-gvfs.el (top): Require url-util.
9971         (tramp-gvfs-mount-point): Remove.
9972         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9973         New defuns.
9974         (with-tramp-dbus-call-method): Format trace message.
9975         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9976         Implement backup call, when operation on local files fails.
9977         Use progress reporter.  Flush properties of changed files.
9978         (tramp-gvfs-handle-make-directory): Make more traces.
9979         (tramp-gvfs-url-file-name): Hexify file name in url.
9980         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9981         into account for the resulting file name.
9982         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9983         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
9984         (tramp-gvfs-handler-mounted-unmounted)
9985         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9986         attribute "default_location".  Set "prefix" property.
9987         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9988         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9989         exists.  Raise an error, if not (due to a corresponding answer
9990         "no" in interactive questions, for example).
9992 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
9994         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9996 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
9998         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9999         right-*.  (Bug#6265)
10001 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
10003         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10004         * vc-git.el (vc-git-compute-remote): New function.
10005         (vc-git-log-outgoing): Use it instead of hard coding a value.
10006         (vc-git-log-incoming): New function.
10008         Improve state updating for VC tag commands.
10009         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10010         to update the state of all buffers in the directory.
10012         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10014 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10016         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10017         `file-directory-p' to the filename part rather than to the whole text.
10019 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10021         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10023 2010-05-31  Drew Adams  <drew.adams@oracle.com>
10025         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10027 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
10029         * subr.el (momentary-string-display): Just use read-event to read
10030         the exit event (Bug#6238).
10032 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
10034         * international/mule.el (define-coding-system): Doc fix (bug#6313).
10036 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10038         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10039         Suggested by Eli Zaretskii <eliz@gnu.org>.
10041 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10043         * minibuffer.el (completion-file-name-table): Don't return a boundary
10044         past the end of `string' (bug#6299).
10045         (completion--file-name-table): Delegate to completion-file-name-table
10046         for the `boundaries' case.
10048 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10050         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10051         movement commands.
10053         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10054         `path-separator', but maintain compatibility with Emacs 20.2.
10056 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10058         * server.el (server-process-filter): Receive parent-id argument
10059         from emacsclient.
10060         (server-create-window-system-frame): New arg.  Pass parent-id as
10061         frame parameter.
10063 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
10065         Bidi-sensitive word movement with arrow keys.
10066         * subr.el (right-arrow-command, left-arrow-command): Move to
10067         bindings.el.
10069         * bindings.el (right-char, left-char): Move from subr.el and
10070         rename from right-arrow-command and left-arrow-command.
10071         (right-word, left-word): New functions.
10072         (global-map) <right>: Bind to right-char.
10073         (global-map) <left>: Bind to left-char.
10074         (global-map) <C-right>: Bind to right-word.
10075         (global-map) <C-left>: Bind to left-word.
10077         * ls-lisp.el (ls-lisp-classify-file): New function.
10078         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10079         (ls-lisp-classify): Call ls-lisp-classify-file.
10080         (insert-directory): Remove blanks from switches.
10082 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10084         * ansi-color.el: Delete unused escape sequences (Bug#6085).
10085         (ansi-color-drop-regexp): New constant.
10086         (ansi-color-apply, ansi-color-filter-region)
10087         (ansi-color-apply-on-region): Delete unrecognized control sequences.
10088         (ansi-color-apply): Build string list before calling concat.
10090 2010-05-28  Juri Linkov  <juri@jurta.org>
10092         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10093         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10094         (Bug#5270)
10096 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10098         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10099         to ignored backtrace functions.
10100         (with-progress-reporter): Expand docstring.
10101         (tramp-handle-delete-file): Implement TRASH argument.
10102         (tramp-get-remote-trash): New defun.
10104 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10106         * net/tramp-compat.el (tramp-compat-delete-file):
10107         Use `symbol-value' for backward compatibility.
10109         * net/tramp.el (tramp-handle-make-symbolic-link)
10110         (tramp-handle-load)
10111         (tramp-do-copy-or-rename-file-via-buffer)
10112         (tramp-do-copy-or-rename-file-directly)
10113         (tramp-do-copy-or-rename-file-out-of-band)
10114         (tramp-handle-process-file, tramp-handle-call-process-region)
10115         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10116         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10117         (tramp-delete-temp-file-function): Use `delete-file' instead
10118         of `tramp-compat-delete-file'.
10120         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10121         (tramp-fish-handle-make-symbolic-link)
10122         (tramp-fish-handle-process-file): Use `delete-file' instead
10123         of `tramp-compat-delete-file'.
10125         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10126         Use `delete-file' instead of `tramp-compat-delete-file'.
10128         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10129         `delete-file' instead of `tramp-compat-delete-file'.
10131         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10132         Use `delete-file' instead of `tramp-compat-delete-file'.
10134         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10135         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10136         (tramp-smb-handle-write-region): Use `delete-file' instead of
10137         `tramp-compat-delete-file'.
10138         (tramp-smb-handle-delete-directory): Use 'trash as arg.
10140 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10142         * dired.el (dired-delete-file): New arg TRASH.
10143         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
10144         (dired-do-flagged-delete, dired-do-delete): Use trash.
10146         * speedbar.el (speedbar-item-delete): Allow trashing.
10148         * files.el (delete-directory): New arg TRASH.
10150         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10151         (ange-ftp-rename-remote-to-remote)
10152         (ange-ftp-rename-local-to-remote)
10153         (ange-ftp-rename-remote-to-local, ange-ftp-load)
10154         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10155         `delete-file'.
10156         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10157         allow trashing.
10159         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10160         handle new TRASH arg of `delete-file'.
10162         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10163         (tramp-handle-make-symbolic-link, tramp-handle-load)
10164         (tramp-do-copy-or-rename-file-via-buffer)
10165         (tramp-do-copy-or-rename-file-directly)
10166         (tramp-do-copy-or-rename-file-out-of-band)
10167         (tramp-handle-process-file, tramp-handle-call-process-region)
10168         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10169         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10170         (tramp-delete-temp-file-function): Use null TRASH arg in
10171         tramp-compat-delete-file call.
10173         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10174         (tramp-fish-handle-delete-file)
10175         (tramp-fish-handle-make-symbolic-link)
10176         (tramp-fish-handle-process-file): Use null TRASH arg in
10177         `tramp-compat-delete-file' call.
10179         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10180         arg in `tramp-compat-delete-file' call.
10182         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10183         (tramp-gvfs-handle-write-region): Use null TRASH arg in
10184         `tramp-compat-delete-file' call.
10186         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10187         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10188         `tramp-compat-delete-file' call.
10190         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10191         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10192         (tramp-smb-handle-write-region): Use null TRASH arg in
10193         tramp-compat-delete-file call.
10194         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10195         (tramp-smb-handle-delete-file): Rename arg.
10197         * diff.el (diff-sentinel):
10198         * epg.el (epg--make-temp-file, epg-decrypt-string)
10199         (epg-verify-string, epg-sign-string, epg-encrypt-string):
10200         * jka-compr.el (jka-compr-partial-uncompress)
10201         (jka-compr-call-process, jka-compr-write-region):
10202         * server.el (server-sentinel): Remove optional arg from
10203         delete-file, reverting 2010-05-03 change.
10205 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10207         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10208         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10210 2010-05-27  Kenichi Handa  <handa@m17n.org>
10212         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10213         element of GSTRING is nil.
10215 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10217         * emacs-lisp/smie.el (smie-forward-token-function)
10218         (smie-backward-token-function): New vars.
10219         (smie-backward-sexp, smie-forward-sexp)
10220         (smie-indent-hanging-p, smie-indent-calculate): Use them.
10221         (smie-default-backward-token): Rename from smie-backward-token and
10222         skip comments.
10223         (smie-default-forward-token): Rename from smie-forward-token and
10224         skip comments.
10225         (smie-next-sexp): Handle nil results from next-token.
10226         (smie-indent-calculate): Add a new case for special `fixindent' comments.
10228 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10230         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10231         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10233 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
10235         * htmlfontify.el (hfy-face-resolve-face): New function.
10236         (hfy-face-to-style): Use it (Bug#6279).
10238 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10240         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10241         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10243 2010-05-26  Glenn Morris  <rgm@gnu.org>
10245         * emulation/edt.el (edt-load-keys): Use locate-library.
10247 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
10249         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10250         (log-edit-changelog-entries): Doc fix.
10251         (log-edit-changelog-insert-entries): Args changed.
10252         Rename relative filenames in ChangeLog entries.  Delete tabs.
10253         (log-edit-insert-changelog-entries): Reorganize return value of
10254         `log-edit-changelog-entries' to pass filenames to
10255         log-edit-changelog-insert-entries.
10257 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10259         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10260         `image-dired-dired-insert-marked-thumbs' to
10261         `image-dired-dired-toggle-marked-thumbs'.
10263         * image-dired.el: Require cl when compiling.
10264         (image-dired-dired-toggle-marked-thumbs): Rename from
10265         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
10266         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
10267         to 'no-dir.  Skip files whose names don't match
10268         `image-file-name-regexp'.  When file has a thumbnail overlay,
10269         delete it.  (Bug#5270)
10271 2010-05-25  Juri Linkov  <juri@jurta.org>
10273         * image-mode.el (image-mode): Add image-after-revert-hook to
10274         after-revert-hook.
10275         (image-after-revert-hook): New function.  (Bug#5669)
10277 2010-05-25  Juri Linkov  <juri@jurta.org>
10279         * image.el (image-animated-p): When delay between animated images
10280         is 0, set it to 10 (0.1 sec).  (Bug#6258)
10282 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
10284         * net/tramp.el (tramp-handle-insert-directory): Don't use
10285         `forward-word', its default syntax could be changed.
10287 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
10289         * net/tramp.el (tramp-progress-reporter-update): New defun.
10290         (with-progress-reporter): Use it.
10291         (tramp-process-actions):
10292         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10293         Preserve current message, in order to let progress reporter continue
10294         afterwards.  (Bug#6257)
10296 2010-05-25  Glenn Morris  <rgm@gnu.org>
10298         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10299         Add :version.
10301 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10303         * net/rcirc.el (rcirc-default-user-name): Change to "user".
10304         (rcirc-default-full-name): Change to "unknown".
10305         (rcirc-user-name-history): Add variable.
10307 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10308             Jonathan Rockway  <jon@jrock.us>
10310         * net/rcirc.el (rcirc-server-alist): Add :pass.
10311         (rcirc): When prompting for connection parameters, also prompt for
10312         username and password.
10313         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
10314         value to server when connecting.
10316 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10318         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10319         (smie-merge-prec2s): Pass the tables as separate args.
10320         (smie-bnf-precedence-table): Adjust call accordingly.
10321         (smie-prec2-levels): Set levels at the end.
10323         Replace Lisp calls to delete-backward-char by delete-char.
10324         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10325         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10326         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10327         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10328         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10329         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10330         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10331         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10332         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10333         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10334         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10335         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10336         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10337         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10338         delete-backward-char by calls to delete-char.
10340 2010-05-25  Kenichi Handa  <handa@m17n.org>
10342         * language/hebrew.el (hebrew-shape-gstring): New function.
10343         Register it in composition-function-table for all Hebrew combining
10344         characters.
10346 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10348         * epa.el (epa--select-keys): Don't explicitly delete the window since
10349         that can fail (e.g. sole window in frame).  Use dedication instead.
10351 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10353         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10355 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
10357         * image.el (image-refresh): Define as an alias for image-flush.
10359         * image-mode.el (image-toggle-display-image): Caller changed.
10361 2010-05-21  Juri Linkov  <juri@jurta.org>
10363         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10364         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
10365         whitespace, call wildcard-to-regexp on substrings and concat them
10366         with "\\|".  (Bug#6114)
10368 2010-05-21  Alan Mackenzie  <acm@muc.de>
10370         * progmodes/cc-engine.el (c-parse-state-get-strategy):
10371         Replace parameter `here' with `here-' and `here-plus', which sandwich
10372         any pertinent CPP construct.
10373         (c-remove-stale-state-cache-backwards): Fix a bug which happens
10374         when doing (c-parse-state) in a CPP construct: Exclude any "new"
10375         CPP construct from taking part in the scanning.
10377 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
10379         * net/tramp.el (tramp-do-copy-or-rename-file)
10380         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10381         Tune `with-progress-reporter' messages.
10382         (tramp-handle-vc-registered):
10383         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10384         (tramp-fish-handle-insert-file-contents)
10385         (tramp-fish-maybe-open-connection):
10386         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10387         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10388         (tramp-imap-handle-insert-file-contents)
10389         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10391 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
10393         * add-log.el (change-log-font-lock-keywords):
10394         Highlight all authors in multi-author entries.
10396         * smerge-mode.el (smerge-refine-ignore-whitespace)
10397         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10398         Fix typos in docstrings.
10399         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10401 2010-05-21  Glenn Morris  <rgm@gnu.org>
10403         * progmodes/fortran.el (fortran-mode):
10404         * progmodes/f90.el (f90-mode): Derive from prog-mode.
10406         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10407         having a relative path in src/Makefile.in.
10409 2010-05-20  Kevin Ryde  <user42@zip.com.au>
10411         * help-mode.el (help-make-xrefs): For Info node links turn
10412         newlines into spaces.  Link node names with newlines are matched
10413         by help-xref-info-regexp and buttonized, this change ensures they
10414         can be followed successfully with RET.  (Bug#6206)
10416 2010-05-20  Juri Linkov  <juri@jurta.org>
10418         * locate.el (locate): Use pop-to-buffer instead of
10419         switch-to-buffer-other-window.  (Bug#6204)
10421 2010-05-20  Juri Linkov  <juri@jurta.org>
10423         * replace.el (replace-highlight): Fix lazy-highlighting
10424         for `M-s w str M-% str RET'.
10426 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
10428         * isearch.el (isearch-yank-word-or-char): Pull next subword
10429         when `subword-mode' is activated.  (Bug#6220)
10431 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
10433         * isearch.el (isearch-update-post-hook): New hook.
10434         (isearch-update): Use the new hook.  (Bug#6225)
10436 2010-05-20  Juri Linkov  <juri@jurta.org>
10438         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10439         [f1], [help], and (char-to-string help-char) instead of "\C-h".
10440         (Bug#6222)
10442 2010-05-20  Juri Linkov  <juri@jurta.org>
10444         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10445         (Bug#6223)
10447 2010-05-20  Juri Linkov  <juri@jurta.org>
10449         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10450         FILE-NAME to read from the minibuffer when called interactively
10451         with prefix argument instead of using buffer-file-name.
10452         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10454         * dired.el: Update autoloads.
10456 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
10458         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10459         nxml-finish-element, for consistency with SGML mode.
10461         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10462         octave-close-block.
10464 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
10466         * composite.el: Require cl when compiling.
10467         (reference-point-alist, compose-gstring-for-graphic)
10468         (compose-gstring-for-terminal): Fix typos in docstrings.
10470 2010-05-19  Juri Linkov  <juri@jurta.org>
10472         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10473         set-window-parameter.
10475 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10477         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10478         where appropriate.
10479         (tramp-maybe-open-connection): Use it.
10481 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
10483         * simple.el (move-end-of-line): Make sure we are at line beginning
10484         before backing up to end of previous line.
10486 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10488         * password-cache.el (password-cache-remove): Fix docstring.
10490         * net/secrets.el: Autoload the widget functions.
10491         (secrets-search-items, secrets-create-item)
10492         (secrets-get-attributes, secrets-expand-item): Attributes will be
10493         stored on the password database without leading ":", as all other
10494         clients do as well.
10495         (secrets-mode): Fix docstring.
10496         (secrets-show-secrets): Provide it as autoloaded command only when
10497         D-Bus support is available.  Check existence of Secret Service API.
10499 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10501         * indent.el (indent-region): Deactivate region (bug#6200).
10503 2010-05-19  Glenn Morris  <rgm@gnu.org>
10505         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
10507 2010-05-19  Kenichi Handa  <handa@m17n.org>
10509         * composite.el: Register compose-gstring-for-graphic in
10510         composition-function-table only for combining characters (Mn, Mc, Me).
10512 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
10514         * calc/calc-trail.el (calc-trail-isearch-forward)
10515         (calc-trail-isearch-backward): Ensure that the new window
10516         point is set correctly.
10518 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10520         * subr.el (read-quoted-char): Resolve modifiers after key
10521         remapping (bug#6212).
10523 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
10525         Add visualization code for secrets.
10526         * net/secrets.el (secrets-mode): New major mode.
10527         (secrets-show-secrets, secrets-show-collections)
10528         (secrets-expand-collection, secrets-expand-item)
10529         (secrets-tree-widget-after-toggle-function)
10530         (secrets-tree-widget-show-password): New defuns.
10532 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10534         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10535         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10536         handled in smie-next-sexp.
10537         (smie-indent-calculate): Provide a starting indentation (so the
10538         recursion is well-founded ;-).
10540         Fix handling of non-associative equal levels.
10541         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10542         when it's not needed.
10543         (smie-op-left, smie-op-right): New functions.
10544         (smie-next-sexp): New function, extracted from smie-backward-sexp.
10545         Better handle equal levels to distinguish the associative case from
10546         the "multi-keyword construct" case.
10547         (smie-backward-sexp, smie-forward-sexp): Use it.
10549 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
10551         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10553         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10554         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10556 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10558         Provide a simple generic indentation engine and use it for Prolog.
10559         * emacs-lisp/smie.el: New file.
10560         * progmodes/prolog.el (prolog-smie-op-levels)
10561         (prolog-smie-indent-rules): New var.
10562         (prolog-mode-variables): Use them to configure SMIE.
10563         (prolog-indent-line, prolog-indent-level): Remove.
10565 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10567         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10568         order before computing the averages.
10570 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
10572         * calc/calc-vec.el (calc-histogram):
10573         (calcFunc-histogram): Allow vectors as inputs.
10574         (math-vector-avg): New function.
10576         * calc/calc-ext.el (math-group-float): Have the number of digits
10577         being grouped depend on the radix (Bug#6189).
10579 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
10581         * version.el (emacs-copyright, emacs-version): Don't define here,
10582         now that emacs.c defines it.
10584 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
10586         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10587         "Describe Language Environment" menu item.
10589         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10591         Bidi-sensitive movement with arrow keys.
10592         * subr.el (right-arrow-command, left-arrow-command): New functions.
10594         * bindings.el (global-map): Bind them to right and left arrow keys.
10596         Don't override standard definition of convert-standard-filename.
10597         * files.el (convert-standard-filename):
10598         Call w32-convert-standard-filename and dos-convert-standard-filename on
10599         the corresponding systems.
10601         * w32-fns.el (w32-convert-standard-filename): Rename from
10602         convert-standard-filename.  Doc fix.
10604         * dos-fns.el (dos-convert-standard-filename): Doc fix.
10605         (convert-standard-filename): Don't defalias.
10606         (register-name-alist, make-register, register-value)
10607         (set-register-value, intdos): Obsolete aliases for the
10608         corresponding dos-* functions and variables.
10609         (dos-intdos): Add a doc string.
10611 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
10613         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10614         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10615         (math-compose-tex-func):
10616         * calc/calccomp.el (math-compose-expr):
10617         * calc/calc-ext.el (math-format-flat-expr-fancy):
10618         * calc/calc-store.el (calc-read-var-name):
10619         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10621         * calc/calc.el (var-π, var-φ, var-γ): New variables.
10622         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10623         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10624         (math-standard-units): Add units.
10626 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10628         * progmodes/asm-mode.el (asm-mode):
10629         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10631         * pcomplete.el (pcomplete-completions-at-point): New function,
10632         extracted from pcomplete-std-complete.
10633         (pcomplete-std-complete): Use it.
10635 2010-05-15  Glenn Morris  <rgm@gnu.org>
10637         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10638         Remove references to CVS, RCS and Old directories.
10640 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
10642         * calc/calc-bin.el (math-format-twos-complement): Group digits when
10643         appropriate.
10645 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10647         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10648         (sh-mode-syntax-table): Give it a default value instead.
10649         (sh-header-marker): Make buffer-local.
10650         (sh-mode): Move make-local-variable to the corresponding setq.
10651         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10652         Use complete-with-action.
10654         * simple.el (prog-mode): New (abstract) major mode.
10655         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10656         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10658 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
10660         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10661         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10662         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10663         (sql-make-alternate-buffer-name, sql-placeholders-filter)
10664         (sql-escape-newlines-filter, sql-input-sender)
10665         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10667 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
10669         Add TeX open-block and close-block keybindings to SGML, and vice versa.
10671         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10672         latex-open-block and C-c / to latex-close-block.
10674         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10675         and C-c C-e to sgml-close-tag.
10677 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
10679         * net/tramp.el (with-progress-reporter): Create reporter object
10680         only when the message would be displayed.  Handle nested calls.
10681         (tramp-handle-load, tramp-handle-file-local-copy)
10682         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10683         (tramp-maybe-send-script, tramp-find-shell):
10684         Use `with-progress-reporter'.
10685         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10686         Fix message text.
10688         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10689         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10690         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10691         Use `with-progress-reporter'.
10693 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
10695         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10696         process everytime when spellchecking from the minibuffer (bug#6143).
10698 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10700         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10702         * dos-fns.el: Add "dos-" prefix for namespace control.
10703         (convert-standard-filename): Define as alias for
10704         dos-convert-standard-filename but only if applicable.
10706 2010-05-12  Alan Mackenzie  <acm@muc.de>
10708         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10709         Push the mark at the start of these functions when appropriate.
10711 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10713         * minibuffer.el (completion-cycle-threshold): New custom var.
10714         (completion--do-completion): Use it.
10715         (minibuffer-complete): Use cycling if appropriate.
10717 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
10719         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10720         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10722 2010-05-11  Juri Linkov  <juri@jurta.org>
10724         * scroll-all.el (scroll-all-check-to-scroll):
10725         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10727 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10729         * iimage.el (iimage-mode-map): Move initialization into declaration.
10730         (iimage-mode-buffer): Use with-silent-modifications.
10731         Simplify calling convention.  Adjust callers.
10732         (iimage-mode): Don't run hook redundantly.
10734         * minibuffer.el (completion-pcm--pattern->regex):
10735         Fix last change (bug#6160).
10737 2010-05-10  Juri Linkov  <juri@jurta.org>
10739         Remove nodes visited during Isearch from the Info history.
10740         * info.el (Info-isearch-initial-history)
10741         (Info-isearch-initial-history-list): New variables.
10742         (Info-isearch-start): Record initial values of
10743         Info-isearch-initial-history and Info-isearch-initial-history-list.
10744         Add Info-isearch-end to isearch-mode-end-hook.
10745         (Info-isearch-end): New function.
10747 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
10749         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10750         format string, in order to work around a bug in pdksh.
10751         Reported by Gilles Pion <gpion@lfdj.com>.
10752         (tramp-handle-verify-visited-file-modtime): Do not send a command
10753         when the connection is not established.
10754         (tramp-handle-set-file-times): Simplify the check for utc.
10756 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
10758         Fix use of `filter-buffer-substring' (rework previous change).
10759         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10760         (cua-repeat-replace-region):
10761         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10762         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10763         (cua-cut-region-to-global-mark): Use it.
10765 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
10767         * progmodes/sql.el: Version 2.1.
10768         (sql-product-alist): Redesign structure of product info.
10769         (sql-product, sql-user, sql-server, sql-database): Safe variables.
10770         (sql-port, sql-port-history): New variables.
10771         (sql-interactive-product): New variable.
10772         (sql-send-terminator): New variable.
10773         (sql-imenu-generic-expression): Add "Types" imenu entry.
10774         (sql-oracle-login-params, sql-sqlite-login-params)
10775         (sql-mysql-login-params, sql-solid-login-params)
10776         (sql-sybase-login-params, sql-informix-login-params)
10777         (sql-ingres-login-params, sql-ms-login-params)
10778         (sql-postgres-login-params, sql-interbase-login-params)
10779         (sql-db2-login-params, sql-linter-login-params)
10780         (sql-oracle-scan-on): New variables.
10781         (sql-mode-map): Add C-c C-i to start interactive mode.
10782         (sql-mode-menu): Update existing menu entries.
10783         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10784         (sql-mode-oracle-font-lock-keywords)
10785         (sql-mode-postgres-font-lock-keywords)
10786         (sql-mode-ms-font-lock-keywords)
10787         (sql-mode-sybase-font-lock-keywords)
10788         (sql-mode-informix-font-lock-keywords)
10789         (sql-mode-interbase-font-lock-keywords)
10790         (sql-mode-ingres-font-lock-keywords)
10791         (sql-mode-solid-font-lock-keywords)
10792         (sql-mode-mysql-font-lock-keywords)
10793         (sql-mode-sqlite-font-lock-keywords)
10794         (sql-mode-db2-font-lock-keywords)
10795         (sql-mode-linter-font-lock-keywords): Update initialization to
10796         reduce run-time complexity.
10797         (sql-add-product, sql-del-product): New functions.
10798         (sql-set-product-feature, sql-get-product-feature): New functions.
10799         (sql-product-font-lock): Update product API.
10800         (sql-add-product-keywords): New function.
10801         (sql-highlight-product): Update product API.
10802         (sql-help-list-products): New function.
10803         (sql-help): Dynamically lists free and non-free products.
10804         (sql-get-login): Correct bug in handling history and added
10805         prompt for port.
10806         (sql-copy-column): Copy without properties.
10807         (sqli-input-sender): Apply filters to SQLi input.
10808         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10809         Implement as a filter.
10810         (sql-escape-newlines-filter): Implement as a filter.
10811         (sql-remove-tabs-filter): New function.
10812         (sql-send-magic-terminator): New function.
10813         (sql-send-string): Implement magic terminator.
10814         (sql-send-region): Use `sql-send-string'.
10815         (sql-interactive-mode): Use product API.
10816         (sql-product-interactive): Use product API.
10817         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10818         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10819         (sql-db2, sql-linter): Use `sql-product-interactive'.
10820         (sql-connect): New function.
10821         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10822         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10823         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10824         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10825         Use `sql-connect'.
10827 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10829         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10830         New custom variable.
10831         (completion-pcm--string->pattern): Use it.
10832         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10833         Make it handle any symbol as `any'.
10834         (completion-pcm--merge-completions): Extract common suffix for the new
10835         `prefix' symbol as well.
10836         (completion-substring--all-completions): Use the new `prefix' symbol.
10838 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
10840         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10841         not bound.
10842         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10843         (tramp-compat-funcall): New defmacro.
10844         (tramp-compat-line-beginning-position)
10845         (tramp-compat-line-end-position)
10846         (tramp-compat-temporary-file-directory)
10847         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10848         (tramp-compat-copy-file, tramp-compat-copy-directory)
10849         (tramp-compat-delete-file, tramp-compat-delete-directory)
10850         (tramp-compat-number-sequence, tramp-compat-process-running-p)
10851         * net/tramp.el (top, with-progress-reporter)
10852         (tramp-rfn-eshadow-setup-minibuffer)
10853         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10854         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10855         (tramp-completion-mode-p, tramp-check-for-regexp)
10856         (tramp-open-connection-setup-interactive-shell)
10857         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10858         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10859         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10860         * net/tramp-cmds.el (tramp-cleanup-all-connections)
10861         (tramp-reporter-dump-variable, tramp-load-report-modules)
10862         (tramp-append-tramp-buffers)
10863         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10865         * net/tramp-imap.el (top): Autoload `epg-make-context'.
10867 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10869         * progmodes/compile.el (compilation-buffer-modtime): Rename from
10870         buffer-modtime.  Adjust users.
10872 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10874         * international/mule.el (auto-coding-alist): Only purecopy
10875         car of each item, not the whole list (Bug#6083).
10877 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10879         * progmodes/js.el (js-mode): Make paragraph variables local before
10880         calling c-setup-paragraph-variables (Bug#6071).
10882 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
10884         * composite.el (compose-region, reference-point-alist): Fix typos
10885         in the doc strings.
10887 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
10889         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10890         gnuplot's "set" command.
10892 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10894         * abbrev.el (last-abbrev-text): Doc fix.
10895         (abbrev-prefix-mark): Don't escape parenthesis.
10897 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
10899         * composite.el (find-composition): Doc fix.
10901 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10903         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10904         (sql-oracle-program, sql-sqlite-options)
10905         (sql-query-placeholders-and-send): Doc fixes.
10906         (sql-set-product, sql-interactive-mode): Reflow docstrings.
10907         (sql-imenu-generic-expression, sql-buffer)
10908         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10909         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10910         (sql-mode-sybase-font-lock-keywords)
10911         (sql-mode-informix-font-lock-keywords)
10912         (sql-mode-interbase-font-lock-keywords)
10913         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10914         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10915         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10916         (sql-product-feature, sql-highlight-product)
10917         (comint-line-beginning-position, sql-rename-buffer)
10918         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10919         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10920         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10921         Fix typos in docstrings.
10923 2010-05-08  Juri Linkov  <juri@jurta.org>
10925         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10926         property instead of `invisible' and `after-string' (bug#5998).
10928 2010-05-08  Juri Linkov  <juri@jurta.org>
10930         * image-mode.el (image-mode-as-text): Fix typo in docstring.
10932 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10934         * filecache.el (file-cache-add-directory-list)
10935         (file-cache-add-directory-recursively): Fix typos in docstrings.
10937 2010-05-08  Kenichi Handa  <handa@m17n.org>
10939         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10940         (gujarati-composable-pattern): Fix typo.
10942 2010-05-08  Kenichi Handa  <handa@m17n.org>
10944         * language/indian.el (oriya-composable-pattern)
10945         (tamil-composable-pattern, malayalam-composable-pattern):
10946         Add two-part vowels to "v" (vowel sign).
10948 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10950         * files.el (copy-directory): Handle symlinks (Bug#5982).
10952 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
10954         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10955         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
10956         (Bug#5846).
10958 2010-05-08  Glenn Morris  <rgm@gnu.org>
10960         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10962         * minibuffer.el (completion-at-point): Doc fix.
10964 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10966         * electric.el (Electric-command-loop): Minor tweak.
10968         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10969         better with dedicated windows.
10971 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
10973         * Version 23.2 released.
10975 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
10976             Stefan Monnier  <monnier@iro.umontreal.ca>
10978         Highlight vendor specific properties.
10979         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10980         (css-proprietary-property): New face.
10981         (css-font-lock-keywords): Use them.
10983 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
10985         * cus-start.el (all): Add native condition for tool-bar-* symbols.
10987 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10989         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10990         * files.el (auto-mode-alist): Remove redundant entries.
10992         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10993         * simple.el (auto-save-mode): Move from files.el.
10994         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10996 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
10998         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11000 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
11002         * mail/binhex.el (binhex-decode-region-internal)
11003         * mail/uudecode.el (uudecode-decode-region-internal)
11004         * net/dns.el (dns-read-string-name, dns-write, dns-read)
11005         (dns-read-type, dns-query)
11006         * pgg-parse.el (pgg-parse-armor)
11007         * pgg.el (pgg-verify-region)
11008         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11009         XEmacs.
11011         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11013 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
11015         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11017         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11018         * emulation/cua-base.el (cua-repeat-replace-region):
11019         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11020         (cua-cut-region-to-global-mark):
11021         Remove text properties with `set-text-properties'.
11023 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
11025         * net/tramp.el (top, with-progress-reporter):
11026         Use `symbol-function' inside `funcall'.
11028         * net/tramp-compat.el (tramp-compat-file-attributes)
11029         (tramp-compat-delete-file, tramp-compat-delete-directory):
11030         Handle only `wrong-number-of-arguments' error.
11032         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11033         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11034         inside `funcall'.
11036 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11038         * minibuffer.el (completion--sreverse, completion--common-suffix):
11039         New functions.
11040         (completion-pcm--merge-completions): Extract common suffix when safe.
11042         * emacs-lisp/easy-mmode.el (define-minor-mode):
11043         Make :variable more flexible.
11044         * files.el (auto-save-mode): Use it to define using define-minor-mode.
11046 2010-05-05  Juri Linkov  <juri@jurta.org>
11048         Add `slow' and `history' tags to the desktop data.
11050         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11051         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11052         (Info-finder-find-node): Require `finder.el' to be able
11053         to restore node from the desktop.
11054         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
11055         data `Info-history' and `slow' tag in the assoc list.
11056         (Info-restore-desktop-buffer): Don't restore nodes with the
11057         `slow' tag.  Restore `Info-history'.
11059 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
11061         Add FORCE argument to `delete-file'.
11063         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11064         forcing to delete the temporary file.
11065         (ange-ftp-delete-file): Add FORCE arg.
11066         (ange-ftp-rename-remote-to-remote)
11067         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11068         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11069         Force file deletion.
11071         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11073         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11074         (tramp-handle-make-symbolic-link, tramp-handle-load)
11075         (tramp-do-copy-or-rename-file-via-buffer)
11076         (tramp-do-copy-or-rename-file-directly)
11077         (tramp-do-copy-or-rename-file-out-of-band)
11078         (tramp-handle-process-file, tramp-handle-call-process-region)
11079         (tramp-handle-shell-command, tramp-handle-file-local-copy)
11080         (tramp-handle-insert-file-contents, tramp-handle-write-region)
11081         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11083         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11084         (tramp-fish-handle-make-symbolic-link)
11085         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11087         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11088         Use `tramp-compat-delete-file'.
11090         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11091         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11093         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11094         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11096         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11097         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11098         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11099         Use `tramp-compat-delete-file'.
11101 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11103         Minor cleanups.
11104         * subr.el (add-minor-mode): Use push.
11105         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11106         * emulation/edt.el (edt-select-mode): Simplify.
11108         Use define-minor-mode in more cases.
11109         * term/tvi970.el (tvi970-set-keypad-mode):
11110         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11111         (normal-erase-is-backspace-mode):
11112         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11113         (set-scroll-bar-mode-1): (Re)move to its sole caller.
11114         (get-scroll-bar-mode): New function.
11115         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11117         Use define-minor-mode for less obvious cases.
11118         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11119         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11120         * international/iso-ascii.el (iso-ascii-mode):
11121         * frame.el (auto-raise-mode, auto-lower-mode):
11122         * composite.el (global-auto-composition-mode): Use define-minor-mode.
11124 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
11126         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11127         in order to see error messages for failed logins.
11129 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
11131         * diff.el (diff-sentinel):
11133         * epg.el (epg--make-temp-file, epg-decrypt-string)
11134         (epg-verify-string, epg-sign-string, epg-encrypt-string):
11136         * jka-compr.el (jka-compr-partial-uncompress)
11137         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11139         * server.el (server-sentinel): Use delete-file's new FORCE arg
11140         (Bug#6070).
11142 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11144         Use define-minor-mode where applicable.
11145         * view.el (view-mode):
11146         * type-break.el (type-break-query-mode)
11147         (type-break-mode-line-message-mode):
11148         * textmodes/reftex.el (reftex-mode):
11149         * term/vt100.el (vt100-wide-mode):
11150         * tar-mode.el (tar-subfile-mode):
11151         * savehist.el (savehist-mode):
11152         * ibuf-ext.el (ibuffer-auto-mode):
11153         * composite.el (auto-composition-mode):
11154         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11155         Use define-minor-mode.
11156         (vhdl-mode): Use static mode-line format.
11157         (vhdl-mode-line-update): Delete.
11158         (vhdl-create-mode-menu, vhdl-activate-customizations)
11159         (vhdl-hs-minor-mode): Don't bother calling it.
11161 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11163         * simple.el (with-wrapper-hook): Move.
11164         (buffer-substring-filters): Mark obsolete.
11165         (filter-buffer-substring-functions): New variable.
11166         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
11168 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
11169             Michael Albinus  <michael.albinus@gmx.de>
11171         Implement compression for inline methods.
11173         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11174         (tramp-copy-size-limit): Allow also nil.
11175         (tramp-inline-compress-commands): New defconst.
11176         (tramp-find-inline-compress, tramp-get-inline-compress)
11177         (tramp-get-inline-coding): New defuns.
11178         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11179         replaced by `tramp-get-inline-coding'.
11180         (tramp-handle-file-local-copy, tramp-handle-write-region)
11181         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11183 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11185         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11186         Remove unused functions.
11188         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11189         Set find-tag-default-function as a variable rather than a property.
11191         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11192         * progmodes/etags.el (tags-completion-at-point-function):
11193         Remove left over interactive spec.  Add autoloading stub.
11194         (complete-tag): Use tags-completion-at-point-function.
11196 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
11198         * minibuffer.el (tags-completion-at-point-function): Fix return value.
11200 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11202         * ido.el (ido-init-completion-maps): Remove C-v binding.
11203         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11205 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11207         * minibuffer.el (tags-completion-at-point-function): New function.
11208         (completion-at-point-functions): Use it.
11210         * progmodes/etags.el (complete-tag): Revert last change.
11212 2010-04-29  Alan Mackenzie  <acm@muc.de>
11214         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11215         off-by-one error (in end of macro position).
11217 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11219         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11220         firefox is absent.  Don't autoload.
11221         (browse-url-galeon-program): Don't autoload.
11223 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11225         * bindings.el (complete-symbol): Move into minibuffer.el.
11227         * minibuffer.el (complete-tag): Move from etags.el.  If tags
11228         completion cannot be performed, return nil instead of signalling
11229         an error.
11230         (completion-at-point): Make it an alias for complete-symbol.
11231         (complete-symbol): Move from bindings.el, and replace with the
11232         body of completion-at-point.
11234         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11236 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
11238         * net/tramp.el (tramp-remote-selinux-p): New defun.
11239         (tramp-handle-file-selinux-context)
11240         (tramp-handle-set-file-selinux-context): Use it.
11242 2010-04-28  Sam Steingold  <sds@gnu.org>
11244         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11245         `safe-local-variable' if the value is a string or a symbol with
11246         the property `bug-reference-url-format'.
11248 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11250         * progmodes/bug-reference.el (bug-reference-url-format):
11251         Revert 2010-04-27 change due to security risk.
11253 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11255         Make it possible to locally disable a globally enabled mode.
11256         * simple.el (fundamental-mode): Run fundamental-mode-hook.
11257         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11258         rather than kill-all-local-variables so it runs fundamental-mode-hook.
11259         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11260         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11261         that subsequent hooks get a chance to disable it.
11263 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11265         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11266         Avoid re-enabling a minor mode after the user turned the minor mode
11267         off if MODE-enable-in-buffers is run twice (typically once from
11268         fundamental-mode's after-change-major-mode-hook and a second time from
11269         run-mode-hook's own after-change-major-mode-hook).
11271         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11273 2010-04-27  Sam Steingold  <sds@gnu.org>
11275         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11276         `safe-local-variable' if the value is a string or a function, as
11277         documented and implemented on 2010-04-02.
11279 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
11281         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11282         when method is 'kill.
11284 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
11286         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11287         condition in default directory check.
11288         (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11289         Kill ispell process when killing its associated buffer.
11291 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
11293         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11294         but we aren't using it.
11296 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
11298         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11299         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11301 2010-04-24  Glenn Morris  <rgm@gnu.org>
11303         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11304         Ignore VCS-ignore files, and deleted nextstep preferences files.
11305         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11306         (authors-ambiguous-files): New list.
11307         (authors-valid-file-names): Add some deleted files.
11308         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11309         (authors-disambiguate-file-name): New function.  (Bug#5501)
11310         (authors-canonical-file-name): Doc fix.
11311         Don't warn about obsolete files.
11312         (authors-canonical-file-name, authors-scan-el):
11313         Use authors-disambiguate-file-name.
11315         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11316         Add autoload cookies.
11317         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11318         (generated-autoload-file): Set file-local value to "htmlfontify.el".
11319         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11320         They have definitions / compiler macros in cl.el.
11321         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11322         Replace manual autoloads with generated ones.
11323         (htmlfontify-unload-rgb-file): Remove autoload.
11324         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11326 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11328         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11329         (byte-compile-setq-default): Optimize for the
11330         single-var case and don't call byte-compile-form in this case to avoid
11331         inf-loop with byte-compile-set-default.
11333         * progmodes/compile.el (compilation-start): Abbreviate default directory.
11335 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
11337         Implement SELINUX backends.
11339         * net/tramp.el (tramp-file-name-handler-alist):
11340         Add `file-selinux-context' and `set-file-selinux-context'.
11341         (tramp-handle-file-selinux-context)
11342         (tramp-handle-set-file-selinux-context): New defuns.
11343         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11344         Handle PRESERVE-SELINUX-CONTEXT.
11346         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11347         Add `file-selinux-context' and `set-file-selinux-context'.
11348         (tramp-gvfs-handle-file-selinux-context)
11349         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11350         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11352         * net/ange-ftp.el (ange-ftp-copy-file):
11353         * net/tramp-fish.el (tramp-fish-handle-copy-file):
11354         * net/tramp-imap.el (tramp-imap-handle-copy-file):
11355         * net/tramp-smb.el (tramp-smb-handle-copy-file):
11356         Add PRESERVE-SELINUX-CONTEXT.
11358 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11360         Synchronize with Tramp repository.
11362         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11363         (tramp-action-process-alive, tramp-action-out-of-band)
11364         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11365         (tramp-exists-file-name-handler): Fix docstring.
11366         (with-progress-reporter): New defmacro.
11367         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11368         (tramp-maybe-open-connection): Use it.
11370 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
11372         Detect ssh 'ControlMaster' argument automatically in some cases.
11374         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11375         (tramp-default-method): Use it.
11377 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11379         * net/tramp.el (tramp-handle-copy-file): Add new optional
11380         parameter `preserve-selinux-context'.
11381         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11383 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11385         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11386         Ensure, that non remote files are still checked.  Oops.
11388 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
11390         Fix Bug#5840.
11392         * icomplete.el (icomplete-completions): Use `non-essential'.
11394         * net/tramp.el (tramp-connectable-p): New defun.
11395         (tramp-handle-expand-file-name)
11396         (tramp-completion-handle-file-name-all-completions)
11397         (tramp-completion-handle-file-name-completion): Use it.
11399 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11401         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11403 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
11405         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11407         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11409         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11410         is present.
11412         * info.el (info-tool-bar-map): Add labels.
11414         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11416         * cus-edit.el (custom-commands): Add labels for tool bar.
11417         (custom-buffer-create-internal, Custom-mode): Adjust for
11418         labels in custom-commands.
11420         * dynamic-setting.el: Renamed from font-setting.el.
11422 2010-04-21  John Wiegley  <jwiegley@gmail.com>
11424         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11425         toggles the use of virtual buffers.
11426         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11427         (ido-toggle-virtual-buffers): New function.
11429 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
11431         Use `define-derived-mode'; fix window selection; doc fixes.
11432         * play/tetris.el (tetris, tetris-update-speed-function)
11433         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11434         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11435         (tetris-rotate-next, tetris-end-game, tetris-start-game)
11436         (tetris-pause-game): Fix typos in docstrings.
11437         (tetris-mode-map, tetris-null-map):
11438         Move initialization into declaration.
11439         (tetris-mode): Define with `define-derived-mode';
11440         set show-trailing-whitespace to nil.
11441         (tetris): Prefer window already displaying the "*Tetris*" buffer.
11443 2010-04-21  Karel Klíč  <kklic@redhat.com>
11445         * files.el (backup-buffer): Handle SELinux context, and return it
11446         if a backup was made by renaming.
11447         (backup-buffer-copy): Set SELinux context to the target file.
11448         (basic-save-buffer): Set SELinux context of the newly written file.
11449         (basic-save-buffer-1): Now it also returns any SELinux context.
11450         (basic-save-buffer-2): Set SELinux context of the newly created file,
11451         and return it.
11452         * net/tramp.el (tramp-file-name-for-operation):
11453         Add file-selinux-context.
11455 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11457         Make the log-edit comments use RFC822 format throughout.
11459         * vc.el (vc-checkin, vc-modify-change-comment):
11460         Adjust to new vc-start/finish-logentry.
11461         (vc-find-conflicted-file): New command.
11462         (vc-transfer-file): Adjust to new vc-checkin.
11463         (vc-next-action): Improve scoping.
11465         * vc-hg.el (vc-hg-log-edit-mode): Remove.
11466         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
11468         * vc-git.el (vc-git-log-edit-mode): Remove.
11469         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
11470         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11472         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11473         (vc-start-logentry): Remove argument `extra'.
11474         (vc-finish-logentry): Remove extra args.
11476         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11477         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
11478         (vc-bzr-conflicted-files): New function.
11480         * log-edit.el (log-edit-extra-flags)
11481         (log-edit-before-checkin-process): Remove.
11482         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11483         (log-edit-headers-alist): New var.
11484         (log-edit-header-contents-regexp): New const.
11485         (log-edit-match-to-eoh): New function.
11486         (log-edit-font-lock-keywords): Use them.
11487         (log-edit): Insert a "Summary:" header as default.
11488         (log-edit-mode): Mark font-lock rules as case-insensitive.
11489         (log-edit-done): Cleanup headers.
11490         (log-view-process-buffer): Remove.
11491         (log-edit-extract-headers): New function to replace it.
11493 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
11495         * subr.el (default-direction-reversed): Remove obsolescence info.
11497 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11499         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11500         windows/frames.
11502         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11503         I.e. include text after point in the completion region.
11504         Also, return nil when we're not after/in a symbol.
11506         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11507         default enable-multibyte-characters.
11509 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11511         * international/mule.el: Help the user choose a valid coding-system.
11512         (read-buffer-file-coding-system): New function.
11513         (set-buffer-file-coding-system): Use it.  Prompt the user if the
11514         coding-system cannot encode all the chars.
11516         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11517         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11518         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11519         Don't use *vc-bzr-shelve*.
11521 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
11523         Fix the version number for added files.
11524         * vc-hg.el (vc-hg-working-revision): Check if the file is
11525         registered after hg parent fails (Bug#5961).
11527 2010-04-19  Glenn Morris  <rgm@gnu.org>
11529         * htmlfontify.el (htmlfontify-buffer)
11530         (htmlfontify-copy-and-link-dir): Autoload entry points.
11532 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
11534         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11535         name relative to the project root (Bug#5960).
11537 2010-04-19  Glenn Morris  <rgm@gnu.org>
11539         * vc-git.el (vc-git-print-log): Doc fix.
11541 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
11543         * ido.el (ido-file-internal): Fix 2009-12-02 change.
11545 2010-04-19  Christoph Scholtes  <cschol2112@googlemail.com>
11547         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11548         default settings (Bug#5928).
11550 2010-04-19  Glenn Morris  <rgm@gnu.org>
11552         * progmodes/fortran.el (fortran-match-and-skip-declaration):
11553         New function.
11554         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
11556 2010-04-19  Kenichi Handa  <handa@m17n.org>
11558         * language/indian.el (malayalam-composable-pattern): Fix previous
11559         change (add U+0D4D "SIGN VIRAMA").
11560         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11561         (tamil-composable-pattern): Fix typo in the regexp.
11562         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11563         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11564         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11566 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11568         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11569         paragraph-separate (Bug#5821).
11571 2010-04-19  Juri Linkov  <juri@jurta.org>
11573         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11575         * info.el (Info-find-node-2): Comment out code that skips
11576         breadcrumbs line.
11577         (Info-mouse-follow-link): New command.
11578         (Info-link-keymap): New keymap.
11579         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11580         Return a string with links instead of inserting breadcrumbs
11581         to the Info buffer.
11582         (Info-fontify-node): Comment out code that inserts breadcrumbs.
11583         Instead of putting the `invisible' text property over the Info
11584         header, make an overlay over the Info header with the `invisible'
11585         property and `after-string' set to the string returned by
11586         `Info-breadcrumbs'.
11588 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11590         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11591         Reported by monkey@sandpframing.com.
11593 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11595         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11596         (tmm-get-keymap): Add key-binding shortcuts now that they're not
11597         available in the "keyseq cache" any more.
11599         * custom.el (defcustom): Add edebug spec.
11601 2010-04-18  Juri Linkov  <juri@jurta.org>
11603         Test for special mode-class in view-buffer instead of view-file (bug#5513).
11605         * view.el (view-file, view-buffer): Move test for special mode-class
11606         from view-file to view-buffer.
11608         * tar-mode.el (tar-extract): Turn if's into one cond
11609         like in arc-mode.el.
11611 2010-04-18  Juri Linkov  <juri@jurta.org>
11613         Add 7z archive format support (bug#5475).
11615         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11616         (archive-7z-extract): New defcustom.
11617         (archive-find-type): Add magic string for 7z.
11618         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11619         If `stderr-file' is non-nil, use `(t stderr-file)' for the
11620         `buffer' arg of `call-process'.
11621         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11622         call the function `archive-7z-extract' with the variable
11623         `archive-7z-extract' let-bound to `archive-zip-extract'.
11624         (archive-7z-summarize, archive-7z-extract): New functions.
11626         * international/mule.el (auto-coding-alist):
11627         * files.el (auto-mode-alist): Add 7z file extension.
11629 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11631         * loadup.el: Setup hash-cons for pure data.
11633         Fix duplicate entries in cedet's loaddefs.el files.
11634         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11635         Should make most file-local generated-autoload-file unnecessary.
11636         (print-readably): Silence warnings.
11637         (autoload-find-destination): Take load-name as an arg to make sure
11638         it's the same as the one that will be in the file.
11639         (autoload-generate-file-autoloads): Adjust to above changes.
11640         Try to make the dataflow a bit simpler.
11642         * cvs-status.el (cvs-refontify): Remove unused.
11644 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
11646         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11648         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11649         twos-complement mode.
11651 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
11653         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11654         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
11655         (calc-inverse): Add "Option" to message, as appropriate.
11656         (calc-hyperbolic): Add "Option" to message, as appropriate.
11657         (calc-option, calc-is-option): New functions.
11659         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11660         (calc-option-prefix-help): New function.
11662         * calc/calc-misc.el (calc-help): Add "Option" entry.
11664         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11665         (calc-option-flag): New variable.
11666         (calc-do): Set `calc-option-flag to nil.
11667         (calc-set-mode-line): Add "Opt " as appropriate.
11669 2010-04-16  Juri Linkov  <juri@jurta.org>
11671         Move scrolling commands from simple.el to window.el
11672         because their primitives are implemented in window.c.
11674         * simple.el (scroll-error-top-bottom)
11675         (scroll-up-command, scroll-down-command, scroll-up-line)
11676         (scroll-down-line, scroll-other-window-down)
11677         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11678         * window.el (scroll-error-top-bottom)
11679         (scroll-up-command, scroll-down-command, scroll-up-line)
11680         (scroll-down-line, scroll-other-window-down)
11681         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11682         Move from simple.el to window.el because their primitives are
11683         implemented in window.c.
11685 2010-04-16  Juri Linkov  <juri@jurta.org>
11687         * isearch.el (isearch-lookup-scroll-key): Check both
11688         `isearch-scroll' and `scroll-command' properties.
11689         (scroll-up, scroll-down): Remove `isearch-scroll' property.
11691         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11693         * simple.el (scroll-up-command, scroll-down-command)
11694         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11696 2010-04-15  Juri Linkov  <juri@jurta.org>
11698         * simple.el (scroll-up-command, scroll-down-command)
11699         (scroll-up-line, scroll-down-line): Put `scroll-command'
11700         property on the these symbols.  Remove them from
11701         `scroll-preserve-screen-position-commands'.
11703         * mwheel.el (mwheel-scroll): Put `scroll-command' and
11704         `isearch-scroll' properties on the `mwheel-scroll' symbol.
11705         Remove it from `scroll-preserve-screen-position-commands'.
11707         * isearch.el (isearch-allow-scroll): Doc fix.
11709 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
11711         * net/tramp.el (tramp-error-with-buffer): Don't show the
11712         connection buffer when we are in completion mode.
11713         (tramp-file-name-handler): Catch the error for some operations
11714         when we are in completion mode.  This gives the user the chance to
11715         correct the file name in the minibuffer.
11717 2010-04-15  Glenn Morris  <rgm@gnu.org>
11719         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11721 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
11723         Simplify by using `define-derived-mode'.
11724         * info.el (Info-mode):
11725         * calendar/todo-mode.el (todo-mode):
11726         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11727         (gomoku-mode-map): Move initialization into declaration.
11729 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
11731         Fix Bug#5840.
11732         * ido.el (ido-file-name-all-completions-1):
11733         * minibuffer.el (minibuffer-completion-help):
11734         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11736 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11738         * simple.el (non-essential): New var.
11740         Add a new field `location' to bookmarks for non-file bookmarks.
11741         * bookmark.el (bookmark-location): Use the new field, if present.
11742         (bookmark-insert-location): Undo last change, not needed any more.
11743         * man.el (Man-bookmark-make-record):
11744         * woman.el (woman-bookmark-make-record): Add `location' field.
11746 2010-04-14  Juri Linkov  <juri@jurta.org>
11748         * simple.el (scroll-error-top-bottom): New defcustom.
11749         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
11751         * emulation/pc-select.el (pc-select-override-scroll-error):
11752         Obsolete in favor of `scroll-error-top-bottom'.
11754 2010-04-14  Juri Linkov  <juri@jurta.org>
11756         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11757         `scroll-up-command' and `M-v' to `scroll-down-command'.
11759         * emulation/cua-rect.el (cua--init-rectangles):
11760         * forms.el (forms--change-commands):
11761         * image-mode.el (image-mode-map):
11762         Remap scroll-down-command and scroll-up-command
11763         in addition to scroll-down and scroll-up.
11765 2010-04-14  Juri Linkov  <juri@jurta.org>
11767         * mwheel.el (scroll-preserve-screen-position-commands):
11768         Add mwheel-scroll to this list of commands.
11770         * simple.el (scroll-preserve-screen-position-commands):
11771         Add scroll-up-command, scroll-down-command, scroll-up-line,
11772         scroll-down-line to this list of commands.
11774 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11776         * obsolete/complete.el: Move from lisp/complete.el.
11778         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11780         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11781         to the minor mode function now turns the mode ON unconditionally.
11783 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11785         * vc-dir.el (vc-dir-kill-line): New command.
11786         (vc-dir-mode-map): Bind it to C-k.
11788         * bookmark.el (bookmark-insert-location): Handle a nil filename.
11790         * woman.el: Add bookmark declarations to silence the compiler.
11791         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11792         step to compatibility between man and woman bookmarks.
11793         Adjust for Man-default-bookmark-title renaming.
11794         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
11796         * man.el: Add bookmark declarations to silence the compiler.
11797         (Man-name-local-regexp): Make it match NAME as well.
11798         (Man-getpage-in-background): Return the buffer.
11799         (Man-notify-when-ready): Use `case'.
11800         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11801         Don't hardcode "NAME".  Simplify.
11802         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11803         Rename from Man-bookmark-make-record.
11804         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
11805         we have the actual man-args.  Use Man-getpage-in-background rather
11806         than `man' since the arg is already processed.  Let bookmark.el do the
11807         window handling.  Only wait for the relevant process.
11808         Don't forget to autoload.
11810         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11812 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11814         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11815         New functions.
11816         (woman-mode): Setup bookmark support.
11818         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11819         (man-bookmark-jump): New functions.
11820         (Man-mode): Setup bookmark support.
11822 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
11824         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11825         recognize ssh-keygen prompt (Bug#2817).
11827 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11829         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11831 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11833         Synchronize with Tramp repository.
11835         * net/tramp.el (tramp-completion-function-alist)
11836         (tramp-file-name-regexp, tramp-chunksize)
11837         (tramp-local-coding-commands, tramp-remote-coding-commands):
11838         Fix docstring.
11839         (tramp-remote-process-environment): Use `format' instead of `concat'.
11840         (tramp-handle-directory-files-and-attributes)
11841         (tramp-get-remote-path): Use `copy-tree'.
11842         (tramp-handle-file-name-all-completions): Backward/ XEmacs
11843         compatibility: Use `completion-ignore-case' if
11844         `read-file-name-completion-ignore-case' does not exist.
11845         (tramp-do-copy-or-rename-file-directly): Do not use
11846         `tramp-handle-file-remote-p'.
11847         (tramp-do-copy-or-rename-file-out-of-band):
11848         Use `tramp-compat-delete-directory'.
11849         (tramp-do-copy-or-rename-file-out-of-band)
11850         (tramp-compute-multi-hops, tramp-maybe-open-connection):
11851         Use `format-spec-make'.
11852         (tramp-find-foreign-file-name-handler)
11853         (tramp-advice-make-auto-save-file-name)
11854         (tramp-set-auto-save-file-modes): Remove superfluous check for
11855         `stringp'.  This is done inside `tramp-tramp-file-p'.
11856         (tramp-debug-outline-regexp): New defconst.
11857         (tramp-get-debug-buffer): Use it.
11858         (tramp-check-for-regexp): Use (forward-line 1).
11859         (tramp-set-auto-save-file-modes): Adapt version check.
11861         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11862         Wrap call of `featurep' for 2nd argument.
11863         (tramp-compat-make-temp-file): Simplify fallback implementation.
11864         (tramp-compat-copy-tree): Remove function.
11865         (tramp-compat-delete-directory): Provide implementation for older
11866         Emacsen.
11868         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11869         Do not use `tramp-fish-handle-file-attributes.
11871         * net/trampver.el: Update release number.
11873 2010-04-10  Glenn Morris  <rgm@gnu.org>
11875         * progmodes/compile.el (compilation-save-buffers-predicate):
11876         Add missing :version tag.
11878 2010-04-09  Sam Steingold  <sds@gnu.org>
11880         * progmodes/compile.el (compilation-save-buffers-predicate):
11881         Remove the "autoload" cookie.
11883         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11884         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11885         and `bug-reference-prog-mode' can be used in hooks directly.
11887 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
11889         Add --author support to git commit.
11890         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11891         (vc-git-log-edit-mode): New minor mode.
11892         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11893         New declarations.
11895 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
11897         * vc-hooks.el, vc-git.el: Improve documentation comments.
11899 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11901         Fix some of the problems in defsubst* (bug#5728).
11902         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11903         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11905 2010-04-07  Sam Steingold  <sds@gnu.org>
11907         * progmodes/compile.el (compilation-save-buffers-predicate):
11908         New custom variable.
11909         (compile, recompile): Pass it to `save-some-buffers'.
11911 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
11913         * wid-edit.el (widget-choose): Move cursor to the second line of
11914         the buffer (Bug#5695).
11916 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11918         Add new VC methods: vc-log-incoming and vc-log-outgoing.
11919         * vc.el (vc-print-log-setup-buttons): New function split out from
11920         vc-print-log-internal.
11921         (vc-log-internal-common): New function, a parametrized version of
11922         vc-print-log-internal.
11923         (vc-print-log-internal): Just call vc-log-internal-common with the
11924         right arguments.
11925         (vc-incoming-outgoing-internal):
11926         (vc-log-incoming, vc-log-outgoing): New functions.
11927         (vc-log-view-type): New permanent local variable.
11929         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11931         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11932         of the dynamic bound vc-short-log.
11933         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11935         * vc-git.el (vc-git-log-outgoing): New function.
11936         (vc-git-log-view-mode): Use vc-log-view-type instead
11937         of the dynamic bound vc-short-log.
11939         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11940         of the dynamic bound vc-short-log.  Highlight the tag.
11941         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11942         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11943         (vc-hg-incoming-mode): Remove.
11944         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11946 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11948         Fix default-directory for vc-root-diff.
11949         * vc.el (vc-root-diff): Bind default-directory to the root
11950         directory for the diff command.
11952 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
11954         * progmodes/verilog-mode.el (verilog-forward-sexp):
11955         (verilog-calc-1): Support "disable fork" and "fork wait" multi
11956         word keywords, suggested by Steve Pearlmutter.
11957         (verilog-pretty-declarations): Support lineup of declarations in
11958         port lists.
11959         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11960         fix bug for /* / comments.
11961         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11962         Speed up and simplfy as this is never called with a bound.
11963         (verilog-pretty-declarations): Enhance to line up declarations
11964         inside a parameter list, suggested by Alan Morgan.
11965         (verilog-pretty-expr): Tune assignment regular expression match
11966         string for corner cases; also use markers instead of character
11967         number as indent changes the later.
11969 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
11971         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11972         as missing keyword.
11973         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11974         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
11975         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11976         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
11977         Tennant.
11978         (verilog-keywords):
11979         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11980         1800-2009 keywords, including "global.".
11982 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11984         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11985         appearing in buffer list (if a live buffer name matched a recentf
11986         file basename).  Should use uniquify to offer a real solution.
11988 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11990         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11991         comment to code, and add a :version tag.
11992         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11994 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
11996         Enable recentf-mode if using virtual buffers.
11997         * ido.el (recentf-list): Declare for byte-compiler.
11998         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
11999         (ido-make-buffer-list): Simplify.
12000         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
12002 2010-04-05  Juri Linkov  <juri@jurta.org>
12004         Scrolling commands which scroll a line instead of full screen.
12005         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12007         * simple.el (scroll-up-line, scroll-down-line): New commands.
12008         Put property isearch-scroll=t on them.
12010         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12011         Remove commands.
12013 2010-04-05  Juri Linkov  <juri@jurta.org>
12015         Scrolling commands which do not signal errors at top/bottom.
12016         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12018         * simple.el (scroll-up-command, scroll-down-command): New commands.
12019         Put property isearch-scroll=t on them.
12021         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12022         `scroll-down-command' and [next] from `scroll-up' to
12023         `scroll-up-command'.
12025         * emulation/cua-base.el: Put property CUA=move on
12026         `scroll-up-command' and `scroll-down-command'.
12027         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12028         and `scroll-down-command' to `cua-scroll-down'.
12030 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
12032         * help.el (describe-mode): Return nil.
12034 2010-04-04  John Wiegley  <jwiegley@gmail.com>
12036         * ido.el (ido-use-virtual-buffers): New variable to indicate
12037         whether "virtual buffer" support is enabled for IDO.
12038         (ido-virtual): Face used to indicate virtual buffers in the list.
12039         (ido-buffer-internal): If a buffer is chosen, and no such buffer
12040         exists, but a virtual buffer of that name does (which would be why
12041         it was in the list), recreate the buffer by reopening the file.
12042         (ido-make-buffer-list): If virtual buffers are being used, call
12043         `ido-add-virtual-buffers-to-list' before the make list hook.
12044         (ido-virtual-buffers): New variable which contains a copy of the
12045         current contents of the `recentf-list', albeit pared down for the
12046         sake of speed, and with proper faces applied.
12047         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12048         create a list of "virtual buffers" to present to the user in
12049         addition to the currently open set.  Note that this logic could
12050         get rather slow if that list is too large.  With the default
12051         `recentf-max-saved-items' of 200, there is little speed penalty.
12053 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12055         * font-lock.el: Require CL when compiling.
12056         (font-lock-turn-on-thing-lock): Use `case'.
12058 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
12060         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12061         Zaretskii.
12063 2010-04-02  Juri Linkov  <juri@jurta.org>
12065         * ehelp.el (electric-help-orig-major-mode):
12066         New buffer-local variable.
12067         (electric-help-mode): Set it to original major-mode.  Doc fix.
12068         (with-electric-help): Use `electric-help-orig-major-mode' instead
12069         of (default-value 'major-mode).  Doc fix.
12070         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12072 2010-04-02  Sam Steingold  <sds@gnu.org>
12074         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12075         `vc-hg-command' with a list of flags.
12077         * progmodes/bug-reference.el (bug-reference-bug-regexp):
12078         Also accept "patch" and "RFE".
12079         (bug-reference-fontify): `bug-reference-url-format' can also be a
12080         function to be able to handle the bug kind.
12081         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12083 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
12085         * tmm.el (tmm-get-keymap): Check with symbolp before passing
12086         value to fboundp, it may not be a symbol.
12088 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12090         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12092 2010-03-31  Juri Linkov  <juri@jurta.org>
12094         * simple.el (next-line, previous-line): Re-throw a signal
12095         with `signal' instead of using `ding'.
12096         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12098 2010-03-31  Juri Linkov  <juri@jurta.org>
12100         * simple.el (keyboard-escape-quit): Raise deselecting the active
12101         region higher than exiting the minibuffer.
12102         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12104 2010-03-31  Juri Linkov  <juri@jurta.org>
12106         * image.el (image-animated-p): Use `image-metadata' instead of
12107         `image-extension-data'.  Get GIF extenstion data from metadata
12108         property `extension-data'.
12110 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12112         * simple.el (append-to-buffer): Simplify.
12114 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
12116         * textmodes/artist.el (artist-mode): Fix typo in docstring.
12117         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
12119 2010-03-31  Kenichi Handa  <handa@m17n.org>
12121         * language/sinhala.el (composition-function-table): Fix regexp for
12122         the new Unicode specification.
12124         * language/indian.el (devanagari-composable-pattern)
12125         (tamil-composable-pattern, kannada-composable-pattern)
12126         (malayalam-composable-pattern): Adjust for the new Unicode
12127         specification.
12128         (bengali-composable-pattern, gurmukhi-composable-pattern)
12129         (gujarati-composable-pattern, oriya-composable-pattern)
12130         (telugu-composable-pattern): New variables to cope with the new
12131         Unicode specification.  Use them in composition-function-table.
12133 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12135         Make tmm-menubar work for the Buffers menu again (bug#5726).
12136         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12137         vectors rather than cons cells, as used in menu-bar-update-buffers.
12139 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12141         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12142         (js-insert-and-indent): Revert 2009-08-15 change, restoring
12143         electric punctuation for "{}();,:" (Bug#5586).
12145         * mail/sendmail.el (mail-default-directory): Doc fix.
12147 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12149         * mail/sendmail.el (mail-default-directory): Doc fix.
12151 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
12153         * subr.el (version-regexp-alist, version-to-list)
12154         (version-list-<, version-list-=, version-list-<=)
12155         (version-list-not-zero, version<, version<=, version=): Doc fix.
12156         (Bug#5744).
12158 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
12160         * vc.el (vc-root-diff): Doc fix.
12162 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12164         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12166         * simple.el (append-to-buffer): Fix last change.
12168 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12170         * simple.el (append-to-buffer): Ensure that point is preserved if
12171         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
12172         (Bug#5749)
12174 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12176         * files.el (auto-mode-case-fold): Change default to t.
12178 2010-03-30  Juri Linkov  <juri@jurta.org>
12180         * dired-x.el (dired-omit-mode): Doc fix.
12182 2010-03-30  Juri Linkov  <juri@jurta.org>
12184         * replace.el (occur-accumulate-lines): Move occur-engine related
12185         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12186         to be located after `occur-engine'.
12188 2010-03-30  Juri Linkov  <juri@jurta.org>
12190         Make occur handle multi-line matches cleanly with context.
12191         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12193         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12194         (occur-engine): Add local variables `ret', `prev-after-lines',
12195         `prev-lines'.  Use more arguments for `occur-context-lines'.
12196         Set first elem of its returned list to `data', and the second elem
12197         to `prev-after-lines'.  Don't print the separator line.
12198         In the end, print remaining context after-lines.
12199         (occur-context-lines): Add new arguments `begpt', `endpt',
12200         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
12201         after-lines of the previous match with before-lines of the
12202         current match and not overlap them.  Return a list with two
12203         values: the output line and the list of context after-lines.
12205 2010-03-30  Juri Linkov  <juri@jurta.org>
12207         * replace.el (occur-accumulate-lines): Fix a bug where the first
12208         context line at the beginning of the buffer was missing.
12210 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
12212         * files.el: Make bidi-display-reordering safe variable for boolean
12213         values.
12215 2010-03-29  Phil Hagelberg  <phil@evri.com>
12216             Chong Yidong  <cyd@stupidchicken.com>
12218         * subr.el: Extend progress reporters to perform "spinning".
12219         (progress-reporter-update, progress-reporter-do-update):
12220         Handle non-numeric value arguments.
12221         (progress-reporter--pulse-characters): New var.
12223 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
12225         * progmodes/compile.el (compilation-start): Fix regexp detection
12226         of initial cd command (Bug#5771).
12228 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
12230         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12232 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
12234         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12235         * progmodes/gdb-mi.el: Restore.
12236         * progmodes/gdb-ui.el: Remove.
12237         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12239 2010-03-25  Glenn Morris  <rgm@gnu.org>
12241         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12242         all dired buffers, even tramp ones.  (Bug#5755)
12244 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12246         Add "union tags" in mpc.el.
12247         * mpc.el: Remove backward compatibility code.
12248         (mpc-browser-tags): Change default.
12249         (mpc--find-memoize-union-tags): New var.
12250         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12251         (mpc-cmd-find): Handle the case where the playlist does not exist.
12252         Handle union-tags.
12253         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
12254         (mpc-cmd-add): Use mpc-cmd-flush.
12255         (mpc-tagbrowser-tag-name): New fun.
12256         (mpc-tagbrowser-buf): Use it.
12257         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
12259 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12261         Misc cleanup.
12262         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12263         Use replace-regexp-in-string.
12264         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12265         (makefile-imake-mode-syntax-table): Move init into defvar.
12266         (makefile-mode): Use define-derived-mode.
12268         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12269         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12270         not be present any more.
12272 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12274         * faces.el (set-face-attribute): Fix typo in docstring.
12275         (face-valid-attribute-values): Reflow docstring.
12277 2010-03-24  Glenn Morris  <rgm@gnu.org>
12279         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12281 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12283         * indent.el (indent-for-tab-command): Doc fix.
12285 2010-03-24  Alan Mackenzie  <acm@muc.de>
12287         * progmodes/cc-engine.el (c-remove-stale-state-cache):
12288         Fix off-by-one error.  Fixes bug #5747.
12290 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12292         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12293         (image-dired-read-comment): Doc fix.
12295         * json.el (json-object-type, json-array-type, json-key-type)
12296         (json-false, json-null, json-read-number):
12297         * minibuffer.el (completion-in-region-functions):
12298         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12299         (cal-tex-cursor-week):
12300         * emacs-lisp/trace.el (trace-function):
12301         * eshell/em-basic.el (eshell/printnl):
12302         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12303         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12304         * obsolete/levents.el (allocate-event, event-key, event-object)
12305         (event-point, event-process, event-timestamp, event-to-character)
12306         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12307         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12308         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12309         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12310         (reftex-highlight-selection): Fix typos in docstrings.
12312 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12314         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12316 2010-03-24  Glenn Morris  <rgm@gnu.org>
12318         * mail/rmail.el (rmail-highlight-face): Restore option deleted
12319         2008-02-13 without comment; mark it obsolete.
12320         (rmail-highlight-headers): Use rmail-highlight-face once more.
12322 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12324         * woman.el (woman2-process-escapes): Only consume the newline if
12325         the filler character is on a line by itself (Bug#5729).
12327 2010-03-24  Kenichi Handa  <handa@m17n.org>
12329         * language/indian.el (devanagari-composable-pattern): Add more
12330         consonants.
12332 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12334         * net/trampver.el: Update release number.
12336 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12338         * net/tramp.el (tramp-find-executable):
12339         Use `tramp-get-connection-buffer'.  Make the regexp for checking
12340         output of "wc -l" more robust.
12341         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12342         (tramp-open-connection-setup-interactive-shell): Remove workaround
12343         for OpenSolaris bug, it is not needed anymore.
12345 2010-03-24  Glenn Morris  <rgm@gnu.org>
12347         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
12349 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
12351         * files.el (auto-mode-alist): Accept more verilog file patterns.
12353 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12355         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12357 2010-03-24  Glenn Morris  <rgm@gnu.org>
12359         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12360         log-edit-before-checkin-process.
12362         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12364         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12366         * vc-dispatcher.el (vc-start-logentry): Doc fix.
12367         (log-view-process-buffer, log-edit-extra-flags): Declare.
12369         * log-edit.el (log-edit-before-checkin-process): Doc fix.
12371 2010-03-23  Sam Steingold  <sds@gnu.org>
12373         Fix bug#5620: recalculate all markers on compilation buffer
12374         modifications, not on file modifications.
12375         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12376         variable: the buffer modification time, for buffers not associated with
12377         files.
12378         (compilation-mode): Create it.
12379         (compilation-filter): Update it.
12380         (compilation-next-error-function): Use it instead of
12381         `visited-file-modtime' for timestamp.
12383 2010-03-23  Juri Linkov  <juri@jurta.org>
12385         Implement Occur multi-line matches.
12386         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12388         * replace.el (occur): Doc fix.
12389         (occur-engine): Set `begpt' to the beginning of the first line.
12390         Set `endpt' to the end of the last match line.  At first, count
12391         line numbers between `origpt' and `begpt'.  Split out code from
12392         `out-line' variable to new let-bindings `match-prefix' and
12393         `match-str'.  In `out-line' add non-numeric prefix to all
12394         non-first lines of multi-line matches.  Finally, count lines
12395         between `begpt' and `endpt' and add to `lines'.
12397 2010-03-23  Juri Linkov  <juri@jurta.org>
12399         * replace.el (occur-accumulate-lines, occur-engine):
12400         Use `occur-engine-line' instead of duplicate code.
12401         (occur-engine-line): New function created from duplicate code
12402         in `occur-accumulate-lines' and `occur-engine'.
12404         * replace.el (occur-engine-line): Add optional arg `keep-props'.
12405         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12407 2010-03-23  Juri Linkov  <juri@jurta.org>
12409         * finder.el: Remove TODO tasks.
12411         * info.el (Info-finder-find-node): Add node "all"
12412         with all package info.  Handle a list of multiple keywords
12413         separated by comma.
12414         (info-finder): In interactive use with a prefix argument,
12415         use `completing-read-multiple' to read a list of keywords
12416         separated by comma.
12418 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12420         Add a new completion style `substring'.
12421         * minibuffer.el (completion-basic--pattern): New function.
12422         (completion-basic-try-completion, completion-basic-all-completions):
12423         Use it.
12424         (completion-substring--all-completions)
12425         (completion-substring-try-completion)
12426         (completion-substring-all-completions): New functions.
12427         (completion-styles-alist): New style `substring'.
12429 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12431         Get rid of .elc files after removal of the corresponding .el.
12432         * Makefile.in (compile-clean): New target.
12433         (compile-main): Use it.
12435 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
12437         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12438         don't do make there.  When compiling with separate object dir, there
12439         is no Makefile there.
12441 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12443         Get rid of the ELCFILES abomination, again.
12444         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12445         (all, compile): Don't call compile-last.
12446         (compile-main): Build the "elcfiles" list dynamically.
12447         (compile-targets): New (internal) target.
12449 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12451         * Makefile.in (top_srcdir): Define.
12452         (abs_top_builddir): Define.
12453         (srcdir): Don't append `/..'.
12454         (EMACS): Use ${abs_top_builddir}.
12455         (all, compile, compile-always, compile-last): Don't set emacswd.
12456         (update-subdirs, update-authors): Use $(top_srcdir) instead of
12457         $(srcdir).
12458         (lisp): Use $(srcdir) instead of @srcdir@.
12460 2010-03-21  Juri Linkov  <juri@jurta.org>
12462         Fix message of multi-line occur regexps and multi-buffer header lines.
12463         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12465         * replace.el (occur-1): Don't display regexp if it is longer
12466         than window-width.  Use `query-replace-descr' to display regexp.
12467         (occur-engine): Don't display regexp in the buffer header for
12468         multi-buffer occur.  Display a separate header line with total
12469         match count and regexp for multi-buffer occur.
12470         Use `query-replace-descr' to display regexp.
12472 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
12474         * net/secrets.el: Fix parenthesis.
12475         (secrets-enabled): Fix parenthesis.
12477 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12479         Use more relative file and directory names.
12480         * Makefile.in (EMACS): Arrange for it to work when we chdir.
12481         (setwins, setwins_almost, setwins_for_subdirs):
12482         Don't `cd'; output relative names.
12483         (all, compile, compile-always, compile-last): Set emacswd.
12484         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12485         Just cd to the lisp source dir so we can use relative file names.
12487         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12489 2010-03-20  Glenn Morris  <rgm@gnu.org>
12491         * textmodes/rst.el: Use faces for font-lock customization, and make the
12492         old -face variables obsolete.
12493         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12494         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12495         (rst-block-face, rst-external-face, rst-definition-face)
12496         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12497         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12498         Make obsolete.
12499         (rst-font-lock-keywords-function): Update for above changes.
12501 2010-03-20  Juri Linkov  <juri@jurta.org>
12503         * s-region.el:
12504         * obsolete/s-region.el: Move to obsolete.
12506 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
12508         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12510 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12512         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12514 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12516         Add special markup processing for commit logs.
12517         * log-edit.el (log-edit-extra-flags): New variable.
12518         (log-edit): Add new argument MODE.  Use that mode when non-nil
12519         instead of the log-view-mode.
12520         (log-view-process-buffer): New function.
12522         * vc.el: Document that the checkin method takes optional
12523         arguments.  Document new backend specific method: log-view-mode.
12524         (vc-default-log-edit-mode): New function.
12525         (vc-checkin): Use a backend specific log-view-mode.
12526         Pass extra arguments to the checkin method.
12527         (vc-modify-change-comment): Pass a dummy extra argument.
12529         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12530         log-edit.
12531         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12532         (vc-finish-logentry): Process the log buffer before passing it
12533         down.  Pass log-edit-extra-flags.
12535         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12536         command.
12537         (log-edit-extra-flags, log-edit-before-checkin-process):
12538         New declarations.
12540         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12541         command.
12542         (log-edit-extra-flags, log-edit-before-checkin-process):
12543         New declarations.
12544         (vc-hg-log-edit-mode): New derived mode.
12546         * vc-arch.el (vc-arch-checkin):
12547         * vc-cvs.el (vc-cvs-checkin):
12548         * vc-git.el (vc-git-checkin):
12549         * vc-mtn.el (vc-mtn-checkin):
12550         * vc-rcs.el (vc-rcs-checkin):
12551         * vc-sccs.el (vc-sccs-checkin):
12552         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12554 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12556         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12557         parent typo).
12559 2010-03-19  Glenn Morris  <rgm@gnu.org>
12561         * password-cache.el (password-cache, password-cache-expiry): Autoload.
12563 2010-03-18  Glenn Morris  <rgm@gnu.org>
12565         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12567         * replace.el (query-replace-history): Give it a doc string.
12568         (map-query-replace-regexp): Use query-replace-from-history-variable
12569         and query-replace-to-history-variable.
12571         * mail/hashcash.el (declare-function): Remove duplicate definition.
12573         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12574         Make it an obsolete alias for report-emacs-bug-address.
12575         (message-strip-special-text-properties): Declare.
12576         (report-emacs-bug): Remove test for a pretest bug address.
12577         Combine message-mode-specific code.
12579         * mail/supercite.el: Don't require sendmail.
12580         (mh-in-header-p): Declare rather than using with-no-warnings.
12581         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12582         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
12584         * calendar/cal-french.el: Convert to utf-8.
12586         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12587         Emacs scripts.
12589 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
12591         * net/secrets.el (secrets-enabled): New variable.  Use it instead
12592         of a subfeature.
12594 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
12596         * net/secrets.el (top): Register the D-Bus signals only when the
12597         service "org.freedesktop.secrets" can be pinged.
12598         Provide subfeature `enabled'.
12600 2010-03-14  Juri Linkov  <juri@jurta.org>
12602         Add finder unknown keywords.
12604         * finder.el (finder-unknown-keywords): New function.
12606         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12607         to create a Finder node with unknown keywords.
12609 2010-03-14  Juri Linkov  <juri@jurta.org>
12611         * finder.el (finder-compile-keywords): Replace `princ' with
12612         `prin1' on a list of symbols interned from keyword strings.
12614         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12615         a comma, then split keywords using a comma and optional whitespace.
12616         Otherwise, split by whitespace.
12618         * complete.el:
12619         * face-remap.el:
12620         * log-view.el:
12621         * net/hmac-def.el:
12622         * net/hmac-md5.el:
12623         * net/netrc.el:
12624         * progmodes/mixal-mode.el: Fix keywords.
12626 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
12628         * Makefile.in (ELCFILES): Add net/secrets.elc.
12630         * net/secrets.el: New file.
12632 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12634         * facemenu.el (list-colors-display, list-colors-print): New arg
12635         callback.  Use it to allow selecting colors.
12637         * wid-edit.el (widget-image-insert): Insert image prop even if the
12638         current display is non-graphic.
12639         (widget-field-value-set): New fun.
12640         (editable-field): Use it.
12641         (widget-field-value-get): Clean up unused var.
12642         (widget-color-value-create, widget-color--choose-action):
12643         New funs.  Allow using list-colors-display to choose color.
12645 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12647         * cus-edit.el: Resort topmost custom groups.
12648         (custom-buffer-sort-alphabetically): Default to t.
12649         (customize-apropos): Use apropos-parse-pattern.
12650         (custom-search-field): New var.
12651         (custom-buffer-create-internal): Add custom-apropos search field.
12652         (custom-add-parent-links): Don't display parent doc.
12653         (custom-group-value-create): Don't sort top-level custom group.
12654         (custom-magic-value-create): Show visibility button before option name.
12656         (custom-variable-state): New fun, from custom-variable-state-set.
12657         (custom-variable-state-set): Use it.
12658         (custom-group-value-create): Hide options with standard values
12659         using the :hidden-states property.  Use progress reporter.
12661         (custom-show): Simplify.
12662         (custom-visibility): Disable images by default.
12663         (custom-variable): New property :hidden-states.
12664         (custom-variable-value-create): Enable images for
12665         custom-visibility widgets.  Use :hidden-states property to
12666         determine initial visibility.
12668         * wid-edit.el (widget-image-find): Give images center ascent.
12669         (visibility): Add :on-image and :off-image properties.
12670         (widget-visibility-value-create): Use them.
12672 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12674         * cus-edit.el (processes): Remove from development group.
12675         (oop, hypermedia): Delete group.
12676         (comm): Promote to top-level group.
12678         * net/browse-url.el (browse-url):
12679         * net/xesam.el (xesam):
12680         * net/tramp.el (tramp):
12681         * net/goto-addr.el (goto-address):
12682         * net/ange-ftp.el (ange-ftp): Put in comm group.
12684         * view.el (view): Remove from editing group.
12686         * uniquify.el (uniquify): Put in files group.
12688         * net/browse-url.el (browse-url):
12689         * ps-print.el (postscript): Put in external group.
12691         * cus-edit.el (outlines):
12692         * textmodes/text-mode.el (text-mode-hook):
12693         * textmodes/table.el (table):
12694         * textmodes/picture.el (picture):
12695         * outline.el (outlines): Put in wp group.
12697         * nxml/nxml-mode.el (nxml): Remove from wp group.
12699         * net/tramp-imap.el (tramp-imap): Put in tramp group.
12701         * mail/metamail.el (metamail): Remove from hypermedia group.
12703         * cus-edit.el (abbrev):
12704         * whitespace.el (whitespace):
12705         * vcursor.el (vcursor):
12706         * reveal.el (reveal):
12707         * hl-line.el (hl-line): Put in convenience group.
12709         * epg-config.el (epg): Put in data group.
12711         * emulation/pc-select.el (pc-select): Put in emulations group.
12713         * calculator.el (calculator): Put in applications group.
12715 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12717         Add .dir-locals.el support for file-less buffers.
12718         * files.el (hack-local-variables): Split out code to apply local
12719         variable settings ...
12720         (hack-local-variables-apply): ... here.  New function.
12721         (hack-dir-local-variables): Use the default directory for when the
12722         buffer does not have an associated file.
12723         (hack-dir-local-variables-non-file-buffer): New function.
12724         * diff-mode.el (diff-mode):
12725         * vc-annotate.el (vc-annotate-mode):
12726         * vc-dir.el (vc-dir-mode):
12727         * log-edit.el (log-edit-mode):
12728         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12730 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12732         Add support for shelving snapshots and for showing shelves.
12733         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12734         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12735         New functions.
12736         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12737         (vc-bzr-extra-menu-map): Map them.
12739 2010-03-11  Glenn Morris  <rgm@gnu.org>
12741         * cus-edit.el (customize-changed-options-previous-release):
12742         Bump to 23.1.
12744         * image.el (image-animate-max-time): Fix :version tag.
12746 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
12748         * Branch for 23.2.
12750 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12752         * vc-git.el (vc-git-revision-table): Include remote branches.
12754 2010-03-10  Kim F. Storm  <storm@cua.dk>
12756         Animated image API.
12757         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12759         * image.el (image-animate-max-time): New defcustom.
12760         (image-animated-types): New defconst.
12761         (create-animated-image, image-animate-timer)
12762         (image-animate-start, image-animate-stop, image-animate-timeout)
12763         (image-animated-p): New functions.
12765         * image-mode.el (image-toggle-display-image):
12766         Replace `create-image' with `create-animated-image'.
12768 2010-03-09  Miles Bader  <miles@gnu.org>
12770         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12771         instead of "format:"; this ensures that the output is
12772         newline-terminated.
12774 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
12776         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12777         that all errors are caught, and that the return value is always a
12778         list (Bug#5692).
12780 2010-03-08  Kenichi Handa  <handa@m17n.org>
12782         * language/misc-lang.el (windows-1256): New coding system.
12783         (cp1256): New alias of windows-1256 (bug#5690).
12785 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
12787         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12788         call to rfc822-bad-address.  (Bug#5692)
12790 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12792         * vc-git.el (vc-git-annotate-extract-revision-at-line):
12793         Use vc-git-root as default directory for revision path (Bug#5657).
12795 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
12797         * calculator.el (calculator): Don't bind split-window-keep-point
12798         (Bug#5674).
12800 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12802         * vc-git.el: Re-flow to fit into 80 columns.
12803         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12804         Remove spurious `quote' element in each case alternative.
12805         (vc-git-show-log-entry): Use prog1.
12806         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12808 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12810         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12812 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
12814         * macros.el (insert-kbd-macro): Look up keyboard macro using the
12815         definition, not the name (Bug#5481).
12817 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12819         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12820         argument with a local variable.  (Bug#5670)
12822 2010-03-02  Juri Linkov  <juri@jurta.org>
12824         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
12826 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
12828         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12829         error when FILENAME and NEWNAME are existing remote directories.
12831         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12832         parameter DIR-FLAG.
12834 2010-03-02  Glenn Morris  <rgm@gnu.org>
12836         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12837         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12839 2010-03-01  Kenichi Handa  <handa@m17n.org>
12841         * language/burmese.el (burmese-composable-pattern): Rename from
12842         myanmar-composable-pattern.
12844         * international/characters.el (script-list):
12845         * international/fontset.el (script-representative-chars):
12846         Change myanmar to burmese.
12847         (otf-script-alist): Likewise.
12848         (setup-default-fontset): Likewise.  Re-fix :otf spec.
12850 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
12852         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12854 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
12856         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12858 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12860         * net/tramp.el (tramp-handle-write-region): START can be a string.
12861         Take care in the checks.  Reported by Dan Davison
12862         <davison@stats.ox.ac.uk>.
12864 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12866         * net/dbus.el (dbus-introspect, dbus-get-property)
12867         (dbus-set-property, dbus-get-all-properties):
12868         Use `dbus-call-method' when noninteractive.  (Bug#5645)
12870 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
12872         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12873         * emacs-lisp/elint.el (elint-add-required-env):
12874         * calendar/icalendar.el (icalendar--add-diary-entry):
12875         * calc/calcalg2.el (math-tracing-integral):
12876         * files.el (recover-session-finish): Use with-current-buffer
12877         instead of save-excursion.
12879 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12881         Fix in-buffer completion when after-change-functions modify the buffer.
12882         * minibuffer.el (completion--replace): New function.
12883         (completion--do-completion): Use it and use relative movement.
12885 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
12887         * international/fontset.el (setup-default-fontset): Fix :otf spec.
12889 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
12891         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12892         Allow the characters _<> in the stack entry (Bug#5653).
12894 2010-02-26  Kenichi Handa  <handa@m17n.org>
12896         * language/burmese.el: Fix entries in composition-function-table.
12897         (myanmar-composable-pattern): New variable.
12899         * international/fontset.el (setup-default-fontset): Add an entry
12900         for myanmar.
12902         * international/characters.el (script-list): Add Myanmar
12903         Extended-A.
12905 2010-02-26  Glenn Morris  <rgm@gnu.org>
12907         * custom.el (custom-initialize-delay): Doc fix.
12909         * mail/sendmail.el (send-mail-function): Autoload the call
12910         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12912 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
12914         * files.el (hack-local-variables-filter): For eval forms, also
12915         check safe-local-variable-p (Bug#5636).
12917 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
12919         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12920         setting the modes by `ignore-errors'.  It might fail, for example
12921         if the file is not owned by the user but the group.
12922         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12924 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
12926         * files.el (directory-listing-before-filename-regexp):
12927         Use stricter matching for iso-style dates, to avoid false matches with
12928         date-like filenames (Bug#5597).
12930         * htmlfontify.el (htmlfontify): Doc fix.
12932         * eshell/eshell.el (eshell): Doc fix.
12934         * startup.el (fancy-about-screen): In mode-line, apply
12935         mode-line-buffer-id face only to the buffer name (Bug#5613).
12937 2010-02-20  Kevin Ryde  <user42@zip.com.au>
12939         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12940         In `watcom' anchor regexp to start of line, to avoid slowness
12941         (Bug#5599).
12943 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
12945         * subr.el (remove-yank-excluded-properties): Explain in a comment
12946         why `category' property is removed.
12948 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
12950         * isearch.el (isearch-update-post-hook, isearch-update):
12951         Revert 2010-02-17 change.
12953 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
12955         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12956         (icalendar--convert-weekly-to-ical)
12957         (icalendar--convert-yearly-to-ical)
12958         (icalendar--convert-block-to-ical)
12959         (icalendar--convert-cyclic-to-ical)
12960         (icalendar--convert-anniversary-to-ical): Take care of time
12961         specifications where hour has 1-digit only (Bug#5549).
12963 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
12965         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12966         of disassemble output in GDB 7.1.
12968 2010-02-19  Glenn Morris  <rgm@gnu.org>
12970         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12971         property.  (Bug#5593)
12973 2010-02-18  Sam Steingold  <sds@gnu.org>
12975         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12977 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12979         Use abbreviated file names in bookmarks (bug#5591).
12980         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12981         calls to expand-file-name.
12982         (bookmark-relocate): Use abbreviated file names in bookmarks.
12983         (bookmark-load): Use abbreviated file names in messages.
12985 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12987         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12988         expand "." and "..".  Reported by Thierry Volpiatto
12989         <thierry.volpiatto@gmail.com>.
12991 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12993         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12994         permissions of the temporary file to "0600".  In case the remote
12995         file has no read permissions for the owner, there might be
12996         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
12998 22010-02-18  Glenn Morris  <rgm@gnu.org>
13000         * emacs-lisp/authors.el (authors-renamed-files-alist):
13001         Add entries for INSTALL.CVS.
13003 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
13005         * vc-bzr.el: Fix typo in Known Bugs section.
13007         * isearch.el (isearch-update-post-hook): New hook.
13008         (isearch-update): Use the new hook.
13010 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
13012         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13013         Fix errors in copying directories.
13014         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13015         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13016         (tramp-handle-delete-file)
13017         (tramp-handle-dired-recursive-delete-directory)
13018         (tramp-handle-write-region): Flush also the cache for the upper
13019         directory.
13021 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
13023         * simple.el (save-interprogram-paste-before-kill): Doc fix.
13025         * cus-edit.el (hardware): Doc fix.
13027         * man.el (man): Add to external custom group.
13029         * delim-col.el (columns): Move to wp custom group.
13031         * doc-view.el (doc-view): Add to data custom group.
13033         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13035         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13036         by ispell-parse-output (Bug#5575).
13038 2010-02-16  Kenichi Handa  <handa@m17n.org>
13040         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13041         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13042         (skkdic-convert): Use `euc-japan' coding system for writing.
13044 2010-02-16  Glenn Morris  <rgm@gnu.org>
13046         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13047         tex-main-file before using it.  (Bug#5562)
13049 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13051         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13052         warnings, since it is annoying for the user to see them each time he
13053         runs the code.
13055 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
13057         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13058         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13059         instead of PROC for caching "first-password-request".  Otherwise,
13060         new processes would not profit from passwords already entered.
13062         * net/tramp-cache.el (tramp-dump-connection-properties):
13063         Don't save "first-password-request" property.
13065 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
13067         * outline.el (outline-head-from-level):
13068         * simple.el (with-wrapper-hook):
13069         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13070         (elint-defun, elint-buffer-env, elint-top-form-logged)
13071         (elint-unbound-variable):
13072         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13073         Fix typos in docstrings.
13075 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
13077         * files.el (insert-directory): When WILDCARD-REGEXP and
13078         FULL-DIRECTORY-P are nil, insert the file entry instead of the
13079         whole directory.  (Bug#5551)
13081         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
13082         dired's alignment sanity.  (Bug#5516)
13084 2010-02-14  Juri Linkov  <juri@jurta.org>
13086         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13087         Remove remaining ^H with their preceding chars.  (Bug#5566)
13089 2010-02-13  Glenn Morris  <rgm@gnu.org>
13091         * simple.el (transpose-subr): Give it a doc-string.
13093         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13094         Doc fixes.
13096 2010-02-12  Juri Linkov  <juri@jurta.org>
13098         * arc-mode.el (archive-unique-fname): Make directories for nested
13099         archives.  (Bug#5540)
13101 2010-02-12  Juri Linkov  <juri@jurta.org>
13103         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
13105 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13107         * subr.el (copy-overlay): Handle deleted overlays.
13109         * man.el (Man-completion-table): Don't signal an error if we can't run
13110         manual-program (bug#4056).
13112 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
13114         * textmodes/artist.el (artist-mt): Fix typos in docstring.
13116 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13118         * info.el (Info-bookmark-jump): Simplify.
13120         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13121         (bookmark-default-handler): Accept new bookmark field `buffer'.
13123 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
13125         * iswitchb.el (iswitchb-completions): Revert last change.
13127 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
13129         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13130         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13131         This prevents file names like "~/" being listed literally.
13133 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
13135         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13136         Remove dead code.  (Bug#5546)
13138 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
13140         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13141         correctly (Bug#5548).
13143 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
13145         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13146         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13148 2010-02-08  Kenichi Handa  <handa@m17n.org>
13150         * international/mule-util.el (with-coding-priority): Add autoload
13151         cookie for putting `lisp-indent-function'.
13153 2010-02-07  Glenn Morris  <rgm@gnu.org>
13155         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13156         Move F2003 named interfaces from keywords-2 to keywords-1, and
13157         use function-name-face rather than constant-face.
13158         Simplify "abstract interface" regexp.
13160 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
13162         * eshell/esh-util.el (eshell-file-attributes): New optional arg
13163         ID-FORMAT.  Pass it to `file-attributes'.
13165         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13167 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
13169         * faces.el (set-face-attribute): Allow calling
13170         internal-set-lisp-face-attribute with 'unspecified family and
13171         foundry argument (Bug#5536).
13173 2010-02-07  Glenn Morris  <rgm@gnu.org>
13175         * progmodes/f90.el (f90-font-lock-keywords-2)
13176         (f90-looking-at-type-like, f90-looking-at-program-block-end):
13177         Handle F2003 named interfaces.
13179 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
13181         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13182         beg and end before calling c-get-state-before-change-functions.
13184 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
13186         * vc-bzr.el (vc-bzr-dir-extra-headers):
13187         Disable the pending merges header.
13189 2010-02-05  Juri Linkov  <juri@jurta.org>
13191         * doc-view.el (doc-view-mode):
13192         * image-mode.el (image-mode): Put property mode-class=special.
13193         (Bug#4896)
13195 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
13197         * vc-svn.el (vc-svn-revision-table): New function.
13199 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
13201         * net/ange-ftp.el (ange-ftp-insert-directory):
13202         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13203         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13204         Handle also directories.  (Bug#5478)
13206 2010-02-05  Glenn Morris  <rgm@gnu.org>
13208         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13210 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
13212         * startup.el (command-line-1): Convert options beginning with a
13213         single dash as well (Bug#5519).
13215 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13217         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13218         * minibuffer.el (completion-initials-expand): Only check the presence
13219         of delims *within* the boundaries, since otherwise the / delim is
13220         always found for files.
13222         Fix up various corner case problems.
13223         * doc-view.el (doc-view-last-page-number): New function.
13224         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13225         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13226         (doc-view-kill-proc): Avoid inf-loop in freak cases.
13227         (doc-view-reconvert-doc): Use the new recursive delete-directory.
13228         (doc-view-convert-current-doc): Don't create the resolution.el file
13229         here any more.
13230         (doc-view-pdf/ps->png): Do it here instead.
13231         (doc-view-already-converted-p): Check that resolution.el is present.
13232         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13233         windows that are not yet showing images.
13235 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
13237         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13238         `dired-uncache' for every elemnt which is an absolute file name.
13240         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13241         directory, handle its directory component.
13242         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13243         function is called permanently and creates noise, otherwise.
13245         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13246         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13247         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
13249 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
13251         * macros.el (apply-macro-to-region-lines):
13252         Minor simplification.  (Bug#5485)
13254 2010-02-04  Glenn Morris  <rgm@gnu.org>
13256         * mail/rmail.el (rmail-show-message-1): Handle malformed
13257         quoted-printable text.  (Bug#5441)
13259         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13261         * simple.el (visual-line-mode): Capitalize lighter.
13263 2010-02-03  John Wiegley  <jwiegley@gmail.com>
13265         * iswitchb.el (iswitchb-completions): Add bookmark files to the
13266         list of files considered for "virtual buffer" completions.
13268 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
13270         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13271         also in case of (and (not full) (not wildcard)).  This is needed
13272         when dired is called with a list of files, which are not in
13273         `default-directory'.  (Bug#5478)
13275 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13277         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13279 2010-02-02  Juri Linkov  <juri@jurta.org>
13281         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13282         from unidiff to allow function-line after @@.
13284 2010-02-02  Juri Linkov  <juri@jurta.org>
13286         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13287         '(RCS SCCS) with inverted condition.
13289 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
13291         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13292         messages.
13294 2010-02-01  Juri Linkov  <juri@jurta.org>
13296         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13297         compare with "pkunzip" and "pkzip" instead of only "pkzip".
13298         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13299         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
13301 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13303         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13304         (doc-view-revert-buffer): New command.
13305         (doc-view-mode-map): Use it.
13307 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
13309         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13310         pending merge is detected.
13312 2010-01-31  Juri Linkov  <juri@jurta.org>
13314         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13315         beginning of interactive spec like all other grep commands do.
13316         Put "all" in front of "gz".  (Bug#5260)
13318 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
13320         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13322 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
13324         * dirtrack.el (dirtrack): Warn instead of signalling error if the
13325         regexp is incorrect (Bug#5476).
13327 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
13329         * net/tramp.el (tramp-handle-insert-directory): Handle also
13330         symlinks, when FILENAME is not in `default-directory'.
13332 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13334         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13335         FILE is not in `default-directory'.  (Bug#5478)
13337         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13338         of SWITCHES.  Handle the case, FILENAME is not in
13339         `default-directory'.  (Bug#5478)
13340         (tramp-register-file-name-handlers): Add safe-magic property.
13342 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
13344         * arc-mode.el (archive-zip-extract): Quote the argument passed to
13345         unzip (Bug#5475).
13347 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
13349         * progmodes/flymake.el (flymake-allowed-file-name-masks)
13350         (flymake-master-make-header-init): Add other C++ filename masks.
13351         (flymake-find-possible-master-files)
13352         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13354 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13356         Fix some busybox annoyances.
13358         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13359         not responding." string.
13360         (tramp-open-connection-setup-interactive-shell): Dump stty
13361         settings.  Enable "neveropen" arg for all `tramp-send-command'
13362         calls.  Handle "=" in variable values properly.
13363         (tramp-find-inline-encoding): Raise an error, when no encoding is
13364         found.
13365         (tramp-wait-for-output): Check, whether PROC buffer is available.
13366         Remove spurious " ^H" sequences, sent by busybox.
13367         (tramp-get-ls-command): Suppress coloring, if possible.
13369 2010-01-28  Glenn Morris  <rgm@gnu.org>
13371         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
13373         * log-edit.el (log-edit-strip-single-file-name): Add missing
13374         :safe, :group, and :version tags.
13376 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
13378         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13379         buffers.  (Bug#5477)
13381 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
13383         * files.el (delete-directory): Handle moving to trash without
13384         first doing recursion (Bug#5436).
13386 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
13388         * vc-hooks.el (vc-path): Mark as obsolete.
13390 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
13392         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13393         names too.
13395         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13396         for the short log.
13397         (vc-bzr-log-view-mode): Adjust regexp for the above change.
13399 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
13401         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13403         * vc-bzr.el (vc-bzr-revision-table): New function.
13405 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
13407         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13408         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
13410 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
13412         Remove support for adding --signoff on commit.
13413         Future support will use an incompatible generic mechanism.
13414         * vc-git.el (vc-git-add-signoff): Remove variable.
13415         (vc-git-toggle-signoff): Remove function.
13416         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13418         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13419         Rename from xterm-set-background-mode.  Return t if the background mode
13420         was set.
13421         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13422         earlier, call it again in case the background mode has changed.
13424 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
13426         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13427         (Bug#3541).
13429 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
13431         * emacs-lisp/assoc.el (aelement): Doc fix.
13432         (aput, adelete, amake): Use lexical-let (Bug#5450).
13434 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
13436         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13437         is the same as subprogram call, not declaration.  (Bug#5435).
13439 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
13441         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13442         (tramp-smb-maybe-open-connection): Use it.
13444 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
13446         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
13448 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13450         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13451         just because we see "encoding: 8bit".
13452         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13454 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
13456         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13458 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
13460         * jka-compr.el (jka-compr-load): If load-file is not in
13461         load-history, try its file-truename version.  (bug#5447)
13463 2010-01-21  Alan Mackenzie  <acm@muc.de>
13465         Fix a situation where deletion of a cpp construct throws an error.
13466         * progmodes/cc-engine.el (c-invalidate-state-cache):
13467         Before invoking c-with-all-but-one-cpps-commented-out, check that the
13468         special cpp construct is still in the buffer.
13469         (c-parse-state): Record the special cpp with markers, not numbers.
13471 2010-01-21  Kenichi Handa  <handa@m17n.org>
13473         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13474         process last-command-event, as it is now decoded first (Bug#5380).
13476 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
13478         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13480 2010-01-20  Glenn Morris  <rgm@gnu.org>
13482         * indent.el (tab-always-indent): Fix custom-type.
13484 2010-01-19  Alan Mackenzie  <acm@muc.de>
13486         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13487         buffer throws "args out of range".
13488         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13489         playing the role of delimiter.
13491 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
13493         * progmodes/ada-mode.el: Fix bug#5400.
13494         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13495         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13496         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
13497         Improve comments in "is" portion.  Handle null procedure declaration.
13498         (ada-move-to-end): Improve doc string.
13500 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
13502         * ido.el (ido-cur-list): Initialize to nil.
13503         Remove obsolete information from commentary.
13504         (ido-choice-list): Initialize to nil.
13505         (ido-get-bufname): Reject minibuffers.
13506         (ido-make-buffer-list): If "default" is a nonexistent
13507         buffer, ignore it, as per the function's comment.
13508         (ido-kill-buffer-internal): New function.
13509         (ido-kill-buffer-at-head): Use it.
13510         (ido-visit-buffer): Likewise.
13512 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
13514         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13516 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
13518         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13519         Fix typos in chart titles.
13521         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13522         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13523         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13524         (describe-class, eieio-describe-generic, describe-generic):
13525         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13526         (eieio-speedbar-expand):
13527         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13528         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13529         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13530         (viper-del-backward-char-in-replace, viper-backward-indent)
13531         (viper-brac-function, viper-register-to-point, viper-submit-report):
13532         * net/tramp.el (tramp-remote-coding-commands):
13533         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13534         Fix typos in docstrings.
13536 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
13538         * mail/sendmail.el (mail-yank-original): Set the mark if the
13539         specified function for yanking does not do it.
13541 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
13543         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
13545         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13546         resyncing a directory.
13548 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
13550         * progmodes/ada-mode.el: Fix bug#1920.
13551         (ada-ident-re): Delete ., allow multibyte characters.
13552         (ada-goto-label-re): New; matches goto labels.
13553         (ada-block-label-re): New; matches block labels.
13554         (ada-label-re): New; matches both.
13555         (ada-named-block-re): Delete; callers changed to use
13556         `ada-block-label-re' instead.
13557         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13558         Use `ada-block-label-re'.
13559         (ada-indent-on-previous-lines): Improve handling of goto labels.
13560         (ada-get-indent-block-start): Special-case block label.
13561         (ada-get-indent-label): Split into `ada-indent-block-label' and
13562         `ada-indent-goto-label'.
13563         (ada-goto-stmt-start, ada-goto-next-non-ws):
13564         Optionally ignore goto labels.
13565         (ada-goto-next-word): Simplify.
13566         (ada-indent-newline-indent-conditional): Insert newline before
13567         trying to fix indentation; doc fix.
13569 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
13571         * calc/calc.el (calc-command-flags): Give it an initial value.
13573 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
13575         * files.el (minibuffer-with-setup-hook):
13576         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13577         (artist-key-draw-continously, artist-key-do-continously-continously)
13578         (artist-key-set-point-continously, artist-mouse-draw-continously):
13579         Fix typos in docstrings.
13581 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
13583         * nxml/nxml-mode.el (nxml-extend-after-change-region):
13584         Never return t (Bug#3898).
13586 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
13588         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13589         can parse the output of the external commands (Bug#5279).
13591 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
13593         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13595 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
13597         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13599         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13601         * startup.el (command-line): Remove unused --icon-type arg.
13602         Handle --display arg, passing it to command-line-1 (Bug#5392).
13604 2010-01-16  Mario Lang  <mlang@delysid.org>
13606         * emacs-lisp/chart.el (chart-translate-namezone):
13607         * textmodes/artist.el (artist-compute-popup-menu-table):
13608         Remove duplicated words in doc-strings.
13610 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
13612         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13613         to mairix-search to suppress threading (Bug#5342).
13615 2010-01-15  Kenichi Handa  <handa@m17n.org>
13617         * international/mule-cmds.el (canonicalize-coding-system-name):
13618         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13620 2010-01-15  Glenn Morris  <rgm@gnu.org>
13622         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
13624         * wid-edit.el (widget-keymap): Doc fix.
13626         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13627         former seems to be more widely accepted by various svn versions.
13629 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13631         * find-cmd.el (find-constituents):
13632         * vc-arch.el (vc-arch-root):
13633         * window.el (window-body-height, pop-up-frames):
13634         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13635         * progmodes/ada-stmt.el (ada-if):
13636         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13637         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13638         (ispell-encoding8-command, ispell-aspell-supports-utf8)
13639         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13641         * progmodes/flymake.el (flymake-post-syntax-check):
13642         Fix typo in error message.
13644 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13646         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13647         which is always a string.  (Bug#5313)
13649 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13651         * progmodes/ada-xref.el (ada-default-prj-properties):
13652         Simplify previous change.
13654 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13656         * progmodes/ada-xref.el (ada-default-prj-properties):
13657         Default ada_project_path to $ADA_PROJECT_PATH.
13659 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13661         * progmodes/ada-mode.el (ada-create-keymap):
13662         Override `narrow-to-defun' with `ada-narrow-to-defun'.
13664 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13666         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13667         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13668         (ada-get-current-indent, ada-imenu-generic-expression)
13669         (ada-which-function): Check for it.
13671 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13673         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13674         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13676 2010-01-14  Glenn Morris  <rgm@gnu.org>
13678         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
13680 2010-01-14  Kenichi Handa  <handa@m17n.org>
13682         * composite.el (auto-composition-mode): Make it a buffer local
13683         variable (permanent-local).
13684         (auto-composition-function): Set the default value to
13685         auto-compose-chars.
13686         (auto-composition-mode): Make it a simple function, not a minor mode.
13687         (global-auto-composition-mode): Likewise.
13688         (turn-on-auto-composition-if-enabled): Delete it.
13690 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
13692         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13694 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
13696         * files.el (copy-directory): Compute target for recursive
13697         directories with identical names.  (Bug#5343)
13699 2010-01-12  Glenn Morris  <rgm@gnu.org>
13701         * mail/emacsbug.el (report-emacs-bug-pretest-address):
13702         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13704 2010-01-11  Sam Steingold  <sds@gnu.org>
13706         * imenu.el (imenu-default-create-index-function): Detect infinite
13707         loops caused by imenu-prev-index-position-function.
13709 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13711         * htmlfontify.el (htmlfontify-load-rgb-file)
13712         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13713         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13714         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13715         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13716         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13717         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13718         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13719         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13720         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13721         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13722         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13723         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13724         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13725         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13726         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13727         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13728         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13729         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13730         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13731         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13732         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13733         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13734         backslash-quoting from parentheses, etc.
13736 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
13738         * progmodes/js.el: Autoload javascript-mode alias.
13740 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13742         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13743         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13744         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13745         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13746         Fix typos in docstrings.
13747         (ffap-url-regexp): Doc fix.
13748         (ffap-at-mouse): Fix typo in message.
13750 2010-01-11  Glenn Morris  <rgm@gnu.org>
13752         * version.el (emacs-copyright): Set copyright year to 2010.
13754 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13756         * format.el (format-annotate-function): Only set
13757         write-region-post-annotation-function after running to-fn so as not to
13758         affect nested write-region calls (bug#5273).
13760 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
13762         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13763         wisent/python.el.
13765 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13767         * man.el (Man-goto-section): Signal error if the section is not
13768         found (Bug#5317).
13770 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
13772         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13773         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
13775 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13777         * progmodes/compile.el: Don't treat compile-command as safe if
13778         compilation-read-command might be nil (Bug#4218).
13780 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
13782         * startup.el (command-line-1): Use orig-argi to check for ignored X and
13783         NS options.
13785 2010-01-08  Kenichi Handa  <handa@m17n.org>
13787         * international/fontset.el (build-default-fontset-data):
13788         Exclude characters in scripts kana, hangul, han, or cjk-misc.
13790 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
13792         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13793         to `create-file-buffer' as it expects, not just a buffer name.
13794         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13795         to help uniquify.  (Bug#3224)
13797 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
13799         * font-setting.el (font-setting-change-default-font): Use user-spec
13800         instead of name.
13802 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
13804         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13806 2010-01-05  Tom Tromey  <tromey@redhat.com>
13808         * progmodes/python.el (python-font-lock-keywords):
13809         Handle qualified decorators (Bug#881).
13811 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13813         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13814         in a lightweight checkout.
13816 2010-01-05  Kenichi Handa  <handa@m17n.org>
13818         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13820 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13822         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13824 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
13826         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13827         checkouts.  (Bug#618)
13828         (vc-bzr-log-view-mode): Also highlight the author.
13829         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13830         (vc-bzr-shelve-menu-map):
13831         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13832         (vc-bzr-shelve-apply): Make prompt more explicit.
13834 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
13836         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13837         They are valid characters in URL paths (rfc3986), and at least
13838         Firefox does not understand the encoded version (Bug#3166).
13840 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
13842         * progmodes/octave-mod.el (octave-end-keywords)
13843         (octave-block-begin-or-end-regexp, octave-block-match-alist):
13844         Add "end" keyword (Bug#3061).
13845         (octave-end-as-array-index-p): New function.
13846         (calculate-octave-indent): Use it.
13848 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13850         * bookmark.el: Consistently put the text property on the bookmark name.
13851         (bookmark-bmenu-marks-width): Bump back to 2, to include
13852         annotation marks.
13853         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13854         property on the bookmark name, instead of not putting it at all.
13855         (bookmark-bmenu-list): Fix where we put the text property.
13857 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13859         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13860         for showing buffer modified state (as added in the previous change).
13862 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13864         * bookmark.el: Show modified state of bookmark buffer more accurately.
13865         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13866         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13867         (with-buffer-modified-unmodified): New macro.
13868         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13869         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13870         Use new macro to preserve the buffer modified state.
13872 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13874         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13875         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13876         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13877         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13878         (bookmark-bmenu-rename, bookmark-bmenu-locate)
13879         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13880         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13882 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13884         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13885         Make the lines in the generated doc string shorter.  (Bug#4668)
13887 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
13889         * net/rcirc.el: Add follow-link binding (Bug#4738).
13891 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13893         * Makefile.in (bzr-update): Rename from cvs-update.
13894         (cvs-update): New target for backward compatibility.
13896         * makefile.w32-in (bzr-update): Rename from cvs-update.
13897         (cvs-update): New target for backward compatibility.
13899 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13901         * bookmark.el: Remove gratuitous gratitude.
13903 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13905         * bookmark.el (bookmark-bmenu-any-marks): New function.
13906         (bookmark-bmenu-save): Clear buffer modification if no marks.
13908 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13910         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13911         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13912         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13913         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13915         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13916         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13917         To: emacs-devel {_AT_} gnu.org
13918         Subject: bookmark.el bug report
13919         Date: Mon, 28 Dec 2009 14:19:16 +0800
13920         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13922 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13924         * bookmark.el: Improvements suggested by Drew Adams:
13925         (bookmark-bmenu-ensure-position): New name for
13926         `bookmark-bmenu-check-position'.  Just ensure the position,
13927         don't return any meaningful value.
13928         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13929         New constants.
13931 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
13933         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13934         (bookmark-yank-point, bookmark-bmenu-check-position):
13935         Fix typos in docstrings.
13936         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13937         (bookmark-name-from-full-record, bookmark-get-position)
13938         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13939         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13940         Remove useless quoting of parenthesis, etc. in docstrings.
13942         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13943         (ediff-append-custom-diff): Fix typo in error message.
13944         (ediff-meta-mark-equal-files): Fix typos in messages.
13946         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13948         * net/imap-hash.el (imap-hash-make): Doc fix.
13949         (imap-hash-test): Fix typo in error message; reflow docstring.
13950         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13951         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13952         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13953         Fix typos in docstrings.
13954         (imap-hash-open-connection): Fix typo in error message.
13956         * play/gomoku.el (gomoku): Fix typos in docstring.
13958         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13959         (gdb-jsonify-buffer): Fix typos in docstring.
13960         (gdb-goto-breakpoint): Fix typo in error message.
13961         ("Display Other Windows"): Fix typo in help message.
13962         (gdb-speedbar-expand-node): Fix typo in question.
13964         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13965         (idlwave-html-system-help-location, idlwave-html-help-location)
13966         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13967         (idlwave-help-browser-generic-args, idlwave-help-directory)
13968         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13969         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13970         (idlwave-online-help, idlwave-help-html-link)
13971         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13972         Fix typos in docstrings.
13973         (idlwave-help-with-source, idlwave-help-find-routine-definition):
13974         Reflow docstrings.
13975         (idlwave-help-assistant-start): Fix typo in error message.
13977         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13978         (octave-electric-space): Fix typos in docstrings.
13980 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
13982         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13984 2010-01-01  Juri Linkov  <juri@jurta.org>
13986         * comint.el (comint-input-ring-size): Make it a defcustom and
13987         increase the default to 500 (Bug#5148).
13989 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
13991         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13992         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13993         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13995 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
13997         Show working revision correctly for mercurial.
13998         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13999         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14001 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
14003         Declare some functions for the byte-compiler.
14004         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14005         (speedbar-timer-fn, speedbar-change-expand-button-char)
14006         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14008 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
14010         This changeset reverts GDB Graphical Interface to use annotations.
14011         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14013 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
14015         Make vc-dir work on subdirectories of the bzr root.
14016         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14017         Return file names relative to it.
14018         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14019         relative directory to vc-bzr-after-dir-status.
14021 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
14023         * font-lock.el (font-lock-refresh-defaults): New function, which
14024         can be used to let font-lock react to external changes in
14025         variables like font-lock-defaults and keywords.
14026         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14028 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
14030         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14032         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14034 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
14036         Supersede color.diff settings in git log (bug#5211).
14038         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14039         escape chars in its output when the user has color.diff set to `always'.
14040         This fix works on git 1.4.2 and newer (released on 2006-08-13).
14042 2009-12-26  Kevin Ryde  <user42@zip.com.au>
14044         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14045         node.  Keep previous "Index" name to work with past coreutils too.
14047         * man.el (man): Revise docstring a bit to show -a and -l as
14048         examples.  Add -k description since support for it has otherwise
14049         been a secret.  (Further to bug#3717.)
14050         (Man-bgproc-sentinel): When "-k foo" produces no output show error
14051         "no matches" rather than "Can't find manpage", as the latter reads
14052         like -k was interpreted as a page name, which is not so.  (Bug#5431)
14054 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
14056         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14057         switches.  Check also for //SUBDIRED// line.
14059 2009-12-25  Kenichi Handa  <handa@m17n.org>
14061         * language/indian.el (devanagari-composable-pattern): Fix to
14062         handle ZWNJ and ZWJ.  Use it in composition-function-table for
14063         Devanagari.
14064         (malayalam-composable-pattern): Fix previous change.
14066 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14068         * ps-print.el (ps-face-attributes): It was not returning the
14069         attribute face for faces specified as string.  Reported by harven
14070         <harven@free.fr>.  (Bug#5254)
14071         (ps-print-version): New version 7.3.5.
14073 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
14075         * calendar/icalendar.el (icalendar--convert-tz-offset):
14076         Fix timezone names.
14077         (icalendar--convert-tz-offset): Fix the "last-day-problem".
14078         (icalendar--add-diary-entry): Remove the trailing blank that
14079         diary-make-entry inserts.
14081 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
14083         Make `file-expand-wildcards' work for remote files.
14085         * files.el (file-expand-wildcards): In case of remote files, check
14086         only local file name part for wildcards.  Provide feature 'files
14087         and subfeature 'remote-wildcards.  (Bug#5198)
14089         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14090         if there is already an established connection.
14091         (tramp-advice-file-expand-wildcards): Remove it.
14093         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14094         (tramp-advice-file-expand-wildcards): Move from tramp.el.
14095         Activate advice for older GNU Emacs versions.  (Bug#5237)
14097 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
14099         Some doc fixes (more needed).
14101         * find-cmd.el (find-constituents): Reflow docstring.
14102         (find-cmd, find-prune, find-command): Fix typos in docstrings.
14103         (find-generic): Doc fix.
14105 2009-12-17  Juri Linkov  <juri@jurta.org>
14107         Fix regression from 23.1 to allow multiple modes in Local Variables.
14109         * files.el (hack-local-variables-filter): While ignoring duplicates,
14110         don't take `mode' into account.
14111         (hack-local-variables-filter, hack-dir-local-variables):
14112         Don't remove duplicate `mode' from local-variables-alist (like `eval').
14114 2009-12-17  Juri Linkov  <juri@jurta.org>
14116         Make `dired-diff' safer.  (Bug#5225)
14118         * dired-aux.el (dired-diff): Signal an error when `file' equals to
14119         `current' or when `file' is a directory of the `current' file.
14121 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
14123         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14124         unconditionally preloaded files.
14126 2009-12-16  Juri Linkov  <juri@jurta.org>
14128         Revert to old 23.1 logic of using the file at the mark as default.
14129         * dired-aux.el (dired-diff): Use the file at the mark as default
14130         if it's not the same as the current file, and the target dir is
14131         the current dir or the mark is active.  Add the current file
14132         as the arg of `dired-dwim-target-defaults'.  Use the default file
14133         in the prompt.  (Bug#5225)
14135 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
14137         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14138         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14139         (tramp-check-for-regexp): Check also, when an echoing shell stops
14140         to echo sent commands.
14142 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14144         * Makefile.in: Revert last change (Bug#5191).
14146 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
14148         * vc-hg.el (vc-hg-print-log): Fix argument order.
14149         (vc-hg-working-revision): Make sure the command is executed in a
14150         known environment so that we can parse the output.  (Bug#4417)
14152 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14154         * progmodes/python.el (python-symbol-completions): Remove text
14155         properties from symbol string before calling python-send-receive.
14157 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
14159         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14160         when there are values for both file and line.  (Bug#5060)
14162 2009-12-14  Juri Linkov  <juri@jurta.org>
14164         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14165         whitespace after the file name of the first line of unified format,
14166         because git-diff doesn't output whitespace and file modification time
14167         after the file name.
14169 2009-12-14  David Kastrup  <dak@gnu.org>
14171         * info.el (Info-hide-cookies-node): Before hiding a cookie,
14172         check if it already has the `display' property added by
14173         `Info-display-images-node', and not put the `invisible' property
14174         in this case.
14176 2009-12-13  Glenn Morris  <rgm@gnu.org>
14178         * mail/emacsbug.el (message-sort-headers): Define for compiler.
14179         (report-emacs-bug): In message-mode, sort manually before storing
14180         original report text.  (Bug#5178)
14181         Remove superfluous save-excursion.
14183 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
14185         * net/dbus.el (dbus-property-handler): Filter lambda forms out
14186         when responding to "GetAll" properties.
14188 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
14190         * simple.el (compose-mail): Remove mail-setup-with-from from
14191         customization checks.
14193 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
14195         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14196         RAR archives created on Unix systems.
14198 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14200         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14201         the varalias that was accidentally removed by the 2009-11-19 change
14202         (bug#5186).
14204 2009-12-12  Kenichi Handa  <handa@m17n.org>
14206         * language/indian.el (indian-compose-regexp): New function.
14207         (malayalam-composable-pattern): Fix the pattern.
14208         (composition-function-table): Set malayalam-composable-pattern for
14209         Malayalam characters.
14211 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
14213         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14214         rather than down-mouse-1, based on follow-link conventions.
14216         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14217         are compiled.
14219 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
14221         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14222         (verilog-vmm-statement-re, verilog-ovm-statement-re)
14223         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14224         (verilog-leap-to-head, verilog-backward-token):
14225         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
14227 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
14229         * progmodes/verilog-mode.el (verilog-auto-lineup)
14230         (verilog-nameable-item-re): Cleanup user-visible spelling and
14231         documentation errors.  One reported by Gary Delp.
14232         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14233         (verilog-read-decls): Fix AUTOWIRE with types declared in a
14234         package, bug195.  Reported by Pierre-David Pfister.
14236 2009-12-11  Glenn Morris  <rgm@gnu.org>
14238         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14240         * mail/emacsbug.el: No longer require sendmail.
14241         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
14242         (report-emacs-bug-orig-text): Doc fix.
14243         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14244         New local variables, to adapt to different mail-user-agents.
14245         (report-emacs-bug): Fix test for a gnu.org address.
14246         Use overlays for emphasis, since font-lock defeats 'face property.
14247         Pretest bugs also end up at the newsgroup these days.
14248         Stop message-mode stripping text properties.
14249         Set and use the new buffer-local variables.
14250         (report-emacs-bug-hook): Add doc-string.
14251         Remove some unnecessary save-excursions and simplify.
14252         Use the appropriate hook and send-command.
14254         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14255         capitalization of some menu entries.
14257 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14259         * whitespace.el (whitespace-display-char-on):
14260         Ensure `buffer-display-table' is unique when two or more windows are
14261         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14262         New version 12.1.
14264 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
14266         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14267         characters in the Attribute field.
14269 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
14271         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
14273 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14275         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14276         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14277         Disregard autoload-excludes.
14278         (update-directory-autoloads): Obey autoload-excludes here instead.
14279         But don't store its contents in no-autoloads and remove entries that
14280         refer to excludes files.
14282 2009-12-10  Glenn Morris  <rgm@gnu.org>
14284         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14285         (expand-mail-aliases): Define for compiler.
14287         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14288         Define for compiler.
14290         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14291         appropriate for the mail-user-agent in use.
14293 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
14295         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14297 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
14299         Fix short log parsing and fontification.
14300         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14301         Fix fontification for the [merge] label.
14303 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
14305         Drop some properties to avoid surprises (bug#5002).
14306         * htmlfontify.el (hfy-ignored-properties): New defcustom.
14307         (hfy-fontify-buffer): Use it.
14309 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14311         Minor cleanup.
14312         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14313         Adjust all callers.
14314         (ffap-locate-file): Remove unused arg `dir-ok' and make other
14315         args compulsory.  Adjust callers.
14316         (ffap-gopher-at-point): Remove unused var `name'.
14318         Get rid of the ELCFILES abomination.
14319         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14320         (compile-elcfiles): New phony target.
14321         (compile-main): Compute ELCFILES dynamically.
14322         (compile-clean): New target to remove left-over elc files.
14323         (compile, all): Use it.
14325 2009-12-09  Kenichi Handa  <handa@etlken>
14327         * international/mule-diag.el: Require help-mode instead of help-fns.
14329 2009-12-09  Kenichi Handa  <handa@m17n.org>
14331         * international/mule-cmds.el (ucs-names): Supply sufficiently
14332         fine ranges instead of pre-calculating accurate ranges.
14333         Iterate with bigger gc-cons-threshold.
14335 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
14337         Add support for stashing a snapshot of the current tree.
14338         * vc-git.el (vc-git-stash-snapshot): New function.
14339         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14341 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
14343         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14344         instead of `(beginning|end)-of-line'.
14346 2009-12-08  Glenn Morris  <rgm@gnu.org>
14348         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14350         * Makefile.in (ELCFILES): Regenerate.
14352 2009-12-07  Juri Linkov  <juri@jurta.org>
14354         Don't lazy-highlight the comint output in history Isearch mode.
14356         * comint.el (comint-history-isearch-search): Instead of
14357         `comint-line-beginning-position', use `comint-after-pmark-p'
14358         to check if point if before the process mark, and go to
14359         `process-mark' in this case.
14361 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14363         * textmodes/tex-mode.el (latex-complete)
14364         (latex-indent-or-complete): Remove.
14365         (latex-mode): Set completion-at-point-functions instead.
14367         Provide a standard completion command and hook it into TAB.
14368         * minibuffer.el (completion-at-point-functions): New var.
14369         (completion-at-point): New command.
14370         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14371         * progmodes/python.el (python-mode-map): Use completion-at-point.
14372         (python-completion-at-point): Rename from python-partial-symbol and
14373         adjust for use in completion-at-point-functions.
14374         (python-mode): Setup completion-at-point for Python completion.
14375         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14376         extracted from lisp-complete-symbol.
14377         (lisp-complete-symbol): Use it.
14378         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14379         setup completion-at-point for Elisp completion.
14380         (emacs-lisp-mode-map, lisp-interaction-mode-map):
14381         Use completion-at-point.
14382         * ielm.el (ielm-map): Use completion-at-point.
14383         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14384         * progmodes/sym-comp.el: Move to...
14385         * obsolete/sym-comp.el: Move from progmodes.
14387 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
14389         Prevent save-buffer in Rmail buffers from using the coding-system
14390         of the current message, and from clobbering the encoding mnemonics
14391         in the mode line (Bug#4623).
14393         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14394         flag, too.
14395         (rmail-message-encoding): New variable.
14396         (rmail-write-region-annotate): Record the encoding of the current
14397         message in rmail-message-encoding.
14398         (rmail-after-save-hook): New function, restores the encoding of
14399         the current message after the message collection is saved.
14401 2009-12-07  Juri Linkov  <juri@jurta.org>
14403         * progmodes/grep.el (grep-read-files): Use `completing-read'
14404         instead of `read-string'.  Set its `collection' arg to
14405         `read-file-name-internal'.  (Bug#4301)
14407 2009-12-07  Juri Linkov  <juri@jurta.org>
14409         Correctly restore original Isearch point.  (Bug#4994)
14411         * isearch.el (isearch-mode): Move `isearch-push-state' after
14412         `(run-hooks 'isearch-mode-hook)'.
14413         (isearch-cancel): When `isearch-push-state-function' is defined,
14414         let-bind `isearch-cmds' to the first state (the last element of
14415         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14416         function and restores the original point).  Otherwise, move point
14417         to `isearch-opoint'.
14419 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14421         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14422         chars that don't have names, so the table can be built much faster at
14423         run-time.
14425 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
14427         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14428         change.  Suggested by David Kastrup.
14430         * simple.el (compose-mail): Check for incompatibilities and warn.
14431         (compose-mail-user-agent-warnings): New option.
14433 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14435         Support showing a single log entry from vc-annotate.
14436         * vc.el (print-log): Add a new argument: START-REVISION.
14437         (vc-print-log-internal): Add a new optional argument and
14438         pass it to the backend.
14439         (vc-print-log, vc-print-root-log): Adjust callers.
14440         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14441         buffer already displays the requested log entry, use it.
14442         Otherwise display only the log entry in question.
14443         * vc-svn.el (vc-svn-print-log):
14444         * vc-mtn.el (vc-mtn-print-log):
14445         * vc-hg.el (vc-hg-state):
14446         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14447         (vc-git-show-log-entry): Return t on success.
14448         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14449         (vc-bzr-show-log-entry): Return t on success.
14450         * vc-rcs.el (vc-rcs-print-log):
14451         * vc-sccs.el (vc-sccs-print-log):
14452         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14454 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14456         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14457         Add menus to the meta mode.  (Bug#5043)
14459 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
14461         * ediff-init.el (ediff-event-key): Use event-to-character instead of
14462         event-key.
14464         * ediff.el (ediff-buffers-internal): Add unwind-protect.
14466 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
14468         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
14469         Berbain <raphael.berbain@gmail.com>.
14471         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
14472         characters.
14473         (tramp-initial-end-of-output): New defconst.
14474         (tramp-methods, tramp-find-shell)
14475         (tramp-open-connection-setup-interactive-shell)
14476         (tramp-maybe-open-connection): Use it.
14477         (tramp-shell-prompt-pattern, tramp-wait-for-output):
14478         Handle existence of `#' and `$'.
14480         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14481         Use `tramp-initial-end-of-output'.
14483 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14485         Get the background mode from the terminal for xterm, and set
14486         faces accordingly.
14487         * term/xterm.el (xterm-set-background-mode): New function.
14488         (terminal-init-xterm): Use it in case xterm supports background
14489         color queries.  Recompute faces after getting the background
14490         color.
14492 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
14494         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14495         number comment back on its own line, for easier parsing.
14497 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14499         Make it work for non-file buffers (bug#5102).
14500         * doc-view.el (doc-view-current-cache-dir):
14501         Use doc-view-buffer-file-name rather than buffer-file-name.
14502         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14504 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
14506         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14507         author field is too short.
14509 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
14511         * vc-git.el (vc-git-print-log): Handle a limit argument.
14512         Display the short log in graph form and with labels.
14513         (vc-git-log-view-mode): Handle labels.
14515         Make vc-revert change VC state from 'added to 'unregistered.
14516         * vc-git.el (vc-git-revert): Call git reset first.
14518 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14520         * net/newst-backend.el, net/newst-plainview.el:
14521         * net/newst-reader.el, net/newst-ticker.el:
14522         * net/newst-treeview.el, net/newsticker.el:
14523         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
14525 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14527         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14529         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14530         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
14531         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14532         Update annotation regexp.
14534         * simple.el (beginning-of-visual-line): Constrain to field
14535         boundaries (Bug#5106).
14537 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14539         * xml.el (xml-substitute-numeric-entities):
14540         Move newsticker--decode-numeric-entities in newst-backend.el to
14541         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14542         * net/newst-backend.el (newsticker--parse-generic-feed)
14543         (newsticker--parse-generic-items)
14544         (newsticker--decode-numeric-entities):
14545         Move newsticker--decode-numeric-entities in newst-backend.el to
14546         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14548 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
14550         * progmodes/js.el (js--js-not): Add null to the list of values.
14552 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14554         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14556 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14558         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14559         delimiter if it is at the end of the current line.
14560         (bibtex-generate-url-list): Fix docstring.
14562 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14564         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14565         minibuffer's content with itself.
14566         Fold the confirm-after-completion case into the `confirm' case.
14567         (completion-pcm-word-delimiters): Add : and / to the delimiters.
14569 2009-12-06  Kevin Ryde  <user42@zip.com.au>
14571         * ffap.el (ffap-rfc-path): Make this a defcustom since
14572         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
14574         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14575         manuals, similar to existing setup for help-mode.  (Bug#3913.)
14577 2009-12-05  Juri Linkov  <juri@jurta.org>
14579         Save and restore dired buffer's point positions too.  (Bug#4880)
14581         * dired.el (dired-save-positions): Return in the first element
14582         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14583         Doc fix.
14584         (dired-restore-positions): First restore buffer's position.
14585         While restoring window's positions, check if window still displays
14586         the original buffer.
14588 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
14590         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14591         if possible.
14593         * shell.el (shell): Require ansi-color (Bug#5113).
14595         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14597         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14599 2009-12-05  Alan Mackenzie  <acm@muc.de>
14601         * progmodes/cc-mode.el (c-before-hack-hook)
14602         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14603         `c-file-style' to work again.  This reversion restores the current
14604         software to its state in Emacs 23.1.  (Bug#4146)
14606 2009-12-05  Kevin Ryde  <user42@zip.com.au>
14608         * textmodes/sgml-mode.el (sgml-lexical-context):
14609         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14611 2009-12-05  Juri Linkov  <juri@jurta.org>
14613         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14614         for virtual nodes.  (Bug#4147)
14615         (Info-find-node-2): Set `Info-current-node-virtual' to nil
14616         when moving from a virtual node.
14617         (Info-mode-menu): Add `Info-virtual-index' to the menu.
14618         (Info-mode): Add `Info-virtual-index' to the docstring.
14620 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14622         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14623         track of the buffer position of the end of a BibTeX entry as this
14624         position may change during reformatting.
14625         (bibtex-format-entry): Remove whitespace before processing
14626         numerical fields so that we recognize the latter properly.
14627         (bibtex-reformat): Do not use push which changes the global value
14628         of bibtex-entry-format.
14629         (bibtex-field-braces-alist, bibtex-field-strings-alist)
14630         (bibtex-field-re-init): Replace only space characters by regexp
14631         for whitespace.
14632         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14633         (bibtex-initialize): Also update bibtex-strings.
14634         (bibtex-kill-field): Preserve white space at end of entry.
14635         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14636         Update bibtex-reference-keys.
14638 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14640         * minibuffer.el (completion-pcm--merge-try): Also consider placing
14641         point after a star, if that's the only place where modifications can
14642         make progress.
14644 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
14646         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14647         in docstrings.
14649 2009-12-04  Juri Linkov  <juri@jurta.org>
14651         * proced.el (proced): Call `(proced-update t)' to update process
14652         information instead of only running proced-post-display-hook.
14653         (proced-send-signal): Add a leading space to the buffer name
14654         " *Marked Processes*" to make this buffer ephemeral.
14656 2009-12-04  Juri Linkov  <juri@jurta.org>
14658         * dired.el (dired-auto-revert-buffer): New defcustom.
14659         (dired-internal-noselect): Use it.
14661 2009-12-04  Juri Linkov  <juri@jurta.org>
14663         Change roles of modes and functions in image-mode.el (Bug#5062).
14665         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14666         in `auto-mode-alist'.
14667         (image-mode-previous-major-mode): New variable.
14668         (image-minor-mode-map): Rename from `image-mode-text-map'.
14669         (image-mode): Move graceful error-handling code from
14670         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
14671         (image-minor-mode): Remove all image-handling code.
14672         Replace `image-mode-text-map' with `image-minor-mode-map'.
14673         Check for `image-type' in mode-line format string.
14674         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14675         (image-mode-as-text): New function with most code from
14676         `image-mode-maybe'.
14677         (image-toggle-display-text): Move code that removes image
14678         properties from `image-toggle-display' to here.
14679         (image-toggle-display-image): New function with code that adds
14680         image properties copied from `image-toggle-display'.
14681         (image-toggle-display): Remove most code with leaving only code
14682         that toggles between `image-mode-as-text' and `image-mode'.
14684 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
14686         * net/newst-treeview.el
14687         (newsticker--treeview-list-highlight-start): Restored call to
14688         save-excursion: Selected item was stuck.
14689         (newsticker--treeview-list-select): New.
14690         (newsticker--treeview-item-show-text)
14691         (newsticker--treeview-item-show)
14692         (newsticker--treeview-item-update): Use new
14693         newsticker-treeview-item-mode.
14694         (newsticker-treeview-update): Keep current item.
14695         (newsticker-treeview-next-new-or-immortal-item): Doc change.
14696         (newsticker--treeview-first-feed): Doc change.
14697         (newsticker-treeview-list-menu)
14698         (newsticker-treeview-item-menu): Add menu entries.
14699         (newsticker-treeview-item-mode): New.
14701         * net/newst-backend.el (newsticker-customize): Delete other
14702         windows.
14704 2009-12-04  Sam Steingold  <sds@gnu.org>
14706         * log-view.el (log-view-mode-map): "q" calls quit-window,
14707         like in all the other non-self-insert buffers.
14709 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14711         Minor cleanup.
14712         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14713         key decoding rather than do it manually via last-input-event +
14714         ascii-character.
14715         (term-exec): Use delete-and-extract-region.
14716         (term-handle-ansi-terminal-messages): Remove unused var `end'.
14717         (term-process-pager): Remove unused var `i'.
14718         (term-dynamic-simple-complete): Make obsolete.
14719         (serial-update-config-menu): Remove unused vars `y' and `str'.
14720         (term-update-mode-line): Remove unused var `temp'.
14722 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14724         Limit the number of log entries displayed by default.
14725         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14726         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14727         using a prefix argument.
14729 2009-12-03  Glenn Morris  <rgm@gnu.org>
14731         * progmodes/idlwave.el (class): Restore still useful declaration.
14733 2009-12-03  Alan Mackenzie  <acm@muc.de>
14735         Enhance `c-parse-state' to run efficiently in "brace deserts".
14737         * progmodes/cc-mode.el (c-basic-common-init):
14738         Call c-state-cache-init.
14739         (c-neutralize-syntax-in-and-mark-CPP): Rename from
14740         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
14741         placing `category' properties value 'c-cpp-delimiter at its boundaries.
14743         * progmodes/cc-langs.el (c-before-font-lock-function):
14744         c-extend-and-neutralize-syntax-in-CPP has been renamed
14745         c-neutralize-syntax-in-and-mark-CPP.
14747         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14748         with `category' properties now, not `syntax-table' ones.
14750         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14751         enhanced (but slower) version of c-end-of-macro that won't land
14752         inside a literal or on another awkward character.
14753         (c-state-cache-too-far, c-state-cache-start)
14754         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14755         (c-state-nonlit-pos-cache-limit, c-state-point-min)
14756         (c-state-point-min-lit-type, c-state-point-min-lit-start)
14757         (c-state-min-scan-pos, c-state-brace-pair-desert)
14758         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14759         buffer local variables.
14760         (c-state-literal-at, c-state-lit-beg)
14761         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14762         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14763         (c-state-cache-top-paren, c-state-cache-after-top-paren)
14764         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14765         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14766         (c-renarrow-state-cache)
14767         (c-append-lower-brace-pair-to-state-cache)
14768         (c-state-push-any-brace-pair, c-append-to-state-cache)
14769         (c-remove-stale-state-cache)
14770         (c-remove-stale-state-cache-backwards, c-state-cache-init)
14771         (c-invalidate-state-cache-1, c-parse-state-1)
14772         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14773         (c-parse-state): Enhance and refactor.
14774         (c-debug-parse-state): Amend to deal with all the new variables.
14776         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14777         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14778         modify to use category text properties rather than syntax-table ones.
14779         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14780         to switch off/on the syntactic paren property of C++ template
14781         delimiters using the category property.
14782         (c-with-<->-as-parens-suppressed): Macro to invoke code with
14783         template delims suppressed.
14784         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14785         New constant/macros which apply category properties to the start
14786         and end of preprocessor constructs.
14787         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14788         "comment out" the syntactic value of characters in preprocessor
14789         constructs.
14790         (c-with-cpps-commented-out)
14791         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14792         with characters in all or all but one preprocessor constructs
14793         "commented out".
14795 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14797         * proced.el (proced-filter-alist): Use regexp-quote.
14799 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
14801         Cleanup.
14802         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14803         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
14804         arguments.  Expand `default-directory'.
14806         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14807         the benefit of returning an expanded localname.
14808         (tramp-tramp-file-p): Handle the case NAME is not a string.
14810 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14812         Add support for bzr shelve/unshelve.
14813         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14814         (vc-bzr-extra-menu-map): New variables.
14815         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14816         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14817         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14818         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14819         (vc-bzr-dir-extra-headers): Display shelves.
14821         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14823 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14825         * textmodes/bibtex.el (bibtex-complete-internal):
14826         Use completion-in-region.
14827         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14829 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14831         Support applying stashes.  Improve UI.
14832         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14833         (vc-git-stash-apply, vc-git-stash-pop)
14834         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14835         (vc-git-stash-menu): New functions.
14836         (vc-git-stash-menu-map): New variable.
14837         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14839 2009-12-03  Glenn Morris  <rgm@gnu.org>
14841         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14842         (vc-print-log-internal): Fix previous change.
14843         (vc-revert): Correct pluralization.
14845 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14847         * progmodes/make-mode.el (makefile-special-targets-list): No need for
14848         it to be an alist any more.
14849         (makefile-complete): Use completion-in-region.
14851         * progmodes/octave-mod.el (octave-complete-symbol):
14852         Use completion-in-region.
14854         Misc cleanup.
14855         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14856         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14857         (idlwave-complete-class): Don't quote lambda.
14858         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14859         (idlwave-mode-map): Move initialization into declaration.
14860         (idlwave-action-and-binding): Use backquotes.
14861         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14862         Simplify.
14863         (idlwave-is-pointer-dereference): Remove unused var `pos'.
14864         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14865         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14866         `parts', and `all-parts'.
14867         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14868         (idlwave-convert-xml-system-routine-info): Remove unused string
14869         `version-string'.
14870         (idlwave-display-user-catalog-widget): Use dolist.
14871         (idlwave-scanning-lib): Declare dynamically-scoped var.
14872         (idlwave-scan-library-catalogs): Remove unused var `flags'.
14873         (completion-highlight-first-word-only): Declare to silence bytecomp.
14874         (idlwave-popup-select): Tighten scope of `resp'.
14875         (idlwave-find-struct-tag): Remove unused var `beg'.
14876         (idlwave-after-load-rinfo-hook): Declare.
14877         (idlwave-sintern-class-info): Remove unused var `taglist'.
14878         (idlwave-find-class-definition): Remove unused var `list'.
14879         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14880         (idlwave-what-module-find-class): Remove unused var `classes'.
14882 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
14884         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14886 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14888         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14889         buffers visited.  Remove redundant current-buffer-saving.
14891 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14893         Use completion-in-buffer and remove uses of dynamic scoping.
14894         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14895         (pascal-buffer-to-use, pascal-flag): Don't declare.
14896         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14897         (pascal-get-completion-decl, pascal-keyword-completion):
14898         Add `pascal-str' argument, save-excursion,
14899         return the found completions, and don't filter with pascal-pred.
14900         (pascal-completion-cache): New var.
14901         (pascal-completion): Don't switch buffer any more (it was never
14902         necessary).  Don't save-excursion any more (it's done by the called
14903         subroutines).  Use a cache to avoid redundant computations.
14904         Use complete-with-action rather than pascal-completion-response and
14905         let it apply the predicate as well.
14906         (pascal-complete-word): Use completion-in-buffer when
14907         pascal-toggle-completions is nil.
14908         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14909         not used any more.
14910         (pascal-comp-defun): Don't change buffer any more.
14911         Use complete-with-action rather than pascal-completion-response and
14912         let it apply the predicate as well.
14913         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14914         when neded.
14916 2009-12-02  Kenichi Handa  <handa@m17n.org>
14918         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14919         shape for all Indic scripts.
14921 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14923         Use completion-in-buffer.
14924         * wid-edit.el (widget-field-text-end): New function.
14925         (widget-field-value-get): Use it.
14926         (widget-string-complete, widget-file-complete)
14927         (widget-color-complete): Use it and completion-in-region.
14928         (widget-complete): Don't narrow the buffer.
14930 2009-12-02  Glenn Morris  <rgm@gnu.org>
14932         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
14933         (rmail-select-summary): Use rmail-pop-to-buffer.
14934         * mail/rmailsum.el: Replace all pop-to-buffer calls with
14935         rmail-pop-to-buffer, to prevent horizontal splits.
14937         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14938         save-excursion with save-current-buffer.
14939         Widen before searching.  (Bug#5093)
14940         (diary-list-sexp-entries): Remove superfluous save-excursion.
14942 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
14944         * woman.el (woman-make-bufname): Handle man-pages with "." in the
14945         name.  (Bug#5038)
14947 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
14949         * ido.el (ido-file-internal): Handle filenames at point that do
14950         not have a directory part.  (Bug#5049)
14952 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
14954         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14955         (mpc-songs-jump-to, mpc-resume): Doc fixes.
14957 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
14959         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14960         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14961         any more.
14963 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14965         * comint.el (comint-insert-input): Ignore clicks to the right of
14966         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14968         * vc.el (vc-print-log-internal): Don't wait for the process to
14969         terminate before setting up the major mode.
14971         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14972         in case.
14974         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14975         the last element.
14977         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14979 2009-12-01  Glenn Morris  <rgm@gnu.org>
14981         * window.el (window--display-buffer-2): Fix previous changes.
14983 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
14985         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14987 2009-12-01  Glenn Morris  <rgm@gnu.org>
14989         * Makefile.in (ELCFILES): Add mpc.elc.
14991 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14993         * mpc.el: New file.
14995 2009-12-01  Glenn Morris  <rgm@gnu.org>
14997         * window.el (window-to-use): Define for compiler.
14999         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15000         consistent with others (no final period).
15002         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15003         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
15005 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
15007         Make vc-print-log buttons work.
15008         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15010 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
15012         * savehist.el (savehist-autosave-interval): Allow setting to nil
15013         through customize.  (Bug#5056)
15015 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
15017         Fix references to jit-lock properties.
15018         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15019         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15020         (perl-font-lock-special-syntactic-constructs):
15021         Quote jit-lock-defer-multiline property.
15023 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
15025         * vc-git.el (vc-git-registered): Call vc-git-root only once.
15027 2009-11-30  Juri Linkov  <juri@jurta.org>
15029         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15030         value `buffer' of `multi-isearch-next-buffer-current-function'.
15031         Use `(current-buffer)' when `buffer' is nil.
15032         (multi-isearch-next-buffer-from-list): Don't fallback to
15033         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
15035 2009-11-30  Juri Linkov  <juri@jurta.org>
15037         * misearch.el (multi-isearch-read-buffers): Move canonicalization
15038         of buffers with `get-buffer' to `multi-isearch-buffers'.
15039         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15040         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
15041         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15042         FILES with `expand-file-name' converting relative file names
15043         to absolute.  Doc fix.  (Bug#4727)
15045 2009-11-30  Juri Linkov  <juri@jurta.org>
15047         * misearch.el (multi-isearch-read-buffers)
15048         (multi-isearch-read-matching-buffers): New functions.
15049         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15050         Use them in the `interactive' spec.  Doc fix.
15051         (multi-isearch-read-files, multi-isearch-read-matching-files):
15052         New functions.
15053         (multi-isearch-files, multi-isearch-files-regexp):
15054         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
15056 2009-11-30  Juri Linkov  <juri@jurta.org>
15058         * doc-view.el (doc-view-continuous):
15059         Rename from `doc-view-continuous-mode'.
15060         (doc-view-menu): Move "Toggle display" to the top.
15061         Add submenu "Continuous" with radio buttons "Off"/"On"
15062         and "Save as Default".
15063         (doc-view-scroll-up-or-next-page)
15064         (doc-view-scroll-down-or-previous-page)
15065         (doc-view-next-line-or-next-page)
15066         (doc-view-previous-line-or-previous-page):
15067         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
15069 2009-11-30  Juri Linkov  <juri@jurta.org>
15071         * comint.el (comint-mode-map): Rebind `M-r' from
15072         `comint-previous-matching-input' to
15073         `comint-history-isearch-backward-regexp'.
15074         Unbind `M-s' to allow global key binding `M-s'.
15075         Add menu items for `comint-history-isearch-backward' and
15076         `comint-history-isearch-backward-regexp'.  (Bug#3746)
15078 2009-11-30  Juri Linkov  <juri@jurta.org>
15080         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15081         For def=recenter, replace `recenter' with `recenter-top-bottom'
15082         that is called with `this-command' and `last-command' let-bound
15083         to `recenter-top-bottom'.  When the last `def' was not `recenter',
15084         set `recenter-last-op' to nil.  (Bug#4981)
15086 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15088         Minor cleanup and simplification.
15089         * filecache.el (file-cache-add-directory)
15090         (file-cache-add-directory-recursively)
15091         (file-cache-add-from-file-cache-buffer)
15092         (file-cache-delete-file-regexp, file-cache-delete-directory)
15093         (file-cache-files-matching-internal, file-cache-display): Use dolist.
15094         (file-cache-temp-minibuffer-message): Delete function.
15095         (file-cache-minibuffer-complete): Use minibuffer-message instead.
15097         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15098         Don't signal an error when bumping into EOB in tr, s, or y.
15100 2009-11-29  Juri Linkov  <juri@jurta.org>
15102         * startup.el (fancy-about-text): Fix wording of Guided Tour.
15103         (Bug#4960)
15105         * descr-text.el (describe-char-unidata-list): Use lowercase name
15106         for "Unicode name" like in other tags.
15108 2009-11-29  Juri Linkov  <juri@jurta.org>
15110         * ediff-util.el (ediff-minibuffer-with-setup-hook):
15111         New compatibility macro.
15112         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15114 2009-11-29  Juri Linkov  <juri@jurta.org>
15116         Add defcustom to define the cycling order of `recenter-top-bottom'.
15117         (Bug#4981)
15119         * window.el (recenter-last-op): Doc fix.
15120         (recenter-positions): New defcustom.
15121         (recenter-top-bottom): Rewrite to use `recenter-positions'.
15122         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15124 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
15126         Improve integration of Tramp and ange-ftp in eshell.
15128         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15129         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
15130         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
15132         * eshell/esh-util.el (top): Require also Tramp when compiling.
15133         (eshell-directory-files-and-attributes): Check for FTP remote
15134         connection.
15135         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15136         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15137         (eshell-file-attributes): Handle ".".  Return `entry'.
15139         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15140         (ange-ftp-directory-files-and-attributes)
15141         (ange-ftp-real-directory-files-and-attributes): New defuns.
15143         * net/tramp.el (tramp-maybe-open-connection): Open the remote
15144         shell with "exec" when possible.  This prevents trailing prompts
15145         in `start-file-process'.
15147 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15149         Try and remove assumptions about point-min==1.
15150         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15151         (rng-compute-mode-line-string): Show the validation percentage in
15152         terms of the narrowed text, not the widened text.
15153         (rng-do-some-validation): Don't catch internal errors when debugging.
15154         (rng-first-error): Simplify.
15155         (rng-after-change-function): Remove work around.  AFAIK the bug has
15156         been fixed a while ago.
15158         * image-mode.el (image-minor-mode): Exit more gracefully when the image
15159         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15161         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15163         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15164         `cd' doesn't always do it for us (bug#5067).
15166         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15167         on 2009-10-25 as part of some other change (bug#5067).
15169 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15171         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15172         `suspicious'.
15173         (byte-compile-warnings): Use byte-compile-warning-types.
15174         (byte-compile-save-excursion): Warn about use of set-buffer right
15175         after save-excursion.
15177         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15178         the excursion as well.
15180 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
15182         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15183         providing a Tramp related implementation of "su" and "sudo".
15184         (eshell-unix-initialize): Add "su" and "sudo".
15186 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
15188         * net/socks.el (socks-send-command): Convert binary request to
15189         unibyte before sending.  This fixes mishandling of some port
15190         numbers such as 129.
15192 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15194         * help.el (describe-bindings-internal): Remove `interactive'.
15196         * man.el (Man-completion-table): Trim a terminating "(".
15197         Remove the space between name page a section.
15198         Add the command's description on the `help-echo' property.
15199         Remove `process-connection-type' binding since it's unused by
15200         call-process.
15201         Provide completion for the "<section> <name>" format as well.
15202         (Man-default-man-entry): Remove spurious var shadowing the argument.
15204 2009-11-26  Kevin Ryde  <user42@zip.com.au>
15206         * log-view.el: Add "Keywords: tools", since its other keywords
15207         aren't in finder-known-keywords, and following vc.el.
15209         * sha1.el (sha1-string-external): default-directory "/" in case
15210         otherwise non-existent.  process-connection-type pipe for touch of
15211         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
15213 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15215         Misc coding convention cleanups.
15216         * htmlfontify.el (hfy-init-kludge-hook): Rename from
15217         hfy-init-kludge-hooks.
15218         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15219         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15220         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15221         and push.
15222         (hfy-slant, hfy-weight): Use tables rather than code.
15223         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15224         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15225         (hfy-face-attr-for-class): Initialize `face-spec' directly.
15226         (hfy-face-to-css): Remove `nconc' with single arg.
15227         (hfy-p-to-face-lennart): Use `or'.
15228         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
15229         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15230         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15231         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15232         (hfy-force-fontification): Use run-hooks.
15234 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
15236         Various minor fixes.
15237         * htmlfontify.el (hfy-default-header): Add toggle_invis since
15238         Javascript belongs in the header, not the body.
15239         (hfy-javascript): Remove.
15240         (hfy-fontify-buffer): Don't insert it any more.
15241         (hfy-face-at): Handle (face0 face1 face2) style face properties.
15242         Fix bug in invis handling when there were no invis props in a chunk.
15244 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15246         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15248 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
15250         * finder.el (finder-mode-map): Add a menu.
15252 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
15254         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15255         "unsigned" structs.
15257         (verilog-leap-to-head, verilog-backward-token): Handle "disable
15258         fork" statement better.
15260 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
15262         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15263         (verilog-delete-auto, verilog-delete-empty-auto-pair)
15264         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15265         Reported by Clay Douglass.
15267         (verilog-auto-inst, verilog-auto-star-safe)
15268         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15269         Fix removing "// Interfaces" when saving .* expansions.
15270         Reported by Pierre-David Pfister.
15272 2009-11-26  Glenn Morris  <rgm@gnu.org>
15274         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15275         the scope.
15277 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
15279         * vc-annotate.el (vc-annotate-revision-previous-to-line):
15280         Really use previous revision.
15282 2009-11-25  Kevin Ryde  <user42@zip.com.au>
15284         * man.el (Man-completion-table): default-directory "/" in case
15285         doesn't otherwise exist.  process-environment COLUMNS=999 so as
15286         not to truncate long names.  process-connection-type pipe to avoid
15287         any chance of hitting the pseudo-tty TIOCGWINSZ.
15288         (man): completion-ignore-case t for friendliness and since man
15289         itself is case-insensitive on the command line.
15290         Further to Bug#3717.
15292         * arc-mode.el: Add "Keywords: files", so the details in its
15293         commentary can be reached from finder-by-keyword.
15294         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
15295         editing mode, but it's comms related and sgml-mode.el has "comm"
15296         on that basis too.
15297         * textmodes/bibtex-style.el: Add "Keywords: tex".
15298         * international/isearch-x.el, international/ja-dic-cnv.el:
15299         * international/ja-dic-utl.el, international/kkc.el:
15300         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15302 2009-11-25  Juri Linkov  <juri@jurta.org>
15304         * man.el (Man-completion-table): Modify regexp to include
15305         section names to completion strings.  (Bug#3717)
15307 2009-11-25  Juri Linkov  <juri@jurta.org>
15309         Search recursively in gzipped files.  (Bug#4982)
15311         * progmodes/grep.el (grep-highlight-matches): Add new options
15312         `always' and `auto'.  Doc fix.
15313         (grep-process-setup): Check `grep-highlight-matches' for
15314         `auto-detect' to determine the need to compute grep defaults.
15315         Move Windows/DOS specific --colors settings handling
15316         to `grep-compute-defaults'.  Check `grep-highlight-matches'
15317         to get the value of "--color=".
15318         (grep-compute-defaults): Compute `grep-highlight-matches' when it
15319         has the value `auto-detect'.  Move Windows/DOS specific settings
15320         from `grep-process-setup'.
15321         (zrgrep): New command with alias `rzgrep'.
15323 2009-11-25  Juri Linkov  <juri@jurta.org>
15325         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15326         to nil instead of switching off view-mode.  (Bug#4896)
15328 2009-11-25  Juri Linkov  <juri@jurta.org>
15330         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
15332         * mwheel.el (mwheel-scroll-up-function)
15333         (mwheel-scroll-down-function): New defvars.
15334         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15335         `scroll-up', and `mwheel-scroll-down-function' instead of
15336         `scroll-down'.
15338         * doc-view.el (doc-view-scroll-up-or-next-page)
15339         (doc-view-scroll-down-or-previous-page): Add optional ARG.
15340         Use this ARG in the call to image-scroll-up/image-scroll-down.
15341         Change `interactive' spec to "P".  Goto next/previous page only
15342         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15343         SPC/DEL case).  Doc fix.
15344         (doc-view-next-line-or-next-page)
15345         (doc-view-previous-line-or-previous-page): Rename arg to ARG
15346         for consistency.
15347         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15348         `doc-view-scroll-up-or-next-page', and buffer-local
15349         `mwheel-scroll-down-function' to
15350         `doc-view-scroll-down-or-previous-page'.
15352 2009-11-25  Juri Linkov  <juri@jurta.org>
15354         Provide additional default values (directories at other Dired
15355         windows) via M-n in the minibuffer of some Dired commands.
15357         * dired-aux.el (dired-diff, dired-compare-directories)
15358         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15359         `minibuffer-default' in `minibuffer-with-setup-hook'.
15360         (dired-dwim-target-directory): Find a window that displays Dired
15361         buffer instead of failing when the next window is not Dired.
15362         Use `get-window-with-predicate' to find for the next Dired window.
15363         (dired-dwim-target-defaults): New function.
15365         * ediff-util.el (ediff-read-file-name):
15366         Use `dired-dwim-target-defaults' to set `minibuffer-default'
15367         in `minibuffer-with-setup-hook'.
15369 2009-11-25  Juri Linkov  <juri@jurta.org>
15371         Provide additional default values (file name at point or at the
15372         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
15374         * minibuffer.el (read-file-name-defaults): New function.
15375         (read-file-name): Reset `minibuffer-default' to nil when
15376         it duplicates initial input `insdef'.
15377         Bind `minibuffer-default-add-function' to lambda that
15378         calls `read-file-name-defaults' in `minibuffer-selected-window'.
15379         (minibuffer-insert-file-name-at-point): New command.
15381         * files.el (file-name-at-point-functions): New defcustom.
15382         (find-file-default): Remove defvar.
15383         (find-file-read-args): Don't use `find-file-default'.
15384         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15385         to `read-file-name'.
15386         (find-file-literally): Use `read-file-name' with
15387         `confirm-nonexistent-file-or-buffer'.
15389         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15391         * dired.el (dired-read-dir-and-switches):
15392         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15393         to `read-file-name'.
15394         (dired-file-name-at-point): New function.
15395         (dired-mode): Add hook `dired-file-name-at-point' to
15396         `file-name-at-point-functions'.
15398 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15400         Really make the *Completions* window soft-dedicated (bug#5030).
15401         * window.el (window--display-buffer-2): Add `dedicated' argument.
15402         (display-buffer): Pass it when needed so the dedicated flag is set
15403         after calling set-window-buffer, which would otherwise reset it.
15405 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15407         * progmodes/meta-mode.el (meta-complete-symbol):
15408         * progmodes/etags.el (complete-tag):
15409         * mail/mailabbrev.el (mail-abbrev-complete-alias):
15410         Use completion-in-region.
15412         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15413         (dabbrev-completion): Use completion-in-region.
15414         (dabbrev--abbrev-at-point): Simplify regexp.
15416         * abbrev.el (abbrev--before-point): Use word-motion functions
15417         if :regexp is not specified (bug#5031).
15419         * subr.el (string-prefix-p): New function.
15421         * man.el (Man-completion-cache): New var.
15422         (Man-completion-table): Use it.
15424         * vc.el (vc-print-log-internal): Make `limit' optional for better
15425         compatibility (e.g. with vc-annotate.el).
15427 2009-11-24  Kevin Ryde  <user42@zip.com.au>
15429         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15430         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
15432         * emacs-lisp/elint.el (elint-add-required-env): Better error message
15433         when .el source file not found or other error.
15435 2009-11-24  Markus Triska  <markus.triska@gmx.at>
15437         * linum.el (linum-update-window): Ignore intangible (bug#4996).
15439 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15441         Handle the [back] button properly (bug#4979).
15442         * descr-text.el (describe-text-properties): Add a `buffer' argument.
15443         Use help-setup-xref, help-buffer, and with-help-window.
15444         (describe-char): Add `buffer' argument.
15445         Pass proper command to help-setup-xref.  Don't meddle with
15446         help-xref-stack-item directly.
15447         (describe-text-category): Use with-help-window and help-buffer.
15449         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15450         for the displayed buffer (bug#4887).
15452         * man.el (Man-completion-table): New function.
15453         (man): Use it.
15455 2009-11-24  David Reitter  <david.reitter@gmail.com>
15457         * vc-git.el (vc-git-registered): Use checkout directory (where
15458         .git is) rather than the file's directory and a relative path spec
15459         to work around a bug in git.
15461 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
15463         Improve handling of processes on remote hosts.
15465         * eshell/esh-util.el (eshell-path-env): New defvar.
15466         (eshell-parse-colon-path): New defun.
15467         (eshell-file-attributes): Use `eshell-parse-colon-path'.
15469         * eshell/esh-ext.el (eshell-search-path):
15470         Use `eshell-parse-colon-path'.
15471         (eshell-remote-command): Remove argument HANDLER.
15472         (eshell-external-command): Check for FTP remote connection.
15474         * eshell/esh-proc.el (eshell-gather-process-output):
15475         Use `file-truename', in order to start also symlinked files.
15476         Apply `start-file-process' instead of `start-process'.
15477         Shorten `command' to the local file name part.
15479         * eshell/em-cmpl.el (eshell-complete-commands-list):
15480         Use `eshell-parse-colon-path'.
15482         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15484         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
15485         to `eshell-directory-change-hook'.
15487 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
15489         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15490         because it could be enabled automatically if view-read-only is non-nil.
15492 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
15494         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15495         made on 2009-11-22.
15497 2009-11-24  Glenn Morris  <rgm@gnu.org>
15499         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15500         deleted variable bookmark-bmenu-bookmark-column.
15502 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15504         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15506 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15508         * net/browse-url.el (browse-url-filename-alist): On Windows, add
15509         two slashes to the "file:" prefix.
15510         (browse-url-file-url): De-munge Cygwin filenames before passing
15511         them to Windows browser.
15512         (browse-url-default-windows-browser): Use call-process.
15514 2009-11-23  Juri Linkov  <juri@jurta.org>
15516         Implement DocView Continuous mode.  (Bug#4896)
15517         * doc-view.el (doc-view-continuous-mode): New defcustom.
15518         (doc-view-mode-map): Bind C-n/<down> to
15519         `doc-view-next-line-or-next-page', C-p/<up> to
15520         `doc-view-previous-line-or-previous-page'.
15521         (doc-view-next-line-or-next-page)
15522         (doc-view-previous-line-or-previous-page): New commands.
15524 2009-11-23  Juri Linkov  <juri@jurta.org>
15526         Implement Isearch in comint input history.  (Bug#3746)
15527         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15528         `isearch-mode-hook'.
15529         (comint-history-isearch): New defcustom.
15530         (comint-history-isearch-backward)
15531         (comint-history-isearch-backward-regexp): New commands.
15532         (comint-history-isearch-message-overlay): New buffer-local variable.
15533         (comint-history-isearch-setup, comint-history-isearch-end)
15534         (comint-goto-input, comint-history-isearch-search)
15535         (comint-history-isearch-message, comint-history-isearch-wrap)
15536         (comint-history-isearch-push-state)
15537         (comint-history-isearch-pop-state): New functions.
15539 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
15541         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15542         return.
15543         (tramp-handle-make-symbolic-link)
15544         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15545         Quote file names.
15546         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15547         (tramp-handle-process-file): Use it.
15549 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15551         * window.el (move-to-window-line-last-op): Remove.
15552         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15554 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
15556         Make M-r mirror the new cycling behavior of C-l.
15557         * window.el (move-to-window-line-last-op): New var.
15558         (move-to-window-line-top-bottom): New command.
15559         (global-map): Bind M-r move-to-window-line-top-bottom.
15561 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
15563         * dired-x.el (dired-guess-shell-alist-default):
15564         Support xz format.  (Bug#4953)
15566 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
15568         * emulation/viper-cmd.el: Use viper-last-command-char instead of
15569         last-command-char/last-command-event.
15570         (viper-prefix-arg-value): Do correct conversion of event-char for
15571         XEmacs.
15573         * emulation/viper-util.el, emulation/viper.el:
15574         Use viper-last-command-char instead of
15575         last-command-char/last-command-event.
15577         * ediff-init.el, ediff-mult.el, ediff-util.el:
15578         Replace last-command-char and last-command-event
15579         with (ediff-last-command-char) everywhere.
15581         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15582         created in fundamental mode.
15584         * ediff.el (ediff-version): Revert the change of interactive-p to
15585         called-interactively-p.
15587 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
15589         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15590         generation from word-movement command names.
15592 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
15594         * cus-start.el (all): Add native condition for font-use-system-font.
15596 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
15598         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15599         Correct the patch from 2009-11-18.  (Bug#3910)
15601 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
15603         * progmodes/subword.el: Rename from lisp/subword.el.
15605         * subword.el: Rename to progmodes/subword.el.
15607         * Makefile.in (ELCFILES): Adapt to subword.el move.
15609 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15610             Stefan Monnier  <monnier@iro.umontreal.ca>
15612         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15613         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15614         (bookmark-bmenu-show-filenames): Use push.
15615         (bookmark-bmenu-hide-filenames): Use local var instead of
15616         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
15617         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15618         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15619         filenames now that the bookmark names are always available.
15621 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15623         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15624         (bookmark-search-pattern): Move and leave unbound.
15625         (bookmark-bmenu-mode-map): Change binding.
15626         (bookmark-read-search-input): Simplify.
15627         Don't use text-char-description.  Don't error on non-char events.
15628         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15629         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15630         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15631         Use a local var for the timer.
15632         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15633         (i.e. bookmark-bmenu-search).
15635 2009-11-21  Glenn Morris  <rgm@gnu.org>
15637         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
15639 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15641         * net/browse-url.el (browse-url-default-windows-browser):
15642         Use cygstart for cygwin.
15644 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
15646         * bookmark.el: Formatting and doc fixes only:
15647         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15648         (bookmark-bmenu-search): Wrap to fit within 80 columns.
15649         Minor grammar and punctuation fixes in doc string.
15650         (bookmark-read-search-input): Adjust to fit within 80 columns.
15652 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15654         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15655         (c-backward-into-nomenclature): Adapt to subword renaming.
15657         * subword.el (subword-forward, subword-backward, subword-mark)
15658         (subword-kill, subword-backward-kill, subword-transpose)
15659         (subword-downcase, subword-upcase, subword-capitalize)
15660         (subword-forward-internal, subword-backward-internal):
15661         Rename from forward-subword, backward-subword, mark-subword,
15662         kill-subword, backward-kill-subword, transpose-subwords,
15663         downcase-subword, upcase-subword, capitalize-subword,
15664         forward-subword-internal, backward-subword-internal.
15666 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15668         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15669         New options.
15670         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15671         New vars.
15672         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15673         (bookmark-bmenu-filter-alist-by-regexp)
15674         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15675         (bookmark-bmenu-search): New command.
15676         (bookmark-bmenu-mode-map): Bind it.
15678 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15680         * progmodes/cc-cmds.el: declare-functioned forward-subword and
15681         backward-subword to quit the byte-compiler.
15683         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15685         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15687         * progmodes/cc-cmds.el (c-update-modeline)
15688         (c-forward-into-nomenclature, c-backward-into-nomenclature):
15689         Refer to subword.el functions instead of cc-subword.el.
15691         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15692         subword.el functions instead of cc-subword.el.
15694         * progmodes/cc-subword.el: Rename to subword.el.
15695         * subword.el: Rename from progmodes/cc-subword.el.
15696         (subword-mode-map): Rename from c-subword-mode-map.
15697         (subword-mode): Rename from c-subword-mode.
15698         (global-subword-mode): New global minor mode.
15699         (forward-subword): Rename from c-forward-subword.
15700         (backward-subword): Rename from c-backward-subword.
15701         (mark-subword): Rename from c-mark-subword.
15702         (kill-subword): Rename from c-kill-subword.
15703         (backward-kill-subword): Rename from c-backward-kill-subword.
15704         (transpose-subwords): Rename from c-tranpose-subword.
15705         (downcase-subword): Rename from c-downcase-subword.
15706         (capitalize-subword): Rename from c-capitalize-subword.
15707         (forward-subword-internal): Rename from c-forward-subword-internal.
15708         (backward-subword-internal): Rename from c-backward-subword-internal.
15710 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
15712         * vc.el (vc-deduce-fileset): Allow non-state changing operations
15713         from a dired buffer.
15714         (vc-dired-deduce-fileset): New function.
15715         (vc-root-diff, vc-print-root-log): Use it.
15717         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15718         nil LIMIT argument to vc-print-log-internal.
15720 2009-11-20  Glenn Morris  <rgm@gnu.org>
15722         * Makefile.in (ELCFILES): Regenerate.
15724 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
15726         * calc/calc.el (calc-set-mode-line):
15727         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15728         (math-format-number): Rename `math-format-complement-signed' to
15729         `math-format-twos-complement'.
15731         * calc/calc-bin.el (math-format-twos-complement): Rename from
15732         math-format-complement-signed.
15733         (calc-radix): Rename `calc-complement-signed-mode' to
15734         `calc-twos-complement-mode'.
15735         (calc-octal-radix, calc-hex-radix): Add an argument for
15736         two's complement.
15738         * calc/calc-embed.el (calc-embedded-mode-vars):
15739         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15741         * calc/calc-ext.el (calc-init-extensions):
15742         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15743         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15745         * calc/calc-units.el (math-build-units-table-buffer):
15746         Let `calc-twos-complement-mode' be nil.
15748         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15749         entries.
15751         * calc/calc-vec.el (calcFunc-vunpack):
15752         * calc/calc-aent.el (calc-do-calc-eval):
15753         * calc/calc-forms.el (math-format-date):
15754         * calc/calc-graph.el (calc-graph-plot):
15755         * calc/calc-math.el (math-use-emacs-fn):
15756         * calc/calccomp.el (math-compose-expr):
15757         Let `calc-twos-complement-mode' be nil.
15759 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15761         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15762         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
15763         * minibuffer.el (completion-in-region-functions): New hook.
15764         (completion-in-region): New function.
15765         * emacs-lisp/lisp.el (lisp-complete-symbol):
15766         * pcomplete.el (pcomplete-std-complete): Use it.
15768 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15770         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15771         (latex-complete-alist): New vars.
15772         (latex-string-prefix-p, latex-complete-bibtex-keys)
15773         (latex-complete-envnames, latex-complete-refkeys)
15774         (latex-complete-data): New functions.
15775         (latex-complete, latex-indent-or-complete): New commands.
15777         * window.el (display-buffer-mark-dedicated): New var.
15778         (display-buffer): Obey it.
15779         * minibuffer.el (minibuffer-completion-help): Use it.
15781         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15783         * filecache.el (file-cache-add-file): Use push and cons.
15784         (file-cache-delete-file-regexp): Use push.
15785         (file-cache-complete): Use completion-in-region.
15787         * simple.el (with-wrapper-hook): Fix thinko.
15789         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15790         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15791         Use with-current-buffer and string-to-number.
15792         (hfy-fallback-colour-values): Use assoc-string.
15793         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15794         (hfy-face-at): Remove unused var `found-face'.
15795         (hfy-compile-stylesheet): Remove unused var `css'.
15796         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15797         and `orig-buffer'.
15798         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15799         Use with-current-buffer.
15800         (hfy-text-p): Use expand-file-name and fewer setq.
15802 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
15804         * htmlfontify.el, hfy-cmap.el: New files.
15806 2009-11-19  Juri Linkov  <juri@jurta.org>
15808         * minibuffer.el (completions-format): New defcustom.
15809         (completion--insert-strings): Implement vertical format.
15811         * simple.el (switch-to-completions): Move point to the first
15812         completion when point was at the beginning of the buffer.
15814 2009-11-19  Juri Linkov  <juri@jurta.org>
15816         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
15818         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15820 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
15822         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15823         (mail-signature): Change default to t.
15824         (mail-from-style): Deprecate `system-default' value.
15825         (mail-insert-from-field): For default value of mail-from-style,
15826         default to `angles' unless `angles' needs quoting and `parens'
15827         does not.
15828         (mail-citation-prefix-regexp): Use citation regexp from
15829         message-mode.
15831 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
15833         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15834         Set variables for computing the prompt for reading password.
15836 2009-11-19  Glenn Morris  <rgm@gnu.org>
15838         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
15840         * textmodes/flyspell.el (sgml-lexical-context): Declare.
15842         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15843         (newsticker-treeview-listwindow-height): Fix custom type.
15845 2009-11-19  Kenichi Handa  <handa@m17n.org>
15847         * descr-text.el (describe-char-padded-string): Compose with TAB
15848         only if there's a font for CH.
15849         (describe-char): Fix the condition for detecting a trivial composition.
15851 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
15853         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15854         more accurate version of the regexp.  (Bug#3910)
15856 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15858         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15860 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
15862         * font-setting.el (font-use-system-font): Declare for byte-compiler.
15863         (font-setting-change-default-font): Fix typo in docstring.
15865 2009-11-18  Alan Mackenzie  <acm@muc.de>
15867         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15869 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15871         * font-setting.el (font-use-system-font): Move ...
15873         * cus-start.el (all): ... to here.
15875 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
15877         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15878         Don't set `ad-return-value' if `ad-do-it' doesn't.
15880         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15881         modification time.
15883 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15885         * menu-bar.el: Put "Use system font" in Option-menu.
15886         (menu-bar-options-save): Add font-use-system-font.
15888         * loadup.el: If feature system-font-setting or font-render-setting is
15889         there, load font-setting.
15891         * Makefile.in (ELCFILES): Add font-settings.el.
15892         * font-setting.el: New file.
15894 2009-11-17  Glenn Morris  <rgm@gnu.org>
15896         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15898         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15899         Preserve point in the list buffer.  (Bug#4939)
15900         Use point-at-eol.
15901         (newsticker--treeview-list-update-highlight)
15902         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15904 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15906         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15907         Remove.
15909         * calc/calc-ext.el (calc-init-extensions): Remove references to
15910         symclip.
15912         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15914         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15915         * calc/calc-help.el (calc-b-prefix-help): Remove references to
15916         `calc-symclip'.
15918 2009-11-16  Kevin Ryde  <user42@zip.com.au>
15920         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15921         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15923         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15924         (lm-keywords-list): Allow comma-only separator like "foo,bar".
15925         Ignore trailing spaces by omit-nulls to split-string (fixing
15926         regression from Emacs 21 due to the incompatible split-string
15927         change).  (Bug #4928.)
15929 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
15931         * vc.el (vc-log-show-limit): Default to 2000.
15932         (vc-print-log-internal): Insert buttons to request more entries
15933         when limiting the output.
15935         * vc-sccs.el (vc-sccs-print-log):
15936         * vc-rcs.el (vc-rcs-print-log):
15937         * vc-cvs.el (vc-cvs-print-log):
15938         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15939         LIMIT is non-nil.
15941 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15943         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15944         error when `tramp-gvfs-dbus-event-vector' is set.
15945         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15947 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15949         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15951 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15953         * net/dbus.el (dbus-unregister-service): New defun.
15954         (dbus-register-property): Register the handlers of
15955         "org.freedesktop.DBus.Properties" for SERVICE.
15956         (dbus-property-handler): Fix docstring.
15958 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15960         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15961         Quote doc string reference in defvaralias as it is not in special form.
15962         (byte-compile-output-docform): Doc fix.
15964 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15966         * calc/calc.el (math-2-word-size, math-half-2-word-size)
15967         (calc-complement-signed-mode): New variables.
15968         (calc-set-mode-line): Add indicator for twos-complements.
15969         (math-format-number): Format twos-complement notation.
15971         * calc/calc-bin.el (calc-word-size): Reset the variables
15972         `math-2-word-size' and `math-half-2-word-size'.
15973         (math-format-complement-signed, math-symclip, calcFunc-symclip)
15974         (calc-symclip): New functions.
15976         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15978         * calc/calc-embed.el (calc-embedded-mode-vars):
15979         Add `calc-complement-signed-mode' to the list of modes.
15981         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15982         (calc-b-oper-keys): Add `calc-symclip' to list.
15984         * calc/calc-ext.el (math-read-number-fancy): Read complement
15985         signed numbers.
15986         (calc-init-extensions): Add binding for `calc-symclip'.
15987         Add autoload for `calcFunc-symclip' and `calc-symclip'.
15989         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15990         `calc-symclip'.
15991         (calc-modes-menu): Add item for twos complement mode.
15993         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15995 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
15997         * register.el (jump-to-register, insert-register): Handle Semantic
15998         tags.  From commented-out advice in semantic/senator.el.
16000 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
16002         * vc.el (vc-log-show-limit): New variable.
16003         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
16004         when using a prefix argument.
16005         (vc-print-log-internal): Add new argument LIMIT.
16007         * vc-svn.el (vc-svn-print-log):
16008         * vc-mtn.el (vc-mtn-print-log):
16009         * vc-hg.el (vc-hg-print-log):
16010         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16011         pass it to the log command when set.  Make the BUFFER argument
16012         non-optional.
16014         * vc-sccs.el (vc-sccs-print-log):
16015         * vc-rcs.el (vc-rcs-print-log):
16016         * vc-git.el (vc-git-print-log):
16017         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16018         ignore it.  Make the BUFFER argument non-optional.
16020         * bindings.el (mode-line-buffer-identification): Do not purecopy.
16022 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16024         * dired.el (dired-mode-map): Move encryption items to "Operate"
16025         menu (Bug#4703).
16027         * strokes.el (strokes-update-window-configuration): Make strokes
16028         buffer current before erasing (Bug#4906).
16030 2009-11-15  Juri Linkov  <juri@jurta.org>
16032         * simple.el (set-mark-default-inactive): Add :type, :group
16033         and :version.  (Bug#4876)
16035 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
16037         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16038         (archive-unique-fname): ... here.  (Bug#4929)
16040 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16042         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16043         with a real fix.
16045         * novice.el (disabled-command-function): Add useful args.
16046         Setup the help buffer so that [back] works.
16047         Remove redundant call to help-mode.
16048         (disabled-command-function): Use `case'.
16049         (en/disable-command): New function extracted from enable-command.
16050         (enable-command, disable-command): Use it.
16052 2009-11-14  Glenn Morris  <rgm@gnu.org>
16054         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16055         constants.  (Bug#4913)
16057         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16059 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
16061         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16062         defined in C that have no doc-strings.  (Bug#1063)
16064 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
16066         * cus-edit.el (data, files):
16067         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
16069 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
16071         * simple.el (shell-command): Doc fix (Bug#4891).
16073         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16075 2009-11-14  Glenn Morris  <rgm@gnu.org>
16077         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16078         statements for vc-diff, emerge-quit, and rmail-cease-edit.
16079         If they are already loaded, eval-after-load will do the right thing.
16081         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16082         compiling.
16084         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16086         * simple.el (x-selection-owner-p): Declare.
16087         (read-mail-command): Use custom radio type rather than choice.
16088         (completion-no-auto-exit): Doc fix.
16090         * custom.el (defgroup):
16091         * epg-config.el (epg): Doc fixes.
16093 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
16095         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16096         * international/ccl.el (define-ccl-program): Do not purecopy the
16097         docstring, defconst does it anyway.
16099 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16101         * add-log.el (add-change-log-entry): Avoid displaying the changelog
16102         a second time.
16104         * x-dnd.el (x-dnd-maybe-call-test-function):
16105         * window.el (split-window-vertically):
16106         * whitespace.el (whitespace-help-on):
16107         * vc-rcs.el (vc-rcs-consult-headers):
16108         * userlock.el (ask-user-about-lock-help)
16109         (ask-user-about-supersession-help):
16110         * type-break.el (type-break-force-mode-line-update):
16111         * time-stamp.el (time-stamp-conv-warn):
16112         * terminal.el (te-set-output-log, te-more-break, te-filter)
16113         (te-sentinel, terminal-emulator):
16114         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16115         (term-write-input-ring, term-check-source, term-start-output-log):
16116         (term-display-buffer-line, term-dynamic-list-completions):
16117         (term-ansi-make-term, serial-term):
16118         * subr.el (selective-display):
16119         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16120         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16121         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16122         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16123         (speedbar-remove-localized-speedbar-support)
16124         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16125         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16126         (speedbar-buffers-line-directory):
16127         * simple.el (shell-command-on-region, append-to-buffer)
16128         (prepend-to-buffer):
16129         * shadowfile.el (shadow-save-todo-file):
16130         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16131         (scroll-bar-maybe-set-window-start):
16132         * sb-image.el (speedbar-image-dump):
16133         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16134         (load-save-place-alist-from-file):
16135         * ps-samp.el (ps-print-message-from-summary):
16136         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16137         (ps-background-image, ps-begin-job, ps-do-despool):
16138         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16139         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16140         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16141         (pr-call-process, pr-file-list, pr-interface-save):
16142         * novice.el (disabled-command-function)
16143         (enable-command, disable-command):
16144         * mouse.el (mouse-buffer-menu-alist):
16145         * mouse-copy.el (mouse-kill-preserving-secondary):
16146         * macros.el (kbd-macro-query):
16147         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16148         * informat.el (batch-info-validate):
16149         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16150         * hippie-exp.el (try-expand-dabbrev-visible):
16151         * help-mode.el (help-make-xrefs):
16152         * help-fns.el (describe-variable):
16153         * generic-x.el (bat-generic-mode-run-as-comint):
16154         * finder.el (finder-mouse-select):
16155         * find-dired.el (find-dired-sentinel):
16156         * filesets.el (filesets-file-close):
16157         * files.el (list-directory):
16158         * faces.el (list-faces-display, describe-face):
16159         * facemenu.el (list-colors-display):
16160         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16161         * epg.el (epg--process-filter, epg-cancel):
16162         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16163         (epa--read-signature-type):
16164         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16165         (emerge-file-names):
16166         * ehelp.el (electric-helpify):
16167         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16168         * ediff-vers.el (rcs-ediff-view-revision):
16169         * ediff-util.el (ediff-setup):
16170         * ediff-mult.el (ediff-append-custom-diff):
16171         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16172         (ediff-wordify):
16173         * echistory.el (Electric-command-history-redo-expression):
16174         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16175         * disp-table.el (describe-display-table):
16176         * dired.el (dired-find-buffer-nocreate):
16177         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16178         * dabbrev.el (dabbrev--same-major-mode-p):
16179         * chistory.el (list-command-history):
16180         * apropos.el (apropos-documentation):
16181         * allout.el (allout-obtain-passphrase):
16182         (allout-copy-exposed-to-buffer):
16183         (allout-verify-passphrase): Use with-current-buffer.
16185 2009-11-13  Glenn Morris  <rgm@gnu.org>
16187         * Makefile.in (ELCFILES): Regenerate.
16189 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
16191         * net/dbus.el (dbus-registered-objects-table): Rename from
16192         `dbus-registered-functions-table', because it contains also properties.
16193         (dbus-unregister-object): Unregister also properties.
16194         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16195         Use a timeout of 500 msec, in order to not block.
16196         (dbus-register-property, dbus-property-handler): New defuns.
16198 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16200         * simple.el (minibuffer-default-add-completions): Drop deprecated
16201         4th arg.
16203 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
16205         * textmodes/artist.el (artist-mouse-choose-operation):
16206         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16207         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16208         (artist-compute-up-event-key): New function.
16209         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16211 2009-11-13  Kenichi Handa  <handa@m17n.org>
16213         * language/japan-util.el: Make sure that the value of jisx0208
16214         property is jisx0208 character.
16216 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
16218         * international/mule.el (auto-coding-regexp-alist): Only purecopy
16219         car or each item, not the whole list.
16221 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16223         * minibuffer.el (minibuffer-completion-help):
16224         Use minibuffer-hide-completions.
16226 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
16228         * dired.el (dired-save-positions, dired-restore-positions): New funs.
16229         (dired-revert): Use them (bug#4880).
16231 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16233         * tooltip.el (tooltip-frame-parameters): Undo previous change.
16235 2009-11-12  Juri Linkov  <juri@jurta.org>
16237         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16238         New functions.
16239         (find-file-literally-at-point): Alias of `ffap-literally'.
16241 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16243         * textmodes/ispell.el (ispell-skip-region-alist):
16244         * textmodes/css-mode.el (auto-mode-alist):
16245         * progmodes/compile.el (auto-mode-alist):
16246         * international/mule.el (ctext-non-standard-encodings-alist)
16247         (ctext-non-standard-encodings-regexp):
16248         * simple.el (shell-command-switch, text-read-only):
16249         * replace.el (occur-mode-map):
16250         * paths.el (rmail-file-name):
16251         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16252         * find-file.el (ff-special-constructs):
16253         * files.el (file-name-handler-alist):
16254         * composite.el: Purecopy strings.
16256         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16258 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16260         * widget.el (define-widget): Purecopy the docstring.
16261         * international/mule-cmds.el (charset): Do not purecopy the
16262         docstring here, define-widget does it.
16264         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16265         * textmodes/bibtex-style.el (auto-mode-alist):
16266         * progmodes/inf-lisp.el (inferior-lisp-prompt):
16267         * progmodes/compile.el (compile-command):
16268         * language/korea-util.el (default-korean-keyboard):
16269         * international/mule-conf.el (file-coding-system-alist):
16270         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16271         * tooltip.el (tooltip-frame-parameters):
16272         * newcomment.el (comment-end, comment-padding):
16273         * dired.el (dired-trivial-filenames):
16274         * comint.el (comint-file-name-prefix): Purecopy initial values.
16276 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
16278         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16279         (tramp-advice-minibuffer-electric-tilde): Unload advices via
16280         `tramp-unload'.
16281         (tramp-advice-make-auto-save-file-name)
16282         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16283         after removing the advice.
16285 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16287         * progmodes/grep.el (grep-regexp-alist):
16288         * international/mule-cmds.el (iso-2022-control-alist):
16289         * emacs-lisp/timer.el (timer-duration-words):
16290         * subr.el (version-separator, version-regexp-alist):
16291         * minibuffer.el (completion-styles-alist):
16292         * faces.el (face-attribute-name-alist, list-faces-sample-text):
16293         Change defvars to defconsts.
16295         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16296         * loadup.el ("international/mule-conf"): Load the byte compiled version.
16297         * international/mule-conf.el: Allow to be byte compiled.
16299         * international/mule.el (define-charset): Purecopy props.
16300         (load-with-code-conversion): Purecopy doc string and file name.
16301         (put-charset-property): Purecopy strings.
16302         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16304         * international/mule-cmds.el (register-input-method): Purecopy arguments.
16305         (define-char-code-property): Correctly purecopy the table.
16307         * international/ccl.el (define-ccl-program): Purecopy the docstring.
16309         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16311         * subr.el (add-hook): Purecopy strings.
16312         (eval-after-load): Purecopy load-history-regexp and the form.
16314         * custom.el (custom-declare-group): Purecopy load-file-name.
16316         * subr.el (menu-bar-separator): New defconst.
16317         * net/eudc.el (eudc-tools-menu):
16318         * international/mule-cmds.el (set-coding-system-map)
16319         (mule-menu-keymap):
16320         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16321         * vc-hooks.el (vc-menu-map):
16322         * replace.el (occur-mode-map):
16323         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16324         (menu-bar-edit-menu, menu-bar-goto-menu)
16325         (menu-bar-custom-menu, menu-bar-showhide-menu)
16326         (menu-bar-options-menu, menu-bar-tools-menu)
16327         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16328         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16329         (menu-bar-help-menu):
16330         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16331         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16333         * term/x-win.el (x-gtk-stock-map):
16334         * progmodes/vera-mode.el (auto-mode-alist):
16335         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16336         (inferior-lisp-program, inferior-lisp-load-command):
16337         * progmodes/hideshow.el (hs-special-modes-alist):
16338         * progmodes/gud.el (same-window-regexps):
16339         * progmodes/grep.el (grep-program, find-program, xargs-program):
16340         * net/telnet.el (same-window-regexps):
16341         * net/rlogin.el (same-window-regexps):
16342         * language/ethiopic.el (font-ccl-encoder-alist):
16343         * vc-sccs.el (vc-sccs-master-templates):
16344         * vc-rcs.el (vc-rcs-master-templates):
16345         * subr.el (cl-assertion-failed):
16346         * simple.el (next-error-overlay-arrow-position):
16347         * lpr.el (lpr-command):
16348         * locate.el (locate-ls-subdir-switches):
16349         * info.el (same-window-regexps, info)
16350         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16351         * image-mode.el (image-mode, auto-mode-alist):
16352         * hippie-exp.el (hippie-expand-ignore-buffers):
16353         * format.el (format-alist):
16354         * find-dired.el (find-ls-subdir-switches, find-grep-options)
16355         (find-name-arg):
16356         * facemenu.el (facemenu-keybindings):
16357         * dired.el (dired-listing-switches, dired-chown-program):
16358         * diff.el (diff-switches, diff-command):
16359         * cus-edit.el (same-window-regexps):
16360         * bindings.el (mode-line-mule-info)
16361         (mode-line-buffer-identification): Purecopy strings.
16363 2009-11-11  Juri Linkov  <juri@jurta.org>
16365         * simple.el (dired-get-filename) <declare-function>:
16366         Tell the byte-compiler about dired-get-filename.
16367         (shell-command): In Dired mode, get filename from the current line
16368         as the default value.
16370 2009-11-10  Glenn Morris  <rgm@gnu.org>
16372         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16373         * calendar/holidays.el, progmodes/cperl-mode.el:
16374         Update x-popup-menu declarations.
16376         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16377         (list-load-path-shadows): Use dolist.
16378         (list-load-path-shadows): Use with-current-buffer.
16380 2009-11-10  Juri Linkov  <juri@jurta.org>
16382         * minibuffer.el (read-file-name): Support a list of default values
16383         in `default-filename'.  Use the first file name where only one
16384         element is required.  Doc fix.
16386 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
16388         * net/dbus.el (dbus-unregister-object): Release service, if no
16389         other method is registered for it.
16391 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
16393         * bookmark.el (bookmark-completing-read): Sort bookmark names if
16394         bookmark-sort-flag is non-nil (Bug#4653).
16396 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16398         * emulation/cua-base.el: Add CUA property to some CC mode commands
16399         (Bug#4100).
16401 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16403         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16404         at end of sentence (Bug#4818).
16406 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
16408         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16409         Handle "see declaration of" MSFT statements (Bug#4100).
16411 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
16413         * net/tramp.el (tramp-advice-make-auto-save-file-name)
16414         (tramp-advice-file-expand-wildcards): Unload via
16415         `ad-remove-advice'.
16417         * net/trampver.el: Update release number.
16419 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16421         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16422         `ad-do-it'.
16424 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
16426         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16427         in order to keep context in SELinux.
16429 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16431         * dired-aux.el (dired-query): Place cursor in echo area and allow
16432         C-g.
16434         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16435         menu item if not on a directory (Bug#4701).
16437 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
16439         Sync with Tramp 2.1.17.
16441         * net/tramp.el (tramp-handle-copy-directory): Don't use
16442         `file-remote-p' (due to compatibility).
16444         * net/tramp-compat.el (tramp-compat-copy-directory)
16445         (tramp-compat-delete-directory): New defuns.
16447         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16448         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16449         Use `tramp-compat-delete-directory'.
16451         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16452         (tramp-smb-handle-delete-directory):
16453         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16455         * net/trampver.el: Update release number.
16457 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
16459         * tar-mode.el (tar-copy): Call write-region on the right buffer
16460         (Bug#4857).
16462         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16463         by hand, if necessary (Bug#4878).
16465 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
16467         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16468         align size column (Bug#4839).
16470         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16471         statement.
16473 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16475         * progmodes/ld-script.el (auto-mode-alist):
16476         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16478         * cus-face.el (custom-declare-face): Purecopy face spec.
16480 2009-11-06  Kenichi Handa  <handa@m17n.org>
16482         * international/uni-bidi.el: Re-generated.
16483         * international/uni-category.el: Re-generated.
16484         * international/uni-combining.el: Re-generated.
16485         * international/uni-mirrored.el: Re-generated.
16487 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16489         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16490         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16491         (tex-start-options, slitex-run-command, latex-run-command)
16492         (tex-run-command, tex-directory):
16493         * textmodes/ispell.el (ispell-html-skip-alists)
16494         (ispell-tex-skip-alists, ispell-tex-skip-alists):
16495         * textmodes/fill.el (adaptive-fill-first-line-regexp):
16496         (adaptive-fill-regexp):
16497         * textmodes/dns-mode.el (auto-mode-alist):
16498         * progmodes/python.el (interpreter-mode-alist):
16499         * progmodes/etags.el (tags-compression-info-list):
16500         * progmodes/etags.el (tags-file-name):
16501         * net/browse-url.el (browse-url-galeon-program)
16502         (browse-url-firefox-program):
16503         * mail/sendmail.el (mail-signature-file)
16504         (mail-citation-prefix-regexp):
16505         * international/mule-conf.el (eight-bit):
16506         * international/latexenc.el (latex-inputenc-coding-alist):
16507         * international/fontset.el (x-pixel-size-width-font-regexp):
16508         * emacs-lisp/warnings.el (warning-type-format):
16509         * emacs-lisp/trace.el (trace-buffer):
16510         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16511         (emacs-lisp-mode-map):
16512         * calendar/holidays.el (holiday-solar-holidays)
16513         (holiday-bahai-holidays, holiday-islamic-holidays)
16514         (holiday-christian-holidays, holiday-hebrew-holidays)
16515         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16516         (hebrew-holidays-1, holiday-oriental-holidays)
16517         (holiday-general-holidays):
16518         * x-dnd.el (x-dnd-known-types):
16519         * tool-bar.el (tool-bar):
16520         * startup.el (site-run-file):
16521         * shell.el (shell-dumb-shell-regexp):
16522         * rfn-eshadow.el (file-name-shadow-tty-properties)
16523         (file-name-shadow-properties):
16524         * paths.el (remote-shell-program, news-directory):
16525         * mouse.el ([C-down-mouse-3]):
16526         * menu-bar.el (menu-bar-tools-menu):
16527         * jka-cmpr-hook.el (jka-compr-load-suffixes)
16528         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16529         (jka-compr-compression-info-list):
16530         * isearch.el (search-whitespace-regexp):
16531         * image-file.el (image-file-name-extensions):
16532         * find-dired.el (find-ls-option):
16533         * files.el (directory-listing-before-filename-regexp)
16534         (directory-free-space-args, insert-directory-program)
16535         (list-directory-brief-switches, magic-fallback-mode-alist)
16536         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16537         (automount-dir-prefix):
16538         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16539         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16540         (face-font-registry-alternatives, face-font-registry-alternatives)
16541         (face-font-family-alternatives):
16542         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16543         (facemenu-foreground-menu, facemenu-face-menu):
16544         * epa-hook.el (epa-file-name-regexp):
16545         * dnd.el (dnd-protocol-alist):
16546         * textmodes/rst.el (auto-mode-alist):
16547         * button.el (default-button): Purecopy strings.
16549 2009-11-06  Glenn Morris  <rgm@gnu.org>
16551         * Makefile.in (ELCFILES): Update.
16553 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16555         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16556         * emacs-lisp/levents.el: Move to obsolete/levents.el.
16558         * nxml/xsd-regexp.el (xsdre-gen-categories):
16559         * nxml/xmltok.el (xmltok-parse-entity):
16560         * nxml/rng-parse.el (rng-parse-validate-file):
16561         * nxml/rng-maint.el (rng-format-manual)
16562         (rng-manual-output-force-new-line):
16563         * nxml/rng-loc.el (rng-save-schema-location-1):
16564         * nxml/rng-cmpct.el (rng-c-parse-file):
16565         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16566         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16568 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
16570         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16571         Remove extra save-excursions and make-variable-buffer-local's.
16572         Suggested by Stefan Monnier.
16574         (verilog-getopt-file, verilog-module-inside-filename-p)
16575         (verilog-set-define): Merge GNU 1.35 and repair changes from
16576         switching to using with-current-buffer.
16578         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16579         being treated as a number and confusing AUTORESET.
16580         Reported by Dan Dever.
16582         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16583         Add verilog-auto-ignore-concat to fix backward compatibility with
16584         older verilog-modes.  Reported by Dan Katz.
16586         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16587         containing closing anchors "...$".
16589         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16590         Reported by Wade Smith.
16592         (verilog-batch-execute-func): Comment on function usage.
16594 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
16596         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16597         for labels.
16599         (verilog-label-re, verilog-calc-1): Support proper indent of named
16600         asserts.
16602         (verilog-backward-token, verilog-basic-complete-re)
16603         (verilog-beg-of-statement, verilog-indent-re): Support proper
16604         indent of the assert statement at the beginning of a block of text.
16606         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16607         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16608         tokens as begins.
16610 2009-11-05  Glenn Morris  <rgm@gnu.org>
16612         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16613         Emacs 19.  (Bug#1531)
16614         (byte-compile-fix-header): Update for the above change.
16615         Drop test for epoch::version.
16617         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16618         * cus-dep.el (custom-make-dependencies):
16619         * finder.el (finder-compile-keywords):
16620         Use autoload-rubric's feature argument.
16622         * calendar/diary-lib.el (top-level): Make load behave more like require.
16624         * vc-git.el (vc-git-stash-map): Move definition before use.
16626 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
16628         * custom.el (custom-declare-group): Purecopy standard-value.
16629         (custom-declare-group): Purecopy custom-prefix.
16631         * international/mule.el (load-with-code-conversion):
16632         Call do-after-load-evaluation unconditionally.
16634         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16636 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16638         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16640 2009-11-04  Glenn Morris  <rgm@gnu.org>
16642         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16643         (byte-compile-compatibility): Remove option.
16644         (byte-compile-close-variables, byte-compile-fix-header)
16645         (byte-compile-insert-header, byte-compile-output-docform)
16646         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16647         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16648         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16649         (byte-compile-insert, byte-compile-defun):
16650         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
16651         (byte-defop-compiler19): Remove.
16652         Without byte-compile-compatibility, the 'emacs19-opcode property is not
16653         used by anything.  Replace all calls with byte-defop-compiler.
16655 2009-11-04  Juri Linkov  <juri@jurta.org>
16657         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16658         (menu-bar-options-menu): Don't quote the `prop' arg of
16659         `menu-bar-make-mm-toggle'.
16661 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
16663         * calendar/calendar.el (cal-loaddefs):
16664         * calendar/diary-lib.el (diary-loaddefs):
16665         * calendar/holidays.el (hol-loaddefs):
16666         * eshell/esh-module.el (esh-groups): Load rather than require.
16668 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16670         * calendar/todo-mode.el (todo-add-category): Don't hardcode
16671         point-min==1.
16672         (todo-top-priorities): Only display-buffer when called interactively.
16673         (todo-item-start): Don't save excursion point.
16674         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
16675         (todo-insert-item-here, todo-file-item, todo-remove-item):
16676         Adjust uses of todo-item-start and todo-item-end.
16678         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16679         (autoload-rubric): Don't use any more.
16681         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16682         and only put a prop if it is non-nil.
16684 2009-11-03  Juri Linkov  <juri@jurta.org>
16686         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16687         (menu-bar-options-menu): Fix list quoting (Bug#4429).
16689         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16690         and "Menu" to make top-level menu item visually one unit (like
16691         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16692         multi-word menu items).  Fix :help string for quit-window.
16694 2009-11-03  Glenn Morris  <rgm@gnu.org>
16696         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16697         (byte-compile-file-form-define-abbrev-table)
16698         (byte-compile-file-form-custom-declare-variable)
16699         (byte-compile-variable-ref, byte-compile-defvar):
16700         Whether or not a warning is enabled should only affect whether we issue
16701         the warning, not whether or not we collect the relevant data.
16702         Eg warnings can be turned on and off throughout the course of a file.
16704         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16705         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16707 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16709         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16710         * play/mpuz.el (mpuz-create-buffer):
16711         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16712         (lm-print-y,s,noise, lm-print-w0, lm-init):
16713         * play/gomoku.el (gomoku-prompt-for-move):
16714         * play/fortune.el (fortune-in-buffer):
16715         * play/dissociate.el (dissociated-press):
16716         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16717         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16718         * mail/supercite.el (sc-eref-show):
16719         * mail/smtpmail.el (smtpmail-send-it):
16720         * mail/rmailsum.el (rmail-summary-next-labeled-message)
16721         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16722         (rmail-summary-undelete-many, rmail-summary-rmail-update)
16723         (rmail-summary-goto-msg, rmail-summary-expunge)
16724         (rmail-summary-get-new-mail, rmail-summary-search-backward)
16725         (rmail-summary-add-label, rmail-summary-output-menu)
16726         (rmail-summary-output-body):
16727         * mail/rfc822.el (rfc822-addresses):
16728         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16729         * mail/mailpost.el (post-mail-send-it):
16730         * mail/hashcash.el (hashcash-generate-payment):
16731         * mail/feedmail.el (feedmail-run-the-queue)
16732         (feedmail-queue-send-edit-prompt-help-first)
16733         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16734         (feedmail-deduce-address-list):
16735         * eshell/esh-ext.el (eshell-remote-command):
16736         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16737         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16738         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16739         (viper-save-string-in-file, viper-valid-marker):
16740         * emulation/viper-keym.el (viper-toggle-key):
16741         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16742         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16743         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16744         * emulation/viper-cmd.el (viper-exec-form-in-vi)
16745         (viper-exec-form-in-emacs, viper-brac-function):
16746         * emulation/viper.el (viper-delocalize-var):
16747         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16748         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16749         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16750         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16751         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16752         * emulation/edt.el (edt-electric-helpify):
16753         * emulation/cua-rect.el (cua--rectangle-aux-replace):
16754         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16755         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16756         (cua-indent-to-global-mark-column):
16757         * calendar/diary-lib.el (calendar-mark-1):
16758         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16759         Use with-current-buffer.
16760         * emulation/viper.el (viper-delocalize-var): Use dolist.
16762 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
16764         * comint.el (comint-replace-by-expanded-history-before-point):
16765         Replace !! with the previous input string literally (Bug#1795).
16767 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
16769         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16770         to be made up of whitespace.
16772 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
16774         * minibuffer.el (read-file-name): Don't use file dialogs for
16775         remote directories (Bug#99).
16777 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
16779         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16781 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16783         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16784         instead of deleting the window or frame.
16786 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16788         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16789         Support face colors.
16791         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16792         New function.  Support face colors (Bug#1168).
16793         (tex-common-initialization): Use it.
16795         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16796         mode allows it (Bug#1168).
16798 2009-10-31  Juri Linkov  <juri@jurta.org>
16800         * facemenu.el (list-colors-display): Don't mark buffer as
16801         modified (Bug#3948).
16803 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16805         * international/mule-diag.el (list-character-sets-1):
16806         Minor message fix (Bug#3526).
16808         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16809         Fix face property (Bug#4834).
16810         (etags-list-tags, etags-tags-apropos-additional)
16811         (etags-tags-apropos, tags-select-tags-table): Add follow-link
16812         property.
16814         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16815         items.
16817 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16819         * textmodes/two-column.el (2C-split):
16820         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16821         * textmodes/tex-mode.el (tex-set-buffer-directory):
16822         * textmodes/spell.el (spell-region, spell-string):
16823         * textmodes/reftex.el (reftex-erase-buffer):
16824         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16825         * textmodes/reftex-toc.el (reftex-toc-promote-action):
16826         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16827         (reftex-select-item):
16828         * textmodes/reftex-ref.el (reftex-label-info-update)
16829         (reftex-offer-label-menu):
16830         * textmodes/reftex-index.el (reftex-index-change-entry)
16831         (reftex-index-phrases-info):
16832         * textmodes/reftex-global.el (reftex-create-tags-file)
16833         (reftex-save-all-document-buffers, reftex-ensure-write-access):
16834         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16835         (reftex-view-crossref-from-bibtex):
16836         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16837         (reftex-extract-bib-entries-from-thebibliography)
16838         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16839         * textmodes/refbib.el (r2b-capitalize-title):
16840         (r2b-convert-buffer, r2b-help):
16841         * textmodes/page-ext.el (pages-directory)
16842         (pages-directory-goto-with-mouse):
16843         * textmodes/bibtex.el (bibtex-validate-globally):
16844         * textmodes/bib-mode.el (bib-capitalize-title):
16845         * textmodes/artist.el (artist-clear-buffer, artist-system):
16846         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16847         (local-set-scheme-interaction-buffer, xscheme-process-filter)
16848         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16849         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16850         (xscheme-send-control-g-interrupt, xscheme-start-process)
16851         (xscheme-process-sentinel, xscheme-cd):
16852         * progmodes/verilog-mode.el (verilog-read-always-signals)
16853         (verilog-set-define, verilog-getopt-file)
16854         (verilog-module-inside-filename-p):
16855         * progmodes/sh-script.el:
16856         * progmodes/python.el (python-pdbtrack-get-source-buffer)
16857         (python-pdbtrack-grub-for-buffer, python-execute-file):
16858         * progmodes/octave-inf.el (inferior-octave):
16859         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16860         (idlwave-shell-compile-helper-routines, idlwave-set-local)
16861         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16862         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16863         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16864         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16865         (idlwave-shell-filter, idlwave-shell-examine-highlight)
16866         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16867         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16868         (idlwave-shell-examine-display, idlwave-shell-run-region)
16869         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16870         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16871         * progmodes/idlw-help.el (idlwave-help-get-special-help)
16872         (idlwave-help-get-help-buffer):
16873         * progmodes/gud.el (gud-basic-call, gud-find-class)
16874         (gud-tooltip-activate-mouse-motions-if-enabled):
16875         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16876         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16877         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16878         (ebrowse-tags-next-file):
16879         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16880         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16881         (ebnf-eps-finish-and-write):
16882         * progmodes/cpp.el (cpp-edit-save):
16883         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16884         * progmodes/cc-defs.el (c-emacs-features):
16885         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16886         (antlr-directory-dependencies):
16887         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16888         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16889         (ada-find-any-references, ada-make-filename-from-adaname)
16890         (ada-make-body-gnatstub):
16891         * obsolete/rnews.el (news-list-news-groups):
16892         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16893         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16894         * net/rcirc.el (rcirc-debug):
16895         * net/newst-treeview.el (newsticker--treeview-list-add-item)
16896         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16897         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16898         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16899         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16900         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16901         (newsticker--treeview-list-clear-highlight)
16902         (newsticker--treeview-list-update-highlight)
16903         (newsticker--treeview-list-highlight-start)
16904         (newsticker--treeview-tree-update-highlight)
16905         (newsticker--treeview-get-selected-item)
16906         (newsticker-treeview-mark-list-items-old)
16907         (newsticker--treeview-set-current-node):
16908         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16909         * net/newst-backend.el (newsticker--get-news-by-funcall)
16910         (newsticker--get-news-by-wget, newsticker--image-get)
16911         (newsticker--image-sentinel):
16912         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16913         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16914         (eudc-ph-close-session):
16915         * net/eudc.el (eudc-save-options):
16916         * language/thai-word.el (thai-update-word-table):
16917         * language/japan-util.el (japanese-string-conversion):
16918         * international/titdic-cnv.el (tsang-quick-converter)
16919         (ziranma-converter, ctlau-converter):
16920         * international/mule-cmds.el (describe-language-environment):
16921         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16922         (skkdic-convert-postfix, skkdic-convert-prefix):
16923         (skkdic-convert-okuri-nasi, skkdic-convert):
16924         * emacs-lisp/re-builder.el (reb-update-overlays):
16925         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16926         * emacs-lisp/gulp.el (gulp-send-requests):
16927         * emacs-lisp/find-gc.el (trace-call-tree):
16928         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16929         (eieio-describe-generic):
16930         * emacs-lisp/eieio-base.el (eieio-persistent-read):
16931         * emacs-lisp/edebug.el (edebug-outside-excursion):
16932         * emacs-lisp/debug.el (debugger-make-xrefs):
16933         * emacs-lisp/cust-print.el (custom-prin1-to-string):
16934         * emacs-lisp/chart.el (chart-new-buffer):
16935         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16936         Use with-current-buffer.
16937         * textmodes/artist.el (artist-system): Don't call
16938         copy-sequence on a fresh string.
16939         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16941 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
16943         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16944         is no item to edit.  (Bug#4820)
16945         (todo-top-priorities): Restore point and restore narrowing in Todo
16946         buffer.  (Bug#4820)
16948 2009-10-31  Glenn Morris  <rgm@gnu.org>
16950         * net/ange-ftp.el (top-level): Don't require dired when compiling.
16951         (comint-last-output-start, comint-last-input-start)
16952         (comint-last-input-end): Don't defvar when compiling.
16953         (ange-ftp-process-file): Use bound-and-true-p.
16955         * pcmpl-rpm.el (top-level): Move provide statement to end.
16956         (pcmpl-rpm): Remove unused custom group.
16958         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16960         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16962         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16963         (byte-compile-warnings): Add `constants' as an option.
16964         (byte-compile-callargs-warn, byte-compile-arglist-warn)
16965         (display-call-tree): Update for byte-compile-fdefinition possibly
16966         returning `(macro lambda ...)'.  (Bug#4778)
16967         (byte-compile-variable-ref, byte-compile-setq-default):
16968         Respect `constants' member of byte-compile-warnings.
16970 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16972         * vc-bzr.el (vc-bzr-revision-keywords): New var.
16973         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16974         to "submit:".
16976 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
16978         * textmodes/ispell.el (ispell-skip-region-alist):
16979         * international/mule-conf.el (eight-bit):
16980         * international/fontset.el (font-encoding-alist):
16981         * startup.el (pure-space-overflow-message):
16982         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16983         * paths.el (gnus-nntp-service, rmail-spool-directory)
16984         (term-file-prefix):
16985         * files.el (save-some-buffers-action-alist):
16986         * cmuscheme.el (same-window-buffer-names):
16987         * ielm.el (same-window-buffer-names):
16988         * shell.el (same-window-buffer-names):
16989         * mail/sendmail.el (same-window-buffer-names):
16990         * progmodes/inf-lisp.el (same-window-buffer-names):
16991         * bindings.el (mode-line-client)
16992         (mode-line-column-line-number-mode-map):
16993         * language/tibetan.el (tibetan-precomposition-rule-regexp)
16994         (tibetan-precomposed-regexp): Purecopy string arguments.
16996 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16998         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16999         (calcDigit-nondigit):
17000         * calc/calc-yank.el (calc-copy-to-buffer):
17001         * calc/calc-units.el (calc-invalidate-units-table):
17002         * calc/calc-trail.el (calc-trail-yank):
17003         * calc/calc-store.el (calc-insert-variables):
17004         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17005         * calc/calc-prog.el (calc-read-parse-table):
17006         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17007         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17008         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17009         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17010         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17011         (calc-graph-name, calc-graph-find-command, calc-graph-view)
17012         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17013         * calc/calc-ext.el (calc-realign):
17014         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17015         (calc-embedded-finish-edit, calc-embedded-make-info)
17016         (calc-embedded-finish-command, calc-embedded-stack-change):
17017         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17019         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17020         shell-dynamic-complete-filename in preference to
17021         comint-dynamic-complete-filename.
17023         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17024         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17025         Don't consider whether the display supports colors.
17026         (bookmark-import-new-list): Use dolist.
17027         (bookmark-bmenu-mode-map): Move initialization into declaration.
17028         (bookmark-bmenu-list): Use dolist, simplify.
17029         (bookmark-show-all-annotations): Use save-selected-window and dolist.
17030         (menu-bar-final-items): Use push.
17032 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
17034         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17035         it works on remote files.
17036         (vc-hg-diff): Don't pass any `--cwd' argument.
17038 2009-10-27  Kevin Ryde  <user42@zip.com.au>
17040         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17041         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17042         (Further to Bug#3921).
17044 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
17046         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17047         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17048         calling `tramp-imap-put-file'.  Add file size to the call.
17049         (tramp-imap-get-file-entries): Compute also user name, file size,
17050         and date.
17051         (tramp-imap-handle-insert-directory): Insert uid and gid.
17052         (tramp-imap-handle-file-attributes): Transform uid and gid
17053         according to `id-format'.
17054         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
17055         size in header X-Size.
17057 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
17059         * simple.el (transpose-subr): Give clearer error when the mark
17060         is not set.  (Bug#4807)
17062 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
17064         * net/tramp.el (tramp-perl-file-truename): New defconst.
17065         Perl code contributed by yary <not.com@gmail.com> (tiny change).
17066         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17067         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17068         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17070         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17071         Ignore `dired-call-process'.
17072         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17074 2009-10-26  Julian Scheid  <julians37@gmail.com>
17076         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17077         (tramp-get-remote-readlink): New defun.
17078         (tramp-handle-file-truename): Use it.
17079         (tramp-handle-file-exists-p): Check file-attributes cache, assume
17080         file exists if cache value present.
17081         (tramp-check-cached-permissions): New defun.
17082         (tramp-handle-file-readable-p): Use it.
17083         (tramp-handle-file-writable-p): Likewise.
17084         (tramp-handle-file-executable-p): Likewise.
17085         (tramp-handle-file-name-all-completions): Try using Perl to get
17086         partial completions.  When perl not available, combine `cd' and
17087         `ls' into single remote operation and use shell expansion to get
17088         partial remote directory contents.  Set `file-exists-p' cache for
17089         directory and any files returned by ls.  Change cache handling to
17090         support partial directory contents.  Use error message emitted by
17091         remote `cd' or Perl code for local tramp-error.
17092         (tramp-do-copy-or-rename-file-directly): Avoid separate
17093         tramp-send-command-and-check call.
17094         (tramp-handle-process-file): Merge three remote ops into one.
17095         Do not flush all caches when `process-file-side-effects' is set.
17096         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17097         file-attributes shows uid/gid to be set already.
17099 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
17101         * textmodes/tex-mode.el (tex-dvi-view-command)
17102         (tex-show-queue-command, tex-open-quote):
17103         * progmodes/ruby-mode.el (auto-mode-alist)
17104         (interpreter-mode-alist): Purecopy strings.
17106         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17108         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17109         string for the hook, keymap and abbrev table.
17111         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17113         * x-dnd.el (x-dnd-xdnd-to-action):
17114         * startup.el (fancy-startup-text, fancy-about-text): Change to
17115         defconst from defvar.
17117         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17119         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17120         Purecopy initialization strings.
17122         * mail/sendmail.el (mail-header-separator)
17123         (mail-personal-alias-file):
17124         * mail/rmail.el (rmail-default-dont-reply-to-names)
17125         (rmail-ignored-headers, rmail-retry-ignored-headers)
17126         (rmail-highlighted-headers, rmail-secondary-file-directory)
17127         (rmail-secondary-file-regexp):
17128         * files.el (null-device, file-name-invalid-regexp)
17129         (locate-dominating-stop-dir-regexp)
17130         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17131         (interpreter-mode-alist): Use mapcar instead of mapc.
17133         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17135         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17136         (completion-ignored-extensions):
17137         (debug-ignored-errors): Purecopy strings.
17139 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17141         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17142         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17143         (pcomplete--here): Use push.
17145         * subr.el (all-completions): Declare the 4th arg obsolete.
17147 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17149         * pcomplete.el (pcomplete-unquote-argument-function): New var.
17150         (pcomplete-unquote-argument): New function.
17151         (pcomplete--common-suffix): Always pay attention to case.
17152         (pcomplete--table-subvert): Quote and unquote the text.
17153         (pcomplete--common-quoted-suffix): New function.
17154         (pcomplete-std-complete): Use it and pcomplete-begin.
17156         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17157         we're inside a dedicated or minibuffer window.
17159 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
17161         * bookmark.el: Update documentation, especially documentation
17162         of `bookmark-alist' and of the bookmark file format.
17163         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
17165 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
17167         * mail/emacsbug.el (report-emacs-bug): Clarify that the
17168         keybindings apply to the mail buffer (Bug#4003).  Shrink help
17169         window to buffer.
17171         * whitespace.el (whitespace-mode, whitespace-newline-mode)
17172         (global-whitespace-mode, global-whitespace-newline-mode)
17173         (whitespace-toggle-options, global-whitespace-toggle-options):
17174         Doc fix (Bug#3660).
17176         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17177         of xmltok-start before the end tag was inserted (Bug#2840).
17179         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17180         patterns that are preceded by an open-paren (Bug#1320).
17182 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
17184         * files.el (delete-directory): Delete symlinks to directories with
17185         delete-file (Bug#4739).
17187 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
17189         * vc.el (vc-backend-for-registration): Rename from
17190         vc-get-backend-for-registration.  Update callers.
17192         * international/mule-cmds.el (set-language-info-alist):
17193         Purecopy lang-env.
17194         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17195         (charset): Purecopy the name.
17196         (define-char-code-property): Purecopy string arguments.
17198         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17199         Purecopy string arguments.
17201         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17202         * ediff-hook.el (menu-bar-ediff-menu):
17203         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17204         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17206 2009-10-24  Glenn Morris  <rgm@gnu.org>
17208         * comint.el (comint-dynamic-list-completions):
17209         * term.el (term-dynamic-list-completions): Use choose-completion rather
17210         than obsolete alias mouse-choose-completion.
17212         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17213         file-cache-choose-completion.
17214         (file-cache-choose-completion): Handle an optional event argument.
17215         (file-cache-mouse-choose-completion): Make it an obsolete alias.
17217         * progmodes/octave-mod.el (octave-complete-symbol):
17218         Use choose-completion if mouse-choose-completion is ever removed.
17220         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17221         use.
17223         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17224         compiler.
17226         * vc-hooks.el (vc-responsible-backend): Fix declaration.
17228 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17230         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17231         Ignore `pred' now that we receive one.
17232         Handle test-completion specially.
17234 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17236         * vc.el (vc-responsible-backend): Throw an error if not backend is
17237         found.  Remove the REGISTER argument.  Move the code dealing with
17238         REGISTER ...
17239         (vc-get-backend-for-registration): ... here.  New function.
17240         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17241         of vc-responsible-backend, pass the file name instead of the
17242         directory name.
17244 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17246         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17247         New funs.
17248         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
17249         (pcomplete-comint-setup): Don't modify a global var via
17250         accidental side-effects.
17251         (pcomplete-shell-setup): Adjust call accordingly.
17252         (pcomplete-parse-comint-arguments): Use push.
17254 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
17256         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17257         Allow uncapitalized info node names (Bug#3921).
17259         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17260         to the DEBUG file (Bug#3781).
17262 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
17264         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17265         dictionary entry (Bug#4579).
17267 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
17269         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17270         from `rfn-eshadow-update-overlay-hook' when unloading.
17271         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17272         "rsyncc".  Adjust doc string.
17273         (tramp-temp-buffer-file-name): New buffer-local defvar.
17274         (tramp-handle-insert-file-contents, tramp-handle-write-region):
17275         Keep temporary file when indicated by method ("rsync" and
17276         "rsyncc").
17277         (tramp-handle-write-region): Handle APPEND.
17278         (tramp-delete-temp-file-function): New defun.  Added to
17279         `kill-buffer-hook'.
17281 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
17283         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17285 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17287         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17288         (color-name-rgb-alist, tty-standard-colors)
17289         (tty-color-mode-alist): Change to defconst.
17291         * simple.el (mark-inactive): Purecopy message.
17293         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17294         (global-map, yank-menu):
17295         * textmodes/ispell.el (ispell-menu-map):
17296         * net/eudc.el (eudc-tools-menu):
17297         * international/mule-cmds.el (describe-language-environment-map)
17298         (setup-language-environment-map, set-coding-system-map)
17299         (mule-menu-keymap):
17300         * vc-hooks.el (vc-menu-entry, vc-menu-map):
17301         * replace.el (occur-mode-map):
17302         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17304 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
17306         * calc/calc.el (math-read-number, math-read-number-simple):
17307         Use `save-match-data'.
17309 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17311         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17312         rather than fiddling with global-map bindings, since it should only
17313         affect per-terminal settings.
17314         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17316         * minibuffer.el (completion-table-with-terminator): Allow to specify
17317         the terminator-regexp.
17319         * simple.el (switch-to-completions): Look for *Completions* in other
17320         frames as well.
17322         * pcomplete.el: Allow the use of completion-tables.
17323         (pcomplete-std-complete): New command.
17324         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17325         (pcomplete--here): Use a function for `form' rather than an expression,
17326         so it can be byte-compiled.
17327         (pcomplete-here, pcomplete-here*): Adjust accordingly.
17328         Add edebug declaration.
17329         (pcomplete-show-completions): Remove unused var `curbuf'.
17330         (pcomplete-do-complete, pcomplete-stub):
17331         Don't assume `completions' is a list of strings any more.
17333 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
17335         * find-dired.el (find-name-arg): Fix typo in docstring.
17337 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17339         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17340         (pcmpl-linux-fs-types): Same, and update to new modules layout.
17342         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17343         pcomplete-entries.
17345         * comint.el (comint-read-input-ring, comint-write-input-ring)
17346         (comint-substitute-in-file-name)
17347         (comint-dynamic-complete-as-filename)
17348         (comint-dynamic-simple-complete)
17349         (comint-dynamic-list-filename-completions)
17350         (comint-dynamic-list-completions)
17351         (comint-redirect-results-list-from-process): Minor simplifications.
17353 2009-10-21  Kevin Ryde  <user42@zip.com.au>
17355         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17356         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17357         the first form.  And insert a blank line after ";;; Code" since
17358         that's usual style.  (Bug#4612)
17360         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17362 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17364         * minibuffer.el (completion-table-with-terminator): Properly implement
17365         boundaries, in case `terminator' appears in the suffix.
17366         (completion--embedded-envvar-table): Don't return boundaries if
17367         there's no valid completion.  Simplify.
17368         (completion-file-name-table): New completion table extracted from
17369         completion--file-name-table.
17370         (completion--file-name-table): Use it.
17371         (read-file-name-predicate): Declare obsolete.
17372         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17373         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17374         completion-file-name-table, and use the `pred' argument.
17375         * files.el (locate-file-completion-table): Use the `pred' arg rather
17376         than read-file-name-predicate.
17377         (abbreviate-file-name): Use \` rather than ^ for BOS.
17379 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
17381         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17382         vc-responsible-backend to register, it causes problems.
17384 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17386         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17388 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
17390         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17391         (tramp-smb-handle-file-attributes): Use it.
17392         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17393         (tramp-smb-handle-insert-directory): Use `mapc' rather than
17394         `mapcar'.  Use `tramp-smb-get-stat-capability'.
17395         Add `dired-filename' text properties.
17396         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17397         (tramp-smb-maybe-open-connection): Simplify check for smbclient
17398         version.
17400 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17402         * subr.el (read-key-delay): Reduce to 0.01.
17403         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17404         (bug#4751).
17406 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17408         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17410         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17411         (Info-menu): Remove unused vars `last' and `completions'.
17412         (Info-index-nodes): Remove unused var `node'.
17414         * info.el (Info-complete-menu-item): Use complete-with-action.
17416 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
17418         Make vc-annotate work through copies and renames.
17419         * vc-annotate.el (vc-annotate-extract-revision-at-line):
17420         Return the file name too.
17421         (vc-annotate-revision-at-line)
17422         (vc-annotate-find-revision-at-line)
17423         (vc-annotate-revision-previous-to-line)
17424         (vc-annotate-show-log-revision-at-line): Update to get the file
17425         name from vc-annotate-extract-revision-at-line.
17426         (vc-annotate-show-diff-revision-at-line-internal): Change the
17427         argument to mean whether to show a file diff or not.  Get the file
17428         name from vc-annotate-extract-revision-at-line.
17429         (vc-annotate-show-diff-revision-at-line):
17430         Update vc-annotate-show-diff-revision-at-line call.
17431         (vc-annotate-warp-revision): Add an optional file argument.
17433         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17434         (vc-git-annotate-extract-revision-at-line): Also return the file
17435         name if found.
17437         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17438         command.  Remove unused code.
17439         (vc-hg-annotate-re): Update to match --follow output.
17440         (vc-hg-annotate-extract-revision-at-line): Also return the file
17441         name if found.
17443         * vc.el: Update annotate-extract-revision-at-line documentation.
17445 2009-10-18  Kevin Ryde  <user42@zip.com.au>
17447         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17448         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17450         * net/browse-url.el (browse-url): Identify alist with "consp and
17451         not functionp" and let all other things go down the `apply' leg,
17452         as suggested by Stefan.  (Further to bug#4531.)
17454 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
17456         * minibuffer.el (read-file-name): Check for repeat before putting
17457         a default argument in file-name-history (Bug#4657).
17459         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17460         read syntax (Bug#4737).
17462         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17464 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
17466         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17467         (html-tag-alist, html-tag-help): Add descriptions for undocumented
17468         entries and make note of obsolete tags.
17470 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17472         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17474 2009-10-18  Glenn Morris  <rgm@gnu.org>
17476         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17477         grep, so that binary files (eg international/uni-bidi.el) can match.
17478         Remove test for "UnicodeData" files, since it is hopefully unnecessary
17479         now, and in any case the file header format has changed.
17481 2009-10-17  Glenn Morris  <rgm@gnu.org>
17483         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17484         (flyspell-get-word, flyspell-large-region)
17485         (flyspell-auto-correct-previous-word): Doc/error message fixes.
17487 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
17489         * Makefile.in (ELCFILES): Add ede/shell.
17491 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
17493         * term/common-win.el (x-colors): Purecopy it.
17495 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17497         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17498         permissive for when the buffer is empty.
17499         (tar-header-block-tokenize): Decode the username and groupname.
17500         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17502 2009-10-17  Eric Ludlam  <zappo@gnu.org>
17504         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17505         contains multibyte characters, choose first applicable coding
17506         system automatically.
17508 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17510         * international/mule-cmds.el (select-safe-coding-system): If the file
17511         has a coding cookie, use it regardless of any other setting (bug#4712).
17513 2009-10-17  Glenn Morris  <rgm@gnu.org>
17515         * foldout.el (foldout-mouse-swallow-events):
17516         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17518         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17519         (dired-keep-marker-copy, dired-keep-marker-hardlink)
17520         (dired-keep-marker-symlink, dired-dwim-target)
17521         (dired-copy-preserve-time): Do not autoload these defcustoms.
17523         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17524         messages from messing up the file coding.  (Bug#4623)
17526 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
17528         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17529         if no match is found for the current dictionary.  (Bug#4578)
17531         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17532         optional, since that is how it is documented, and this is often called
17533         with a nil argument.  (Bug#4577)
17534         (flyspell-external-point-words, flyspell-auto-correct-word)
17535         (flyspell-correct-word-before-point, flyspell-word-search-forward)
17536         (flyspell-word-search-backward): Remove nil argument in calls to
17537         flyspell-get-word, since it is not needed now.
17539 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
17541         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
17543 2009-10-16  Glenn Morris  <rgm@gnu.org>
17545         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17547 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
17549         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17550         (ange-ftp-file-size): New function.
17551         (ange-ftp-file-attributes): Use it.
17553 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
17555         * net/tramp-smb.el (tramp-smb-version): New defvar.
17556         (tramp-smb-maybe-open-connection): Use it, in order to avoid
17557         repeated checks.
17559 2009-10-16  Glenn Morris  <rgm@gnu.org>
17561         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17562         Maybe copy some custom properties from old to new name.  (Bug#4706)
17564 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
17566         * subr.el (error, sit-for, start-process-shell-command)
17567         (start-file-process-shell-command): Set the calling convention
17568         after the function definition.
17570 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17572         * subr.el (error, sit-for, start-process-shell-command)
17573         (start-file-process-shell-command): Use the new
17574         set-advertised-calling-convention feature.
17576 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
17578         * international/ucs-normalize.el (ucs-normalize-version):
17579         Change to 1.2.
17580         (check-range): Adjust for Unicode 5.2.
17582 2009-10-15  Juri Linkov  <juri@jurta.org>
17584         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17585         to the `menu-item' format.
17587 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
17589         * net/tramp.el (tramp-replace-environment-variables): Do not fail
17590         if the environment variable does not exist.
17592         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17593         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17594         parameter.
17595         (tramp-smb-handle-add-name-to-file)
17596         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17597         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17598         (tramp-smb-handle-file-attributes)
17599         (tramp-smb-do-file-attributes-with-stat)
17600         (tramp-smb-handle-file-local-copy)
17601         (tramp-smb-handle-insert-directory)
17602         (tramp-smb-handle-make-directory)
17603         (tramp-smb-handle-make-directory-internal)
17604         (tramp-smb-handle-make-symbolic-link)
17605         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17606         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17607         (tramp-smb-maybe-open-connection): Apply the changed parameters.
17608         (tramp-smb-read-file-entry): Read Disk names in compressed format.
17609         Handle long file names.
17610         (tramp-smb-get-cifs-capabilities): Check, whether the connection
17611         process is running.
17612         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17613         Read share names with "-g" option.
17615 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
17617         * net/rcirc.el (rcirc-view-log-file): New command.
17618         (rcirc-track-minor-mode-map): Remove C-c ` binding.
17619         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17620         specified.
17622 2009-10-15  Glenn Morris  <rgm@gnu.org>
17624         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17625         from the second command-line argument.
17626         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17627         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17628         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17629         w32-batch-update-autoloads.
17630         * emacs-lisp/autoload.el (autoload-make-program): New variable.
17631         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17633         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17634         the headers cannot be located.  Simplify, subtracting superflous
17635         save-excursions.
17637 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17639         Replace completion-base-size by completion-base-position to fix bugs
17640         such as (bug#4699).
17641         * simple.el (completion-base-position): New var.
17642         (completion-base-size): Mark as obsolete.
17643         (choose-completion): Make it work for mouse events as well.
17644         Pass the new base-position to choose-completion-string.
17645         (choose-completion-guess-base-position): New function, extracted from
17646         choose-completion-delete-max-match.
17647         (choose-completion-delete-max-match): Use it.  Make obsolete.
17648         (choose-completion-string): Use the new base-position info.
17649         (completion-root-regexp): Delete.
17650         (completion-setup-function): Preserve completion-base-position.
17651         Eliminate obsolete base-size manipulation.
17652         * minibuffer.el (display-completion-list): Don't mess with base-size.
17653         (minibuffer-completion-help): Set completion-base-position instead.
17654         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17655         choose-completion.
17656         * textmodes/bibtex.el (bibtex-complete):
17657         * emacs-lisp/crm.el (crm--choose-completion-string):
17658         Adjust to new calling convention.
17659         * complete.el (partial-completion-mode): Use minibufferp to avoid
17660         bumping into incompatible change to choose-completion-string-functions.
17661         * ido.el (ido-choose-completion-string): Make its calling convention
17662         more permissive.
17663         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17664         base-size manipulation.
17665         (comint-dynamic-list-input-ring): Use dotimes and push.
17666         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17667         fundamental-mode.  Use `or'.
17669 2009-10-14  Juri Linkov  <juri@jurta.org>
17671         * misearch.el (multi-isearch-next-buffer-from-list)
17672         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
17674 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17676         * Makefile.in (compile-onefile): Load `bytecomp' rather than
17677         `bytecomp.el'.
17679         * minibuffer.el (completion-pcm--merge-completions): Make sure the
17680         string we return is all made up of text from the completions rather
17681         than part from the completions and part from the input (bug#4219).
17683         * ido.el (ido-everywhere): Use define-minor-mode.
17685         * buff-menu.el (list-buffers, ctl-x-map):
17686         Mark the entry points with ;;;###autoload cookies.
17688 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
17690         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17691         correctly in the detached head case.
17692         (vc-git-print-log): Remove unused binding.
17694         * vc.el (vc-responsible-backend): When a directory is passed for
17695         for registration create a VC repository if no backend is
17696         responsible for the directory argument.
17697         (vc-deduce-fileset): Tell vc-responsible-backend to register.
17699         * vc.el: Move comments about RCS and SCCS ...
17700         * vc-rcs.el:
17701         * vc-sccs.el: ... here, respectively.
17703 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17705         * minibuffer.el (completion--file-name-table): Return nil if there's
17706         no file completion, even if substitute-in-file-name changed
17707         the string (bug#4708).
17709 2009-10-13  Juri Linkov  <juri@jurta.org>
17711         * files-x.el (read-file-local-variable-value): Don't filter out
17712         minor modes from mode name completion (bug#4664).
17714 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17716         * international/mule-cmds.el (ucs-names): Remove exclusion of
17717         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17719 2009-10-13  Kenichi Handa  <handa@m17n.org>
17721         * international/uni-name.el: Regenerated.
17723 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17725         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
17726         should be automatically buffer-local, but isn't.)
17728 2009-10-12  Sam Steingold  <sds@gnu.org>
17730         * progmodes/compile.el (compilation-next-error-function): Fix the
17731         timestamps if the buffer has been visited before.
17732         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17733         non-anchored patterns, like the perl one (bug#3928).
17735 2009-10-12  Glenn Morris  <rgm@gnu.org>
17737         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17738         Let-bind `size'.
17740 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
17742         * proced.el (proced-unload-function): New function.
17744         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17745         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17746         Doc fix.
17748         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17750 2009-10-11  Juri Linkov  <juri@jurta.org>
17752         * files-x.el (read-file-local-variable-value):
17753         Provide default value only for bound variables (bug#4664).
17755 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
17757         * net/tramp.el (tramp-local-host-p): Function shall return nil for
17758         connection methods like smb.
17760         * net/tramp-cache.el (tramp-flush-connection-property): The hash
17761         can be empty.
17763         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17764         (tramp-smb-file-name-handler-alist): Add handlers for
17765         `add-name-to-file', `make-symbolic-link'.
17766         (tramp-smb-handle-add-name-to-file)
17767         (tramp-smb-do-file-attributes-with-stat)
17768         (tramp-smb-handle-make-symbolic-link)
17769         (tramp-smb-get-cifs-capabilities): New defuns.
17770         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17771         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17772         (tramp-smb-handle-file-local-copy)
17773         (tramp-smb-handle-make-directory-internal)
17774         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17775         The file name syntax depends on cifs capabilities.
17776         (tramp-smb-handle-file-attributes):
17777         Call `tramp-smb-do-file-attributes-with-stat' if possible.
17778         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17779         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17781 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
17783         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17784         (eieio-defclass): Apply deftype handler and setf-method properties
17785         directly.
17786         (eieio-add-new-slot): Avoid union function from cl library.
17787         (eieio--typep): New function.
17788         (eieio-perform-slot-validation): Use it.
17790 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17792         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17793         Update documentation to refer to the variables documented in r1.135.
17794         (Bug#4188)
17796 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17798         * bookmark.el (Info-suffix-list): Remove this unused variable.
17799         (bookmark-current-point): Remove this obsolete variable.
17800         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17801         Adjust for removal of bookmark-current-point.
17803         (bookmarks-already-loaded, bookmark-current-buffer)
17804         (bookmark-yank-point): Document.  (Bug#4188)
17806 2009-10-10  Glenn Morris  <rgm@gnu.org>
17808         * frame.el (frame-height): Doc fix.
17810         * calendar/calendar.el (calendar-split-width-threshold): New option.
17811         (calendar-basic-setup): Use calendar-split-width-threshold.
17813 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
17815         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17816         Ideographic Supplement" range (U+1F200..U+1F2FF).
17818 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17820         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17821         since the list will have been rebuilt anyway.  (Bug#4349)
17823 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17825         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17826         (bookmark-bmenu-execute-deletions): Don't save here, as
17827         bookmark-delete will now do so if necessary.
17828         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17829         (Bug#4348)
17831 2009-10-09  Glenn Morris  <rgm@gnu.org>
17833         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17835 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17837         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17838         (bookmark-jump-other-window): Just invoke bookmark-jump with new
17839         argument now, so the two function's behaviors will match.  (Bug#3645)
17841 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
17843         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17844         (tramp-file-name-real-host, tramp-file-name-port):
17845         Apply `save-match-data'.
17847         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17848         case both directories are remote.
17849         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17850         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17852 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17854         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17856 2009-10-07  Glenn Morris  <rgm@gnu.org>
17858         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17859         of concat.
17861 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17863         * files-x.el (read-file-local-variable): Include some
17864         non-user-variables in the completion table (bug#4664).
17866 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
17868         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17869         message.
17871         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17872         (tramp-smb-file-name-handler-alist): Add handler for
17873         `copy-directory', `expand-file-name', `set-file-modes'.
17874         (tramp-smb-handle-copy-directory)
17875         (tramp-smb-handle-expand-file-name)
17876         (tramp-smb-handle-set-file-modes): New defuns.
17877         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17878         (tramp-smb-handle-file-attributes): Simplify check for retrieving
17879         entry.
17880         (tramp-smb-handle-insert-directory): Don't flush the cache.
17881         (tramp-smb-maybe-open-connection): Check for samba client and
17882         server versions.
17884 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
17886         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17887         to not error out of search for "^lisp=" fails.
17889 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17891         * makefile.w32-in (WINS_UPDATES): New macro.
17892         (custom-deps, finder-data, autoloads): Use it.
17894 2009-10-07  Glenn Morris  <rgm@gnu.org>
17896         * Makefile.in (autoloads): Revert previous change.
17897         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17898         the list of preloaded files passed on the command-line, get
17899         it from src/Makefile.
17901         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17902         show the original buffer rather than a random one.
17904 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
17906         * help.el (describe-no-warranty): Place point in a slightly better
17907         position in the GPLv3 text.
17909 2009-10-06  Sam Steingold  <sds@gnu.org>
17911         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17912         the comm attribute is present before calling regexp-quote.
17914 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
17916         * play/animate.el (animate-string): For good effect, make sure
17917         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17919         * play/animate.el (animate-sequence, animate-birthday-present):
17920         * misc.el (butterfly): Don't set `indent-tabs-mode'.
17922 2009-10-06  Glenn Morris  <rgm@gnu.org>
17924         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17926         * emacs-lisp/autoload.el (autoload-excludes): New variable.
17927         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17928         (batch-update-autoloads): Process a string value of autoload-excludes,
17929         set during the build process.
17930         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
17932         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17933         inside with-parsed...  macro so that `v' is defined.
17935         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17936         * progmodes/fortran.el (fortran-end-of-block)
17937         (fortran-beginning-of-block):
17938         Also push mark in the macro case.
17940         * emerge.el (emerge-show-file-name):
17941         * calc/calc.el (calc-quit):
17942         * calc/calc-misc.el (calc-big-or-small):
17943         * calc/calc-graph.el (calc-graph-view):
17944         * calc/calc-ext.el (calc-reset):
17945         * calendar/calendar.el (calendar-basic-setup):
17946         Use window-full-height-p.
17948         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17949         header we don't understand, don't insert another.  (Bug#4624)
17950         If changing mime charset, insert the new one in the right place.
17952 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
17954         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17955         (cal-tex-cursor-month): Correctly increment the end date for diary and
17956         holiday listing.  (Bug#4626)
17958 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17960         * help-fns.el (describe-function-1): Don't burp if the function is not
17961         a symbol.
17963 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
17965         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17966         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17967         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17968         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17970         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17971         (eieio-default-superclass): Reflow docstrings.
17972         (this, class-option-assoc, defclass, eieio-class-un-autoload)
17973         (eieio-unbind-method-implementations, defmethod)
17974         (eieio-validate-slot-value, eieio-validate-class-slot-value)
17975         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17976         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17977         (eieio-slot-originating-class-p, eieio-slot-name-index)
17978         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17979         (constructor, initialize-instance, no-next-method, object-print)
17980         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17981         Fix typos in docstrings.
17982         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17983         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17984         (next-method-p): Doc fixes.
17985         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17986         Fix typos in error messages.
17987         (eieio-defmethod): Fix typo in description of generic method.
17989         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17990         (eieio-persistent-save-interactive, slot-missing):
17991         Fix typos in docstrings.
17992         (eieio-instance-inheritor-slot-boundp): Doc fix.
17994         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17995         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17997         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17998         (eieio-custom-object-apply-reset):
17999         Fix typos in docstrings and error messages.
18001         * emacs-lisp/eieio-datadebug.el (data-debug-show):
18002         Fix typo in docstring.
18004         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18005         (eieio-browse-tree): Doc fix.
18006         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18007         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18008         Fix typos in docstrings.
18010         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18011         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18012         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18013         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18014         Reflow docstrings.
18016 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
18018         * vc-hg.el (log-view-vc-backend): Declare for compiler.
18019         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18020         Set log-view-vc-backend so that diff can work.
18022         * log-view.el (log-view-diff): Use vc-diff-internal instead of
18023         vc-version-diff.
18024         (vc-diff-internal): Autoload this instead of vc-version-diff.
18026 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
18028         * simple.el (eval-expression): Doc fix.
18030         * progmodes/cwarn.el (cwarn-mode): Doc fix.
18032 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
18034         * files.el (directory-files-no-dot-files-regexp): New defconst.
18035         (delete-directory): Use it.
18036         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
18038         * net/tramp.el (tramp-verbose): Fix docstring.
18039         (tramp-methods): Add recursive option to `tramp-copy-args'.
18040         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
18041         "scp1_old", "scp2_old", "rsync", "rsyncc".
18042         (tramp-default-method): Check also for `auth-source-user-or-password'.
18043         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18044         Add handler for `copy-directory'.
18045         (tramp-handle-copy-directory): New defun.
18046         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18047         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18048         Optimize sent command.
18050 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18052         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18053         window if necessary.
18055         * calendar/calendar.el (calendar-basic-setup): Don't call
18056         switch-to-buffer in a dedicated window.
18058 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
18060         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18061         don't do anything related to relocating, just return nil.
18062         (bookmark-error-no-filename): New error.
18063         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18064         bookmark has no file.  Don't even attempt to handle things that
18065         are not files; the whole point of custom handlers is to keep that
18066         knowledge elsewhere anyway.  Tighten some comments.
18067         (bookmark-file-or-variation-thereof): Remove now-unused function.
18068         (bookmark-location): Doc string fix.
18069         (Bug#4250)
18071 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18073         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18074         don't use a file dialog, because they usually don't know how to read
18075         a directory target from the user.  (Bug#4230)
18076         Also, make sure the prompt can display directories as well as files.
18078 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18080         * bookmark.el (bookmark-set, bookmark-buffer-name):
18081         Improve doc strings.  (Bug#1193)
18083 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18085         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18086         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18087         (bookmark-get-annotation, bookmark-set-annotation)
18088         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18089         (bookmark-set-position, bookmark-get-front-context-string)
18090         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18091         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18092         (bookmark-jump-other-window, bookmark-handle-bookmark)
18093         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18094         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18095         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18096         Improve doc strings to say whether bookmark can be a string or
18097         a record or both, and make other consistency and clarity fixes.
18098         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18099         (bookmark-default-annotation-text, bookmark-yank-word)
18100         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18101         (bookmark-import-new-list, bookmark-maybe-rename)
18102         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18103         (bookmark-bmenu-bookmark): Give these doc strings.
18104         (bookmark-bmenu-check-position): Give this a doc string, but also
18105         add a FIXME comment about how the function may be pointless.
18106         (bookmark-default-handler): Rework doc string and change a
18107         parameter name, to clarify that this takes a bookmark record
18108         not a bookmark name.
18109         (bookmark-set): Change a parameter name to indicate its meaning,
18110         and improve the doc string a bit.
18111         (Bug#4188)
18113 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18115         * bookmark.el (bookmark-alist): Document the new `handler' element
18116         in the param alist.
18117         (bookmark-make-record-function): Adjust documentation for above.
18118         (Bug#4193)
18120 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18122         * info.el (Info-bookmark-make-record): Document this function.
18123         (Info-bookmark-jump): Document with a doc string, not just a comment.
18124         (Bug#4203)
18126 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
18128         * files.el (copy-directory): New defun.
18130         * dired-aux.el (dired-copy-file-recursive): Use it.
18132 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
18134         * files-x.el (modify-dir-local-variable)
18135         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18136         docstrings.
18138         * recentf.el (recentf-unload-function): New function.
18140 2009-10-04  Glenn Morris  <rgm@gnu.org>
18142         * window.el (window-full-height-p): Add doc string.
18144 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
18146         * window.el (window-full-height-p): New function.  (Bug#4543)
18148 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
18150         * vc.el: Remove commented out code.
18151         (vc-derived-from-dir-mode): Remove, unused.
18152         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18154 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
18156         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18157         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
18158         there could be recursive loading when `default-directory' is a
18159         remote file name.  (Bug#4614)
18161 2009-10-03  Glenn Morris  <rgm@gnu.org>
18163         * calendar/calendar.el (calendar-basic-setup): Handle the case where
18164         the frame is wide.
18165         (calendar-generate-window): Test for shrinkability rather than width.
18167         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18168         reusing existing buffers, in case we happen to visit two files with the
18169         same basename.  (Bug#4593)
18171 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18173         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18174         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18175         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18176         subdirs of cedet as well.
18177         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18179 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18181         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18182         Obey advertised-signature-table.
18184         * help-fns.el (help-function-arglist): Don't check
18185         advertised-signature-table.
18186         (describe-function-1): Do it here instead so it also applies to subrs.
18188 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
18190         * simple.el (start-file-process): Say in the doc-string, that file
18191         handlers might not support pty association, if PROGRAM is nil.
18193         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18194         HOST and USER are strings.  They are nil, when there are
18195         incomplete entries in ~/.netrc, for example.
18196         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
18197         root directory ("device busy" error otherwise).
18199         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18200         Flush file properties of created directory.
18202 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18204         * makefile.w32-in (WINS_BASIC): Remove cedet.
18205         (WINS_CEDET): Add cedet.
18206         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18208 2009-10-02  Kevin Ryde  <user42@zip.com.au>
18210         * net/browse-url.el (browse-url): Pass any symbol in
18211         browse-url-browser-function to `apply', since if you've mistakenly put
18212         an unbound symbol then the error is clearer.  (Bug#4531)
18214 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18216         * allout.el (allout-init, allout-back-to-current-heading)
18217         (allout-beginning-of-current-entry, allout-ascend-to-depth)
18218         (allout-ascend, allout-up-current-level, allout-end-of-level)
18219         (allout-previous-visible-heading, allout-forward-current-level)
18220         (allout-backward-current-level, allout-show-children):
18221         * apropos.el (apropos-describe-plist):
18222         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18223         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18224         * completion.el (add-completion, add-permanent-completion):
18225         * descr-text.el (describe-text-category, describe-char):
18226         * desktop.el (desktop-lazy-abort):
18227         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18228         * dired.el (dired-build-subdir-alist):
18229         * ediff.el (ediff-version):
18230         * elide-head.el (elide-head, elide-head-show):
18231         * emerge.el (emerge-version):
18232         * env.el (getenv):
18233         * face-remap.el (variable-pitch-mode):
18234         * faces.el (describe-face):
18235         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18236         (dired-at-point):
18237         * files.el (find-file-existing, auto-save-mode):
18238         * font-lock.el (font-lock-fontify-buffer):
18239         * help-fns.el (describe-function, describe-variable)
18240         (describe-syntax, describe-categories):
18241         * help.el (view-lossage, describe-bindings, describe-key)
18242         (describe-mode):
18243         * hexl.el (hexl-current-address):
18244         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18245         * info.el (Info-goto-emacs-key-command-node):
18246         * log-edit.el (log-edit-insert-cvs-template)
18247         (log-edit-insert-cvs-rcstemplate):
18248         * menu-bar.el (menu-bar-mode):
18249         * mouse.el (mouse-appearance-menu):
18250         * newcomment.el (comment-indent-new-line):
18251         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18252         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18253         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18254         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18255         * recentf.el (recentf-mode):
18256         * savehist.el (savehist-mode, savehist-save):
18257         * shadowfile.el (shadow-copy-files):
18258         * simple.el (kill-ring-save, next-line, previous-line)
18259         (normal-erase-is-backspace-mode):
18260         * strokes.el (strokes-update-window-configuration)
18261         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18262         (strokes-xpm-for-stroke):
18263         * time.el (emacs-uptime, emacs-init-time):
18264         * tutorial.el (tutorial--describe-nonstandard-key)
18265         (tutorial--detailed-help):
18266         * type-break.el (type-break-mode)
18267         (type-break-mode-line-message-mode, type-break-query-mode)
18268         (type-break-guesstimate-keystroke-threshold):
18269         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18270         * version.el (emacs-version):
18271         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18272         * winner.el (winner-mode):
18273         * calendar/timeclock.el (timeclock-in, timeclock-out)
18274         (timeclock-status-string, timeclock-change)
18275         (timeclock-workday-remaining-string)
18276         (timeclock-workday-elapsed-string)
18277         (timeclock-when-to-leave-string):
18278         * calendar/todo-mode.el (todo-add-category):
18279         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18280         * emacs-lisp/autoload.el (update-file-autoloads):
18281         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18282         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18283         (checkdoc-message-text, checkdoc-defun):
18284         * emacs-lisp/debug.el (debugger-list-functions):
18285         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18286         * emacs-lisp/eieio-opt.el (eieio-describe-class)
18287         (eieio-describe-generic):
18288         * emacs-lisp/lisp-mnt.el (lm-synopsis):
18289         * emacs-lisp/shadow.el (list-load-path-shadows):
18290         * emulation/cua-base.el (cua-mode):
18291         * emulation/edt.el (edt-set-scroll-margins):
18292         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18293         (tpu-toggle-regexp, tpu-toggle-search-direction)
18294         (tpu-toggle-rectangle, tpu-toggle-control-keys):
18295         * emulation/tpu-extras.el (tpu-set-scroll-margins):
18296         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18297         (viper-set-parsing-style-toggling-macro)
18298         (viper-set-emacs-state-searchstyle-macros):
18299         * emulation/viper.el (viper-set-hooks):
18300         * eshell/esh-mode.el (eshell-truncate-buffer):
18301         * international/mule-cmds.el (prefer-coding-system)
18302         (describe-input-method, describe-language-environment):
18303         * international/mule-diag.el (list-character-sets)
18304         (describe-character-set, describe-coding-system)
18305         (describe-fontset, list-fontsets, list-input-methods):
18306         * mail/sendmail.el (mail-signature):
18307         * net/ange-ftp.el (ange-ftp-copy-file):
18308         * net/browse-url.el (browse-url):
18309         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18310         * net/quickurl.el (quickurl-add-url):
18311         * net/rcirc.el (names, topic):
18312         * net/xesam.el (xesam-mode):
18313         * play/5x5.el (5x5-new-game):
18314         * play/yow.el (apropos-zippy):
18315         * progmodes/ada-mode.el (ada-mode-version):
18316         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18317         (f90-end-of-block)
18318         (f90-beginning-of-block):
18319         * progmodes/fortran.el (fortran-end-of-block)
18320         (fortran-beginning-of-block):
18321         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18322         * progmodes/python.el (python-describe-symbol, python-shell):
18323         * term/ns-win.el (ns-print-buffer):
18324         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18325         * textmodes/flyspell.el (flyspell-mode-on):
18326         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18327         (pages-directory-for-addresses):
18328         * textmodes/table.el (table-recognize-cell)
18329         (table-query-dimension, table-generate-source)
18330         (table-insert-sequence, table--warn-incompatibility):
18331         * textmodes/tex-mode.el (tex-validate-buffer):
18332         * textmodes/texinfmt.el (texinfmt-version)
18333         (texinfo-format-buffer):
18334         Use `called-interactively-p' instead of `interactive-p'.
18336 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18338         * image-mode.el (image-toggle-display):
18339         * emacs-lisp/elp.el (elp-instrument-function):
18340         * emacs-lisp/advice.el (ad-make-advised-definition):
18341         * emacs-lisp/easy-mmode.el (define-minor-mode):
18342         * net/browse-url.el (browse-url-maybe-new-window):
18343         * progmodes/sh-script.el (sh-learn-buffer-indent):
18344         Pass new argument 'any to `called-interactively-p'.
18346 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
18348         * international/uni-bidi.el:
18349         * international/uni-category.el:
18350         * international/uni-combining.el:
18351         * international/uni-comment.el:
18352         * international/uni-decimal.el:
18353         * international/uni-decomposition.el:
18354         * international/uni-digit.el:
18355         * international/uni-lowercase.el:
18356         * international/uni-mirrored.el:
18357         * international/uni-name.el:
18358         * international/uni-numeric.el:
18359         * international/uni-old-name.el:
18360         * international/uni-titlecase.el:
18361         * international/uni-uppercase.el:
18362         Regenerate from Unicode 5.2.0 data.
18364 2009-10-01  Glenn Morris  <rgm@gnu.org>
18366         * Makefile.in (ELCFILES): Regenerate.
18368 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18370         * subr.el (interactive-p): Mark obsolete.
18371         (called-interactively-p): Make the optional-ness of `kind' obsolete.
18372         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18373         advertised-signature-table for subroutines as well.
18375         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18376         (set-advertised-calling-convention): New function.
18377         (make-obsolete, define-obsolete-function-alias)
18378         (make-obsolete-variable, define-obsolete-variable-alias):
18379         Make the optional-ness of `when' obsolete.
18380         (define-obsolete-face-alias): Make `when' non-optional.
18381         * help-fns.el (help-function-arglist):
18382         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18383         Use advertised-signature-table.
18385 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
18387         * files.el (delete-directory): New defun.  The original function
18388         in fileio.c has been renamed to `delete-directory-internal'.
18390         * dired.el (dired-delete-file): Call `delete-directory' with
18391         RECURSIVE parameter.
18393         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18394         parameter RECURSIVE.  Implementation is missing.
18396         * net/tramp.el (tramp-handle-make-directory): Flush upper
18397         directory's file properties.
18398         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18399         (tramp-handle-dired-recursive-delete-directory): Flush directory
18400         properties after the remove command only.
18402         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18403         Handle optional parameter RECURSIVE.
18405         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18406         Handle optional parameter RECURSIVE.
18408         * net/tramp-smb.el (tramp-smb-errors): Add error message for
18409         connection timeout.
18410         (tramp-smb-handle-delete-directory): Handle optional parameter
18411         RECURSIVE.
18413 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18415         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18416         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18417         (byte-compile-defmacro): Use backquotes.
18419         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18421         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18422         has no associated file.
18423         (vc-resynch-buffer): Use vc-dir-buffers.
18425 2009-10-01  Glenn Morris  <rgm@gnu.org>
18427         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18428         (chart-file-count):
18429         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18430         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18431         * emacs-lisp/eieio-opt.el (eieio-describe-class):
18432         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18433         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18434         (eieio-copy-parents-into-subclass, make-instance, class-children)
18435         (eieio-generic-form):
18437         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18438         match-data.  (Bug#4555).
18440         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18441         rather than parsing it as a regexp.  This relaxes the layout
18442         requirements and makes errors easier to detect.
18443         (check-declare-verify): Check file is regular.
18444         (check-declare-directory): Doc fix.
18445         * subr.el (declare-function): Doc fix.
18447         * ibuffer.el (ibuffer-format-qualifier):
18448         * isearch.el (hi-lock-regexp-okay):
18449         * calc/calc.el (math-zerop):
18450         * mail/uce.el (rmail-msgbeg, rmail-msgend):
18451         * term/w32-win.el (setup-default-fontset, set-fontset-font):
18452         Remove unused declarations.
18454 2009-09-30  Eric Ludlam  <zappo@gnu.org>
18456         * emacs-lisp/eieio.el (boolean-p): Delete.
18458 2009-09-30  Glenn Morris  <rgm@gnu.org>
18460         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18462         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18463         filename is not a string.
18465 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
18467         * files.el (safe-local-eval-forms): Fix typo.
18469 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18471         * vc-hooks.el (vc-dir-buffers): New var.
18472         (vc-state-refresh): New function.
18473         (vc-state): Use it.
18474         (vc-after-save): Always ask the backend to recompute the new state.
18475         Always call vc-dir if necessary, using vc-dir-buffers.
18476         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18477         Use vc-dir-buffers.
18478         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18479         (vc-dir-prepare-status-buffer, vc-dir-update)
18480         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18481         Don't call expand-file-name on default-directory.
18483 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18485         * speedbar.el (speedbar-item-delete):
18486         * calc/calc-prog.el (calc-kbd-if):
18487         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18489         * epa.el (epa-key-list-mode-map):
18490         * hi-lock.el (hi-lock-menu): Fix typos in menus.
18492         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18493         (hs-show-hook): Fix typo in docstring.
18495 2009-09-29  Glenn Morris  <rgm@gnu.org>
18497         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18498         file-name-nondirectory call preventing location of cedet files.
18499         (check-declare-verify): Use literal search rather than re-search.
18500         Add basic defmethod and defclass, and define-overloadable-function.
18502         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18503         Use tramp-compat-file-attributes rather than nonexistent
18504         tramp-compat-handle-file-attributes.
18506         * Makefile.in (lisptagsfiles4): New.
18507         (AUTOGENEL): Add cedet loaddefs files.
18508         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18509         (update-elclist, compile-always, backup-compiled-files)
18510         (bootstrap-clean): Add yet another directory level.
18511         (update-elclist): Use LC_COLLATE rather than COLLATE.
18512         (ELCFILES): Update, via `make update-elclist'.
18514 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18516         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18517         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18518         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18520 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18522         * Makefile.in (lisptagsfiles3): Define.
18523         (TAGS, TAGS-LISP): Use it.
18524         (update-elclist): Add third directory level to look for elc files.
18525         (compile-always): Likewise.
18526         (backup-compiled-files): Likewise.
18527         (bootstrap-clean): Likewise.
18528         (ELCFILES): Update.
18530 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
18532         * Makefile.in (ELCFILES): Add CEDET files.
18534 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
18536         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18538         * net/tramp.el (top): Require tramp-imap.
18540         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18541         Use `tramp-compat-handle-file-attributes'.
18543 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
18545         * net/tramp-imap.el: New package.
18547 2009-09-28  Eric Ludlam  <zappo@gnu.org>
18549         * emacs-lisp/chart.el:
18550         * emacs-lisp/eieio-base.el:
18551         * emacs-lisp/eieio-comp.el:
18552         * emacs-lisp/eieio-custom.el:
18553         * emacs-lisp/eieio-datadebug.el:
18554         * emacs-lisp/eieio-opt.el:
18555         * emacs-lisp/eieio-speedbar.el:
18556         * emacs-lisp/eieio.el: New files.
18558 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18560         * whitespace.el (whitespace-trailing-regexp)
18561         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18562         Fix doc string.
18564 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
18566         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18567         menu.
18569         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18570         menu-bar-ediff-menu.
18572         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18573         define-overloadable-function.
18575         * progmodes/autoconf.el: Provide autoconf as well, so that this
18576         file can be `require'd.
18578         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18580         * emacs-lisp/autoload.el (generated-autoload-feature)
18581         (generated-autoload-load-name): New vars.
18582         (autoload-rubric, autoload-generate-file-autoloads): Use them.
18583         (make-autoload): Recognize define-overloadable-function and
18584         defclass forms (for EIEIO).
18586         * Makefile.in (update-subdirs): Exclude cedet directory.
18588 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
18590         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
18592         * faces.el: Default light-background background for region face to
18593         ns_selection_color under NS.
18595 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
18597         * net/imap-hash.el: New library, see NEWS.
18599         * Makefile.in (ELCFILES): Add imap-hash.el.
18601 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18603         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18604         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18605         * help-macro.el (make-help-screen): Avoid using an ambiguous function
18606         definition where the docstring could be taken for the return value.
18608 2009-09-26  Glenn Morris  <rgm@gnu.org>
18610         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18611         Add option to only show images below a certain size.
18612         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18613         save-excursion calls.
18615 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
18617         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18618         subdirectories) and eieio.
18620 2009-09-26  Alan Mackenzie  <acm@muc.de>
18622         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18623         Correct buggy bracketing.  (Bug#4289)
18625         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18626         character constants (as case labels).  (Bug#4289)
18628 2009-09-25  Juri Linkov  <juri@jurta.org>
18630         * files.el (safe-local-eval-forms): Allow time-stamp in
18631         before-save-hook (Bug#4554).
18633 2009-09-25  Drew Adams  <drew.adams@oracle.com>
18635         * menu-bar.el (list-buffers-directory): Doc fix.
18637 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18639         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18640         Try and avoid copying twice the same paragraph.
18641         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18642         Remove save-excursion.
18643         (log-edit-changelog-entry): Do it here instead.
18645 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
18647         * bs.el (bs--get-file-name): Use `list-buffers-directory'
18648         when available, instead of hardcoding mode names.  Doc fix.
18650         * menu-bar.el (list-buffers-directory): Add docstring.
18651         Make automatically buffer-local.
18653         * dired.el (dired-mode):
18654         * files.el (cd-absolute):
18655         * pcvs.el (cvs-temp-buffer):
18656         * pcvs-util.el (cvs-get-buffer-create):
18657         * shell.el (shell-mode):
18658         * vc-dir.el (vc-dir-mode):
18659         Don't make `list-buffers-directory' buffer local.
18661 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
18663         * comint.el (comint-exec, comint-run, make-comint):
18664         Doc fixes (Bug#4542).
18666 2009-09-25  Glenn Morris  <rgm@gnu.org>
18668         * mail/rmailmm.el (rmail-mime): New custom group.
18669         Move all defcustoms in this file into this group.
18670         (rmail-mime-media-type-handlers-alist): Revert previous change.
18671         (rmail-mime-show-images): New option.
18672         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18673         references to it, since it wasn't actually used for anything.
18674         (rmail-mime-insert-image): New function.
18675         (rmail-mime-image): Use rmail-mime-insert-image.
18676         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18677         obey the value of `rmail-mime-show-images' option.  Print the size of
18678         attachments.
18680 2009-09-25  David Engster  <deng@randomsample.de>
18682         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
18684 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18686         * whitespace.el: Does not highlight trailing spaces While point is
18687         at end of line.  Does not highligt spaces at beginning of buffer
18688         while point is at beginning of buffer.  Does not highlight spaces
18689         at end of buffer while point is at end of buffer.  (Bug#4177)
18690         New version 12.0.
18691         (whitespace-display-mappings): Adjust initialization.
18692         (whitespace-point, whitespace-font-lock-refontify): New vars.
18693         (whitespace-color-on, whitespace-color-off): Adjust code.
18694         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18695         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18696         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18698 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
18700         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18702         * textmodes/sgml-mode.el: Remove xml-mode alias.
18704         * files.el (auto-mode-alist, conf-mode-maybe)
18705         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18707 2009-09-24  Alan Mackenzie  <acm@muc.de>
18709         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18710         c-forward-conditionals, but it doesn't move point and doesn't set
18711         the mark.
18712         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18713         (c-down-conditional-with-else, c-backward-conditional)
18714         (c-forward-conditional): Refactor to use c-scan-conditionals.
18716 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18718         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18719         (help-default-arg-highlight): Remove.
18720         (help-highlight-arg): New function.
18721         (help-do-arg-highlight): Use it.
18722         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
18724 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18726         * term.el (term-set-scroll-region, term-handle-ansi-escape):
18727         Undo last change, which didn't fix the problem and introduced others.
18729 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
18731         * progmodes/gdb-mi.el: Don't require speedbar.
18732         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18734 2009-09-24  Glenn Morris  <rgm@gnu.org>
18736         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18738         * term/ns-win.el (ns-reg-to-script): Define for compiler.
18740         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18741         there is no newline after the final mime boundary.  (Bug#4539)
18742         Move markers on insertion so that any buttons inserted don't end up in
18743         the next part of a multipart message.
18744         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
18745         (rmail-mime-bulk-handler): Optionally handle images.
18746         (rmail-mime-image): New button action.
18747         (rmail-mime-image-handler): New function.
18748         (rmail-mime-mode): New mode.
18749         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
18751 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18753         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18754         than just dropping elements from it (bug#4504).
18756         * term.el (term-set-scroll-region): Don't move cursor any more.
18757         (term-handle-ansi-escape): Call term-goto here instead.
18758         Suggested by Ivan Kanis <apple@kanis.eu>.
18760         * term.el: Require CL.
18761         (term-ansi-reset): New function.
18762         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18763         (term-handle-colors-array): Simplify.
18765 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18767         * allout.el (allout-overlay-interior-modification-handler)
18768         (allout-obtain-passphrase):
18769         * epa-file.el (epa-file-write-region):
18770         * ps-print.el (ps-begin-job):
18771         * vc-hooks.el (vc-toggle-read-only):
18772         * vc-rcs.el (vc-rcs-rollback):
18773         * vc-sccs.el (vc-sccs-rollback):
18774         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18775         (vc-version-diff, vc-revert, vc-rollback):
18776         * wdired.el (wdired-check-kill-buffer):
18777         * emacs-lisp/authors.el (authors):
18778         * net/socks.el (socks-open-connection):
18779         * net/zeroconf.el (zeroconf-service-add-hook):
18780         * obsolete/vc-mcvs.el (vc-mcvs-register):
18781         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18782         (gdb-select-frame):
18783         * progmodes/grep.el (lgrep, rgrep):
18784         * progmodes/idlw-help.el (idlwave-help-check-locations)
18785         (idlwave-help-html-link, idlwave-help-assistant-open-link):
18786         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18787         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18788         (reftex-toc-rename-label): Fix typos in error messages.
18790         * dired-aux.el (dired-do-shell-command): Reflow docstring.
18791         (dired-copy-how-to-fn): Doc fix.
18792         (dired-files-attributes, dired-read-shell-command):
18793         Fix typos in docstrings.
18795         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18796         (dired-x-find-file-other-window): Reflow docstrings.
18797         (dired-omit-marker-char, dired-read-shell-command)
18798         (dired-x-submit-report): Fix typos in docstrings.
18800         * shell.el (shell-mode-hook):
18801         * view.el (View-scroll-line-forward):
18802         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18803         Fix typos in docstrings.
18805         * net/dig.el (dig-invoke): Fix typo in docstring.
18806         (query-dig): Reflow docstring.
18808         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18809         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18810         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18811         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18812         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18813         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18814         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18815         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18816         (idlwave-completion-map, idlwave-current-indent)
18817         (idlwave-custom-ampersand-surround, idlwave-customize)
18818         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18819         (idlwave-define-abbrev, idlwave-determine-class-special)
18820         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18821         (idlwave-end-block-reg, idlwave-end-of-statement)
18822         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18823         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18824         (idlwave-explicit-class-listed, idlwave-file-header)
18825         (idlwave-fill-paragraph, idlwave-find-class-definition)
18826         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18827         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18828         (idlwave-in-quote, idlwave-indent-action-table)
18829         (idlwave-indent-expand-table, idlwave-indent-line)
18830         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18831         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18832         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18833         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18834         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18835         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18836         (idlwave-outlawed-buffers, idlwave-popup-select)
18837         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18838         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18839         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18840         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18841         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18842         (idlwave-statement-type, idlwave-struct-skip)
18843         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18844         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18845         (idlwave-what-module-find-class): Fix typos in docstrings.
18846         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18847         (idlwave-calculate-cont-indent, idlwave-expand-equal)
18848         (idlwave-find-module, idlwave-find-structure-definition)
18849         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18850         (idlwave-list-load-path-shadows, idlwave-next-statement)
18851         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18852         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18853         (idlwave-template): Reflow docstrings.
18855         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18856         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18857         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18858         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18859         (idlwave-shell-display-line, idlwave-shell-display-wframe)
18860         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18861         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18862         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18863         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18864         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18865         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18866         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18867         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18868         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18869         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18870         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18871         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18872         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18873         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18874         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18875         Fix typos in docstrings.
18876         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18877         (idlwave-shell-hide-output, idlwave-shell-mode)
18878         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18879         Reflow docstrings.
18881         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18883 2009-09-24  Ivan Kanis  <apple@kanis.eu>
18885         * term.el (term-bold-attribute): New var.
18886         (term-handle-colors-array): Use it.
18888 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
18890         * progmodes/gdb-mi.el (gdb-version): New variable.
18891         (gdb-non-stop-handler): Set gdb-version.
18892         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18893         Condition "--thread" option on gdb-version.
18894         (gdb-invalidate-threads): Remove unused argument.
18896 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18898         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18899         to looking-back to avoid ridiculous slow down in large files (bug#4511).
18901 2009-09-23  Glenn Morris  <rgm@gnu.org>
18903         * mail/rmail.el (rmail-reply): Don't try to add a References header when
18904         replying to mail without References or Message-Id.  (Bug#4525)
18906 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
18908         * term/ns-win.el (ns-reg-to-script): New variable.
18910 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
18912         * epg.el (epg-wait-for-status): Preserve existing 'error results.
18914 2009-09-22  Sam Steingold  <sds@gnu.org>
18916         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18917         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18918         to 1 because hg returns status 1 when nothing is found.
18919         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18921 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18923         * textmodes/fill.el: Convert to utf-8 encoding.
18924         (fill-french-nobreak-p): Remove redundant » and « inherited from our
18925         pre-Unicode days.
18927         * add-log.el (change-log-fill-forward-paragraph): New function.
18928         (change-log-mode): Use it so fill-region DTRT.
18929         Set fill-indent-according-to-mode here rather than in
18930         change-log-fill-paragraph.
18931         (change-log-fill-paragraph): Remove.
18933 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
18935         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18936         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
18938 2009-09-22  Glenn Morris  <rgm@gnu.org>
18940         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18941         the scroll-bar scroll the calendar window rather than the buffer.
18943         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18944         commands that move point (as opposed to scrolling).
18946         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18948         * emacs-lisp/elint.el (elint): New custom group.
18949         (elint-log-buffer): Make it a defcustom.
18950         (elint-scan-preloaded, elint-ignored-warnings)
18951         (elint-directory-skip-re): New options.
18952         (elint-builtin-variables): Doc fix.
18953         (elint-preloaded-env): New variable.
18954         (elint-unknown-builtin-args): Add an entry for encode-time.
18955         (elint-extra-errors): Make it a variable rather than a constant.
18956         (elint-preloaded-skip-re): New constant.
18957         (elint-directory): Skip files matching elint-directory-skip-re.
18958         (elint-features): New variable, local to linted buffers.
18959         (elint-update-env): Initialize elint-features.  Possibly add
18960         elint-preloaded-env to the buffer's environment.
18961         (elint-get-top-forms): Bind elint-current-pos, for log messages.
18962         Skip quoted forms.
18963         (elint-init-form): New function, extracted from elint-init-env.
18964         Make non-list forms a warning rather than an error.
18965         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
18966         easy-menu-define, put that adds an error-condition, and provide.
18967         When requiring cl, also require cl-macs.  Really require cl, to handle
18968         some cl macros.  Store required libraries in the list elint-features,
18969         so as not to re-load them.  Treat cc-require like require.
18970         (elint-init-env): Call elint-init-form to do the work.
18971         Handle eval-and-compile and such like.
18972         (elint-add-required-env): Do not clear messages.
18973         (elint-special-forms): Add handlers for function, defalias, if, when,
18974         unless, and, or.
18975         (elint-form): Add optional argument to ignore elint-special-forms,
18976         useful to prevent recursive calls from handlers.  Doc fix.
18977         Respect elint-ignored-warnings.
18978         (elint-form): Respect elint-ignored-warnings.
18979         (elint-bound-variable, elint-bound-function): New variables.
18980         (elint-unbound-variable): Respect elint-bound-variable.
18981         (elint-get-args): Respect elint-bound-function.
18982         (elint-check-cond-form): Add some simple handling for (f)boundp and
18983         featurep tests.
18984         (elint-check-defalias-form): New handler.
18985         (elint-check-let-form): Make an empty let a warning rather than an
18986         error.
18987         (elint-check-setq-form): Make an empty setq a warning rather than an
18988         error.  Respect elint-ignored-warnings.
18989         (elint-check-defvar-form): Accept null doc-strings.
18990         (elint-check-conditional-form): New handler.  Does some simple-minded
18991         checking of featurep and (f)boundp tests.
18992         (elint-put-function-args): New function.
18993         (elint-initialize): Use elint-scan-doc-file rather than
18994         elint-find-builtin-variables.  Use elint-put-function-args.
18995         Possibly scan preloaded-file-list.
18996         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18997         extend to handle functions as well.
18999 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
19001         * linum.el (linum-delete-overlays, linum-update-window):
19002         Do not modify the right margin.  (Bug#3971)
19004 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
19006         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19007         Use nxml-mode instead of xml-mode.
19009 2009-09-21  Kevin Ryde  <user42@zip.com.au>
19011         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
19013 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19015         * net/dig.el (dig-mode): Use define-derived-mode.
19017 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
19019         * vc-dispatcher.el (vc-do-command): Return the process object in
19020         the asynchronous case.  Use when instead of if.  Do not run
19021         vc-exec-after to display a message if not enabled.  (Bug#4463)
19023         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19024         properties to the stash strings.
19025         (vc-git-stash-list): Return a list of strings.
19026         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19027         (vc-git-stash-show-at-point): New functions.
19028         (vc-git-stash-map): New keymap.
19030         * register.el (ctl-x-r-map): Define the keys here instead of
19031         using autoload.
19033 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
19035         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19036         list, to workaround performance problem (bug#4485).
19038 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
19040         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19042 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
19044         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19045         Document that this option is not recommended to use.
19047 2009-09-19  Glenn Morris  <rgm@gnu.org>
19049         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19050         variable `var'.
19052         * calc/calc-alg.el (var):
19053         * calc/calcalg2.el (var): Define for compiler.
19055 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
19057         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19058         Doc fix (Bug#3932).
19060         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19062         * time-stamp.el (time-stamp-month-dd-yyyy)
19063         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19064         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19065         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19066         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19067         Remove functions that have been obsolete since 1995 (Bug#4436).
19069         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19070         indent buffer only if called interactively (Bug#4452).
19072 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
19073             Eli Zaretskii  <eliz@gnu.org>
19075         This fixes bug#4197 (merged to bug#865, though not identical).
19076         * server.el (server-auth-dir): Add docstring note about FAT32.
19077         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19078         but warn against using them.
19080 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
19082         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19083         older GDB where there is no has_more field.
19085 2009-09-19  Glenn Morris  <rgm@gnu.org>
19087         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19089 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
19091         * files.el (auto-mode-alist): Change default for XML files to nXML
19092         mode (Bug#4169).
19094 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
19096         * server.el (server-ensure-safe-dir): Pass 'integer
19097         to `file-attributes', as suggested.
19099 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19101         * dired-aux.el (dired-query-alist): Remove spurious backslash.
19102         (dired-query): Use read-key.
19104 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
19106         * cus-start.el (ns-use-qd-smoothing): Remove.
19108 2009-09-18  Glenn Morris  <rgm@gnu.org>
19110         * allout.el (top-level): Remove unnecessary progn.
19112         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19114         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19115         definition of abbrev table.
19117         * speedbar.el (speedbar-track-mouse):
19118         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19119         * net/eudc.el (eudc-expand-inline):
19120         * net/newst-backend.el (newsticker--cache-read-feed):
19121         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19122         condition-case handlers.
19124 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
19126         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19127         (gdb-var-list): Add an element for has_more field.
19128         (gdb-non-stop-handler): Enable pretty printing for STL containers.
19129         (gdb-var-create-handler, gdb-var-list-children-handler-1)
19130         (gdb-var-update-handler-1): Parse output of dynamic variable
19131         objects (STL containers).
19132         (gdb-var-delete-1): Pass var1 as an explicit second argument.
19133         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
19135         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19136         gdb-var-list.
19137         (gud-speedbar-buttons): Make node expandable if expression "has more"
19138         children.
19140 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
19142         * startup.el (emacs-quick-startup): Remove variable and all uses.
19143         (command-line): Set `inhibit-x-resources' instead.
19144         (command-line-1): Use `inhibit-x-resources' instead.
19146 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
19148         * subr.el: Fix last change to avoid using the `unless' macro,
19149         which breaks bootstrapping.
19151 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19153         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19154         extended definitions, in case we reload subr.el after having
19155         loaded CL.
19156         (eval-next-after-load): Mark as obsolete.
19158 2009-09-17  Juri Linkov  <juri@jurta.org>
19160         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19161         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19162         (menu-bar-showhide-menu, menu-bar-tools-menu)
19163         (menu-bar-describe-menu, menu-bar-help-menu)
19164         (minibuffer-local-completion-map, minibuffer-local-map):
19165         Fix list quoting.
19167 2009-09-17  Glenn Morris  <rgm@gnu.org>
19169         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19170         arguments, whether or not it has a handler.
19172         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19174         * simple.el (hard-newline): Give it a doc-string.
19176         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19177         (lisp-mode-syntax-table): Give them doc-strings.
19179 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
19181         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19182         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19183         (menu-bar-options-menu, menu-bar-showhide-menu)
19184         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19185         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19186         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19187         (menu-bar-options-menu, menu-bar-tools-menu)
19188         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19189         (menu-bar-help-menu):
19190         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19191         string arguments.
19193         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19194         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19195         calls for the menu names and :help.
19197 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19199         * mouse.el (minor-mode-menu-from-indicator): Pay attention
19200         to :minor-mode-function (bug#4455).
19202 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19204         * startup.el (command-line): Initialize the window-system after
19205         processing the command-line.
19207         * textmodes/page.el (what-page): Make sure we don't inf-loop if
19208         page-delimiter matches the empty string.
19210 2009-09-16  Glenn Morris  <rgm@gnu.org>
19212         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19213         byte-compile-not-obsolete-var.  It's a list now.
19214         (byte-compile-not-obsolete-funcs): New variable.
19215         (byte-compile-warn-obsolete): Don't warn about functions if they are in
19216         byte-compile-not-obsolete-funcs.
19217         (byte-compile-variable-ref, byte-compile-defvar): Update for
19218         byte-compile-not-obsolete-vars name-change and list nature.
19219         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19220         and variables behind (f)boundp tests.
19221         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19223 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19225         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19227 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19229         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19230         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19231         Don't autoload.
19233 2009-09-15  Stephen Eglen  <stephen@gnu.org>
19235         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19236         the virtual-buffers, use the name of the buffer specified by
19237         find-file-noselect, as the match may be a symlink.  (This was a
19238         problem if the target and the symlink had different names.)
19240 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19242         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19244         * desktop.el (desktop-path): Check user-emacs-directory.
19246         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19248         * loadup.el: Use after-load-functions to GC after loading each file.
19249         Remove the explicit GC calls that used to be sprinkled around.
19251         * subr.el (after-load-functions): New hook.
19252         (do-after-load-evaluation): Run it.  Use string-match-p to detect
19253         `obsolete' packages, rather than painfully extracting the relevant
19254         directory name.
19256 2009-09-15  Glenn Morris  <rgm@gnu.org>
19258         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19259         free variable `doc'.
19261         * dired.el (dired-mode-map): Add menu entry for async shell command.
19263         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19264         variables, also consider the .elc files, since the .el files are
19265         normally gzipped (subsequent code locates the .el.gz from the .elc).
19267         * calc/calc-prog.el (arglist): Define for compiler.
19269         * calendar/diary-lib.el (diary-display-function): Change the default to
19270         fancy display.
19271         (body): Define for compiler.
19273         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19274         (byte-compile-file-form, byte-compile-lambda)
19275         (byte-compile-top-level-body, byte-compile-form)
19276         (byte-compile-variable-ref, byte-compile-setq)
19277         (byte-compile-setq-default, byte-compile-body)
19278         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19279         (batch-byte-compile): Give some more local variables with common names
19280         a "bytecomp-" prefix to avoid masking warnings about free variables.
19282         * startup.el (command-line-1): Give local variables with common names a
19283         distinguishing prefix, so as not to hide free variable warnings during
19284         bootstrap.
19286         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19287         clever and add a suffix to make a unique name, just let the user decide
19288         whether or not to overwrite it.  If the input is a directory, write the
19289         default filename to that directory.  (Bug#4388)
19290         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19291         is a filename-as-a-directory.
19293 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19295         * textmodes/page.el (what-page): Don't move to beginning of line.
19296         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19298 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19300         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19302 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
19304         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19305         * help.el (help-for-help-internal): Add purecopy calls for text.
19307         * vc.el (top): print-log method now takes an optional SHORTLOG
19308         argument.  Add a new method: root.
19309         (vc-root-diff, vc-print-root-log): New functions.
19310         (vc-log-short-style): New variable.
19311         (vc-print-log-internal): Add support for showing short logs.
19313         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19314         vc-print-root-log and vc-print-root-diff.
19316         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19317         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19318         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19319         short logs.
19321         * vc-cvs.el (vc-cvs-print-log):
19322         * vc-mtn.el (vc-mtn-print-log):
19323         * vc-rcs.el (vc-rcs-print-log):
19324         * vc-sccs.el (vc-sccs-print-log):
19325         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19326         that is ignored for now.
19328         * vc-mtn.el (vc-mtn-annotate-command):
19329         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19331 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19333         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19334         to function-key-map, and give them ascii-character property.
19335         * term/x-win.el (x-alternatives-map):
19336         * term/ns-win.el (ns-alternatives-map):
19337         * term/internal.el (msdos-key-remapping-map):
19338         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19340 2009-09-14  Glenn Morris  <rgm@gnu.org>
19342         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19343         temp-buffers (2009-09-12).
19345 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19347         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19348         the new read-key function.
19350 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19352         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19353         is defined (Bug#4405).
19355 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
19357         * recentf.el (recentf-cleanup): Use a hash table to find
19358         duplicates (Bug#4407).
19360 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
19362         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19363         kp-0 to ascii equivalents (Bug#4325).
19365 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19367         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19369         * eshell/em-hist.el:
19370         * eshell/em-dirs.el (eshell-complete-user-reference):
19371         Declare pcomplete functions and variables to avoid compiler warnings.
19373 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
19375         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19376         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19377         * eshell/em-alias.el (eshell-aliases-file):
19378         * eshell/em-hist.el (eshell-history-file-name):
19379         Use expand-file-name instead of concat to make file names (Bug#4308).
19381 2009-09-13  Glenn Morris  <rgm@gnu.org>
19383         * ediff-merg.el (ediff-do-merge):
19384         * filesets.el (filesets-run-cmd):
19385         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19386         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19387         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19388         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19389         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19390         Replace empty `let's with `progn'.
19392 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19394         * mail/sendmail.el (send-mail-function):
19395         * tooltip.el (tooltip-mode):
19396         * simple.el (transient-mark-mode):
19397         * rfn-eshadow.el (file-name-shadow-mode):
19398         * frame.el (blink-cursor-mode):
19399         * font-core.el (global-font-lock-mode):
19400         * files.el (temporary-file-directory)
19401         (small-temporary-file-directory, auto-save-file-name-transforms):
19402         * epa-hook.el (auto-encryption-mode):
19403         * composite.el (global-auto-composition-mode):
19404         Use custom-initialize-delay.
19405         * startup.el (command-line): Don't explicitly call
19406         custom-reevaluate-setting for all the above vars.
19407         * custom.el (custom-initialize-safe-set)
19408         (custom-initialize-safe-default): Delete.
19410 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19412         * term/x-win.el (x-initialize-window-system):
19413         * term/w32-win.el (w32-initialize-window-system):
19414         * term/ns-win.el (ns-initialize-window-system): Don't call
19415         mouse-wheel-mode since it's enabled globally by default already.
19417         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19418         actually define the variable, but only silences the byte-compiler.
19419         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19420         before looking it up.
19421         (mouse-wheel-scroll-amount): Also reset the bindings if this value
19422         is changed.
19424 2009-09-12  Glenn Morris  <rgm@gnu.org>
19426         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19427         1000.
19428         (elint-add-required-env): Don't beep on error.
19429         (elint-forms): In case of error, return ENV unchanged.
19430         (elint-init-env): Skip non-list forms.
19431         (elint-log): Handle unknown file positions.
19433 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
19435         * epg.el (epg-make-context): Add autoload cookie.
19436         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19437         (epg-decrypt-string, epg-start-verify, epg-verify-file)
19438         (epg-verify-string, epg-start-sign, epg-sign-file)
19439         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19440         (epg-encrypt-string, epg-start-export-keys)
19441         (epg-export-keys-to-file, epg-export-keys-to-string)
19442         (epg-start-import-keys, epg-import-keys-from-file)
19443         (epg-import-keys-from-string, epg-start-receive-keys)
19444         (epg-receive-keys, epg-import-keys-from-server)
19445         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19446         (epg-sign-keys, epg-start-generate-key)
19447         (epg-generate-key-from-file, epg-generate-key-from-string):
19448         Remove autoload cookie.
19450 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
19452         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19453         reevaluation of trash-directory.
19455         * mwheel.el: Fix last change.
19456         (mouse-wheel-mode): New defvar.
19457         (mouse-wheel-mode): Remove autoload cookie.
19459 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19461         * mwheel.el (mwheel-installed-bindings): New var.
19462         (mouse-wheel-mode): Use it, so as to make sure we really remove all
19463         the bindings we set last time.  Use custom-initialize-delay.
19464         * loadup.el: Load mwheel after term/*-win.el.
19465         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19466         and mouse-wheel-up-event now that their first evaluation is done
19467         sufficiently late to be correct.
19469         * startup.el (tutorial-directory): Make it a defcustom.
19470         Use custom-initialize-delay rather than eval-at-startup to set it.
19471         * image.el (image-load-path): Make it a defcustom.
19472         Use custom-initialize-delay rather than eval-at-startup to set it.
19473         * subr.el (eval-at-startup): Remove.
19474         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19476         * subr.el (do-after-load-evaluation): Warn the user after loading an
19477         obsolete package.
19479 2009-09-12  Glenn Morris  <rgm@gnu.org>
19481         * proced.el (proced-mark-alt): Remove alias.
19482         (proced-mode-map): Remove proced-mark-alt.
19484         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19485         Elint file and directory.  Remove initialization entry.
19487         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19488         commands.
19489         (elint-current-buffer): Set mode-line-process.
19490         (elint-init-env): Handle define-derived-mode.
19491         Fix declare-function with unspecified arglist.  Guard against odd
19492         defalias statements (eg iso-insert's 8859-1-map).
19493         (elint-add-required-env): Use a temp buffer.
19494         (elint-form): Just print the function/macro name, not the whole form.
19495         Return env unchanged if we fail to parse a macro.
19496         (elint-forms): Guard against parse errors.
19497         (elint-output): New function, to handle batch mode.
19498         (elint-log-message): Add optional argument.  Use elint-output.
19499         (elint-set-mode-line): New function.
19501 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
19503         * emacs-lisp/elp.el (elp-not-profilable): Add more
19504         functions (Bug#4233).
19506 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
19508         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19509         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19511 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19513         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19514         (gdb-var-list-children): Use json parsing.
19516 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
19518         * progmodes/js.el (js--proper-indentation): Handle the case where
19519         char-before is null.  Reported by Deniz Dogan.
19521 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19523         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19525 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
19527         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19528         (epg-digest-algorithm-alist): Add SHA224.
19529         (epg-context-set-passphrase-callback)
19530         (epg-context-set-progress-callback): Add description about
19531         callback function.
19533 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19535         * custom.el (custom-delayed-init-variables): New var.
19536         (custom-initialize-delay): New function.
19537         * startup.el (command-line): "Re"evaluate all vars in
19538         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
19539         explicitly any more.
19540         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19541         to avoid creating a ~/.emacs.d at build-time (bug#4347).
19543         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19545 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19547         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19548         (gdb-var-update-handler): Use json parsing.
19550 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19552         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19553         decode annotated text, regardless of language environment.  (Bug#2741)
19555 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19557         * Makefile.in (autoloads): Make rmail.el writable as well.
19559 2009-09-11  Glenn Morris  <rgm@gnu.org>
19561         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19562         loaddefs.el.
19563         * dired.el: Regenerate with extracted autoloads.
19564         * Makefile.in (autoloads): Make dired.el writable.
19566         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19567         * ibuffer.el: Regenerate with extracted autoloads.
19568         * Makefile.in (autoloads): Make ibuffer.el writable.
19570         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19571         * version.el (emacs-copyright, emacs-major-version)
19572         (emacs-minor-version): Reformat doc-strings for make-docfile.
19574         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19575         functions and variables, since they must be stuff specific to some other
19576         platform.
19577         (apropos-print): Make mouse-click message less specific about button.
19579         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19580         that records where a macro was defined.
19581         * help-fns.el (describe-function-1): Mention if a function has a
19582         compiler-macro.
19583         * help-mode.el (help-function-cmacro): New button.
19585         * locate.el (top-level): Always require dired.
19586         (locate-mode-map): Initialize inside the defvar.
19588         * net/ange-ftp.el (dired-compress-file): Declare.
19589         (ange-ftp-dired-compress-file): Add doc string.
19591         * term/ns-win.el (x-display-name, x-setup-function-keys):
19592         Unify doc-strings with X versions.
19594 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19596         * emulation/crisp.el (crisp-mode-map): Move initialization
19597         into declaration.
19598         (crisp-mode): Use define-minor-mode.
19600         * progmodes/xscheme.el (xscheme-evaluation-commands):
19601         Put a :advertised-binding property rather than using
19602         advertised-xscheme-send-previous-expression.
19603         (advertised-xscheme-send-previous-expression): Declare obsolete.
19604         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19605         `advertised-undo'.
19606         (crisp-mode): Add corresponding bindings to
19607         undo's :advertised-binding instead.
19608         * dired.el (dired-mode-map): Put a :advertised-binding property rather
19609         than using dired-advertised-find-file.
19610         (dired-advertised-find-file):
19611         * simple.el (advertised-undo):
19612         * wid-edit.el (advertised-widget-backward): Declare obsolete.
19613         (widget-keymap): Put a :advertised-binding property rather
19614         than using advertised-widget-backward.
19615         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19616         than using advertised-undo.
19617         * tutorial.el (tutorial--default-keys): Adjust accordingly.
19619 2009-09-10  Simon South  <ssouth@slowcomputing.org>
19621         * progmodes/delphi.el (delphi-tab): Indent region when Transient
19622         Mark mode is enabled and region is active; otherwise indent or
19623         insert TAB as usual.
19624         (delphi-mode): Update description of TAB-key binding.
19626 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19628         * subr.el (define-key-rebound-commands): Mark obsolete.
19629         * startup.el (precompute-menubar-bindings): Remove.
19630         (normal-top-level): Remove obsolete code that tried to precompute
19631         menubar bindings.
19632         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19633         define-key-rebound-commands and precompute-menubar-bindings.
19635 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
19637         * net/imap.el (imap-interactive-login): Better messages.
19638         (imap-open): Fix bug with renamed buffer on reconnect.
19639         (imap-authenticate): Add buffer-local imap-last-authenticator variable
19640         for easier debugging and cleaner code.  On successful (guessed based on
19641         server capabilities) secondary authentication, set imap-state
19642         correctly.
19643         (imap-last-authenticator): Define imap-last-authenticator as a variable
19644         to avoid warnings.
19646 2009-09-10  Glenn Morris  <rgm@gnu.org>
19648         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19650         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19651         (byte-compile-file-form-autoload): Don't warn about unknown functions
19652         where the autoload statement comes after the use.
19653         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19654         that any handlers inside the body (eg require) are in turn respected.
19656         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19657         effects.
19659         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19660         and syntax and abbrev tables basic docs, if they don't have any.
19662         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19664         * international/mule-cmds.el (top-level): Require cl when compiling.
19665         (view-hello-file): Use default-value rather than
19666         default-enable-multibyte-characters.
19668         * progmodes/fortran.el: Move all safe and risky properties into the
19669         defcustoms.
19671         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19672         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19673         * mail/undigest.el:
19674         Put autoloads in rmail.el rather than loaddefs.el.
19675         * mail/rmail.el: Regenerate with extracted autoloads.
19677         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19678         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19680 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
19682         Reported in thread for Bug#4375.
19683         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19684         "-data-evaluate-expression" instead of print.
19685         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19686         (gdb-tooltip-print): Parse output from above MI command.
19687         (gdb): Revert 2009-08-11 change.  User should detach inferior
19688         manually.
19690         Remove the word "separate" from IO functions as inferior
19691         output is now never displayed in the GUD buffer.
19693 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
19695         * startup.el (command-line-normalize-file-name): On Windows and
19696         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19698 2009-09-10  Juri Linkov  <juri@jurta.org>
19700         * isearch.el (isearch-text-char-description): Propertize escape
19701         character sequences with the `escape-glyph' face.  (Bug#4344)
19703         * simple.el (shell-command): Set asynchronous process filter to
19704         `comint-output-filter'.  (Bug#4343)
19706         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19707         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
19708         the list.  Move "asm" to the bottom.
19709         (grep-find-ignored-directories): Add `choice' with nil value
19710         to empty the list easily.
19711         (grep-find-ignored-files): New option.
19712         (grep-files-history): Set to nil by default instead of '("ch" "el").
19713         (grep-compute-defaults): Add "<X>" to `grep-template'.
19714         (grep-read-files): Bind new local variables `default-alias' and
19715         `default-extension'.  Use a list of default values for the file prompt.
19716         (lgrep): Add `--exclude=' command line options composed from
19717         `grep-find-ignored-files'.
19718         (rgrep): Add `-name' command line options composed from
19719         `grep-find-ignored-files'.  (Bug#4301)
19721 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19723         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19724         (bug#4368).
19726 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
19728         * calendar/time-date.el (autoload):
19729         Expand define-obsolete-function-alias into defalias and make-obsolete
19730         for old Emacsen that Gnus supports.
19731         (with-no-warnings): Define it for old Emacsen.
19732         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19733         is available.
19734         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19735         float-time is available; suppress compile warning for time-to-seconds.
19737 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
19739         * net/imap.el (imap-message-map): Docstring fix.
19741 2009-09-09  Glenn Morris  <rgm@gnu.org>
19743         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19744         line numbers too.  (Bug#4374)
19746 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19748         * smerge-mode.el (smerge-remove-props, smerge-refine):
19749         Use with-silent-modifications (bug#4342).
19751         * subr.el (with-silent-modifications): New macro.
19753 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
19755         * files.el (top-level): Require `cl' when compiling.
19757 2009-09-07  Glenn Morris  <rgm@gnu.org>
19759         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19761         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19762         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
19764 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
19766         * vc-git.el (vc-git-annotate-command): Use separator to parse
19767         arguments correctly.
19769 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
19771         * proced.el (proced-mode): Doc fix.
19773 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
19775         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19776         lstat fails.
19777         (tramp-do-file-attributes-with-ls): Check for file existence at
19778         remote end.
19779         (tramp-do-file-attributes-with-stat): Likewise.
19780         (tramp-convert-file-attributes): Return nil when attr is nil.
19782 2009-09-05  Glenn Morris  <rgm@gnu.org>
19784         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19785         properties to this button.
19786         (diary-fancy-display): Don't extend the button to the final newline.
19787         (diary-fancy-display-mode): Continue to define "q" as a local key.
19789         * calendar/cal-china.el (holiday-chinese): Make it slightly more
19790         efficient.
19792         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19794         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19795         (byte-compile-dest-file-function): New option.
19796         (byte-compile-dest-file): Doc fix.
19797         Obey byte-compile-dest-file-function.
19798         (byte-compile-cl-file-p): New function.
19799         (byte-compile-eval): Only suppress noruntime warnings about cl functions
19800         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
19801         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19802         than for file being previously loaded.
19803         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19804         (byte-compile-file-form-require): Handle the case where requiring a file
19805         indirectly causes CL to be loaded.
19807 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19809         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19810         before killing the old buffer, since by the time `kill-buffer' is
19811         run so many buffer variables have been set to nil that it may not
19812         behave as expected.  (Bug#4061)
19814 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19816         * files.el (find-alternate-file): If the old buffer is modified
19817         and visiting a file, behave similarly to `kill-buffer' when
19818         killing it, thus reverting to the pre-1.878 behavior; see
19819         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19820         for discussion.  Also, consult `buffer-file-name' as a variable
19821         not as a function, for consistency with the rest of the code.
19823 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
19825         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19826         also when adding a new directory.
19828         * net/tramp-compat.el (tramp-compat-line-beginning-position):
19829         New defun.
19831 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19833         * files.el (locate-file-completion-table): Make it provide boundary
19834         information, so partial-completion works better.
19836 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
19838         * mail/footnote.el (Footnote-text-under-cursor):
19839         Check footnote-text-marker-alist before using it (bug#4324).
19841 2009-09-04  Glenn Morris  <rgm@gnu.org>
19843         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19844         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19845         * play/solitaire.el, play/tetris.el:
19846         Remove leading * from defcustom and defface docs.
19848         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19849         necessary.
19850         (diary-fancy-overriding-map): New variable.
19851         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19852         Use view-mode.
19854         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19855         goto-line.
19857 2009-09-03  Glenn Morris  <rgm@gnu.org>
19859         * arc-mode.el (archive-mode):
19860         * dos-fns.el (set-default-process-coding-system):
19861         * man.el (Man-getpage-in-background):
19862         * menu-bar.el (menu-bar-describe-menu):
19863         * server.el (server-process-filter):
19864         * startup.el (command-line):
19865         * tar-mode.el (tar-header-block-tokenize, tar-extract):
19866         * w32-fns.el (set-default-process-coding-system):
19867         * x-dnd.el (x-dnd-handle-file-name):
19868         * international/mule-cmds.el (mule-menu-keymap)
19869         (set-default-coding-systems, language-info-alist, set-language-info)
19870         (set-language-environment, standard-display-european-internal)
19871         (set-locale-environment):
19872         * international/mule-diag.el (mule-diag):
19873         * mail/emacsbug.el (report-emacs-bug):
19874         * mail/rmail.el (rmail-mode):
19875         * mail/sendmail.el (mail-setup):
19876         Use default-value rather than default-enable-multibyte-characters.
19878         * progmodes/f90.el: Move all safe properties into the defcustoms.
19879         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19881         * calendar/appt.el (appt-check):
19882         * calendar/diary-lib.el (diary-set-header, diary-live-p)
19883         (diary-check-diary-file, diary-list-entries)
19884         (diary-include-other-diary-files, diary-simple-display)
19885         (diary-fancy-display, diary-print-entries)
19886         (diary-mark-included-diary-files, diary-make-entry):
19887         Don't call substitute-in-file-name on diary-file.
19889 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
19890             Stefan Monnier  <monnier@iro.umontreal.ca>
19892         * mail/footnote.el (footnote-prefix): Make it a defcustom.
19893         (footnote-mode-map): Move initialization into the declaration.
19894         (footnote-minor-mode-map): Define it rather than changing global-map.
19895         (footnote-mode): Use define-minor-mode.
19897 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
19899         * net/tramp.el (tramp-handle-file-attributes-with-ls)
19900         (tramp-do-file-attributes-with-perl)
19901         (tramp-do-file-attributes-with-stat): Rename from
19902         `tramp-handle-file-attributes-with-*'.
19903         (tramp-handle-file-attributes): Use them.
19904         (tramp-do-directory-files-and-attributes-with-perl)
19905         (tramp-do-directory-files-and-attributes-with-stat): Rename from
19906         `tramp-handle-directory-files-and-attributes-with-*'.
19907         (tramp-handle-directory-files-and-attributes): Use them.
19908         (tramp-method-out-of-band-p): Additional parameter SIZE.
19909         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19910         (tramp-handle-write-region): Use it.
19911         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19912         (tramp-handle-vc-registered): Check, whether the first run did
19913         return files to be tested.
19914         (tramp-advice-make-auto-save-file-name): Do not call directly
19915         `tramp-handle-make-auto-save-file-name', because this would bypass
19916         the locking mechanism.
19918         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19919         (file-remote-p, process-file, start-file-process, set-file-times)
19920         (tramp-compat-file-attributes): Compatibility functions shall not
19921         call directly `tramp-handle-*', because this would bypass the
19922         locking mechanism.
19923         (tramp-compat-number-sequence): New defun.
19925 2009-09-02  Glenn Morris  <rgm@gnu.org>
19927         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19928         alias for float-time.
19929         (time-to-number-of-days): In Emacs, use float-time.
19930         * net/newst-backend.el (time-add): Suppress warnings from compat
19931         function.
19932         * time.el (emacs-uptime, emacs-init-time):
19933         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19934         Use float-time rather than time-to-seconds.
19936         * minibuffer.el (completion-initials-expand): Fix typo.
19938         * faces.el (modeline, modeline-inactive, modeline-highlight)
19939         (modeline-buffer-id):
19940         * info.el (info-menu-5): Mark these face aliases as obsolete.
19942 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19944         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19945         space ...
19946         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19947         no "--thread" option.
19948         (gdb-stopped): Don't print "Switched to thread" message when it is
19949         unchanged.
19951 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19953         * minibuffer.el (completion-try-completion)
19954         (completion-all-completions): Remove ill-defined (and
19955         mistakenly installed and luckily never used nor documented)
19956         `completion-styles' property.
19957         (completion-initials-expand, completion-initials-all-completions)
19958         (completion-initials-try-completion): New functions.
19959         (completion-styles-alist): Add doc to each entry.
19960         Add new `initials' entry.
19962 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19964         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19965         MI command -var-evaluate-expression.
19966         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19967         and tweak for case of string child.
19968         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19970 2009-09-01  Glenn Morris  <rgm@gnu.org>
19972         * add-log.el (change-log-date-face, change-log-name-face)
19973         (change-log-email-face, change-log-file-face, change-log-list-face)
19974         (change-log-conditionals-face, change-log-function-face)
19975         (change-log-acknowledgement-face):
19976         * cus-edit.el (custom-invalid-face, custom-rogue-face)
19977         (custom-modified-face, custom-set-face, custom-changed-face)
19978         (custom-saved-face, custom-button-face, custom-button-pressed-face)
19979         (custom-documentation-face, custom-state-face, custom-comment-face)
19980         (custom-comment-tag-face, custom-variable-tag-face)
19981         (custom-variable-button-face, custom-face-tag-face)
19982         (custom-group-tag-face-1, custom-group-tag-face):
19983         * diff-mode.el (diff-header-face, diff-file-header-face)
19984         (diff-index-face, diff-hunk-header-face, diff-removed-face)
19985         (diff-added-face, diff-changed-face, diff-function-face)
19986         (diff-context-face, diff-nonexistent-face):
19987         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19988         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19989         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19990         (Info-title-4-face):
19991         * isearch.el (isearch-lazy-highlight-face):
19992         * log-view.el (log-view-file-face, log-view-message-face):
19993         * paren.el (show-paren-match-face, show-paren-mismatch-face):
19994         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19995         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19996         (cvs-msg-face):
19997         * smerge-mode.el (smerge-mine-face, smerge-other-face)
19998         (smerge-base-face, smerge-markers-face):
19999         * wid-edit.el (widget-documentation-face, widget-button-face)
20000         (widget-field-face, widget-single-line-field-face)
20001         (widget-inactive-face, widget-button-pressed-face):
20002         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20003         (woman-addition-face):
20004         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20005         (eshell-ls-executable-face, eshell-ls-readonly-face)
20006         (eshell-ls-unreadable-face, eshell-ls-special-face)
20007         (eshell-ls-missing-face, eshell-ls-archive-face)
20008         (eshell-ls-backup-face, eshell-ls-product-face)
20009         (eshell-ls-clutter-face):
20010         * eshell/em-prompt.el (eshell-prompt-face):
20011         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20012         * obsolete/old-whitespace.el (whitespace-highlight-face):
20013         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20014         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20015         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20016         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20017         (antlr-font-lock-literal-face):
20018         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20019         (ebrowse-root-class-face, ebrowse-file-name-face)
20020         (ebrowse-default-face, ebrowse-member-attribute-face)
20021         (ebrowse-member-class-face, ebrowse-progress-face):
20022         * progmodes/make-mode.el (makefile-space-face):
20023         * progmodes/sh-script.el (sh-heredoc-face):
20024         * textmodes/flyspell.el (flyspell-incorrect-face)
20025         (flyspell-duplicate-face):
20026         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20027         * textmodes/texinfo.el (texinfo-heading-face):
20028         Mark face aliases with "-face" suffix as obsolete.
20030         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20031         compiler.
20033         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20034         (eudc-bob-sound-menu): Use defvar rather than defconst, since
20035         easy-menu-define wants to modify these.
20037         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20039         * net/browse-url.el (browse-url-file-url):
20040         * term/internal.el (dos-codepage-setup):
20041         Use default-value rather than default-enable-multibyte-characters.
20043         * progmodes/etags.el (etags-goto-tag-location):
20044         * progmodes/flymake.el (flymake-highlight-line)
20045         (flymake-goto-file-and-line, flymake-goto-line):
20046         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20047         (gdb-goto-breakpoint):
20048         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20049         * progmodes/python.el (python-find-function)
20050         (python-pdbtrack-track-stack-file):
20051         * progmodes/verilog-mode.el (verilog-surelint-off):
20052         * term/ns-win.el (ns-open-file-select-line):
20053         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20054         Use forward-line rather than goto-line.
20056         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20057         * textmodes/reftex-index.el (reftex-display-index):
20058         * textmodes/reftex-ref.el (reftex-offer-label-menu):
20059         * textmodes/reftex-toc.el (reftex-toc):
20060         Remove unnecessary bindings of default-major-mode (all are followed by
20061         major-mode check and possible mode switch).
20063 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20065         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20066         Handle watchpoints (bug#4282).
20067         (def-gdb-thread-buffer-command): Enable thread to be selected by
20068         clicking without selecting threads buffer first.
20069         (gdb-current-context-command): Use selected frame so that "up",
20070         "down" etc work in the GUD buffer.
20071         (gdb-update): Find selected frame before rendering stack buffer.
20072         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20074 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20076         * progmodes/sym-comp.el (displayed-completions): Remove.
20077         (symbol-complete): Use minibuffer-complete.
20079 2009-08-31  Glenn Morris  <rgm@gnu.org>
20081         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20083         * apropos.el (apropos-symbols-internal):
20084         Handle (obsolete) face aliases.
20086         * faces.el (describe-face): Adjust the output format to be more like
20087         describe-variable, and to mention (obsolete) face aliases.
20088         Adjust the whitespace so that help-setup-xref works.
20090         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20091         * calendar/diary-lib.el (diary-button-face):
20092         Mark these face aliases as obsolete.
20094         * calendar/calendar.el (calendar-today): Doc fix.
20096 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20098         * progmodes/gdb-mi.el (gdb-control-all-threads)
20099         (gdb-control-current-thread): Force tool bar update.
20100         (gdb-non-stop-handler): New function.
20101         (gdb-init-1): Use it to test if non-stop mode is supported.
20102         Remove unused gdbmi buffer type.
20104 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
20106         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20107         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
20109 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
20111         * comint.el (comint-exec-1): Check command is non-null first.
20112         Part of gdb-mi.el change (2009-08-28).
20114 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20116         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20118 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
20120         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20121         instead of `dolist' to avoid a recursive require when bootstrapping.
20123 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20125         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20127         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20129         * net/imap.el (imap-send-command): Simplify.
20130         (imap-wait-for-tag): point-max -> buffer-size.
20132         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20134         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20135         with constant argument.
20137         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20139         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20141         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20142         Change default, since most of our files don't have a history.
20143         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20144         the user.
20146         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20147         Add comint-run.
20149         * calc/calc.el: Improve commenting convention.
20150         (calc-digit-map, toplevel): Simplify.
20152         * comint.el (comint-insert-input): Be careful to only set point if we
20153         don't delegate to some other command.
20155         * proced.el (proced-signal-list): Make it an alist.
20156         (proced-grammar-alist): Capitalize names.
20157         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20158         Disable undo manually and make it read-only.
20159         Use completion-annotate-function.
20161         * minibuffer.el (minibuffer-message): If the current buffer is not
20162         a minibuffer, insert the message in the echo area rather than at the
20163         end of the buffer.
20164         (completion-annotate-function): New variable.
20165         (minibuffer-completion-help): Use it.
20166         (completion--embedded-envvar-table): Environment vars are
20167         always case-sensitive.
20169 2009-08-30  Glenn Morris  <rgm@gnu.org>
20171         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20172         from fortran-current-defun.
20173         (fortran-beginning-of-subprogram): Be more precise about finding the
20174         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
20175         (fortran-end-of-subprogram): Simplify.
20176         (fortran-current-defun): Use fortran-start-prog-re.
20178 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
20180         * subr.el (do-after-load-evaluation): Simplify.
20182 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
20184         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20186         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
20187         (vc-rcs-print-log): Use it.
20189         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20191 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20193         * paths.el (abbrev-file-name): Move to abbrev.el.
20194         * abbrev.el (abbrev-file-name): Move from paths.el.
20195         Obey user-emacs-directory.
20196         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20197         user-emacs-directory.
20198         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20199         abbrev-file-name and calc-settings-file any more.
20200         * startup.el (command-line): Recompute abbrev-file-name and
20201         abbreviated-home-dir.
20202         (normal-no-mouse-startup-screen): Improve the generic code and get rid
20203         of the special code for when C-h bindings haven't been changed.
20204         (display-startup-echo-area-message): Use with-current-buffer.
20205         (command-line-1): Use a list of strings, rather than a list of lists
20206         of strings for longopts.
20208         * files.el (get-free-disk-space): Use / for default-directory.
20210         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20211         Use with-current-buffer.
20213         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20214         Recognize immutable variables like most-positive-fixnum.
20215         (byte-compile-setq-default): Check and warn if trying to assign
20216         to an immutable variable, or a non-variable.
20218         * progmodes/cc-vars.el (c-comment-continuation-stars):
20219         * progmodes/cc-engine.el (c-looking-at-bos):
20220         * progmodes/cc-cmds.el (c-toggle-auto-state)
20221         (c-forward-into-nomenclature, c-backward-into-nomenclature)
20222         (c-comment-line-break-function): Add version of obsolescence.
20224 2009-08-28  Juri Linkov  <juri@jurta.org>
20226         * files.el (magic-fallback-mode-alist): Add ZIP magic number
20227         associated with `archive-mode'.
20229         * image.el (image-type-header-regexps): Use only JPEG magic number
20230         to determine JPEG images, and don't use `image-jpeg-p' because
20231         Emacs can display non-JFIF non-Exif JPEG images.
20233 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20235         * arc-mode.el (archive-mode):
20236         * emacs-lisp/re-builder.el (re-builder-unload-function):
20237         Protect against the default value of `major-mode' being nil.
20239 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20241         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20242         Fix typos in docstrings.
20244         * progmodes/js.el (js--macro-decl-re): Doc fix.
20245         (js--plain-method-re, js--split-name): Refloc docstring.
20246         (js--class-styles, js--make-merged-item, js--splice-into-items):
20247         Fix typos in docstrings; reflow docstrings.
20248         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20249         (js--variable-decl-matcher, js--inside-pitem-p)
20250         (js--parse-state-at-point, js--get-all-known-symbols)
20251         (js--symbol-history, js-find-symbol, js--js-references)
20252         (js--moz-interactor, js--js-encode-value, js--read-tab):
20253         Fix typos in docstrings.
20255 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20257         * textmodes/reftex.el (reftex-get-file-buffer-force):
20258         * progmodes/verilog-mode.el (verilog-batch-execute-func):
20259         * emulation/viper.el (viper-go-away, viper-set-hooks):
20260         * emacs-lisp/re-builder.el (re-builder-unload-function):
20261         * emacs-lisp/bytecomp.el (byte-compile-file):
20262         * ses.el (ses-unload-function):
20263         * hexl.el (hexl-find-file):
20264         * files.el (normal-mode):
20265         * ehelp.el (with-electric-help):
20266         * autoinsert.el (auto-insert-alist):
20267         * arc-mode.el (archive-mode):
20268         Use (default-value 'major-mode) instead of default-major-mode.
20270         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20271         * international/mule.el (load-with-code-conversion):
20272         * emacs-lisp/debug.el (debug):
20273         * ediff-vers.el (ediff-rcs-get-output-buffer):
20274         * dired.el (dired-internal-noselect): Don't let-bind
20275         default-major-mode around code that doesn't use it.
20276         E.g. buffer creation via get-buffer-create doesn't use it.
20278 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
20280         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20281         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20282         when writing the temp file.  Otherwise, epa-file gets confused.
20283         (tramp-register-file-name-handlers): Make it a defun.  Move also
20284         `epa-file-handler' to the front of `file-name-handler-alist'.
20286 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20288         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20289         start right after a ^M.
20290         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20291         (tramp-completion-file-name-regexp-separate)
20292         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20293         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20294         Don't modify last-coding-system-used by accident.
20295         (tramp-completion-file-name-handler): Apply the checks here,
20296         instead during registration.
20297         (tramp-register-file-name-handlers): Rename from
20298         `tramp-register-file-name-handler'.  Register both
20299         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20300         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
20302 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
20304         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20305         Remove variable ...
20306         (gdb-init-1, gdb-display-separate-io-buffer)
20307         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20308         references to it.
20309         (gdb-inferior-io-mode): Use make-comint-in-buffer.
20310         (gdb-inferior-filter): Use comint-output-filter to stop
20311         echoing and remove ^M characters.
20313 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20315         * emulation/viper-init.el (viper-restore-cursor-type):
20316         * emulation/cua-base.el (cua--update-indications):
20317         Replace default-cursor-type with (default-value 'cursor-type).
20319         * mail/sendmail.el (mail-recover-1):
20320         * international/mule-diag.el (describe-current-coding-system-briefly)
20321         (describe-current-coding-system):
20322         * international/mule-cmds.el (select-safe-coding-system)
20323         (select-message-coding-system)
20324         (set-language-environment-coding-systems, set-locale-environment):
20325         * hexl.el (hexl-insert-multibyte-char):
20326         * dos-w32.el (find-buffer-file-type-coding-system):
20327         * simple.el (what-cursor-position):
20328         Replace uses of default-buffer-file-coding-system
20329         with (default-value 'buffer-file-coding-system).
20331         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20332         Replace uses of default-cursor-in-non-selected-windows
20333         with (default-value 'cursor-in-non-selected-windows).
20334         Use with-current-buffer.
20336         * mail/feedmail.el: Use CL macros.
20337         (feedmail-run-the-queue, feedmail-send-it-immediately):
20338         * dos-w32.el (find-buffer-file-type): Replace uses of
20339         default-buffer-file-type with (default-value 'buffer-file-type).
20341 2009-08-28  Glenn Morris  <rgm@gnu.org>
20343         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20344         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20345         Use default-value of major-mode rather than default-major-mode.
20347 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20349         * Makefile.in (update-elcfiles): Report left over elc files.
20351         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20352         expand-file-name and with-current-buffer.
20353         (mail-get-names, mail-directory): Use with-current-buffer.
20355         * vc.el (vc-read-revision): New function.
20356         (vc-version-diff, vc-merge): Use it.
20358 2009-08-27  Sam Steingold  <sds@gnu.org>
20360         * simple.el (kill-do-not-save-duplicates): New user option.
20361         (kill-new): When it is non-nil, and the new string is the same as
20362         the latest kill, set replace to t to avoid duplicates in kill-ring.
20364 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
20366         * net/tramp.el (tramp-handle-process-file): Do not flush all
20367         caches when `process-file-side-effects' is set.
20368         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20369         instead of `tramp-find-file-exists-command'.
20370         Unset `process-file-side-effects'.
20372 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
20374         * net/tramp.el (tramp-methods): New method "rsyncc".
20375         (top): Add completion function for "rsyncc".
20376         (tramp-message-show-message): New defvar.
20377         (tramp-message, tramp-error): Use it.
20378         (tramp-do-copy-or-rename-file-directly): Extend check for direct
20379         remote copying.
20380         (tramp-do-copy-or-rename-file-out-of-band): Handle new
20381         `tramp-methods' entry `copy-env' of "rsyncc".
20382         (tramp-vc-registered-read-file-names): New defconst.
20383         (tramp-vc-registered-file-names): New defvar.
20384         (tramp-handle-vc-registered): Implement optimization strategy.
20385         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20386         (tramp-vc-file-name-handler): New defun.
20387         (tramp-get-ls-command, tramp-get-test-command)
20388         (tramp-get-file-exists-command, tramp-get-remote-ln)
20389         (tramp-get-remote-perl, tramp-get-remote-stat)
20390         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20392         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20393         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
20394         timestamps.
20395         (tramp-get-file-property): Check for timestamps in
20396         `tramp-cache-inhibit-cache'.
20397         (tramp-set-file-property): Write timestamp.
20399 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20401         * language/japan-util.el (japanese-symbol-table): Add entries for
20402         cp932-2-byte.
20404         * international/characters.el: Add category `j' to cp932-2-byte.
20406 2009-08-27  Kenichi Handa  <handa@m17n.org>
20408         * international/fontset.el (build-default-fontset-data): New macro.
20409         (setup-default-fontset): Use build-default-fontset-data for CJK,
20410         tibetan, ethiopic, and ipa.
20412 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20414         * cus-start.el (default-major-mode): Customize `major-mode' instead.
20415         (enable-multibyte-characters): Not customizable any more.
20417         * subr.el (default-mode-line-format, default-header-line-format)
20418         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20419         (default-direction-reversed, default-truncate-lines)
20420         (default-left-margin, default-tab-width, default-case-fold-search)
20421         (default-left-margin-width, default-right-margin-width)
20422         (default-left-fringe-width, default-right-fringe-width)
20423         (default-fringes-outside-margins, default-scroll-bar-width)
20424         (default-vertical-scroll-bar, default-indicate-empty-lines)
20425         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20426         (default-fringe-cursor-alist, default-scroll-up-aggressively)
20427         (default-scroll-down-aggressively, default-fill-column)
20428         (default-cursor-type, default-buffer-file-type)
20429         (default-cursor-in-non-selected-windows)
20430         (default-buffer-file-coding-system, default-major-mode)
20431         (default-enable-multibyte-characters): Mark as obsolete.
20433 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
20435         * vc-dir.el (vc-dir-update): Remove debug helper.
20437         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20439 2009-08-26  Sam Steingold  <sds@gnu.org>
20441         * simple.el (save-interprogram-paste-before-kill): New user option.
20442         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20443         save the interprogram-paste into kill-ring before overriding it
20444         with the Emacs kill.
20446 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20448         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20449         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20450         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20451         and move to vc-rcs.el.
20452         (vc-default-next-revision): Rename to vc-rcs-next-revision and
20453         move to vc-rcs.el.
20454         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20455         (vc-rcs-update-changelog): Remove.
20456         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20457         and move to vc-rcs.el.
20459         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20460         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20461         renaming.
20462         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20463         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20464         vc.el, renamed to be RCS specific.
20466         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20467         New functions.
20468         (vc-cvs-update-changelog): Move here from vc.el.
20470         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20471         New functions.
20473 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20475         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20477 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20479         * vc-git.el (vc-git-register): Use "git add" for directories.
20480         (vc-git-stash, vc-git-stash-show): New functions.
20481         (vc-git-extra-menu-map): Bind them.
20483         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20484         directory correctly in case the item is a directory itself.
20486         * vc.el: Document the desired behavior for reverted files in the
20487         `added' state.
20488         (vc-default-prettify-state-info): Remove function, unused.
20490         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20492 2009-08-26  Glenn Morris  <rgm@gnu.org>
20494         * bindings.el (standard-mode-line-format): Reposition dashes in
20495         which-func entry.  (Bug#4217)
20497         * files.el (enable-local-variables, enable-local-eval)
20498         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20499         the defcustoms.
20500         (auto-mode-alist, ignored-local-variables)
20501         (save-some-buffers-action-alist): Move risky declarations to the
20502         definitions.
20503         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20504         (font-lock-defaults, format-alist, imenu--index-alist)
20505         (imenu-generic-expression, input-method-alist, minor-mode-alist)
20506         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20507         (mode-line-modified, mode-line-mule-info, mode-line-position)
20508         (mode-line-process, mode-line-remote, outline-level)
20509         (parse-time-rules, rmail-output-file-alist)
20510         (special-display-buffer-names, vc-mode):
20511         Move risky declarations to the relevant files.
20512         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20513         (mode-line-modified, mode-line-process, mode-line-position)
20514         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20515         * font-core.el (font-lock-defaults):
20516         * format.el (format-alist):
20517         * vc-hooks.el (vc-mode):
20518         * window.el (special-display-buffer-names):
20519         * international/mule-cmds.el (input-method-alist):
20520         Define riskiness here (dumped file) rather than in files.el.
20521         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20522         * imenu.el (imenu-generic-expression, imenu--index-alist):
20523         * outline.el (outline-level):
20524         * time.el (display-time-string):
20525         * calendar/parse-time.el (parse-time-rules):
20526         * mail/rmailout.el (rmail-output-file-alist):
20527         Autoload riskiness here, rather than placing in files.el.
20529 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
20531         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20533 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
20535         * simple.el (process-file-side-effects): New defvar.
20537         * dired-aux.el (dired-show-file-type):
20538         * vc.el (vc-diff-internal):
20539         * vc-arch.el (vc-arch-diff):
20540         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20541         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20542         * vc-git.el (vc-git-registered, vc-git-working-revision)
20543         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20544         (vc-git--empty-db-p):
20545         * vc-hooks.el (vc-user-login-name):
20546         * vc-svn.el (vc-svn-registered, vc-svn-state)
20547         (vc-svn-dir-extra-headers, vc-svn-find-revision):
20548         * progmodes/grep.el (grep-probe): Let-bind
20549         `process-file-side-effects' with nil.
20551         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20553         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20554         daemon.  Replace ping by checking for running service for bluez
20555         and zeroconf.  (Bug#4239)
20557 2009-08-25  Kevin Ryde  <user42@zip.com.au>
20559         * net/dig.el (dig): Add autoload cookie.
20561 2009-08-25  Glenn Morris  <rgm@gnu.org>
20563         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20564         load-history for absolute file-names.
20565         (byte-compile-file-form-require): Warn about use of the cl package.
20567         * format.el (format-alist): Doc fix.
20569         * play/bubbles.el (top-level): Don't require cl at run-time.
20571         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20572         run-time cl).
20574 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
20576         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20577         from cl package.
20578         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20580 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
20582         * calc/calc-alg.el (math-trig-rewrite)
20583         (math-hyperbolic-trig-rewrite): New functions.
20584         (calc-simplify): Simplify trig functions when asked.
20586 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20588         * diff-mode.el (diff-find-source-location): Avoid goto-line.
20590 2009-08-24  Kenichi Handa  <handa@m17n.org>
20592         * language/ind-util.el (mapthread): Delete it.
20593         (combinatorial): New function.
20594         (indian--puthash-cv): Use combinatorial instead of mapthread.
20596 2009-08-22  Kevin Ryde  <user42@zip.com.au>
20598         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20599         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20600         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20601         Clarify docstring that the value is strings not symbols.
20602         (checkdoc-list-of-strings-p): New function.
20604 2009-08-22  Glenn Morris  <rgm@gnu.org>
20606         * files.el (auto-mode-alist):
20607         * hippie-exp.el (he-concat-directory-file-name):
20608         * lpr.el (lpr-windows-system, printer-name):
20609         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20610         * ps-print.el (ps-windows-system):
20611         * startup.el (command-line):
20612         * emulation/viper-ex.el (viper-glob-function):
20613         * international/mule-cmds.el (set-language-environment-coding-systems):
20614         * net/ange-ftp.el (ange-ftp-write-region):
20615         * obsolete/fast-lock.el (fast-lock-cache-name):
20616         Remove code for defunct system-types emx, macos, mswindows, next-mach,
20617         unisoft-unix, vax-vms, win32, w32.
20619         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20620         given name if the pattern is not more specific.
20622         * calendar/lunar.el (lunar-phase-names): New option.
20623         (lunar-phase): Doc fix.
20624         (lunar-cycles-per-year): New constant.
20625         (lunar-index): New function.
20626         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20627         (lunar-phase-name): Use lunar-phase-names.
20628         (calendar-lunar-phases): Use format.
20629         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20631         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20632         Copy imenu-example--name-and-position function here for own use.
20633         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20635         * bs.el (bs--redisplay):
20636         * cus-edit.el (custom-redraw):
20637         * ibuffer.el (ibuffer-bury-buffer):
20638         * server.el (server-goto-line-column):
20639         * startup.el (command-line-1):
20640         * strokes.el (strokes-xpm-for-stroke):
20641         * term.el (term-display-buffer-line):
20642         * view.el (View-goto-line):
20643         * calc/calc.el (calc-do, calc-trail-buffer):
20644         * play/gamegrid.el (gamegrid-add-score-insecure):
20645         * progmodes/ada-mode.el (ada-compile-goto-error):
20646         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20647         (ebrowse-select-1st-to-9nth):
20648         * progmodes/cperl-mode.el (cperl-time-fontification):
20649         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20650         * progmodes/gud.el (gud-display-line):
20651         (idlwave-shell-display-line):
20652         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20653         * progmodes/make-mode.el (makefile-browser-toggle):
20654         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20655         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20656         * textmodes/picture.el (picture-draw-rectangle):
20657         * textmodes/reftex-index.el (reftex-index-goto-letter):
20658         (reftex-select-jump-to-previous):
20659         * textmodes/reftex-sel.el (reftex-find-start-point)
20660         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20661         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20662         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20663         * textmodes/tex-mode.el (tex-compilation-parse-errors):
20664         * textmodes/two-column.el (2C-associated-buffer):
20665         Use forward-line rather than goto-line.
20667         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20668         goto-line.
20670         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20671         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20672         (quick-check-list-to-regexp): Declare.
20674         * progmodes/make-mode.el (makefile-browser-insert-selection):
20675         Use goto-char rather than goto-line.
20677         * progmodes/prolog.el (compilation-error-regexp-alist)
20678         (compilation-forget-errors): Declare.
20680 2009-08-22  Juri Linkov  <juri@jurta.org>
20682         * progmodes/grep.el (lgrep, rgrep): At the beginning
20683         set `dir' to `default-directory' unless `dir' is a non-nil
20684         readable directory.  (Bug#4052)
20685         (lgrep, rgrep): Change a weird way to report an error
20686         from using `read-string' to using `error'.
20687         Instead of using interactive arguments in the function body,
20688         add new argument `confirm'.
20690 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20692         * textmodes/remember.el (remember-buffer):
20693         * progmodes/cperl-mode.el (cperl-vc-header-alist):
20694         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20695         (icalendar-extract-ical-from-buffer):
20696         * net/newst-treeview.el (newsticker-groups-filename):
20697         * net/newst-backend.el (newsticker-cache-filename):
20698         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20699         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20700         (speedbar-add-ignored-path-regexp, speedbar-line-path)
20701         (speedbar-buffers-line-path, speedbar-path-line)
20702         (speedbar-buffers-line-path):
20703         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20704         (epg-sign-keys):
20705         * epa.el (epa-display-verify-result):
20706         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20708 2009-08-21  Glenn Morris  <rgm@gnu.org>
20710         * progmodes/js.el (inferior-moz-process): Fix declaration.
20712         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20714         * obsolete/rnewspost.el (news-mail-reply):
20715         Use goto-char rather than goto-line.
20717         * term/ns-win.el (ns-open-file-select-line):
20718         Use line-beginning-position rather than goto-line.
20720         * apropos.el (apropos-command):
20721         * ehelp.el (electric-helpify):
20722         * printing.el (pr-show-setup):
20723         * strokes.el (strokes-help):
20724         * tutorial.el (tutorial--describe-nonstandard-key)
20725         (tutorial--detailed-help):
20726         * woman.el (woman-mini-help, woman-display-extended-fonts):
20727         * calc/calc-help.el (calc-describe-key):
20728         * emulation/edt.el (edt-electric-helpify):
20729         * international/mule-diag.el (mule-diag):
20730         * play/yow.el (apropos-zippy):
20731         * progmodes/python.el (python-describe-symbol):
20732         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20733         * textmodes/table.el (*table--cell-describe-mode)
20734         (*table--cell-describe-bindings):
20735         Use help-print-return-message rather than the now obsolete alias.
20737         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20738         (calendar-cursor-to-visible-date):
20739         * play/5x5.el (5x5-position-cursor):
20740         * play/decipher.el (decipher):
20741         * play/gomoku.el (gomoku-goto-xy):
20742         * play/landmark.el (lm-goto-xy):
20743         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20744         (mpuz-paint-digit):
20745         Use forward-line, not goto-line.
20747         * mail/rmail.el (rmail-obsolete): Delete custom group.
20748         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20749         (rmail-remote-password, rmail-remote-password-required):
20750         Remove unneeded :set-after and :set properties.
20752 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
20754         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20756 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
20758         * loadup.el: Remove leftover macos code.
20760         * vc-git.el (vc-git-annotate-command): Run asynchronously.
20761         Explicitly pass the date format to git blame so that user local
20762         so that the output format can be parsed.
20764 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
20766         * net/dbus.el (top): Don't check for (getenv
20767         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
20769 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
20771         * log-edit.el (log-edit-strip-single-file-name): New var.
20772         (log-edit-insert-changelog): Use it.  Bug#3571.
20774 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20776         * subr.el (read-passwd): Use read-key so keypad keys work as well.
20777         Bug#3287.
20779         * help.el (help-print-return-message): Rename from
20780         print-help-return-message.
20782         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20783         cvs-mode-map parent hack.
20784         (log-view-mode): Derive from special-mode.
20786         * linum.el (linum-mode): window-size-change-functions is redundant.
20787         Adapt to new window-configuration-change-hook behavior.
20788         (linum-after-size, linum-after-config): Remove.
20790         * imenu.el (imenu-example--name-and-position)
20791         (imenu-example--lisp-extract-index-name)
20792         (imenu-example--create-lisp-index, imenu-example--create-c-index):
20793         Mark as obsolete.
20795         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20796         (inferior-prolog-mode): Use it.
20797         (inferior-prolog-load-file): Reset list of errors.
20799 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20801         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20803         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20805 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
20807         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20808         is running already.
20810 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20812         * subr.el (listify-key-sequence-1): Use normal syntax since those
20813         integers are nowadays always represented by the same (positive) number
20814         on all platforms.
20815         (read-key-empty-map): New const.
20816         (read-key-delay): New var.
20817         (read-key): New function.
20818         (force-mode-line-update): Use with-current-buffer.
20819         (locate-user-emacs-file): Don't forget to abbreviate the file name.
20820         (start-process-shell-command, start-file-process-shell-command):
20821         Discourage the use of command-args.
20823 2009-08-19  Glenn Morris  <rgm@gnu.org>
20825         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20827 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20829         * simple.el (choose-completion-string): Don't rely on
20830         minibuffer-completing-file-name and ad-hoc checks to decide whether
20831         to continue completion or not.
20833         * minibuffer.el (minibuffer-hide-completions): New function.
20834         (completion--do-completion): Use it.
20835         (completions-annotations): New face.
20836         (completion--insert-strings): Use it.
20837         (completion-pcm--delim-wild-regex): Add docstring.
20838         (completion-pcm--string->pattern): Add support for 0-width delimiters
20839         in completion-pcm--delim-wild-regex.
20841 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20843         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20844         Remove unused var `buffer-modified-p'.
20846         * minibuffer.el (completion--do-completion): Move point for the #b001
20847         case as well (bug#4176).
20848         (minibuffer-complete, minibuffer-complete-word): Don't move point.
20850 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
20852         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
20853         and :session buses.
20855 2009-08-18  Kenichi Handa  <handa@m17n.org>
20857         * international/ucs-normalize.el (ucs-normalize-version):
20858         Change to 1.1.
20859         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20860         (utf-8-hfs): Make it perform normalization on encoding too.
20862         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
20863         (sentence-end-without-space): Delete duplicated chars.
20864         (sentence-end-base): Likewise.
20866         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
20867         (html-mode): Delete duplicated chars from sentence-end-base.
20869         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
20870         (texinfo-mode): Delete duplicated chars from sentence-end-base.
20872 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
20874         * files.el (hack-one-local-variable): If the mode function is for
20875         a minor mode, pass it an argument (Bug#4148).
20877 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
20879         * net/tramp.el (tramp-register-completion-file-name-handler):
20880         Check also for (member 'partial-completion completion-styles).
20882 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20884         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20885         abbrev (Bug#3943).
20887 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
20889         * progmodes/cperl-mode.el: Merge upstream 6.2.
20890         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20891         (cperl-forward-re): Check cperl-brace-recursing.
20892         (cperl-highlight-charclass): New function.
20893         (cperl-find-pods-heres): Use it.
20894         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20895         (cperl-beautify-regexp-piece): Fix column calculation.
20896         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20897         (cperl-beautify-level): Don't process entire regexp.
20898         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20899         calling man.
20900         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20901         (cperl-init-faces): Build a list in the normal way.
20903 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20905         * calendar/parse-time.el (parse-time-string-chars): Save match
20906         data.
20908 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20910         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20911         (sql-product): Use it.
20912         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20913         (sql-set-product): Add completion.
20914         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20915         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20916         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20917         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20918         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20919         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20920         (sql-highlight-db2-keywords): Remove.
20921         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20922         (sql-highlight-product): Use derived-mode-p.
20923         (sql-set-sqli-buffer): Use with-current-buffer.
20924         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20925         Simplify.
20927         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20929         * term.el: Fix commenting convention, turn comments into docstrings.
20931 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20933         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20935 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
20937         * calendar/parse-time.el (parse-time-string-chars): Compute using
20938         character classes, to handle non-ascii characters (Bug#3190).
20940 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20942         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20943         another heredoc if the user adds another < (Bug#3226).
20945         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20946         Don't initialize based on window-system (Bug#4124).
20948         * facemenu.el (facemenu-read-color): Use a completion function
20949         that accepts any defined color, such as RGB triplets (Bug#3677).
20951         * files.el (get-free-disk-space): Change fallback default
20952         directory to /.  Expand DIR argument before switching to fallback.
20953         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20955 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20957         * files.el (load-library): Doc fix.
20959 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
20961         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20962         (viper-if-string): Redefine C-s in the minibuffer to insert the last
20963         incremental search string.
20965         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20966         XEmacs.
20968         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20969         (ediff-merge-region-is-non-clash)
20970         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20971         Also check if the job is really a merge job.
20973         * ediff.el (ediff-current-file): New function.
20975 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20977         * progmodes/js.el: Edit docstrings throughout to follow Emacs
20978         conventions.
20979         (js-insert-and-indent): Delete function.
20980         (js-mode-map): Don't bind keys to js-insert-and-indent.
20981         (js-beginning-of-defun): Rename from js--beginning-of-defun.
20982         (js-end-of-defun): Rename from js--end-of-defun.
20983         (js-auto-indent-flag): Delete variable.
20985 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
20987         * progmodes/js.el: Remove proclaim statement.
20988         Defvar which-func-imenu-joiner-function to silence compiler.
20990         * files.el (auto-mode-alist): Use js-mode for .js files.
20992         * progmodes/js2-mode.el: Remove file.
20994         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20996         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20998         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21000 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
21001             Karl Landstrom  <karl.landstrom@brgeight.se>
21003         * progmodes/js.el: New file.
21005 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
21007         * timezone.el (timezone-parse-date): Add ability to understand ISO
21008         basic format (minimal separators) dates in addition to the
21009         already-supported extended format dates.
21011 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
21013         * international/ucs-normalize.el: Add a `coding' file variable.
21015         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21017 2009-08-14  Sam Steingold  <sds@gnu.org>
21019         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21021 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
21023         * faces.el (help-argument-name): Define it here instead of
21024         help-fns.el, because in daemon mode help-fns.el may be loaded when
21025         faces are still uninitialized (Bug#1078).
21027         * help-fns.el (help-argument-name): Move defface to faces.el.
21029 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
21031         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21032         create buffer with a pty but no process so that GDB can make the
21033         inferior the controlling process.
21035 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
21037         * international/ucs-normalize.el: New file.
21039 2009-08-13  Richard Stallman  <rms@gnu.org>
21041         * mail/rmail.el (rmail-get-attr-names):
21042         Accept an attribute header that is too short.
21044         * mail/rmail.el (rmail-forget-messages):
21045         Ignore nil elt in rmail-message-vector.  Use dotimes.
21047         * progmodes/compile.el (compilation-goto-locus):
21048         Use next-error-move-function.
21050         * simple.el (next-error-move-function): New variable.
21052 2009-08-12  Juri Linkov  <juri@jurta.org>
21054         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21055         always non-nil.  (Bug#4052)
21057         * replace.el (read-regexp): Return empty string when
21058         `default-value' is nil.
21059         (keep-lines-read-args): Don't use empty string as the
21060         default value for `read-regexp'.  (Bug#2495)
21062 2009-08-12  Juri Linkov  <juri@jurta.org>
21064         * international/mule-cmds.el (ucs-insert): Change arguments
21065         from `arg' to `character', `count', `inherit' to be the same
21066         as in `insert-char'.  Doc fix.  (Bug#4039)
21068         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21070 2009-08-12  Juri Linkov  <juri@jurta.org>
21072         * files-x.el: New file.
21074         * files.el: Move code that deals with adding/deleting
21075         file/directory-local variables to files-x.el.
21077         * Makefile.in (ELCFILES): Add files-x.elc.
21079 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
21081         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21082         to use `goto-line'.
21083         (gdb-place-breakpoints, gdb-get-location): Rewritten without
21084         `goto-line'.
21085         (gdb-invalidate-disassembly): Do not refresh upon receiving
21086         'update signal.  Instead, update all disassembly buffers only after
21087         threads list.
21088         (gdb): Send -target-detach when buffer is killed (Bug#3794).
21089         (gdb-starting): Move -data-list-register-names...
21090         (gdb-stopped): ...here so it's sent when first thread stops.
21091         (gdb-registers-handler-custom): Do nothing if register names are
21092         unknown yet.
21094         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21095         from `gdb-mi.el' to avoid extra tangling.
21097         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21098         change which breaks `gud-def' definitions used in `gdb'.
21099         (gdb-update-gud-running): No extra fuss for updating frame number.
21101 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
21103         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21104         (describe-language-environment-map, setup-language-environment-map)
21105         (set-coding-system-map): Move initialization into declaration.
21106         (set-language-info-alist): Last arg to define-key-after can be skipped.
21108         * international/quail.el (quail-completion-1): Simplify.
21109         (quail-define-rules): Use slightly more compact code.
21110         (quail-insert-decode-map): Propertize keys, compact columns.
21112         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21113         Add goto-line.
21115 2009-08-10  Miles Bader  <miles@gnu.org>
21117         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21118         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21119         (js2-instance-member, js2-private-member, js2-private-function-call)
21120         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21121         (js2-magic-paren, js2-external-variable):
21122         Remove "-face" suffix from face names.
21123         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21124         (js2-highlight-undeclared-vars, js2-peek-token)
21125         (js2-parse-function-params, js2-mode-show-errors)
21126         (js2-mode-show-warnings, js2-make-magic-delimiter)
21127         (js2-mode-highlight-magic-parens): Update to use new face names.
21129 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
21131         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21132         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
21134 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
21136         * subr.el: Provide hashtable-print-readable.
21138         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21139         hs-c-like-adjust-block-beginning.
21140         (hs-hide-block-at-point): Stop hiding at the beginning of
21141         hs-block-end-regexp (Bug#700).
21143 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
21145         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21146         a macro.
21147         (gdb-registers-handler-custom): Do not fail when register names
21148         are unavailable.
21150 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21152         * progmodes/gdb-mi.el (gdb-control-all-threads)
21153         (gdb-control-current-thread): Interactive setters for
21154         `gdb-gud-control-all-threads' to use in menu.
21155         (gdb-show-run-p): Show «Go» when process is not active.
21156         (gud-tool-bar-map): Add non-stop/A,T indicator.
21157         Uses gud/thread.xpm and gud/all.xpm.
21159 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
21161         * net/net-utils.el (net-utils-font-lock-keywords): New var.
21162         (nslookup-font-lock-keywords): Make it a variable.
21163         (net-utils-mode): New mode for viewing diagnostic network output.
21164         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21165         (net-utils-run-simple): New function.
21166         (ifconfig, iwconfig, netstat, arp, route): Use it.
21168 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21170         * progmodes/gdb-mi.el (gdb-read-memory-custom)
21171         (gdb-memory-set-address, def-gdb-set-positive-number)
21172         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21173         after changing settings.
21174         (gdb-invalidate-disassembly): Update when first shown.
21175         (gdb-edit-locals-value): Fix.
21176         (gdb-registers-handler-custom): Print registers in right order and
21177         allow changing register values (only for current thread yet).
21178         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21179         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21180         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21181         (gdb-locals-handler-custom, gdb-registers-handler-custom):
21182         Thread info in mode name.
21183         (gdb-registers-mode-map): TAB to switch to locals.
21185 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
21187         * mail/rmail.el (rmail-add-mbox-headers)
21188         (rmail-set-message-counters-counter): Search for
21189         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
21191 2009-08-08  Glenn Morris  <rgm@gnu.org>
21193         * Makefile.in (ELCFILES): Update.
21195 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21197         * mail/sendmail.el (mail-yank-original):
21198         Set buffer-file-coding-system from the one used by the message whose
21199         text is yanked.
21201         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21202         to "windows" when "pgnuplot" is used.
21203         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21204         Don't call accept-process-output if "pgnuplot" is used.
21205         (calc-graph-init): Don't send -display and -geometry to
21206         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
21207         running "pgnuplot -V" with shell-command-to-string.
21209         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21210         the default.
21212 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21214         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21215         org/org-latex.elc.
21217 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
21219         * vc-dispatcher.el (vc-resynch-window): Update comment.
21221         * term.el (term-handle-ansi-escape): Add comments with the
21222         terminfo capabilities implemented.
21224 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
21226         * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21227         (gdb-var-create-handler): Rewritten using JSON parser.
21228         (gdb-propertize-header): Move earlier.
21229         (gdb-set-header): Remove to avoid duplication.
21230         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21231         Refresh disassembly buffers only after threads list have been
21232         update.
21233         (gdb-threads-header, gdb-registers-header): Per-buffer header line
21234         variables.
21236 2009-08-04  Juri Linkov  <juri@jurta.org>
21238         * files.el: Commands to add/delete file/directory-local variables.
21239         (read-file-local-variable, read-file-local-variable-value)
21240         (read-file-local-variable-mode, modify-file-local-variable)
21241         (modify-file-local-variable-prop-line)
21242         (modify-dir-local-variable): New functions.
21243         (add-file-local-variable, delete-file-local-variable)
21244         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21245         (add-dir-local-variable, delete-dir-local-variable)
21246         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21247         (copy-dir-locals-to-file-locals-prop-line): New commands.
21249 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
21251         * abbrev.el (insert-abbrev-table-description): Prettify output.
21252         Suggested by Karl Chen.
21254 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
21256         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21257         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21258         (gdb-overlay-arrow-position, gdb-thread-position)
21259         (gdb-disassembly-position): Declare variables.
21260         (gdb-wait-for-pending): Function now.
21261         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21262         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21263         compilation goes smoothly.
21264         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21265         (gdb-non-stop-setting): New customization setting which replaces
21266         `gdb-non-stop' so changing it doesn't break active GDB session.
21267         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21268         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21269         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21270         (gdb-show-threads-by-default): New customization options.
21271         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21272         routines.
21273         (gdb-get-buffer-create): Send buffers update signal when they are
21274         created.
21275         (gdb-invalidate-locals, gdb-invalidate-registers)
21276         (gdb-invalidate-breakpoints)
21277         (gdb-invalidate-threads, gdb-invalidate-disassembly)
21278         (gdb-invalidate-memory): Accept update signal.
21279         (gdb-current-context-command): Use --frame option.
21280         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21281         Implement `gdb-frame-number' selection logic.
21282         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21283         whether to show GUD toolbar buttons.
21284         (gdb-thread-exited): Unselect current thread when it exits.
21285         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21286         (gdb-mark-line): Routine which sets overlay arrow or inverses
21287         video on fringeless displays.
21288         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21289         to build aligned columns of data in GDB buffers and set text
21290         properties line-by-line.
21291         (gdb-invalidate-breakpoints)
21292         (gdb-breakpoints-list-handler-custom)
21293         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21294         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21295         (gdb-registers-handler-custom): Align data columns.
21296         (gdb-locals-handler-custom): Now prints data like in variable
21297         declarations.
21298         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21299         Remove confusing buttons.
21300         (gdb-invalidate-threads): Append --frame.
21301         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21302         between breakpoints/threads buffers.
21303         (gdb-set-window-buffer): Now can ignore dedicated windows.
21304         (gdb-propertize-header): Use `gdb-set-window-buffer'.
21305         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21306         (def-gdb-thread-buffer-gud-command): Replaces
21307         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21308         for fine thread control.
21309         (gdb-preempt-existing-or-display-buffer): New function used to
21310         display bound buffers without breaking window layout.
21311         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21312         (gdb-select-frame): New version of `gdb-frames-select' which now
21313         sets `gdb-frame-number' so commands may use --frame option instead
21314         of inner debugger state.
21315         (gdb-frame-handler): Do not set `gdb-frame-number'.
21316         (gdb-threads-mode-map): Select threads with mouse.
21318         * progmodes/gud.el (gdb-gud-context-call): Declare function to
21319         avoid compilation warning.
21320         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21321         `gdb-show-stop-p`.
21323         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21324         Argument `key' renamed to `buffer-type'.
21325         (gdb-current-context-buffer-name): Do not add thread info to
21326         buffer name when no thread is selected.
21327         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21328         command (bug 3794).
21329         (gdb-thread-selected): Handle `=thread-selected' notification.
21330         (gdb-wait-for-pending): New macro to deal with congestion problems.
21331         (gdb-breakpoints-list-handler-custom): Don't fail on pending
21332         breakpoints.
21333         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21334         This fixes problem similar to one described in bug 3947.
21335         (gud-menu-map): More menu items.
21336         (gdb-init-1): Reset `gdb-thread-number' to nil.
21338         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21339         non-stop settings.
21341         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21342         (gdb-current-context-command): Do not append --thread if
21343         `gdb-thread-number' is nil.
21344         (gdb-running-threads-count, gdb-stopped-threads-count):
21345         New variables.
21346         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21347         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21348         New customization options.
21349         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21350         GUD commands.
21351         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21352         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21353         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21354         set `gdb-thread-number' and update `gud-running' properly.
21355         (gdb-running): Update threads list when new threads appear.
21356         (gdb-stopped): Support non-stop operation and new thread switching
21357         logic.
21358         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21359         (gdb-json-partial-output): New set of JSON routines.
21360         (def-gdb-auto-update-trigger): New `signal-list' optional
21361         argument.
21362         (gdb-thread-list-handler-custom): Update `gud-running',
21363         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21364         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21365         (gdb-continue-thread, gdb-step-thread): New commands for fine
21366         thread execution control.
21367         (gud-menu-map): New menu items to switch non-stop options.
21368         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21369         (gdb-send): Mimic RET properly (bug 3794).
21371         * progmodes/gdb-mi.el (gdb-rules-name-maker)
21372         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21373         gdb-buffer-rules.
21374         (def-gdb-auto-update-handler): New nopreserve optional argument.
21375         (gdb-stack-list-frames-custom): Print stack from top to bottom.
21377         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21378         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21379         (gdb-parent-mode): New mode to derive other GDB modes from.
21380         (gdb-display-disassembly-for-thread)
21381         (gdb-frame-disassembly-for-thread): New commands for threads
21382         buffer.
21384         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21385         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21386         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21387         (gdb-update): We now store all GDB buffers in a list so that they
21388         can be updated by traversing a list instead of calling invalidate
21389         triggers explicitly.
21390         (def-gdb-trigger-and-handler): New macro to define trigger-handler
21391         pair for GDB buffer.
21392         (gdb-stack-buffer-name): Add thread information.
21393         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21394         handle pending triggers.
21395         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21396         (def-gdb-thread-buffer-simple-command)
21397         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21398         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21399         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21400         New commands which show buffers bound to thread.
21401         (gdb-stack-list-locals-regexp): Remove unused regexp.
21403         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21404         (gdb-locals-buffer-name, gdb-registers-buffer-name)
21405         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21406         to (gud-comint-buffer) in *-buffer-name functions
21407         because (gdb-get-target-string) already does that.
21408         (gdb-locals-handler-custom, gdb-registers-handler-custom)
21409         (gdb-changed-registers-handler): Rewritten without regexps.
21411         * progmodes/gdb-mi.el: Basic thread selection support.
21412         (gdb-thread-number): New variable.
21413         (gdb-current-context-command): New macro which adds --thread
21414         option to command.
21415         (gdb-threads-mode-map): Select thread with SPC.
21416         (gdb-thread-list-handler-custom): Mark current thread with overlay
21417         arrow.  Synchronize GDB thread and Emacs thread.
21418         (gdb-select-thread): New command which selects current thread.
21419         (gdb-invalidate-frames, gdb-invalidate-locals)
21420         (gdb-invalidate-registers): Use --thread option.
21422 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
21424         * net/tramp.el (top): Make check for tramp-gvfs loading more
21425         robust.  (Bug#3977)
21426         (tramp-handle-insert-file-contents): `unwind-protect' must be
21427         inside `with-parsed-tramp-file-name'.
21429         * net/tramp-gvfs.el (top): Remove superfluous message when loading
21430         fails.
21432 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
21434         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21435         directory if CLASSPATH is not set.
21437 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
21439         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21440         New defconst.
21441         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
21443 2009-08-02  Kevin Ryde  <user42@zip.com.au>
21445         * net/newst-backend.el (newsticker--raw-url-list-defaults):
21446         Update freshmeat link.  Delete newsforge.com as it seems gone.
21448 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21450         * select.el (x-set-selection): Doc fix (Bug#4021).
21452         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21454         * help-fns.el (describe-variable): Treat list return values from
21455         dir-locals-find-file properly (Bug#4005).
21457 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
21459         * net/tramp.el (tramp-debug-message): Print also microseconds.
21461 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
21463         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21464         or END is non-nil.
21465         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21466         (tramp-get-debug-buffer): Change `outline-regexp' according to new
21467         format.
21469         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21470         (tramp-get-file-property): Use it.
21472         * autorevert.el (auto-revert-handler):
21473         Allow `auto-revert-tail-mode' for remote files.
21475 2009-08-02  Jason Rumney  <jasonr@gnu.org>
21477         * minibuffer.el (read-file-name): Treat confirm options to
21478         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
21480 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21482         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21483         (font-lock-variable-name-face, font-lock-constant-face):
21484         Darken the colors for light backgrounds.
21486 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
21488         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21489         month names.  (Bug#3987)
21491 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
21493         * simple.el (line-move-finish): Pass whole number to
21494         line-move-to-column.
21495         (line-move-visual): Perform hscroll to the recorded position.
21497 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
21499         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21501 2009-07-29  Alan Mackenzie  <acm@muc.de>
21503         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21505 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
21507         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21508         (gdb-place-breakpoints): Use full path when setting breakpoints.
21510 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
21512         * calc/calc.el (calc-mode-map): Add keybinding for
21513         `calc-transpose-lines'.
21515 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
21517         * calc/calc-misc.el (calc-transpose-lines): New function.
21519 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
21521         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21522         Simplify check for out-of-band methods.
21523         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21524         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
21526 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
21528         * vc-git.el (vc-git-checkin): Fix typo.
21530 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
21532         * progmodes/js2-mode.el: New file.
21534 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
21536         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21537         (gud-menu-map): Adjust tooltip accordingly.
21539 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
21541         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21542         (vc-bzr-log-view-mode): Adjust log-view-file-re.
21544         * add-log.el (change-log-mode-map): Add a menu.
21546 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
21548         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21549         function returns nil.
21550         (dbus-handle-event): Handle special return value :ignore.
21551         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21553 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
21555         * view.el (view-mode-enable): Don't define Helper-return-blurb if
21556         it's not needed.
21558 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
21560         Fix Bug#3888:
21562         * w32-vars.el (x-select-enable-clipboard): Doc fix.
21564         * term/pc-win.el (x-display-name, x-colors)
21565         (x-select-enable-clipboard, x-select-text): Doc fix.
21567         * term/common-win.el (x-display-name, x-colors): Doc fix.
21569         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21570         (xw-defined-colors): Doc fix.
21572         * w32-fns.el (x-select-text, x-setup-function-keys)
21573         (x-get-selection, x-set-selection): Doc fix.
21575         * term/x-win.el (x-select-text, x-setup-function-keys)
21576         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21578         * select.el (x-set-selection): Doc fix.
21580 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
21582         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21583         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
21584         "IsNSSSupportAvailable" method is not available.
21585         Reported by Steve Youngs <steve@sxemacs.org>.
21587 2009-07-24  Kenichi Handa  <handa@m17n.org>
21589         * international/characters.el: Fix setting of category ?C, ?|, ?K,
21590         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
21591         (build-unicode-category-table): Fix range checks.
21593 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
21595         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21596         the buffer we try to sync is current when calling
21597         vc-resynch-buffer.
21599         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21600         not show up to date files.
21602 2009-07-24  Glenn Morris  <rgm@gnu.org>
21604         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21605         Add autoload cookies.  If necessary, initialize.
21606         (elint-log): Handle non-file buffers.
21607         (elint-initialize): Add optional argument to reinitialize.
21608         (elint-find-builtin-variables): Save excursion.
21610 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
21612         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21613         for Lint.
21615 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
21617         * vc.el (vc-print-log-internal): New function, split out from ...
21618         (vc-print-log): ... here.
21619         (vc-dir-move-to-goal-column): Declare.
21621         * vc-git.el (vc-git-add-signoff): New variable.
21622         (vc-git-checkin): Use it.
21623         (vc-git-toggle-signoff): New function.
21624         (vc-git-extra-menu-map): Bind it to menu.
21625         (vc-git--run-command-string): Accept a nil FILE argument.
21626         (vc-git-stash-list): New function.
21627         (vc-git-dir-extra-headers): Use it.
21629 2009-07-23  Glenn Morris  <rgm@gnu.org>
21631         * help-fns.el (describe-variable): Describe ignored and risky local
21632         variables in a similar way to that in which we describe safe ones.
21634         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21635         (byte-compile-output-file-form, byte-compile-output-docform)
21636         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21637         Give some more local variables with common names a "bytecomp-" prefix,
21638         so as not to shadow things during compilation.
21639         * emacs-lisp/cl-macs.el (load-time-value)
21640         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21641         `outbuffer' to `bytecomp-outbuffer'.
21643         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21644         since the next two variables cover them automatically now.
21645         (elint-builtin-variables, elint-autoloaded-variables): New.
21646         (elint-unknown-builtin-args): Remove all members, since they can be
21647         parsed automatically now.
21648         (elint-extra-errors): New.
21649         (elint-env-add-env, elint-env-add-macro): Use cadr.
21650         (elint-current-buffer): Use or.  Change final message.
21651         (elint-get-top-forms): Use line-end-position.
21652         (elint-init-env): Use cadr.  Handle autoload, declare-function,
21653         and defalias.
21654         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
21655         (regexp-assoc): Remove unused function.
21656         (elint-top-form): Set elint-current-pos, to record the start of the
21657         top-level form, for compilation-mode.
21658         (elint-form): Trap errors in macro expansion.  Use dolist.
21659         (elint-unbound-variable): Use elint-builtin-variables and
21660         elint-autoloaded-variables.
21661         (elint-get-args): Use cadr, or.
21662         (elint-check-cond-form): Use dolist, cadr.
21663         (elint-check-condition-case-form): Doc fix.  Use cadr.
21664         Use elint-extra-errors.
21665         (elint-log): New function.
21666         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21667         Distinguish errors and warnings.
21668         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
21669         Use a bytecomp-style format.
21670         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
21671         (elint-get-log-buffer): Use compilation mode.  Disable undo.
21672         Don't truncate lines.
21673         (elint-initialize): Set builtin and autoloaded variable lists.
21674         Only process elint-unknown-builtin-args if non-nil.
21675         (elint-find-builtin-variables, elint-find-autoloaded-variables):
21676         New functions.
21677         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
21679 2009-07-22  Kevin Ryde  <user42@zip.com.au>
21681         * net/newst-backend.el (newsticker--parse-atom-1.0)
21682         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21683         (newsticker--parse-rss-1.0):
21684         * progmodes/idlwave.el (idlwave-mode):
21685         * progmodes/idlw-shell.el (idlwave-shell-mode):
21686         * progmodes/vera-mode.el (vera-mode):
21687         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21688         * progmodes/vhdl-mode.el (vhdl-mode):
21689         * textmodes/table.el (table-generate-source)
21690         (table--warn-incompatibility):
21691         Hyperlink urls in docstrings with URL `...'.
21693 2009-07-22  Glenn Morris  <rgm@gnu.org>
21695         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21696         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21697         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21698         Remove leading * from defcustom docs.
21700         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
21702         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21703         defcustom doc.
21704         (list-load-path-shadows): Optionally, just return shadows as a string.
21706         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21708 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
21710         * mail/rmailedit.el (rmail-edit-mode):
21711         Use auto-save-include-big-deletions.
21713         * mail/rmail.el (rmail-variables):
21714         Use auto-save-include-big-deletions.
21716         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21717         changes.
21719 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
21721         * calc/calc.el (calc-undo-length): New variable.
21722         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21724 2009-07-21  Richard Stallman  <rms@gnu.org>
21726         * files.el (auto-save-mode): Handle buffer-save-size = -2
21727         for toggling mode.
21729 2009-07-21  Glenn Morris  <rgm@gnu.org>
21731         * textmodes/ispell.el (ispell-looking-back): Update declaration.
21733         * calendar/todo-mode.el (calendar-current-date): Update declaration.
21735         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21736         silence compiler.  Instead...
21737         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21738         (ps-print-ensure-fontified): Update for above function name changes.
21740         * printing.el (pr-mh-get-msg-num, pr-mh-show)
21741         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21742         silence compiler.  Instead...
21743         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21744         (mh-show-buffer): Only define for compiler.
21745         (pr-mh-current-message): Update for above function name changes.
21747         * files.el (abort-if-file-too-large): Explicitly pass `filename'
21748         as an argument.
21749         (find-file-noselect, insert-file-1): Update for above change.
21751         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21753         * mail/mailclient.el (mailclient-send-it): Fix message.
21755         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21756         (edebug-eval): Check cl-debug-env is bound.
21757         (print-level, print-circle): Don't redefine built-in variables.
21759         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21760         (custom-print-vectors): Remove old comments from doc.
21762         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21763         (emerge-version): Make the variable an obsolete alias for the
21764         emacs-version variable.  Make the function obsolete.
21765         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21766         Emerge options, rather than merging in into the main Options menu.
21767         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
21768         and auto advance modes.  Disable edit/fast items when not relevant.
21770 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
21772         * term/vt420.el (terminal-init-vt420): Fix typo.
21774 2009-07-20  Sam Steingold  <sds@gnu.org>
21776         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21777         variable (removed from compile.el on 2004-03-11).
21779 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
21781         * files.el (hack-local-variables-filter): Fix last change.
21783 2009-07-19  Juri Linkov  <juri@jurta.org>
21785         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21786         (dir-local-variables-alist): New buffer-local variable.
21787         (hack-local-variables-filter): If variable is not dir-local,
21788         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21789         because file-local overrides dir-local.
21790         (c-postprocess-file-styles) <declare-function>:
21791         Remove obsolete declaration.
21792         (hack-dir-local-variables): Add dir-local variable/value pair to
21793         `dir-local-variables-alist' and remove duplicates.  Doc fix.
21795         * help-fns.el (describe-variable): Add information about
21796         file-local and dir-local variables.
21798 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
21800         * files.el (hack-local-variables-filter): Rewrite.
21802 2009-07-19  Glenn Morris  <rgm@gnu.org>
21804         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21805         Silence compiler by only defining on XEmacs.
21807         * international/mule.el (auto-coding-regexp-alist): Only match
21808         BABYL... at the start of buffer, not of lines.  (Bug#3790)
21810         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21811         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
21812         (cal-menu-context-mouse-menu): Doc fix.
21814         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21816         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
21818 2009-07-18  Juri Linkov  <juri@jurta.org>
21820         * info.el: Virtual Info keyword finder.
21821         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21822         (Info-finder-file): New variable.
21823         (Info-finder-find-file): New function.
21824         (finder-known-keywords, finder-package-info)
21825         (find-library-name, lm-commentary): Use defvar and
21826         declare-function to silence compiler warnings.
21827         (Info-finder-find-node): New function.
21828         (info-finder): New command.
21830         * subr.el (process-kill-buffer-query-function): New function.
21831         (add-hook)<kill-buffer-query-functions>: Add hook
21832         `process-kill-buffer-query-function'.
21834 2009-07-18  Alan Mackenzie  <acm@muc.de>
21836         * progmodes/cc-mode.el (c-before-hack-hook)
21837         (c-postprocess-file-styles): Give invocation of `c-set-style'
21838         DONT-OVERRIDE parameter of t.  Already set style variables will
21839         thus not be overridden by style settings given by `c-file-syle'.
21841         * files.el (hack-local-variables-filter): Remove entries with
21842         duplicate keys from `file-local-variables-alist'.
21844 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21846         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21847         x-set-selection if display-selections-p returns nil for the
21848         current frame.
21850 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
21852         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21854 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21856         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21857         Accept nil in addition to a regexp.
21858         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21859         Accept nil in addition to a regexp.
21860         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21861         buffers that have an associated file.  Handle nil values of
21862         desktop-buffers-not-to-save and desktop-files-not-to-save.
21863         (Bug#3833)
21865         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21866         (x-disown-selection-internal): New functions.
21868 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
21870         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21871         warning.
21872         (gdb-breakpoints-header): Move forward to avoid compiler warning.
21873         (gdb-make-header-line-mouse-map): Remove duplicate definition.
21875 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
21877         * simple.el (set-mark): Revert last change.
21879 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
21881         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21882         rendering of pngs is not possible instead of messaging a long
21883         description.
21885 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
21887         * w32-fns.el (x-selection-owner-p): New function.
21889         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21890         (mouse-yank-at-click, mouse-yank-primary):
21891         If select-active-regions is non-nil, deactivate the mark before
21892         insertion.
21894         * simple.el (deactivate-mark, set-mark): Only save selection if we
21895         own it.
21897 2009-07-17  Kenichi Handa  <handa@m17n.org>
21899         * case-table.el (describe-buffer-case-table): Fix for the case
21900         that KEY is a cons.
21902 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
21904         * vc-rcs.el (vc-rcs-find-file-hook):
21905         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21907 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
21909         * net/tramp.el (tramp-wait-for-output): Handle the case when
21910         commands do not return a newline but a null byte before the shell
21911         prompt.  (Bug#3858)
21913 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21915         * term/ns-win.el (ns-set-alpha): Don't declare.
21916         (ns-set-background-alpha): Remove function.
21918 2009-07-16  Kevin Ryde  <user42@zip.com.au>
21920         * emacs-lisp/copyright.el (copyright-update): Save match-data across
21921         y-or-n-p, for safety.
21923 2009-07-16  Richard Stallman  <rms@gnu.org>
21925         * files.el (auto-save-mode): If buffer-saved-size is -2,
21926         don't clobber it.
21928         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21929         (rmail-retry-ignored-headers): Add more uninteresting fields.
21931 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
21933         * net/rcirc.el (rcirc): Use history variables.
21934         (rcirc-server-name-history, rcirc-nick-name-history)
21935         (rcirc-server-port-history): New variables.
21937 2009-07-15  Kenichi Handa  <handa@m17n.org>
21939         * international/mule-cmds.el (set-language-environment-charset):
21940         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21941         ignore them.
21943         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21944         Delete unibyte-display.
21946 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21948         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21950 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21952         * simple.el (deactivate-mark): Optional argument FORCE.
21953         (set-mark): Use deactivate-mark.
21955         * info.el (Info-search): No need to check transient-mark-mode
21956         before calling deactivate-mark.
21958         * select.el (x-set-selection): Doc fix.
21959         (x-valid-simple-selection-p): Allow buffer values.
21960         (xselect--selection-bounds): Handle buffer values.
21961         Suggested by David De La Harpe Golden.
21963         * mouse.el (mouse-set-region, mouse-drag-track):
21964         Call copy-region-as-kill before setting the mark, to let
21965         select-active-regions work.
21967 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
21969         * simple.el (deactivate-mark): If select-active-regions is
21970         non-nil, copy the selection data into a string.
21971         (activate-mark): If select-active-regions is non-nil, set the
21972         selection to the current buffer.
21973         (set-mark): Update selection if select-active-regions is non-nil.
21975         * select.el (x-valid-simple-selection-p): Allow buffer values.
21977 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21979         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21980         and more featureful message-mode.
21982 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
21984         * select.el (x-set-selection): Doc fix.
21985         (x-valid-simple-selection-p): Disallow selection data consisting
21986         of a list or cons of integers, since that is not used.
21987         (xselect--selection-bounds, xselect--int-to-cons): New functions.
21988         (xselect-convert-to-string, xselect-convert-to-length)
21989         (xselect-convert-to-filename, xselect-convert-to-charpos)
21990         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21992 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
21994         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21995         output in -break-info command (Emacs bug #3794).
21997 2009-07-14  Glenn Morris  <rgm@gnu.org>
21999         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22000         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22001         (edebug-print-length, edebug-print-level, edebug-print-circle)
22002         (edebug-sit-for-seconds, edebug-view-outside)
22003         (edebug-bounce-point, edebug-set-global-break-condition)
22004         (edebug-Go-nonstop-mode, edebug-trace-mode)
22005         (edebug-Trace-fast-mode, edebug-continue-mode)
22006         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22007         (edebug-visit-eval-list): Doc fixes.
22009         * subr.el (def-edebug-spec): Doc fix.
22011 2009-07-14  Kenichi Handa  <handa@m17n.org>
22013         * international/characters.el: Fix setting of category ?C.
22015 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
22017         * term/ns-win.el (x-select-font): defalias x-select-font to
22018         ns-popup-font-panel instead of generate-fontset-menu.
22020 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
22022         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
22024 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
22026         * arc-mode.el (archive-find-type): Allow for a PK00 string before
22027         the PK\003\004 header (Bug#3770).
22029 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
22031         * pcomplete.el (pcomplete-comint-setup): Check for
22032         shell-dynamic-complete-filename too.
22034 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
22036         * simple.el (temporary-goal-column): Change the value for
22037         line-move-visual to a cons cell.
22038         (line-move-visual): Record or set the window hscroll, if
22039         necessary (Bug#3494).
22040         (line-move-1): Handle cons value of temporary-goal-column.
22042 2009-07-11  Kenichi Handa  <handa@m17n.org>
22044         * international/mule-diag.el (describe-character-set): Don't show
22045         width.
22047 2009-07-10  Sam Steingold  <sds@gnu.org>
22049         * progmodes/compile.el (compilation-mode-font-lock-keywords):
22050         Omake sometimes indents the errors it prints, so allow all
22051         regexps to start with spaces.
22053 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
22055         * cus-edit.el (customize-changed-options-previous-release):
22056         Bump value to 22.1.  (Bug#3804)
22058 2009-07-08  Sam Steingold  <sds@gnu.org>
22060         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22061         to be a cons cell (test . ignored-directory) to selectively ignore
22062         some directories depending on the location of the search.
22064 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
22066         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22067         remote user is root, on the local host.
22068         (tramp-local-host-p): Either the local user or the remote user
22069         must be root.  (Bug#3771)
22071 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22073         * progmodes/gdb-mi.el (gdb): Remove description of
22074         gdb-use-separate-io-buffer.
22075         (menu): Don't allow toggling of or enable
22076         gdb-use-separate-io-buffer from menubar.
22078 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
22080         * mail/unrmail.el (unrmail): Make sure the message ends with two
22081         newlines (Bug#3769).
22083 2009-07-08  Glenn Morris  <rgm@gnu.org>
22085         * calendar/calendar.el (calendar-current-date): Rework previous change.
22087 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
22089         * calendar/calendar.el (calendar-current-date):
22090         Add an optional argument giving an offset from today.
22092 2009-07-08  Glenn Morris  <rgm@gnu.org>
22094         * tutorial.el (tutorial--describe-nonstandard-key):
22095         Adjust the message for when a key has been unbound.
22096         (help-with-tutorial): Hide the arch-tag.
22098 2009-07-08  Kenichi Handa  <handa@m17n.org>
22100         * international/fontset.el (setup-default-fontset): For each
22101         script, append (not set) font-specs.
22103         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22104         docstring.
22106 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22108         * progmodes/gdb-mi.el (gdb-init-1): Move sending
22109         -data-list-register-names to ...
22110         (gdb-starting): ... here because GDB 7.0 requires execution to
22111         have started when using this MI command.
22112         (gdb-set-header): New function to distinguish select and
22113         unselected tabs in gdb buffers.
22114         (gdb-propertize-header): New macro that uses gdb-set-header.
22115         (gdb-breakpoints-header, gdb-locals-header): Use it.
22116         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22118 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
22120         * Makefile.in (ELCFILES): Remove fadr.elc.
22122 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
22124         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22125         may contain frame information, so `string-match' should be used.
22126         (gdb-update): Disassembly is invalidated through
22127         `gdb-get-selected-frame'.
22128         (gdb-pad-string): New function to pad string with spaces.
22129         (gdb-invalidate-disassembly): Invalidate only if the buffer
22130         exists.
22131         (gdb-disassembly-handler-custom): Column alignment.
22132         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22133         placing new ones.
22134         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22135         end of line, too.
22136         (gdb-frame-handler): Match convention to for disassembly buffer
22137         mode name.
22138         (gdb-stack-list-frames-handler): Rewritten without regexps.
22139         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22140         not highlight breakpoints without line information.
22141         (gdb-input): Add trailing newline to command.
22143         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22144         buffer properly.
22145         (gdb-breakpoints-list-handler-custom): Replacement for
22146         `gdb-break-list-handler'.  Using real parser instead of regexps
22147         now.
22148         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22149         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22150         to place breakpoints.
22151         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22152         functions.
22153         (gdb-disassembly-handler-custom): Show overlay arrow.
22154         (gdb-disassembly-place-breakpoints): Show breakpoints in
22155         disassembly buffer.
22156         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22157         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22158         instead of parsing breakpoints buffer.  Fixed old menu references
22159         in `gud-menu-map'.
22161         * fadr.el: Remove.
22163         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22164         (gdb-memory-address): New variable which holds top address of
22165         memory page shown in memory buffer.
22166         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22167         New customization variables.
22168         New functions:
22169         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22170         display the memory buffer.
22171         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22172         buffer display parameters.
22173         (def-gdb-memory-format, gdb-memory-format-binary)
22174         (gdb-memory-format-octal, gdb-memory-format-unsigned)
22175         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22176         Functions for setting memory buffer format.
22177         (gdb-memory-unit-word, gdb-memory-unit-halfword)
22178         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22179         unit size used in memory buffer.
22180         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22181         Switch to next/previous page of memory buffer.
22182         Now using (bindat-get-field) instead of fadr functions.
22184 2009-07-07  Sam Steingold  <sds@gnu.org>
22186         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22187         non-top-level files.
22189 2009-07-07  Kenichi Handa  <handa@m17n.org>
22191         * international/mule-cmds.el (reset-language-environment):
22192         Put the highset priority to the charset iso-8859-1.
22194 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22196         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22197         to the end of the line when locating the block (Bug#700).
22199 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
22201         * net/tramp.el (tramp-handle-write-region): Flush file properties
22202         in case of short track.
22204 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
22206         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22207         Coded custom representation of verilog error regular expressions
22208         to work with Emacs-22's new format.
22209         (verilog-error-regexp-xemacs-alist): Coded custom representation
22210         of verilog error regular expressions to work with XEmacs format.
22211         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22212         error recognition into XEmacs.
22213         (verilog-error-regexp-add-emacs): Hook routine to install verilog
22214         error recognition into Emacs-22.
22216 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22218         * woman.el: Remove stand-alone closing parentheses.
22219         (woman-file-name, woman2-format-paragraphs)
22220         (woman-leave-blank-lines): Code cleanup.
22221         (woman-use-own-frame): Change default to nil.
22222         (woman-italic, woman-bold, woman-unknown, woman-addition):
22223         Change defaults to inherit from default faces.
22224         (woman2-process-escapes): Consume the newline after a stand-alone
22225         filler character (Bug#3651).
22227 2009-07-06  Glenn Morris  <rgm@gnu.org>
22229         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22230         (top-level): Move provide to the end.
22231         (ffap): Remove defunct URL from custom group.
22233         * subr.el (eval-after-load): Doc fix.
22235 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
22237         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22238         `calc-embedded-word' is called twice.
22240 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22242         * files.el (find-alternate-file-other-window, find-alternate-file):
22243         Obey confirm-nonexistent-file-or-buffer.
22245 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
22247         * dired-aux.el (dired-show-file-type): Handle remote files.
22249 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
22251         * desktop.el (desktop-globals-to-save):
22252         Add file-name-history (Bug#2750).
22254 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
22256         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22258 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
22260         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22261         property on entire argument since this is what eshell-lisp-command
22262         expects.
22264 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
22266         * net/tramp-gvfs.el (tramp-gvfs-methods)
22267         (tramp-gvfs-zeroconf-domain)
22268         (tramp-bluez-discover-devices-timeout): Add version flag.
22269         (tramp-gvfs-handler-mounted-unmounted)
22270         (tramp-gvfs-connection-mounted-p): Polish handling of
22271         incompatibilities between GVFS 0.2 and 1.0.
22273 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
22275         * cus-start.el (all): Add make-pointer-invisible.
22277 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
22279         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22280         formatted correctly.
22282 2009-07-02  Juri Linkov  <juri@jurta.org>
22284         * info.el: Virtual Info files and nodes.
22285         (Info-virtual-files, Info-virtual-nodes): New variables.
22286         (Info-current-node-virtual): New variable.
22287         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22288         New functions.
22289         (Info-file-supports-index-cookies): Use Info-virtual-file-p
22290         to check for a virtual file instead of checking a fixed list
22291         of node names.
22292         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22293         instead of ad-hoc processing of "dir" and (apropos history toc).
22294         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22295         instead of ad-hoc processing of "dir" and (apropos history toc).
22296         Reread a file when moving from a virtual node.
22297         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22298         (Info-directory-toc-nodes, Info-directory-find-file)
22299         (Info-directory-find-node): New functions.
22300         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22301         (Info-history): Move part of code to
22302         `Info-history-find-node'.
22303         (Info-history-toc-nodes, Info-history-find-file)
22304         (Info-history-find-node): New functions.
22305         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22306         (Info-toc): Move part of code to `Info-toc-find-node'.
22307         (Info-toc-find-node): New function.
22308         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
22309         the current Info file name to references because now the node
22310         "*TOC*" belongs to the same Info manual.
22311         (Info-toc-build): Rename from `Info-build-toc'.
22312         (Info-toc-nodes): Rename input argument `file' to `filename'.
22313         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22314         instead of ad-hoc processing of ("dir" apropos history toc).
22315         (Info-index-nodes): Use Info-virtual-file-p
22316         to check for a virtual file instead of checking a fixed list
22317         of node names.
22318         (Info-index-node): Add check for `Info-current-node-virtual'.
22319         Raise `save-match-data' higher up the tree to contain
22320         `search-forward' too (bug fix).
22321         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22322         (Info-virtual-index-nodes): New variable.
22323         (Info-virtual-index-find-node, Info-virtual-index): New functions.
22324         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22325         (Info-apropos-file, Info-apropos-nodes): New variables.
22326         (Info-apropos-toc-nodes, Info-apropos-find-file)
22327         (Info-apropos-find-node, Info-apropos-matches): New functions.
22328         (info-apropos): Move part of code to `Info-apropos-find-node' and
22329         `Info-apropos-matches'.
22330         (Info-mode-map): Bind "I" to `Info-virtual-index'.
22331         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22332         for a virtual file instead of checking a fixed list of node names.
22334         * simple.el (async-shell-command): New command.
22336         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22338         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22339         instead of `mount-info'.
22341 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
22343         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22344         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22346 2009-07-02  Kenichi Handa  <handa@m17n.org>
22348         * international/mule.el (set-keyboard-coding-system): Force *-unix
22349         coding-system to avoid eol conversion.
22351 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
22353         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22354         Add handler for `process-file', `shell-command' and
22355         `start-file-process'.
22356         (tramp-gvfs-handle-shell-command)
22357         (tramp-gvfs-handle-start-file-process)
22358         (tramp-gvfs-handle-process-file): New defuns.
22359         (tramp-synce-list-devices): Simplify check for existence of property.
22361 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
22363         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22365 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
22367         * language/korean.el (set-language-info-alist): Add korean-cp949,
22368         cp949 to spec.
22370 2009-07-01  Kenichi Handa  <handa@m17n.org>
22372         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22374         * international/encoded-kb.el: Deleted.
22376         * international/mule.el (set-keyboard-coding-system): Perform the
22377         necessary setup here instead of calling encoded-kbd-setup-display.
22379 2009-07-01  Glenn Morris  <rgm@gnu.org>
22381         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22383 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
22385         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
22387 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
22389         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22390         Handle also the 'rename case, when setting file modes.  (Bug#3712)
22391         (tramp-default-file-modes): Remove execute permissions.
22393         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22394         (top): Add a default for "synce" in `tramp-default-user-alist'.
22395         Add completion function for "synce" method.
22396         (tramp-hal-service, tramp-hal-path-manager)
22397         (tramp-hal-interface-manager, tramp-hal-interface-device):
22398         New defconst.
22399         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22400         (tramp-synce-list-devices, tramp-synce-parse-device-names):
22401         New defuns.
22403         * net/trampver.el: Update release number.
22405 2009-06-30  Kenichi Handa  <handa@m17n.org>
22407         * international/fontset.el (setup-default-fontset): Add CJK fonts
22408         for symbols and the other miscellaneous characters.
22410         * language/korea-util.el (setup-korean-environment-internal):
22411         Make char-width-table suitable for Korean environments.
22412         (exit-korean-environment): Cancel above.
22414         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22415         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22416         setup-function to make char-width-table suitable for respective
22417         environments, and an exit-function to cancel that.
22419         * language/japan-util.el (setup-japanese-environment-internal):
22420         Call use-cjk-char-width-table with arg `ja_JP'.
22422         * international/characters.el (cjk-char-width-table): Delete it.
22423         (cjk-char-width-table-list): New variable.
22424         (use-cjk-char-width-table): New arg local-name.
22425         (use-default-char-width-table): Fix for the case that Emacs is
22426         already using the default char-width-table.
22428 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
22430         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22431         modes mandatory.  (Bug#3712)
22433 2009-06-29  Alan Mackenzie  <acm@muc.de>
22435         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22436         correction between the visible width of TABs and their number of bytes.
22438 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
22440         * server.el (server-buffer-done): Prevent kill-buffer from
22441         prompting by clearing the buffer modification flag (Bug#3696).
22443 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
22445         * progmodes/verilog-mode.el (verilog-beg-of-statement)
22446         (verilog-endcomment-reason-re): Support unique case and priority case.
22447         (verilog-basic-complete-re): Support localparam lineup.
22448         (verilog-beg-of-statement-1): Fix for robustness, unique case.
22449         (verilog-set-auto-endcomments): Fix for unique case, always_comb
22450         commenting.
22451         (verilog-leap-to-case-head): Now support *nested* unique &
22452         priority case statements.
22453         (verilog-auto-lineup): Make just declarations the default (as it
22454         had been).
22455         (verilog-leap-to-case-head): Support priority/unique case statements.
22456         (verilog-auto-lineup): Rework to give users radio buttons to
22457         select the various styles of automatic lineup.
22458         (verilog-error-regexp-alist): Rework to support the XEmacs style
22459         of error regular expressions from compilers, lint tools &
22460         simulators.  Note that GNU Emacs has made it impossible for a mode
22461         to load such things.
22462         (electric-verilog-terminate-line, verilog-indent-declaration)
22463         (verilog-auto-wiure): Rework for radio button selection of
22464         auto-lineup selection of specification of auto lineup.
22465         (verilog-beg-of-statement-1): Redesign to support proper operation
22466         in additional code, based on testing with auto-lineup.
22467         (verilog-calculate-indent, assignments & declarations)
22468         (verilog-backward-token): Enhance to support auto-lineup of
22469         assignments & declarations.
22470         (verilog-in-directive-p, verilog-at-struct-p): New function for
22471         easy test of whether we are.
22472         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22473         to support safe execution at almost anyline.
22474         (verilog-calc-1): Properly support indenting deep inside generate
22475         blocks.
22476         (verilog-init-font): Remove definition & use of verilog-init-font,
22477         as it is redundant with font-lock-defaults.
22478         (verilog-mode): Alter the definition of verilog-font-lock-defaults
22479         to avoid circular calls if syntax-ppss is a function (as is the
22480         case now in 22.x GNU Emacs) as that function would sometimes call
22481         itself, leading to (nearly) infinite recursion.
22482         (verilog-ovm-begin-re, verilog-ovm-end-re)
22483         (verilog-ovm-statement-re, verilog-leap-to-head)
22484         (verilog-backward-token): Add support for OVM macros.  Some are
22485         complete statements, and others open and close scopes like begin
22486         and end.
22487         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22488         (verilog-defun-level-generate-only-re): Really fix the defun-list
22489         compilation issue.
22490         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22491         coverpoint, constraint and cross statements.
22492         (verilog-defun-level-list, verilog-generate-defun-level-list)
22493         (verilog-all-defun-level-list): Redo these specifications - it is
22494         too hard to support eval-when compile aggregation of lists also
22495         built at when-compile time.
22496         (verilog-defun-level-list): Place defconsts of variables used in
22497         building regular expressions which are built in eval-when-compile
22498         bodies in the same eval-when-compile body to facilitate compile
22499         without load.
22500         (verilog-beg-block-re-ordered): Support indenting
22501         virtual/protected tasks and functions.
22502         (verilog-defun-level-list, verilog-in-generate-region-p)
22503         (verilog-backward-ws&directives, verilog-calc-1): Speed up
22504         indentation of some module items (generate items).
22505         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22506         across virtual/protected tasks and functions.
22508 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
22510         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22511         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
22512         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22513         in concatenations.  Reported by Yishay Belkind.
22514         (verilog-auto-ascii-enum): Support one-hot state machines in
22515         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
22516         (verilog-auto-inst, verilog-auto-inst-port): Include interface
22517         modport in AUTOINST and add vl-modport for users.
22518         Reported by David Rogoff.
22519         (verilog-auto-inout-module, verilog-auto-inst)
22520         (verilog-decls-get-interfaces, verilog-insert-definition)
22521         (verilog-insert-one-definition, verilog-read-decls)
22522         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22523         (verilog-sig-modport, verilog-signals-combine-bus)
22524         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22525         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22526         Suggested by David Rogoff.
22527         (verilog-repair-open-comma): Fix non-insertion of comma when
22528         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
22529         (verilog-make-width-expression): Simplify [A-1:0] expression
22530         widths to just {A{1'b0}}.
22531         (verilog-mode): Cleanup checkdoc warnings.
22532         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22533         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22534         inputs/outputs or data type.  Suggested by Vasu Kandadi.
22535         (next-error-last-buffer): Fix byte-compiler warning.
22536         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22537         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22538         or shell command text during AUTO expansion.  Suggested by Tad Truex.
22539         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22540         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22541         Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22542         in AUTOINOUT.  Reported by Matthew Lovell.
22543         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22544         causing use of <= assignments.  Reported by Alex Reed.
22545         (verilog-read-decls): Fix triand, trior, wand, wor to be
22546         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
22547         (verilog-extended-complete-re): Support import "DPI-C" functions.
22548         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22549         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
22550         (verilog-insert-date, verilog-insert-year)
22551         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22552         Windows systems.  Reported by Michael Potts.
22553         (verilog-read-module-name): Fix AUTOINST when the child module
22554         declaration's name is a tick define.  Reported by Elliot Mednick.
22555         (verilog-read-decls): Fix V2K parameter bit subscripts getting
22556         passed to next parameter's definition.  Reported by Bruce T.
22557         (verilog-read-decls): Fix detecting "parameter int" when using
22558         AUTOINSTPARAM.  Reported by Bruce T.
22559         (verilog-goto-defun): Fix goto not finding modules unless first
22560         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
22561         (verilog-mode): Expand -f flag arguments on entry to mode so
22562         verilog-goto-defun will work.  Reported by Lawrence Butcher.
22563         (verilog-getopt): Expand environment variables in -f file
22564         arguments.  Suggested by Lawrence Butcher.
22565         (verilog-set-define): Fix "Symbol's value as variable is void"
22566         when reading enumerations.
22567         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22568         Suggested by Stephen Peltan.
22569         (verilog-read-defines): Fix reading of enumerations in include
22570         files.  Reported by Steve Peltan.
22572 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22574         * files.el (trash-directory): Fix defcustom type.
22576 2009-06-28  Juri Linkov  <juri@jurta.org>
22578         * help-fns.el (describe-function-1): Correctly locate adviced
22579         functions in hyperlink (Bug#2438).
22581 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
22583         * files.el (trash-directory): Change default to nil.
22584         (move-file-to-trash): If trash-directory is nil and
22585         system-move-file-to-trash is unbound, perform freedesktop-style
22586         trashing.
22588 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22590         * files.el (move-file-to-trash): Add freedesktop trash
22591         support (Bug#973).
22593 2009-06-28  Glenn Morris  <rgm@gnu.org>
22595         * autorevert.el (global-auto-revert-non-file-buffers)
22596         (global-auto-revert-mode): Doc fixes.
22598 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
22600         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22602 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
22604         * faces.el (x-handle-named-frame-geometry): Ensure that we have
22605         opened an X connection before calling x-get-resource (Bug#3194).
22607         * play/doctor.el: Remove reference to obsolete website.
22608         (make-doctor-variables): Correct grammar mistake (Bug#2633).
22610 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
22612         Remove find-file-not-found-hook VC method.  (Bug#2757)
22613         * vc-hooks.el (vc-file-not-found-hook)
22614         (vc-default-find-file-not-found-hook): Remove functions.
22615         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22616         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22617         * vc.el:
22618         * vc-hg.el:
22619         * vc-git.el: Do not mention find-file-not-found-hook VC method.
22621 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
22623         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22624         compatibility function for `looking-back'.
22626         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22627         Use `ispell-looking-back'.
22629 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
22631         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22632         rather than `filename'.
22634 2009-06-23  Miles Bader  <miles@gnu.org>
22636         * face-remap.el (text-scale-set): New function.
22638 2009-06-23  Glenn Morris  <rgm@gnu.org>
22640         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22642         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22644         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22646         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22648         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22649         Simplify Persian conditionals.
22651         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22652         variable `filename'.
22654         * comint.el (comint-insert-input): Doc fix.
22656         * Makefile.in (ELCFILES): Fix typo in previous change.
22658 2009-06-23  Miles Bader  <miles@gnu.org>
22660         * cus-start.el: Add entry for `recenter-redisplay'.
22662 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22664         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22665         Add an optional argument for the backend, use it instead of
22666         calling vc-backend.
22667         (vc-mode-line): Add an optional argument for the backend.
22668         Pass the backend to vc-state and vc-working-revision.  Move code for
22669         special handling for vc-state being a buffer to ...
22671         * vc-rcs.el (vc-rcs-find-file-hook):
22672         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
22674         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22675         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22676         vc-stay-local-p and vc-mode-line calls.
22678         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22679         (vc-cvs-diff, vc-cvs-annotate-command)
22680         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22681         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22682         vc-mode-line calls.
22684         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22685         direct comparison.
22686         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22687         backend when calling vc-mode-line.
22688         (vc-register): Do not create a closure for calling the vc register
22689         function, call it directly.
22691 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22693         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22694         to make it obvious item can be clicked.
22696         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22698 2009-06-23  Kenichi Handa  <handa@m17n.org>
22700         * language/korea-util.el (korean-key-bindings): Change the binding
22701         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
22702         same command.
22704 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
22706         Sync with Tramp 2.1.16.
22708         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22710         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
22711         when a loading of a package fails.  Completion function for rsync
22712         is `tramp-completion-function-alist-ssh'.
22713         (all): Replace all calls of `split-string' and
22714         `tramp-split-string' by `tramp-compat-split-string'.
22715         (tramp-default-method): Use `tramp-compat-process-running-p'.
22716         (tramp-default-proxies-alist): Allow also Lisp forms.
22717         (tramp-remote-path): Add choice "Private Directories".
22718         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22719         (tramp-domain-regexp): Allow also "-", "_" and ".".
22720         (tramp-end-of-output): Remove newlines, and add "$" at the end.
22721         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22722         (tramp-debug-message): Insert header line in debug buffer.
22723         (tramp-handle-directory-files-and-attributes-with-stat):
22724         Care about filenames with spaces, or starting with "-".
22725         (tramp-handle-dired-uncache): New defun.
22726         (tramp-handle-insert-directory): Don't flush the directory from
22727         cache, this is handled by `dired-uncache' now.
22728         (tramp-handle-insert-file-contents): Improve error handling.
22729         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22730         Quote `tramp-end-of-output'.
22731         (tramp-action-password): Improve trace message.
22732         (tramp-check-for-regexp): Both echoes must be present, before removing.
22733         (tramp-open-connection-setup-interactive-shell): Trace coding system.
22734         (tramp-compute-multi-hops): Eval cons cells of
22735         `tramp-default-proxies-alist'.
22736         (tramp-maybe-open-connection): Use the same command pattern for
22737         first hop and further hops.
22738         (tramp-wait-for-output): Remove handling of newlines.
22739         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22740         (tramp-split-string): Remove function.  It is handled in
22741         tramp-compat now.
22743         * net/tramp-cmds.el (tramp-bug):
22744         Recommend `tramp-cleanup-all-connections' in the bug mail.
22746         * net/tramp-compat.el (tramp-compat-split-string)
22747         (tramp-compat-process-running-p): New defuns.
22749         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22750         for `dired-uncache'.
22752         * net/tramp-gvfs.el: New package.
22754         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22755         Add handler for `dired-uncache'.
22756         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22758         * net/trampver.el: Update release number.  Make version check fit
22759         for SXEmacs 22.
22761 2009-06-22  Jim Meyering  <meyering@redhat.com>
22763         Automatically handle .xz suffix (XZ-compressed files), too.
22764         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22765         XZ is the successor to LZMA: <http://tukaani.org/xz/>
22767 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
22768             Nick Roberts  <nickrob@snap.net.nz>
22770         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22771         repository (http://sphinx.net.ru/hg/gdb-mi/).
22773 2009-06-22  Glenn Morris  <rgm@gnu.org>
22775         * files.el (dir-locals-collect-mode-variables): Allow for any number of
22776         `mode' and `eval' entries.  (Bug#3430)
22778         * Makefile.in (ELCFILES): Add fadr.elc.
22780         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22781         differing behavior of \n and ^ in strings.  (Bug#3385)
22783         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22785         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22786         property.
22787         (lisp-indent-function): Make it a defcustom.
22789 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
22791         * progmodes/gdb-ui.el: Replace with ...
22792         * progmodes/gdb-mi.el: ... this file.
22793         * progmodes/gud.el: Modify for gdb-mi.el.
22795 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
22797         * fadr.el: New file.
22799 See ChangeLog.14 for earlier changes.
22801 ;; Local Variables:
22802 ;; coding: utf-8
22803 ;; End:
22805   Copyright (C) 2009-2011  Free Software Foundation, Inc.
22807   This file is part of GNU Emacs.
22809   GNU Emacs is free software: you can redistribute it and/or modify
22810   it under the terms of the GNU General Public License as published by
22811   the Free Software Foundation, either version 3 of the License, or
22812   (at your option) any later version.
22814   GNU Emacs is distributed in the hope that it will be useful,
22815   but WITHOUT ANY WARRANTY; without even the implied warranty of
22816   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22817   GNU General Public License for more details.
22819   You should have received a copy of the GNU General Public License
22820   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.