* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
[emacs.git] / lisp / ChangeLog
blobdf4834a27c667d1897b945dc15a1130bce875e7e
1 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
3         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
4         not use `tramp-file-name-port', because this returns also
5         `tramp-default-port'.
7 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
9         * net/rcirc.el (rcirc-handler-001): Remove useless
10         with-rcirc-process-buffer.
11         (rcirc-check-auth-status): Swap arguments to string-match.
13 2011-03-09  Glenn Morris  <rgm@gnu.org>
15         * shell.el (shell-mode):
16         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
18         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
21 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
23         * emacs-lisp/package.el (package-refresh-contents)
24         (package-menu-execute): Use condition-case-no-debug.
26 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
28         * simple.el (shell-command-to-string): Use `process-file'.
30         * emacs-lisp/package.el (package-tar-file-info): Handle also
31         remote files.
33         * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
34         `equal' for upload base check.
36 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
38         * textmodes/texinfo.el (texinfo-environments):
39         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
41 2011-03-08  Glenn Morris  <rgm@gnu.org>
43         * cus-start.el (cursor-in-non-selected-windows):
44         Fix :set quoting oddness.  (Bug#8192)
46         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
47         in some setf expressions.  (Bug#2159)
49 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
51         * custom.el (custom-available-themes): Return themes in
52         alphabetical order.
54 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
56         * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
57         application of patch from Alan Mackenzie (Bug#7595).
59 2011-03-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
61         * net/rcirc.el (rcirc-connect): Fix PASS bug.
63 2011-03-07  Glenn Morris  <rgm@gnu.org>
65         * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
66         Give an explicit error if failed to make writable.  (Bug#6146)
68 2011-03-07  Ed Reingold  <reingold@emr.cs.iit.edu>
70         * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
71         Add optional `after-sunset' argument.  (Bug#8190)
73 2011-03-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
75         * play/morse.el (nato-alphabet, nato-region, denato-region):
76         New variable and functions.  (Bug#2288)
77         (morse-region, unmorse-region): Barf if read-only.
79 2011-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
81         * progmodes/gud.el (gdb-script-syntax-propertize-function):
82         Don't change the syntax of a \n that closes a comment (bug#8169).
84 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
86         * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
87         defcustom.
88         (package--update-file): Doc fix.  Accept relative file names.
89         (package--archive-contents-from-file): Remove the argument, since
90         it's necessarily always "archive-contents".
91         (package-maint-add-news-item): Pass relative file name args to
92         package--update-file.
93         (package-upload-buffer-internal): Prompt for a destination if
94         package-archive-upload-base is invalid.  Create the directory if
95         it does not exist.
96         (package-upload-buffer, package-upload-file): Doc fix.
98 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
100         * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
101         and move isearch-yank-line to M-s C-e (Bug#8183).
103 2011-03-06  Alan Mackenzie  <acm@muc.de>
105         * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
106         (c-guess-basic-syntax): Move CASE 19 to a different place,
107         correctly to process template-args-cont lines.
109 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
111         * calc/calc-ext.el (calc-init-extensions):
112         Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
113         and calc-nplevel, respectively.  Add keybindings for calc-spn,
114         calc-midi and calc-freq.  Add autoloads for calcFunc-spn,
115         calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
117         * calc/calc-units.el (calc-dblevel): Rename from
118         calc-logunits-dblevel.
119         (calc-nplevel): Rename from calc-logunits-nplevel.
120         (math-midi-round, math-freqp, math-midip, math-spnp)
121         (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
122         (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
123         (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
124         (math-notes): New variable.
126         * calc/calc.el (calc-note-threshold): New variable.
128 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
130         * emacs-lisp/package.el (package-archives): Accept either ordinary
131         directory names, in addition to HTTP URLs.
132         (package--with-work-buffer): New macro.   Handle normal directories.
133         (package-handle-response): Don't display the failing buffer.
134         (package-download-single, package-download-tar)
135         (package--download-one-archive): Use package--with-work-buffer.
136         (package-archive-base): Rename from package-archive-url.
138 2011-03-06  Glenn Morris  <rgm@gnu.org>
140         * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
141         (xmodmap-generic-mode): Respect generic-extras-enable-list.
143 2011-03-06  Daniel Clemente  <dcl441-bugs@yahoo.com>  (tiny change)
145         * generic-x.el (xmodmap-generic-mode): New.  (Bug#2065)
147 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
149         * allout.el (allout-init, allout-prefixed-keybindings)
150         (allout-unprefixed-keybindings):
151         * progmodes/prolog.el (prolog-find-term):
152         Fix typos in docstrings.
154 2011-03-06  Nikolaj Schumacher  <me@nschum.de>  (tiny change)
156         * emacs-lisp/elp.el (elp-results): Fix off-by-one in header.  (Bug#2746)
158 2011-03-06  Kevin Ryde  <user42@zip.com.au>
160         * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc.  (Bug#5326)
162 2011-03-06  Michael Shields  <shields@msrl.com>  (tiny change)
164         * window.el (one-window-p, walk-windows, display-buffer):
165         Doc fixes.  (Bug#5567)
167 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
169         * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
170         of the variable if it exists.
172 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
174         * bookmark.el:
175         * desktop.el:
176         * emacs-lock.el:
177         * ps-print.el:
178         * saveplace.el:
179         * net/tramp-cache.el:
180         * obsolete/fast-lock.el:
181         * textmodes/reftex.el:
182         Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
184 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
186         * files.el (delete-directory, copy-directory, list-directory):
187         Use read-directory-name.
189         * find-file.el (ff-find-the-other-file):
190         * net/ange-ftp.el (ange-ftp-make-directory):
191         * printing.el (pr-interactive-dir):
192         * progmodes/ada-prj.el (ada-prj-load-directory):
193         * progmodes/ebnf2ps.el (ebnf-print-directory)
194         (ebnf-spool-directory, ebnf-eps-directory)
195         (ebnf-syntax-directory):
196         * shell.el (shell):
197         * speedbar.el (speedbar-create-directory):
198         * vc/emerge.el (emerge-merge-directories):
199         * vc/vc-dir.el (vc-dir):
200         * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
202 2011-03-05  Chong Yidong  <cyd@stupidchicken.com>
204         * help-mode.el (help-buffer): If we are to return the current
205         buffer, signal an error if it's not in Help mode (Bug#8147).
207 2011-03-05  Reuben Thomas  <rrt@sc3d.org>
209         * files.el (file-name-version-regexp): Handle backup files of the
210         form `foo.js.~HEAD~1~' (Bug#8159).
212 2011-03-05  Glenn Morris  <rgm@gnu.org>
214         * eshell/esh-var.el: Don't require esh-test when compiling.
215         * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
216         * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
217         * eshell/esh-test.el: Move to ../../test/eshell.el.
219 2011-03-05  David Engster  <deng@randomsample.de>
221         * files.el (save-some-buffers): Report the names of buffers saved
222         automatically due to buffer-save-without-query (Bug#8134).
224 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
226         * net/rcirc.el: Add QuakeNet authentication support.
227         (rcirc-authinfo, rcirc-check-auth-status)
228         (rcirc-authenticate): Support QuakeNet.
230 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
232         * net/rcirc.el: Add functionality to authenticate before
233         autojoining channels.
234         (rcirc-authenticate-before-join): New option.
235         (rcirc-authenticated-hook): New variable.
236         (rcirc-connect): Make local variable rcirc-user-authenticated.
237         (rcirc-handler-001): Respect rcirc-authenticate-before-join.
238         (rcirc-check-auth-status, rcirc-join-channels-post-auth):
239         New functions.
240         (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
241         Call rcirc-check-auth-status.
243 2011-03-05  Alex Harsanyi  <AlexHarsanyi@gmail.com>
245         * net/soap-client.el (soap-namespace-put-link): Check if the target
246         name is fully qualified -- use only the name part.
247         (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
248         types, treated the same as xsd:sequence.  (Bug#8166)
250 2011-03-05  Eli Zaretskii  <eliz@gnu.org>
252         * files.el (find-file-noselect): Don't ask about re-visiting
253         non-literally if the file is already visited in image-mode.
254         (Bug#8177)
256 2011-03-05  Glenn Morris  <rgm@gnu.org>
258         * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
259         (eshell-mode): Use eshell-kill-buffer-function.
260         Run the -initialize functions independently of the -load-hooks.
261         * eshell/esh-proc.el (eshell-kill-process-function): New function.
262         (eshell-gather-process-output, eshell-sentinel)
263         (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
264         Use eshell-kill-process-function.
265         * eshell/em-alias.el (eshell-alias-load-hook):
266         * eshell/em-banner.el (eshell-banner-load-hook):
267         * eshell/em-cmpl.el (eshell-cmpl-load-hook):
268         * eshell/em-dirs.el (eshell-dirs-load-hook):
269         * eshell/em-glob.el (eshell-glob-load-hook):
270         * eshell/em-hist.el (eshell-hist-load-hook):
271         * eshell/em-pred.el (eshell-pred-load-hook):
272         * eshell/em-prompt.el (eshell-prompt-load-hook):
273         * eshell/em-rebind.el (eshell-rebind-load-hook):
274         * eshell/em-script.el (eshell-script-load-hook):
275         * eshell/em-smart.el (eshell-smart-load-hook):
276         * eshell/em-term.el (eshell-term-load-hook):
277         * eshell/em-unix.el (eshell-unix-load-hook):
278         * eshell/esh-arg.el (eshell-arg-load-hook):
279         * eshell/esh-cmd.el (eshell-cmd-load-hook):
280         * eshell/esh-ext.el (eshell-ext-load-hook):
281         * eshell/esh-io.el (eshell-io-load-hook):
282         * eshell/esh-mode.el (eshell-exit-hook):
283         * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
284         * eshell/esh-var.el (eshell-var-load-hook):
285         Set default hook values to nil.  (Bug#5375)
287         * eshell/esh-module.el (eshell-module-unload-hook)
288         (eshell-modules-list): Remove leading * from defcustom docs.
290         * eshell/esh-util.el (eshell-for): Make it obsolete.
291         * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
292         * eshell/em-dirs.el (eshell-save-some-last-dir):
293         * eshell/em-hist.el (eshell-save-some-history)
294         (eshell-hist-parse-modifier):
295         * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
296         (eshell-ls-entries):
297         * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
298         * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
299         (eshell/which):
300         * eshell/esh-ext.el (eshell-find-interpreter):
301         * eshell/esh-mode.el (eshell-mode):
302         * eshell/esh-module.el (eshell-unload-extension-modules):
303         * eshell/esh-proc.el (eshell-process-interact):
304         * eshell/esh-test.el (eshell-test):
305         * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
306         * eshell/esh-var.el (eshell/env, eshell-environment-variables)
307         (eshell-variables-list):
308         * eshell/eshell.el (eshell-unload-all-modules):
309         Replace eshell-for with dolist.
311 2011-03-04  Glenn Morris  <rgm@gnu.org>
313         * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0.  (Bug#8170)
315 2011-03-04  Tom Tromey  <tromey@redhat.com>
317         * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
319 2011-03-04  Glenn Morris  <rgm@gnu.org>
321         * outline.el (outline-regexp): No longer allow nil.
322         (outline-heading-end-regexp): Add safety predicate.  (Bug#7619)
324         * net/browse-url.el (browse-url):
325         Handle deleted default-directory.  (Bug#6077)
327         * recentf.el (recentf-include-p): In case of a buggy predicate,
328         err on the side of including, not excluding.  (Bug#5843)
330 2011-03-04  Jay Belanger  <jay.p.belanger@gmail.com>
332         * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
333         variables as units.
335 2011-03-04  Bob Rogers  <rogers@rgrjr.dyndns.org>
337         * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
338         if there is no node.  (Bug#3261)
340 2011-03-04  Leo  <sdl.web@gmail.com>
342         * vc/diff-mode.el (diff-mode): Fix whitespace-style.  (Bug#8139)
344         * time.el (display-time-world-list): Fix typo.  (Bug#7571)
346 2011-03-04  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
348         * cus-edit.el (custom-buffer-create-internal):
349         Split search string before passing it to `customize-apropos' (bug#8136).
351 2011-03-04  Drew Adams  <drew.adams@oracle.com>
353         * image-dired.el (image-dired-cmd-read-exif-data-options):
354         Fix typo in docstring (bug#8156).
356 2011-03-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
358         * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
360 2011-03-03  Christian Ohler  <ohler@gnu.org>
362         * emacs-lisp/ert.el (ert--explain-equal): New function.
363         (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
364         All callers changed.
365         (ert--explain-equal-including-properties): Renamed from
366         `ert--explain-not-equal-including-properties'.  All callers
367         changed.
369 2011-03-03  Christian Ohler  <ohler@gnu.org>
371         * emacs-lisp/ert.el (ert--stats-set-test-and-result)
372         (ert-char-for-test-result, ert-string-for-test-result)
373         (ert-run-tests-batch, ert--print-test-for-ewoc):
374         Handle `ert-test-quit'.
376 2011-03-03  David Abrahams  <dave@boostpro.com>  (tiny change)
378         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
379         Move ediff-defvar-local calls after defcustoms.  (Bug#1821)
381 2011-03-03  Glenn Morris  <rgm@gnu.org>
383         * files.el (file-truename): Doc fix.  (Bug#2341)
385 2011-03-03  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
387         * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
389 2011-03-03  Vagn Johansen  <gonz808@hotmail.com>  (tiny change)
391         * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
392         programs output backslashes.  (Bug#7663)
394 2011-03-03  Glenn Morris  <rgm@gnu.org>
396         * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
397         (mail-mode): Remove mail-sent-via from the doc.
398         (mail-sent-via): Make it obsolete.  (Bug#1776)
400         * progmodes/grep.el (grep-highlight-matches): Doc fix.
401         (grep-process-setup): No highlighting without font-lock.  (Bug#8084)
403         * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
404         with no parents.  (Bug#8025)
406 2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>
408         * password-cache.el (password-in-cache-p): Add autoload.
410 2011-03-02  Glenn Morris  <rgm@gnu.org>
412         * man.el (Man-support-local-filenames): Also handle Red Hat's man.
413         * dired-x.el (Man-support-local-filenames): Autoload it.
414         (dired-guess-shell-alist-default): Also handle Red Hat's man.
416         * dired-x.el (dired-default-directory-alist, dired-default-directory):
417         Mark as obsolete.
418         (dired-smart-shell-command): Just call dired-current-directory.
420         * dired-x.el (dired-jump-other-window): Add autoload.
421         (dired-default-directory-alist, dired-default-directory): Doc fixes.
422         (dired-default-directory-alist): Mark as risky.
424         * dired-x.el (dired-omit-here-always): Make it obsolete.
426 2011-03-02  Chong Yidong  <cyd@stupidchicken.com>
428         * textmodes/artist.el (artist-curr-go): Default to pen-line.
429         (artist-select-op-pen-line): New function.
430         (artist-menu-map): New variable.
431         (artist-mode-map): Add a menu to the menu-bar.
433 2011-03-02  Jay Belanger  <jay.p.belanger@gmail.com>
435         * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
436         when evaluating.
438         * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
439         New function.
440         (math-logunits-add, math-logunits-mul, math-logunits-divide):
441         (math-logunits-quant, math-logunits-level):
442         Use `math-conditional-apply' and `math-conditional-pow' to evaluate
443         functions.
444         (math-logunits-level): Extract units from ratio.
446 2011-03-01  Juanma Barranquero  <lekktu@gmail.com>
448         * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
450 2011-03-01  Glenn Morris  <rgm@gnu.org>
452         * calendar/cal-hebrew.el (calendar-hebrew-birthday)
453         (diary-hebrew-birthday): Rename and rework functions added
454         in previous change.
456 2011-03-01  Ed Reingold  <reingold@emr.cs.iit.edu>
458         * calendar/cal-hebrew.el (hebrew-calendar-birthday)
459         (diary-hebrew-birthday): New functions.
461 2011-03-01  Glenn Morris  <rgm@gnu.org>
463         * dired.el (dired-safe-switches-p): Beef it up.
464         (dired-actual-switches): Use it for the safe-local prop.  (Bug#3230)
466 2011-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
468         * dired.el (dired-safe-switches-p): New function.
470 2011-03-01  Glenn Morris  <rgm@gnu.org>
472         * files.el (dir-locals-collect-variables):
473         Add the ability to exclude subdirectories.  (Bug#8100)
475         * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
477 2011-02-28  Christoph Scholtes  <cschol2112@googlemail.com>
479         * ido.el (ido-everywhere): Doc fix.
480         (ido-mode): Doc fix.
482 2011-02-28  Glenn Morris  <rgm@gnu.org>
484         * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
486 2011-02-28  Michael Albinus  <michael.albinus@gmx.de>
488         * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
489         shadows.
491 2011-02-28  Antoine Levitt  <antoine.levitt@gmail.com>
493         * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
495 2011-02-28  Juanma Barranquero  <lekktu@gmail.com>
497         * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
498         Fix typos in docstrings.
500 2011-02-28  Stephen Berman  <stephen.berman@gmx.net>
502         * dired-aux.el (dired-update-file-line):
503         Fix 2010-11-09 change.  (Bug#8131)
505 2011-02-28  Eli Zaretskii  <eliz@gnu.org>
507         * international/mule-cmds.el (set-default-coding-systems): Use the
508         -unix variant of encoding in default-keyboard-coding-system.
509         (Bug#8122)
511 2011-02-27  Chong Yidong  <cyd@stupidchicken.com>
513         * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
515 2011-02-27  Prestoo Ten  <prestooten@gmail.com>  (tiny change)
517         * term/screen.el: New file (Bug#2650).
519 2011-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
521         * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
522         (pcase-mutually-exclusive-predicates): New var.
523         (pcase--split-consp, pcase--split-pred): Use it.
524         (pcase--split-equal, pcase--split-member): When splitting against
525         a pure predicate, run it to know the outcome.
526         (pcase--u1): Mark vars that are actually used.
527         (pcase--q1): Avoid introducing unused vars.
529 2011-02-27  Jay Belanger  <jay.p.belanger@gmail.com>
531         * calc/calc-ext.el (calc-init-extensions):
532         Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
534         * calc/calc-math.el (calcFunc-log10): Don't signal an error in
535         symbolic mode.
537         * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
538         argument is a variable.
540 2011-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
542         * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
543         (aput, adelete, amake): Replace `eval' -> `symbol-value'.
544         Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
546 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
548         * password-cache.el (password-in-cache-p): Convenience function to
549         check if a key is in the cache, even if the value is nil.
551 2011-02-25  Jambunathan K  <kjambunathan@gmail.com>
553         * emacs-lisp/package-x.el (package--archive-contents-from-url)
554         (package--archive-contents-from-file): New functions.
555         (package-update-news-on-upload): New var.
556         (package-upload-buffer-internal): Extract archive-contents from
557         package-archive-upload-base if it is not found at archive-url.
558         Obey package-update-news-on-upload.
559         (package-upload-buffer, package-upload-file): Doc fix.
561 2011-02-24  Glenn Morris  <rgm@gnu.org>
563         * files-x.el (modify-dir-local-variable): Handle dir-locals from
564         the cache, and from non-file sources.
566         * help-fns.el (describe-variable): Return consistent results when a
567         dir-local from a file came from the cache or did not.  (Bug#8095)
568         If a dir-local has no associated file, say it came from a "directory".
570         * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
571         (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
573         * files.el (dir-locals-find-file): Doc fix.
574         Fix the check for cache elements that have no associated file,
575         and the mtime check for those that do.  (Bug#8095)
577         * dired-x.el (dired-hack-local-variables):
578         Handle interrupts during hacking local variables.  (Bug#5216)
580         * emacs-lisp/autoload.el (autoload-save-buffers)
581         (autoload-find-destination, update-directory-autoloads):
582         Avoid prompts when updating autoloads.
584 2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
586         * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
588 2011-02-23  Kenichi Handa  <handa@m17n.org>
590         * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
591         error when a multipart boundary in the nested multipart is found.
593         * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
594         header components.
596 2011-02-23  Glenn Morris  <rgm@gnu.org>
598         * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
599         * dired-x.el (dired-omit-mode): Safe if boolean.
600         (dired-enable-local-variables): Fix doc and custom type.
601         (dired-enable-local-variables, dired-local-variables-file)
602         (dired-hack-local-variables): Make obsolete.
603         (dired-omit-here-always): Use dir-locals.el instead.
605         * files.el (safe-local-eval-forms): Add the write-file-hooks version.
607 2011-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
609         * help-fns.el (describe-function-1): Don't signal an error just because
610         the DOC file disappeared.
612 2011-02-22  Seppo Sade  <sepposade1@gmail.com>  (tiny change)
614         * eshell/esh-ext.el (eshell-external-command): Do not restrict
615         remote check to "ftp".  (Bug#8089)
617 2011-02-21  Alan Mackenzie  <acm@muc.de>
619         Fix bug #7930.
620         * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
621         in macros finding their way into c-state-nonlit-pos-cache.
622         Strengthen the comments.
623         (c-state-dump): New commented out diagnostic routine.
625 2011-02-21  Michael Albinus  <michael.albinus@gmx.de>
627         * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
628         `field' property of `rfn-eshadow-overlay'.
630 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
632         * net/netrc.el (netrc-parse): Comment fix.
634 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
636         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
637         Autoload.  Add optional arg FRAME, and pass it to color-values.
638         (color-complement): Caller changed.  Doc fix.
639         (color-gradient): Rewrite for better clarity and efficiency.
641         * faces.el (color-values): Use cond for clarity.  Doc fix.
643         * facemenu.el (color-rgb-to-hsv): Delete; use the version in
644         color.el instead.
645         (list-colors-sort-key, list-colors-print):
646         Use color-normalized-values.
648 2011-02-20  Drew Adams  <drew.adams@oracle.com>
650         * color.el: First part of merge from hexrgb.el.
651         (color-rgb-to-hex): Rename from color-rgb->hex.
652         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
653         saturation to zero if the value is too small.
654         (color-rgb-to-hsl): Rename from color-rgb->hsl.
655         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
656         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
657         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
658         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
659         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
660         (color-cie-de2000): Doc fix.
662 2011-02-20  Alan Mackenzie  <acm@muc.de>
664         * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
665         locating the beginning of a macro.  (Bug#7595)
667 2011-02-20  Glenn Morris  <rgm@gnu.org>
669         * edmacro.el (edmacro-eight-bits): Make it a defcustom.
670         Don't autoload it.
672         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
673         (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
675 2011-02-19  Dmitry Bolshakov  <dmitry.bolshakov@bridge-quest.com>
676             Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
678         * progmodes/hideshow.el (hs-find-block-beginning)
679         (hs-hide-level-recursive): Ignore comments when parsing braces
680         (Bug#8036).
682 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
684         * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
685         (vc-bzr-pull): Use it.
687 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
689         * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
690         (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
691         but returning an alist.  Ignore comments in bzr conffile.
692         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
693         (vc-bzr-error-regex-alist): New var.
694         (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
696         * vc/vc-dispatcher.el (vc-do-async-command):
697         Bind inhibit-read-only to t.
699         * progmodes/compile.el (compilation--flush-directory-cache):
700         Handle the case where cdr of compilation--flush-directory-cache
701         points to no buffer, which can occur if we previously switched to
702         compilation-mode in a pregenerated buffer.
704 2011-02-19  Kenichi Handa  <handa@m17n.org>
706         * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
707         get the header copy into the temporary buffer.
708         (rmail-mime-insert-decoded-text): Ignore us-ascii.
709         (rmail-show-mime): When rmail-mime-coding-system is nil, set
710         buffer-file-coding-system to undecided.
712 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
714         * international/mule-cmds.el (read-char-by-name, ucs-insert):
715         Document completion with asterisk and a substring.
717 2011-02-19  Glenn Morris  <rgm@gnu.org>
719         * files.el (find-file-literally): Doc fix.
721         * simple.el (rfc822-goto-eoh): Give it a doc-string.
723         * log-edit.el (log-edit-insert-changelog):
724         Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
726 2011-02-19  Glenn Morris  <rgm@gnu.org>
728         * dired-x.el: Don't require dired-aux.
729         (dired-do-create-files, dired-mark-read-regexp)
730         (dired-do-create-files-regexp): Autoload from dired-aux.
732         * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
733         * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
735         * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
736         * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
738         * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
739         * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
740         (dired-clean-up-buffers-too): Declare.
742         * dired-x.el (dired-initial-position): Merge into dired.el's version.
743         * dired.el (dired-initial-position): Merge dired-x's version here.
744         (dired-find-subdir): Declare.
746         * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
747         * dired-aux.el (dired-add-entry): Give it a doc-string.
748         Merge dired-x's dired-omit handling here.
749         (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
751         * international/mule-diag.el (list-input-methods-1):
752         Indent all lines of multi-line doc-strings.  (Bug#8066)
754 2011-02-18  Chong Yidong  <cyd@stupidchicken.com>
756         Fix 2011-02-02 changes.
758         * apropos.el (apropos-print): Call apropos-mode before setting up
759         buffer variables.  Use inhibit-read-only.
761         * emacs-lisp/package.el (package--list-packages):
762         Call package-menu-mode before setting up buffer variables.
764         * play/solitaire.el (solitaire): Call solitaire-mode before
765         setting up buffer variables.  Use inhibit-read-only.
767 2011-02-18  Lawrence Mitchell  <wence@gmx.li>
769         * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
770         Bind case-fold-search to nil when looking for end of here-doc.
772 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
774         * image-mode.el (image-toggle-display-image):
775         Set find-file-literally non-nil in buffers visiting binary image
776         files.  (Bug#8047)
778 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
780         * files.el (cd): Make completion obey cd-path (bug#7924).
782 2011-02-18  Glenn Morris  <rgm@gnu.org>
784         * progmodes/prolog.el: Don't require compile when compiling.
785         (compilation-shell-minor-mode, compilation-error-regexp-alist)
786         (compilation-forget-errors, compilation-fake-loc)
787         (compilation-parse-errors-function, compilation-error-list): Declare.
788         (prolog-inferior-mode): Require 'compile.
790         * emulation/cua-base.el (pc-selection-mode): Declare.
792         * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
793         (customize-object): Add autoload cookie.
794         * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
795         (eieio-browse, describe-class, eieio-describe-class)
796         (eieio-describe-constructor, describe-generic, eieio-describe-generic)
797         (eieio-help-mode-augmentation-maybee): Add autoload cookies.
798         * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
799         * Makefile.in (autoloads): Make eieio.el writable.
801         * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
802         (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
803         (dired-hack-local-variables): Use inhibit-read-only.
804         (dired-guess-default): Simplify.
805         (dired-make-relative-symlink): Use dotimes.
806         (dired-simultaneous-find-file): Use dolist.
807         (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
808         (dired-x-hands-off-my-keys): Doc fix.
809         (dired-x-bind-find-file): Doc fix.  Use remapping.
810         (after-init-hook): No need to add dired-x-bind-find-file.
811         (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
812         No need to call expand-file-name.
813         (dired-filename-at-point): Remove unused locals `end', `filename'.
815 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
817         * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
819 2011-02-18  Christian Ohler  <ohler@gnu.org>
821         * emacs-lisp/ert.el (ert--setup-results-buffer)
822         (ert-results-pop-to-backtrace-for-test-at-point)
823         (ert-results-pop-to-messages-for-test-at-point)
824         (ert-results-pop-to-should-forms-for-test-at-point)
825         (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
826         were incorrect and unnecessary.  This should make `make check'
827         pass again.
829 2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
831         * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
832         (allout-widgets-icons-dark-subdir): Track relocations of icons
833         * lisp/allout.el: Remove commentary about remove encryption
834         passphrase mnemonic support and verification.
835         (allout-encrypt-string): Recognize epg failure to decrypt gpg2
836         armored text using gpg1, and indicate that the gpg version *might*
837         be the problem in the error message.
839 2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
841         * net/rcirc.el (rcirc-float-time): New function.
842         (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
843         (rcirc-ctcp-sender-PING): Use it.
845 2011-02-17  Glenn Morris  <rgm@gnu.org>
847         * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
848         (speedbar-update-flag, speedbar-fetch-etags-command)
849         (speedbar-fetch-etags-arguments):
850         * term.el (term-buffer-maximum-size, term-input-chunk-size)
851         (term-completion-autolist, term-completion-addsuffix)
852         (term-completion-recexact, term-completion-fignore):
853         * term/sup-mouse.el (sup-mouse-fast-select-window):
854         * term/x-win.el (x-select-request-type):
855         Convert some defvars with "*" to defcustoms.
857         * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
859         * vc/vc.el (vc-default-previous-version):
860         Remove alias that points nowhere.  (Bug#4496)
862         * dired-x.el (dired-clean-up-after-deletion):
863         kill-buffer does not need save-excursion.
864         (dired-do-run-mail): Doc fix.
865         (dired-filename-at-point): Doc fix.
866         Use looking-at, and skip-chars rather than re search.
868         * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
870 2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
872         * allout-widgets.el: New allout extension that shows allout
873         outline structure with graphical widgets.  'allout-widgets'
874         customize group is an 'allout' subgroup, for easy discovery.
876         * allout.el: Include PGP and GnuPG in Keywords, and other
877         commentary refinements.
878         (allout-abbreviate-flattened-numbering): Rename to
879         allout-flattened-numbering-abbreviation, and
880         define-obsolete-variable-alias the old name.
881         (allout-flattened-numbering-abbreviation): Rename from
882         allout-abbreviate-flattened-numbering.
883         (allout-mode-p): Include among autoloads, for use by other modes
884         with impunity.
885         (allout-listify-exposed):
886         Use allout-flattened-numbering-abbreviation.
887         (allout-encrypt-string): Use set-buffer-multibyte directly.
888         (allout-set-buffer-multibyte): Remove.
890 2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
892         * simple.el (just-one-space): Remove useless `or' call.
894 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
896         * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
897         (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
898         (soap-decoded-multi-refs, soap-current-wsdl)
899         (soap-encoded-namespaces): Rename CL-style *...* variables.
901 2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
903         * net/soap-client.el: Add "comm" and "hypermedia" to the
904         keywords.  Reflow too long lines.
906         * net/soap-inspect.el: Ditto.  Require 'cl.
908 2011-02-16  Bastien Guerry  <bzg@altern.org>
910         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
911         in a `doctor-type' argument.
913 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
915         * net/soap-client.el:
916         * net/soap-inspect.el: New files.
918 2011-02-16  Leo  <sdl.web@gmail.com>
920         * dired-x.el (dired-mode-map, dired-extra-startup):
921         Remove dired-copy-filename-as-kill since it's already in dired.el.
923 2011-02-16  Glenn Morris  <rgm@gnu.org>
925         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
926         Doc fixes.  Add :set property, replacing top-level calls.
927         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
928         (dired-guess-shell-gnutar): Test tar version rather than system-type.
929         (dired-extra-startup, dired-man, dired-info): Doc fixes.
930         (dired-clean-up-after-deletion): Use when and dolist.
931         (dired-jump): Use unless and when.
932         (dired-virtual): Use line-end-position.
933         (dired-default-directory-alist): Rename from default-directory-alist.
934         (dired-default-directory): Update for above name change.
935         (dired-vm): Drop VM < 5 and simplify.
936         (dired-buffer-more-recently-used-p): Rewrite.
937         (dired-filename-at-point): Use when and or.
938         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
939         Update callers.
941 2011-02-15  Glenn Morris  <rgm@gnu.org>
943         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
945 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
947         * vc/vc-git.el (vc-git-root-log-format): New option for
948         customizing log format.
949         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
950         (vc-git-log-view-mode): Use it.
951         (vc-git-expanded-log-entry): New function.
952         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
954         * vc/vc-hg.el (vc-hg-root-log-template): New option for
955         customizing log format.
956         (vc-hg-print-log): Use it.
957         (vc-hg-expanded-log-entry): New function.
958         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
959         vc-hg-expanded-log-entry.  Truncate lines in root log.
961         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
963         * vc/log-view.el (log-view-mode-menu):
964         Add log-view-toggle-entry-display.
966 2011-02-14  Glenn Morris  <rgm@gnu.org>
968         * dired-x.el: Don't require man when compiling.
969         (dired-omit-extensions, dired-local-variables-file)
970         (dired-x-hands-off-my-keys): Make them defcustoms.
971         (Man-support-local-filenames, Man-getpage-in-background): Declare.
972         (vm-visit-folder): Declare rather than defining.
973         (dired-x-help-address, dired-x-variable-list): Remove.
974         (dired-x-submit-report): Make it an obsolete alias.
976 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
978         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
980 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
982         * net/imap.el: Bring it back.
984 2011-02-13  Alan Mackenzie  <acm@muc.de>
986         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
987         narrow-to-region call that cuts context off the end (Bug#7722).
989         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
990         Refactor nested if-forms with a simple cond.
991         (c-forward-<>-arglist): Revert 2011-01-31 change.
993 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
995         * vc/log-view.el: New command log-view-toggle-entry-display for
996         toggling log entries between concise and detailed forms.
997         (log-view-toggle-entry-display): New command.
998         (log-view-mode-map): Bind RET to it.
999         (log-view-expanded-log-entry-function): New variable.
1000         (log-view-current-entry, log-view-inside-comment-p)
1001         (log-view-current-tag): New functions.
1002         (log-view-toggle-mark-entry): Use log-view-current-entry and
1003         log-view-end-of-defun instead of searching directly with
1004         log-view-message-re.
1005         (log-view-end-of-defun): Likewise.  Add optional ARG for
1006         compatibility with end-of-defun.
1007         (log-view-end-of-defun): Ignore comments and VC buttons.
1009         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1010         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1012 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1014         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
1016         * net/imap-hash.el: Remove file.
1018 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
1020         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1022         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1023         call.
1025         * net/tramp-imap.el: Remove file.
1027 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
1029         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1030         widget library for buttons, just use button.el.
1032         * vc/log-view.el (log-view-mode-map): Don't inherit from
1033         widget-keymap.
1035 2011-02-12  Glenn Morris  <rgm@gnu.org>
1037         * emacs-lisp/cl-seq.el (union, nunion, intersection)
1038         (nintersection, set-difference, nset-difference)
1039         (set-exclusive-or, nset-exclusive-or): Doc fix.
1041         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1043         * faces.el (face-attr-match-p): Handle the obsolete :bold and
1044         :italic props, so that frame-set-background-mode works.  (Bug#7966)
1046         * simple.el (next-error): Doc fix.
1048 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1050         * dired-aux.el (dired-create-files): Adapt destination name to
1051         match the new behavior of copy-directory.
1053 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
1055         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1056         from rmail-dont-reply-to-names.  Callers changed.
1057         (mail-dont-reply-to): Rename from mail-dont-reply-to.
1058         (rmail-dont-reply-to): Make it an obsolete alias.
1060         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1061         nil, and make obsolete (Bug#7888).
1062         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1064         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1066         * mail/rmailsort.el (rmail-sort-by-correspondent)
1067         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
1069         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1071 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1073         * files.el (copy-directory): New argument COPY-CONTENTS for
1074         copying directory contents into another existing directory.
1076 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
1078         * minibuffer.el (completion-table-case-fold): New function for
1079         creating a case-insensitive completion table.
1081 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
1083         * net/tramp.el (tramp-default-method): Also check if
1084         `auth-source-search' is bound.
1085         (tramp-read-passwd): Use `auth-source-search' instead of
1086         `auto-source-user-or-password'.
1088         * net/tramp-imap.el: Autoload `auto-source-search' instead of
1089         `auto-source-user-or-password.
1090         (tramp-imap-passphrase-callback-function): Use it.
1092         * net/imap-hash.el: Autoload `auto-source-search' instead of
1093         `auto-source-user-or-password.
1094         (imap-hash-open-connection): Use it.
1096         * mail/smtpmail.el: Autoload `auto-source-search' instead of
1097         `auto-source-user-or-password.
1098         (smtpmail-try-auth-methods): Use it.
1100 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
1102         * emacs-lisp/package.el: Allow packages to be reinstalled.
1103         (package--write-file-no-coding): Remove EXCL arg.
1104         (package-unpack-single): Don't use it.
1106 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
1108         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1109         in each sub directory.
1110         (vc-svn-registered): Use vc-svn-root.
1111         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
1112         (vc-svn-repository-hostname): Use "svn info".
1114 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1116         * simple.el (delete-trailing-whitespace): New optional buffer
1117         bound parameters.
1119 2011-02-11  Bastien Guerry  <bzg@altern.org>
1121         * files.el (basic-save-buffer): save unmodified buffers when
1122         the file pointed by buffer-file-name doesn't exist.
1124 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1126         * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1128 2011-02-11  Glenn Morris  <rgm@gnu.org>
1130         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1132 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
1134         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1136 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1138         * server.el (server-process-filter): Use pcase.
1140         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1141         conflicting ways.
1142         (smie-indent--parent): Extend to "parent of arg".
1143         (smie-indent-inside-string): New function.
1144         (smie-indent-functions): Use it.
1146         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1147         bzr locking race condition.
1149         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1150         still valid before using it.
1152         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1153         `message' -> `compilation-message' rename (bug#8004).
1155         Move keymap initialization into declaration.
1156         * textmodes/enriched.el (enriched-mode-map):
1157         * textmodes/bib-mode.el (bib-mode-map):
1158         * term/lk201.el (lk201-function-map):
1159         * tar-mode.el (tar-mode-map):
1160         * replace.el (occur-mode-map):
1161         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1162         * progmodes/idlw-help.el (idlwave-help-mode-map):
1163         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1164         * play/solitaire.el (solitaire-mode-map):
1165         * play/snake.el (snake-mode-map, snake-null-map):
1166         * play/pong.el (pong-mode-map):
1167         * play/handwrite.el (menu-bar-handwrite-map):
1168         * play/gametree.el (gametree-mode-map):
1169         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1170         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1171         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1172         (newsticker--url-keymap):
1173         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1174         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1175         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1176         (menu-bar-edit-menu, menu-bar-custom-menu)
1177         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1178         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1179         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1180         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1181         (menu-bar-tools-menu, menu-bar-describe-menu)
1182         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1183         (menu-bar-help-menu):
1184         * mail/rmailsum.el (rmail-summary-mode-map):
1185         * kmacro.el (kmacro-step-edit-map):
1186         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1187         (ibuffer-mode-operate-map):
1188         * hi-lock.el (hi-lock-menu, hi-lock-map):
1189         * emulation/vip.el (vip-mode-map):
1190         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1191         * bookmark.el (bookmark-bmenu-mode-map):
1192         * help-mode.el (help-mode-map): Move initialization into declaration.
1194 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1196         * net/rcirc.el: Add PRIVMSG and CTCP functions.
1197         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1198         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1199         (rcirc-cmd-me, rcirc-authenticate): Use them.
1201 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
1203         * allout.el: Synopsis: Change allout user configuration so
1204         auto-activation is controlled solely by customization
1205         `allout-auto-activation'.
1207         (allout-auto-activation-helper, allout-setup): New autoloads
1208         implement new custom set procedure for allout-auto-activation.
1209         Also, explicitly invoke
1210         (allout-setup) after allout-auto-activation is custom-defined, to
1211         effect the settings in emacs sessions besides the few where
1212         allout-auto-activation customization is donea.
1213         (allout-auto-activation): Use allout-auto-activation-helper to
1214         :set.  Revise the docstring.
1215         (allout-init): Reduce functionality to just customizing
1216         allout-auto-activation, and mark obsolete.
1217         (allout-mode): Respect string values for allout-auto-activation.
1218         Run allout-after-copy-or-kill-hook without any args.
1219         (allout-mode, allout-layout, allout-default-layout)
1220         (outlineify-sticky): Adjust docstring for new scheme.
1221         (allout-after-copy-or-kill-hook): No arguments - hook implementers
1222         should concentrate on the kill ring.
1224 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
1226         * password-cache.el (password-cache-remove): Accept secrets that are
1227         not strings.
1229 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1231         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1232         of here-doc that immediately follows a comment.
1234 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1236         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1238         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1239         available.
1240         (rcirc-ctcp-sender-PING): New function.
1242 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1244         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1245         Remove the mark/nomark handling, and activate shift-select-mode instead.
1247         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1249 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
1251         * calc/calc-units.el (math-logunits-quant): Add support for
1252         non-logarithmic units.
1254 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
1256         * allout.el (allout-after-copy-or-kill-hook): New hook for
1257         extension-specific processing of killed text.
1258         (allout-mode): Include new allout-after-copy-or-kill-hook among
1259         mentioned hooks.
1260         (allout-kill-line, allout-kill-topic): Ensure that processing
1261         after kill happens even if barf-if-buffer-read-only is raised.
1262         Include new allout-after-copy-or-kill-hook among that subsequent
1263         processing.
1264         (allout-deannotate-hidden): Actually remove the annotation text
1265         properties.
1267         * allout.el (allout-listify-exposed): Copy text sans text properties.
1269 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
1271         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1273 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1275         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1277 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
1279         * calc/calc.el (calc-logunits-field-reference): Rename from
1280         `calc-default-field-reference-level'.
1281         (calc-logunits-power-reference): Rename from
1282         `calc-default-power-reference-level'.
1284         * calc/calc-units.el (math-logunits-quant): Rename from
1285         `math-logunits-level'
1286         (math-logunits-plus): Rename from math-logcombine.
1287         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1288         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1289         (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1290         New functions.
1291         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1292         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1293         (calc-logunits-quantity): Rename from `calc-level'.
1294         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1295         (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1296         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1297         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1298         (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1299         New functions.
1301         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1302         (calc-ul-prefix-help): Remove.
1303         (calc-l-prefix-help): New function.
1304         (calc-full-help): Add reference to `calc-l-prefix-help'.
1306         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1308         * calc/README: Mention logarithmic units.
1310 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
1312         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1313         non-ASCII characters (Bug#7925).
1315 2011-02-05  Glenn Morris  <rgm@gnu.org>
1317         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1319         * calendar/diary-lib.el (diary-font-lock-keywords):
1320         Tweak diary-time-regexp match.  (Bug#7891)
1322         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
1323         (f90-mode): Use it for mode's `find-tag-default-function' property.
1325         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
1327         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
1329 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1331         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1332         (Bug#6386).
1334 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1336         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1337         font-lock-syntax-table remappings.
1338         (sh-here-doc-markers, sh-here-doc-re): Remove.
1339         (sh-font-lock-close-heredoc): Remove.
1340         (sh-syntax-propertize-here-doc): New function.
1341         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1342         instead of the sh-here-doc-re.
1343         (sh-font-lock-paren): Don't do anything in comments or strings.
1344         Handle line continuations.  Accept a few more chars.
1345         Don't rely on the font-lock-syntax-table remappings.
1346         `esac' is not a valid pattern.
1347         (sh-syntax-propertize-function): Handle here-docs differently, so we
1348         don't bother syntax-propertizing the insides.
1350         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1351         Handle new bashisms ";&" and ";;&" (bug#7947).
1353 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
1355         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1356         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1358 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
1360         * net/tramp.el (tramp-postfix-method-format)
1361         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1362         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1363         (tramp-postfix-user-regexp, tramp-prefix-port-format)
1364         (tramp-prefix-port-regexp, tramp-postfix-host-format)
1365         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1366         Doc fix.
1368 2011-02-04  Sam Steingold  <sds@gnu.org>
1370         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1372 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
1374         * international/mule-util.el (with-coding-priority): Doc fix.
1376 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1378         * arc-mode.el (archive-mode-map): Fix a typo in last change.
1380 2011-02-03  Sam Steingold  <sds@gnu.org>
1382         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1383         Do not error out when `func' is nil.
1385 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
1387         * net/tramp-sh.el (tramp-remote-path): Add default settings for
1388         `tramp-default-remote-path' to the docstring.
1389         (tramp-get-remote-path): Suppress error message when `getconf
1390         PATH' fails.
1392         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1394 2011-02-03  Glenn Morris  <rgm@gnu.org>
1396         * vc/vc-hg.el (vc-hg-command): Doc fix.
1398         * term/w32-win.el (libpng-version): Declare for compiler.
1400         * msb.el: No need to load dired while compiling.
1402         * emacs-lisp/elint.el (elint-standard-variables):
1403         Remove a couple of built-ins that now have doc-strings.
1405         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1406         `require' is automatically `eval-and-compile'd.
1408         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1409         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1411         * strokes.el (strokes-fill-current-buffer-with-whitespace):
1412         Move definition before use.
1413         (strokes-report-bug): Make it obsolete.
1415 2011-02-02  Sam Steingold  <sds@gnu.org>
1417         * apropos.el (apropos-print): Now that `apropos-mode' inherits
1418         from `special-mode', entering it makes the buffer read-only, so
1419         call it only when everything has been already inserted.
1420         * emacs-lisp/ert.el (ert--setup-results-buffer)
1421         (ert-results-pop-to-backtrace-for-test-at-point)
1422         (ert-results-pop-to-messages-for-test-at-point)
1423         (ert-results-pop-to-timings): Ditto.
1424         * emacs-lisp/package.el (package--list-packages): Ditto.
1425         * play/solitaire.el (solitaire): Ditto.
1427 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
1429         * progmodes/compile.el: Make all faces inherit.
1430         (compilation-warning): Inherit from font-lock-variable-name-face.
1431         (compilation-info): Inherit from font-lock-type-face.
1432         (compilation-line-number): Reassign to font-lock-keyword-face.
1433         (compilation-column-number): Reassign to font-lock-doc-face.
1434         (compilation-leave-directory-face): Reassign to
1435         font-lock-builtin-face.
1437 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
1439         * dired.el (dired-insert-directory): Don't invoke `ls' when
1440         ls-lisp.el is used to emulate it.
1442 2011-02-01  Julien Danjou  <julien@danjou.info>
1444         * color.el (color-gradient): Add a color-gradient function.
1446 2011-02-01  Sam Steingold  <sds@gnu.org>
1448         * simple.el (special-mode-map): Bind "h" to `describe-mode';
1449         bind "z" to `kill-this-buffer'.
1450         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1451         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1452         (apropos-mode): Inherit from `special-mode'.
1453         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1454         * bookmark.el (bookmark-bmenu-mode): Define using
1455         `define-derived-mode' inheriting from `special-mode'.
1456         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1457         * image-mode.el (image-mode-map): Ditto.
1458         * replace.el (occur-mode): Define using
1459         `define-derived-mode' inheriting from `special-mode'.
1460         * tar-mode.el (tar-mode): Inherit from `special-mode'.
1461         * calendar/diary-lib.el (diary-fancy-display-mode):
1462         Inherit from `special-mode-map'.
1463         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1464         Inherit from `special-mode'.
1465         * emacs-lisp/package.el (package-menu-mode-map): Copy from
1466         `special-mode-map'.
1467         (package-menu-mode): Define using `define-derived-mode'
1468         inheriting from `special-mode'.
1469         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1470         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1471         (xesam-mode-map): Define separately.
1472         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1473         * progmodes/compile.el (compilation-minor-mode-map)
1474         (compilation-mode-map): Inherit from `special-mode-map'.
1475         * vc/diff-mode.el (diff-mode-shared-map):
1476         Inherit from `special-mode-map'.
1477         * vc/log-view.el (log-view-mode-map): Add a comment.
1479 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
1481         * custom.el (load-theme): Define return value.  Drop use of
1482         unsafep; call custom-theme-load-confirm for non-known-safe themes.
1483         (custom-theme-load-confirm): Scroll in the correct window.
1484         (custom-enabled-themes): Add custom-safe-themes to :set-after.
1486         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1487         checkbox if load-theme fails.
1489 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1491         * progmodes/compile.el (compilation-next-error): Check there's
1492         a message before using it (bug#7941).
1494 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
1496         * calc/calc-mtx.el (math-lud-pivot-check): New function.
1497         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1498         of potential pivots.
1500 2011-01-31  Alan Mackenzie  <acm@muc.de>
1502         * progmodes/cc-cmds.el (c-forward-over-illiterals):
1503         Continue parsing if we encounter a naked # (Bug#7595).
1504         (c-beginning-of-statement): Avoid loop in locating the beginning
1505         of a macro.  (Not actually committed until 2011-02-20, see above).
1507 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1509         * files.el (copy-directory): Fix arguments to recursive call.
1511 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1513         * files.el (copy-directory): If destination is an existing
1514         directory, copy into a subdirectory there.
1516 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
1518         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1519         files.
1521 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1523         * image-dired.el (image-dired-mouse-display-image): No-op if no
1524         file is found (Bug#7817).
1526         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1528 2011-01-31  Kenichi Handa  <handa@m17n.org>
1530         * international/quail.el (quail-keyboard-layout-alist):
1531         Remove superfluous SPC for "pc105-uk" (bug#7927).
1533 2011-01-31  Glenn Morris  <rgm@gnu.org>
1535         * msb.el (msb-menu-bar-update-buffers): Update for changed
1536         argument handling of menu-bar-select-frame.  (Bug#7902)
1538 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1540         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1541         to the recursion depth (Bug#7722).
1543 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
1545         * term/ns-win.el (ns-find-file): Expand ns-input-file with
1546         command-line-default-directory (Bug#7872).
1548 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1550         * progmodes/compile.el (compilation--flush-directory-cache):
1551         New function, extracted from compilation--remove-properties.
1552         (compilation--remove-properties, compilation--parse-region): Use it.
1553         (compilation--previous-directory): Handle one more case.
1554         (compilation-enable-debug-messages): Remove.
1555         (compilation-parse-errors, compilation--flush-parse): Just remove the
1556         left over debug messages.
1558 2011-01-31  Sam Steingold  <sds@gnu.org>
1560         * progmodes/compile.el (compilation-enable-debug-messages):
1561         Add a variable to make the parsing messages introduced in
1562         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1563         (compilation-parse-errors, compilation--flush-parse): Use it.
1565 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1567         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
1568         (rcirc-nick-completion-format): New defcustom.
1569         (rcirc-complete): Use it.
1571 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1573         * net/rcirc.el: Clean log filenames (Bug#7933).
1574         (rcirc-log-write): Use convert-standard-filename.
1575         (rcirc-log-filename-function): Documentation updates.
1577 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
1579         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1580         Check report-emacs-bug-can-use-osx-open and use that if t.
1581         (report-emacs-bug-can-use-osx-open): New function.
1582         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1583         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1585 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1587         * vc/vc-dispatcher.el (vc-set-async-update): New function for
1588         updating Dired or VC-dir buffers after async command completes.
1590         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1591         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1593         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1594         completions if it exists.  Use vc-set-async-update.
1595         (vc-git-pull): Use vc-set-async-update.
1597         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1598         read-shell-command.  Use vc-set-async-update.
1599         (vc-hg-merge-branch): Use vc-set-async-update.
1601 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
1603         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1604         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1605         (Bug#7931).
1607 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1609         * progmodes/compile.el: Avoid an N² behavior in grep.
1610         (compilation--previous-directory): New fun.
1611         (compilation--previous-directory-cache): New var.
1612         (compilation--remove-properties): Flush it.
1613         (compilation-directory-properties, compilation-error-properties):
1614         Use the new fun to speed up looking for the current directory.
1616 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1618         * vc/vc-hg.el (vc-hg-history): New var.
1619         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1620         (vc-hg-merge-branch): New function.
1622         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1623         the other way around.
1625         * vc/vc-git.el (vc-git-branches, vc-git-pull)
1626         (vc-git-merge-branch): New functions.
1627         (vc-git-history): New var.
1629 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1631         * vc/vc-dispatcher.el (vc-do-async-command): New function.
1633         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1634         vc-do-async-command.
1636         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1637         Callers changed.
1639 2011-01-28  Leo  <sdl.web@gmail.com>
1641         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1642         highlighting to the "this function is advised" message.
1644         * help-mode.el (help-mode-finish): Apply highlighting here, to
1645         avoid clobbering by substitute-command-keys (Bug#6304).
1647 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1649         * woman.el (woman0-roff-buffer): Process roff escape sequences
1650         occurring prior to the first request (Bug#7843).
1652 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1654         * progmodes/compile.el: Don't use font-lock any more.
1655         (compilation-error-regexp-alist-alist): Change handling of makepp
1656         so it preserves the warning/error distinction on subsequent files.
1657         Simplify various rules.
1658         (compilation-directory-properties): Use font-lock-face.
1659         Add a compilation-message property.
1660         (compilation-internal-error-properties): Use font-lock-face.
1661         Don't set the compilation-debug property here.
1662         (compilation--put-prop, compilation--remove-properties)
1663         (compilation--parse-region, compilation--ensure-parse)
1664         (compilation--ensure-parse): New functions.
1665         (compilation-parse-errors): New function, largely inspired of
1666         compilation-mode-font-lock-keywords.  Set compilation-debug here.
1667         (compilation--parsed): New var.
1668         (compilation--flush-parse): Use compilation--ensure-parse.
1669         (compilation-start): Don't call font-lock.
1670         (compilation-turn-on-font-lock): Remove.
1671         (compilation-setup): Don't set font-lock-extra-managed-props not change
1672         other font-lock settings, other than keywords.
1673         Don't activate font-lock-mode.
1674         Set change-major-mode-hook and before-change-functions.
1675         (compilation--unsetup): Remove properties and hooks.
1676         (compilation-next-single-property-change): New function.
1677         (compilation-next-error): Use it to parse when needed.
1678         (compile-goto-error): Parse buffer as needed.
1679         (compilation--compat-error-properties): Don't need a dummy `face'
1680         property any more.
1682 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1684         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1685         (compilation-process-setup-function): Fix docstring's false promises.
1686         (compilation-error-regexp-alist-alist): Catch omake's continuous
1687         recompilation message and avoid reuse of old markers.
1688         (compilation-parse-errors-function): Declare obsolete.
1689         (compilation-buffer-modtime): Remove.
1690         (compilation--make-cdrloc, compilation--loc->col)
1691         (compilation--loc->line, compilation--loc->file-struct)
1692         (compilation--loc->marker, compilation--loc->visited)
1693         (compilation--make-file-struct, compilation--file-struct->file-spec)
1694         (compilation--file-struct->formats)
1695         (compilation--file-struct->loc-tree): New macros.  Use them.
1696         (compilation--message): New defstruct.  Use them.
1697         (compilation-next-error-function): Don't mess with timestamps to try
1698         and guess when to reparse.
1700 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1702         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1703         (tex-old-error-file-name): New function,
1704         extracted from tex-compilation-parse-errors.
1705         (tex-compilation-parse-errors): Remove.
1706         (tex-error-regexp-alist): New var.
1707         (tex-shell): Use it to avoid compilation-parse-errors-function.
1709         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1710         (grep-mode-font-lock-keywords): Remove regexp that seems like
1711         a left-over from before we used compile.el.
1712         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1713         modifying the buffer within with-silent-modifications.
1715         * progmodes/compile.el: Cleanup text-properties namespace by using
1716         `compilation-message' instead of `message', `compilation-directory'
1717         instead of `directory', and `compilation-debug' instead of `debug'.
1718         (compilation-last-buffer, compilation-parsing-end)
1719         (compilation-error-list, compilation-old-error-list): Move to the
1720         compatibility part of the code.
1721         (compilation-error-properties): If `file' is a function, let it return
1722         a file name.
1723         (compilation-mode-font-lock-keywords): Be more conservative with the
1724         omake "^ *" pattern prefix, to try and minimize the risk of
1725         pathologically slow regexp matching.
1726         (compilation-start): Use inhibit-read-only.
1727         (compilation--unsetup): New function.
1728         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1729         (compilation-filter): Minor tweaks.
1730         (compilation-next-error-function): Try and avoid abusing variables.
1731         (compilation--flush-file-structure): New fun.
1732         (compilation-fake-loc): Use it to improve behavior when file is reused.
1733         (debug-ignored-errors): Add "Moved past last ...".
1734         (compilation--compat-error-properties)
1735         (compilation--compat-parse-errors): Rename by doubling the "-".
1737         Port features from the previous prolog.el to the new one.
1738         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1739         (prolog-program-name, prolog-program-switches, prolog-consult-string)
1740         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1741         variable and use a function to compute the value dynamically.
1742         (prolog-prompt-regexp): Add regexp for GNU Prolog.
1743         (prolog-continued-prompt-regexp): Remove, unused.
1744         (prolog-find-value-by-system): Try and use the value of prolog-system
1745         in the *prolog* buffer if it helps.
1746         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1747         (prolog-zip-on): ..and check prolog-system and version here instead.
1748         (prolog-inferior-self-insert-command): New command.
1749         (prolog-inferior-mode-map): Use it.
1750         (prolog-inferior-error-regexp-alist): New var.
1751         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1752         (prolog-input-filter): Use derived-mode-p.
1753         (prolog-inferior-guess-flavor): New function.
1754         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
1755         make-comint to avoid running comint-mode twice.
1756         (prolog-inferior-buffer): New fun.
1757         (prolog-old-process-region, prolog-old-process-file):
1758         Don't call prolog-bsts here...
1759         (prolog-build-prolog-command): ...do it here instead.
1760         (prolog-old-process-region, prolog-old-process-file):
1761         Use compilation-fake-loc and compilation-forget-errors.
1762         (prolog-consult-compile-region): Use bolp.
1764 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1766         * image-mode.el (image-display-size): Doc fix (Bug#7820).
1768 2011-01-27  Sam Steingold  <sds@gnu.org>
1770         * midnight.el (clean-buffer-list-kill-never-buffer-names):
1771         Remove "*server*" which is never created by emacs server.
1773 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1775         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1776         there are some diff switches.
1778 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1780         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1781         Copy change made to ruby-font-lock-syntactic-keywords.
1783         * htmlfontify.el: Make it obey the font-lock-face text property.
1784         Miscellaneous cleanup such as:
1785         - Don't hide expressions after a closing paren.
1786         - Move initial setq into let.
1787         - Hoist common parts out of ifs.
1788         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1789         (hfy-face-at): Use get-text-property instead.
1790         (hfy-prop-invisible-p): Use invisible-p if available.
1791         (htmlfontify-manual): Use \\[...].
1792         (hfy-html-quote-regex): Use [...].
1793         (hfy-combined-face-spec): Simplify.
1794         (hfy-compile-face-map): Don't presume point-min==1.
1795         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1796         match end of string.
1797         (hfy-text-p): η-reduce.
1798         (hfy-tags-for-file): Receive cache-hash directly.
1799         (hfy-mark-tag-names): Adjust call.
1801 2011-01-27  Glenn Morris  <rgm@gnu.org>
1803         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1804         (msb-after-load-hook): Remove eval-after-load wackiness.
1806 2011-01-25  Sam Steingold  <sds@gnu.org>
1808         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1809         literal "diff" (important for windows-nt).
1811 2011-01-25  Glenn Morris  <rgm@gnu.org>
1813         * emacs-lisp/copyright.el (copyright-at-end-flag)
1814         (copyright-names-regexp): Add safety properties.
1815         (copyright-year-ranges): New option.
1816         (copyright-find-end): New function, split from copyright-update-year.
1817         (copyright-update-year): Use copyright-find-end.
1818         (copyright-fix-years): Optionally, convert years to ranges.
1819         Handle years continued over comment lines.
1820         Do not mess with the fill-prefix.
1821         Do not call copyright-update.
1822         (copyright-update-directory): Optionally, fix years rather than update.
1823         Skip directories.  Find files with only safe local vars.
1825 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1827         * files.el (file-name-non-special): Only change buffer-file-name after
1828         insert-file-contents if it's `visit'ing the file (bug#7854).
1830 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
1832         * dired.el (dired-revert): Doc fix (Bug#7758).
1834         * simple.el (line-move-visual): Doc fix (Bug#7594).
1836 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1838         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1839         here-doc which ends with an underscore.
1840         (ruby-mode-set-encoding): Skip shebang line always.
1841         (ruby-mode-map): Bind C-c C-c to comment-region.
1842         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1843         (ruby-forward-sexp): Stop after literal hash key labels.
1844         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1845         bracket.
1847 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
1849         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1850         the correct buffer (Bug#7650).
1852 2011-01-25  Glenn Morris  <rgm@gnu.org>
1854         * comint.el (comint-mode): Doc fix.  (Bug#7897)
1856         * simple.el (do-auto-fill): Give it a doc string.
1858         * button.el (make-text-button): Doc fix.  (See bug#7881)
1860 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1862         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1863         Don't move backward, so as not to fall in an inf-loop (bug#7736).
1865         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1866         Handle ?" and friends differently (e.g. don't use backrefs).
1868 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
1870         * calc/calc.el (calc-default-power-reference-level)
1871         (calc-default-field-reference-level): New variables.
1872         * calc/calc-units.el (math-standard-units): Add dB and Np.
1873         (math-logunits): New variable.
1874         (math-extract-logunits, math-logcombine, calcFunc-luplus)
1875         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1876         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1877         New functions.
1878         (math-find-base-units-rec): Add entry for ln(10).
1879         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1880         (calc-ul-prefix-help): New function.
1881         * calc/calc-ext.el (calc-init-extensions): Autoload new units
1882         functions.  Add keybindings for new units functions.
1884 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
1886         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1887         rcirc buffers.  (Bug#4940)
1889 2011-01-22  Glenn Morris  <rgm@gnu.org>
1891         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1892         split out from copyright-update-year.
1893         (copyright-update): Don't mess with the GPL version if we don't own the
1894         copyright.  Update license regexp, and remove no longer needed
1895         Esperanto stuff.
1896         (copyright-fix-years): Use copyright-find-copyright.
1898 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1900         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1902 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1904         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1905         (lm): Rename to landmark.
1906         (lm-test-run): Rename to landmark-test-run.
1908 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1910         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1911         "Case sensitive" menu item.
1913 2011-01-22  Roland McGrath  <roland@frob.com>
1915         * comint.el (comint-replace-by-expanded-history-before-point): Fix
1916         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1918 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1920         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1922 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1924         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1925         Assume foo(bar) is a manpage reference rather than some unquoted
1926         symbol (bug#7705).
1928 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1930         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1931         Suggested by Flo <sensorflo@gmail.com>.
1933 2011-01-22  Glenn Morris  <rgm@gnu.org>
1935         * progmodes/compile.el (compilation-error-regexp-alist):
1936         Fix custom type.  (Bug#7812)
1938 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
1940         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1941         allout-number-siblings, in keeping with what obtained due to
1942         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
1943         (prefixed) ?i.
1944         (allout-before-change-handler): Better expose spots affected by
1945         undo.
1947 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1949         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1951 2011-01-22  Phil Hagelberg  <phil@evri.com>
1953         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1954         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1955         (pcmpl-ssh-config-hosts): New function.
1956         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1957         pcmpl-ssh-known-hosts.
1959 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1961         * calc/calc-undo.el (calc-undo): Autoload it.
1962         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1963         and autoload for `calc-undo'.
1964         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1965         * calc/calc-prog.el:
1966         * calc/calc-graph.el:
1967         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1969 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
1971         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1972         keybindings to `calc-undo'.
1974 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1976         Don't mess with *temp*.
1977         * obsolete/spell.el: Move from textmodes/spell.el.
1978         (spell-string):
1979         * term.el (term-read-input-ring):
1980         * startup.el (display-startup-echo-area-message):
1981         * progmodes/antlr-mode.el (antlr-directory-dependencies):
1982         * comint.el (comint-read-input-ring): Use with-temp-buffer.
1983         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1984         point-min==1.
1986 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
1988         * allout.el (allout-institute-keymap): Use fset instead of
1989         reapplying defalias.
1991         (allout-hotspot-key-handler): Check for non-control-modified
1992         bindings for hotspot characters if there are no control-modified
1993         versions.
1995         * allout.el: Summary - migrate to defining allout mode using
1996         define-minor-mode instead of defun.  Significantly clean-up
1997         internal keymap provisions, refactoring and, in the process,
1998         removing a lot of accumulated cruft.
2000         allout-mode-map is now a keymap by virtue of being a defalias to
2001         allout-mode-map-value, which contains the actual keymap structure.
2003         (allout-mode): Use define-minor-mode rather than defun.
2004         Remove now-unnecessary minor-mode setup activities from the body.
2005         Specify :keymap as allout-mode-map so the minor-mode-map-alist
2006         entry will be '(allout-mode . allout-mode-map) - see
2007         allout-mode-map-value, below.  Adjust docstring to track changes.
2008         (allout-minor-mode): Remove this defalias, now that we're using
2009         define-minor-mode.
2010         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
2011         keymap is allout-mode-map-value, via defalias.
2012         (allout-mode-map-value): The variable holding the actual mode
2013         keymap structure, by virtue of defalias from allout-mode-map.
2014         (allout-compose-and-institute-keymap): Rename from
2015         allout-bind-keys, and including the binding-composition
2016         functionality of the former produce-allout-mode-map and
2017         allout-setup-mode-map.
2018         (allout-institute-keymap): Take over the "setup" part of the former
2019         allout-setup-mode-map.  Reassign allout-mode-map-value value and
2020         update the defalias.
2021         (allout-command-prefix, allout-prefixed-keybindings)
2022         (allout-unprefixed-keybindings):
2023         Use allout-compose-and-institute-keymap to process the bindings.
2024         (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2025         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2026         user can customize if they want to use that binding.
2027         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2028         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
2029         elided that, previously, instead of the one for \C-h.)
2030         (allout-hotspot-key-handler): Remove attempt to resolve the key
2031         through the literal key-string lookup on allout-keybindings-list.
2032         That probably hasn't worked for a Long Time, and removal of
2033         allout-keybindings-list further simplifies the keybindings situation.
2034         (allout-pre-command-business): Use allout-mode-map-value instead
2035         of allout-mode-map.
2036         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
2037         the bindings if they want to use a keybinding having a trailing
2038         \C-h.  No deprecation needed since this feature was never in a release.
2039         (allout-keybindings-list): Remove.  It's not been useful for a
2040         while.  (See allout-hotspot-key-handler changes, above.)
2041         (produce-allout-mode-map): Remove.  Consolidate into
2042         allout-compose-and-institute-keymap.
2043         (allout-mode-map-adjustments): Remove.  No longer necessary with
2044         removal of allout-preempt-trailing-ctrl-h.
2045         (allout-setup-mode-map): Remove.  Consolidate into
2046         allout-compose-and-institute-keymap and allout-institute-keymap.
2048 2011-01-20  Glenn Morris  <rgm@gnu.org>
2050         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2052         * simple.el (read-expression-history): Remove, it's in minibuf.c.
2054 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
2056         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2058         * files.el (find-alternate-file, basic-save-buffer)
2059         (basic-save-buffer-2, revert-buffer, recover-file)
2060         (kill-buffer-ask, abort-if-file-too-large)
2061         (set-visited-file-name, write-file, backup-buffer)
2062         (basic-save-buffer, save-some-buffers):
2063         * dired-aux.el (dired-compress-file): Callers changed.
2065 2011-01-19  Glenn Morris  <rgm@gnu.org>
2067         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2068         Also check the property status.  (Bug#7861)
2070 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
2072         * net/tramp.el (tramp-debug-message): Extend function exclude
2073         list.  Use `regexp-opt'.
2075 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2077         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2078         highlighting doesn't spill over subsequent lines.
2080         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2081         keymap expression.  Improve docstring.
2083         * electric.el (electric-indent-post-self-insert-function):
2084         Don't auto-indent for indent-to-left-margin, it's too often
2085         counter-productive.
2087 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
2089         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2090         spaces if the frame was resized, so that the full visible buffer
2091         serves as canvas for strokes.
2093 2011-01-16  Glenn Morris  <rgm@gnu.org>
2095         * info-xref.el (info-xref-docstrings): Replace cl function.
2096         Also skip directories.
2098 2011-01-16  Kevin Ryde  <user42@zip.com.au>
2100         * info-xref.el: Version 3.
2101         (info-xref-check, info-xref-check-all): Move commentary details
2102         into docstrings for better visibility.
2103         Use compilation-mode for the results buffer.
2104         (info-xref-output, info-xref-output-error, info-xref-with-output)
2105         (info-xref-filename, info-xref-in-progress):
2106         New internals for this.
2107         (info-xref-check-list, info-xref-check-buffer)
2108         (info-xref-check-all-custom): Use those.
2109         (info-xref-output-buffer): Rename from info-xref-results-buffer.
2110         (info-xref-output-heading): Rename from info-xref-filename-heading.
2111         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2112         (info-xref-filename-heading): Move to output managing section.
2113         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2114         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2115         (info-xref-subfile-p): Move to generic section with those two.
2116         (info-xref-check-node): New function split from
2117         info-xref-check-buffer, shared by info-xref-docstrings.
2118         (info-xref-goto-node-p): Move to a checking section with that func.
2119         (info-xref-unavail): New counter.
2120         (info-xref-check-node): Use it.
2121         (info-xref-with-output): Show count of unavailables at end of output.
2122         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
2123         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
2124         (info-xref-check-all-custom): Fix quietening viper-mode and
2125         gnus-registry-install -- use setq not let so as not to unbind
2126         after load.
2128 2011-01-16  Juri Linkov  <juri@jurta.org>
2130         * isearch.el (isearch-abort): Don't quit if search has
2131         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
2133 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
2135         * files.el (backup-buffer): Make last-resort backup file in
2136         .emacs.d (Bug#6953).
2138         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2139         make it with permission 700.
2141 2011-01-15  Kenichi Handa  <handa@m17n.org>
2143         * mail/rmailmm.el (rmail-mime-insert-header):
2144         Set rmail-mime-coding-system to a cons whose car is the last coding
2145         system used to decode the header.
2146         (rmail-mime-find-header-encoding): New function.
2147         (rmail-mime-insert-decoded-text):
2148         Override rmail-mime-coding-system if it is a cons.
2149         (rmail-show-mime): If only a header part was decoded, find the
2150         coding system while ignoring mm-charset-override-alist.
2152 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
2154         * subr.el (event-start, event-end): Doc fix (Bug#7826).
2156 2011-01-15  Kenichi Handa  <handa@m17n.org>
2158         * mail/rmailmm.el (rmail-mime-next-item)
2159         (rmail-mime-previous-item): Delete them.
2160         (rmail-mime-shown-mode): Recursively call for children.
2161         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2162         Callers changed.
2163         (rmail-mime-raw-mode): Recursively call for children.
2164         (rmail-mode-map): Change mapping of tab and backtab to
2165         forward-button and backward-button respectively.
2166         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2167         button.
2168         (rmail-mime-update-tagline): New function.
2169         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2170         body display is changed.
2171         (rmail-mime-toggle-button): Rename from rmail-mime-image.
2172         (rmail-mime-image): Delete this button type.
2173         (rmail-mime-toggle): New button type.
2174         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2175         body display is changed.  Change the save button label to "Save".
2176         Don't process show/hide button here.
2177         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2178         the body display is changed.  Unconditionally call
2179         rmail-mime-insert for children.
2180         (rmail-mime-handle): Update `display' vector of the just inserted
2181         entity.
2182         (rmail-mime-process): If mail-header-parse-content-type returns
2183         nil, use "text/plain" as the fallback type.
2184         (rmail-mime-insert): For raw-mode, recursively call
2185         rmail-mim-insert for children.
2186         (rmail-mime): Handle the case that the current buffer is not rmail
2187         buffer (e.g. in summary buffer).
2189 2011-01-15  Kenichi Handa  <handa@m17n.org>
2191         * mail/rmailmm.el (rmail-mime-next-item)
2192         (rmail-mime-previous-item): Skip the body of a non-multipart
2193         entity if a tagline is shown.
2195 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2197         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2198         (tmm-prompt): Simplify.
2199         (tmm-add-prompt): Remove unused var `win'.
2201         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2202         to minor mode which used nil accidentally to mean "turn off".
2204 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2206         * net/tramp-sh.el (tramp-find-inline-compress)
2207         (tramp-get-inline-coding): Quote command after pipe symbol for
2208         local calls under W32.  (Bug#6784)
2210 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2212         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2213         only when running under W32.
2215 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2217         * progmodes/grep.el (grep-compute-defaults): Quote the program
2218         file name after the pipe symbol in Grep templates.  (Bug#6784)
2219         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2221 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
2223         * buff-menu.el (Buffer-menu-buffer-list): New var.
2224         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2225         restricted buffer list is not lost on revert (Bug#7749).
2227 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
2229         * net/ldap.el (ldap-search-internal): Discard stderr output.
2231 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2233         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
2235 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2237         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2239 2011-01-15  Kenichi Handa  <handa@m17n.org>
2241         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2242         part as a plain text.
2243         (rmail-mime-process-multipart): Set the default content-type to
2244         nil for unknown multipart subtypes (bug#7651).
2246 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2248         * hexl.el (hexl-mode-old-*): Remove.
2249         (hexl-mode--old-var-vals): New var to replace them.
2250         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2251         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2252         Use them to set local vars (bug#7846).
2253         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2254         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2255         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2257         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2258         (smerge-resolve--normalize-re): New var.
2259         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2260         (smerge-resolve): Use them.
2261         * newcomment.el (comment-only-p): New function.
2262         (comment-or-uncomment-region): Use it.
2264 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
2266         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2267         table, get the value before switching to the output buffer.  (Bug#7733)
2269 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2271         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2273 2011-01-14  Kim F. Storm  <storm@cua.dk>
2275         * emulation/cua-base.el (cua--init-keymaps):
2276         Remap exchange-point-and-mark in cua-global-keymap.
2278 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
2280         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2281         loop keyword.
2283 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2285         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2286         Require CL.
2287         (easy-menu-create-menu, easy-menu-convert-item-1):
2288         Use :label rather than nil for labels.  Use `case'.
2289         Add :enable as alias for :active.
2290         (easy-menu-binding): Obey :label.
2292 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2294         Use run-mode-hooks for major mode hooks (bug#513).
2295         * textmodes/reftex-toc.el (reftex-toc-mode-map):
2296         Rename from reftex-toc-map.
2297         (reftex-toc-mode): Use define-derived-mode.
2298         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2299         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2300         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
2301         (reftex-select-label-mode, reftex-select-bib-mode):
2302         Use define-derived-mode.
2303         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2304         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2305         Move init into delcaration.
2306         (reftex-index-mode, reftex-index-phrases-mode):
2307         Use define-derived-mode.
2308         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2309         speedbar-syntax-table.  Move init into declaration.
2310         (speedbar-mode-map): Rename from speedbar-key-map.
2311         Move init into declaration.
2312         (speedbar-file-key-map): Move init into declaration.
2313         (speedbar-mode): Use define-derived-mode.
2314         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2315         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2316         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2317         (chart-face-list): Move initialization into declaration.
2318         (chart-mode): Use define-derived-mode.
2319         * calculator.el (calculator-mode-map): Move init into declaration.
2320         (calculator-mode): Use define-derived-mode.
2322         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2323         work for nested comments.
2325         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
2326         (prolog-use-prolog-tokenizer-flag): Change default when
2327         syntax-propertize can be used.
2328         (prolog-syntax-propertize-function): New var.
2329         (prolog-mode-variables): Move make-local-variable into `set'.
2330         Don't make comment-column local since we don't set it.
2331         Set comment-add (as it was in previous prolog.el).  Use dolist.
2332         Set syntax-propertize-function.
2333         (prolog-mode, prolog-inferior-mode):
2334         Call prolog(-inferior)-menu directly, not through the mode-hook.
2335         (prolog-buffer-module, prolog-indent-level)
2336         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2337         (prolog-comment-limits, prolog-goto-comment-column):
2338         Use line-(end|beginning)-position.
2339         (prolog-build-prolog-command): Tighten up regexp.
2340         (prolog-consult-compile): Move make-local-variable into `set'.
2341         (prolog-consult-compile-filter, prolog-goto-next-paren)
2342         (prolog-help-on-predicate, prolog-clause-info)
2343         (prolog-mark-predicate): Don't let+setq.
2344         (prolog-indent-line): Use indent-line-to.
2345         Only call prolog-goto-comment-column if necessary.
2346         (prolog-indent-level): Use bobp.
2347         (prolog-first-pos-on-line): Remove, not used any more.
2348         (prolog-in-string-or-comment): Use syntax-ppss if available.
2349         (prolog-help-on-predicate): Use read-string.
2350         (prolog-goto-predicate-info): Simplify.
2351         (prolog-read-predicate): Use `default' rather than `initial'.
2352         (prolog-temporary-file): Use make-temp-file to close a security hole.
2353         (prolog-toggle-sicstus-sd): New command.
2354         (prolog-electric-underscore, prolog-variables-to-anonymous):
2355         Use dynamic-scoping as it was meant.
2356         (prolog-menu): Move menu definitions to top-level.
2357         Use a toggle-button for Sicstus's source debugger.
2358         Change "Code" to the more usual "Prolog", and hence change "Prolog"
2359         to "System".
2360         (prolog-inferior-menu): Reuse prolog-menu's help menu.
2361         Move other menu definition to top-level.
2363 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2365         * doc-view.el (doc-view-open-text): Use meaningful text buffer
2366         name.  Keep original document's directory as default-directory
2367         (bug#6446).
2368         (doc-view-initiate-display): Fall back to normal mode when
2369         doc-view-mode cannot be enabled, also when extracting the document
2370         text into a separate buffer (bug#6446).
2372         * simple.el (shell-command): Don't error out if shell command
2373         buffer contains text with non-nil read-only property when erasing
2374         the buffer.
2376 2011-01-13  Kim F. Storm  <storm@cua.dk>
2378         * ido.el (ido-may-cache-directory): Move "too-big" check later.
2379         (ido-next-match, ido-prev-match): Fix stray reordering of matching
2380         items when cycling through the matches.
2382 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2384         * dired-x.el (dired-omit-verbose): New defcustom that allows
2385         disabling the omit messages.
2386         (dired-omit-expunge): Use it.
2388 2011-01-13  Christian Ohler  <ohler@gnu.org>
2390         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2392 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2394         * font-lock.el (font-lock-verbose): Default to nil.
2396 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2398         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2399         (compose-mail): New arg RETURN-ACTION.
2400         (compose-mail-other-window, compose-mail-other-frame): Likewise.
2402         * mail/sendmail.el (mail-return-action): New var.
2403         (mail-mode): Make it buffer-local.
2404         (mail-bury): Obey it.  Move special Rmail window handling to
2405         rmail-mail-return.
2406         (mail, mail-setup): New arg RETURN-ACTION.
2407         (sendmail-user-agent-compose): Move from simple.el.
2409         * mail/rmail.el (rmail-mail-return): New function.
2410         (rmail-start-mail): Pass it to compose-mail.
2412 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
2414         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2415         menus.  Add menu item for customize-themes.
2417         * cus-theme.el (customize-themes):
2418         * emacs-lisp/package.el (package--list-packages):
2419         Use switch-to-buffer.
2421 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
2423         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2425 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2427         * progmodes/prolog.el: Fix up coding convention and such.
2428         (prolog-indent-width): Use the same default as in
2429         previous prolog.el rather than tab-width which depends on which buffer
2430         is current when the file is loaded.
2431         (prolog-electric-newline-flag): Only enable if electric-indent-mode
2432         is not available.
2433         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
2434         (prolog-known-systems): Remove.
2435         (prolog-mode-syntax-table, prolog-inferior-mode-map):
2436         Move initialization into declaration.
2437         (prolog-mode-map): Move initialization into declaration.
2438         Remove system-specific mode-map vars, since they referred to the same
2439         keymap anyway.
2440         (prolog-mode-variables): Obey the user's preference w.r.t
2441         adaptive-fill-mode.  Prefer symbol-value to `eval'.
2442         (prolog-mode-keybindings-edit): Add compatibility bindings.
2443         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
2444         (mercury-mode-map): New var.
2445         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2446         (prolog-ensure-process, prolog-process-insert-string)
2447         (prolog-consult-compile): Use with-current-buffer.
2448         (prolog-guess-fill-prefix): Simplify data flow.
2449         (prolog-replace-in-string): New function to use instead of
2450         replace-in-string.
2451         (prolog-enable-sicstus-sd): Don't abuse `eval'.
2452         (prolog-uncomment-region): Use `uncomment-region' when available.
2453         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2454         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2455         of int-to-char and char-to-int.
2456         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2458 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
2460         * progmodes/prolog.el: Replace by a whole new file.
2462 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2464         * subr.el (eval-after-load): Fix timing for features (bug#7769).
2465         (declare-function, undefined, insert-for-yank)
2466         (replace-regexp-in-string): Follow checkdoc's recommendations.
2468 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2470         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2471         refreshing the diary buffer.
2473 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
2475         * allout.el: Add 2011 to the file copyright.
2476         (allout-encrypt-string): Prevent encryption from adding an extra
2477         newline at the end of the topic body.
2478         (allout-version): Increment to 2.3.
2480 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
2482         * net/dbus.el (dbus-unregister-service): Complete doc.
2483         Fix call of dbus-error signal.
2484         (dbus-register-property): Use `dont-register' keyword.
2486 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2488         * net/dbus.el (dbus-unregister-service): Translate returned
2489         integer into a symbol.
2490         (dbus-register-property): Use `dbus-register-service' to do the
2491         name registration.
2493 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2495         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2496         Suggested by Joakim Verona.
2498         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2500         * wid-edit.el (visibility): Replace :on-image and :off-image
2501         widget properties with :on-glyph and :off-glyph, for consistency
2502         with the `visibility' widget.
2503         (widget-toggle-value-create, widget-visibility-value-create):
2504         Merge into a single function `widget-toggle-value-create'.
2506         * cus-edit.el (custom-variable-value-create, custom-visibility)
2507         (custom-face-edit-value-create, custom-face-value-create):
2508         Replace :on-image and :off-image widget properties with :on-glyph and
2509         :off-glyph, for consistency with the `visibility' widget.
2511 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
2513         * net/ldap.el (ldap-search-internal): Don't use eval.
2515 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2517         * subr.el (read-char-choice): Use read-key.
2519         * custom.el (custom-safe-themes): Rename from
2520         custom-safe-theme-files.  Add :risky tag.
2521         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2522         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
2524 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2526         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
2527         from Search and add a label to Undo.
2529         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2530         inappropriate buttons and adding :vert-only tags.
2532         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2533         removal of Help tool-bar button.  Remove Undo button for space.
2535         * info.el (info-tool-bar-map): Add :vert-only tags.
2537 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
2539         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2540         image backend support.  Either of them is fine.
2542 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
2544         * subr.el (y-or-n-p): Doc fix.
2546         * custom.el (custom-safe-theme-files): New defcustom.
2547         (custom-theme-load-confirm): New function.
2548         (load-theme): Load theme using `load', confirming with
2549         custom-theme-load-confirm if necessary.
2551         * subr.el (read-char-choice): New function, factored out from
2552         dired-query and hack-local-variables-confirm.
2554         * dired-aux.el (dired-query):
2555         * files.el (hack-local-variables-confirm): Use it.
2557         * dired-aux.el (dired-compress-file):
2558         * files.el (abort-if-file-too-large, find-alternate-file)
2559         (set-visited-file-name, write-file, backup-buffer)
2560         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2561         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2562         Use new format string args for y-or-n-p and yes-or-no-p.
2564 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
2566         * progmodes/compile.el (compilation-error-regexp-alist-alist)
2567         [gcc-include]: Tighten file name match, add match for column
2568         number.  (Bug#7806)
2569         [gnu]: Remove unused group.
2571 2011-01-08  Glenn Morris  <rgm@gnu.org>
2573         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2575         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2577 2011-01-07  Sam Steingold  <sds@gnu.org>
2579         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2580         the `explicit-shell-file-name' because that is the
2581         non-interactive shell.
2583 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
2585         * subr.el (y-or-n-p): Accept format string args.
2587 2011-01-07  Glenn Morris  <rgm@gnu.org>
2589         * Makefile.in (EMACSOPT): Add --no-site-lisp.
2591 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
2593         * allout.el (allout-back-to-current-heading): Ensure return to
2594         the visible containing topic, rather than a collapsed one.
2595         (allout-view-change-hook): Remove hook that was deprecated long ago.
2596         (allout-exposure-change-hook): Remove documentation remarks
2597         concerning removed allout-view-change-hook.
2598         (allout-flag-region): Remove invocation of and documentation
2599         remarks concerning allout-view-change-hook.
2601 2011-01-06  Glenn Morris  <rgm@gnu.org>
2603         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2604         (vc-bzr-annotate-extract-revision-at-line):
2605         Handle authors with embedded spaces.  (Bug#7792)
2607 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
2609         * doc-view.el (doc-view-image-width): New variable.
2610         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2611         backend for PNG images, and do dynamic rescaling instead of
2612         reconverting the whole doc.
2614 2011-01-05  Glenn Morris  <rgm@gnu.org>
2616         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2618 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
2620         * allout.el: Reconcile with changes in line movement behavior for
2621         long text lines that cross more than a single physical window
2622         line, ie when truncate-lines is nil.
2623         (allout-next-visible-heading): Provide for change in line-move
2624         behavior on long lines when truncate-lines is nil.  In that case,
2625         line-move can wind up on the same textual line when it moves to
2626         the next window line, and moving to the bullet position after the
2627         move yields zero advancement.  Add logic to detect and compensate
2628         for the lack of progress.
2629         (allout-current-topic-collapsed-p): move-end-of-line respect for
2630         field boundaries is different when operating with body lines
2631         shorter than window width versus ones greater than window width,
2632         which can yield false negatives in this function.  Avoid
2633         difference by applying move-end-of-line while field-text-motion is
2634         inhibited.
2636 2011-01-04  Glenn Morris  <rgm@gnu.org>
2638         * textmodes/rst.el (rst-compile-toolsets):
2639         Add pdf and s5 to option alist.
2641 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2643         * net/dbus.el (dbus-register-property): Add optional parameter
2644         dont-register-service.  Updated docstring accordingly.
2646 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2648         * textmodes/rst.el (rst-compile-pdf-preview)
2649         (rst-compile-slides-preview): Remove extra line.
2651 2011-01-04  Glenn Morris  <rgm@gnu.org>
2653         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2654         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
2655         default to `prog' without a .py extension.
2656         (rst-compile-pdf-preview, rst-compile-slides-preview):
2657         Use program names from rst-compile-toolsets, rather than hard-coding.
2658         (rst-portable-mark-active-p): Fix presumed typo.
2660 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2662         * term/w32-win.el (dynamic-library-alist): Set up correctly for
2663         libpng versions both before and after 1.4.0.  (Bug#7716)
2665 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2667         * time.el (display-time-mode): Mention display-time-interval in
2668         the doc string.  (Bug#7713)
2670 2011-01-02  Kenichi Handa  <handa@m17n.org>
2672         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2673         condition-case and return an error message string if something
2674         goes wrong.
2675         (rmail-show-mime): Adjust for the above change.  Insert the
2676         header by rmail-mime-insert-header.
2678 2011-01-02  Kenichi Handa  <handa@m17n.org>
2680         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2681         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2682         (rmail-mime-mbox-buffer)
2683         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2684         (rmail-mime-entity): Argument changed.  All codes handling an
2685         entity object are changed.
2686         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2687         the above change.
2688         (rmail-mime-entity-children, rmail-mime-entity-handler)
2689         (rmail-mime-entity-tagline): New functions.
2690         (rmail-mime-message-p): New function.
2691         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2692         (rmail-mime-entity-segment, rmail-mime-next-item)
2693         (rmail-mime-previous-item, rmail-mime-shown-mode)
2694         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2695         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2696         (rmail-mime-insert-tagline, rmail-mime-insert-header):
2697         New functions.
2698         (rmail-mime-text-handler): Call rmail-mime-insert-text.
2699         (rmail-mime-insert-decoded-text): New function.
2700         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2701         (rmail-mime-insert-image): Argument changed.  Caller changed.
2702         (rmail-mime-image): Call rmail-mime-toggle-hidden.
2703         (rmail-mime-set-bulk-data): New function.
2704         (rmail-mime-insert-bulk): Argument changed.
2705         (rmail-mime-multipart-handler): Return t.
2706         (rmail-mime-process-multipart): Argument changed.
2707         Handle "multipart/alternative" here.
2708         (rmail-mime-process): Argument changed.
2709         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2710         (rmail-mime-insert): Argument changed.  Handle raw display mode.
2711         (rmail-mime): Argument changed.  Handle toggling of raw display
2712         mode.
2713         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2714         rmail-mime-view-buffer.
2715         (rmail-insert-mime-forwarded-message): Likewise.
2716         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
2718         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2719         non-nil, handle the header in rmail-show-mime-function.
2721 2011-01-02  Leo  <sdl.web@gmail.com>
2723         * help-fns.el (describe-variable): Fix previous change.
2725 2011-01-02  Juri Linkov  <juri@jurta.org>
2727         * isearch.el (isearch-lazy-highlight-error): New variable.
2728         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2729         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
2730         to the current value of `isearch-error' (Bug#7468).
2732 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2734         * help-fns.el (describe-variable): Don't emit trailing whitespace
2735         (Bug#7511).
2737 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2739         * textmodes/rst.el (rst-compile-pdf-preview)
2740         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2742 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
2744         * emulation/edt-mapper.el: Override mapping of function keys so
2745         that the later call to read-key-sequence works.
2747 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2749         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2750         Unix EOLs.  (Bug#7589)
2752 2011-01-02  Leo  <sdl.web@gmail.com>
2754         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2755         if point is not behind eshell-last-output-end (Bug#7585).
2757 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2759         * files.el (file-local-variables-alist):
2760         Make permanent-local (bug#7767).
2762 2011-01-02  Glenn Morris  <rgm@gnu.org>
2764         * version.el (emacs-copyright): Set short copyright year to 2011.
2766 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2768         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2769         an existing temp buffer.  (Bug#7746)
2771 2011-01-02  Glenn Morris  <rgm@gnu.org>
2773         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2774         multiple addresses.  (Bug#7760)
2776 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
2778         * allout.el (allout-auto-fill): Do not infinitely recurse - use
2779         do-auto-fill if everything points back to allout-auto-fill.
2780         (allout-mode-deactivate-hook): Declare obsolete, in favor of
2781         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2783 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
2785         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2786         and "scpx".
2788 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2790         * doc-view.el (doc-view-set-doc-type): New function refactored
2791         from doc-view-mode.
2792         (doc-view-fallback-mode): New function.
2793         (doc-view-mode): Use it.
2794         (doc-view-mode-maybe): New function that checks if doc-view-mode
2795         can be used and falls back to the next best mode otherwise.
2797         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2798         DVI, OpenDocument, and MS Office files.
2800 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
2802         * emacs-lisp/rx.el (rx-syntax): Fix typo.
2804 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2806         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2807         on a copy of auto-mode-alist, because that deletes with side
2808         effects.
2810 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2812         * doc-view.el (doc-view-mode, doc-view-toggle-display):
2813         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2814         fallback instead of hard coding fundamental mode.
2816 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2818         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2819         Office) files also for searching.
2821 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2823         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2824         Office) files.  Not yet enabled via auto-mode-list.
2825         (doc-view-unoconv-program): New custom variable.
2826         (doc-view-mode-p): Handle new odf document type.
2827         (doc-view-odf->pdf): New conversion function.
2828         (doc-view-convert-current-doc): Call it for odf files.
2829         (doc-view-mode): Recognize newly supported file extensions.
2831 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
2833         * net/tramp.el (tramp-default-method-alist)
2834         (tramp-default-user-alist)
2835         (tramp-local-host-regexp, tramp-prefix-domain-format)
2836         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2838         * net/tramp-ftp.el:
2839         * net/tramp-gvfs.el:
2840         * net/tramp-gw.el:
2841         * net/tramp-imap.el:
2842         * net/tramp-sh.el:
2843         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2844         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2846 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
2848         * saveplace.el (save-place-alist-to-file): Save list sorted and
2849         pretty-printed, so that it is mergeable by line-based text merging,
2850         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2852 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
2854         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2855         (allout-mode): Argument "toggle" => "force".
2856         Refine the docstring.
2857         Remove special provisions for reactivation, besides the 'force'
2858         argument.
2859         Consolidate layout provisions coce directly into the activation
2860         condition branch, now that we've removed those provisions.
2861         (allout-unload-function): Explicitly activate the mode before
2862         deactivating, if it's initially deactivated.
2863         (allout-set-buffer-multibyte): Properly prevent byte-compiler
2864         warnings for version of function used only where
2865         set-buffer-multibyte is unavailable.
2867 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
2869         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2870         are handled by the menu-bar entries.  As before, don't use
2871         :visibile to avoid changing the tool-bar.
2873 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2875         * net/secrets.el (secrets-delete-alias): New defun.
2877 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2879         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2880         methods, otherwise ~/.ssh/config would be ignored.
2882 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2884         * emacs-lisp/rx.el: Make it a superset of sregex.
2885         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2886         of args, add `regex' alias.
2887         (rx-info): Add arg to distinguish head and standalone forms.
2888         (rx-check, rx-form): Pass the corresponding arg.
2889         (rx-**): Simplify.
2890         (rx-repeat): Make it work for any number of args.
2891         (rx-syntax): Make it accept syntax chars as is.
2892         * obsolete/sregex.el: Move from emacs-lisp/.
2893         * emacs-lisp/re-builder.el: Remove sregex support.
2894         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2896 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
2898         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2899         PRIMARY first, then the clipboard.  (Bug#7699)
2901 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2903         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2904         print-number-table.
2906 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
2908         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2909         .emacs.elc (Bug#7530).
2911         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2912         image spec (Bug#7480).
2914 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
2916         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2917         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2918         Move from lisp/.
2920 2010-12-20  Leo  <sdl.web@gmail.com>
2922         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2923         always be performed (Bug#7680).
2925 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
2927         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2928         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
2929         mouse-region-match.
2931         * color.el: Move from gnus/.
2933         * vc/diff.el (diff-better-file-name): Function deleted.
2934         abbreviating file names causes problems with shell-quote-argument.
2935         (diff-no-select): Just use expand-file-name.
2937         * tool-bar.el (tool-bar--image-expression): New function.
2938         (tool-bar-local-item, tool-bar--image-exp): Use it.
2939         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2940         Use :enable instead of :visible to avoid changing the tool-bar
2941         configuration unnecessarily.
2943         * info.el (info-tool-bar-map): Add separators.
2945 2010-12-17  Ken Brown  <kbrown@cornell.edu>
2947         * loadup.el: Use version numbers in Cygwin build.
2949 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
2951         * ido.el (ido-file-internal): Ask for confirmation before
2952         overwriting an existing file (Bug#1238).
2954 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
2956         * tool-bar.el (tool-bar-setup): Add separators.
2958         * menu-bar.el (featurep): Use menu-bar-separator.
2960 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
2962         Migrate allout encryption provisions from pgg to epg.
2964         * allout.el (allout-toggle-current-subtree-encryption)
2965         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2966         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
2967         for simpler universal argument interpretation.
2968         (allout-toggle-subtree-encryption): Adjust docstring to describe
2969         changed encryption provisions.  Change fetch-pass to keymode-cue, for
2970         simpler universal argument interpretation.  Remove provisions for
2971         handling key type and identity - they'll all be within
2972         allout-encrypt-string or epg/epg or even contained all the way in gpg.
2973         (allout-encrypt-string): Include keymode-cue, for optionally prompting
2974         for keypair recipients (universal argument > 1) and, in addition,
2975         associating the specified recipients with the outline (universal
2976         argument > 4) using a file local variable setting for
2977         'epa-file-encrypt-to'.
2978         Require epa, for recipients handling.
2979         Change how regexp filtering elements are named.
2980         Describe the problem with caching of incorrect symmetric-decryption
2981         keys.
2982         Use the epa-passphrase-callback-function, in case the user is using
2983         GnuPG v1.
2984         Support saving of the selected keypair recipients when invoked with a
2985         keymode-cue > 4.
2986         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2987         Require 'epa.
2988         Establish epg-context with armoring and default epg-protocol.
2989         Remove all passphrase cache, verification, and hinting code.
2990         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2991         No longer used, delete.
2992         (allout-mode): Adjust docstring to describe changed encryption
2993         provisions.  Describe the problem with caching of incorrect
2994         symmetric-decryption keys.
2995         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2996         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2997         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2998         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2999         Obsolete, remove.
3001 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
3003         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3004         key selection prompt; make 'silent as default (Bug#7487).
3006 2010-12-16  Leo  <sdl.web@gmail.com>
3008         * eshell/eshell.el (eshell-directory-name):
3009         Use locate-user-emacs-file (Bug#7578).
3011 2010-12-15  Glenn Morris  <rgm@gnu.org>
3013         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3015 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
3016             Scott Evans  <gse@antisleep.com>
3018         * rect.el (rectange--default-line-number-format)
3019         (rectangle-number-line-callback): New functions.
3020         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3022 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
3024         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3025         Delete unused variables.
3026         (move-to-column-force): Remove function obsolete since 21.2.
3028 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
3030         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3031         (tramp-handle-insert-file-contents): Do not set permanent-local
3032         property.
3034         * net/tramp-cache.el (tramp-persistency-file-name):
3035         Use `locate-user-emacs-file' if fboundp.
3037         * net/tramp-sh.el (tramp-methods): Add "ksu".
3038         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
3039         method list.
3041 2010-12-14  Glenn Morris  <rgm@gnu.org>
3043         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3044         (find-tag-marker-ring): Declare.
3045         (js-find-symbol): Require etags.
3047         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3048         Require mail-utils.
3049         (mail-alias-file): Don't autoload.  Doc fix.
3050         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3051         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
3052         Mark as obsolete, and risky.
3053         (mail-setup): Simplify.
3055         * mail/mailalias.el (build-mail-aliases): Make it interactive.
3056         * mail/sendmail.el (build-mail-aliases): Update autoload.
3058         * dired.el (dired-trivial-filenames, dired-chown-program)
3059         (dired-auto-revert-buffer): Remove autoload cookies.
3060         * mail/sendmail.el (mail-recover-1): Require 'dired.
3062         * dired.el (dired-subdir-switches, dired-chown-program)
3063         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3064         Make into defcustoms.
3065         (dired-chown-program): Simplify initialization.
3067         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3069 2010-12-13  Romain Francoise  <romain@orebokech.com>
3071         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3073 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3075         * net/netrc.el (netrc-point-at-eol): Remove the unused
3076         netrc-point-at-old and netrc-bound-and-true-p bindings.
3077         (netrc-parse): Cache the netrc contents.
3079 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3081         * subr.el (posn-col-row): Evaluate header-line-format in the
3082         context of the POSITION window's buffer.
3084 2010-12-13  Glenn Morris  <rgm@gnu.org>
3086         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3087         (with-silent-modifications): Doc fixes.
3089 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3091         * net/tramp.el (tramp-action-password, tramp-process-actions):
3092         Revert previous from.  Use `save-restriction'.
3094 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
3096         * calendar/diary-lib.el (diary-list-sexp-entries):
3097         Handle case of no newline at end of file.  (Bug#7536)
3099 2010-12-13  Glenn Morris  <rgm@gnu.org>
3101         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3103 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3105         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3106         (tramp-process-actions): Do not widen.
3108         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3109         Protect buffer-modified value.  (Bug#7557)
3111 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
3113         * log-edit.el (log-edit-changelog-entries):
3114         Regexp quote filename.  (Bug#7505)
3116 2010-12-13  Tom Breton  <tehom@panix.com>
3118         * cus-edit.el (custom-save-all):
3119         Bind print-length and print-level to nil.  (Bug#7581)
3121 2010-12-13  Glenn Morris  <rgm@gnu.org>
3123         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3124         Run hooks to update menu contents.  (Bug#7586)
3126         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3127         file names, for the sake of MS Windows.  (Bug#7588)
3129 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3131         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3132         empty lines without a leading space.
3134 2010-12-13  Leo  <sdl.web@gmail.com>
3136         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3137         while mapping over marks (Bug#6810).
3139 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3141         * image-dired.el (image-dired-db-file)
3142         (image-dired-temp-image-file, image-dired-gallery-dir)
3143         (image-dired-temp-rotate-image-file): Set default values relative
3144         to image-dired-dir (Bug#7518).
3146 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
3148         * format.el (format-decode-run-method): Pass args FROM and TO, not
3149         point-min and point-max, to shell-command-on-region (Bug#7488).
3151 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
3153         * frame.el (blink-cursor-mode): Make default t for ns.
3155 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3157         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3159 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3161         * comint.el (comint-dynamic-list-input-ring)
3162         (comint-dynamic-complete-filename)
3163         (comint-replace-by-expanded-filename)
3164         (comint-dynamic-simple-complete)
3165         (comint-dynamic-list-filename-completions)
3166         (comint-dynamic-list-completions): Doc fix (Bug#7499).
3168         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3169         Doc fix (Bug#7471).
3171 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
3173         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3174         (Bug#7533).
3176 2010-12-13  W. Martin Borgert  <debacle@debian.org>  (tiny change)
3178         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3179         (Bug#7491).
3181 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3183         * files.el (file-relative-name): Handle UNC file names on
3184         DOS/Windows.  (Bug#4674)
3186 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
3188         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3189         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3190         (epg-context-set-passphrase-callback): Mention that the callback
3191         is not called when used with GnuPG 2.x.
3193 2010-12-13  Glenn Morris  <rgm@gnu.org>
3195         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3196         Ensure ps-footer-font-size-internal is initialized.
3197         Call ps-get-page-dimensions before trying to use ps-font-for-text.
3199 2010-12-13  Kenichi Handa  <handa@m17n.org>
3201         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3202         within condition-case.
3203         (rmail-show-mime): Don't use condition-case.
3204         (rmail-search-mime-message): New function.
3205         (rmail-search-mime-message-function): Set to
3206         rmail-search-mime-message.
3208 2010-12-13  Leo  <sdl.web@gmail.com>
3210         * ido.el (ido-common-initialization): New function.  (bug#3274)
3211         (ido-mode): Use it.
3212         (ido-completing-read): Call it.
3214 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
3216         * bookmark.el (bookmark-name-from-full-record): Rename back to
3217         this original name from `bookmark-name-from-record' reverting part
3218         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3219         As Drew Adams pointed out, there was no reason to cause churn for
3220         third-party callers.  (Bug#7609)
3222 2010-12-12  Alan Mackenzie  <acm@muc.de>
3224         * progmodes/cc-engine.el (c-forward-type): Before scanning a
3225         template arglist, check that the current language supports this.
3227 2010-12-11  Glenn Morris  <rgm@gnu.org>
3229         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3230         state of the file matches.  (Bug#7544)
3231         (vc-bzr-register, vc-bzr-checkin)
3232         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3233         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3235         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3237 2010-12-11  Karel Klíč  <kklic@redhat.com>
3239         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
3241 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3243         Derive from prog-mode, use derived-mode-p, and fix up various
3244         minor style issues in lisp/progmodes.
3246         * progmodes/vhdl-mode.el (vhdl-mode):
3247         * progmodes/verilog-mode.el (verilog-mode):
3248         * progmodes/vera-mode.el (vera-mode):
3249         * progmodes/sql.el (sql-mode):
3250         * progmodes/scheme.el (scheme-mode):
3251         * progmodes/perl-mode.el (perl-mode):
3252         * progmodes/octave-inf.el (inferior-octave-mode):
3253         * progmodes/autoconf.el (autoconf-mode):
3254         * progmodes/m4-mode.el (m4-mode):
3255         * progmodes/inf-lisp.el (inferior-lisp-mode):
3256         * progmodes/idlwave.el (idlwave-mode):
3257         * progmodes/icon.el (icon-mode):
3258         * progmodes/idlw-help.el (idlwave-help-mode):
3259         * progmodes/dcl-mode.el (dcl-mode):
3260         * progmodes/idlw-shell.el (idlwave-shell-mode):
3261         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3262         (ebrowse-member-mode, ebrowse-electric-position-mode):
3263         Use define-derived-mode.
3265         * progmodes/xscheme.el (exit-scheme-interaction-mode)
3266         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3267         (xscheme-debugger-mode-p, xscheme-send-string-1):
3268         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3269         (tcl-load-file, tcl-restart-with-file):
3270         * progmodes/ps-mode.el (ps-run-running):
3271         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3272         * progmodes/js.el (js--get-all-known-symbols):
3273         * progmodes/inf-lisp.el (inferior-lisp-proc):
3274         * progmodes/idlwave.el (idlwave-beginning-of-statement)
3275         (idlwave-template, idlwave-update-buffer-routine-info)
3276         (idlwave-update-current-buffer-info)
3277         (idlwave-get-routine-info-from-buffers, idlwave-choose)
3278         (idlwave-scan-class-info, idlwave-fix-keywords)
3279         (idlwave-list-buffer-load-path-shadows):
3280         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3281         (idlwave-toolbar-remove):
3282         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3283         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3284         (idlwave-shell-menu-def):
3285         * progmodes/idlw-complete-structtag.el
3286         (idlwave-prepare-structure-tag-completion):
3287         * progmodes/gud.el (gud-set-buffer):
3288         * progmodes/f90.el (f90-backslash-not-special):
3289         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3291         * progmodes/xscheme.el (xscheme-start)
3292         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3293         * progmodes/which-func.el (which-function):
3294         * progmodes/vhdl-mode.el (vhdl-set-style):
3295         * progmodes/verilog-mode.el (verilog-set-compile-command)
3296         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3297         (verilog-set-define, verilog-auto-reeval-locals):
3298         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3299         * progmodes/simula.el (simula-mode):
3300         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3301         * progmodes/python.el (python-check, python-mode):
3302         * progmodes/prolog.el (prolog-mode-variables):
3303         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3304         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3305         * progmodes/delphi.el (delphi-mode):
3306         * progmodes/cc-styles.el (c-setup-paragraph-variables):
3307         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3308         (c-font-lock-init): Move make-local-variable to their setq.
3310         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3311         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3312         make-local-hook.
3313         * progmodes/sh-script.el (sh-require-final-newline): Remove.
3314         (sh-set-shell): Don't set require-final-newline since it's already done
3315         by prog-mode.
3316         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3317         since we never set it.
3318         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3319         Use read-string and standard prompt.
3320         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3321         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3322         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3323         (meta-common-mode-map): Rename from meta-mode-map.
3324         Remove C-m binding, which is a user preference, not mode specific.
3325         (meta-common-mode): New major mode; replace meta-common-initialization.
3326         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3327         around with font-lock.
3328         * progmodes/etags.el (select-tags-table-mode):
3329         Derive from special-mode.
3330         * progmodes/octave-mod.el (octave-mode):
3331         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3332         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3333         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3334         Let define-derived-mode do its job.
3335         * progmodes/cpp.el (cpp-edit-mode-map):
3336         Move initialization into declaration.
3337         (cpp-edit-mode): Use define-derived-mode.
3338         (cpp-edit-load): Use derived-mode-p.
3339         * progmodes/mixal-mode.el (mixal-mode):
3340         * progmodes/f90.el (f90-mode):
3341         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3342         require-final-newline since prog-mode does it already.
3343         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3344         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3345         * progmodes/antlr-mode.el: Require cc-mode upfront.
3346         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3347         the declaration.
3348         (antlr-directory-dependencies, antlr-show-makefile-rules):
3349         Use derived-mode-p.
3350         (antlr-language-option): Don't assume point-min==1.
3351         (antlr-mode): Use define-derived-mode.
3352         * progmodes/ada-mode.el: Use derived-mode-p.
3353         (ada-mode): Use define-derived-mode.
3354         Use hack-local-variables-hook.
3356 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3358         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3359         (texinfo-mode): Don't disable adaptive-fill-mode.
3360         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3361         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3362         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3363         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3364         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3365         (texinfo-insert-@quotation, texinfo-insert-@samp)
3366         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3367         (texinfo-insert-@uref): Use define-skeleton.
3368         (texinfo-insert-@-with-arg): Delete.
3370 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
3372         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3373         nil, do quote archive member names.  (Bug#6144)
3375 2010-12-10  Glenn Morris  <rgm@gnu.org>
3377         * files.el (diff-no-select): Declare.
3379         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3380         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3382         * comint.el (comint-input-ring-file-name): Doc fix.
3384 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
3386         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3387         New functions.
3388         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3389         Use them instead of `nil' and `>', respectively.
3390         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3391         instead of `nil'.
3392         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3393         and menu-bar-positive-p instead of `nil' and `>', respectively.
3394         (Bug#1077)
3396 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3398         * whitespace.el (whitespace-newline-mode): Code fix.
3400 2010-12-09  Glenn Morris  <rgm@gnu.org>
3402         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3403         Rename functions without commas, update callers.
3405 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
3407         * whitespace.el (whitespace-cleanup-region):
3408         Clean up spaces before tabs.  (Bug#7582)
3410 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
3412         * bookmark.el: Adjust parameter names and doc strings to resolve
3413         confusion over whether "bookmark" meant a bookmark name or a
3414         bookmark record.  Along the way, shorten one function's name for
3415         similar reasons.  (Issue #7548)
3416         (bookmark-name-from-record): New name for
3417         `bookmark-name-from-full-record'.  All callers changed.
3418         (bookmark-get-bookmark, bookmark-get-bookmark-record)
3419         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3420         (bookmark-get-annotation, bookmark-set-annotation)
3421         (bookmark-get-filename, bookmark-set-filename)
3422         (bookmark-get-position, bookmark-set-position)
3423         (bookmark-get-front-context-string, bookmark-set-front-context-string)
3424         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3425         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3426         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3427         Rename `bookmark' parameter to `bookmark-name-or-record', to
3428         clearly show its role, and shorten or adjust doc strings accordingly.
3429         (bookmark-set-name): Same, and pass the parameter directly to
3430         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3431         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3432         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3433         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3434         and in some cases shorten doc string accordingly.
3435         (bookmark-rename): Change `old' and `new' parameters to `old-name'
3436         and `new-name', and adjust an internal variable to avoid confusion.
3437         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3438         parameter in doc string.
3440 2010-12-08  Glenn Morris  <rgm@gnu.org>
3442         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3443         from gdb's history file.  (Bug#7575)
3445         * mail/emacsbug.el (report-emacs-bug):
3446         Try to handle some other mail clients.
3448 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3450         * files.el (dir-locals-collect-variables): Don't let errors stop us.
3451         Use string-prefix-p.
3452         (file-name-version-regexp): New var.
3453         (file-name-sans-versions):
3454         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3455         (jka-compr-get-compression-info): Use dolist.
3456         (jka-compr-compression-info-list): Don't bother specifying
3457         version/backup regexps.
3459 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
3461         * simple.el (just-one-space): Make argument n default to 1 if
3462         omitted.
3464 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3466         * electric.el (electric-indent-post-self-insert-function):
3467         Delete trailing newlines even if we don't reindent.
3469 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3471         * minibuffer.el (completion-at-point): Remove the `arg'.
3472         * bindings.el (complete-symbol): Move back from minibuffer.el.
3474 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3476         * simple.el (just-one-space): Delete newlines for negative arg.
3478 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3480         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3481         (ansi-color-filter-apply): Simplify.
3482         (ansi-color-apply): Use `font-lock-face' rather than `face'.
3484 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3486         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3488 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
3490         * dired.el (dired-use-ls-dired): Set default to a special
3491         "unspecified" value.
3492         (dired-insert-directory): When called the first time, check
3493         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3495 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
3497         * replace.el: Add "collect" feature to occur.
3498         (occur-collect-regexp-history): New var.
3499         (occur-read-primary-args): Return a replace string for nlines,
3500         if needed.
3501         (occur): Extend the meaning of nlines.
3503 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3505         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3506         (which-func-update-1): Distinguish symbols from strings.
3507         (which-function): Stay within 80 columns.
3509 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3511         * subr.el (with-demoted-errors): Distinguish symbols from strings.
3513         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3514         Improve docstring.
3515         (comment-style): Use comment-styles's docs to describe values.
3517 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
3519         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3520         and ns-show-prefs (Bug#7535).
3522         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3523         bindings (Bug#7535).
3525 2010-12-03  Glenn Morris  <rgm@gnu.org>
3527         * nxml/nxml-mode.el: Require rng-nxml.
3528         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3529         Remove declarations.
3531         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3532         * nxml/rng-nxml.el, nxml/rng-valid.el:
3533         Remove leading `*' from defcustom docs.
3535         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3536         (normal-top-level-add-to-load-path, tty-handle-args):
3537         Convert comments to basic doc-strings.
3539         * net/browse-url.el (browse-url-url-at-point)
3540         (browse-url-default-browser): Remove autoload cookies.
3542         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3543         Remove more undefined cl functions.
3545         * vc/diff.el (diff-sentinel): Make new arguments optional.
3546         * ibuf-ext.el (diff-sentinel): Update declaration.
3548 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
3550         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3551         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3552         (epg-context-set-passphrase-callback): Mention that the callback
3553         is not called when used with GnuPG 2.x.
3555 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
3557         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3558         (tramp-file-name-port): Check also for `tramp-default-port'.
3559         (tramp-get-connection-name): New defun.
3560         (tramp-get-connection-process): Use it.
3561         (tramp-debug-message): Extend function exclude list.
3562         (tramp-drop-volume-letter): Fix doc string.
3564         * net/tramp-cmds.el: Remove solved todo item.
3566         * net/tramp-ftp.el:
3567         * net/tramp-gvfs.el:
3568         * net/tramp-gw.el:
3569         * net/tramp-imap.el:
3570         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3571         and `tramp-default-user-alist', respectively.
3573         * net/tramp-gw.el (tramp-gw-open-connection):
3574         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3576         * net/tramp-imap.el (tramp-imap-make-iht): Use just
3577         `tramp-file-name-port'.
3579         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3580         and "psftp".  Exchange "%k" marker with options.
3581         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3582         Compute size of link target.
3583         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3584         `tramp-current-*' up due to gateway methods.  Optimize computing of
3585         copy arguments.  Use `tramp-get-connection-name' and
3586         `tramp-get-connection-buffer'.  Improve debug messages.
3587         (tramp-compute-multi-hops): Remove port determination.
3588         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3590         * net/trampver.el: Update release number.
3592 2010-12-02  Glenn Morris  <rgm@gnu.org>
3594         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3595         Avoid infinite loop over windows.  (Bug#7492)
3597         * progmodes/flymake.el (flymake-check-file-limit):
3598         Allow nil to mean "no limit".
3599         (flymake-check-patch-master-file-buffer): Update for above change.
3600         Allow a .tex file-name extension to be optional.
3601         (flymake-master-tex-init): Also match \include statements.
3603 2010-11-30  Sam Steingold  <sds@gnu.org>
3605         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3606         (nxml-parent-document-set): A function to set `nxml-parent-document'.
3607         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3608         (nxml-mode-hook): Remove `defcustom' (auto-defined by
3609         define-derived-mode').
3610         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3611         users who want to call `nxml-parent-document-set'.
3613 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3615         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3616         stand-alone lines, since that is handled by log-edit-match-to-eoh
3617         (Bug#6465).
3619 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
3621         * dired.el (dired-get-filename): Replace backslashes with slashes
3622         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
3623         * locate.el (locate-default-make-command-line): Don't consider
3624         drive letter and root directory part of
3625         `directory-listing-before-filename-regexp'.  (Bug#7308)
3626         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3628 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3630         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3631         of :smie-open/close-alist.
3632         (smie-next-sexp): Make it accept a "start token" as argument.
3633         (smie-indent-keyword): Be careful not to misidentify tokens that span
3634         more than one line, as empty lines.  Add argument `token'.
3636 2010-11-27  Kenichi Handa  <handa@m17n.org>
3638         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3639         multipart subtypes, insert all as usual.
3641         * mail/rmail.el: Require rfc2047.
3643 2010-11-27  Kenichi Handa  <handa@m17n.org>
3645         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3646         (rmail-mime-entity-disposition)
3647         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3648         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3649         (rmail-mime-save): Handle the case that the button's `data' is a
3650         MIME entity.
3651         (rmail-mime-insert-text): New function.
3652         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3653         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3654         (rmail-mime-insert-bulk): New function mostly copied from the old
3655         rmail-mime-bulk-handler.
3656         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3657         (rmail-mime-process-multipart): New function mostly copied from
3658         the old rmail-mime-multipart-handler.
3659         (rmail-mime-show): Just call rmail-mime-process.
3660         (rmail-mime-process): New function mostly copied from the old
3661         rmail-mime-show.
3662         (rmail-mime-insert-multipart, rmail-mime-parse)
3663         (rmail-mime-insert, rmail-show-mime)
3664         (rmail-insert-mime-forwarded-message)
3665         (rmail-insert-mime-resent-message): New functions.
3666         (rmail-insert-mime-forwarded-message-function): Set to
3667         rmail-insert-mime-forwarded-message.
3668         (rmail-insert-mime-resent-message-function): Set to
3669         rmail-insert-mime-resent-message.
3671         * mail/rmailsum.el: Require rfc2047.
3672         (rmail-header-summary): Handle multiline Subject: field.
3673         (rmail-summary-line-decoder): Change the default to
3674         rfc2047-decode-string.
3676         * mail/rmail.el (rmail-enable-mime): Change the default to t.
3677         (rmail-mime-feature): Change the default to `rmailmm'.
3678         (rmail-quit): Delete the specifal code for rmail-enable-mime.
3679         (rmail-display-labels): Likewise.
3680         (rmail-show-message-1): Check rmail-enable-mime, and use
3681         rmail-show-mime-function for a MIME message.  Decode the headers
3682         according to RFC2047.
3684 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3686         * progmodes/which-func.el (which-func-imenu-joiner-function):
3687         Return a string, as expected.
3688         (which-function-mode): Make sure we stop any previous timer before
3689         starting a new one.
3691 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
3693         * net/tramp.el (tramp-default-method-alist)
3694         (tramp-default-user-alist, tramp-default-proxies-alist):
3695         Adapt custom options type.  (Bug#7445)
3697 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3699         * progmodes/python.el: Add Ipython support (Bug#5390).
3700         (python-shell-prompt-alist)
3701         (python-shell-continuation-prompt-alist): New options.
3702         (python--set-prompt-regexp): New function.
3703         (inferior-python-mode, run-python, python-shell):
3704         Require ansi-color.  Use python--set-prompt-regexp to set the comint
3705         prompt based on the Python interpreter.
3706         (python--prompt-regexp): New var.
3707         (python-check-comint-prompt)
3708         (python-comint-output-filter-function): Use it.
3709         (run-python): Use a pipe (Bug#5694).
3711 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3713         * progmodes/python.el (run-python): Doc fix.
3714         (python-keep-current-directory-in-path): New var (Bug#7454).
3716 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3718         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3719         Prompt user before actually printing.
3721 2010-11-27  Glenn Morris  <rgm@gnu.org>
3723         * startup.el (package-enable-at-startup, package-initialize):
3724         Remove unnecessary declarations.
3726 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
3728         * international/characters.el (glyphless-char-display-control):
3729         Exclude newline and TAB from the c0-control group.
3731 2010-11-27  Glenn Morris  <rgm@gnu.org>
3733         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3734         (expand-mail-aliases): Remove unnecessary autoload.
3736         * allout.el (allout-command-prefix, allout-mode-map): Declare.
3738         * shell.el (shell-dir-cookie-re): Move definition before use.
3740         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3741         Replace undefined CL functions.
3743 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
3745         * simple.el (prog-mode): Set bidi-paragraph-direction to
3746         left-to-right.
3748         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3750 2010-11-26  Glenn Morris  <rgm@gnu.org>
3752         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3753         diary-outlook-formats can be sensitive to calendar-date-style.
3754         (diary-outlook-formats): Simplify the default setting.
3755         (diary-from-outlook-internal): Pass subject and body as arguments.
3756         Use dolist rather than dotimes.  Don't save the diary buffer.
3757         (diary-from-outlook-gnus, diary-from-outlook-rmail):
3758         Pass subject and body as explicit arguments to the -internal function.
3760 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3762         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3763         parsing them.  This makes mailto:...?subject=foo\nbar work.
3765 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3767         * vc/diff.el (diff): Fix last change.
3769 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3771         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
3772         (pcase--dontcare-upats): New var.
3773         (pcase-let, pcase-let*): Generate better code.
3774         Accept the same bodies as `let'.
3775         (pcase-dolist): New macro.
3776         (pcase--trivial-upat-p): New helper function.
3777         (pcase--expand): Strip leading "(let nil" if any.
3779 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3781         * mail/mailclient.el (browse-url): Require.
3782         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3783         use the external browser function to send the mail (bug#7469).
3785         * net/browse-url.el (browse-url-browser-function): Revert the
3786         default back to the previous value, since the new value broke
3787         mailclient.el.
3788         (browse-url-mailto-function): New variable for mailto: URLs.
3789         (browse-url): Use the new variable for mailto: URLs.
3791 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3793         * eshell/esh-cmd.el (eshell-parse-command):
3794         * eshell/esh-arg.el (eshell-parse-arguments):
3795         * eshell/em-script.el (eshell-source-file):
3796         Use with-silent-modifications.
3798 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3800         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
3801         for a merge location.
3803         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3804         (vc-bzr-merge-branch): Always prompt.
3805         (vc-bzr-async-command): Use the full branch filename.
3807 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3809         * shell.el (shell): Use current-buffer by default if it's already
3810         a shell mode buffer and its process is dead.
3811         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3813 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
3815         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3816         Mention that the keywords should be comma separated.
3818 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3820         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3821         Accept optional prefix arg meaning to prompt for a command.
3822         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
3823         prefix arg meaning to prompt for a command.
3824         (vc-pull): Alias for vc-update.
3826         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3827         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3828         (vc-bzr-merge-branch): New functions, implementing merge-branch
3829         and pull operations.
3831 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3833         * Makefile.in: Fix up last merge.
3835         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3836         (diff-sentinel): Get them as arguments instead.
3837         (diff-old-file, diff-new-file, diff-extra-args): Remove.
3838         (diff-file-local-copy, diff-better-file-name): New funs.
3839         (diff-no-select): Rename from diff-into-buffer.
3840         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
3841         Prefer closures to buffer-local variables.
3842         (diff): Adjust accordingly.
3843         (diff-buffer-with-file): Move from files.el.
3844         * files.el (diff-buffer-with-file): Move to vc/diff.el.
3845         (diff-buffer-internal): Remove.
3846         (diff-buffer-buffer): Remove.
3847         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3848         the buffer name used, and so as not to mess up windows and frames.
3850 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3852         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3853         (diff-buffer-internal): New function extracted from diff-buffer-with-file
3854         (diff-buffer-with-file): Use it.
3855         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3856         (diff): Use it.
3858 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
3860         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3861         \ref's or \pageref's value as default instead of initial input.
3863 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
3865         * files.el (backup-by-copying-when-mismatch): The default value is
3866         now t.
3868         * startup.el (normal-top-level):
3869         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3870         `backup-by-copying-when-mismatch'.
3872 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3874         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3876 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3878         * progmodes/python.el (python-font-lock-keywords):
3879         Highlight top-level augmented assignments (Bug#6445).
3881 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3883         * term/ns-win.el (ns-right-control-modifier)
3884         (ns-right-command-modifier): Defvar them.
3886         * cus-start.el (all): Add ns-right-control-modifier and
3887         ns-right-command-modifier (Bug#7458).
3889 2010-11-20  Glenn Morris  <rgm@gnu.org>
3891         * emacs-lisp/authors.el (authors-ignored-files)
3892         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3894 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3896         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3897         (report-emacs-bug-parse-query-results)
3898         (report-emacs-bug-create-existing-bugs-buffer): Pass through
3899         keywords used for querying the bug database to show them in the
3900         existing bugs buffer.
3902 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
3904         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3906         * info.el (info-tool-bar-map): Add some :vert-only keywords.
3908 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3910         * international/characters.el (glyphless-char-display-control):
3911         Make it a defcustom, with update-glyphless-char-display as its
3912         :set attribute.
3913         (top level): Don't call update-glyphless-char-display.
3915 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
3917         Sync with Tramp 2.2.0.
3919         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3920         `file-remote-p' (due to compatibility).
3922         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3923         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3925         * net/trampver.el: Update release number.
3927 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3929         * faces.el (glyphless-char): Define value for `pc'.
3931 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3933         Implemented a bug querying mechanism.
3934         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3935         (report-emacs-bug-create-existing-bugs-buffer)
3936         (report-emacs-bug-parse-query-results)
3937         (report-emacs-bug-query-existing-bugs): New functions.
3939 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
3941         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3942         a \ref{} or \pageref{} macro, then use its value as initial input.
3944 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
3946         * calc/calc-units.el (math-build-units-table-buffer):
3947         calc/README: Mention that the TeX specific units won't use the
3948         `tex' prefix in TeX mode.
3949         calc/calc-lang.el (math-variable-table): Don't use the `tex'
3950         prefix for units in TeX mode.
3952 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3954         * simple.el (kill-new, kill-append, kill-region):
3955         * comint.el (comint-kill-region): Make the yank-handler argument
3956         obsolete.
3958 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3960         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3961         that are both openers (resp. closers) and something else.
3962         (smie-grammar): Loosen definition of valid values.
3963         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3964         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3965         (smie-indent-after-keyword): Adjust users.
3966         (smie-indent-keyword): Don't indent empty lines.
3968         * vc-hg.el (vc-hg-program): New var.
3969         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3970         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3972 2010-11-18  Glenn Morris  <rgm@gnu.org>
3974         * emacs-lisp/autoload.el (autoload-find-destination): The function
3975         coding-system-eol-type may return non-numeric values.  (Bug#7414)
3977 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
3979         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3981 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
3983         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
3985 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
3987         * textmodes/picture.el (picture-mouse-set-point): Don't use
3988         posn-col-row; explicitly compute the motion based on the posn at
3989         the window-start (Bug#7390).
3991 2010-11-18  Glenn Morris  <rgm@gnu.org>
3993         * novice.el (disabled-command-function):
3994         Fix 2009-11-15 change.  (Bug#7384)
3996 2010-11-18  Glenn Morris  <rgm@gnu.org>
3998         * calendar/calendar.el (diary-iso-date-forms): Make elements
3999         mutually exclusive.  (Bug#7377)
4001 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4003         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4004         when filling the remaining "unconstrained" values.
4006 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4008         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4009         safety predicate.
4011         * files.el (safe-local-variable-p): Gracefully handle errors.
4013         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4014         Use smie-indent-virtual when indenting relative to an opener.
4015         (smie-rule-separator): Use smie-rule-parent.
4016         (smie-indent-keyword): Consult rules, even for openers at bol.
4017         (smie-indent-comment-close): Try to align closer's content.
4019 2010-11-18  Glenn Morris  <rgm@gnu.org>
4021         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4023 2010-11-18  Glenn Morris  <rgm@gnu.org>
4025         * printing.el (pr-menu-bind): Doc fix.
4027         * speedbar.el (speedbar-toggle-images): Doc fix.
4029         * progmodes/python.el (python-shell): Doc fix.
4031         * wid-edit.el (widget-field-use-before-change)
4032         (widget-use-overlay-change): Doc fixes.
4034 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4036         Minor cleanup to improve style.
4037         * textmodes/rst.el (rst-update-section): Use point-marker.
4038         (rst-get-decoration): Eliminate unneeded assignment.
4039         (rst-promote-region, rst-straighten-decorations)
4040         (rst-section-tree, rst-adjust): Use point-marker.
4041         (rst-toc-mode-mouse-goto): Avoid setq.
4042         (rst-shift-region-guts, rst-shift-region-left)
4043         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4044         (rst-convert-bullets-to-enumeration): Use copy-marker.
4046         * minibuffer.el (completion-fail-discreetly): New var.
4047         (completion--do-completion): Use it.
4049         * electric.el (electric-pair-pairs): New var.
4050         (electric-pair-post-self-insert-function): Use it.
4051         (electric-layout-post-self-insert-function): Don't insert a before
4052         newline unless it's actually needed.
4054 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4056         * progmodes/python.el (run-python): Explain why we remove the current
4057         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
4059         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4061 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4063         * progmodes/octave-mod.el: Rely on elecric-*-modes.
4064         (octave-mode-map): Don't bind ;, SPC, and LF.
4065         (octave-auto-indent, octave-auto-newline): Remove.
4066         (electric-layout-rules): Declare.
4067         (octave-mode): Set electric-layout-rules.
4068         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4069         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4070         (octave-electric-space): Remove.
4072         * electric.el (electric-layout-mode): New minor mode.
4073         (electric--after-char-pos): New function.
4074         (electric-indent-post-self-insert-function): Use it.
4075         (electric-layout-rules): New var.
4076         (electric-layout-post-self-insert-function): New function.
4077         (electric-indent-mode): Make them interact better.
4079 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4081         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4082         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4083         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4085 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
4087         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4088         Make sure to check inside the word (Bug#6761).
4090 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
4092         * startup.el (command-line): If the cursorColor resource is set,
4093         change the cursor face-spec (Bug#7392).
4095 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
4097         The main features of the following allout.el changes are:
4098         - implement user customization for the allout key bindings
4099         - add a customization control by which the user can inhibit use of
4100           a trailing Ctrl-H, so by default it's reserved for use with
4101           describe-prefix-bindings
4102         - adapt to new version of called-interactively-p, while
4103           maintaining backwards compatibility with old version
4104         - fix hotspot navigation so i works properly with meta-modified keys.
4106         * allout.el (allout-keybindings, allout-bind-keys)
4107         (allout-keybindings-binding, allout-prefixed-keybindings)
4108         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4109         (allout-keybindings-list, allout-mode-map-adjustments)
4110         (allout-setup-mode-map): Establish allout-mode keymaps as user
4111         customizable settings, and also establish a customizable setting which
4112         regulates whether or not a trailing control-h is reserved for use with
4113         describe-prefix-bindings - and inhibit it by default, so that control-h
4114         *is* reserved for describe-prefix-bindings unless the user changes it.
4116         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4117         and accurately between modified and unmodified events, and handle
4118         modified events more comprehensively.
4120         * allout.el (allout-substring-no-properties):
4121         Alias to use or provide version of `substring-no-properties'.
4122         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4124         * allout.el (allout-next-single-char-property-change):
4125         Alias to use or provide version of `next-single-char-property-change'.
4126         (allout-annotate-hidden, allout-hide-by-annotation):
4127         Use `allout-next-single-char-property-change'.
4129         * allout.el (allout-select-safe-coding-system):
4130         Alias to use or provide version of `select-safe-coding-system'.
4131         (allout-toggle-subtree-encryption):
4132         Use `allout-select-safe-coding-system'.
4134         * allout.el (allout-set-buffer-multibyte):
4135         Alias to use or provide version of `set-buffer-multibyte'.
4136         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4138         * allout.el (allout-called-interactively-p): Macro for using the
4139         different versions of called-interactively-p identically, depending on
4140         the subroutine's argument signature.
4141         (allout-back-to-current-heading, allout-beginning-of-current-entry):
4142         Use `(interactive "p")' instead of `(called-interactively-p)'.
4144         * allout.el (allout-init, allout-ascend, allout-end-of-level)
4145         (allout-previous-visible-heading, allout-forward-current-level)
4146         (allout-backward-current-level, allout-show-children):
4147         Use `allout-called-interactively-p' instead of `called-interactively-p'.
4149         * allout.el (allout-before-change-handler):
4150         Exempt edits to the (overlaid) character after the allout outline
4151         bullet from edit confirmation prompt.
4153         * allout.el (allout-add-resumptions):
4154         Ensure that it respects correct buffer for keybindings.
4156         * allout.el (allout-beginning-of-line):
4157         Use `allout-previous-single-char-property-change' alias for the sake of
4158         diverse compatibility.
4160         * allout.el (allout-end-of-line):
4161         Use `allout-mark-active-p' to encapsulate respect for mark activity.
4163 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
4165         * frame.el (frame-notice-user-settings): Don't clobber other
4166         user-set parameters when calling face-set-after-frame-default in
4167         response to background-color parameter (Bug#7373).
4169 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
4171         * international/characters.el (glyphless-char-display-control):
4172         Rename from glyphless-char-control; all users changed.  Doc fix.
4173         Signal an error if display method is not one of the recognized
4174         symbols.
4176 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
4178         * net/tramp-compat.el (tramp-compat-line-beginning-position)
4179         (tramp-compat-line-end-position): Remove them.
4181         * net/tramp.el (tramp-parse-rhosts-group)
4182         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4183         (tramp-parse-hosts-group, tramp-parse-passwd-group)
4184         (tramp-parse-netrc-group, tramp-parse-putty-group)
4185         * net/tramp-cmds.el (tramp-append-tramp-buffers)
4186         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4187         (tramp-sh-handle-file-selinux-context)
4188         (tramp-sh-handle-file-name-all-completions)
4189         (tramp-sh-handle-insert-directory)
4190         (tramp-sh-handle-expand-file-name, tramp-find-executable)
4191         (tramp-wait-for-output, tramp-send-command-and-read)
4192         * net/tramp-smb.el (tramp-smb-read-file-entry)
4193         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4195         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4196         `point-at-bol'.
4197         (tramp-remote-coding-commands): Add an alternative using "base64
4198         -d -i".  This is needed for older base64 versions from GNU
4199         coreutils.  Reported by Klaus Reichl
4200         <Klaus.Reichl@thalesgroup.com>.
4202 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
4204         * simple.el (count-words-region): New function.
4206 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4208         * shell.el (shell-dir-cookie-re): New custom variable.
4209         (shell-dir-cookie-watcher): New function.
4211         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4212         and compilation-mode (bug#7350).
4214         * vc/smerge-mode.el (smerge-refine): Choose better default part to
4215         highlight when one of them is empty.
4217         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4218         trailing space.
4219         (skeleton-newline): New function.
4220         (skeleton-internal-1): Use it.
4222         * simple.el (open-line): `newline' may strip trailing space.
4224 2010-11-12  Kevin Ryde  <user42@zip.com.au>
4226         * international/mule-cmds.el (princ-list): Use mapc.
4228 2010-11-12  Glenn Morris  <rgm@gnu.org>
4230         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4231         Use it to replace all instances of "*Compile-Log*".
4233 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4235         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4236         indentation specs.
4238 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4240         * progmodes/modula2.el: Use SMIE and skeleton.
4241         (m2-mode-syntax-table): (*..*) can be nested.
4242         Add //...\n.  Fix paren syntax.
4243         (m2-mode-map): Remove LF and TAB bindings.
4244         (m2-indent): Add safety property.
4245         (m2-smie-grammar): New var.
4246         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4247         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4248         (m2-mode): Use define-derived-mode.
4249         (m2-newline, m2-tab): Remove.
4250         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4251         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4252         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4253         (m2-import): Use define-skeleton.
4255 2010-11-11  Glenn Morris  <rgm@gnu.org>
4257         * obsolete/lucid.el: Don't warn about any CL functions in this file.
4259         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4260         (ls-lisp-verbosity): Add custom :set-after property.
4261         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4262         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4263         (ls-lisp-insert-directory): Update caller.
4264         (ls-lisp-set-options): New function.
4265         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4266         Doc fix.
4268         * play/landmark.el (lm-prompt-for-move):
4269         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4271         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4273         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4274         (idlwave-study-twins): Prefix dynamic local variable `name'.
4275         (idlwave-routine-twin-compare): Update for above change.
4277         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4278         Prefix dynamic local variables `name', `kwd', and `link'.
4279         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4280         * progmodes/idlw-complete-structtag.el
4281         (idlwave-complete-structure-tag-help):
4282         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4283         (idlwave-complete-sysvar-tag-help)
4284         (idlwave-complete-class-structure-tag-help):
4285         Update for above name changes.
4287 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4289         * net/browse-url.el (browse-url-browser-function): Change the
4290         default to use `browse-url-mail' on mailto: URLs.
4292 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
4294         * emacs-lisp/package.el (package-read-all-archive-contents):
4295         Reset package-archive-contents to nil before re-reading.
4297 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
4299         * textmodes/flyspell.el (flyspell-word): Do not re-check words
4300         already found as misspellings by (flyspell-large-region), just
4301         do highlighting (bug#7322).
4303 2010-11-10  Glenn Morris  <rgm@gnu.org>
4305         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4307         * emulation/edt.el (edt-with-position): New macro.
4308         (edt-find-forward, edt-find-backward, edt-find-next-forward)
4309         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4310         (edt-paragraph-forward, edt-paragraph-backward): Use it.
4312         * emulation/tpu-extras.el (tpu-with-position): New macro.
4313         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4315         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4317         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4318         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4319         (texinfo-master-menu, texinfo-insert-node-lines)
4320         (texinfo-multiple-files-update):
4321         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4322         Use line-beginning-position.
4324         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4325         No recent Emacs supports system-type `emx'.
4327         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4328         (ada-command-separator, ada-default-prj-properties)
4329         (ada-find-any-references): Update for above name change.
4331         * dirtrack.el (dirtrack-directory-function)
4332         (dirtrack-canonicalize-function):
4333         * filecache.el (file-cache-completion-ignore-case)
4334         (file-cache-case-fold-search, file-cache-ignore-case):
4335         * term.el (serial-port-is-file-p): Cosmetic change.
4337         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4338         Remove non-existent `windows-95' system-type.
4339         * dired.el (dired-chown-program): Remove non-existent `linux'
4340         system-type.
4342         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4343         (ping-program-options): Remove non-existent `linux' system-type.
4345         * startup.el (package-initialize): Update declaration.
4347         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4348         (ls-lisp-handle-switches): Use time-less-p.
4349         (ls-lisp-format-time): Use float-time.
4351         * textmodes/remember.el (remember-time-to-seconds): Remove.
4352         (remember-store-in-mailbox): Use float-time.
4354         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4356         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4357         never a real function.
4358         (with-no-warnings): Remove compat stub, now unused.
4359         (time-less-p): Doc fix.
4360         (time-to-number-of-days): Simplify.
4362         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4363         Remove.
4364         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4365         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4366         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4367         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4368         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4370         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4371         (eshell-shuffle-files, eshell-shorthand-tar-command)
4372         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4373         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4374         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4375         Prefix dynamic local variable `matches'.
4377         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4378         Prefix dynamic local variable `skeleton'.
4380 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4382         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4383         in mail buffer; make yank-action always a command that yanks original
4384         buffer.
4386 2010-11-09  Glenn Morris  <rgm@gnu.org>
4388         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4390 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4392         * minibuffer.el (minibuffer-completion-help): Specify the end of the
4393         completion field (bug#7211).
4395         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4396         Fix handling of backslash escapes.
4397         (python-quote-syntax): Adjust accordingly.
4399 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
4401         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4402         (vc-mtn-workfile-branch): Adjust to new output format.
4404 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4406         * international/mule-cmds.el (princ-list): Mark as obsolete.
4408 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4410         * emacs-lisp/smie.el: New package.
4412 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
4414         * files.el (backup-by-copying-when-mismatch):
4415         Set `permanent-local' property.
4417         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4418         `permanent-local' property for `backup-by-copying-when-mismatch'.
4420 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
4422         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
4424 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
4426         * progmodes/verilog-mode.el (verilog-insert-one-definition)
4427         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4428         AUTOINOUT for SV style multidimensional arrays, bug294.
4429         Reported by Eric Mastromarchi.
4430         (verilog-preprocess): Use with-current-buffer and
4431         font-lock-fontify-buffer to cleanup style issues.
4433 2010-11-09  Glenn Morris  <rgm@gnu.org>
4435         * locate.el (locate, locate-mode): Doc fixes.
4437 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
4439         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4440         user for confirmation.
4441         (server-force-stop): Use it.
4442         (server-start): Use server-force-stop for kill-emacs-hook, to
4443         avoid user interaction while killing Emacs.
4445 2010-11-09  Glenn Morris  <rgm@gnu.org>
4447         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4448         (meta-indent-line): Simplify.
4450         * vc/emerge.el (emerge-line-number-in-buf):
4451         * textmodes/ispell.el (ispell-region):
4452         * textmodes/fill.el (current-fill-column):
4453         * progmodes/xscheme.el (xscheme-send-current-line):
4454         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4455         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4456         * progmodes/sh-script.el (sh-handle-prev-do):
4457         * progmodes/meta-mode.el (meta-indent-line):
4458         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4459         (idlwave-in-quote):
4460         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4461         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4462         * progmodes/fortran.el (fortran-looking-at-if-then):
4463         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4464         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4465         (cperl-find-pods-heres):
4466         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4467         * net/quickurl.el (quickurl-list-insert):
4468         * net/ldap.el (ldap-search-internal):
4469         * net/eudc.el (eudc-expand-inline):
4470         * mail/sendmail.el (sendmail-send-it):
4471         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4472         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4473         (viper-brac-function):
4474         * calc/calc-yank.el (calc-do-grab-region):
4475         * calc/calc-keypd.el (calc-keypad-press):
4476         * term.el (term-move-columns, term-insert-spaces):
4477         * speedbar.el (speedbar-highlight-one-tag-line):
4478         * simple.el (current-word):
4479         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4480         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4481         (Info-scroll-down):
4482         * hippie-exp.el (he-line-beg):
4483         * epa.el (epa--marked-keys):
4484         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4485         (dired-update-file-line, dired-add-entry, dired-remove-entry)
4486         (dired-relist-entry):
4487         * buff-menu.el (Buffer-menu-buffer):
4488         * array.el (current-line):
4489         * allout.el (allout-resolve-xref)
4490         (allout-latex-verbatim-quote-curr-line):
4491         Replace yet more uses of end-of-line etc with line-end-position, etc.
4493 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4495         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4496         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4497         (checkdoc-syntax-table): Initialize in the declaration.
4498         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4499         the mode on unconditionally.
4501         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4502         (extent-end-position, extent-start-position): Remove setf method for
4503         non-existing functions (bug#7319).
4505 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4507         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4508         (smie-precs->prec2): Rename from smie-precs-precedence-table.
4509         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4510         (smie-prec2->grammar): Rename from smie-prec2-levels.
4511         (smie-grammar): Rename from smie-op-levels.
4512         (smie-indent--hanging-p): Rename from smie-hanging-p.
4513         (smie-rule-hanging-p): New alias.
4514         (smie-indent--bolp): Rename from smie-bolp.
4515         (smie-indent--hanging-p): New alias.
4516         (smie--token): New dynamically bound variable.
4517         (smie-indent--parent): New function.
4518         (smie-rule-parent-p): Use it; rename from smie-parent-p.
4519         (smie-rule-next-p): Rename from smie-next-p.
4520         (smie-rule-prev-p): Rename from smie-prev-p.
4521         (smie-rule-sibling-p, smie-rule-parent)
4522         (smie-indent--separator-outdent, smie-rule-separator): New functions.
4523         (smie-rule-separator-outdent): New var.
4524         (smie-indent--rule): Merge with smie-indent--column.
4525         (smie-indent-forward-token, smie-indent-backward-token):
4526         Also recognize close parens.
4527         (smie-indent-keyword): Don't use smie-indent--column any more.
4528         (smie-indent-after-keyword): Ignore closers by default.
4529         (smie-indent-line): Use with-demoted-errors.
4530         * progmodes/octave-mod.el (octave-smie-grammar):
4531         Rename from octave-smie-op-levels.
4532         (octave-smie-rules): Adjust to new behavior.
4533         * progmodes/prolog.el (prolog-smie-grammar):
4534         Rename from prolog-smie-op-levels.
4536 2010-11-07  Glenn Morris  <rgm@gnu.org>
4538         * eshell/esh-util.el (subst-char-in-string)
4539         (directory-files-and-attributes): These compatibility definitions are
4540         not needed on any version of Emacs since at least 21.4.
4542         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4543         (verilog-get-end-of-line): Remove.
4544         (verilog-within-string, verilog-re-search-forward-substr)
4545         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4546         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4547         Use point-at-bol, point-at-eol.
4548         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4549         Remove.
4550         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4551         (electric-pascal-terminate-line, pascal-set-auto-comments)
4552         (pascal-indent-paramlist, pascal-indent-declaration)
4553         (pascal-get-lineup-indent, pascal-func-completion)
4554         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4555         Use point-at-bol, point-at-eol.
4556         * progmodes/flymake.el (flymake-line-beginning-position)
4557         (flymake-line-end-position): Remove.
4558         (flymake-highlight-line): Use point-at-bol, point-at-eol.
4559         * eshell/esh-util.el (line-end-position, line-beginning-position):
4560         Remove compat definitions.
4562         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4563         Use end-of-line N.
4564         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4565         Use line-end-position.
4567         * emacs-lisp/chart.el (chart-zap-chars):
4568         * play/decipher.el (decipher-set-map):
4569         * progmodes/ada-mode.el (ada-get-current-indent)
4570         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4571         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4572         * progmodes/ada-xref.el (ada-initialize-runtime-library)
4573         (ada-get-all-references):
4574         * progmodes/cperl-mode.el (cperl-electric-paren)
4575         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4576         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4577         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4578         (cperl-word-at-point-hard):
4579         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4580         (idlwave-shell-filename-string, idlwave-shell-batch-command)
4581         (idlwave-shell-display-line):
4582         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4583         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4584         * progmodes/js.el (js--re-search-forward-inner)
4585         (js--re-search-backward-inner):
4586         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4587         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4588         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4589         * textmodes/flyspell.el (flyspell-process-localwords):
4590         * textmodes/ispell.el (ispell-buffer-local-parsing)
4591         (ispell-buffer-local-dict, ispell-buffer-local-words):
4592         Use point-at-bol and point-at-eol.
4594         * speedbar.el (speedbar-generic-item-info)
4595         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4596         (speedbar-add-indicator, speedbar-check-vc-this-line)
4597         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4598         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4599         Replace more uses of end-of-line etc with line-end-position.
4601 2010-11-06  Glenn Morris  <rgm@gnu.org>
4603         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4604         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4605         (texinfo-delete-existing-pointers, texinfo-find-pointer)
4606         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4607         (texinfo-multiple-files-update):
4608         * textmodes/table.el (table--probe-cell-left-up)
4609         (table--probe-cell-right-bottom):
4610         * textmodes/picture.el (picture-tab-search):
4611         * textmodes/page-ext.el (pages-copy-header-and-position)
4612         (pages-directory-for-addresses):
4613         * progmodes/vera-mode.el (vera-get-offset):
4614         * progmodes/simula.el (simula-calculate-indent):
4615         * progmodes/python.el (python-pdbtrack-overlay-arrow):
4616         * progmodes/prolog.el (end-of-prolog-clause):
4617         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4618         * progmodes/icon.el (indent-icon-exp):
4619         * progmodes/etags.el (tag-re-match-p):
4620         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4621         * progmodes/ebnf2ps.el (ebnf-begin-file):
4622         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4623         (dcl-save-local-variable):
4624         * play/life.el (life-setup):
4625         * play/gametree.el (gametree-looking-at-ply):
4626         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4627         * mail/sendmail.el (mail-mode-auto-fill):
4628         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4629         * emacs-lisp/edebug.el (edebug-overlay-arrow):
4630         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4631         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4632         (woman-tab-to-tab-stop, WoMan-warn-ignored):
4633         * type-break.el (type-break-file-keystroke-count):
4634         * term.el (term-replace-by-expanded-history-before-point)
4635         (term-skip-prompt, term-extract-string):
4636         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4637         (speedbar-contract-line, speedbar-toggle-line-expansion)
4638         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4639         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4640         * sort.el (sort-skip-fields):
4641         * skeleton.el (skeleton-internal-list):
4642         * simple.el (line-move-finish, line-move-to-column):
4643         * shell.el (shell-forward-command):
4644         * misc.el (copy-from-above-command):
4645         * makesum.el (double-column):
4646         * ebuff-menu.el (electric-buffer-update-highlight):
4647         * dired.el (dired-move-to-end-of-filename):
4648         * dframe.el (dframe-popup-kludge):
4649         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4650         * arc-mode.el (archive-get-lineno):
4651         Use line-end-position and line-beginning-position.
4653         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4654         (idlwave-study-twins): Prefix dynamic local `class'.
4655         (idlwave-routine-twin-compare): Update for above name change.
4657         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4658         Use boundp tests to silence compiler.  Update for changed name of
4659         bytecomp-filename variable.
4661         * emulation/viper-cmd.el (viper-read-string-with-history):
4662         Prefix dynamic local `initial'.
4663         (viper-minibuffer-standard-hook): Update for above name change.
4665         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4666         (elint-init-form): Update for above name change.
4668         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4669         local variables `cbeg' and `cend' a prefix.
4670         (mail-extr-voodoo): Update for above name change.
4672         * textmodes/reftex-toc.el (reftex-toc-do-promote)
4673         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4674         (reftex-toc-promote-action): Doc fix.
4676         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4677         `prompt', `data' a prefix.
4678         (reftex-select-post-command-hook, reftex-select-callback)
4679         (reftex-select-mouse-accept, reftex-select-read-cite):
4680         Update for above name changes.
4682         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4683         `refstyle' to reftex-refstyle.
4684         (reftex-offer-label-menu): Update for above name change.
4685         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4686         `refstyle' name change.
4688         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4689         with with-current-buffer.
4690         (diff, template): Give dynamic local variables a prefix.
4691         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4692         (emerge-line-number-in-buf): Update for above name change.
4693         (emerge-combine-versions-internal): Rename local `template' to
4694         emerge-combine-template.
4695         (emerge-combine-versions-edit): Update for above name change.
4697 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
4699         * textmodes/reftex-cite.el
4700         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4701         entries with whitespace after \bibitem.
4702         (reftex-create-bibtex-file): Match entries containing numbers and
4703         symbol constituents.  Make sure that entries with whitespace at
4704         various places are found.
4706 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
4708         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4710 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
4712         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4714 2010-11-05  Glenn Morris  <rgm@gnu.org>
4716         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4717         (woman2-roff-buffer): Give local variable `request' a prefix.
4718         (woman0-macro): Rename argument `request' in the same way.
4719         (woman-request): New name for `request' dynamic variable.
4720         (woman-unquote, woman-forward-arg): Update for above name change.
4721         (woman1-roff-buffer): Give local variable `unquote' a prefix.
4722         (woman1-unquote): New name for `unquote' dynamic variable.
4723         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4724         (woman-translations): Rename from `translations'.  No longer global.
4725         (woman2-tr, woman-translate): Update for above name change.
4726         (woman-translate): Check for bound variable.
4727         (woman2-roff-buffer): Give local variable `translations' a prefix.
4729         * play/doctor.el: Give all local variables a prefix.  Update callers.
4730         (doc$, doctor-put-meaning): Use backquote.
4732         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4733         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4735         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4736         variables bytes, ptr, op a prefix.
4737         (disassemble-offset): Update for above change.
4739 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4741         * emacs-lisp/package.el (package-unpack): Remove no-op.
4742         (package--builtins, package--dir): Doc fix.
4743         (package-activate-1, package-activate, package-install)
4744         (package-compute-transaction): Fix error message.
4745         (package-delete): Use delete-directory.  Omit system packages.
4746         (package-initialize): Set package-alist to nil first.
4747         (package-menu-mark-delete, package-menu-mark-install): Don't add
4748         symbols that are inconsistent with the package state.
4749         (package-menu-execute): Perform deletions and installations as
4750         single batch operations.
4752 2010-11-03  Glenn Morris  <rgm@gnu.org>
4754         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4755         (props): Remove unnecessary declaration.
4757         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4758         set-process-query-on-exit-flag.
4760         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4761         (reftex-toc-do-promote): Remove unused local `mpos'.
4762         (reftex-toc-restore-region): Make `mpos' local to this function.
4764         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4766         * play/landmark.el (lm-losing-threshold): Correct spelling.
4767         (lm-human-plays): Use new name.
4769         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4770         (gomoku-human-plays): Use new name.
4772         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4773         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4774         (gomoku-score-trans-table, gomoku-winning-threshold)
4775         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4777 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4779         * emacs-lisp/package.el: Don't put built-in packages in
4780         package-alist, to avoid loading inefficiencies.
4781         (package-built-in-p): Make VERSION optional, and treat it as a
4782         minimum acceptable version.
4783         (package-activate): Search separately for built-in packages.
4784         Emit a warning if a dependency fails.
4785         (define-package): Handle most common case, where there is no
4786         obsolete package, first.
4787         (package-compute-transaction): Print required version in error.
4788         (package--initialized): New variable.
4789         (list-packages): Use it.
4790         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
4791         built-in packages in packages-alist; keep it separate.
4792         Set package--initialized.
4793         (describe-package): Avoid activating packages as a side-effect.
4794         Search separately for built-in packages.
4795         (describe-package-1): Handle the case where an elpa package is
4796         simultaneously built-in and available/installed.
4797         (package-installed-p, package--generate-package-list):
4798         Search separately for built-in packages.
4799         (package-load-descriptor): Doc fix.
4801 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4803         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4804         Handle __DATA__ and __END__.
4806 2010-11-02  Noah Friedman  <friedman@splode.com>
4808         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4809         nil, do not ask to recompile files that are not already compiled,
4810         and do not recompile them.
4812 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
4814         * emacs-lisp/package.el (package-initialize): Ensure that
4815         obsoleted built-in packages are not in package-activated-list
4816         during activation.
4817         (describe-package-1): Make the "installed" status override
4818         "built-in".
4820 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4822         * subr.el (version-separator, version-regexp-alist): Remove '*'
4823         from docstring.
4824         (version-list-<=, version<=, version=): Doc fix.
4826 2010-11-01  Kenichi Handa  <handa@m17n.org>
4828         * faces.el (glyphless-char): Inherit underline for tty.
4830 2010-11-01  Kenichi Handa  <handa@m17n.org>
4832         Implement various display methods for glyphless characters.
4834         * international/characters.el (char-acronym-table): New variable.
4835         (glyphless-char-control): New variable.
4836         (update-glyphless-char-display): New function.
4838         * faces.el (glyphless-char): New face.
4840 2010-11-01  Glenn Morris  <rgm@gnu.org>
4842         * calendar/holidays.el (general-holidays, oriental-holidays)
4843         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4844         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4845         the definitions of their targets.
4847         * emacs-lisp/smie.el (smie): New custom group.
4848         (smie-blink-matching-inners, smie-indent-basic): Add :group.
4850         * faces.el (xw-defined-colors, x-setup-function-keys):
4851         * mouse-sel.el (x-select-text):
4852         * term/w32console.el (x-setup-function-keys): Update declarations.
4854         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4856         * textmodes/ispell.el (comment-add): Declare.
4858         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4859         Declare.
4861         * info.el (finder-keywords-hash, package-alist): Declare.
4863 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4865         * finder.el (finder-compile-keywords): Don't use intern-soft,
4866         since package names may not yet exist in the obarray.
4868 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4870         * vc/vc-arch.el (vc-arch-checkin):
4871         * vc/vc-cvs.el (vc-cvs-checkin):
4872         * vc/vc-mtn.el (vc-mtn-checkin):
4873         * vc/vc-rcs.el (vc-rcs-checkin):
4874         * vc/vc-sccs.el (vc-sccs-checkin):
4875         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4876         since 2010-04-21 commit by Stefan Monnier.
4878 2010-11-01  Glenn Morris  <rgm@gnu.org>
4880         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4882         * startup.el (package-enable-at-startup, package-initialize):
4883         Silence compiler.
4885         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4886         Silence compiler.
4888 2010-10-31  Julien Danjou  <julien@danjou.info>
4890         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4891         (byte-recompile-directory):
4892         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4893         Use `byte-recompile-file'.
4895 2010-10-31  Glenn Morris  <rgm@gnu.org>
4897         * cus-start.el: Handle standard values via a keyword.
4898         Only set version property if specified.
4899         (cursor-in-non-selected-windows, menu-bar-mode)
4900         (tool-bar-mode, show-trailing-whitespace):
4901         Do not specify standard values.
4902         (transient-mark-mode, temporary-file-directory): Use :standard.
4904 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
4906         * term/x-win.el (x-get-selection-value): New function that gets
4907         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
4909 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
4911         * net/tramp.el (tramp-handle-insert-file-contents): For root,
4912         preserve owner and group when editing files.  (Bug#7289)
4914 2010-10-31  Glenn Morris  <rgm@gnu.org>
4916         * speedbar.el (speedbar-mode):
4917         * play/fortune.el (fortune-in-buffer, fortune):
4918         * play/gomoku.el (gomoku-mode):
4919         * play/landmark.el (lm-mode):
4920         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4921         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
4923         * select.el (x-selection): Mark it as an obsolete alias.
4925 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4927         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4928         major-mode (bug#7284).
4930 2010-10-31  Glenn Morris  <rgm@gnu.org>
4932         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4933         rather than just an unused variable that inherits from the real one.
4935 2010-10-31  Alan Mackenzie  <acm@muc.de>
4937         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4938         This fixes bug #7185.
4940 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
4942         * startup.el (command-line): Search for package directories, and
4943         don't load package.el if none are found.
4945         * emacs-lisp/package.el (describe-package, list-packages):
4946         Call package-initialize if it has not been called yet.
4948 2010-10-30  Alan Mackenzie  <acm@muc.de>
4950         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4951         which fontifies the tail of an enum.
4952         (c-basic-matchers-after): Insert a call to the above new function.
4953         This fixes bug #7264.
4955 2010-10-30  Glenn Morris  <rgm@gnu.org>
4957         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4958         tool-bar-mode, transient-mark-mode.  (Bug#7306)
4959         Include the :set property in the dumped Emacs.
4961 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4963         SMIE: change indent rules format, improve smie-setup.
4964         * emacs-lisp/smie.el (smie-precs-precedence-table)
4965         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4966         Mark them pure so the tables gets built at compile time.
4967         (smie-bnf-precedence-table): Store the closer-alist in the table.
4968         (smie-prec2-levels): Preserve the closer-alist.
4969         (smie-blink-matching-open): Be more forgiving in case of indentation.
4970         (smie-hanging-p): Rename from smie-indent--hanging-p.
4971         (smie-bolp): Rename from smie-indent--bolp.
4972         (smie--parent, smie--after): New dynamic vars.
4973         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4974         (smie-indent-rules): Remove.
4975         (smie-indent--offset-rule): Remove fun.
4976         (smie-rules-function): New var.
4977         (smie-indent--rule): New fun.
4978         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4979         (smie-indent-exps): Use it.
4980         (smie-setup): Setup paren blinking; add keyword args for token
4981         functions; extract closer-alist from op-levels.
4982         (smie-indent-debug-log): Remove var.
4983         (smie-indent-debug): Remove fun.
4984         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4985         (prolog-smie-rules): New fun to replace it.
4986         (prolog-mode-variables): Simplify.
4987         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4988         it's setup automatically.
4989         (octave-smie-indent-rules): Remove.
4990         (octave-smie-rules): New fun to replace it.
4991         (octave-mode): Simplify.
4993 2010-10-29  Glenn Morris  <rgm@gnu.org>
4995         * files.el (temporary-file-directory): Remove (already defined in C).
4996         * cus-start.el: Add temporary-file-directory.
4998         * abbrev.el (abbrev-mode):
4999         * composite.el (auto-composition-mode):
5000         * menu-bar.el (menu-bar-mode):
5001         * simple.el (transient-mark-mode):
5002         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5003         that they do not define the associated variables twice.
5004         * simple.el (transient-mark-mode): Remove defvar.
5005         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5006         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5007         Handle multiple groups, and also custom-delayed-init-variables.
5008         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5010 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5012         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5013         (pcase-if): Add one minor optimization.
5014         (pcase-split-equal): Rename from pcase-split-eq.
5015         (pcase-split-member): Rename from pcase-split-memq.
5016         (pcase-u1): Add strings to the member optimization.
5017         Add `guard' variant of predicates.
5018         (pcase-q1): Add string patterns.
5020 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5022         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5024 2010-10-28  Glenn Morris  <rgm@gnu.org>
5026         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5027         Move menu-bar related settings to ../menu-bar.el.
5028         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5029         Move ns-specific settings here from term/ns-win.el.
5031         * simple.el (x-selection-owner-p): Remove unused declaration.
5033 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5035         * minibuffer.el (completion-cycling): New var (bug#7266).
5036         (minibuffer-complete, completion--do-completion):
5037         Use completion--flush-all-sorted-completions.
5038         (minibuffer-complete): Only cycle if completion-cycling is set.
5039         (completion--flush-all-sorted-completions): Unset completion-cycling.
5040         (minibuffer-force-complete): Set completion-cycling.
5041         (completion-all-sorted-completions): Move declaration before first use.
5043 2010-10-28  Leo  <sdl.web@gmail.com>
5045         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5046         which changes the order of matches seen by users (bug#7231).
5048 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
5050         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5051         Don't confuse -omega as "-o mega".
5053 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5055         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5056         (log-edit-author): New dynamic var.
5057         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5058         to return the author if different from committer.
5059         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5061         * play/landmark.el: Adjust commenting convention.
5062         (lm-nil-score): Rename from nil-score.
5063         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5064         (OOOOscore): Move into a let in lm-score-trans-table.
5065         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5067         * electric.el (electric-indent-chars): Autoload.
5068         * progmodes/octave-mod.el (octave-mode):
5069         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5070         (ruby-mode-abbrev-table): Merge initialization and declaration.
5072 2010-10-27  Glenn Morris  <rgm@gnu.org>
5074         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5075         variable.
5077         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5079         * term/ns-win.el: Restore require of cl when compiling.
5080         (menu-bar-final-items): Remove non-existent `windows' menu.
5081         (ns-handle-nxopen): Optionally handle the temp-case.
5082         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5083         (ns-insert-file, ns-find-file): Use `pop'.
5085 2010-10-26  Glenn Morris  <rgm@gnu.org>
5087         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5089 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
5091         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5092         global map.
5093         * term/common-win.el (x-setup-function-keys): Remove most of the
5094         keymappings.  Comment on the remaining ones.
5096 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
5098         * server.el (server-port): New option.  (Bug#854)
5099         (server-start): Use server-port.
5101 2010-10-26  Glenn Morris  <rgm@gnu.org>
5103         * term/ns-win.el (ns-version-string): Remove unused declaration.
5104         (ns-invocation-args): Change to x-invocation-args.
5105         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5106         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5107         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5108         Use x-invocation-args instead of ns-invocation-args.
5109         (ns-initialize-window-system, handle-args-function-alist):
5110         Use x-handle-args instead of ns-handle-args.
5111         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5112         * startup.el (command-line-ns-option-alist): Replace
5113         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5114         ns-handle-iconic with the x- equivalents.
5116         * term/common-win.el (x-select-enable-clipboard):
5117         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5119         * term/ns-win.el: No need to require cl when compiling.
5120         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5121         (xw-defined-colors): Use the common-win definitions.
5122         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5123         (ns-handle-iconic): Make it an alias for x-handle-iconic.
5124         * term/common-win.el (x-select-text, x-alternatives-map)
5125         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5126         * loadup.el [ns]: Load common-win.
5128 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
5130         * epa-mail.el (epa-mail-encrypt): Handle local-part only
5131         recipients; expand mail aliases (Bug#7280).
5133 2010-10-25  Glenn Morris  <rgm@gnu.org>
5135         * term/common-win.el (x-handle-switch): Simplify with pop.
5136         Optionally handle numeric switches.
5137         (x-handle-numeric-switch): Just call x-handle-switch.
5138         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5139         (x-handle-name-switch, x-handle-display, x-handle-args):
5140         Simplify with pop.
5142         * term/ns-win.el: Do not require easymenu.
5143         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5144         <spell>: Move adjustments to menu-bar.el.
5145         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5146         <separator-undo, spell>: Move ns-win's adjustments here.
5147         * loadup.el [ns]: Do not load easymenu.
5149 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5151         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5152         Delete (Bug#7222).
5154         * startup.el (fancy-startup-tail): Instead of using inline images,
5155         refer to image files from etc/.
5157         * wid-edit.el (checkbox): Likewise.
5158         (widget-image-find): Center image specs.
5160 2010-10-24  Glenn Morris  <rgm@gnu.org>
5162         * term/ns-win.el (x-select-text): Doc fix.
5163         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5164         (x-select-text): Move to term/common-win.
5165         * term/w32-win.el (xw-defined-colors): Move to common-win.
5166         * term/x-win.el (xw-defined-colors, x-alternatives-map)
5167         (x-setup-function-keys, x-select-text): Move to common-win.
5168         * term/common-win.el (x-select-text, x-alternatives-map)
5169         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5170         definitions here.
5172 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
5174         * net/mairix.el (mairix-searches-mode-map):
5175         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5177 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
5179         * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5180         auto-built for efficiency of execution and updating.
5181         (verilog-extended-complete-re): Support 'pure' fucntion & task
5182         declarations (these have no bodies).
5183         (verilog-beg-of-statement): General cleanup to enable support of
5184         'pure' fucntion & task declarations (these have no bodies).
5185         These efforts together fix Verilog bug210 from veripool; which was also
5186         noticed by Steve Pearlmutter.
5187         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5188         (verilog-directive-nest-re, verilog-set-auto-endcomments):
5189         Support `elsif.  Reported by Shankar Giri.
5190         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5191         attribute handling for lining up declarations and assignments.
5192         (verilog-beg-of-statement-1): Fix issue where continued declaration
5193         is indented differently if it is after a begin..end clock.
5194         (verilog-in-attribute-p, verilog-skip-backward-comments)
5195         (verilog-skip-forward-comment-p): Support proper treatment of
5196         attributes by indent code.  Reported by Jeff Steele.
5197         (verilog-in-directive-p): Fix comment to correctly describe function.
5198         (verilog-backward-up-list, verilog-in-struct-region-p)
5199         (verilog-backward-token, verilog-in-struct-p)
5200         (verilog-in-coverage-p, verilog-do-indent)
5201         (verilog-pretty-declarations): Use verilog-backward-up-list as
5202         wrapper around backward-up-list inorder to properly skip comments.
5203         Reported by David Rogoff.
5204         (verilog-property-re, verilog-endcomment-reason-re)
5205         (verilog-beg-of-statement, verilog-set-auto-endcomments)
5206         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5207         of if).  Reported by Max Bjurling and
5208         (verilog-calc-1): Fix for clocking block in modport
5209         declaration.  Reported by Brian Hunter.
5211 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
5213         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5214         (verilog-gate-keywords, verilog-read-sub-decls)
5215         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5216         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5217         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
5218         (verilog-read-decls): Fix spaces in V2K module parameters causing
5219         mis-identification as interfaces, bug287.
5220         (verilog-read-decls): Fix not treating "parameter string" as a
5221         parameter in AUTOINSTPARAM.
5222         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5223         treating `elsif similar to `endif inside AUTOSENSE.
5224         (verilog-do-indent): Implement correct automatic or static task or
5225         function end comment highlight.  Reported by Steve Pearlmutter.
5226         (verilog-font-lock-keywords-2): Fix highlighting of single
5227         character pins, bug264.  Reported by Michael Laajanen.
5228         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5229         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5230         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5231         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
5232         (verilog-pretty-expr): Fix interactive arguments, bug272.
5233         Reported by Mark Johnson.
5234         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5235         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5236         bug269.  Suggested by Gary Delp.
5237         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5238         (verilog-preprocessor, verilog-set-compile-command):
5239         Create verilog-preprocess and verilog-preprocessor to show
5240         preprocessed output.
5241         (verilog-get-beg-of-line, verilog-get-end-of-line)
5242         (verilog-modi-file-or-buffer, verilog-modi-name)
5243         (verilog-modi-point, verilog-within-string): Move defmacro's
5244         before first use to avoid warning.  Reported by Steve Pearlmutter.
5245         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5246         (verilog-colorize-region, verilog-highlight-buffer)
5247         (verilog-highlight-includes, verilog-highlight-modules)
5248         (verilog-highlight-region, verilog-mode): Rename colorize to
5249         highlight to match other packages.  Disable module highlighting,
5250         as received speed complaints, reenable for experimentation only
5251         using new verilog-highlight-modules.
5252         (verilog-read-decls): Fix regexp stack overflow in very large
5253         AUTO_TEMPLATEs, bug250.
5254         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5255         (verilog-scan): Create verilog-save-buffer-state to standardize
5256         making insignificant changes that shouldn't call hooks.
5257         (verilog-save-no-change-functions, verilog-save-scan-cache)
5258         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5259         Create verilog-save-no-change-functions to wrap verilog-scan
5260         preservation, and fix to work with nested preserved calls.
5261         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5262         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5263         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
5264         (verilog-submit-bug-report): Update variable list to be complete.
5265         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5266         breaking on-the-fly font-locking.
5267         (verilog-colorize-buffer, verilog-colorize-include-files)
5268         (verilog-colorize-include-files-buffer, verilog-colorize-region)
5269         (verilog-load-file-at-mouse, verilog-load-file-at-point)
5270         (verilog-mode, verilog-read-inst-module-matcher): With point on a
5271         AUTOINST cell instance name, middle mouse button now finds-file on
5272         it.  Suggested by Brad Dobbie.
5273         (verilog-alw-get-temps, verilog-auto-reset)
5274         (verilog-auto-sense-sigs, verilog-read-always-signals)
5275         (verilog-read-always-signals-recurse): Fix loop indexes being
5276         AUTORESET.  AUTORESET now assumes any variables in the
5277         initialization section of a for() should be ignored.
5278         Reported by Dan Dever.
5279         (verilog-error-font-lock-keywords)
5280         (verilog-error-regexp-emacs-alist)
5281         (verilog-error-regexp-xemacs-alist): Fix error detection of
5282         Cadence HAL, reported by David Asher.  Repair drift between the
5283         three similar error variables.
5284         (verilog-modi-lookup, verilog-modi-lookup-cache)
5285         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5286         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5287         Fix slow verilog-auto expansion on very large files.
5288         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5289         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5290         "{1*2{...".  Broke in last revision.
5291         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5292         submodule connections with replications "{#{a},#{b}}".
5294 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
5296         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5297         Fix typo in docstring.
5299 2010-10-24  Kenichi Handa  <handa@m17n.org>
5301         * face-remap.el (text-scale-adjust): Call read-event with a proper
5302         prompt.
5304 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5306         * emacs-lisp/unsafep.el: Don't mark functions that display
5307         messages as safe.  Suggested by Johan Bockgård.
5309 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5311         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5312         Turn comments into docstrings.
5314         * minibuffer.el (completion--replace): Move point where it belongs
5315         when there's a common suffix (bug#7215).
5317 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5319         Merge read-color and facemenu-read-color (Bug#7242).
5321         * faces.el (read-color): Use the completion code from
5322         facemenu-read-color.  Require match in completion.  Doc fix.
5324         * facemenu.el (facemenu-read-color): Alias for read-color.
5325         (facemenu-set-foreground, facemenu-set-background):
5326         Use read-color.
5328         * frame.el (set-background-color, set-foreground-color)
5329         (set-cursor-color, set-mouse-color, set-border-color):
5330         Use read-color.
5332 2010-10-24  Leo  <sdl.web@gmail.com>
5334         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5335         argument of delete-file and delete-directory (Bug#7011).
5337 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5339         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5340         button-buffer-map.
5342 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
5344         * emacs-lisp/package.el (package--generate-package-list): Make the
5345         *Packages* buffer read-only.
5347 2010-10-24  Alan Mackenzie  <acm@muc.de>
5349         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5350         result of `c-beginning-of-decl-1' between invocations of a lambda
5351         function (Bug #7265).
5353 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
5355         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5356         executable is not available on the system (Bug#7268).
5358 2010-10-24  Glenn Morris  <rgm@gnu.org>
5360         * select.el (selection-coding-system, next-selection-coding-system):
5361         Sync doc with C versions.
5363         * w32-vars.el (x-select-enable-clipboard):
5364         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5365         * term/common-win.el (x-select-enable-clipboard): Move here.
5367         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5368         definition of C variable.
5370         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5371         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5372         Don't redefine things that are defined in C.
5373         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5374         (show-trailing-whitespace, auto-hscroll-mode)
5375         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5376         Set up the appropriate custom properties.
5378 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5380         Bind "C-c ]" to ...
5381         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5382         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5383         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5384         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5386 2010-10-23  Glenn Morris  <rgm@gnu.org>
5388         * textmodes/flyspell.el (flyspell-mode): If there was an error,
5389         say what it was.
5391         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5392         Sync docs with C version.
5394         * term/ns-win.el (xw-defined-colors):
5395         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5397         * term/pc-win.el (x-select-enable-clipboard):
5398         * term/x-win.el (x-select-enable-clipboard):
5399         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5401         * comint.el (comint-password-prompt-regexp): Make it less vague.
5402         Bump version.
5404         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5406         * help.el (finder-by-keyword): Remove unnecessary autoload.
5408 2010-10-22  Glenn Morris  <rgm@gnu.org>
5410         * loadup.el: Unconditionally load float-sup.
5411         * paren.el (show-paren-delay):
5412         * emacs-lisp/float-sup.el:
5413         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5414         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5415         (lazy-lock-stealth-verbose): Assume float support.
5416         * ps-print.el: Assume float support on Emacs.
5417         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5418         Remove non-float branch.
5420         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5421         src/Makefile no longer being pre-processed.
5423 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5425         * emacs-lisp/find-func.el (find-library): Use test-completion.
5427 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5429         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5431 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
5433         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5434         space in stat format string.
5435         (tramp-send-command): Unset $PS1 when using here documents, in
5436         order not to get several prompts.
5437         (tramp-get-inline-coding): Return `nil' in case of errors.
5439 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
5441         * hexl.el (hexl-mode, hexl-mode-exit):
5442         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5443         (hexl-revert-buffer-function): New function.
5444         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5446 2010-10-19  Alan Mackenzie  <acm@muc.de>
5448         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5449         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5450         that these keywords aren't wrongly matched as identifiers.
5452         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5453         setting of c-new-BEG and c-new-END from c-before-change to
5454         c-after-change.  (Bug#7181)
5456 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5458         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5459         Don't mark as safe.
5461         * custom.el (custom-theme-set-variables): Likewise.
5462         (load-theme): Add custom-theme-set-faces and
5463         custom-theme-set-variables to safe-functions while loading.
5464         (custom-enabled-themes): Mark as risky.
5466 2010-10-18  Julien Danjou  <julien@danjou.info>
5468         * bindings.el: Remove end dashes in default mode-line-format.
5470 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5472         * bindings.el (global-map): Bind C-d to delete-char and deletechar
5473         to delete-forward-char.
5475         * simple.el (normal-erase-is-backspace-mode): Remap delete to
5476         deletechar, and hence delete-forward-char.
5478 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5480         * repeat.el (repeat): Use read-key (bug#6256).
5482 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5484         * emacs-lisp/unsafep.el: Don't mark functions that display
5485         messages as safe.  Suggested by Johan Bockgård.
5487 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5489         * minibuffer.el (completion--replace): Move point where it belongs
5490         when there's a common suffix (bug#7215).
5492 2010-10-19  Kenichi Handa  <handa@m17n.org>
5494         * international/characters.el: Add category '|' (word breakable)
5495         to fullwidth characters.
5497 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
5499         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5500         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5501         order to make stat results a float.  Patch by Andreas Schwab
5502         <schwab@linux-m68k.org>.
5504 2010-10-18  Julien Danjou  <julien@danjou.info>
5506         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5507         hidden by `make-pointer-invisible'.
5509 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5511         * files.el (locate-file-completion-table): Strip non-matching elements
5512         before checking length of list (bug#7238).
5514 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
5516         * custom.el (custom-theme-set-variables): Mark as a safe function.
5517         (load-theme): Check forms using unsafep.
5519         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5521 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
5523         * textmodes/ispell.el (ispell-aspell-find-dictionary):
5524         Fix aspell data file searching (bug#7230).
5526 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5528         * cus-theme.el (custom-theme--migrate-settings): New var.
5529         (customize-create-theme): Allow editing the `user' theme.
5530         (custom-theme-add-variable, custom-theme-add-var-1)
5531         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5532         to the front of each variable or face widget.
5533         (custom-theme-write): Save theme settings in the correct order.
5534         Optionally, remove saved settings from user customizations.
5535         (custom-theme-write-variables, custom-theme-write-faces):
5536         Save only the checked widgets.
5537         (customize-themes): Add a link for migrating custom settings.
5539         * custom.el (custom-declare-theme, provide-theme):
5540         Use custom-theme-name-valid-p.
5541         (custom-theme-name-valid-p): Remove checks that are now
5542         unnecessary since themes no longer obey load-path.
5544         * cus-edit.el (custom-variable-value-create): For the simple
5545         style, hide documentation string when hidden.
5547 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5549         * cus-edit.el (custom-variable, custom-face): Combine the
5550         :inhibit-magic and :display-style properties into a single
5551         :custom-style property.
5552         (custom-toggle-hide-variable, custom-toggle-hide-face):
5553         New functions.  If hiding an edited value, save it to :shown-value.
5554         (custom-variable-value-create, custom-face-value-create): Use them.
5555         (custom-magic-reset): Allow magic property to be unset.
5557         * custom.el: Custom themes no longer use load-path.
5558         (custom-theme-load-path): New option.  Change built-in theme
5559         directory to etc/.
5560         (custom-enabled-themes): Add custom-theme-load-path dependency.
5561         (custom-theme--load-path): New function.
5562         (load-theme, custom-available-themes): Use it.
5564         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5565         (customize-themes): Link to custom-theme-load-path variable.
5566         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5567         :custom-style property.
5569         * themes/*.el: Moved to etc/.
5571 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
5573         * textmodes/reftex-cite.el
5574         (reftex-extract-bib-entries-from-thebibliography): Do not move
5575         point when searching for \bibitem entries.  Match entries with
5576         spaces or tabs in front of arguments.
5578 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5580         * cus-theme.el (customize-create-theme): Delete overlays after
5581         erasing.  If given a THEME arg, display only the faces of that arg
5582         instead of custom-theme--listed-faces.
5583         (custom-theme-variable-menu, custom-theme-variable-action)
5584         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5585         (custom-theme-add-variable, custom-theme-add-face): Apply value
5586         from the theme settings, instead of the current value.
5587         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5588         (custom-theme-visit-theme): Allow calling outside theme buffers.
5589         (custom-theme-merge-theme): Don't enable the theme when merging.
5590         (custom-theme-write-variables, custom-theme-write-faces): Use the
5591         :shown-value properties to save buffer values, not global ones.
5592         (customize-themes): Display a warning about user customizations.
5594         * cus-edit.el (custom-variable-value-create)
5595         (custom-face-value-create): Obey new special properties
5596         :shown-value and :inhibit-magic.
5598 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
5600         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5601         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
5602         <dale@codefu.org>.
5604 2010-10-14  Kenichi Handa  <handa@m17n.org>
5606         * mail/rmail.el (rmail-show-message-1): Catch an error of
5607         base64-decode-region and just show an error message (bug#7165).
5609         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
5610         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5611         a font-spec (bug#7197).
5613 2010-10-14  Glenn Morris  <rgm@gnu.org>
5615         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5617 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
5619         * international/mule.el (define-coding-system):
5620         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5621         * composite.el (compose-region): Fix typo in docstring.
5623 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
5625         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5626         only after checking the theme-face property.
5628         * faces.el (face-spec-reset-face): Reset all attributes in one
5629         single call to set-face-attribute.
5630         (face-spec-match-p): Make it a defsubst.
5631         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5632         (x-create-frame-with-faces, tty-create-frame-with-faces)
5633         (tty-set-up-initial-frame-faces): Don't recompute face specs in
5634         frame-set-background-mode, since they are recomputed immediately
5635         afterwards in face-set-after-frame-default.
5636         (face-set-after-frame-default): Minor optimization.
5637         (cursor): Provide non-trivial defface spec.
5639         * custom.el (custom-theme-recalc-face): Simplify.
5641 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
5643         * calc/calc-alg.el (math-var): Rename from `var'.
5644         (math-is-polynomial, math-is-poly-rec): Replace `var'
5645         with `math-var'.
5647         * calc/calcalg2.el (math-var): Rename from `var'.
5648         (calcFunc-table, math-scan-for-limits): Replace `var'
5649         with `math-var'.
5651 2010-10-13  Glenn Morris  <rgm@gnu.org>
5653         * subr.el (last): Deal with dotted lists (reported in bug#7174).
5655 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
5657         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5659 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5661         * net/tls.el (tls-program): Remove spurious %s from openssl.
5662         (tls-starttls-switches): Remove starttls hack.
5663         (open-tls-stream): Ditto.
5664         (tls-find-starttls-argument): Ditto.
5666 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
5668         * image.el (image-library-alist): Declare as obsolete alias.
5669         (image-type-available-p): Use `dynamic-library-alist'.
5671         * term/w32-win.el (dynamic-library-alist):
5672         Use instead of `image-library-alist'.
5674 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
5676         * subr.el (last): Make it faster.  (Bug#7174)
5678 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
5680         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
5682 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5684         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5685         (describe-theme-1): Extract doc from unloaded themes.
5687         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5689         * themes/tango-theme.el:
5690         * themes/tango-dark-theme.el:
5691         * themes/wheatgrass-theme.el: New files.
5693 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5695         * cus-theme.el (describe-theme, customize-themes)
5696         (custom-theme-save): New commands.
5697         (custom-new-theme-mode-map): Bind C-x C-s.
5698         (custom-new-theme-mode): Use custom--initialize-widget-variables.
5699         (customize-create-theme): New optional arg THEME.
5700         (custom-theme-revert): Use it.
5701         (custom-theme-visit-theme): Remove dead code.
5702         (custom-theme-merge-theme): Use custom-available-themes.
5703         (custom-theme-write): Make interactive.
5704         (custom-theme-write): Use custom-theme-name-valid-p.
5705         (describe-theme-1, custom-theme-choose-revert)
5706         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5707         New funs.
5708         (custom-theme-allow-multiple-selections): New option.
5709         (custom-theme-choose-mode): New major mode.
5711         * custom.el (custom-theme-set-variables): Remove dead code.
5712         Obey custom--inhibit-theme-enable.
5713         (custom--inhibit-theme-enable): New var.
5714         (provide-theme): Obey it.
5715         (load-theme): Replace load with manual read/eval, in order to
5716         check for correctness.  Use custom-theme-name-valid-p.
5717         (custom-theme-name-valid-p): New function.
5718         (custom-available-themes): Use it.
5720         * cus-edit.el (custom--initialize-widget-variables): New function.
5721         (Custom-mode): Use it.
5723         * cus-face.el (custom-theme-set-faces): Remove dead code.
5724         Obey custom--inhibit-theme-enable.
5726         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5728 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
5730         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5732 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
5734         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5735         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5736         (mac-right-option-modifier): New alias for ns-right-option-modifier.
5738         * cus-start.el (all): ns-right-alternate-modifier is new.
5740 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5742         * emacs-lisp/lisp.el (lisp-completion-at-point):
5743         Use emacs-lisp-mode-syntax-table for the whole function.
5745 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
5747         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5748         instead of font-lock-mode before adding keywords.
5749         Remove hi-lock-mode off code.  Remove inhibit hack.
5750         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5751         non-nil; removed hook inhibit hack.
5753 2010-10-12  Glenn Morris  <rgm@gnu.org>
5755         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5756         (load-path-shadows-find): ... to this.
5757         (list-load-path-shadows): Update for above change.
5759         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5761 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
5763         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5764         Fix comment for declare-function.
5766 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
5768         * custom.el (custom-fix-face-spec): New function; code moved from
5769         custom-face-edit-fix-value.
5770         (custom-push-theme): Use it when checking if a face has been
5771         changed outside customize.
5772         (custom-available-themes): New function.
5773         (load-theme): Use it.
5775         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5777         * custom.el (custom-push-theme): Cleanup (use cond).
5778         (disable-theme): Recompute the saved-face property.
5779         (custom-theme-recalc-face): Follow face alias before setting prop.
5781         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5782         New variables, containing checkbox images.
5784         * startup.el (fancy-startup-tail):
5785         * wid-edit.el (checkbox): Use them.
5787 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
5789         * shell.el (shell-mode-map):
5790         * progmodes/modula2.el (m2-mode-map):
5791         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5792         * play/mpuz.el (mpuz-mode-map):
5793         * play/landmark.el (lm-mode-map):
5794         * play/decipher.el (decipher-mode-map):
5795         * play/5x5.el (5x5-mode-map):
5796         * net/telnet.el (telnet-mode-map):
5797         * net/quickurl.el (quickurl-list-mode-map):
5798         * net/mairix.el (mairix-searches-mode-map):
5799         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5800         * net/dig.el (dig-mode-map):
5801         * mail/mspools.el (mspools-mode-map):
5802         * hexl.el (hexl-mode-map):
5803         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5804         (wordstar-C-o-map, wordstar-C-q-map):
5805         * emacs-lisp/edebug.el (edebug-eval-mode-map):
5806         * emacs-lisp/chart.el (chart-map):
5807         * edmacro.el (edmacro-mode-map):
5808         * erc/erc-list.el (erc-list-menu-mode-map):
5809         * array.el (array-mode-map): Declare and define in one step.
5811         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5813 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
5815         * epa.el (epa-passphrase-callback-function): Display filename
5816         passed as the 3rd arg.
5817         * epa-file.el (epa-file-passphrase-callback-function):
5818         Pass filename to epa-passphrase-callback-function.
5820 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
5822         * cus-edit.el (custom-face-widget-to-spec)
5823         (custom-face-get-current-spec, custom-face-state): New functions.
5824         (custom-face-set, custom-face-mark-to-save)
5825         (custom-face-value-create, custom-face-state-set): Use them.
5827         * cus-theme.el (custom-theme--listed-faces): New var.
5828         (customize-create-theme): Use *Custom Theme* as the buffer name.
5829         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
5830         faces listed in custom-theme--listed-faces.
5831         (custom-theme-revert): New function.
5832         (custom-theme-add-variable, custom-theme-add-face): Insert at the
5833         bottom of the list.
5834         (custom-theme-write): Prompt for theme name if empty.
5835         (custom-theme-write-variables): Use dolist.
5836         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5838 2010-10-09  Alan Mackenzie  <acm@muc.de>
5840         Enhance fontification of declarators to take account of the
5841         presence/absence of "typedef".
5843         * cc-engine.el (c-forward-type): New &optional param
5844         "brace-block-too".
5845         (c-forward-decl-or-cast-1): cdr of return value now indicates the
5846         presence of either or both of a "struct"-like keyword and "typedef".
5848         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5849         fontification of declarators which follow a "}".
5850         (c-font-lock-declarations): Fontify declarators according to the
5851         presence/absence of "typedef".
5853         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5854         for "typedef".
5855         (c-typedef-decl-key): New lang variable built from
5856         c-typedef-decl-kwds.
5858 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5860         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5861         since that's too annoying.  Move the filter groups commands to
5862         TAB/backtab.
5864         * epa.el (epa-passphrase-callback-function): Say what we're
5865         querying the password for.
5867         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5868         behaviour, don't bury the ibuffer buffer when visiting other buffers.
5870 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5872         * cus-edit.el (custom-commands, custom-buffer-create-internal)
5873         (custom-magic-value-create): Pad button tags with spaces.
5874         (custom-face-edit): New variable.
5875         (custom-face-value-create): Determine whether to use the usual
5876         face editor here, instead of using custom-face-selected.
5877         Pass face defaults to custom-face-edit widget.
5878         (custom-face-selected, custom-display-unselected): Delete widgets.
5879         (custom-display-unselected-match): Function removed.
5880         (custom-face-set, custom-face-mark-to-save):
5881         Accept custom-face-edit widgets as the direct widget child.
5883         * wid-edit.el (widget--completing-widget): New var.
5884         (widget-default-complete): Bind it when doing completion.
5885         (widget-string-complete, widget-file-complete): Use it.
5887 2010-10-09  Glenn Morris  <rgm@gnu.org>
5889         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5890         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5891         (holiday-hebrew-misc): Small simplifications.
5893         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5895         * net/browse-url.el: Don't require thingatpt, term, dired,
5896         executable, or w3-auto when compiling.
5897         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5898         Declare.
5899         (browse-url-text-emacs): Require term.
5901 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
5903         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5905 2010-10-08  Glenn Morris  <rgm@gnu.org>
5907         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5909         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5910         (shadows-compare-text-p): Make it an obsolete alias for...
5911         (load-path-shadows-compare-text): ... new name.
5912         (find-emacs-lisp-shadows): Update for above name change.
5913         (load-path-shadows-same-file-or-nonexistent): New name for the old
5914         shadow-same-file-or-nonexistent.
5916 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5918         * minibuffer.el (completion--some, completion--do-completion)
5919         (minibuffer-complete-and-exit, minibuffer-completion-help)
5920         (completion-basic-try-completion)
5921         (completion-basic-all-completions)
5922         (completion-pcm--find-all-completions): Use lexical-let to
5923         avoid some false matches in variable completion (Bug#7056)
5925 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
5927         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
5929 2010-10-08  Leo  <sdl.web@gmail.com>
5931         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5932         return non-nil if the file exists (Bug#7090).
5934 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5936         * minibuffer.el (completion--replace):
5937         Better preserve markers (bug#7138).
5939 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
5941         * server.el (server-process-filter): Doc fix.
5943 2010-10-08  Drew Adams  <drew.adams@oracle.com>
5945         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
5947 2010-10-08  Glenn Morris  <rgm@gnu.org>
5949         * vc/ediff-wind.el (ediff-setup-control-frame):
5950         * vc/ediff-ptch.el (ediff-default-backup-extension):
5951         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5952         (ediff-exec-process): Remove system-types emx, windows-95.
5954         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
5956 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
5958         * cus-edit.el (custom-variable, custom-face): Doc fix.
5959         (custom-face-edit): Add value-create attribute.
5960         (custom-face-edit-value-create)
5961         (custom-face-edit-value-visibility-action): New functions.
5962         Hide unused face attributes by default, and add a visibility toggle.
5963         (custom-face-edit-deactivate): Show empty values with shadow face.
5964         (custom-face-selected): Only use this for face specs with default
5965         attributes.
5966         (custom-face-value-create): Cleanup.
5968         * wid-edit.el (widget-checklist-value-create): Use dolist.
5969         (widget-checklist-match-find): Make second arg optional.
5971 2010-10-07  Glenn Morris  <rgm@gnu.org>
5973         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5974         Prefix things.
5976         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5977         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5978         load-path-shadows-mode, update references.
5979         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5980         Rename variable and button.
5981         (list-load-path-shadows): Update button caller.
5983 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5985         * emacs-lisp/smie.el (smie-bnf-classify): New function.
5986         (smie-bnf-precedence-table): Use it to remember the closers/openers.
5987         (smie-merge-prec2s): Handle those new entries.
5988         (smie-prec2-levels): Only set precedence to nil for actual
5989         openers/closers.
5990         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5991         that is now unnecessary.
5993 2010-10-07  Miles Bader  <miles@gnu.org>
5995         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5997 2010-10-07  Glenn Morris  <rgm@gnu.org>
5999         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6000         (mail-position-on-field): Remove declarations.
6001         (mail-position-on-field): Autoload it.
6002         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6003         and mail-header-end.  Don't require sendmail.
6005         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6006         (shadow-mode): New mode.
6007         (shadow-find-file): New button.
6008         (list-load-path-shadows): Use shadow-mode and buttons.
6010         * iimage.el (iimage-version): Remove.
6011         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6012         Turn into defcustoms.
6013         (iimage-mode-map): Give it a doc string.
6015         * calendar/appt.el (appt-activate): Give a warning rather than an error
6016         if there is no diary-file.
6018 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
6020         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6021         Use `tramp-handle-find-backup-file-name'.
6023 2010-10-06  Glenn Morris  <rgm@gnu.org>
6025         * font-core.el (font-lock-defaults-alist): Remove variable.
6026         (font-lock-mode): Doc fix.
6027         (font-lock-default-function): Do not consult font-lock-defaults-alist.
6028         * font-lock.el (font-lock-refresh-defaults): Doc fix.
6029         (font-lock-set-defaults): Doc fix.
6030         Do not consult font-lock-defaults-alist.
6032         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6034         * emacs-lisp/cl.el: No longer provide cl-19.
6036 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
6038         * net/tramp.el (tramp-handle-directory-files-and-attributes)
6039         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6040         New defuns, taken from tramp-smb.el.
6041         (tramp-coding-system-change-eol-conversion)
6042         (tramp-set-process-query-on-exit-flag): Remove.
6044         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6045         (tramp-compat-coding-system-change-eol-conversion)
6046         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6047         from tramp.el.
6049         * net/tramp-gvfs.el:
6050         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6051         by `tramp-compat-set-process-query-on-exit-flag'.
6053         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6054         Use `tramp-handle-directory-files-and-attributes',
6055         `tramp-handle-file-exists-p' and
6056         `tramp-handle-file-newer-than-file-p'.
6057         (tramp-imap-handle-file-exists-p)
6058         (tramp-imap-handle-file-executable-p)
6059         (tramp-imap-handle-file-readable-p)
6060         (tramp-imap-handle-directory-files-and-attributes)
6061         (tramp-imap-handle-file-newer-than-file-p): Remove.
6063         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6064         by `tramp-compat-set-process-query-on-exit-flag' and
6065         `tramp-coding-system-change-eol-conversion' by
6066         `tramp-compat-coding-system-change-eol-conversion'.
6068         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6069         Use `tramp-handle-directory-files-and-attributes',
6070         `tramp-handle-file-exists-p' and
6071         `tramp-handle-file-newer-than-file-p'.
6072         (tramp-smb-handle-directory-files-and-attributes)
6073         (tramp-smb-handle-file-exists-p)
6074         (tramp-smb-handle-file-newer-than-file-p): Remove.
6075         (tramp-smb-maybe-open-connection):
6076         Replace `tramp-set-process-query-on-exit-flag' by
6077         `tramp-compat-set-process-query-on-exit-flag'.
6079 2010-10-05  Glenn Morris  <rgm@gnu.org>
6081         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6083 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
6085         Continue reorganization of load dependencies.  (Bug#7156)
6087         * net/tramp.el (tramp-handle-file-local-copy-hook)
6088         (tramp-delete-temp-file-function): Move down.
6089         (tramp-exists-file-name-handler): Move up.
6090         (tramp-register-file-name-handlers): Simplify autoload.
6091         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6092         (tramp-handle-directory-files, tramp-handle-dired-uncache)
6093         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6094         (tramp-handle-file-name-completion)
6095         (tramp-handle-file-name-directory)
6096         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6097         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6098         (tramp-handle-find-backup-file-name)
6099         (tramp-handle-insert-file-contents, tramp-handle-load)
6100         (tramp-handle-substitute-in-file-name)
6101         (tramp-handle-unhandled-file-name-directory)
6102         (tramp-mode-string-to-int, tramp-local-host-p)
6103         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6105         * net/tramp-gvfs.el (top):
6106         * net/tramp-smb.el (top): Do not require 'tramp-sh.
6108         * net/tramp-sh.el (all): Move several objects to tramp.el, see
6109         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6111 2010-10-04  Glenn Morris  <rgm@gnu.org>
6113         * calendar/appt.el (appt-add): Ensure reminders are enabled.
6114         (appt-activate): Give status messages.
6116 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6118         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
6119         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6120         `gnutls-negotiate' (formerly `starttls-negotiate').
6121         Remove trivial wrapper `starttls-open-stream'.
6123 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
6125         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6126         log-outgoing commands.
6127         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6128         to create a buffer local revert-buffer-function variable.
6129         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6130         revert-buffer-function lambda.
6132 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6134         * net/gnutls.el (starttls-negotiate): Use the plist interface to
6135         `gnutls-boot'.  Make TYPE the only required parameter.
6136         Allow TRUSTFILES and KEYFILES to be lists.
6137         (open-ssl-stream): Use it.
6139 2010-10-03  Glenn Morris  <rgm@gnu.org>
6141         * subr.el (directory-sep-char): Remove obsolete variable.
6142         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6143         it is "necessary".
6145         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6146         * vc/vc.el (vc-static-header-alist): Doc fix.
6147         * vc/vc-cvs.el (vc-cvs-header):
6148         * vc/vc-rcs.el (vc-rcs-header):
6149         * vc/vc-sccs.el (vc-sccs-header):
6150         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6151         * obsolete/vc-mcvs.el (vc-mcvs-header):
6152         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6153         on XEmacs.
6155 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6157         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6158         Remove obsolete use of binary-overwrite-mode (Bug#7001).
6160 2010-10-03  Glenn Morris  <rgm@gnu.org>
6162         * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6164         * textmodes/rst.el (rst-font-lock-keywords-function):
6165         Drop Emacs 20 code.
6167         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6169         * printing.el: Drop Emacs 20 code.
6171         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6172         without having used appt.el already).
6174         * subr.el (make-local-hook): Remove function obsolete since 21.1.
6175         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6176         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6177         XEmacs.
6178         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6179         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6181         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6182         (charset-width, find-charset-region, chars-in-region, forward-point)
6183         (encode-coding-string, coding-system-p, ccl-execute-on-string)
6184         (define-ccl-program, multibyte-string-p, string-make-multibyte):
6185         Remove compatibility cruft (none of these are used by ps*.el).
6187 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
6189         * subr.el (booleanp): Return t instead of a list (Bug#7086).
6191 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6193         * server.el (server-process-filter, server-return-error):
6194         Give emacsclient time to shut down after receiving an error string.
6196 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
6198         * files.el (remote-file-name-inhibit-cache): New defcustom.
6200         * time.el (display-time-file-nonempty-p):
6201         Use `remote-file-name-inhibit-cache'.
6203         * net/tramp.el (tramp-completion-reread-directory-timeout):
6204         Fix docstring.
6206         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6207         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6208         `remote-file-name-inhibit-cache'.  Check also for an integer
6209         value.  Add/increase counter when `tramp-verbose' >= 10.
6210         (tramp-set-file-property): Add/increase counter when
6211         `tramp-verbose' >= 10.
6213         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6214         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6215         (tramp-bug): Set tramp-autoload cookie.  Report all interned
6216         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
6217         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
6218         characters only in strings.
6220         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6221         to backward compatibility.
6223         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6224         (tramp-handle-file-name-all-completions)
6225         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6226         (tramp-open-connection-setup-interactive-shell):
6227         Call `tramp-cleanup-connection' directly.
6229 2010-10-02  Glenn Morris  <rgm@gnu.org>
6231         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6233         * subr.el (char-bytes): Remove obsolete function.
6235         * isearch.el (isearch-return-char): Remove obsolete function.
6237         * mouse.el: No longer provide mldrag.
6238         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6239         Remove obsolete aliases.
6241         * comint.el (comint-kill-output): Remove obsolete alias.
6243         * composite.el (decompose-composite-char): Remove obsolete function.
6244         * ps-def.el (decompose-composite-char): Remove unused function.
6246         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6248         * outline.el (outline-visible): Remove obsolete function.
6250         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6251         * faces.el (internal-find-face, internal-get-face)
6252         (frame-update-faces, frame-update-face-colors)
6253         (x-frob-font-weight, x-frob-font-slant)
6254         (internal-frob-font-weight, internal-frob-font-slant)
6255         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6256         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6257         (x-make-font-bold-italic): Remove functions and aliases, obsolete
6258         since Emacs 21.1.
6259         * emulation/viper-util.el (viper-get-face):
6260         * obsolete/lucid.el (find-face, get-face): Use facep.
6261         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6262         Remove unused functions.
6263         * vc/ediff-util.el (ediff-submit-report): Doc fix.
6265         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6266         delete tempfile if interrupted during compilation.
6268 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6270         * net/tls.el (tls-starttls-switches): Give up on using starttls with
6271         gnutls-cli.
6272         (tls-program): Add --insecure to be consistent with the defaults from
6273         openssl s_client.  Now all three commands are insecure.
6275 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
6277         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6278         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6279         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6281 2010-10-01  Glenn Morris  <rgm@gnu.org>
6283         * obsolete/sc.el: Remove file.
6285         * files.el (temporary-file-directory): On darwin, also try
6286         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6288 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
6290         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6291         Let's not break compatibility gratuitously, shall we?
6293 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6295         * net/tls.el (tls-starttls-switches): New variable.
6296         (tls-find-starttls-argument): Use it.
6297         (open-tls-stream): Ditto.
6299         * net/netrc.el (netrc-credentials): Return the value of the "default"
6300         entry.
6301         (netrc-machine): Ditto.
6303 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
6305         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6307 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
6309         * server.el (server-start): Don't write pid to the authentication file.
6310         (server-create-tty-frame): Don't send pid.
6311         (server-process-filter): Send pid at the start of every connection.
6313 2010-09-30  Glenn Morris  <rgm@gnu.org>
6315         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6316         (show-all-diary-entries): Remove obsolete function aliases.
6318         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6319         Remove options, obsolete since 22.1.
6320         (appt-display-format, appt-display-message):
6321         Remove backwards-compatibility code.
6322         (appt-check): No longer check appt-issue-message.
6323         (appt-make-list): No longer autoload it.  Doc fix.  No longer
6324         activate the package.
6326 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6328         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6329         (starttls-negotiate): Just call boot, and let the handshake be
6330         triggered from the read loop.
6332 2010-09-29  Glenn Morris  <rgm@gnu.org>
6334         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6335         not displaying the diary.
6336         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6337         * calendar/appt.el (appt-check): No longer need to kill diary.
6339         * calendar/diary-lib.el (diary-list-entries): Move the
6340         "Preparing..." message entirely here.
6341         (diary-simple-display, diary-fancy-display): Move "Preparing..."
6342         messages to diary-list-entries.
6343         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6344         diary-display-function.
6346         * calendar/diary-lib.el (diary-include-other-diary-files):
6347         Trap some recursive includes.
6349         * calendar/appt.el (appt-activate): Check diary file.
6351 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
6353         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6354         construction.
6356         * calendar/time-date.el: No need to require cl for Emacs 21.
6358 2010-09-28  Glenn Morris  <rgm@gnu.org>
6360         * calendar/appt.el (appt-check): Minor simplification.
6362 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
6364         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6365         citation prefix.
6367 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
6369         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6370         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
6372 2010-09-27  Kenichi Handa  <handa@m17n.org>
6374         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6375         "ustar" format.
6377 2010-09-27  Kenichi Handa  <handa@m17n.org>
6379         * international/mule.el (define-coding-system): Docstring fixed.
6381         * international/mule-diag.el (describe-character-set): Use princ
6382         with proper print-length and print-level instead of insert.
6384 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
6386         * window.el (walk-windows): Doc fix (bug#7105).
6388 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6390         * emacs-lisp/float-sup.el (e): Remove.
6392 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
6394         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6395         variable.
6396         (starttls-negotiate): Use it.
6398 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6400         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6401         back.
6403 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6405         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6407 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6409         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6411         * net/netrc.el (netrc-store-data): New function.
6413 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
6415         * net/gnutls.el: GnuTLS glue code to set up a connection.
6417 2010-09-25  Julien Danjou  <julien@danjou.info>
6419         * notifications.el: Call dbus-register-signal only if it is bound.
6421 2010-09-25  Glenn Morris  <rgm@gnu.org>
6423         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6424         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6425         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6426         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6427         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6428         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6429         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6430         * eshell/esh-util.el, eshell/esh-var.el:
6431         Remove leading `*' from docs of faces and defcustoms.
6433 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
6435         * eshell/em-ls.el (eshell-ls-archive-regexp):
6436         * eshell/esh-util.el (eshell-tar-regexp):
6437         * ibuffer.el (ibuffer-compressed-file-name-regexp):
6438         * info.el (Info-suffix-list):
6439         * international/mule.el (auto-coding-alist):
6440         * woman.el (woman-file-regexp, woman-file-compression-regexp):
6441         * progmodes/etags.el (tags-compression-info-list):
6442         Support xz compression.
6444 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
6446         * files.el (get-free-disk-space): Don't assume the "df" output
6447         columns line up (Bug#6995).
6449 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6451         * finder.el (finder-unknown-keywords):
6452         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6453         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6455 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6457         * server.el (server-start): Revert part of 2010-08-08 change.  Using
6458         address 127.0.0.1 for local host is now done in Fmake_network_process.
6460 2010-09-24  Glenn Morris  <rgm@gnu.org>
6462         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6463         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6464         * textmodes/css-mode.el, textmodes/dns-mode.el:
6465         Move autoloaded auto-mode-alist entries to files.el.
6466         * files.el (auto-mode-alist): Move entries here.
6468 2010-09-23  Glenn Morris  <rgm@gnu.org>
6470         * isearch.el (isearch-lazy-highlight-cleanup)
6471         (isearch-lazy-highlight-initial-delay)
6472         (isearch-lazy-highlight-interval)
6473         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6474         * net/net-utils.el (ipconfig-program-options):
6475         Move aliases to options before the associated definitions.
6477 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6479         * newcomment.el (comment-normalize-vars): Better test validity of
6480         comment-end-skip.
6482 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6484         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6485         (float-e): New name for `e'.
6486         (degrees-to-radians, radians-to-degrees):
6487         * calendar/solar.el (solar-longitude):
6488         * calculator.el (calculator-registers, calculator-funcall):
6489         * textmodes/artist.el (artist-spray-random-points):
6490         * play/bubbles.el (bubbles--initialize-images): Use new names.
6492 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
6494         Update to CEDET 1.0's version of EIEIO.
6496         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6497         New function.
6498         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6499         (eieio-default-eval-maybe): Eval val instead of unquoting only.
6500         (class-precedence-list): If class is nil, return nil.
6501         (eieio-generic-call): If class of first input arg is nil, don't
6502         look up static methods, and do check for primary methods.
6503         (initialize-instance): See if the default needs to be evaluated
6504         during the constructor.
6505         (eieio-perform-slot-validation-for-default): Don't do the check
6506         for values that will eventually be evaluated.
6507         (eieio-eval-default-p): New function.
6508         (eieio-default-eval-maybe): Use it.
6510 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6512         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6513         method-invocation-order.
6514         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6515         (eieio-class-precedence-dfs): Compute class precedence list using
6516         dfs algorithm.
6517         (eieio-class-precedence-bfs): Compute class precedence list using
6518         bfs algorithm.
6519         (eieio-class-precedence-c3): Compute class precedence list using
6520         c3 algorithm.
6521         (class-precedence-list): New function.
6522         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6523         (inconsistent-class-hierarchy): New error symbol.
6524         (call-next-method): Stow the replacement argument list for future
6525         call-next-method invocations.
6527 2010-09-23  Glenn Morris  <rgm@gnu.org>
6529         * calendar/appt.el (appt-check): If not displaying the diary,
6530         use (diary 1) to only get the entries we need.
6531         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6532         that it is in day order.  (Bug#7019)
6534         * calendar/appt.el (appt-check): Rather than showing the diary,
6535         just turn off invisible display, and only if needed.
6537         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
6539 2010-09-23  Glenn Morris  <rgm@gnu.org>
6541         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6542         (byte-compile-defvar, byte-compile-cl-warn):
6543         Start warnings with lower-case, like the majority.
6545         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6547         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
6549         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6550         * files.el (auto-mode-alist): Move ld-script entries here, further down
6551         the list.
6553         * vc/add-log.el: Don't require timezone when compiling.
6554         (timezone-make-date-sortable): Autoload it.
6555         (change-log-sortable-date-at): Don't require timezone.
6556         Use `ignore-errors'.
6558         * comint.el (comint-use-prompt-regexp-instead-of-fields):
6559         Move alias before definition, so it does not need autoloading.
6561         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6562         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6563         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6564         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6565         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6566         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6567         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6568         * textmodes/tex-mode.el, textmodes/two-column.el:
6569         Remove leading `*' from docs of defcustoms etc.
6571 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
6573         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6575 2010-09-22  Dan Christensen  <jdc@uwo.ca>
6577         * calendar/time-date.el (date-to-time): Try using parse-time-string
6578         first before using the slower timezone-make-date-arpa-standard.
6580 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
6582         * calendar/time-date.el (format-seconds): Comment fix.
6584 2010-09-22  Glenn Morris  <rgm@gnu.org>
6586         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6587         is not automatically buffer-local.
6589 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6591         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6592         (smie-indent-comment): Be more careful with comment-start-skip.
6593         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6594         (smie-indent-functions): Use them.
6596 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
6598         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6600 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
6602         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6603         tool-bar-position.  Don't modify frame parameters here.
6604         (menu-bar-options-save): Add tool-bar-position.
6606         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6608 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6610         * textmodes/reftex-parse.el (reftex-what-macro)
6611         (reftex-context-substring): Let-bind forward-sexp-function to nil
6612         since we don't need/want to treat \begin...\end as a block (bug#7053).
6614         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6616         * simple.el (blink-matching-open): Use syntax-class.
6618         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6619         Set invisibility spec for pascal's outline mode.
6620         (pascal-outline-change): Clean up calling convention.
6621         (pascal-show-all, pascal-hide-other-defuns): Update callers.
6623         * progmodes/prolog.el (prolog-smie-forward-token)
6624         (prolog-smie-backward-token): New functions.
6625         (prolog-mode-variables): Use them to parse "!," correctly.
6626         Set up smie-blink-matching for ".".
6628         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6629         and `end'.
6630         (ispell-region, ispell-process-line): Update users.
6632         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6633         point-min==1.
6635         * textmodes/ispell.el: Fix commenting convention.
6636         (ispell-parse-output): Simplify, use push.
6637         (ispell-region): Use match-string-no-properties.
6638         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6639         (ispell-minor-mode): Use define-minor-mode.
6640         (ispell-message): Remove unused var `skip-regexp'.
6641         (ispell-add-per-file-word-list): Use dynamic let-binding.
6642         Try and use the proper comment marker.
6644         * mail/sendmail.el: Fix commenting convention.
6645         (sendmail-send-it): Use line-beginning-position.
6647         * help-fns.el (describe-variable): Add original value, if applicable.
6649 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
6651         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6653         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6655 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6657         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6658         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6659         (smie-prec2-levels): Use them to better diagnose precedence cycles.
6660         (smie-blink-matching-check): Don't signal a mismatch if car is t.
6661         (smie-blink-matching-open): Rewrite to remove assumptions, so that
6662         something like "." can also be a closer.
6663         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6664         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6665         Rename internal functions to use "--".  Update callers.
6667         * frame.el (make-frame-names-alist): Don't list frames on other displays.
6669         * fringe.el (fringe-styles): New var.
6670         (fringe-mode, fringe-query-style): Use it.
6672 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
6674         * progmodes/sql.el: Version 2.8
6675         (sql-login-params): Update widget structure; changes still needed.
6676         (sql-product-alist): Add :list-all and :list-table features for
6677         SQLite, Postgres and MySQL products.
6678         (sql-redirect): Handle default value.
6679         (sql-execute, sql-execute-feature): New functions.
6680         (sql-read-table-name): New function.
6681         (sql-list-all, sql-list-table): New functions.  User API.
6682         (sql-mode-map, sql-interactive-mode-map): Add key definitions
6683         for above functions.
6684         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6685         for above functions.
6686         (sql-postgres-login-params): Add user and database defaults.
6687         (sql-buffer-live-p): Bug fix.
6688         (sql-product-history): New variable.
6689         (sql-read-product): New function.  Use it.
6690         (sql-set-product, sql-product-interactive): Use it.
6691         (sql-connection-history): New variable.
6692         (sql-read-connection): New function.  Use it.
6693         (sql-connect): New function.
6694         (sql-for-each-login): Redesign function interface.
6695         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6696         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
6697         (sql-comint): Check for program.  Existing live buffer.
6698         (sql-comint-postgres): Add port parameter.
6700 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6702         * emacs-lisp/warnings.el: Fix commenting convention.
6703         (display-warning): Use special mode and make the buffer read-only.
6705 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
6707         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6708         empty string when it follows a repeated or optional pattern.
6710 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6712         * indent.el (indent-according-to-mode): Apply syntax-propertize.
6713         (indent-region): Use indent-according-to-mode.
6715 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
6717         * fringe.el (fringe-mode): Doc fix.
6719 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
6721         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6722         refreshing the preview buffer.
6724 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6726         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6727         (latex-syntax-propertize-rules): New consts; replace
6728         tex-font-lock-syntactic-keywords.
6729         (tex-env-mark, latex-env-before-change): New functions.
6730         (latex-electric-env-pair-mode): New minor mode.
6731         (tex-font-lock-verb): Change arguments; do move point.
6732         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6733         representation as a form of comment.
6734         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6735         (doctex-syntax-propertize-rules): New const; replaces
6736         doctex-font-lock-syntactic-keywords.
6737         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6739         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6740         (fortran-make-syntax-propertize-function): New function; replaces
6741         fortran-font-lock-syntactic-keywords.
6742         (fortran-mode): Use it.
6743         (fortran-line-length): Use it.  Improve interactive spec.
6745         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6746         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
6747         when adding surrounding \(..\).
6749         * progmodes/js.el (js-mode): Fix last change (bug#7054).
6751 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6753         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6754         Use with-current-buffer.
6756         * isearch.el (isearch-face): Rename from `isearch'.
6757         (isearch-highlight): Use new name.
6759 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
6761         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6762         5, for `half' width fringes.  (Bug#6933)
6764 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6766         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6767         (byte-compile-defvar): "foo/bar" does not lack a prefix.
6769         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6771 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
6773         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6774         in calculating new frame position.  Add more space between new and
6775         parent on the left (Bug#7048).
6777 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
6779         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6780         defmacro.
6782 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
6784         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6786         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6787         obsolete alias for x-selection-value.
6789         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6791 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
6793         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6794         cookie.
6796 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
6798         * net/tramp-compat.el (tramp-compat-with-temp-message)
6799         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6800         (tramp-compat-process-put): New defuns.
6802         * net/tramp.el (top):
6803         * net/tramp-gvfs.el (top):
6804         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6806         * net/tramp.el (tramp-progress-reporter-update):
6807         Use `tramp-compat-funcall'.
6809         * net/tramp.el (tramp-process-actions):
6810         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6811         * net/tramp-sh.el (tramp-handle-vc-registered)
6812         (tramp-get-remote-stat, tramp-get-remote-readlink):
6813         Use `tramp-compat-with-temp-message'.
6815         * net/tramp-sh.el (top): Require 'cl.
6816         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6817         (tramp-open-connection-setup-interactive-shell):
6818         Use `tramp-compat-process-put'.
6820 2010-09-15  Alan Mackenzie  <acm@muc.de>
6822         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6823         indentation.
6824         (c-forward-<>-arglist-recur): Fix an infinite recursion.
6826 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6828         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6829         `lexical' for warnings related to lexical scoping.
6830         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6831         global vars which don't have a prefix and could hence affect lexical
6832         scoping in unrelated files.
6834 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6836         * net/imap.el: Revert back to version
6837         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6838         seem problematic.
6840 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
6842         * obsolete/old-whitespace.el (whitespace-unload-function):
6843         Explicitly pass `obarray' to `unintern' to avoid a warning.
6845 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6847         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6848         Add `when' argument.  Update callers.
6850         * subr.el (unintern): Declare the obarray arg mandatory.
6852 2010-09-14  Glenn Morris  <rgm@gnu.org>
6854         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6855         Doc fixes.
6857         * calendar/diary-lib.el (diary-included-files): New variable.
6858         (diary-list-entries): Maybe initialize diary-included-files.
6859         (diary-include-other-diary-files): Append to diary-included-files.
6860         * calendar/appt.el (appt-update-list): Also check the members of
6861         diary-included-files.  (Bug#6999)
6862         (appt-check): Doc fix.
6864 2010-09-14  David Reitter  <david.reitter@gmail.com>
6866         * simple.el (line-move-visual): Do not truncate goal column to
6867         integer size.  (Bug#7020)
6869 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6871         * repeat.el (repeat): Allow repeating when the last event is a click.
6872         Suggested by Drew Adams (bug#6256).
6874 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
6876         * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
6877         Replace setting HGRCPATH to "" by some less invasive --config options.
6879 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6881         * font-lock.el (font-lock-beginning-of-syntax-function):
6882         Mark as obsolete.
6884 2010-09-14  Glenn Morris  <rgm@gnu.org>
6886         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6887         and tool-bar modes.  (Bug#6211)
6888         (menu-bar-mode): Move setting of standard-value after the
6889         minor-mode definition, otherwise it seems to have no effect.
6891 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
6893         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6894         Fix typo.  (Bug#6976)
6896 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6898         * whitespace.el: Allow cleaning up blanks without blank
6899         visualization (Bug#6651).  Adjust help window for
6900         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6901         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
6902         (whitespace-style): Add new value 'face.  Adjust docstring.
6903         (whitespace-space, whitespace-hspace, whitespace-tab):
6904         Adjust foreground property face.
6905         (whitespace-line-column): Adjust docstring and type declaration.
6906         (whitespace-style-value-list, whitespace-toggle-option-alist)
6907         (whitespace-help-text): Adjust const initialization.
6908         (whitespace-toggle-options, global-whitespace-toggle-options):
6909         Adjust docstring.
6910         (whitespace-display-window, whitespace-interactive-char)
6911         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6912         (whitespace-help-scroll): New fun.
6914 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6916         * calendar/time-date.el (format-seconds): Comment fix.
6918 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
6920         * progmodes/sql.el: Version 2.7.
6921         (sql-buffer-live-p): Improve detection.
6922         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6923         (sql-set-sqli-buffer): Use it.
6924         (sql-product-interactive): Run `sql-set-sqli-hook'.
6925         (sql-rename-buffer): Code cleanup.
6926         (sql-redirect, sql-redirect-value): New functions.  More to come.
6928 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
6930         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.
6931         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6932         (TRAMP_SRC): New macro.
6933         ($(lisp)/net/tramp-loaddefs.el): New target.
6935 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
6937         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
6939         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
6941         * net/tramp.el (top): Don't show loading message.  Require just
6942         'tramp-compat, everything else is required there.
6943         Use `ignore-errors' where appropriate.
6944         (tramp-inline-compress-start-size, tramp-copy-size-limit)
6945         (tramp-terminal-type, tramp-end-of-output)
6946         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6947         (tramp-completion-function-alist-ssh)
6948         (tramp-completion-function-alist-telnet)
6949         (tramp-completion-function-alist-su)
6950         (tramp-completion-function-alist-putty, tramp-remote-path)
6951         (tramp-remote-process-environment, tramp-sh-extra-args)
6952         (tramp-actions-before-shell, tramp-uudecode)
6953         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6954         (tramp-perl-file-attributes)
6955         (tramp-perl-directory-files-and-attributes)
6956         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6957         (tramp-perl-encode, tramp-perl-decode)
6958         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6959         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6960         (tramp-handle-make-symbolic-link, tramp-handle-load)
6961         (tramp-handle-file-name-as-directory)
6962         (tramp-handle-file-name-directory)
6963         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6964         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6965         (tramp-do-file-attributes-with-ls)
6966         (tramp-do-file-attributes-with-perl)
6967         (tramp-do-file-attributes-with-stat)
6968         (tramp-handle-set-visited-file-modtime)
6969         (tramp-handle-verify-visited-file-modtime)
6970         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6971         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6972         (tramp-handle-file-selinux-context)
6973         (tramp-handle-set-file-selinux-context)
6974         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6975         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6976         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6977         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6978         (tramp-handle-file-ownership-preserved-p)
6979         (tramp-handle-directory-file-name, tramp-handle-directory-files)
6980         (tramp-handle-directory-files-and-attributes)
6981         (tramp-do-directory-files-and-attributes-with-perl)
6982         (tramp-do-directory-files-and-attributes-with-stat)
6983         (tramp-handle-file-name-all-completions)
6984         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6985         (tramp-handle-copy-file, tramp-handle-copy-directory)
6986         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6987         (tramp-do-copy-or-rename-file-via-buffer)
6988         (tramp-do-copy-or-rename-file-directly)
6989         (tramp-do-copy-or-rename-file-out-of-band)
6990         (tramp-handle-make-directory, tramp-handle-delete-directory)
6991         (tramp-handle-delete-file)
6992         (tramp-handle-dired-recursive-delete-directory)
6993         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6994         (tramp-handle-insert-directory)
6995         (tramp-handle-unhandled-file-name-directory)
6996         (tramp-handle-expand-file-name)
6997         (tramp-handle-substitute-in-file-name)
6998         (tramp-handle-executable-find, tramp-process-sentinel)
6999         (tramp-handle-start-file-process, tramp-handle-process-file)
7000         (tramp-handle-call-process-region, tramp-handle-shell-command)
7001         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7002         (tramp-handle-insert-file-contents)
7003         (tramp-handle-insert-file-contents-literally)
7004         (tramp-handle-find-backup-file-name)
7005         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7006         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7007         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7008         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7009         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7010         (tramp-find-file-exists-command, tramp-open-shell)
7011         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7012         (tramp-open-connection-setup-interactive-shell)
7013         (tramp-local-coding-commands, tramp-remote-coding-commands)
7014         (tramp-find-inline-encoding, tramp-call-local-coding-command)
7015         (tramp-inline-compress-commands, tramp-find-inline-compress)
7016         (tramp-compute-multi-hops, tramp-maybe-open-connection)
7017         (tramp-send-command, tramp-wait-for-output)
7018         (tramp-send-command-and-check, tramp-barf-unless-okay)
7019         (tramp-send-command-and-read, tramp-mode-string-to-int)
7020         (tramp-convert-file-attributes, tramp-check-cached-permissions)
7021         (tramp-file-mode-from-int, tramp-file-mode-permissions)
7022         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7023         (tramp-method-out-of-band-p, tramp-local-host-p)
7024         (tramp-get-remote-path, tramp-get-remote-tmpdir)
7025         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7026         (tramp-get-test-command, tramp-get-test-nt-command)
7027         (tramp-get-file-exists-command, tramp-get-remote-ln)
7028         (tramp-get-remote-perl, tramp-get-remote-stat)
7029         (tramp-get-remote-readlink, tramp-get-remote-trash)
7030         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7031         (tramp-get-local-uid, tramp-get-local-gid)
7032         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7033         tramp-sh.el.
7034         (tramp-methods, tramp-default-method-alist)
7035         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7036         Move initialization to tramp-sh.el.
7037         (tramp-temp-name-prefix): Make it a defconst.
7038         (tramp-dissect-file-name): Don't check anymore for multi-hop
7039         methods.
7040         (tramp-debug-outline-regexp): Add a docstring.
7041         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7042         (tramp-get-debug-buffer): Use it.
7044         * net/tramp-cache.el (top): Set tramp-autoload cookie for
7045         initialization forms.
7046         (tramp-set-connection-property): Don't protect `tramp-message'
7047         call, it isn't necessary any longer.
7048         (tramp-dump-connection-properties): Use `ignore-errors'.
7050         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7051         'password-cache and 'auth-source.
7053         * net/tramp-gvfs.el (top):
7054         * net/tramp-smb.el (top): Require 'tramp-sh.
7056         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7058         * net/tramp-sh.el: New file, derived from tramp.el.
7059         (top): Initialize `tramp-methods', `tramp-default-method-alist',
7060         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7061         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7062         Use `ignore-errors' where appropriate.
7063         (tramp-sh-file-name-handler-alist): Rename from
7064         `tramp-file-name-handler-alist'.
7065         (tramp-send-command-and-check): Return t or nil.  Remove all
7066         `zerop' checks, where called.
7067         (tramp-handle-set-file-modes)
7068         (tramp-do-copy-or-rename-file-directly)
7069         (tramp-handle-delete-directory, tramp-handle-delete-file)
7070         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7071         (tramp-sh-file-name-handler, tramp-send-command-and-check)
7072         (tramp-get-remote-ln): Set tramp-autoload cookie.
7074         * net/tramp-fish.el: Remove file.
7076 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
7078         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7079         buffer-file-name to avoid file-locking.  (Bug#7026)
7081 2010-09-13  Julien Danjou  <julien@danjou.info>
7083         * notifications.el (notifications-notify): Add support for
7084         image-path and sound-name.
7085         (notifications-specification-version): Add this variable.
7087 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7089         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7091 2010-09-12  Leo  <sdl.web@gmail.com>
7093         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7094         (rcirc-completion-start): New variables.
7095         (rcirc-nick-completions): Rename to rcirc-completions.
7096         (rcirc-nick-completion-start-offset): Delete.
7097         (rcirc-completion-at-point): New function for constructing
7098         completion data for both nicks and irc commands.  Add to
7099         completion-at-point-functions in rcirc mode.
7100         (rcirc-complete): Rename from rcirc-nick-complete; use
7101         rcirc-completion-at-point.
7102         (defun-rcirc-command): Update rcirc-client-commands.
7104 2010-09-11  Glenn Morris  <rgm@gnu.org>
7106         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7107         atomically, to avoid parallel build errors.  (Bug#4196)
7109 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
7111         * progmodes/sql.el: Version 2.6
7112         (sql-dialect): Synonym for "sql-product".
7113         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7114         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7115         Set "sql-buffer" to buffer name not buffer object so multiple sql
7116         interactive buffers work properly.  Reverts misguided changes in
7117         earlier work.
7118         (sql-comint): Make sure different buffer name is used if "*SQL*"
7119         buffer is for a different product.
7120         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7121         login param.
7122         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7123         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7124         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7125         Accept new buffer name or prompt for one.
7126         (sql-port): Default to zero.
7127         (sql-comint-mysql): Handle "sql-port" as a numeric.
7128         (sql-port-history): Delete unused variable.
7129         (sql-get-login): Default "sql-port" to a number.
7130         (sql-product-alist): Correct Postgres prompt and terminator regexp.
7131         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7132         "sqlite3" executables.
7133         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7134         (sql-buffer-live-p): New function.
7135         (sql-mode-menu, sql-send-string): Use it.
7136         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7137         syntax pattern.
7138         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7139         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7141 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7143         * net/netrc.el (netrc-credentials): New convenience function.
7145 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7147         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7148         to replace texinfo-font-lock-syntactic-keywords.
7149         (texinfo-mode): Use it.
7151         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7152         Use syntax-propertize-function.
7154         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7155         replace sgml-font-lock-syntactic-keywords.
7156         (sgml-mode): Use it.
7158         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7159         since we don't use it.
7161         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7163         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7164         if available.
7165         (vhdl-fontify-buffer): Adjust.
7167         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7168         replace tcl-font-lock-syntactic-keywords.
7169         (tcl-mode): Use it.
7171         * progmodes/simula.el (simula-syntax-propertize-function): New var to
7172         replace simula-font-lock-syntactic-keywords.
7173         (simula-mode): Use it.
7175         * progmodes/sh-script.el (sh-st-symbol): Remove.
7176         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7177         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7178         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7179         (sh-font-lock-paren): Set syntax-multiline.
7180         (sh-font-lock-syntactic-keywords): Remove.
7181         (sh-syntax-propertize-function): New function to replace it.
7182         (sh-mode): Use it.
7184         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7185         Define while compiling.
7186         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7187         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7188         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7189         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7190         (ruby-here-doc-end-syntax): Only define when
7191         syntax-propertize is not available.
7192         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7193         New functions.
7194         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7195         (electric-indent-chars): Silence bytecompiler.
7196         (ruby-mode): Use prog-mode, syntax-propertize-function, and
7197         electric-indent-chars.
7199         * progmodes/python.el (python-syntax-propertize-function): New var to
7200         replace python-font-lock-syntactic-keywords.
7201         (python-mode): Use it.
7202         (python-quote-syntax): Simplify and adjust to new use.
7204         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7205         replace perl-font-lock-syntactic-keywords.
7206         (perl-syntax-propertize-special-constructs): New fun to replace
7207         perl-font-lock-special-syntactic-constructs.
7208         (perl-font-lock-syntactic-face-function): New fun.
7209         (perl-mode): Use it.
7211         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7212         to replace octave-font-lock-close-quotes.
7213         (octave-syntax-propertize-function): New function to replace
7214         octave-font-lock-syntactic-keywords.
7215         (octave-mode): Use it.
7217         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7218         replaces mixal-font-lock-syntactic-keywords.
7219         (mixal-mode): Use it.
7221         * progmodes/make-mode.el (makefile-syntax-propertize-function):
7222         New var; replaces makefile-font-lock-syntactic-keywords.
7223         (makefile-mode): Use it.
7224         (makefile-imake-mode): Adjust.
7226         * progmodes/js.el (js--regexp-literal): Define while compiling.
7227         (js-syntax-propertize-function): New var; replaces
7228         js-font-lock-syntactic-keywords.
7229         (js-mode): Use it.
7231         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7232         replaces gdb-script-font-lock-syntactic-keywords.
7233         (gdb-script-mode): Use it.
7235         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7236         (fortran--font-lock-syntactic-keywords): New var.
7237         (fortran-line-length): Update syntax-propertize-function and
7238         fortran--font-lock-syntactic-keywords.
7240         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7242         * progmodes/cfengine.el (cfengine-mode):
7243         Use syntax-propertize-function.
7244         (cfengine-font-lock-syntactic-keywords): Remove.
7246         * progmodes/autoconf.el (autoconf-mode):
7247         Use syntax-propertize-function.
7248         (autoconf-font-lock-syntactic-keywords): Remove.
7250         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7251         (ada-after-change-function, ada-initialize-syntax-table-properties)
7252         (ada-handle-syntax-table-properties): Only define when
7253         syntax-propertize is not available.
7254         (ada-mode): Use syntax-propertize-function.
7256         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7257         (font-lock-fontify-syntactic-keywords-region): Move handling of
7258         font-lock-syntactically-fontified to...
7259         (font-lock-default-fontify-region): ...here.
7260         Let syntax-propertize-function take precedence.
7261         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7263         * emacs-lisp/syntax.el (syntax-propertize-function)
7264         (syntax-propertize-chunk-size, syntax-propertize--done)
7265         (syntax-propertize-extend-region-functions): New vars.
7266         (syntax-propertize-wholelines, syntax-propertize-multiline)
7267         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7268         (syntax-propertize): New functions.
7269         (syntax-propertize-rules): New macro.
7270         (syntax-ppss-flush-cache): Set syntax-propertize--done.
7271         (syntax-ppss): Call syntax-propertize.
7273         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7275 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
7277         * textmodes/ispell.el (ispell-init-process): Improve comments.
7278         XEmacs compatibility changes regarding (add-hook) 'local option
7279         and (set-process-query-on-exit-flag).
7281 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
7283         * net/tramp-cache.el (tramp-parse-connection-properties):
7284         Set tramp-autoload cookie.
7286 2010-09-09  Glenn Morris  <rgm@gnu.org>
7288         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7289         (imagemagick-register-types): Doc fix.
7291 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7293         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7295         * progmodes/js.el (require): Require is already "eval-and-compile".
7296         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
7297         (js--re-search-backward): Use js--re-search-forward.
7299         * progmodes/fortran.el (fortran-line-length): Don't recompute
7300         syntactic keywords redundantly a second time.
7302         * progmodes/ada-mode.el: Replace "(set '" with setq.
7303         (ada-mode): Simplify.
7304         (ada-create-case-exception, ada-adjust-case-interactive)
7305         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7306         (ada-search-ignore-string-comment, ada-move-to-start)
7307         (ada-move-to-end): Use with-syntax-table.
7309         * font-lock.el (save-buffer-state): Remove `varlist' arg.
7310         (font-lock-unfontify-region, font-lock-default-fontify-region):
7311         Update usage correspondingly.
7312         (font-lock-fontify-syntactic-keywords-region):
7313         Set parse-sexp-lookup-properties buffer-locally here.
7314         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7316         * simple.el (blink-matching-open): Don't burp if we can't find a match.
7318 2010-09-08  Glenn Morris  <rgm@gnu.org>
7320         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7321         Error if not compiled with -DBYTE_CODE_METER.
7323         * emacs-lisp/bytecomp.el (byte-recompile-directory):
7324         Ignore dir-locals-file.
7326 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7328         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7329         Not a const.
7330         (compilation-error-regexp-alist-alist): Rule out ": " in file names
7331         for the `gnu' messages.
7332         (compilation-set-skip-threshold): New command.
7333         (compilation-start): Use \' rather than $.
7334         (compilation-forget-errors): Use clrhash.
7336 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
7338         * textmodes/ispell.el (ispell-valid-dictionary-list):
7339         Simplify logic.
7341 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
7343         Migrate to Tramp 2.2.  Rearrange load dependencies.
7344         (Bug#1529, Bug#5448, Bug#5705)
7346         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7347         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7348         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7350         * net/tramp.el (top): Remove all other tramp-* loads except
7351         tramp-compat.el.  Remove all changes to tramp-unload-hook for
7352         other tramp-* packages.  Rearrange defun order.  Change calls of
7353         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7354         `tramp-compat-octal-to-decimal' to new function names.
7355         (tramp-terminal-type, tramp-initial-end-of-output)
7356         (tramp-methods, tramp-foreign-file-name-handler-alist)
7357         (tramp-tramp-file-p, tramp-completion-mode-p)
7358         (tramp-send-command-and-check, tramp-get-remote-path)
7359         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7360         (tramp-shell-quote-argument): Set tramp-autoload cookie.
7361         (with-file-property, with-connection-property): Move to
7362         tramp-cache.el.
7363         (tramp-local-call-process, tramp-decimal-to-octal)
7364         (tramp-octal-to-decimal): Move to tramp-compat.el.
7365         (tramp-handle-shell-command): Do not require 'shell.
7366         (tramp-compute-multi-hops): No special handling for tramp-gw-*
7367         symbols.
7368         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7370         * net/tramp-cache.el (top): Require 'tramp.  Add to
7371         `tramp-unload-hook'.
7372         (tramp-cache-data, tramp-get-file-property)
7373         (tramp-set-file-property, tramp-flush-file-property)
7374         (tramp-flush-directory-property, tramp-get-connection-property)
7375         (tramp-set-connection-property, tramp-flush-connection-property)
7376         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7377         cookie.
7378         (with-file-property, with-connection-property): New defuns, moved
7379         from tramp.el.
7380         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7381         macro.
7383         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7384         (tramp-version): Set tramp-autoload cookie.
7386         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
7387         changes to tramp-unload-hook for other tramp-* packages.  Add to
7388         `tramp-unload-hook'.
7389         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7390         (tramp-compat-call-process): New defuns, moved from tramp.el.
7392         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
7393         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7394         Add to `tramp-unload-hook'.  Change call of
7395         `tramp-compat-decimal-to-octal' to new function name.
7396         (tramp-fish-method): Make it a defconst.
7397         (tramp-fish-file-name-p): Make it a defsubst.
7398         (tramp-fish-method, tramp-fish-file-name-handler)
7399         (tramp-fish-file-name-p): Set tramp-autoload cookie.
7401         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7402         `tramp-foreign-file-name-handler-alist'.  Add to
7403         `tramp-unload-hook'.
7404         (tramp-ftp-method): Make it a defconst.
7405         (tramp-ftp-file-name-p): Make it a defsubst.
7406         (tramp-ftp-method, tramp-ftp-file-name-handler)
7407         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7409         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7410         `tramp-foreign-file-name-handler-alist'.  Add to
7411         `tramp-unload-hook'.  Change checks, whether package can be
7412         loaded.
7413         (tramp-gvfs-file-name-p): Make it a defsubst.
7414         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7415         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7416         (tramp-gvfs-handle-file-directory-p): New defun.
7417         (tramp-gvfs-file-name-handler-alist): Use it.
7419         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7420         `tramp-foreign-file-name-handler-alist'.  Add to
7421         `tramp-unload-hook'.
7422         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7423         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7424         defconst.
7425         (tramp-gw-tunnel-method, tramp-gw-socks-method)
7426         (tramp-gw-open-connection): Set tramp-autoload cookie.
7428         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
7429         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7430         Add to `tramp-unload-hook'.  Change checks, whether package can be
7431         loaded.
7432         (tramp-imap-file-name-p): Make it a defsubst.
7433         (tramp-imap-method, tramp-imaps-method)
7434         (tramp-imap-file-name-handler)
7435         (tramp-imap-file-name-p): Set tramp-autoload cookie.
7437         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
7438         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7439         Add to `tramp-unload-hook'.  Change checks, whether package can be
7440         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
7441         function name.
7442         (tramp-smb-tunnel-method): Make it a defconst.
7443         (tramp-smb-file-name-p): Make it a defsubst.
7444         (tramp-smb-method, tramp-smb-file-name-handler)
7445         (tramp-smb-file-name-p): Set tramp-autoload cookie.
7447         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7448         (tramp-uuencode-region): Set tramp-autoload cookie.
7450         * net/trampver.el (top) Add to `tramp-unload-hook'.
7451         (tramp-version, tramp-bug-report-address): Set tramp-autoload
7452         cookie.  Update release number.
7454 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
7456         * textmodes/ispell.el (ispell-start-process): Make sure original
7457         arg list is properly initialized (Bug#6993, Bug#6994).
7459 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7461         * files.el (directory-abbrev-alist): Use \` as default regexp.
7463         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7464         chars like - or ] (bug#6984).
7465         (rx-any-condense-range): Explode 2-char ranges.
7467 2010-09-06  Glenn Morris  <rgm@gnu.org>
7469         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7471 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7473         * textmodes/bibtex.el:
7474         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7476 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7478         * net/imap.el (imap-message-map): Remove optional buffer parameter,
7479         since no callers use it.
7480         (imap-message-get): Ditto.
7481         (imap-message-put): Ditto.
7482         (imap-mailbox-map): Ditto.
7483         (imap-mailbox-put): Ditto.
7484         (imap-mailbox-get): Ditto.
7485         (imap-mailbox-get): Revert last change for this function.
7487 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7489         * net/imap.el (imap-fetch-safe): Remove function, and alter all
7490         callers to use `imap-fetch' instead.  According to the comments, this
7491         should be safe, since all other IMAP clients use the 1:* syntax.
7492         (imap-enable-exchange-bug-workaround): Remove.
7493         (imap-debug): Remove -- doesn't seem very useful.
7495 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7497         * net/imap.el (imap-log): New convenience function used throughout
7498         instead of repeating the same code all over the place.
7500 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
7502         * mouse.el (mouse-save-then-kill): Save region to kill-ring
7503         when mouse-drag-copy-region is non-nil (Bug#6956).
7505 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
7507         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7508         Improve regexps (Bug#6987).
7509         (dired-sort-toggle): Search more robustly for -t flag.
7511         * files.el (get-free-disk-space): Search more robustly for
7512         "available" column.  Suggested by Ehud Karni
7513         <ehud@unix.mvs.co.il>.
7515 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
7517         * international/uni-bidi.el:
7518         * international/uni-category.el:
7519         * international/uni-combining.el:
7520         * international/uni-decimal.el:
7521         * international/uni-mirrored.el:
7522         * international/uni-name.el: Regenerate.
7524 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7526         * electric.el (electric-indent-post-self-insert-function):
7527         Don't reindent with a sloppy indentation function.
7529         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7530         border case in change-log-mode.
7532 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
7534         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7535         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7536         Recognize leading tab in gcc-include regexp.  Ignore names with
7537         leading "from" or "in" in gnu regexp (Bug#6937).
7539 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7541         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7542         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7543         (ispell-start-process): Avoid setq and simplify logic.
7544         (ispell-init-process): Setup kill-buffer-hook locally when needed.
7545         (kill-buffer-hook): Don't use it globally with code that uses
7546         expand-file-name since that may call kill-buffer via
7547         code_conversion_restore.
7549 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
7551         * emacs-lisp/package.el (package-directory-list): Only call
7552         file-name-nondirectory on a string.
7554 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7556         * emacs-lisp/package.el (package--download-one-archive):
7557         Ensure that archive-contents is valid before saving it.
7558         (package-activate-1, package-mark-obsolete, define-package)
7559         (package-compute-transaction, package-list-maybe-add): Use push.
7561 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7563         Use SMIE's blink-paren for octave-mode.
7564         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7565         Backslashes do not escape single-quotes, single-quotes do.
7566         (octave-block-else-regexp, octave-block-end-regexp)
7567         (octave-block-match-alist): Remove.
7568         (octave-smie-bnf-table): New var, with old content.
7569         (octave-smie-op-levels): Use it.
7570         (octave-smie-closer-alist): New var.
7571         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
7572         (octave-blink-matching-block-open): Remove.
7573         (octave-reindent-then-newline-and-indent, octave-electric-semi)
7574         (octave-electric-space): Let self-insert-command run expand-abbrev and
7575         blink parens.
7577         * electric.el (electricity): New group.
7578         (electric-indent-chars): New var.
7579         (electric-indent-post-self-insert-function): New fun.
7580         (electric-indent-mode): New minor mode.
7581         (electric-pair-skip-self): New custom.
7582         (electric-pair-post-self-insert-function): New function.
7583         (electric-pair-mode): New minor mode.
7585         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7586         calcAlg-blink-matching-open.
7587         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7588         (calc-do-alg-entry): Only touch the part of the keymap that varies.
7589         Use the new blink-matching-check-function.
7591         Provide blink-matching support to SMIE.
7592         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7593         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7594         (smie-blink-matching-check, smie-blink-matching-open): New functions.
7596         * simple.el (newline): Fix last change to properly remove itself from
7597         the hook.
7599 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7601         * simple.el (newline): Eliminate optimization.
7602         Use post-self-insert-hook to set hard-newline and things before
7603         running post-self-insert-hook.
7604         (blink-matching-check-mismatch): New function.
7605         (blink-matching-check-function): New variable.
7606         (blink-matching-open): Use them.
7607         Skip back forward over prefix chars skipped by forward-sexp.
7608         Don't check if the parens are backslash escaped.
7609         (blink-paren-post-self-insert-function): Check backslash escaping here.
7611 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7613         * emacs-lisp/package.el (package-menu-mode-map):
7614         Change package-menu-revert bindings to revert-buffer.
7615         (package-menu-mode): Set revert-buffer-function.
7616         (package-menu-revert): Doc fix.
7618 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
7620         * textmodes/ispell.el (ispell-init-process): Use "~/" as
7621         `default-directory' unless using Ispell per-directory personal
7622         dictionaries and not in a mini-buffer under XEmacs.
7623         (kill-buffer-hook): Do not kill ispell process on exit when
7624         `ispell-process-directory' is "~/".  (Bug#6143)
7626 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
7628         * simple.el (kill-new): Call interprogram-cut-function with only
7629         one argument.
7631         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7632         Remove cut buffer from error message.
7634         * term/x-win.el (x-select-text):
7635         * term/pc-win.el (x-selection-value):
7636         * term/ns-win.el (x-selection-value):
7637         * eshell/em-term.el:
7638         * w32-fns.el (x-get-selection-value):
7639         * mouse-sel.el (mouse-sel-set-selection-function):
7640         * frame.el (display-selections-p): Remove cut-buffer in documentation.
7642         * term/x-win.el: Update documentation for x-last-selected-text-*.
7643         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7644         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7645         (x-select-text): Remove argument PUSH, update documentation.
7646         Remove cut-buffer code.
7647         (x-selection-value-internal): Was previously x-selection-value.
7648         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7649         Update documentation, remove cut-buffer code.
7650         Call x-selection-value-internal.
7651         (x-clipboard-yank): Call x-selection-value-internal.
7652         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7654         * term/pc-win.el (x-last-selected-text):
7655         x-cut-buffer-or-selection-value renamed to x-selection-value
7656         (x-select-text): Remove argument PUSH, update documentation.
7658         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7659         x-cut-buffer-or-selection-value renamed to x-selection-value
7660         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7661         (x-select-text): Remove argument PUSH, update documentation.
7663         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7665         * w32-fns.el (x-last-selected-text):
7666         x-cut-buffer-or-selection-value renamed to x-selection-value.
7667         (x-cut-buffer-max): Remove.
7668         (x-select-text): Remove argument PUSH, update documentation.
7670         * simple.el (interprogram-cut-function): Remove mention of PUSH.
7672         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7674         * mouse-sel.el (mouse-sel-get-selection-function):
7675         x-cut-buffer-or-selection-value renamed to x-selection-value.
7676         (x-select-text): Remove optional push.
7678 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7680         * simple.el (blink-paren-function): Move from C to here.
7681         (blink-paren-post-self-insert-function): New function.
7682         (post-self-insert-hook): Use it.
7684         * emacs-lisp/pcase.el (pcase-split-memq):
7685         Fix overenthusiastic optimisation.
7686         (pcase-u1): Handle the case of a lambda pred.
7688 2010-08-31  Kenichi Handa  <handa@m17n.org>
7690         * international/mule-cmds.el (standard-display-european-internal):
7691         Setup standard-display-table for 8-bit characters by storing 8-bit
7692         characters in the element vector.
7694         * disp-table.el (standard-display-8bit):
7695         Setup standard-display-table for 8-bit characters by storing 8-bit
7696         characters in the element vector.
7697         (standard-display-european): Likewise.
7699 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
7701         * textmodes/nroff-mode.el (nroff-view): New command.
7702         (nroff-mode-map): Bind it to C-c C-c.
7704 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7706         * emacs-lisp/smie.el (smie-down-list): New command.
7708         Remove old indentation and navigation code on octave-mode.
7709         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7710         smie-down-list rather than add a binding for octave-down-block.
7711         (octave-mark-block, octave-blink-matching-block-open):
7712         Rely on forward-sexp-function.
7713         (octave-fill-paragraph): Don't narrow, so you can use
7714         indent-according-to-mode.
7715         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7716         (octave-in-block-p, octave-re-search-forward-kw)
7717         (octave-re-search-backward-kw, octave-indent-calculate)
7718         (octave-end-as-array-index-p, octave-block-end-offset)
7719         (octave-scan-blocks, octave-forward-block, octave-backward-block)
7720         (octave-down-block, octave-backward-up-block, octave-up-block)
7721         (octave-before-magic-comment-p, octave-indent-line): Remove.
7723 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
7725         * emacs-lisp/package.el (package--read-archive-file): Just use
7726         `read', to avoid copying an additional string.
7727         (package-menu-mode): Set header-line-format here.
7728         (package-menu-refresh, package-menu-revert): Signal an error if
7729         not in the Package Menu.
7730         (package-menu-package-list): New var.
7731         (package--generate-package-list): Operate on the current buffer;
7732         don't assume that it is *Packages*, since the user may rename it.
7733         Allow persistent package listings and sort keys using
7734         package-menu-package-list and package-menu-package-sort-key.
7735         (package-menu--version-predicate): Fix version calculation.
7736         (package-menu-sort-by-column): Don't select the window.
7737         (package--list-packages): Create the *Packages* buffer.
7738         Set package-menu-package-list-key.
7739         (list-packages): Sorting by status is now the default.
7740         (package-buffer-info): Use match-string-no-properties.
7741         (define-package): Add a &rest argument for future proofing, but
7742         don't use it yet.
7743         (package-install-from-buffer, package-install-buffer-internal):
7744         Merge into a single function, package-install-from-buffer.
7745         (package-install-file): Change caller.
7747         * finder.el: Load finder-inf using `require'.
7748         (finder-list-matches): Sorting by status is now the default.
7749         (finder-compile-keywords): Simpify printing.
7751 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7753         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7754         (octave-mode-map): Remove special bindings for forward/backward-block
7755         and octave-backward-up-block.  Use smie-close-block.
7756         (octave-continuation-marker-regexp): New var.
7757         (octave-continuation-regexp): Use it.
7758         (octave-operator-table, octave-smie-op-levels)
7759         (octave-operator-regexp, octave-smie-indent-rules): New vars.
7760         (octave-smie-backward-token, octave-smie-forward-token): New funs.
7761         (octave-mode): Use SMIE.
7762         (octave-close-block): Delete.
7764 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
7766         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7767         CLIPBOARD, not in PRIMARY.  (Bug#6944)
7769 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7771         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7772         a list of parents.
7773         (smie-indent-column): Allow indirection through variables.
7775         * composite.el (save-buffer-state): Delete, unused.
7776         * font-lock.el (save-buffer-state): Use with-silent-modifications.
7777         (font-lock-default-fontify-region): Use with-syntax-table.
7778         * jit-lock.el (with-buffer-unmodified): Remove.
7779         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7781         Use `declare' in defmacros.
7782         * window.el (save-selected-window):
7783         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7784         * progmodes/python.el (def-python-skeleton):
7785         * net/dbus.el (dbus-ignore-errors):
7786         * jka-cmpr-hook.el (with-auto-compression-mode):
7787         * international/mule.el (with-category-table):
7788         * emacs-lisp/timer.el (with-timeout):
7789         * emacs-lisp/lisp-mnt.el (lm-with-file):
7790         * emacs-lisp/eieio.el (with-slots):
7791         * emacs-lisp/easymenu.el (easy-menu-define):
7792         * emacs-lisp/debug.el (debugger-env-macro):
7793         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7794         (Multiple-value-call, Multiple-value-prog1):
7795         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7796         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7797         edebug rule to definition.
7798         * emacs-lisp/lisp-mode.el (save-selected-window)
7799         (with-current-buffer, combine-after-change-calls)
7800         (with-output-to-string, with-temp-file, with-temp-buffer)
7801         (with-temp-message, with-syntax-table, read-if, eval-after-load)
7802         (dolist, dotimes, when, unless):
7803         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7805 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7807         * finder.el: Require `package'.
7808         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
7809         (finder-package-info): Var deleted.
7810         (finder-keywords-hash, finder--builtins-alist): New vars.
7811         (finder-compile-keywords): Compute package--builtins and
7812         finder-keywords-hash instead of finder-keywords-hash, respecting
7813         the "Package" header.
7814         (finder-unknown-keywords, finder-list-matches):
7815         Use finder-keywords-hash and package--list-packages.
7816         (finder-mode): Don't set font-lock-defaults.
7817         (finder-exit): We don't use "*Finder-package*" and "*Finder
7818         Category*" buffers anymore.
7820         * emacs-lisp/package.el (package--builtins-base): Var deleted.
7821         (package--builtins): Set default value to nil.
7822         (package-initialize): Load precomputed value of package--builtins
7823         from finder-inf.el.
7824         (package-alist, package-compute-transaction)
7825         (package-download-transaction): Improve docstring.
7826         (package-read-all-archive-contents): Do not change
7827         package--builtins here.
7828         (list-packages): Make package-list-packages an alias for this.
7829         Sort by status by default.
7830         (package--list-packages): Add optional PACKAGES arg.
7831         (describe-package-1): Use font-lock-face property.  For built-in
7832         packages, insert file commentary.
7833         (package--generate-package-list): Rename from
7834         package-list-packages-internal; all callers changed.  Add optional
7835         PACKAGES arg.  Add alphabetical sort fallbacks.
7836         (package-menu--version-predicate, package-menu--status-predicate)
7837         (package-menu--description-predicate)
7838         (package-menu--name-predicate): New functions.
7840         * info.el (Info-finder-find-node): Search package-alist instead of
7841         finder-package-info.
7843 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7845         * subr.el (version-regexp-alist): Don't use "a" and "b" for
7846         "alpha" and "beta".
7847         (version-to-list): Handle versions like "10.3d".
7849 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7851         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7852         (macroexp-accumulate): Use `declare'.
7854 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7856         * whitespace.el (whitespace-style): Adjust type declaration.
7858 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
7860         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7862 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7864         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7865         (Bug#6907).
7867 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
7869         * progmodes/js.el: Make indentation more customizable (Bug#6914).
7870         (js-paren-indent-offset, js-square-indent-offset)
7871         (js-curly-indent-offset): New options.
7872         (js--proper-indentation): Use them.
7874 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
7876         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7877         instead of inspecting font-lock properties (Bug#6916).
7879 2010-08-26  David Reitter  <david.reitter@gmail.com>
7881         * server.el (server-visit-files): Run pre-command-hook and
7882         post-command-hook for each buffer while it is current (Bug#6910).
7883         (server-execute): Do not run hooks here.
7885 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
7887         Sync with Tramp 2.1.19.
7889         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
7890         deleting tmpfile.
7891         (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7893         * net/tramp.el (tramp-handle-expand-file-name)
7894         (tramp-completion-handle-file-name-all-completions)
7895         (tramp-completion-handle-file-name-completion):
7896         Use `tramp-connectable-p'.
7898         * net/trampver.el: Update release number.
7900 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7902         * help.el (help-map): Bind `C-h P' to describe-package.
7904         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7906         * emacs-lisp/package.el (package-refresh-contents): Catch errors
7907         when downloading archives.
7908         (describe-package-1): Add package commentary.
7909         (package-install-button-action): New function.
7910         (package-menu-mode-map): Bind ? to package-menu-describe-package.
7911         (package-menu-view-commentary): Function removed.
7912         (package-list-packages-internal): Hide the `package' package too.
7914 2010-08-25  Kenichi Handa  <handa@m17n.org>
7916         * language/misc-lang.el ("Arabic"): New language environment.
7917         Setup composition-function-table for Arabic characters.
7919         * international/fontset.el (setup-default-fontset): Fix typo for
7920         arabic OTF spec (fini->fina).
7922 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
7924         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7925         on all frames.
7927 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7929         * whitespace.el: Allow cleaning up blanks without blank
7930         visualization (Bug#6651).  Adjust help window for
7931         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7932         instead of whitespace-line-column (from EmacsWiki).  New version
7933         13.1.
7934         (whitespace-style): Add new value 'face.  Adjust docstring.
7935         (whitespace-space, whitespace-hspace, whitespace-tab):
7936         Adjust foreground property face.
7937         (whitespace-line-column): Adjust docstring and type declaration.
7938         (whitespace-style-value-list, whitespace-toggle-option-alist)
7939         (whitespace-help-text): Adjust const initialization.
7940         (whitespace-toggle-options, global-whitespace-toggle-options):
7941         Adjust docstring.
7942         (whitespace-display-window, whitespace-interactive-char)
7943         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7944         (whitespace-help-scroll): New fun.
7946 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7948         * emacs-lisp/package.el (list-packages): Alias for
7949         package-list-packages.
7951 2010-08-24  Kevin Ryde  <user42@zip.com.au>
7953         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7954         (Bug#5651).
7956         * progmodes/ruby-mode.el (ruby): Add defgroup.
7958 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7960         * progmodes/python.el: Add Ipython support (Bug#5390).
7961         (python-shell-prompt-alist)
7962         (python-shell-continuation-prompt-alist): New options.
7963         (python--set-prompt-regexp): New function.
7964         (inferior-python-mode, run-python, python-shell):
7965         Require ansi-color.  Use python--set-prompt-regexp to set the comint
7966         prompt based on the Python interpreter.
7967         (python--prompt-regexp): New var.
7968         (python-check-comint-prompt)
7969         (python-comint-output-filter-function): Use it.
7970         (run-python): Use a pipe (Bug#5694).
7972 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
7974         * progmodes/python.el (python-send-region): Send a different
7975         Python command if Ipython is in use.
7976         (python-check-version): Use a Python command to find the version.
7978 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7980         * mouse.el (mouse-yank-primary): Avoid setting primary when
7981         deactivating the mark (Bug#6872).
7983 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
7985         * progmodes/python.el (python-block-pairs): Allow use of "finally"
7986         with "else" (Bug#3991).
7988 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
7990         * net/dbus.el: Accept UNIX domain sockets as bus address.
7991         (top): Don't initialize `dbus-registered-objects-table' anymore,
7992         this is done in dbusbind.c.
7993         (dbus-check-event): Adapt test for bus.
7994         (dbus-return-values-table, dbus-unregister-service)
7995         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7996         Adapt doc string.
7998 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
8000         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8002 2010-08-22  Juri Linkov  <juri@jurta.org>
8004         * simple.el (read-extended-command): New function with the logic
8005         for `completing-read' moved to Elisp from `execute-extended-command'.
8006         Use `function-called-at-point' in `minibuffer-default-add-function'
8007         to get a command name for M-n (bug#5364, bug#5214).
8009 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8011         * startup.el (command-line-1): Issue warning for ignored arguments
8012         --unibyte, etc (Bug#6886).
8014 2010-08-22  Leo  <sdl.web@gmail.com>
8016         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8017         (ignore, bright, dim, keyword): Split list of nicknames before
8018         passing to rcirc-add-or-remove (Bug#6894).
8020 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8022         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8024 2010-08-22  Leo  <sdl.web@gmail.com>
8026         Fix buffer-list rename&refresh after killing a buffer in ido.
8027         * ido.el: Revert Óscar's.
8028         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8029         Remember the buffers at head, rather than their name.
8030         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8032 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
8033             Stefan Monnier  <monnier@iro.umontreal.ca>
8035         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8036         extra backslash added to each line (bug#6890).
8038 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8040         * subr.el (read-key): Don't echo keystrokes (bug#6883).
8042 2010-08-22  Glenn Morris  <rgm@gnu.org>
8044         * menu-bar.el (menu-bar-games-menu): Add landmark.
8046 2010-08-22  Glenn Morris  <rgm@gnu.org>
8048         * align.el (align-regexp): Make group and spacing arguments
8049         use the interactive defaults when non-interactive.  (Bug#6698)
8051         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8052         expansion, so as not to need sendmail.
8053         (mail-text-start): Remove declaration.
8054         (rmail-retry-failure): Require sendmail.
8056 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8058         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8060 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
8062         * progmodes/flymake.el (flymake-start-syntax-check-process):
8063         Use `start-file-process' in order to let it run also on remote hosts.
8065 2010-08-22  Kenichi Handa  <handa@m17n.org>
8067         * files.el: Add `word-wrap' as safe local variable.
8069 2010-08-22  Glenn Morris  <rgm@gnu.org>
8071         * woman.el (woman-translate): Case matters.  (Bug#6849)
8073 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8075         * simple.el (kill-region): Doc fix (Bug#6787).
8077 2010-08-22  Glenn Morris  <rgm@gnu.org>
8079         * calendar/diary-lib.el (diary-header-line-format):
8080         Fit it to the window, not the frame.
8082 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
8084         * subr.el (ignore-errors): Add debug declaration.
8086 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
8088         * whitespace.el (whitespace-color-off): Remove post-command-hook
8089         locally.
8091 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8093         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8095 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8097         * cus-edit.el (custom-group-value-create): Add extra newline
8098         before end line (Bug#6876).
8100 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8102         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8103         when extending it.  Before killing on the second click, check if
8104         the buffer is the correct one.  Doc fix.
8105         (mouse-secondary-save-then-kill): Allow usage without first
8106         calling mouse-start-secondary, by defaulting to point.  Don't save
8107         an empty secondary selection.  Doc fix.
8109 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8111         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
8112         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8113         New version 13.0.
8114         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8115         Adjust initialization.
8116         (whitespace-bob-marker, whitespace-eob-marker)
8117         (whitespace-buffer-changed): New vars.
8118         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8119         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8120         (whitespace-post-command-hook, whitespace-display-char-on):
8121         Adjust code.
8122         (whitespace-looking-back, whitespace-buffer-changed): New funs.
8123         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8125 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8127         * files.el (locate-file-completion-table): Only list the .el and .elc
8128         extensions if there's no other choice (bug#5955).
8130         * facemenu.el (facemenu-self-insert-data): New var.
8131         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8132         New functions.
8133         (facemenu-add-face): Use them.
8135         * simple.el (blink-matching-open): Obey forward-sexp-function.
8137 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8139         * simple.el (prog-mode-map): New var.
8140         (prog-indent-sexp): New command.
8142         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8144         * progmodes/prolog.el (smie): Require.
8146         * emacs-lisp/smie.el (smie-default-backward-token)
8147         (smie-default-forward-token): Strip properties.
8148         (smie-next-sexp): Be more careful with associative operators.
8149         (smie-forward-sexp-command): Generalize.
8150         (smie-backward-sexp-command): Simplify.
8151         (smie-closer-alist): New var.
8152         (smie-close-block): New command.
8153         (smie-indent-debug-log): New var.
8154         (smie-indent-offset-rule): Add a few more cases.
8155         (smie-indent-column): New function.
8156         (smie-indent-after-keyword): Use it.
8157         (smie-indent-keyword): Use it.
8158         Fix up the opener code's point position.
8159         (smie-indent-comment): Only applies at BOL.
8160         (smie-indent-debug): New command.
8162         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8163         declarations that are useful before running the macro.
8165 2010-08-18  Joakim Verona  <joakim@verona.se>
8167         * image.el (imagemagick-types-inhibit): New variable.
8168         (imagemagick-register-types): New function.
8169         * image-mode.el (image-transform-properties): New function.
8170         (image-transform-set-scale, image-transform-fit-to-height)
8171         (image-transform-set-rotation, image-transform-set-resize)
8172         (image-transform-fit-to-width, image-transform-fit-to-height):
8173         New functions.
8174         (image-toggle-display-image): Support image transforms.
8176 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
8178         * image.el (create-animated-image): Don't add heuristic mask to image
8179         (Bug#6839).
8181 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
8183         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8184         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8186 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8188         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8190         Font-lock '...' strings, plus various simplifications and fixes.
8191         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8192         (octave-font-lock-close-quotes): New function.
8193         (octave-font-lock-syntactic-keywords): New var.
8194         (octave-mode): Use it.  Set beginning-of-defun-function.
8195         (octave-mode-map): Don't override the <foo>-defun commands.
8196         (octave-mode-menu): Pass it directly to easy-menu-define;
8197         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8198         (octave-block-match-alist): Fix up last change so that
8199         octave-close-block uses the more specific keyword.
8200         (info-lookup-mode): Silence byte-compiler.
8201         (octave-beginning-of-defun): Not interactive any more.
8202         Optimize slightly.
8203         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8204         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8205         (octave-completion-at-point-function): Make sure point is within
8206         beg..end.
8207         (octave-reindent-then-newline-and-indent):
8208         Use reindent-then-newline-and-indent.
8209         (octave-add-octave-menu): Remove.
8211 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
8213         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8214         (report-emacs-bug-can-use-xdg-email): New functions.
8215         (report-emacs-bug): Set can-xdg-email to result of
8216         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
8217         \C-cm to report-emacs-bug-insert-to-mailer and add help text
8218         about it.
8220         * net/browse-url.el (browse-url-default-browser): Add cond
8221         for browse-url-xdg-open.
8222         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8224 2010-08-17  Glenn Morris  <rgm@gnu.org>
8226         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8227         (c-fontify-recorded-types-and-refs): Define for compiler.
8228         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8229         before use.
8231         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8232         Fix format call.
8234 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
8236         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8237         properties.
8238         (tramp-handle-process-file): Call the program in a subshell, in
8239         order to preserve working directory.
8240         (tramp-action-password): Hide password prompt before next run.
8241         (tramp-process-actions): Widen connection buffer for the trace.
8243 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8245         * net/rcirc.el (rcirc-log-process-buffers): New option.
8246         (rcirc-print): Use it.
8247         (rcirc-generate-log-filename): New function.
8248         (rcirc-log-filename-function): Change default to
8249         rcirc-generate-log-filename (Bug#6828).
8251 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
8253         * simple.el (deactivate-mark): If select-active-regions is `only',
8254         only set selection for temporarily active regions.
8256         * cus-start.el: Change defcustom for select-active-regions.
8258 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8260         * mouse.el (mouse--drag-set-mark-and-point): New function.
8261         (mouse-drag-track): Use LOCATION arg to push-mark.
8262         Use mouse--drag-set-mark-and-point to take click-count into
8263         consideration when updating point and mark (Bug#6840).
8265 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8267         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8268         Give the Ruby rule a lower priority than Gnu (Bug#6778).
8270 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8272         * font-lock.el (lisp-font-lock-keywords-2):
8273         Add combine-after-change-calls, condition-case-no-debug,
8274         with-demoted-errors, and with-silent-modifications (Bug#6025).
8276 2010-08-14  Kevin Ryde  <user42@zip.com.au>
8278         * emacs-lisp/copyright.el (copyright-update-year)
8279         (copyright-update): Temporary switch-to-buffer to ensure the
8280         buffer change being queried is visible (Bug#5394).
8282 2010-08-14  Tom Tromey  <tromey@redhat.com>
8284         * progmodes/etags.el (tags-file-name): Mark safe if stringp
8285         (Bug#6733).
8287 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
8289         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8290         MS-DOS.  (Bug#6689)
8292 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
8294         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8295         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8296         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8297         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8298         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8299         Call menu-bar-set-tool-bar-position.
8301 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8303         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8304         comment style (bug#6834).
8305         * progmodes/scheme.el (scheme-mode-syntax-table):
8306         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8307         "b" flag in "' 14b" syntax.
8309         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8310         for (un)commenting the region and performing completion.
8311         (octave-mode-menu): Use standard commands for help and completion.
8312         (octave-mode-syntax-table): Support %{..%} comments (sort of).
8313         (octave-mode): Use define-derived-mode.
8314         Set completion-at-point-functions and don't set columns.
8315         Don't disable adaptive-fill-regexp.
8316         (octave-describe-major-mode, octave-comment-region)
8317         (octave-uncomment-region, octave-comment-indent)
8318         (octave-indent-for-comment): Remove.
8319         (octave-indent-calculate): Rename from calculate-octave-indent.
8320         (octave-indent-line, octave-fill-paragraph): Update caller.
8321         (octave-initialize-completions): No need to make an alist.
8322         (octave-completion-at-point-function): New function.
8323         (octave-complete-symbol): Use it.
8324         (octave-insert-defun): Use define-skeleton.
8326         * progmodes/octave-mod.el (octave-mode): Set comment-add.
8327         (octave-mode-map): Use comment-dwim (bug#6829).
8329 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>
8331         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8332         indentation of inserted comment.
8334 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
8336         * faces.el (region): Add type gtk that uses gtk colors.
8338         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8339         Handle theme-name change.
8341 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
8343         * progmodes/sql.el: Version 2.5
8344         (sql-product-alist): Add :prompt-cont-regexp property for several
8345         database products.
8346         (sql-prompt-cont-regexp): New variable.
8347         (sql-output-newline-count, sql-output-by-send):
8348         New variables.  Record number of newlines in input text.
8349         (sql-send-string): Handle multiple filters and count newlines.
8350         (sql-send-magic-terminator): Count terminator newline.
8351         (sql-interactive-remove-continuation-prompt): Filters output to
8352         remove continuation prompts; one for each newline.
8353         (sql-interactive-mode): Set up new variables, prompt regexp and
8354         output filter.
8355         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8356         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8358 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8360         * emacs-lisp/pcase.el: New file.
8362 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
8364         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8365         as here-document, otherwise the command could exceed maximum
8366         length of command line.
8367         (tramp-handle-vc-registered): Call script accordingly.
8368         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8370 2010-08-10  Kenichi Handa  <handa@m17n.org>
8372         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8373         composable pattern.
8375 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
8377         * emacs-lisp/package.el (package-version-split)
8378         (package--version-first-nonzero, package-version-compare):
8379         Functions removed.
8380         (package-directory-list, package-load-all-descriptors)
8381         (package--built-in, package-activate, define-package)
8382         (package-installed-p, package-compute-transaction)
8383         (package-read-all-archive-contents)
8384         (package--add-to-archive-contents, package-buffer-info)
8385         (package-tar-file-info, package-list-packages-internal):
8386         Use version-to-list and version-list-*.
8388         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8389         Use version-to-list.
8390         (package-upload-buffer-internal): Use version-list-<=.
8392 2010-08-09  Kenichi Handa  <handa@m17n.org>
8394         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8395         composable pattern.
8397 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
8399         * tutorial.el (tutorial--default-keys): C-d is now bound to
8400         delete-forward-char (Bug#6826).
8402         * mouse.el (mouse-drag-track): Remove accidentally-removed check
8403         for `double' value of mouse-1-click-follows-link (Bug#6807).
8405 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
8407         * replace.el (replace-highlight): Bind isearch-forward and
8408         isearch-error, ensuring that highlighting is updated if the user
8409         switches the search direction (Bug#6808).
8411         * isearch.el (isearch-lazy-highlight-forward): New var.
8412         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8413         (isearch-lazy-highlight-update): Use it.
8415 2010-08-08  Kenichi Handa  <handa@m17n.org>
8417         * international/mule.el (define-charset): Store NAME as :base property.
8418         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8419         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8420         current priority.  Force using the designation of the specific
8421         charset by adding `charset' text property.  Improve the whole algorithm.
8423 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8425         * emulation/pc-select.el (pc-selection-mode-hook)
8426         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8427         (pc-selection-mode): Fix typos in docstrings.
8429 2010-08-08  Kenichi Handa  <handa@m17n.org>
8431         * language/cyrillic.el: Don't add "microsoft-cp1251" to
8432         ctext-non-standard-encodings-alist here.
8434         * international/mule.el (ctext-non-standard-encodings-alist):
8435         Add "koi8-r" and "microsoft-cp1251".
8436         (ctext-standard-encodings): New variable.
8437         (ctext-non-standard-encodings-table): List only elements for
8438         non-standard encodings.
8439         (ctext-pre-write-conversion): Adjust for the above change.
8440         Check ctext-standard-encodings.
8442         * international/mule-conf.el (compound-text): Doc fix.
8443         (ctext-no-compositions): Doc fix.
8444         (compound-text-with-extensions): Doc fix.
8446 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8448         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8450 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8452         * progmodes/which-func.el (which-func-format): Split help-echo text
8453         into lines, like other mode-line tooltips.
8455         * server.el (server-start): When using TCP sockets, force IPv4
8456         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
8458 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8460         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8462 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8464         * term.el (term-delimiter-argument-list): Reflow docstring.
8465         (term-read-input-ring, term-write-input-ring, term-send-input)
8466         (term-bol, term-erase-in-display, serial-supported-or-barf):
8467         Fix typos in docstrings.
8469 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8471         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8473 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8475         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8477 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
8479         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8480         Fix typo in docstring (bug#6747).
8482 2010-08-08  Leo  <sdl.web@gmail.com>
8484         * eshell/esh-io.el (eshell-get-target): Better detection of
8485         read-only file (Bug#6762).
8487 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8489         * align.el (align-default-spacing): Doc fix.
8490         (align-region-heuristic, align-regexp): Fix typos in docstrings.
8492 2010-08-08  Stephen Peters  <speters@itasoftware.com>
8494         * calendar/icalendar.el
8495         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
8496         (icalendar--get-weekday-numbers): New.
8497         (icalendar--convert-recurring-to-diary): Handle multiple byday
8498         values in weekly rules.  (Bug#6766)
8500 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
8502         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8503         (icalendar--create-uid, icalendar-export-region)
8504         (icalendar--parse-summary-and-rest): Code formatting.
8506 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
8508         * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8509         to italicize headers.
8510         (calc-highlight-selections-with-faces): New variable.
8511         (calc-selected-face, calc-nonselected-face): New faces.
8513         * calc/calccomp.el (math-comp-highlight-string): Use
8514         `calc-highlight-selections-with-faces' to determine how to highlight
8515         sub-formulas.
8517         * calc/calc-sel.el (calc-show-selections): Change message to when
8518         using faces to highlight selections.
8520 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
8522         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8523         Add SQLite 3 keywords, functions and datatypes.
8524         (sql-interactive-mode): Remove `comint-process-echoes' set to t
8525         (Bug#6686).
8527 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
8529         * simple.el (select-active-regions): Move to keyboard.c.
8530         (deactivate-mark): Used saved-region-selection.
8531         (select-active-region): Function removed.
8532         (activate-mark, set-mark, push-mark-command)
8533         (handle-shift-selection): Don't call it.
8534         (keyboard-quit): Avoid adding the region to the window selection.
8536         * mouse.el (mouse-drag-track): Remove hacks to deal with old
8537         select-active-regions implementation.
8538         (mouse-yank-at-click): Doc fix.
8540         * cus-start.el: Add custom declaration for select-active-regions.
8542 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
8544         * simple.el (delete-forward-char): Doc fix.
8546         * tutorial.el (help-with-tutorial): Hack safe file-local variables
8547         after reading the tutorial.
8549 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
8551         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8552         Fix for the case that a C style comment has its delimiters alone on
8553         their respective lines.  (Bug#193)
8555 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
8557         * net/tramp.el (tramp-handle-start-file-process): Set connection
8558         property "vec".
8559         (tramp-process-sentinel): Use it for flushing the cache.
8560         We cannot do it via the process buffer, the buffer could be deleted
8561         already when running the sentinel.
8563 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
8565         * comint.el (comint-mode): Make directory tracking functions
8566         functional on remote files.  (Bug#6764)
8568 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
8570         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8572 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
8574         * emacs-lisp/find-gc.el (find-gc-source-files):
8575         Rename unexec.c => unexcoff.c.
8577         * emacs-lisp/authors.el (authors-fixed-entries):
8578         Rename unexec.c => unexcoff.c.
8580 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
8582         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8583         cache, not only file cache.
8584         (tramp-process-sentinel): New defun.
8585         (tramp-handle-start-file-process): Use it, in order to invalidate
8586         file caches.
8588 2010-08-03  Leo  <sdl.web@gmail.com>
8590         * server.el (server-start): Simplify loop.
8592 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8594         * frame.el (screen-height, screen-width, set-screen-width)
8595         (set-screen-height): Remove ancient compatibility aliases.
8597         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8598         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
8600         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8601         that change current buffer.
8603 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8605         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8606         beginning of the string.  Use `string-match-p'.  (Bug#6765)
8608 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
8610         * cus-start.el (x-gtk-use-system-tooltips): New variable.
8612 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
8614         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8615         (package--builtins): Tweak descriptions.
8616         (package-print-package): Upcase descriptions if necessary.
8617         Show all built-in packages in font-lock-builtin-face.
8618         (package-list-packages-internal): Omit "emacs" package.
8619         Show status of built-in packages as "built-in".
8621 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
8623         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
8624         before killing to preserve the primary selection (Bug#6701).
8626         * term/x-win.el (x-select-text): Doc fix.
8628 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
8630         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8631         (objc-font-lock-extra-types):
8632         * progmodes/cc-mode.el (c-basic-common-init):
8633         * progmodes/cc-langs.el (c-make-mode-syntax-table)
8634         (c++-make-template-syntax-table)
8635         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8636         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8637         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8638         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8639         * progmodes/cc-fonts.el (c-make-inverse-face)
8640         (c-basic-matchers-after):
8641         * progmodes/cc-engine.el (c-forward-keyword-clause)
8642         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8643         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8644         (c-guess-continued-construct, c-guess-basic-syntax):
8645         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8646         The above functions were modified or created.
8648 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
8650         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8652 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
8654         * files.el (bidi-paragraph-direction): Define safe local values.
8656         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8657         language-info-alist.  Remove outdated FIXME in a comment.
8659 2010-07-31  Alan Mackenzie  <acm@muc.de>
8661         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8662         Auto-fill broken in C/C++ modes.
8664 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
8666         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8667         (menu-bar-showhide-tool-bar-menu-customize-disable)
8668         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8669         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8670         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8671         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8672         make a menu for Options => toolbar that can move it.
8674 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
8676         * emacs-lisp/package-x.el (package--make-rss-entry):
8677         (package-maint-add-news-item, package--update-news)
8678         (package-upload-buffer-internal): New arg ARCHIVE-URL.
8680         * emacs-lisp/package.el (package-archive-url): Rename from
8681         package-archive-id.
8682         (package-install): Doc fix.
8683         (package-download-single, package-download-tar, package-install)
8684         (package-menu-view-commentary): Callers changed.
8686 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
8688         * net/tramp.el (tramp-handle-start-file-process): Check only for
8689         `remote-tty' process property.
8690         (tramp-open-shell): Don't check for tty.
8691         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8692         process property.
8694         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8695         host.
8697 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
8699         * emacs-lisp/package.el (package-load-list, package-archives)
8700         (package-archive-contents, package-user-dir)
8701         (package-directory-list, package--builtins, package-alist)
8702         (package-activated-list, package-obsolete-alist): Mark as risky.
8704 2010-07-28  Phil Hagelberg  <phil@evri.com>
8706         Add support for non-default package repositories.
8707         * emacs-lisp/package.el (package-archive-base): Var deleted.
8708         (package-archives): New variable.
8709         (package-archive-contents): Doc fix.
8710         (package-load-descriptor): Do nothing if descriptor file is missing.
8711         (package--write-file-no-coding): New function.
8712         (package-unpack-single): Use it.
8713         (package-archive-id): New function.
8714         (package-download-single, package-download-tar)
8715         (package-menu-view-commentary): Use it.
8716         (package-installed-p): Make second argument optional.
8717         (package-read-all-archive-contents): New function.
8718         (package-initialize): Use it.
8719         (package-read-archive-contents): Add ARCHIVE argument.
8720         (package--add-to-archive-contents): New function.
8721         (package-install): Don't call package-read-archive-contents.
8722         (package--download-one-archive): Store archive file in a
8723         subdirectory of package-user-dir.
8724         (package-menu-execute): Remove spurious line movement.
8726 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
8728         * cus-start.el (tool-bar-style): Add text-image-horiz.
8730 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8732         * progmodes/gud.el (gud-common-init): Check for remoteness of
8733         `file', and not of `default-directory'.
8735 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8737         * net/tramp.el (tramp-methods): Move hostname to the end in all
8738         ssh `tramp-login-args'.
8739         (tramp-verbose): Describe verbose level 9.
8740         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8741         (tramp-open-connection-setup-interactive-shell): Trace stty
8742         settings if `tramp-verbose' >= 9.
8743         (tramp-handle-start-file-process): Implement tty setting.
8744         (Bug#4604, Bug#6360)
8746         * net/tramp-cmds.el (tramp-bug): Recommend setting of
8747         `tramp-verbose' to 9.
8749 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
8751         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8752         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8753         Remove references to package `lisp-re' (bug#4369).
8755 2010-07-27  Tom Tromey  <tromey@redhat.com>
8757         * progmodes/js.el (js-mode):
8758         * progmodes/make-mode.el (makefile-mode):
8759         * progmodes/simula.el (simula-mode):
8760         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8762 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
8764         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8766         * time.el (display-time-day-and-date): Remove spurious * in docstring.
8767         (display-time-world-buffer-name, display-time-world-mode-map):
8768         Fix typos in docstrings.
8770 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
8772         * image-mode.el (image-display-size): New function.
8773         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8774         (image-mode-fit-frame): Use it (Bug#6639).
8776 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
8778         * dired.el (dired-buffers-for-dir): Handle list values of
8779         dired-directory (Bug#6636).
8781 2010-07-26  Sam Steingold  <sds@gnu.org>
8783         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8784         Do not call `x-get-selection' the second time, reuse the value.
8786 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
8788         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8789         which consist of control chars only.  Suggested by Richard Stallman.
8791 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
8793         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8794         exists before passing an error to find-file-not-found-functions
8795         (bug#6723).
8797 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
8799         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8800         Remove leading nil element, adjust values.
8801         (tetris-shapes, tetris-shape-scores):
8802         Change representation of shapes and remove some redundancy.
8803         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8804         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8805         Adjust for working with new representation of shapes.
8806         (tetris-shape-rotations): New function.
8807         (tetris-move-bottom, tetris-move-left, tetris-move-right)
8808         (tetris-rotate-prev, tetris-rotate-next):
8809         Adjust for working with the new version of tetris-test-shape.
8811 2010-07-23  Markus Triska  <markus.triska@gmx.at>
8813         * progmodes/ps-mode.el: Use comint (bug#5954).
8814         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8815         (ps-mode-other-newline): Simplify.
8816         (ps-run-mode): Derive from comint-mode instead of
8817         fundamental-mode, yielding input history etc.
8818         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8819         (ps-run-send-string): Adapt for comint-mode.
8820         (ps-run-newline): Remove now unneeded function.
8822 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8824         * net/tramp.el (tramp-methods): Move hostname to the end in all
8825         plink `tramp-login-args'.
8827 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8829         * net/tramp.el (tramp-open-shell): New defun.
8830         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8831         Use it.
8833 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8835         * net/tramp.el (tramp-file-name-regexp-unified)
8836         (tramp-completion-file-name-regexp-unified): On W32 systems, do
8837         not regard the volume letter as remote filename.  (Bug#5447)
8839 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
8841         * custom.el (custom-declare-variable): Give a clearer error message
8842         when the docstring is missing (bug#6476).
8844 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
8846         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
8847         (sql-login-params): New widget definition.
8848         (sql-oracle-login-params, sql-mysql-login-params)
8849         (sql-solid-login-params, sql-sybase-login-params)
8850         (sql-informix-login-params, sql-ingres-login-params)
8851         (sql-ms-login-params, sql-postgres-login-params)
8852         (sql-interbase-login-params, sql-db2-login-params)
8853         (sql-linter-login-params): Use it.
8854         (sql-sqlite-login-params): Use it; Define "database" parameter as
8855         a file name.
8856         (sql-sqlite-program): Change to "sqlite3".
8857         (sql-comint-sqlite): Make sure database name is complete.
8858         (sql-for-each-login): New function.
8859         (sql-connect, sql-save-connection): Use it.
8860         (sql-get-login-ext): New function.
8861         (sql-get-login): Use it.
8862         (sql-make-alternate-buffer-name): Handle :file parameters.
8864 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
8866         * dired.el (dired-no-confirm): Document value t and fix defcustom to
8867         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
8869 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
8871         * dired.el (dired-mode-map): Use command remapping (bug#6632).
8873 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
8875         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8877 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
8879         * net/tramp.el (tramp-get-ls-command)
8880         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8881         instead of "/".
8883 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
8885         * progmodes/sql.el: Version 2.3.
8886         (sql-connection-alist): Change keys from symbols to strings;
8887         enhanced the widget definition.
8888         (sql-mode-menu): Add submenu to select connections.
8889         (sql-interactive-mode-menu): Add "Save Connection" item.
8890         (sql-add-product): Fix menu item.
8891         (sql-get-product-feature): Improved error handling.
8892         (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8893         (sql-make-alternate-buffer-name): Simplified.
8894         (sql-product-interactive): Handle missing product.
8895         (sql-connect): Support string keys, minor improvements.
8896         (sql-save-connection): New function.
8897         (sql-connection-menu-filter): New function.
8899 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8901         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8902         (tramp-open-connection-setup-interactive-shell):
8903         Apply workaround for IRIX64 bug.  Move argument of last
8904         `tramp-send-command' where it belongs to.
8906 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8908         * net/tramp.el (tramp-perl-file-attributes)
8909         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8910         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8911         front of `login-args'.
8913 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
8915         * time.el (display-time-world-mode): Define with `define-derived-mode'.
8916         Set `show-trailing-whitespace' to nil.
8917         (display-time-world-display): Simplify.
8919 2010-07-18  Alan Mackenzie  <acm@muc.de>
8921         Enhance `c-file-style' in file/directory local variables.
8922         * progmodes/cc-mode.el (c-count-cfss): New function.
8923         (c-before-hack-hook): Call `c-set-style' differently according to
8924         whether c-file-style was set in file or directory local
8925         variables.
8927 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
8929         * progmodes/sql.el: Version 2.2.
8930         (sql-product, sql-user, sql-database, sql-server, sql-port):
8931         Use defcustom :safe keyword rather than putting safe-local-variable
8932         property.
8933         (sql-password): Use defcustom :risky keyword rather than putting
8934         risky-local-variable property.
8935         (sql-oracle-login-params, sql-sqlite-login-params)
8936         (sql-solid-login-params, sql-sybase-login-params)
8937         (sql-informix-login-params, sql-ingres-login-params)
8938         (sql-ms-login-params, sql-postgres-login-params)
8939         (sql-interbase-login-params, sql-db2-login-params)
8940         (sql-linter-login-params): Add `port' option.
8941         (sql-get-product-feature): Add NO-INDIRECT parameter.
8942         (sql-comint-oracle, sql-comint-sybase)
8943         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8944         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8945         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8946         (sql-comint-linter): Rename sql-connect-* functions to
8947         sql-comint-*.
8948         (sql-product-alist, sql-mode-menu): Rename as above and
8949         :sqli-connect-func to :sqli-comint-func.
8950         (sql-connection): New variable.
8951         (sql-interactive-mode): Set it.
8952         (sql-connection-alist): New variable.
8953         (sql-connect): New function.
8954         (sql--alt-buffer-part, sql--alt-if-not-empty)
8955         (sql-make-alternate-buffer-name): Improved alternative buffer name.
8957 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8959         * image-mode.el (image-bookmark-make-record): Do not set context
8960         in an image (Bug#6650).
8962 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8964         * simple.el (select-active-region): New function.
8965         (push-mark-command, set-mark, activate-mark)
8966         (handle-shift-selection): Use it.
8967         (deactivate-mark): Don't check for size of region.
8969         * mouse.el (mouse-drag-track): Use select-active-region.
8971 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
8973         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8974         "--dired" stronger.
8976 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8978         * term/x-win.el (x-select-enable-primary): Change default to nil.
8979         (x-select-enable-clipboard): Add :version keyword.
8981         * mouse.el (mouse-drag-copy-region):
8982         * simple.el (select-active-regions): Likewise.
8984 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
8986         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8987         (vc-coding-system-for-diff): Use it to decide whether to inherit
8988         from the file the EOL format for reading the diffs of that file.
8989         (Bug#4451)
8991 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
8993         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8994         unibyte, so compressed attachments are not compressed again.
8996 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
8998         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8999         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9000         (tramp-find-shell): Simplify setting connection property.
9001         (tramp-get-ls-command): Make test for "--color=never" stronger.
9003 2010-07-15  Simon South  <ssouth@member.fsf.org>
9005         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9006         blocks within record declarations (i.e. variant parts) correctly.
9008 2010-07-15  Simon South  <ssouth@member.fsf.org>
9010         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9011         over literal tokens when parsing so newlines aren't "absorbed" by
9012         single-line comments.  Corrects the indentation of case blocks
9013         that have a comment on the first line.
9015 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
9017         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9018         by Drew Adams (Bug#5504).
9020 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
9022         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9023         now that Unicode is used (Bug#6594).
9025 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
9027         * term/x-win.el (x-select-enable-clipboard): Default to t.
9028         (x-initialize-window-system): Don't overwrite Paste menu item.
9030         * simple.el (select-active-regions): Default to t.
9031         (push-mark-command): Don't overwrite primary with empty string.
9033         * mouse.el: Bind mouse-2 to mouse-yank-primary.
9034         (mouse-drag-copy-region): Default to nil.
9036         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9037         Cut/Copy/Paste menu bar items.
9039 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9041         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9042         Patch applied by Karl Fogel.
9044         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9045         and `bookmark-current-buffer' if they have been already set in
9046         another buffer (e.g gnus-art).
9048 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9049             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9051         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9053         * bookmark.el (bookmark-make-record-default): Allow unneeded
9054         information to be omitted from the record.
9056         Adjust declarations and calls:
9058         * info.el (bookmark-make-record-default): Adjust declaration.
9059         (Info-bookmark-make-record): Adjust call.
9061         * woman.el (bookmark-make-record-default): Adjust declaration.
9062         (woman-bookmark-make-record): Adjust call.
9064         * man.el (bookmark-make-record-default): Adjust declaration.
9065         (Man-bookmark-make-record): Adjust call.
9067         * image-mode.el (bookmark-make-record-default): Adjust declaration.
9069         * doc-view.el (bookmark-make-record-default): Adjust declaration.
9071 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9073         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9074         This is also from Thierry Volpiatto's patch in bug #6444.  However,
9075         because it was extraneous to the functional change in that patch,
9076         and causes a re-indendation, I am committing it separately.
9078 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9080         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9081         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9082         Patch applied by Karl Fogel (Bug#6444).
9084 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
9086         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9088 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
9090         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9091         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
9092         (ns-alternatives-map): Change S-tab binding to backtab
9093         (bug#6616).
9095         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9096         under ns.
9098 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
9100         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9101         (Bug#5806)
9103         * language/tv-util.el (tai-viet-re): Remove format.
9105 2010-07-12  Kenichi Handa  <handa@m17n.org>
9107         * language/hebrew.el: Remove no-byte-compile declaration.
9108         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
9109         composition-function-table for 3-character looking back.
9110         (hebrew-font-get-precomposed): New function.
9111         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9113 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
9115         * mouse.el (mouse-drag-track): Handle select-active-regions
9116         (Bug#6612).
9118 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
9120         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9121         empty argument to gvfs-copy.
9123 2010-07-10  Glenn Morris  <rgm@gnu.org>
9125         * calendar/calendar.el (calendar-week-end-day): New function.
9126         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9127         Respect calendar-week-start-day.  (Bug#6606)
9128         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9129         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9130         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9131         respect calendar-week-start-day.
9133 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
9135         * simple.el (use-region-p): Doc fix (Bug#6607).
9137 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
9139         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9140         Add regexps for cucumber and ruby.
9142 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
9144         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9145         (epa-file-insert-file-contents): Hack to prevent
9146         find-file from opening empty buffer when decryption failed
9147         (bug#6568).
9149 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
9151         * textmodes/ispell.el (ispell-alternate-dictionary):
9152         Use file-readable-p.
9153         Return nil if no word-list is found at default locations.
9154         (ispell-complete-word-dict): Default to nil.
9155         (ispell-command-loop): Use 'word-list' when using lookup-words.
9156         (lookup-words): Use ispell-complete-word-dict or
9157         ispell-alternate-dictionary.  Check for word-list availability
9158         and handle errors if needed with better messages (Bug#6539).
9159         (ispell-complete-word): Use ispell-complete-word-dict or
9160         ispell-alternate-dictionary.
9162 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
9164         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9165         builtins (BufferError, BytesWarning, WindowsError; callables
9166         bin, bytearray, bytes, format, memoryview, next, print; __package__).
9168 2010-07-07  Glenn Morris  <rgm@gnu.org>
9170         * play/zone.el (top-level): Do not require timer, tabify, or cl.
9171         (zone-shift-left): Ignore intangibility, and any errors from
9172         forward-char.
9173         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
9174         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9175         deleting, and copying text properties.
9176         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9177         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9178         to point-max is hard.
9179         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9180         (zone-fill-out-screen): Ignore intangibility.
9182 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
9184         * menu-bar.el (menu-bar-mode):
9185         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9186         if it has been set.
9188         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9189         word/line selection (Bug#6565).
9191 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
9193         * net/dbus.el (dbus-send-signal): Declare function.
9195 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
9197         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9198         (dbus-register-property): New optional argument EMITS-SIGNAL.
9199         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9201 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
9203         * mouse.el (mouse-drag-overlay): Variable deleted.
9204         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9205         (mouse--remap-link-click-p): New function.
9206         (mouse-drag-track): Handle dragging by using temporary Transient
9207         Mark mode, instead of a special overlay.
9208         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9209         mouse-show-mark.
9211         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9212         deleted.
9214 2010-07-02  Juri Linkov  <juri@jurta.org>
9216         * autoinsert.el (auto-insert-alist): Fix readability
9217         by using dotted pair notation for lambda.
9219 2010-07-02  Juri Linkov  <juri@jurta.org>
9221         * faces.el (read-face-name): Rename arg `string-describing-default'
9222         to `default'.  Doc fix.  Display the default value in quotes
9223         in the prompt.  With empty input, return the `default' arg,
9224         unless the default value is a string (in which case return nil).
9225         (describe-face): Replace the string `default' arg of `read-face-name'
9226         with the symbol `default'.
9228 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
9230         * emulation/viper-cmd.el (viper-delete-backward-char)
9231         (viper-del-backward-char-in-insert)
9232         (viper-del-backward-char-in-replace, viper-change)
9233         (viper-backward-indent): Replace delete-backward-char with
9234         delete-char (Bug#6552).
9236 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
9238         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9240 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9242         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9243         argument passed to frame-creation-function (Bug#5378).
9245         * faces.el (x-handle-named-frame-geometry)
9246         (x-handle-reverse-video, x-create-frame-with-faces)
9247         (face-set-after-frame-default, tty-create-frame-with-faces):
9248         Don't separately consult default-frame-alist.  It is now passed as the
9249         PARAMETER argument.
9251 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
9253         * startup.el (command-line): Don't call tool-bar-setup in a
9254         tty-only build.
9256 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9258         * ruler-mode.el (ruler--save-header-line-format): New fun.
9259         (ruler-mode): Use it as a setter function, so as not to overwrite
9260         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9262 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
9264         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
9265         (vc-root-diff, vc-print-root-log, vc-log-incoming)
9266         (vc-log-outgoing): Use it.
9267         (vc-diff-internal): Set diff-vc-backend.
9269         * vc/diff-mode.el (diff-vc-backend): New var.
9271 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
9273         * dynamic-setting.el (font-setting-change-default-font):
9274         Remove call to message.
9276 2010-06-28  Kenichi Handa  <handa@m17n.org>
9278         * international/quail.el (quail-insert-kbd-layout): Fix the
9279         showing of untranslated characters.
9281 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
9283         * simple.el (delete-active-region): New option.
9284         (delete-backward-char): Implement in Lisp.
9285         (delete-forward-char): New command.
9287         * mouse.el (mouse-region-delete-keys): Delete.
9288         (mouse-show-mark): Simplify.
9290         * bindings.el (global-map): Bind delete and DEL, the former to
9291         delete-forward-char.
9293 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
9295         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9296         (ruby-mode): Bind indent-line-function (Bug#5119).
9298 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9300         * startup.el (command-line): Recognize "0" X resource value.
9302 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9304         * startup.el (command-line): Use X resources to set the value of
9305         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9307         * menu-bar.el (menu-bar-mode):
9308         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9309         Set init-value to t.
9311         * frame.el (frame-notice-user-settings): Don't change
9312         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9313         vice versa (Bug#2249).
9315 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
9317         * w32-fns.el (w32-convert-standard-filename): Doc fix.
9319 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
9321         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9322         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9324         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9325         default directories are expanded (Bug#6143).
9327 2010-06-24  Juri Linkov  <juri@jurta.org>
9329         * minibuffer.el (completions-format): Change default from nil to
9330         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
9332 2010-06-24  Juri Linkov  <juri@jurta.org>
9334         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9335         buffer-locally to lambda that re-runs the vc diff command.
9336         (Bug#6447)
9338 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
9340         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9341         echo area is in use (Bug#3412).
9343 2010-06-22  Glenn Morris  <rgm@gnu.org>
9345         * textmodes/texinfmt.el (texinfo-format-region)
9346         (texinfo-raise-lower-sections, texinfo-format-separate-node)
9347         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9348         (texinfo-format-option, texinfo-noindent):
9349         Use line-beginning-position and line-end-position.
9351         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9352         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9353         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9354         utf-8 characters.
9356 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
9358         * play/zone.el (zone-fall-through-ws): Fix next-line ->
9359         forward-line fallout.
9361 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
9363         * mouse.el (mouse-appearance-menu): Add docstring.
9365         * help.el (describe-key): Print up-event using key-description.
9367 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
9369         * net/zeroconf.el (zeroconf-resolve-service)
9370         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9371         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9373 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
9375         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9377 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
9379         Avoid displaying files with a nil state in vc-dir.
9380         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9381         cases that cause insertion.
9382         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9383         with a nil state.
9385 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9387         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9389 2010-06-29  Leo  <sdl.web@gmail.com>
9391         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
9393 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9395         * generic-x.el (bat-generic-mode): Fix regexp for command line
9396         switches (Bug#5719).
9398 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
9400         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9401         of nconc to avoid pure storage error (Bug#6239).
9403 2010-06-27  Christoph Scholtes  <cschol2112@googlemail.com>
9405         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9406         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9407         bindings of bookmark-automatically-show-annotations (Bug#6515).
9409 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
9411         * arc-mode.el (archive-zip-extract): Don't quote the file name on
9412         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
9414 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9416         * comint.el (make-comint, make-comint-in-buffer): Mention return
9417         value in the docstrings.  (Bug#6498)
9419 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
9421         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9422         since it is not present when using some non-default switches.
9424 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
9426         * simple.el (compose-mail): Fix doc string to refer to
9427         `compose-mail-user-agent-warnings', instead of to the
9428         nonexistent `compose-mail-check-user-agent'.
9430 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
9432         Fix an indentation bug:
9434         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9435         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9436         of existing values.
9438         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9439         (c-clear->-pair-props-if-match-before): now return t when they've
9440         cleared properties, nil otherwise.
9441         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9442         by taking account of the existing value.
9444         * progmodes/cc-defs.el
9445         (c-clear-char-property-with-value-function): Fix this to clear the
9446         property rather than overwriting it with nil.
9448 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
9450         * emacs-lisp/package.el (package-print-package): Add link to
9451         package description via describe-package.
9452         (describe-package-1): List package requirements.  Add button to
9453         perform installation.
9454         (package-menu-describe-package): New command.
9456         * help-mode.el (help-package): New button type.
9458 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
9460         * emacs-lisp/package.el: Move package-list-packages binding to
9461         menu-bar.el.
9462         (describe-package, describe-package-1, package--dir): New funs.
9463         (package-activate-1): Use package--dir.
9465         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9467         * help-mode.el (help-package-def): New button type.
9469         * menu-bar.el: Move package-list-packages binding here from
9470         package.el.
9472 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
9474         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
9476 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9478         * emacs-lisp/edebug.el (edebug-read-list):
9479         Phase out old-style backquotes.
9481 2010-06-17  Juri Linkov  <juri@jurta.org>
9483         * help-mode.el (help-mode): Set buffer-local variable
9484         revert-buffer-function to help-mode-revert-buffer.
9485         (help-mode-revert-buffer): New function.
9487         * info.el (Info-revert-find-node): Check for major-mode Info-mode
9488         before popping to "*info*" (like in other Info functions).
9489         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
9490         old-history-forward.  Pop to old-buffer-name or "*info*" to
9491         recreate the killed buffer.  Set Info-history-forward from
9492         old-history-forward.
9493         (Info-breadcrumbs-depth): Add :group and :version.
9495 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
9497         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9499 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
9501         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9502         for languages like Portuguese with pt_{BR,PT} and no plain pt.
9504 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
9506         * emacs-lisp/package.el (package-menu-mode-map):
9507         Move initialization into declaration.
9509         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9511 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
9513         * emacs-lisp/package.el (package-archive-base): Point to
9514         elpa.gnu.org.
9515         (package-enable, package-load-list): New defcustoms.
9516         (package-user-dir, package-directory-list): Turn into defcustoms.
9517         Don't include package-user-dir in package-directory-list.
9518         (package--builtins-base): Don't include Emacs as a "package".
9519         (package-subdirectory-regexp): New var.
9520         (package-load-all-descriptors, package-compute-transaction)
9521         (package-download-transaction): Obey package-load-list.
9522         (package-activate-1): Rename from package-do-activate.
9523         (package-list-packages-internal): Check package-load-list.
9524         (package-load-descriptor, package-generate-autoloads)
9525         (package-unpack, package-unpack-single)
9526         (package--read-archive-file, package-delete):
9527         Use expand-file-name.
9529         * emacs-lisp/package-x.el: New file.  Package uploading
9530         functionality split out from package.el.
9532         * startup.el (command-line): Load packages after reading init file.
9534 2010-06-17  Tom Tromey  <tromey@redhat.com>
9536         * emacs-lisp/package.el: New file.
9538 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9540         Fix vc-annotate for renamed files when using Git.
9541         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9542         ls-files.  Doe not pass the object as a file name to cat-file, it
9543         is not a file name.
9544         (vc-git-annotate-command): Pass the file name using -- to avoid
9545         ambiguity with the revision.
9546         (vc-git-previous-revision): Pass a relative file name.
9548 2010-06-22  Glenn Morris  <rgm@gnu.org>
9550         * progmodes/js.el (js-mode-map): Use standard capitalization and
9551         ellipses for menu entries.
9553         * wid-edit.el (widget-complete): Doc fix.
9555 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
9557         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9559 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9561         Fix annotating other revisions for renamed files in vc-annotate.
9562         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9563         VC backend.  Use it when non-nil.
9564         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9565         (Bug#6487).
9567         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9568         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9569         Do not pass the file name to the 'previous-revision call when we
9570         don't want a file diff.  (Bug#6489)
9572 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9574         Fix finding revisions for renamed files in vc-annotate.
9575         * vc/vc.el (vc-find-revision): Add an optional argument for
9576         the VC backend.  Use it when non-nil.
9577         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9578         backend to vc-find-revision.  (Bug#6487)
9580 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9582         Fix reading file names in Git annotate buffers.
9583         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9584         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
9586 2010-06-20  Alan Mackenzie  <acm@muc.de>
9588         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9589         in file local variables, set it first.
9591 2010-06-19  Glenn Morris  <rgm@gnu.org>
9593         * descr-text.el (describe-char-unicode-data): Insert separating
9594         space when needed.  (Bug#6422)
9596         * progmodes/idlwave.el (idlwave-action-and-binding):
9597         Fix typo in 2009-12-03 change.  (Bug#6450)
9599 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9601         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9602         handling for `lambda' (misunderstanding).
9604 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
9606         * calc/calc-poly.el (math-accum-factors): Make sure that
9607         constants aren't distributed after they are factored out.
9609 2010-06-16  Juri Linkov  <juri@jurta.org>
9611         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9612         `list-colors-print'.  (Bug#6332)
9614         * subr.el (read-quoted-char): Fix up last change (bug#6290).
9616 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9618         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9619         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
9621         * font-lock.el (font-lock-major-mode): Rename from
9622         font-lock-mode-major-mode to distinguish it from
9623         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9624         (font-lock-set-defaults):
9625         * font-core.el (font-lock-default-function): Adjust users.
9626         (font-lock-mode): Don't set it at all.
9628 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9630         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9632 2010-06-16  Glenn Morris  <rgm@gnu.org>
9634         * calendar/appt.el (appt-time-msg-list): Doc fix.
9635         (appt-check): Let-bind appt-warn-time.
9636         (appt-add): Make the 3rd argument optional.
9637         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
9638         Only add WARNTIME to the output list if non-nil.
9640 2010-06-16  Ivan Kanis  <apple@kanis.eu>
9642         * calendar/appt.el (appt-check): Let the 3rd element of
9643         appt-time-msg-list specify the warning time.
9644         (appt-add): Add new argument with the warning time.  (Bug#5176)
9646 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9648         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9649         older than version 1.6.  (Bug#6361)
9651 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
9653         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9654         used by cl-do-arglist.  (Bug#6408)
9656 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
9658         * textmodes/ispell.el (ispell-dictionary-base-alist):
9659         Fix portuguese casechars/not-casechars for missing 'çÇ'.
9660         Suggested by Rolando Pereira (bug#6434).
9662 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
9664         * facemenu.el (list-colors-sort): Doc fix.
9666 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9668         * progmodes/sql.el (sql-connect-mysql): Fix typo.
9670 2010-06-14  Juri Linkov  <juri@jurta.org>
9672         Add sort option `list-colors-sort'.  (Bug#6332)
9673         * facemenu.el (color-rgb-to-hsv): New function.
9674         (list-colors-sort): New defcustom.
9675         (list-colors-sort-key): New function.
9676         (list-colors-display): Doc fix.  Sort list according to the option
9677         `list-colors-sort'.
9678         (list-colors-print): Add HSV values to `help-echo' property of
9679         RGB strings.
9681 2010-06-14  Juri Linkov  <juri@jurta.org>
9683         * compare-w.el: Move to the "vc" subdirectory.
9685 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9687         * image-mode.el (image-mode-map): Remap left-char and right-char.
9689         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9691 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
9693         * term/common-win.el (x-colors): Add all the color names defined
9694         in rgb.txt (Bug#6332).
9696         * facemenu.el (list-colors-print): Don't print extra names if it
9697         will overflow the window width.
9699         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9700         change (Bug#6343).
9702 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
9704         * files.el (make-directory): Doc fix (bug#6396).
9706 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
9708         * net/tramp.el (tramp-remote-process-environment): Protect version
9709         string by apostroph.
9710         (tramp-shell-prompt-pattern): Do not use a shy group in case of
9711         XEmacs.
9712         (tramp-file-name-for-operation): Add `call-process-region'.
9713         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9715         * net/tramp-compat.el (top): Do not autoload
9716         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
9717         only when `start-file-process' is not bound.
9718         (tramp-advice-file-expand-wildcards): Do not use
9719         `tramp-handle-file-remote-p'.
9720         (tramp-compat-make-temp-file): Handle the case, that
9721         `make-temp-file' has no third argument EXTENSION.
9723 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
9725         * makefile.w32-in (WINS_BASIC): Include new directory vc.
9727         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9729 2010-06-11  Juri Linkov  <juri@jurta.org>
9731         * finder.el (finder-known-keywords): Add keyword "vc"
9732         for version control.
9734         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9735         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9736         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9737         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9739 2010-06-11  Juri Linkov  <juri@jurta.org>
9741         Move version control related files to the "vc" subdirectory.
9742         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9743         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9744         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9745         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9746         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9747         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9748         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9749         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9750         Move files to the "vc" subdirectory.
9752 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
9754         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9755         (Bug#6367).
9757 2010-06-11  Stephen Eglen  <stephen@gnu.org>
9759         * shell.el: Bind `shell-resync-dirs' to M-RET.
9761 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
9763         * notifications.el: Move file from lisp/net, because it is
9764         supposed to talk locally to the user.
9766 2010-06-10  Julien Danjou  <julien@danjou.info>
9768         * net/notifications.el (notifications-on-action-signal)
9769         (notifications-on-closed-signal): Pass notification id as first
9770         argument to the callback functions.  Add docstrings.
9771         (notifications-notify): Fix docstring.
9773 2010-06-10  Glenn Morris  <rgm@gnu.org>
9775         * emacs-lisp/authors.el (authors-ignored-files)
9776         (authors-valid-file-names): Add some files.
9778 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9780         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9781         merge conflict, giving preference to the emacs-23 version of the code.
9783 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9785         * emacs-lisp/advice.el (ad-compile-function):
9786         Define warning-suppress-types before we let-bind it (bug#6275).
9788         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9789         declare it, make it buffer-local and permanent-local (bug#6324).
9790         (vc-resynch-window): Adjust name.
9791         * vc-hooks.el (vc-find-file-hook): Adjust name.
9793 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
9795         * net/notifications.el (notifications-notify): Fix docstring.
9797 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9799         Update to Unicode 6.0.0 beta.
9800         * international/charprop.el: Update copyright.
9801         * international/mule-cmds.el (ucs-names): Update character ranges.
9802         * international/uni-bidi.el:
9803         * international/uni-category.el:
9804         * international/uni-combining.el:
9805         * international/uni-comment.el:
9806         * international/uni-decimal.el:
9807         * international/uni-decomposition.el:
9808         * international/uni-digit.el:
9809         * international/uni-lowercase.el:
9810         * international/uni-mirrored.el:
9811         * international/uni-name.el:
9812         * international/uni-numeric.el:
9813         * international/uni-old-name.el:
9814         * international/uni-titlecase.el:
9815         * international/uni-uppercase.el: Regenerate.
9817 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9819         * emacs-lisp/smie.el (comment-string-strip): Declare function.
9820         (smie-precs-precedence-table): Fix typo in docstring.
9822         * vc-mtn.el (log-edit-extract-headers): Declare function.
9824         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9826         * net/notifications.el (dbus-register-signal): Declare function.
9827         (notifications-notify): Fix typos and reflow docstring.
9829 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9831         Improve VC create/retrieve tag/branch.
9832         * vc.el (vc-create-tag): Do not read the directory name for VCs
9833         with repository revision granularity.  Adjust the tag/branch
9834         prompt.  Reset VC properties.
9835         (vc-retrieve-tag): Do not read the directory name for VCs
9836         with repository revision granularity.  Reset VC properties.
9838 2010-06-09  Julien Danjou  <julien@danjou.info>
9840         * net/notifications.el: New file.
9842 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9844         Add optional support for resetting VC properties.
9845         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9846         call vc-file-clearprops when true.
9847         (vc-resynch-buffer): Add new optional argument, pass it down.
9848         (vc-resynch-buffers-in-directory): Likewise.
9850         Improve support for special markup in the VC commit message.
9851         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9852         * vc-hg.el (vc-hg-checkin): Add support for Date:.
9853         * vc-git.el (vc-git-checkin):
9854         * vc-bzr.el (vc-bzr-checkin): Likewise.
9856 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9858         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9859         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9861 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
9863         * iimage.el: Remove images as soon as the underlying text is modified.
9864         (iimage-modification-hook): New function.
9865         (iimage-mode-buffer): Use it.
9867 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9869         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9870         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
9871         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
9872         (smie-indent-keyword): Add handling of open-paren keywords.
9873         (smie-indent-comment-continue): Don't assume comment-continue.
9875 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
9877         * window.el (pop-to-buffer): Remove the conditional that
9878         compares new-window and old-window, so it will reselect
9879         the selected window unconditionally.
9880         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9882 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9884         * emacs-lisp/smie.el (smie-indent-offset-after)
9885         (smie-indent-forward-token, smie-indent-backward-token): New functions.
9886         (smie-indent-after-keyword): Use them.
9887         (smie-indent-fixindent): Only applies to the indentation of the BOL.
9888         (smie-indent-keyword): Tweak the black magic.
9889         (smie-indent-comment-continue): Strip comment-continue before use.
9890         (smie-indent-functions): Indent comments before keywords.
9892 2010-06-06  Juri Linkov  <juri@jurta.org>
9894         * isearch.el (isearch-lazy-highlight-search): Fix looping
9895         by checking for empty match.  This syncs this loop with the
9896         similar loop in `isearch-search'.  (Bug#6362)
9898 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
9900         * net/dbus.el (dbus-register-method): Declare function.
9901         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9902         (dbus-introspect): Doc fix.
9903         (dbus-event-bus-name, dbus-introspect-get-interface)
9904         (dbus-introspect-get-argument): Reflow docstrings.
9906 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
9908         vc-log-incoming/vc-log-outgoing fixes for Git.
9909         * vc-git.el (vc-git-log-view-mode): Fix font lock for
9910         incoming/outgoing logs.
9911         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9912         instead of vc-git-compute-remote.
9913         (vc-git-compute-remote): Remove.
9915 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
9917         * term/common-win.el (x-colors): Add "dark green" and "dark
9918         turquoise" (Bug#6332).
9920 2010-06-04  Juri Linkov  <juri@jurta.org>
9922         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9923         Instead of setting `replace' to t and replacing the same string
9924         with itself, don't do certain actions when
9925         kill-do-not-save-duplicates is non-nil and string is equal to car
9926         of kill-ring: don't call menu-bar-update-yank-menu, don't push
9927         interprogram-paste strings to kill-ring, and don't push the input
9928         argument `string' to kill-ring.
9929         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9931 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9933         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9935 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
9937         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9938         (tramp-gvfs-handler-mounted-unmounted)
9939         (tramp-gvfs-connection-mounted-p): Handle default-location.
9941         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9942         move files to trash.
9944 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9946         * international/mule-cmds.el (nonascii-insert-offset)
9947         (nonascii-translation-table): Add obsolescence information.
9949         * international/mule.el (make-translation-table-from-vector): Doc fix.
9951 2010-06-03  Glenn Morris  <rgm@gnu.org>
9953         * desktop.el (desktop-clear-preserve-buffers):
9954         Add "*Warnings*" buffer.  (Bug#6336)
9956 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
9958         vc-log-incoming/vc-log-outgoing improvements for Git.
9959         * vc-git.el (vc-git-log-outgoing): Use the same format as the
9960         short log.
9961         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
9963         Add bindings for vc-log-incoming and vc-log-outgoing.
9964         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9965         and vc-log-outgoing.
9966         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9967         and vc-log-outgoing.
9969 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9971         * net/rcirc.el (rcirc-sort-nicknames): Remove.
9972         (rcirc-handler-366): Always sort nicknames.
9974 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
9976         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9978 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9980         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9982 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9984         * net/rcirc.el (rcirc-sort-nicknames): Change default.
9985         (rcirc-sort-nicknames-join): Avoid setq.
9987 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
9989         * net/rcirc.el (rcirc-sort-nicknames): New custom.
9990         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9991         (rcirc-handler-366): Use them.
9993 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9995         Split smie-indent-calculate into more manageable chunks.
9996         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9997         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9998         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9999         (smie-indent-exps): Extract from smie-indent-calculate.
10000         (smie-indent-functions): New var.
10001         (smie-indent-functions): Use them.
10003 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10005         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10006         (smie-indent-calculate): Simplify and cleanup.
10008 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
10010         * net/tramp-gvfs.el (top): Require url-util.
10011         (tramp-gvfs-mount-point): Remove.
10012         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10013         New defuns.
10014         (with-tramp-dbus-call-method): Format trace message.
10015         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10016         Implement backup call, when operation on local files fails.
10017         Use progress reporter.  Flush properties of changed files.
10018         (tramp-gvfs-handle-make-directory): Make more traces.
10019         (tramp-gvfs-url-file-name): Hexify file name in url.
10020         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10021         into account for the resulting file name.
10022         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10023         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
10024         (tramp-gvfs-handler-mounted-unmounted)
10025         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10026         attribute "default_location".  Set "prefix" property.
10027         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10028         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10029         exists.  Raise an error, if not (due to a corresponding answer
10030         "no" in interactive questions, for example).
10032 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
10034         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10036 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
10038         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10039         right-*.  (Bug#6265)
10041 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
10043         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10044         * vc-git.el (vc-git-compute-remote): New function.
10045         (vc-git-log-outgoing): Use it instead of hard coding a value.
10046         (vc-git-log-incoming): New function.
10048         Improve state updating for VC tag commands.
10049         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10050         to update the state of all buffers in the directory.
10052         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10054 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10056         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10057         `file-directory-p' to the filename part rather than to the whole text.
10059 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10061         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10063 2010-05-31  Drew Adams  <drew.adams@oracle.com>
10065         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10067 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
10069         * subr.el (momentary-string-display): Just use read-event to read
10070         the exit event (Bug#6238).
10072 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
10074         * international/mule.el (define-coding-system): Doc fix (bug#6313).
10076 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10078         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10079         Suggested by Eli Zaretskii <eliz@gnu.org>.
10081 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10083         * minibuffer.el (completion-file-name-table): Don't return a boundary
10084         past the end of `string' (bug#6299).
10085         (completion--file-name-table): Delegate to completion-file-name-table
10086         for the `boundaries' case.
10088 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10090         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10091         movement commands.
10093         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10094         `path-separator', but maintain compatibility with Emacs 20.2.
10096 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10098         * server.el (server-process-filter): Receive parent-id argument
10099         from emacsclient.
10100         (server-create-window-system-frame): New arg.  Pass parent-id as
10101         frame parameter.
10103 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
10105         Bidi-sensitive word movement with arrow keys.
10106         * subr.el (right-arrow-command, left-arrow-command): Move to
10107         bindings.el.
10109         * bindings.el (right-char, left-char): Move from subr.el and
10110         rename from right-arrow-command and left-arrow-command.
10111         (right-word, left-word): New functions.
10112         (global-map) <right>: Bind to right-char.
10113         (global-map) <left>: Bind to left-char.
10114         (global-map) <C-right>: Bind to right-word.
10115         (global-map) <C-left>: Bind to left-word.
10117         * ls-lisp.el (ls-lisp-classify-file): New function.
10118         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10119         (ls-lisp-classify): Call ls-lisp-classify-file.
10120         (insert-directory): Remove blanks from switches.
10122 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10124         * ansi-color.el: Delete unused escape sequences (Bug#6085).
10125         (ansi-color-drop-regexp): New constant.
10126         (ansi-color-apply, ansi-color-filter-region)
10127         (ansi-color-apply-on-region): Delete unrecognized control sequences.
10128         (ansi-color-apply): Build string list before calling concat.
10130 2010-05-28  Juri Linkov  <juri@jurta.org>
10132         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10133         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10134         (Bug#5270)
10136 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10138         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10139         to ignored backtrace functions.
10140         (with-progress-reporter): Expand docstring.
10141         (tramp-handle-delete-file): Implement TRASH argument.
10142         (tramp-get-remote-trash): New defun.
10144 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10146         * net/tramp-compat.el (tramp-compat-delete-file):
10147         Use `symbol-value' for backward compatibility.
10149         * net/tramp.el (tramp-handle-make-symbolic-link)
10150         (tramp-handle-load)
10151         (tramp-do-copy-or-rename-file-via-buffer)
10152         (tramp-do-copy-or-rename-file-directly)
10153         (tramp-do-copy-or-rename-file-out-of-band)
10154         (tramp-handle-process-file, tramp-handle-call-process-region)
10155         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10156         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10157         (tramp-delete-temp-file-function): Use `delete-file' instead
10158         of `tramp-compat-delete-file'.
10160         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10161         (tramp-fish-handle-make-symbolic-link)
10162         (tramp-fish-handle-process-file): Use `delete-file' instead
10163         of `tramp-compat-delete-file'.
10165         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10166         Use `delete-file' instead of `tramp-compat-delete-file'.
10168         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10169         `delete-file' instead of `tramp-compat-delete-file'.
10171         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10172         Use `delete-file' instead of `tramp-compat-delete-file'.
10174         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10175         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10176         (tramp-smb-handle-write-region): Use `delete-file' instead of
10177         `tramp-compat-delete-file'.
10178         (tramp-smb-handle-delete-directory): Use 'trash as arg.
10180 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10182         * dired.el (dired-delete-file): New arg TRASH.
10183         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
10184         (dired-do-flagged-delete, dired-do-delete): Use trash.
10186         * speedbar.el (speedbar-item-delete): Allow trashing.
10188         * files.el (delete-directory): New arg TRASH.
10190         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10191         (ange-ftp-rename-remote-to-remote)
10192         (ange-ftp-rename-local-to-remote)
10193         (ange-ftp-rename-remote-to-local, ange-ftp-load)
10194         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10195         `delete-file'.
10196         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10197         allow trashing.
10199         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10200         handle new TRASH arg of `delete-file'.
10202         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10203         (tramp-handle-make-symbolic-link, tramp-handle-load)
10204         (tramp-do-copy-or-rename-file-via-buffer)
10205         (tramp-do-copy-or-rename-file-directly)
10206         (tramp-do-copy-or-rename-file-out-of-band)
10207         (tramp-handle-process-file, tramp-handle-call-process-region)
10208         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10209         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10210         (tramp-delete-temp-file-function): Use null TRASH arg in
10211         tramp-compat-delete-file call.
10213         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10214         (tramp-fish-handle-delete-file)
10215         (tramp-fish-handle-make-symbolic-link)
10216         (tramp-fish-handle-process-file): Use null TRASH arg in
10217         `tramp-compat-delete-file' call.
10219         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10220         arg in `tramp-compat-delete-file' call.
10222         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10223         (tramp-gvfs-handle-write-region): Use null TRASH arg in
10224         `tramp-compat-delete-file' call.
10226         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10227         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10228         `tramp-compat-delete-file' call.
10230         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10231         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10232         (tramp-smb-handle-write-region): Use null TRASH arg in
10233         tramp-compat-delete-file call.
10234         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10235         (tramp-smb-handle-delete-file): Rename arg.
10237         * diff.el (diff-sentinel):
10238         * epg.el (epg--make-temp-file, epg-decrypt-string)
10239         (epg-verify-string, epg-sign-string, epg-encrypt-string):
10240         * jka-compr.el (jka-compr-partial-uncompress)
10241         (jka-compr-call-process, jka-compr-write-region):
10242         * server.el (server-sentinel): Remove optional arg from
10243         delete-file, reverting 2010-05-03 change.
10245 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10247         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10248         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10250 2010-05-27  Kenichi Handa  <handa@m17n.org>
10252         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10253         element of GSTRING is nil.
10255 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10257         * emacs-lisp/smie.el (smie-forward-token-function)
10258         (smie-backward-token-function): New vars.
10259         (smie-backward-sexp, smie-forward-sexp)
10260         (smie-indent-hanging-p, smie-indent-calculate): Use them.
10261         (smie-default-backward-token): Rename from smie-backward-token and
10262         skip comments.
10263         (smie-default-forward-token): Rename from smie-forward-token and
10264         skip comments.
10265         (smie-next-sexp): Handle nil results from next-token.
10266         (smie-indent-calculate): Add a new case for special `fixindent' comments.
10268 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10270         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10271         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10273 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
10275         * htmlfontify.el (hfy-face-resolve-face): New function.
10276         (hfy-face-to-style): Use it (Bug#6279).
10278 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10280         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10281         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10283 2010-05-26  Glenn Morris  <rgm@gnu.org>
10285         * emulation/edt.el (edt-load-keys): Use locate-library.
10287 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
10289         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10290         (log-edit-changelog-entries): Doc fix.
10291         (log-edit-changelog-insert-entries): Args changed.
10292         Rename relative filenames in ChangeLog entries.  Delete tabs.
10293         (log-edit-insert-changelog-entries): Reorganize return value of
10294         `log-edit-changelog-entries' to pass filenames to
10295         log-edit-changelog-insert-entries.
10297 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10299         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10300         `image-dired-dired-insert-marked-thumbs' to
10301         `image-dired-dired-toggle-marked-thumbs'.
10303         * image-dired.el: Require cl when compiling.
10304         (image-dired-dired-toggle-marked-thumbs): Rename from
10305         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
10306         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
10307         to 'no-dir.  Skip files whose names don't match
10308         `image-file-name-regexp'.  When file has a thumbnail overlay,
10309         delete it.  (Bug#5270)
10311 2010-05-25  Juri Linkov  <juri@jurta.org>
10313         * image-mode.el (image-mode): Add image-after-revert-hook to
10314         after-revert-hook.
10315         (image-after-revert-hook): New function.  (Bug#5669)
10317 2010-05-25  Juri Linkov  <juri@jurta.org>
10319         * image.el (image-animated-p): When delay between animated images
10320         is 0, set it to 10 (0.1 sec).  (Bug#6258)
10322 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
10324         * net/tramp.el (tramp-handle-insert-directory): Don't use
10325         `forward-word', its default syntax could be changed.
10327 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
10329         * net/tramp.el (tramp-progress-reporter-update): New defun.
10330         (with-progress-reporter): Use it.
10331         (tramp-process-actions):
10332         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10333         Preserve current message, in order to let progress reporter continue
10334         afterwards.  (Bug#6257)
10336 2010-05-25  Glenn Morris  <rgm@gnu.org>
10338         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10339         Add :version.
10341 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10343         * net/rcirc.el (rcirc-default-user-name): Change to "user".
10344         (rcirc-default-full-name): Change to "unknown".
10345         (rcirc-user-name-history): Add variable.
10347 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10348             Jonathan Rockway  <jon@jrock.us>
10350         * net/rcirc.el (rcirc-server-alist): Add :pass.
10351         (rcirc): When prompting for connection parameters, also prompt for
10352         username and password.
10353         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
10354         value to server when connecting.
10356 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10358         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10359         (smie-merge-prec2s): Pass the tables as separate args.
10360         (smie-bnf-precedence-table): Adjust call accordingly.
10361         (smie-prec2-levels): Set levels at the end.
10363         Replace Lisp calls to delete-backward-char by delete-char.
10364         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10365         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10366         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10367         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10368         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10369         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10370         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10371         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10372         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10373         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10374         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10375         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10376         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10377         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10378         delete-backward-char by calls to delete-char.
10380 2010-05-25  Kenichi Handa  <handa@m17n.org>
10382         * language/hebrew.el (hebrew-shape-gstring): New function.
10383         Register it in composition-function-table for all Hebrew combining
10384         characters.
10386 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10388         * epa.el (epa--select-keys): Don't explicitly delete the window since
10389         that can fail (e.g. sole window in frame).  Use dedication instead.
10391 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10393         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10395 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
10397         * image.el (image-refresh): Define as an alias for image-flush.
10399         * image-mode.el (image-toggle-display-image): Caller changed.
10401 2010-05-21  Juri Linkov  <juri@jurta.org>
10403         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10404         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
10405         whitespace, call wildcard-to-regexp on substrings and concat them
10406         with "\\|".  (Bug#6114)
10408 2010-05-21  Alan Mackenzie  <acm@muc.de>
10410         * progmodes/cc-engine.el (c-parse-state-get-strategy):
10411         Replace parameter `here' with `here-' and `here-plus', which sandwich
10412         any pertinent CPP construct.
10413         (c-remove-stale-state-cache-backwards): Fix a bug which happens
10414         when doing (c-parse-state) in a CPP construct: Exclude any "new"
10415         CPP construct from taking part in the scanning.
10417 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
10419         * net/tramp.el (tramp-do-copy-or-rename-file)
10420         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10421         Tune `with-progress-reporter' messages.
10422         (tramp-handle-vc-registered):
10423         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10424         (tramp-fish-handle-insert-file-contents)
10425         (tramp-fish-maybe-open-connection):
10426         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10427         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10428         (tramp-imap-handle-insert-file-contents)
10429         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10431 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
10433         * add-log.el (change-log-font-lock-keywords):
10434         Highlight all authors in multi-author entries.
10436         * smerge-mode.el (smerge-refine-ignore-whitespace)
10437         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10438         Fix typos in docstrings.
10439         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10441 2010-05-21  Glenn Morris  <rgm@gnu.org>
10443         * progmodes/fortran.el (fortran-mode):
10444         * progmodes/f90.el (f90-mode): Derive from prog-mode.
10446         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10447         having a relative path in src/Makefile.in.
10449 2010-05-20  Kevin Ryde  <user42@zip.com.au>
10451         * help-mode.el (help-make-xrefs): For Info node links turn
10452         newlines into spaces.  Link node names with newlines are matched
10453         by help-xref-info-regexp and buttonized, this change ensures they
10454         can be followed successfully with RET.  (Bug#6206)
10456 2010-05-20  Juri Linkov  <juri@jurta.org>
10458         * locate.el (locate): Use pop-to-buffer instead of
10459         switch-to-buffer-other-window.  (Bug#6204)
10461 2010-05-20  Juri Linkov  <juri@jurta.org>
10463         * replace.el (replace-highlight): Fix lazy-highlighting
10464         for `M-s w str M-% str RET'.
10466 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
10468         * isearch.el (isearch-yank-word-or-char): Pull next subword
10469         when `subword-mode' is activated.  (Bug#6220)
10471 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
10473         * isearch.el (isearch-update-post-hook): New hook.
10474         (isearch-update): Use the new hook.  (Bug#6225)
10476 2010-05-20  Juri Linkov  <juri@jurta.org>
10478         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10479         [f1], [help], and (char-to-string help-char) instead of "\C-h".
10480         (Bug#6222)
10482 2010-05-20  Juri Linkov  <juri@jurta.org>
10484         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10485         (Bug#6223)
10487 2010-05-20  Juri Linkov  <juri@jurta.org>
10489         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10490         FILE-NAME to read from the minibuffer when called interactively
10491         with prefix argument instead of using buffer-file-name.
10492         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10494         * dired.el: Update autoloads.
10496 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
10498         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10499         nxml-finish-element, for consistency with SGML mode.
10501         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10502         octave-close-block.
10504 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
10506         * composite.el: Require cl when compiling.
10507         (reference-point-alist, compose-gstring-for-graphic)
10508         (compose-gstring-for-terminal): Fix typos in docstrings.
10510 2010-05-19  Juri Linkov  <juri@jurta.org>
10512         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10513         set-window-parameter.
10515 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10517         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10518         where appropriate.
10519         (tramp-maybe-open-connection): Use it.
10521 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
10523         * simple.el (move-end-of-line): Make sure we are at line beginning
10524         before backing up to end of previous line.
10526 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10528         * password-cache.el (password-cache-remove): Fix docstring.
10530         * net/secrets.el: Autoload the widget functions.
10531         (secrets-search-items, secrets-create-item)
10532         (secrets-get-attributes, secrets-expand-item): Attributes will be
10533         stored on the password database without leading ":", as all other
10534         clients do as well.
10535         (secrets-mode): Fix docstring.
10536         (secrets-show-secrets): Provide it as autoloaded command only when
10537         D-Bus support is available.  Check existence of Secret Service API.
10539 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10541         * indent.el (indent-region): Deactivate region (bug#6200).
10543 2010-05-19  Glenn Morris  <rgm@gnu.org>
10545         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
10547 2010-05-19  Kenichi Handa  <handa@m17n.org>
10549         * composite.el: Register compose-gstring-for-graphic in
10550         composition-function-table only for combining characters (Mn, Mc, Me).
10552 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
10554         * calc/calc-trail.el (calc-trail-isearch-forward)
10555         (calc-trail-isearch-backward): Ensure that the new window
10556         point is set correctly.
10558 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10560         * subr.el (read-quoted-char): Resolve modifiers after key
10561         remapping (bug#6212).
10563 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
10565         Add visualization code for secrets.
10566         * net/secrets.el (secrets-mode): New major mode.
10567         (secrets-show-secrets, secrets-show-collections)
10568         (secrets-expand-collection, secrets-expand-item)
10569         (secrets-tree-widget-after-toggle-function)
10570         (secrets-tree-widget-show-password): New defuns.
10572 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10574         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10575         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10576         handled in smie-next-sexp.
10577         (smie-indent-calculate): Provide a starting indentation (so the
10578         recursion is well-founded ;-).
10580         Fix handling of non-associative equal levels.
10581         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10582         when it's not needed.
10583         (smie-op-left, smie-op-right): New functions.
10584         (smie-next-sexp): New function, extracted from smie-backward-sexp.
10585         Better handle equal levels to distinguish the associative case from
10586         the "multi-keyword construct" case.
10587         (smie-backward-sexp, smie-forward-sexp): Use it.
10589 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
10591         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10593         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10594         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10596 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10598         Provide a simple generic indentation engine and use it for Prolog.
10599         * emacs-lisp/smie.el: New file.
10600         * progmodes/prolog.el (prolog-smie-op-levels)
10601         (prolog-smie-indent-rules): New var.
10602         (prolog-mode-variables): Use them to configure SMIE.
10603         (prolog-indent-line, prolog-indent-level): Remove.
10605 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10607         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10608         order before computing the averages.
10610 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
10612         * calc/calc-vec.el (calc-histogram):
10613         (calcFunc-histogram): Allow vectors as inputs.
10614         (math-vector-avg): New function.
10616         * calc/calc-ext.el (math-group-float): Have the number of digits
10617         being grouped depend on the radix (Bug#6189).
10619 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
10621         * version.el (emacs-copyright, emacs-version): Don't define here,
10622         now that emacs.c defines it.
10624 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
10626         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10627         "Describe Language Environment" menu item.
10629         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10631         Bidi-sensitive movement with arrow keys.
10632         * subr.el (right-arrow-command, left-arrow-command): New functions.
10634         * bindings.el (global-map): Bind them to right and left arrow keys.
10636         Don't override standard definition of convert-standard-filename.
10637         * files.el (convert-standard-filename):
10638         Call w32-convert-standard-filename and dos-convert-standard-filename on
10639         the corresponding systems.
10641         * w32-fns.el (w32-convert-standard-filename): Rename from
10642         convert-standard-filename.  Doc fix.
10644         * dos-fns.el (dos-convert-standard-filename): Doc fix.
10645         (convert-standard-filename): Don't defalias.
10646         (register-name-alist, make-register, register-value)
10647         (set-register-value, intdos): Obsolete aliases for the
10648         corresponding dos-* functions and variables.
10649         (dos-intdos): Add a doc string.
10651 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
10653         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10654         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10655         (math-compose-tex-func):
10656         * calc/calccomp.el (math-compose-expr):
10657         * calc/calc-ext.el (math-format-flat-expr-fancy):
10658         * calc/calc-store.el (calc-read-var-name):
10659         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10661         * calc/calc.el (var-π, var-φ, var-γ): New variables.
10662         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10663         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10664         (math-standard-units): Add units.
10666 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10668         * progmodes/asm-mode.el (asm-mode):
10669         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10671         * pcomplete.el (pcomplete-completions-at-point): New function,
10672         extracted from pcomplete-std-complete.
10673         (pcomplete-std-complete): Use it.
10675 2010-05-15  Glenn Morris  <rgm@gnu.org>
10677         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10678         Remove references to CVS, RCS and Old directories.
10680 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
10682         * calc/calc-bin.el (math-format-twos-complement): Group digits when
10683         appropriate.
10685 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10687         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10688         (sh-mode-syntax-table): Give it a default value instead.
10689         (sh-header-marker): Make buffer-local.
10690         (sh-mode): Move make-local-variable to the corresponding setq.
10691         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10692         Use complete-with-action.
10694         * simple.el (prog-mode): New (abstract) major mode.
10695         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10696         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10698 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
10700         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10701         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10702         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10703         (sql-make-alternate-buffer-name, sql-placeholders-filter)
10704         (sql-escape-newlines-filter, sql-input-sender)
10705         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10707 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
10709         Add TeX open-block and close-block keybindings to SGML, and vice versa.
10711         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10712         latex-open-block and C-c / to latex-close-block.
10714         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10715         and C-c C-e to sgml-close-tag.
10717 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
10719         * net/tramp.el (with-progress-reporter): Create reporter object
10720         only when the message would be displayed.  Handle nested calls.
10721         (tramp-handle-load, tramp-handle-file-local-copy)
10722         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10723         (tramp-maybe-send-script, tramp-find-shell):
10724         Use `with-progress-reporter'.
10725         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10726         Fix message text.
10728         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10729         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10730         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10731         Use `with-progress-reporter'.
10733 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
10735         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10736         process everytime when spellchecking from the minibuffer (bug#6143).
10738 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10740         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10742         * dos-fns.el: Add "dos-" prefix for namespace control.
10743         (convert-standard-filename): Define as alias for
10744         dos-convert-standard-filename but only if applicable.
10746 2010-05-12  Alan Mackenzie  <acm@muc.de>
10748         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10749         Push the mark at the start of these functions when appropriate.
10751 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10753         * minibuffer.el (completion-cycle-threshold): New custom var.
10754         (completion--do-completion): Use it.
10755         (minibuffer-complete): Use cycling if appropriate.
10757 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
10759         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10760         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10762 2010-05-11  Juri Linkov  <juri@jurta.org>
10764         * scroll-all.el (scroll-all-check-to-scroll):
10765         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10767 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10769         * iimage.el (iimage-mode-map): Move initialization into declaration.
10770         (iimage-mode-buffer): Use with-silent-modifications.
10771         Simplify calling convention.  Adjust callers.
10772         (iimage-mode): Don't run hook redundantly.
10774         * minibuffer.el (completion-pcm--pattern->regex):
10775         Fix last change (bug#6160).
10777 2010-05-10  Juri Linkov  <juri@jurta.org>
10779         Remove nodes visited during Isearch from the Info history.
10780         * info.el (Info-isearch-initial-history)
10781         (Info-isearch-initial-history-list): New variables.
10782         (Info-isearch-start): Record initial values of
10783         Info-isearch-initial-history and Info-isearch-initial-history-list.
10784         Add Info-isearch-end to isearch-mode-end-hook.
10785         (Info-isearch-end): New function.
10787 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
10789         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10790         format string, in order to work around a bug in pdksh.
10791         Reported by Gilles Pion <gpion@lfdj.com>.
10792         (tramp-handle-verify-visited-file-modtime): Do not send a command
10793         when the connection is not established.
10794         (tramp-handle-set-file-times): Simplify the check for utc.
10796 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
10798         Fix use of `filter-buffer-substring' (rework previous change).
10799         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10800         (cua-repeat-replace-region):
10801         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10802         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10803         (cua-cut-region-to-global-mark): Use it.
10805 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
10807         * progmodes/sql.el: Version 2.1.
10808         (sql-product-alist): Redesign structure of product info.
10809         (sql-product, sql-user, sql-server, sql-database): Safe variables.
10810         (sql-port, sql-port-history): New variables.
10811         (sql-interactive-product): New variable.
10812         (sql-send-terminator): New variable.
10813         (sql-imenu-generic-expression): Add "Types" imenu entry.
10814         (sql-oracle-login-params, sql-sqlite-login-params)
10815         (sql-mysql-login-params, sql-solid-login-params)
10816         (sql-sybase-login-params, sql-informix-login-params)
10817         (sql-ingres-login-params, sql-ms-login-params)
10818         (sql-postgres-login-params, sql-interbase-login-params)
10819         (sql-db2-login-params, sql-linter-login-params)
10820         (sql-oracle-scan-on): New variables.
10821         (sql-mode-map): Add C-c C-i to start interactive mode.
10822         (sql-mode-menu): Update existing menu entries.
10823         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10824         (sql-mode-oracle-font-lock-keywords)
10825         (sql-mode-postgres-font-lock-keywords)
10826         (sql-mode-ms-font-lock-keywords)
10827         (sql-mode-sybase-font-lock-keywords)
10828         (sql-mode-informix-font-lock-keywords)
10829         (sql-mode-interbase-font-lock-keywords)
10830         (sql-mode-ingres-font-lock-keywords)
10831         (sql-mode-solid-font-lock-keywords)
10832         (sql-mode-mysql-font-lock-keywords)
10833         (sql-mode-sqlite-font-lock-keywords)
10834         (sql-mode-db2-font-lock-keywords)
10835         (sql-mode-linter-font-lock-keywords): Update initialization to
10836         reduce run-time complexity.
10837         (sql-add-product, sql-del-product): New functions.
10838         (sql-set-product-feature, sql-get-product-feature): New functions.
10839         (sql-product-font-lock): Update product API.
10840         (sql-add-product-keywords): New function.
10841         (sql-highlight-product): Update product API.
10842         (sql-help-list-products): New function.
10843         (sql-help): Dynamically lists free and non-free products.
10844         (sql-get-login): Correct bug in handling history and added
10845         prompt for port.
10846         (sql-copy-column): Copy without properties.
10847         (sqli-input-sender): Apply filters to SQLi input.
10848         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10849         Implement as a filter.
10850         (sql-escape-newlines-filter): Implement as a filter.
10851         (sql-remove-tabs-filter): New function.
10852         (sql-send-magic-terminator): New function.
10853         (sql-send-string): Implement magic terminator.
10854         (sql-send-region): Use `sql-send-string'.
10855         (sql-interactive-mode): Use product API.
10856         (sql-product-interactive): Use product API.
10857         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10858         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10859         (sql-db2, sql-linter): Use `sql-product-interactive'.
10860         (sql-connect): New function.
10861         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10862         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10863         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10864         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10865         Use `sql-connect'.
10867 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10869         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10870         New custom variable.
10871         (completion-pcm--string->pattern): Use it.
10872         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10873         Make it handle any symbol as `any'.
10874         (completion-pcm--merge-completions): Extract common suffix for the new
10875         `prefix' symbol as well.
10876         (completion-substring--all-completions): Use the new `prefix' symbol.
10878 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
10880         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10881         not bound.
10882         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10883         (tramp-compat-funcall): New defmacro.
10884         (tramp-compat-line-beginning-position)
10885         (tramp-compat-line-end-position)
10886         (tramp-compat-temporary-file-directory)
10887         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10888         (tramp-compat-copy-file, tramp-compat-copy-directory)
10889         (tramp-compat-delete-file, tramp-compat-delete-directory)
10890         (tramp-compat-number-sequence, tramp-compat-process-running-p)
10891         * net/tramp.el (top, with-progress-reporter)
10892         (tramp-rfn-eshadow-setup-minibuffer)
10893         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10894         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10895         (tramp-completion-mode-p, tramp-check-for-regexp)
10896         (tramp-open-connection-setup-interactive-shell)
10897         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10898         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10899         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10900         * net/tramp-cmds.el (tramp-cleanup-all-connections)
10901         (tramp-reporter-dump-variable, tramp-load-report-modules)
10902         (tramp-append-tramp-buffers)
10903         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10905         * net/tramp-imap.el (top): Autoload `epg-make-context'.
10907 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10909         * progmodes/compile.el (compilation-buffer-modtime): Rename from
10910         buffer-modtime.  Adjust users.
10912 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10914         * international/mule.el (auto-coding-alist): Only purecopy
10915         car of each item, not the whole list (Bug#6083).
10917 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10919         * progmodes/js.el (js-mode): Make paragraph variables local before
10920         calling c-setup-paragraph-variables (Bug#6071).
10922 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
10924         * composite.el (compose-region, reference-point-alist): Fix typos
10925         in the doc strings.
10927 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
10929         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10930         gnuplot's "set" command.
10932 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10934         * abbrev.el (last-abbrev-text): Doc fix.
10935         (abbrev-prefix-mark): Don't escape parenthesis.
10937 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
10939         * composite.el (find-composition): Doc fix.
10941 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10943         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10944         (sql-oracle-program, sql-sqlite-options)
10945         (sql-query-placeholders-and-send): Doc fixes.
10946         (sql-set-product, sql-interactive-mode): Reflow docstrings.
10947         (sql-imenu-generic-expression, sql-buffer)
10948         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10949         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10950         (sql-mode-sybase-font-lock-keywords)
10951         (sql-mode-informix-font-lock-keywords)
10952         (sql-mode-interbase-font-lock-keywords)
10953         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10954         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10955         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10956         (sql-product-feature, sql-highlight-product)
10957         (comint-line-beginning-position, sql-rename-buffer)
10958         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10959         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10960         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10961         Fix typos in docstrings.
10963 2010-05-08  Juri Linkov  <juri@jurta.org>
10965         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10966         property instead of `invisible' and `after-string' (bug#5998).
10968 2010-05-08  Juri Linkov  <juri@jurta.org>
10970         * image-mode.el (image-mode-as-text): Fix typo in docstring.
10972 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10974         * filecache.el (file-cache-add-directory-list)
10975         (file-cache-add-directory-recursively): Fix typos in docstrings.
10977 2010-05-08  Kenichi Handa  <handa@m17n.org>
10979         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10980         (gujarati-composable-pattern): Fix typo.
10982 2010-05-08  Kenichi Handa  <handa@m17n.org>
10984         * language/indian.el (oriya-composable-pattern)
10985         (tamil-composable-pattern, malayalam-composable-pattern):
10986         Add two-part vowels to "v" (vowel sign).
10988 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10990         * files.el (copy-directory): Handle symlinks (Bug#5982).
10992 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
10994         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10995         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
10996         (Bug#5846).
10998 2010-05-08  Glenn Morris  <rgm@gnu.org>
11000         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11002         * minibuffer.el (completion-at-point): Doc fix.
11004 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11006         * electric.el (Electric-command-loop): Minor tweak.
11008         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11009         better with dedicated windows.
11011 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
11013         * Version 23.2 released.
11015 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
11016             Stefan Monnier  <monnier@iro.umontreal.ca>
11018         Highlight vendor specific properties.
11019         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11020         (css-proprietary-property): New face.
11021         (css-font-lock-keywords): Use them.
11023 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
11025         * cus-start.el (all): Add native condition for tool-bar-* symbols.
11027 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11029         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11030         * files.el (auto-mode-alist): Remove redundant entries.
11032         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11033         * simple.el (auto-save-mode): Move from files.el.
11034         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11036 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
11038         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11040 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
11042         * mail/binhex.el (binhex-decode-region-internal)
11043         * mail/uudecode.el (uudecode-decode-region-internal)
11044         * net/dns.el (dns-read-string-name, dns-write, dns-read)
11045         (dns-read-type, dns-query)
11046         * pgg-parse.el (pgg-parse-armor)
11047         * pgg.el (pgg-verify-region)
11048         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11049         XEmacs.
11051         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11053 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
11055         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11057         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11058         * emulation/cua-base.el (cua-repeat-replace-region):
11059         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11060         (cua-cut-region-to-global-mark):
11061         Remove text properties with `set-text-properties'.
11063 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
11065         * net/tramp.el (top, with-progress-reporter):
11066         Use `symbol-function' inside `funcall'.
11068         * net/tramp-compat.el (tramp-compat-file-attributes)
11069         (tramp-compat-delete-file, tramp-compat-delete-directory):
11070         Handle only `wrong-number-of-arguments' error.
11072         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11073         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11074         inside `funcall'.
11076 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11078         * minibuffer.el (completion--sreverse, completion--common-suffix):
11079         New functions.
11080         (completion-pcm--merge-completions): Extract common suffix when safe.
11082         * emacs-lisp/easy-mmode.el (define-minor-mode):
11083         Make :variable more flexible.
11084         * files.el (auto-save-mode): Use it to define using define-minor-mode.
11086 2010-05-05  Juri Linkov  <juri@jurta.org>
11088         Add `slow' and `history' tags to the desktop data.
11090         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11091         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11092         (Info-finder-find-node): Require `finder.el' to be able
11093         to restore node from the desktop.
11094         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
11095         data `Info-history' and `slow' tag in the assoc list.
11096         (Info-restore-desktop-buffer): Don't restore nodes with the
11097         `slow' tag.  Restore `Info-history'.
11099 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
11101         Add FORCE argument to `delete-file'.
11103         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11104         forcing to delete the temporary file.
11105         (ange-ftp-delete-file): Add FORCE arg.
11106         (ange-ftp-rename-remote-to-remote)
11107         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11108         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11109         Force file deletion.
11111         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11113         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11114         (tramp-handle-make-symbolic-link, tramp-handle-load)
11115         (tramp-do-copy-or-rename-file-via-buffer)
11116         (tramp-do-copy-or-rename-file-directly)
11117         (tramp-do-copy-or-rename-file-out-of-band)
11118         (tramp-handle-process-file, tramp-handle-call-process-region)
11119         (tramp-handle-shell-command, tramp-handle-file-local-copy)
11120         (tramp-handle-insert-file-contents, tramp-handle-write-region)
11121         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11123         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11124         (tramp-fish-handle-make-symbolic-link)
11125         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11127         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11128         Use `tramp-compat-delete-file'.
11130         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11131         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11133         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11134         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11136         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11137         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11138         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11139         Use `tramp-compat-delete-file'.
11141 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11143         Minor cleanups.
11144         * subr.el (add-minor-mode): Use push.
11145         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11146         * emulation/edt.el (edt-select-mode): Simplify.
11148         Use define-minor-mode in more cases.
11149         * term/tvi970.el (tvi970-set-keypad-mode):
11150         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11151         (normal-erase-is-backspace-mode):
11152         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11153         (set-scroll-bar-mode-1): (Re)move to its sole caller.
11154         (get-scroll-bar-mode): New function.
11155         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11157         Use define-minor-mode for less obvious cases.
11158         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11159         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11160         * international/iso-ascii.el (iso-ascii-mode):
11161         * frame.el (auto-raise-mode, auto-lower-mode):
11162         * composite.el (global-auto-composition-mode): Use define-minor-mode.
11164 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
11166         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11167         in order to see error messages for failed logins.
11169 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
11171         * diff.el (diff-sentinel):
11173         * epg.el (epg--make-temp-file, epg-decrypt-string)
11174         (epg-verify-string, epg-sign-string, epg-encrypt-string):
11176         * jka-compr.el (jka-compr-partial-uncompress)
11177         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11179         * server.el (server-sentinel): Use delete-file's new FORCE arg
11180         (Bug#6070).
11182 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11184         Use define-minor-mode where applicable.
11185         * view.el (view-mode):
11186         * type-break.el (type-break-query-mode)
11187         (type-break-mode-line-message-mode):
11188         * textmodes/reftex.el (reftex-mode):
11189         * term/vt100.el (vt100-wide-mode):
11190         * tar-mode.el (tar-subfile-mode):
11191         * savehist.el (savehist-mode):
11192         * ibuf-ext.el (ibuffer-auto-mode):
11193         * composite.el (auto-composition-mode):
11194         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11195         Use define-minor-mode.
11196         (vhdl-mode): Use static mode-line format.
11197         (vhdl-mode-line-update): Delete.
11198         (vhdl-create-mode-menu, vhdl-activate-customizations)
11199         (vhdl-hs-minor-mode): Don't bother calling it.
11201 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11203         * simple.el (with-wrapper-hook): Move.
11204         (buffer-substring-filters): Mark obsolete.
11205         (filter-buffer-substring-functions): New variable.
11206         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
11208 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
11209             Michael Albinus  <michael.albinus@gmx.de>
11211         Implement compression for inline methods.
11213         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11214         (tramp-copy-size-limit): Allow also nil.
11215         (tramp-inline-compress-commands): New defconst.
11216         (tramp-find-inline-compress, tramp-get-inline-compress)
11217         (tramp-get-inline-coding): New defuns.
11218         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11219         replaced by `tramp-get-inline-coding'.
11220         (tramp-handle-file-local-copy, tramp-handle-write-region)
11221         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11223 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11225         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11226         Remove unused functions.
11228         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11229         Set find-tag-default-function as a variable rather than a property.
11231         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11232         * progmodes/etags.el (tags-completion-at-point-function):
11233         Remove left over interactive spec.  Add autoloading stub.
11234         (complete-tag): Use tags-completion-at-point-function.
11236 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
11238         * minibuffer.el (tags-completion-at-point-function): Fix return value.
11240 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11242         * ido.el (ido-init-completion-maps): Remove C-v binding.
11243         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11245 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11247         * minibuffer.el (tags-completion-at-point-function): New function.
11248         (completion-at-point-functions): Use it.
11250         * progmodes/etags.el (complete-tag): Revert last change.
11252 2010-04-29  Alan Mackenzie  <acm@muc.de>
11254         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11255         off-by-one error (in end of macro position).
11257 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11259         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11260         firefox is absent.  Don't autoload.
11261         (browse-url-galeon-program): Don't autoload.
11263 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11265         * bindings.el (complete-symbol): Move into minibuffer.el.
11267         * minibuffer.el (complete-tag): Move from etags.el.  If tags
11268         completion cannot be performed, return nil instead of signalling
11269         an error.
11270         (completion-at-point): Make it an alias for complete-symbol.
11271         (complete-symbol): Move from bindings.el, and replace with the
11272         body of completion-at-point.
11274         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11276 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
11278         * net/tramp.el (tramp-remote-selinux-p): New defun.
11279         (tramp-handle-file-selinux-context)
11280         (tramp-handle-set-file-selinux-context): Use it.
11282 2010-04-28  Sam Steingold  <sds@gnu.org>
11284         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11285         `safe-local-variable' if the value is a string or a symbol with
11286         the property `bug-reference-url-format'.
11288 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11290         * progmodes/bug-reference.el (bug-reference-url-format):
11291         Revert 2010-04-27 change due to security risk.
11293 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11295         Make it possible to locally disable a globally enabled mode.
11296         * simple.el (fundamental-mode): Run fundamental-mode-hook.
11297         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11298         rather than kill-all-local-variables so it runs fundamental-mode-hook.
11299         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11300         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11301         that subsequent hooks get a chance to disable it.
11303 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11305         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11306         Avoid re-enabling a minor mode after the user turned the minor mode
11307         off if MODE-enable-in-buffers is run twice (typically once from
11308         fundamental-mode's after-change-major-mode-hook and a second time from
11309         run-mode-hook's own after-change-major-mode-hook).
11311         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11313 2010-04-27  Sam Steingold  <sds@gnu.org>
11315         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11316         `safe-local-variable' if the value is a string or a function, as
11317         documented and implemented on 2010-04-02.
11319 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
11321         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11322         when method is 'kill.
11324 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
11326         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11327         condition in default directory check.
11328         (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11329         Kill ispell process when killing its associated buffer.
11331 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
11333         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11334         but we aren't using it.
11336 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
11338         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11339         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11341 2010-04-24  Glenn Morris  <rgm@gnu.org>
11343         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11344         Ignore VCS-ignore files, and deleted nextstep preferences files.
11345         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11346         (authors-ambiguous-files): New list.
11347         (authors-valid-file-names): Add some deleted files.
11348         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11349         (authors-disambiguate-file-name): New function.  (Bug#5501)
11350         (authors-canonical-file-name): Doc fix.
11351         Don't warn about obsolete files.
11352         (authors-canonical-file-name, authors-scan-el):
11353         Use authors-disambiguate-file-name.
11355         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11356         Add autoload cookies.
11357         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11358         (generated-autoload-file): Set file-local value to "htmlfontify.el".
11359         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11360         They have definitions / compiler macros in cl.el.
11361         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11362         Replace manual autoloads with generated ones.
11363         (htmlfontify-unload-rgb-file): Remove autoload.
11364         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11366 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11368         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11369         (byte-compile-setq-default): Optimize for the
11370         single-var case and don't call byte-compile-form in this case to avoid
11371         inf-loop with byte-compile-set-default.
11373         * progmodes/compile.el (compilation-start): Abbreviate default directory.
11375 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
11377         Implement SELINUX backends.
11379         * net/tramp.el (tramp-file-name-handler-alist):
11380         Add `file-selinux-context' and `set-file-selinux-context'.
11381         (tramp-handle-file-selinux-context)
11382         (tramp-handle-set-file-selinux-context): New defuns.
11383         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11384         Handle PRESERVE-SELINUX-CONTEXT.
11386         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11387         Add `file-selinux-context' and `set-file-selinux-context'.
11388         (tramp-gvfs-handle-file-selinux-context)
11389         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11390         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11392         * net/ange-ftp.el (ange-ftp-copy-file):
11393         * net/tramp-fish.el (tramp-fish-handle-copy-file):
11394         * net/tramp-imap.el (tramp-imap-handle-copy-file):
11395         * net/tramp-smb.el (tramp-smb-handle-copy-file):
11396         Add PRESERVE-SELINUX-CONTEXT.
11398 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11400         Synchronize with Tramp repository.
11402         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11403         (tramp-action-process-alive, tramp-action-out-of-band)
11404         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11405         (tramp-exists-file-name-handler): Fix docstring.
11406         (with-progress-reporter): New defmacro.
11407         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11408         (tramp-maybe-open-connection): Use it.
11410 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
11412         Detect ssh 'ControlMaster' argument automatically in some cases.
11414         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11415         (tramp-default-method): Use it.
11417 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11419         * net/tramp.el (tramp-handle-copy-file): Add new optional
11420         parameter `preserve-selinux-context'.
11421         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11423 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11425         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11426         Ensure, that non remote files are still checked.  Oops.
11428 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
11430         Fix Bug#5840.
11432         * icomplete.el (icomplete-completions): Use `non-essential'.
11434         * net/tramp.el (tramp-connectable-p): New defun.
11435         (tramp-handle-expand-file-name)
11436         (tramp-completion-handle-file-name-all-completions)
11437         (tramp-completion-handle-file-name-completion): Use it.
11439 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11441         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11443 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
11445         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11447         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11449         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11450         is present.
11452         * info.el (info-tool-bar-map): Add labels.
11454         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11456         * cus-edit.el (custom-commands): Add labels for tool bar.
11457         (custom-buffer-create-internal, Custom-mode): Adjust for
11458         labels in custom-commands.
11460         * dynamic-setting.el: Renamed from font-setting.el.
11462 2010-04-21  John Wiegley  <jwiegley@gmail.com>
11464         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11465         toggles the use of virtual buffers.
11466         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11467         (ido-toggle-virtual-buffers): New function.
11469 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
11471         Use `define-derived-mode'; fix window selection; doc fixes.
11472         * play/tetris.el (tetris, tetris-update-speed-function)
11473         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11474         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11475         (tetris-rotate-next, tetris-end-game, tetris-start-game)
11476         (tetris-pause-game): Fix typos in docstrings.
11477         (tetris-mode-map, tetris-null-map):
11478         Move initialization into declaration.
11479         (tetris-mode): Define with `define-derived-mode';
11480         set show-trailing-whitespace to nil.
11481         (tetris): Prefer window already displaying the "*Tetris*" buffer.
11483 2010-04-21  Karel Klíč  <kklic@redhat.com>
11485         * files.el (backup-buffer): Handle SELinux context, and return it
11486         if a backup was made by renaming.
11487         (backup-buffer-copy): Set SELinux context to the target file.
11488         (basic-save-buffer): Set SELinux context of the newly written file.
11489         (basic-save-buffer-1): Now it also returns any SELinux context.
11490         (basic-save-buffer-2): Set SELinux context of the newly created file,
11491         and return it.
11492         * net/tramp.el (tramp-file-name-for-operation):
11493         Add file-selinux-context.
11495 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11497         Make the log-edit comments use RFC822 format throughout.
11499         * vc.el (vc-checkin, vc-modify-change-comment):
11500         Adjust to new vc-start/finish-logentry.
11501         (vc-find-conflicted-file): New command.
11502         (vc-transfer-file): Adjust to new vc-checkin.
11503         (vc-next-action): Improve scoping.
11505         * vc-hg.el (vc-hg-log-edit-mode): Remove.
11506         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
11508         * vc-git.el (vc-git-log-edit-mode): Remove.
11509         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
11510         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11512         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11513         (vc-start-logentry): Remove argument `extra'.
11514         (vc-finish-logentry): Remove extra args.
11516         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11517         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
11518         (vc-bzr-conflicted-files): New function.
11520         * log-edit.el (log-edit-extra-flags)
11521         (log-edit-before-checkin-process): Remove.
11522         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11523         (log-edit-headers-alist): New var.
11524         (log-edit-header-contents-regexp): New const.
11525         (log-edit-match-to-eoh): New function.
11526         (log-edit-font-lock-keywords): Use them.
11527         (log-edit): Insert a "Summary:" header as default.
11528         (log-edit-mode): Mark font-lock rules as case-insensitive.
11529         (log-edit-done): Cleanup headers.
11530         (log-view-process-buffer): Remove.
11531         (log-edit-extract-headers): New function to replace it.
11533 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
11535         * subr.el (default-direction-reversed): Remove obsolescence info.
11537 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11539         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11540         windows/frames.
11542         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11543         I.e. include text after point in the completion region.
11544         Also, return nil when we're not after/in a symbol.
11546         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11547         default enable-multibyte-characters.
11549 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11551         * international/mule.el: Help the user choose a valid coding-system.
11552         (read-buffer-file-coding-system): New function.
11553         (set-buffer-file-coding-system): Use it.  Prompt the user if the
11554         coding-system cannot encode all the chars.
11556         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11557         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11558         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11559         Don't use *vc-bzr-shelve*.
11561 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
11563         Fix the version number for added files.
11564         * vc-hg.el (vc-hg-working-revision): Check if the file is
11565         registered after hg parent fails (Bug#5961).
11567 2010-04-19  Glenn Morris  <rgm@gnu.org>
11569         * htmlfontify.el (htmlfontify-buffer)
11570         (htmlfontify-copy-and-link-dir): Autoload entry points.
11572 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
11574         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11575         name relative to the project root (Bug#5960).
11577 2010-04-19  Glenn Morris  <rgm@gnu.org>
11579         * vc-git.el (vc-git-print-log): Doc fix.
11581 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
11583         * ido.el (ido-file-internal): Fix 2009-12-02 change.
11585 2010-04-19  Christoph Scholtes  <cschol2112@googlemail.com>
11587         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11588         default settings (Bug#5928).
11590 2010-04-19  Glenn Morris  <rgm@gnu.org>
11592         * progmodes/fortran.el (fortran-match-and-skip-declaration):
11593         New function.
11594         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
11596 2010-04-19  Kenichi Handa  <handa@m17n.org>
11598         * language/indian.el (malayalam-composable-pattern): Fix previous
11599         change (add U+0D4D "SIGN VIRAMA").
11600         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11601         (tamil-composable-pattern): Fix typo in the regexp.
11602         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11603         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11604         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11606 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11608         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11609         paragraph-separate (Bug#5821).
11611 2010-04-19  Juri Linkov  <juri@jurta.org>
11613         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11615         * info.el (Info-find-node-2): Comment out code that skips
11616         breadcrumbs line.
11617         (Info-mouse-follow-link): New command.
11618         (Info-link-keymap): New keymap.
11619         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11620         Return a string with links instead of inserting breadcrumbs
11621         to the Info buffer.
11622         (Info-fontify-node): Comment out code that inserts breadcrumbs.
11623         Instead of putting the `invisible' text property over the Info
11624         header, make an overlay over the Info header with the `invisible'
11625         property and `after-string' set to the string returned by
11626         `Info-breadcrumbs'.
11628 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11630         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11631         Reported by monkey@sandpframing.com.
11633 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11635         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11636         (tmm-get-keymap): Add key-binding shortcuts now that they're not
11637         available in the "keyseq cache" any more.
11639         * custom.el (defcustom): Add edebug spec.
11641 2010-04-18  Juri Linkov  <juri@jurta.org>
11643         Test for special mode-class in view-buffer instead of view-file (bug#5513).
11645         * view.el (view-file, view-buffer): Move test for special mode-class
11646         from view-file to view-buffer.
11648         * tar-mode.el (tar-extract): Turn if's into one cond
11649         like in arc-mode.el.
11651 2010-04-18  Juri Linkov  <juri@jurta.org>
11653         Add 7z archive format support (bug#5475).
11655         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11656         (archive-7z-extract): New defcustom.
11657         (archive-find-type): Add magic string for 7z.
11658         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11659         If `stderr-file' is non-nil, use `(t stderr-file)' for the
11660         `buffer' arg of `call-process'.
11661         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11662         call the function `archive-7z-extract' with the variable
11663         `archive-7z-extract' let-bound to `archive-zip-extract'.
11664         (archive-7z-summarize, archive-7z-extract): New functions.
11666         * international/mule.el (auto-coding-alist):
11667         * files.el (auto-mode-alist): Add 7z file extension.
11669 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11671         * loadup.el: Setup hash-cons for pure data.
11673         Fix duplicate entries in cedet's loaddefs.el files.
11674         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11675         Should make most file-local generated-autoload-file unnecessary.
11676         (print-readably): Silence warnings.
11677         (autoload-find-destination): Take load-name as an arg to make sure
11678         it's the same as the one that will be in the file.
11679         (autoload-generate-file-autoloads): Adjust to above changes.
11680         Try to make the dataflow a bit simpler.
11682         * cvs-status.el (cvs-refontify): Remove unused.
11684 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
11686         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11688         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11689         twos-complement mode.
11691 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
11693         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11694         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
11695         (calc-inverse): Add "Option" to message, as appropriate.
11696         (calc-hyperbolic): Add "Option" to message, as appropriate.
11697         (calc-option, calc-is-option): New functions.
11699         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11700         (calc-option-prefix-help): New function.
11702         * calc/calc-misc.el (calc-help): Add "Option" entry.
11704         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11705         (calc-option-flag): New variable.
11706         (calc-do): Set `calc-option-flag to nil.
11707         (calc-set-mode-line): Add "Opt " as appropriate.
11709 2010-04-16  Juri Linkov  <juri@jurta.org>
11711         Move scrolling commands from simple.el to window.el
11712         because their primitives are implemented in window.c.
11714         * simple.el (scroll-error-top-bottom)
11715         (scroll-up-command, scroll-down-command, scroll-up-line)
11716         (scroll-down-line, scroll-other-window-down)
11717         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11718         * window.el (scroll-error-top-bottom)
11719         (scroll-up-command, scroll-down-command, scroll-up-line)
11720         (scroll-down-line, scroll-other-window-down)
11721         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11722         Move from simple.el to window.el because their primitives are
11723         implemented in window.c.
11725 2010-04-16  Juri Linkov  <juri@jurta.org>
11727         * isearch.el (isearch-lookup-scroll-key): Check both
11728         `isearch-scroll' and `scroll-command' properties.
11729         (scroll-up, scroll-down): Remove `isearch-scroll' property.
11731         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11733         * simple.el (scroll-up-command, scroll-down-command)
11734         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11736 2010-04-15  Juri Linkov  <juri@jurta.org>
11738         * simple.el (scroll-up-command, scroll-down-command)
11739         (scroll-up-line, scroll-down-line): Put `scroll-command'
11740         property on the these symbols.  Remove them from
11741         `scroll-preserve-screen-position-commands'.
11743         * mwheel.el (mwheel-scroll): Put `scroll-command' and
11744         `isearch-scroll' properties on the `mwheel-scroll' symbol.
11745         Remove it from `scroll-preserve-screen-position-commands'.
11747         * isearch.el (isearch-allow-scroll): Doc fix.
11749 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
11751         * net/tramp.el (tramp-error-with-buffer): Don't show the
11752         connection buffer when we are in completion mode.
11753         (tramp-file-name-handler): Catch the error for some operations
11754         when we are in completion mode.  This gives the user the chance to
11755         correct the file name in the minibuffer.
11757 2010-04-15  Glenn Morris  <rgm@gnu.org>
11759         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11761 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
11763         Simplify by using `define-derived-mode'.
11764         * info.el (Info-mode):
11765         * calendar/todo-mode.el (todo-mode):
11766         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11767         (gomoku-mode-map): Move initialization into declaration.
11769 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
11771         Fix Bug#5840.
11772         * ido.el (ido-file-name-all-completions-1):
11773         * minibuffer.el (minibuffer-completion-help):
11774         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11776 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11778         * simple.el (non-essential): New var.
11780         Add a new field `location' to bookmarks for non-file bookmarks.
11781         * bookmark.el (bookmark-location): Use the new field, if present.
11782         (bookmark-insert-location): Undo last change, not needed any more.
11783         * man.el (Man-bookmark-make-record):
11784         * woman.el (woman-bookmark-make-record): Add `location' field.
11786 2010-04-14  Juri Linkov  <juri@jurta.org>
11788         * simple.el (scroll-error-top-bottom): New defcustom.
11789         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
11791         * emulation/pc-select.el (pc-select-override-scroll-error):
11792         Obsolete in favor of `scroll-error-top-bottom'.
11794 2010-04-14  Juri Linkov  <juri@jurta.org>
11796         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11797         `scroll-up-command' and `M-v' to `scroll-down-command'.
11799         * emulation/cua-rect.el (cua--init-rectangles):
11800         * forms.el (forms--change-commands):
11801         * image-mode.el (image-mode-map):
11802         Remap scroll-down-command and scroll-up-command
11803         in addition to scroll-down and scroll-up.
11805 2010-04-14  Juri Linkov  <juri@jurta.org>
11807         * mwheel.el (scroll-preserve-screen-position-commands):
11808         Add mwheel-scroll to this list of commands.
11810         * simple.el (scroll-preserve-screen-position-commands):
11811         Add scroll-up-command, scroll-down-command, scroll-up-line,
11812         scroll-down-line to this list of commands.
11814 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11816         * obsolete/complete.el: Move from lisp/complete.el.
11818         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11820         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11821         to the minor mode function now turns the mode ON unconditionally.
11823 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11825         * vc-dir.el (vc-dir-kill-line): New command.
11826         (vc-dir-mode-map): Bind it to C-k.
11828         * bookmark.el (bookmark-insert-location): Handle a nil filename.
11830         * woman.el: Add bookmark declarations to silence the compiler.
11831         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11832         step to compatibility between man and woman bookmarks.
11833         Adjust for Man-default-bookmark-title renaming.
11834         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
11836         * man.el: Add bookmark declarations to silence the compiler.
11837         (Man-name-local-regexp): Make it match NAME as well.
11838         (Man-getpage-in-background): Return the buffer.
11839         (Man-notify-when-ready): Use `case'.
11840         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11841         Don't hardcode "NAME".  Simplify.
11842         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11843         Rename from Man-bookmark-make-record.
11844         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
11845         we have the actual man-args.  Use Man-getpage-in-background rather
11846         than `man' since the arg is already processed.  Let bookmark.el do the
11847         window handling.  Only wait for the relevant process.
11848         Don't forget to autoload.
11850         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11852 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11854         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11855         New functions.
11856         (woman-mode): Setup bookmark support.
11858         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11859         (man-bookmark-jump): New functions.
11860         (Man-mode): Setup bookmark support.
11862 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
11864         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11865         recognize ssh-keygen prompt (Bug#2817).
11867 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11869         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11871 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11873         Synchronize with Tramp repository.
11875         * net/tramp.el (tramp-completion-function-alist)
11876         (tramp-file-name-regexp, tramp-chunksize)
11877         (tramp-local-coding-commands, tramp-remote-coding-commands):
11878         Fix docstring.
11879         (tramp-remote-process-environment): Use `format' instead of `concat'.
11880         (tramp-handle-directory-files-and-attributes)
11881         (tramp-get-remote-path): Use `copy-tree'.
11882         (tramp-handle-file-name-all-completions): Backward/ XEmacs
11883         compatibility: Use `completion-ignore-case' if
11884         `read-file-name-completion-ignore-case' does not exist.
11885         (tramp-do-copy-or-rename-file-directly): Do not use
11886         `tramp-handle-file-remote-p'.
11887         (tramp-do-copy-or-rename-file-out-of-band):
11888         Use `tramp-compat-delete-directory'.
11889         (tramp-do-copy-or-rename-file-out-of-band)
11890         (tramp-compute-multi-hops, tramp-maybe-open-connection):
11891         Use `format-spec-make'.
11892         (tramp-find-foreign-file-name-handler)
11893         (tramp-advice-make-auto-save-file-name)
11894         (tramp-set-auto-save-file-modes): Remove superfluous check for
11895         `stringp'.  This is done inside `tramp-tramp-file-p'.
11896         (tramp-debug-outline-regexp): New defconst.
11897         (tramp-get-debug-buffer): Use it.
11898         (tramp-check-for-regexp): Use (forward-line 1).
11899         (tramp-set-auto-save-file-modes): Adapt version check.
11901         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11902         Wrap call of `featurep' for 2nd argument.
11903         (tramp-compat-make-temp-file): Simplify fallback implementation.
11904         (tramp-compat-copy-tree): Remove function.
11905         (tramp-compat-delete-directory): Provide implementation for older
11906         Emacsen.
11908         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11909         Do not use `tramp-fish-handle-file-attributes.
11911         * net/trampver.el: Update release number.
11913 2010-04-10  Glenn Morris  <rgm@gnu.org>
11915         * progmodes/compile.el (compilation-save-buffers-predicate):
11916         Add missing :version tag.
11918 2010-04-09  Sam Steingold  <sds@gnu.org>
11920         * progmodes/compile.el (compilation-save-buffers-predicate):
11921         Remove the "autoload" cookie.
11923         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11924         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11925         and `bug-reference-prog-mode' can be used in hooks directly.
11927 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
11929         Add --author support to git commit.
11930         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11931         (vc-git-log-edit-mode): New minor mode.
11932         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11933         New declarations.
11935 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
11937         * vc-hooks.el, vc-git.el: Improve documentation comments.
11939 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11941         Fix some of the problems in defsubst* (bug#5728).
11942         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11943         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11945 2010-04-07  Sam Steingold  <sds@gnu.org>
11947         * progmodes/compile.el (compilation-save-buffers-predicate):
11948         New custom variable.
11949         (compile, recompile): Pass it to `save-some-buffers'.
11951 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
11953         * wid-edit.el (widget-choose): Move cursor to the second line of
11954         the buffer (Bug#5695).
11956 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11958         Add new VC methods: vc-log-incoming and vc-log-outgoing.
11959         * vc.el (vc-print-log-setup-buttons): New function split out from
11960         vc-print-log-internal.
11961         (vc-log-internal-common): New function, a parametrized version of
11962         vc-print-log-internal.
11963         (vc-print-log-internal): Just call vc-log-internal-common with the
11964         right arguments.
11965         (vc-incoming-outgoing-internal):
11966         (vc-log-incoming, vc-log-outgoing): New functions.
11967         (vc-log-view-type): New permanent local variable.
11969         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11971         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11972         of the dynamic bound vc-short-log.
11973         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11975         * vc-git.el (vc-git-log-outgoing): New function.
11976         (vc-git-log-view-mode): Use vc-log-view-type instead
11977         of the dynamic bound vc-short-log.
11979         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11980         of the dynamic bound vc-short-log.  Highlight the tag.
11981         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11982         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11983         (vc-hg-incoming-mode): Remove.
11984         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11986 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11988         Fix default-directory for vc-root-diff.
11989         * vc.el (vc-root-diff): Bind default-directory to the root
11990         directory for the diff command.
11992 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
11994         * progmodes/verilog-mode.el (verilog-forward-sexp):
11995         (verilog-calc-1): Support "disable fork" and "fork wait" multi
11996         word keywords, suggested by Steve Pearlmutter.
11997         (verilog-pretty-declarations): Support lineup of declarations in
11998         port lists.
11999         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12000         fix bug for /* / comments.
12001         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12002         Speed up and simplfy as this is never called with a bound.
12003         (verilog-pretty-declarations): Enhance to line up declarations
12004         inside a parameter list, suggested by Alan Morgan.
12005         (verilog-pretty-expr): Tune assignment regular expression match
12006         string for corner cases; also use markers instead of character
12007         number as indent changes the later.
12009 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
12011         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12012         as missing keyword.
12013         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12014         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
12015         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12016         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
12017         Tennant.
12018         (verilog-keywords):
12019         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12020         1800-2009 keywords, including "global.".
12022 2010-04-06  John Wiegley  <jwiegley@gmail.com>
12024         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12025         appearing in buffer list (if a live buffer name matched a recentf
12026         file basename).  Should use uniquify to offer a real solution.
12028 2010-04-06  John Wiegley  <jwiegley@gmail.com>
12030         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12031         comment to code, and add a :version tag.
12032         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12034 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
12036         Enable recentf-mode if using virtual buffers.
12037         * ido.el (recentf-list): Declare for byte-compiler.
12038         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
12039         (ido-make-buffer-list): Simplify.
12040         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
12042 2010-04-05  Juri Linkov  <juri@jurta.org>
12044         Scrolling commands which scroll a line instead of full screen.
12045         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12047         * simple.el (scroll-up-line, scroll-down-line): New commands.
12048         Put property isearch-scroll=t on them.
12050         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12051         Remove commands.
12053 2010-04-05  Juri Linkov  <juri@jurta.org>
12055         Scrolling commands which do not signal errors at top/bottom.
12056         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12058         * simple.el (scroll-up-command, scroll-down-command): New commands.
12059         Put property isearch-scroll=t on them.
12061         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12062         `scroll-down-command' and [next] from `scroll-up' to
12063         `scroll-up-command'.
12065         * emulation/cua-base.el: Put property CUA=move on
12066         `scroll-up-command' and `scroll-down-command'.
12067         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12068         and `scroll-down-command' to `cua-scroll-down'.
12070 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
12072         * help.el (describe-mode): Return nil.
12074 2010-04-04  John Wiegley  <jwiegley@gmail.com>
12076         * ido.el (ido-use-virtual-buffers): New variable to indicate
12077         whether "virtual buffer" support is enabled for IDO.
12078         (ido-virtual): Face used to indicate virtual buffers in the list.
12079         (ido-buffer-internal): If a buffer is chosen, and no such buffer
12080         exists, but a virtual buffer of that name does (which would be why
12081         it was in the list), recreate the buffer by reopening the file.
12082         (ido-make-buffer-list): If virtual buffers are being used, call
12083         `ido-add-virtual-buffers-to-list' before the make list hook.
12084         (ido-virtual-buffers): New variable which contains a copy of the
12085         current contents of the `recentf-list', albeit pared down for the
12086         sake of speed, and with proper faces applied.
12087         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12088         create a list of "virtual buffers" to present to the user in
12089         addition to the currently open set.  Note that this logic could
12090         get rather slow if that list is too large.  With the default
12091         `recentf-max-saved-items' of 200, there is little speed penalty.
12093 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12095         * font-lock.el: Require CL when compiling.
12096         (font-lock-turn-on-thing-lock): Use `case'.
12098 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
12100         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12101         Zaretskii.
12103 2010-04-02  Juri Linkov  <juri@jurta.org>
12105         * ehelp.el (electric-help-orig-major-mode):
12106         New buffer-local variable.
12107         (electric-help-mode): Set it to original major-mode.  Doc fix.
12108         (with-electric-help): Use `electric-help-orig-major-mode' instead
12109         of (default-value 'major-mode).  Doc fix.
12110         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12112 2010-04-02  Sam Steingold  <sds@gnu.org>
12114         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12115         `vc-hg-command' with a list of flags.
12117         * progmodes/bug-reference.el (bug-reference-bug-regexp):
12118         Also accept "patch" and "RFE".
12119         (bug-reference-fontify): `bug-reference-url-format' can also be a
12120         function to be able to handle the bug kind.
12121         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12123 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
12125         * tmm.el (tmm-get-keymap): Check with symbolp before passing
12126         value to fboundp, it may not be a symbol.
12128 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12130         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12132 2010-03-31  Juri Linkov  <juri@jurta.org>
12134         * simple.el (next-line, previous-line): Re-throw a signal
12135         with `signal' instead of using `ding'.
12136         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12138 2010-03-31  Juri Linkov  <juri@jurta.org>
12140         * simple.el (keyboard-escape-quit): Raise deselecting the active
12141         region higher than exiting the minibuffer.
12142         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12144 2010-03-31  Juri Linkov  <juri@jurta.org>
12146         * image.el (image-animated-p): Use `image-metadata' instead of
12147         `image-extension-data'.  Get GIF extenstion data from metadata
12148         property `extension-data'.
12150 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12152         * simple.el (append-to-buffer): Simplify.
12154 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
12156         * textmodes/artist.el (artist-mode): Fix typo in docstring.
12157         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
12159 2010-03-31  Kenichi Handa  <handa@m17n.org>
12161         * language/sinhala.el (composition-function-table): Fix regexp for
12162         the new Unicode specification.
12164         * language/indian.el (devanagari-composable-pattern)
12165         (tamil-composable-pattern, kannada-composable-pattern)
12166         (malayalam-composable-pattern): Adjust for the new Unicode
12167         specification.
12168         (bengali-composable-pattern, gurmukhi-composable-pattern)
12169         (gujarati-composable-pattern, oriya-composable-pattern)
12170         (telugu-composable-pattern): New variables to cope with the new
12171         Unicode specification.  Use them in composition-function-table.
12173 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12175         Make tmm-menubar work for the Buffers menu again (bug#5726).
12176         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12177         vectors rather than cons cells, as used in menu-bar-update-buffers.
12179 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12181         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12182         (js-insert-and-indent): Revert 2009-08-15 change, restoring
12183         electric punctuation for "{}();,:" (Bug#5586).
12185         * mail/sendmail.el (mail-default-directory): Doc fix.
12187 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12189         * mail/sendmail.el (mail-default-directory): Doc fix.
12191 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
12193         * subr.el (version-regexp-alist, version-to-list)
12194         (version-list-<, version-list-=, version-list-<=)
12195         (version-list-not-zero, version<, version<=, version=): Doc fix.
12196         (Bug#5744).
12198 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
12200         * vc.el (vc-root-diff): Doc fix.
12202 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12204         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12206         * simple.el (append-to-buffer): Fix last change.
12208 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12210         * simple.el (append-to-buffer): Ensure that point is preserved if
12211         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
12212         (Bug#5749)
12214 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12216         * files.el (auto-mode-case-fold): Change default to t.
12218 2010-03-30  Juri Linkov  <juri@jurta.org>
12220         * dired-x.el (dired-omit-mode): Doc fix.
12222 2010-03-30  Juri Linkov  <juri@jurta.org>
12224         * replace.el (occur-accumulate-lines): Move occur-engine related
12225         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12226         to be located after `occur-engine'.
12228 2010-03-30  Juri Linkov  <juri@jurta.org>
12230         Make occur handle multi-line matches cleanly with context.
12231         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12233         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12234         (occur-engine): Add local variables `ret', `prev-after-lines',
12235         `prev-lines'.  Use more arguments for `occur-context-lines'.
12236         Set first elem of its returned list to `data', and the second elem
12237         to `prev-after-lines'.  Don't print the separator line.
12238         In the end, print remaining context after-lines.
12239         (occur-context-lines): Add new arguments `begpt', `endpt',
12240         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
12241         after-lines of the previous match with before-lines of the
12242         current match and not overlap them.  Return a list with two
12243         values: the output line and the list of context after-lines.
12245 2010-03-30  Juri Linkov  <juri@jurta.org>
12247         * replace.el (occur-accumulate-lines): Fix a bug where the first
12248         context line at the beginning of the buffer was missing.
12250 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
12252         * files.el: Make bidi-display-reordering safe variable for boolean
12253         values.
12255 2010-03-29  Phil Hagelberg  <phil@evri.com>
12256             Chong Yidong  <cyd@stupidchicken.com>
12258         * subr.el: Extend progress reporters to perform "spinning".
12259         (progress-reporter-update, progress-reporter-do-update):
12260         Handle non-numeric value arguments.
12261         (progress-reporter--pulse-characters): New var.
12263 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
12265         * progmodes/compile.el (compilation-start): Fix regexp detection
12266         of initial cd command (Bug#5771).
12268 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
12270         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12272 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
12274         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12275         * progmodes/gdb-mi.el: Restore.
12276         * progmodes/gdb-ui.el: Remove.
12277         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12279 2010-03-25  Glenn Morris  <rgm@gnu.org>
12281         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12282         all dired buffers, even tramp ones.  (Bug#5755)
12284 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12286         Add "union tags" in mpc.el.
12287         * mpc.el: Remove backward compatibility code.
12288         (mpc-browser-tags): Change default.
12289         (mpc--find-memoize-union-tags): New var.
12290         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12291         (mpc-cmd-find): Handle the case where the playlist does not exist.
12292         Handle union-tags.
12293         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
12294         (mpc-cmd-add): Use mpc-cmd-flush.
12295         (mpc-tagbrowser-tag-name): New fun.
12296         (mpc-tagbrowser-buf): Use it.
12297         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
12299 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12301         Misc cleanup.
12302         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12303         Use replace-regexp-in-string.
12304         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12305         (makefile-imake-mode-syntax-table): Move init into defvar.
12306         (makefile-mode): Use define-derived-mode.
12308         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12309         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12310         not be present any more.
12312 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12314         * faces.el (set-face-attribute): Fix typo in docstring.
12315         (face-valid-attribute-values): Reflow docstring.
12317 2010-03-24  Glenn Morris  <rgm@gnu.org>
12319         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12321 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12323         * indent.el (indent-for-tab-command): Doc fix.
12325 2010-03-24  Alan Mackenzie  <acm@muc.de>
12327         * progmodes/cc-engine.el (c-remove-stale-state-cache):
12328         Fix off-by-one error.  Fixes bug #5747.
12330 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12332         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12333         (image-dired-read-comment): Doc fix.
12335         * json.el (json-object-type, json-array-type, json-key-type)
12336         (json-false, json-null, json-read-number):
12337         * minibuffer.el (completion-in-region-functions):
12338         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12339         (cal-tex-cursor-week):
12340         * emacs-lisp/trace.el (trace-function):
12341         * eshell/em-basic.el (eshell/printnl):
12342         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12343         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12344         * obsolete/levents.el (allocate-event, event-key, event-object)
12345         (event-point, event-process, event-timestamp, event-to-character)
12346         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12347         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12348         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12349         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12350         (reftex-highlight-selection): Fix typos in docstrings.
12352 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12354         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12356 2010-03-24  Glenn Morris  <rgm@gnu.org>
12358         * mail/rmail.el (rmail-highlight-face): Restore option deleted
12359         2008-02-13 without comment; mark it obsolete.
12360         (rmail-highlight-headers): Use rmail-highlight-face once more.
12362 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12364         * woman.el (woman2-process-escapes): Only consume the newline if
12365         the filler character is on a line by itself (Bug#5729).
12367 2010-03-24  Kenichi Handa  <handa@m17n.org>
12369         * language/indian.el (devanagari-composable-pattern): Add more
12370         consonants.
12372 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12374         * net/trampver.el: Update release number.
12376 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12378         * net/tramp.el (tramp-find-executable):
12379         Use `tramp-get-connection-buffer'.  Make the regexp for checking
12380         output of "wc -l" more robust.
12381         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12382         (tramp-open-connection-setup-interactive-shell): Remove workaround
12383         for OpenSolaris bug, it is not needed anymore.
12385 2010-03-24  Glenn Morris  <rgm@gnu.org>
12387         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
12389 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
12391         * files.el (auto-mode-alist): Accept more verilog file patterns.
12393 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12395         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12397 2010-03-24  Glenn Morris  <rgm@gnu.org>
12399         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12400         log-edit-before-checkin-process.
12402         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12404         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12406         * vc-dispatcher.el (vc-start-logentry): Doc fix.
12407         (log-view-process-buffer, log-edit-extra-flags): Declare.
12409         * log-edit.el (log-edit-before-checkin-process): Doc fix.
12411 2010-03-23  Sam Steingold  <sds@gnu.org>
12413         Fix bug#5620: recalculate all markers on compilation buffer
12414         modifications, not on file modifications.
12415         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12416         variable: the buffer modification time, for buffers not associated with
12417         files.
12418         (compilation-mode): Create it.
12419         (compilation-filter): Update it.
12420         (compilation-next-error-function): Use it instead of
12421         `visited-file-modtime' for timestamp.
12423 2010-03-23  Juri Linkov  <juri@jurta.org>
12425         Implement Occur multi-line matches.
12426         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12428         * replace.el (occur): Doc fix.
12429         (occur-engine): Set `begpt' to the beginning of the first line.
12430         Set `endpt' to the end of the last match line.  At first, count
12431         line numbers between `origpt' and `begpt'.  Split out code from
12432         `out-line' variable to new let-bindings `match-prefix' and
12433         `match-str'.  In `out-line' add non-numeric prefix to all
12434         non-first lines of multi-line matches.  Finally, count lines
12435         between `begpt' and `endpt' and add to `lines'.
12437 2010-03-23  Juri Linkov  <juri@jurta.org>
12439         * replace.el (occur-accumulate-lines, occur-engine):
12440         Use `occur-engine-line' instead of duplicate code.
12441         (occur-engine-line): New function created from duplicate code
12442         in `occur-accumulate-lines' and `occur-engine'.
12444         * replace.el (occur-engine-line): Add optional arg `keep-props'.
12445         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12447 2010-03-23  Juri Linkov  <juri@jurta.org>
12449         * finder.el: Remove TODO tasks.
12451         * info.el (Info-finder-find-node): Add node "all"
12452         with all package info.  Handle a list of multiple keywords
12453         separated by comma.
12454         (info-finder): In interactive use with a prefix argument,
12455         use `completing-read-multiple' to read a list of keywords
12456         separated by comma.
12458 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12460         Add a new completion style `substring'.
12461         * minibuffer.el (completion-basic--pattern): New function.
12462         (completion-basic-try-completion, completion-basic-all-completions):
12463         Use it.
12464         (completion-substring--all-completions)
12465         (completion-substring-try-completion)
12466         (completion-substring-all-completions): New functions.
12467         (completion-styles-alist): New style `substring'.
12469 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12471         Get rid of .elc files after removal of the corresponding .el.
12472         * Makefile.in (compile-clean): New target.
12473         (compile-main): Use it.
12475 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
12477         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12478         don't do make there.  When compiling with separate object dir, there
12479         is no Makefile there.
12481 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12483         Get rid of the ELCFILES abomination, again.
12484         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12485         (all, compile): Don't call compile-last.
12486         (compile-main): Build the "elcfiles" list dynamically.
12487         (compile-targets): New (internal) target.
12489 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12491         * Makefile.in (top_srcdir): Define.
12492         (abs_top_builddir): Define.
12493         (srcdir): Don't append `/..'.
12494         (EMACS): Use ${abs_top_builddir}.
12495         (all, compile, compile-always, compile-last): Don't set emacswd.
12496         (update-subdirs, update-authors): Use $(top_srcdir) instead of
12497         $(srcdir).
12498         (lisp): Use $(srcdir) instead of @srcdir@.
12500 2010-03-21  Juri Linkov  <juri@jurta.org>
12502         Fix message of multi-line occur regexps and multi-buffer header lines.
12503         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12505         * replace.el (occur-1): Don't display regexp if it is longer
12506         than window-width.  Use `query-replace-descr' to display regexp.
12507         (occur-engine): Don't display regexp in the buffer header for
12508         multi-buffer occur.  Display a separate header line with total
12509         match count and regexp for multi-buffer occur.
12510         Use `query-replace-descr' to display regexp.
12512 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
12514         * net/secrets.el: Fix parenthesis.
12515         (secrets-enabled): Fix parenthesis.
12517 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12519         Use more relative file and directory names.
12520         * Makefile.in (EMACS): Arrange for it to work when we chdir.
12521         (setwins, setwins_almost, setwins_for_subdirs):
12522         Don't `cd'; output relative names.
12523         (all, compile, compile-always, compile-last): Set emacswd.
12524         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12525         Just cd to the lisp source dir so we can use relative file names.
12527         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12529 2010-03-20  Glenn Morris  <rgm@gnu.org>
12531         * textmodes/rst.el: Use faces for font-lock customization, and make the
12532         old -face variables obsolete.
12533         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12534         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12535         (rst-block-face, rst-external-face, rst-definition-face)
12536         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12537         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12538         Make obsolete.
12539         (rst-font-lock-keywords-function): Update for above changes.
12541 2010-03-20  Juri Linkov  <juri@jurta.org>
12543         * s-region.el:
12544         * obsolete/s-region.el: Move to obsolete.
12546 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
12548         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12550 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12552         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12554 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12556         Add special markup processing for commit logs.
12557         * log-edit.el (log-edit-extra-flags): New variable.
12558         (log-edit): Add new argument MODE.  Use that mode when non-nil
12559         instead of the log-view-mode.
12560         (log-view-process-buffer): New function.
12562         * vc.el: Document that the checkin method takes optional
12563         arguments.  Document new backend specific method: log-view-mode.
12564         (vc-default-log-edit-mode): New function.
12565         (vc-checkin): Use a backend specific log-view-mode.
12566         Pass extra arguments to the checkin method.
12567         (vc-modify-change-comment): Pass a dummy extra argument.
12569         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12570         log-edit.
12571         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12572         (vc-finish-logentry): Process the log buffer before passing it
12573         down.  Pass log-edit-extra-flags.
12575         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12576         command.
12577         (log-edit-extra-flags, log-edit-before-checkin-process):
12578         New declarations.
12580         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12581         command.
12582         (log-edit-extra-flags, log-edit-before-checkin-process):
12583         New declarations.
12584         (vc-hg-log-edit-mode): New derived mode.
12586         * vc-arch.el (vc-arch-checkin):
12587         * vc-cvs.el (vc-cvs-checkin):
12588         * vc-git.el (vc-git-checkin):
12589         * vc-mtn.el (vc-mtn-checkin):
12590         * vc-rcs.el (vc-rcs-checkin):
12591         * vc-sccs.el (vc-sccs-checkin):
12592         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12594 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12596         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12597         parent typo).
12599 2010-03-19  Glenn Morris  <rgm@gnu.org>
12601         * password-cache.el (password-cache, password-cache-expiry): Autoload.
12603 2010-03-18  Glenn Morris  <rgm@gnu.org>
12605         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12607         * replace.el (query-replace-history): Give it a doc string.
12608         (map-query-replace-regexp): Use query-replace-from-history-variable
12609         and query-replace-to-history-variable.
12611         * mail/hashcash.el (declare-function): Remove duplicate definition.
12613         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12614         Make it an obsolete alias for report-emacs-bug-address.
12615         (message-strip-special-text-properties): Declare.
12616         (report-emacs-bug): Remove test for a pretest bug address.
12617         Combine message-mode-specific code.
12619         * mail/supercite.el: Don't require sendmail.
12620         (mh-in-header-p): Declare rather than using with-no-warnings.
12621         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12622         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
12624         * calendar/cal-french.el: Convert to utf-8.
12626         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12627         Emacs scripts.
12629 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
12631         * net/secrets.el (secrets-enabled): New variable.  Use it instead
12632         of a subfeature.
12634 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
12636         * net/secrets.el (top): Register the D-Bus signals only when the
12637         service "org.freedesktop.secrets" can be pinged.
12638         Provide subfeature `enabled'.
12640 2010-03-14  Juri Linkov  <juri@jurta.org>
12642         Add finder unknown keywords.
12644         * finder.el (finder-unknown-keywords): New function.
12646         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12647         to create a Finder node with unknown keywords.
12649 2010-03-14  Juri Linkov  <juri@jurta.org>
12651         * finder.el (finder-compile-keywords): Replace `princ' with
12652         `prin1' on a list of symbols interned from keyword strings.
12654         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12655         a comma, then split keywords using a comma and optional whitespace.
12656         Otherwise, split by whitespace.
12658         * complete.el:
12659         * face-remap.el:
12660         * log-view.el:
12661         * net/hmac-def.el:
12662         * net/hmac-md5.el:
12663         * net/netrc.el:
12664         * progmodes/mixal-mode.el: Fix keywords.
12666 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
12668         * Makefile.in (ELCFILES): Add net/secrets.elc.
12670         * net/secrets.el: New file.
12672 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12674         * facemenu.el (list-colors-display, list-colors-print): New arg
12675         callback.  Use it to allow selecting colors.
12677         * wid-edit.el (widget-image-insert): Insert image prop even if the
12678         current display is non-graphic.
12679         (widget-field-value-set): New fun.
12680         (editable-field): Use it.
12681         (widget-field-value-get): Clean up unused var.
12682         (widget-color-value-create, widget-color--choose-action):
12683         New funs.  Allow using list-colors-display to choose color.
12685 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12687         * cus-edit.el: Resort topmost custom groups.
12688         (custom-buffer-sort-alphabetically): Default to t.
12689         (customize-apropos): Use apropos-parse-pattern.
12690         (custom-search-field): New var.
12691         (custom-buffer-create-internal): Add custom-apropos search field.
12692         (custom-add-parent-links): Don't display parent doc.
12693         (custom-group-value-create): Don't sort top-level custom group.
12694         (custom-magic-value-create): Show visibility button before option name.
12696         (custom-variable-state): New fun, from custom-variable-state-set.
12697         (custom-variable-state-set): Use it.
12698         (custom-group-value-create): Hide options with standard values
12699         using the :hidden-states property.  Use progress reporter.
12701         (custom-show): Simplify.
12702         (custom-visibility): Disable images by default.
12703         (custom-variable): New property :hidden-states.
12704         (custom-variable-value-create): Enable images for
12705         custom-visibility widgets.  Use :hidden-states property to
12706         determine initial visibility.
12708         * wid-edit.el (widget-image-find): Give images center ascent.
12709         (visibility): Add :on-image and :off-image properties.
12710         (widget-visibility-value-create): Use them.
12712 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12714         * cus-edit.el (processes): Remove from development group.
12715         (oop, hypermedia): Delete group.
12716         (comm): Promote to top-level group.
12718         * net/browse-url.el (browse-url):
12719         * net/xesam.el (xesam):
12720         * net/tramp.el (tramp):
12721         * net/goto-addr.el (goto-address):
12722         * net/ange-ftp.el (ange-ftp): Put in comm group.
12724         * view.el (view): Remove from editing group.
12726         * uniquify.el (uniquify): Put in files group.
12728         * net/browse-url.el (browse-url):
12729         * ps-print.el (postscript): Put in external group.
12731         * cus-edit.el (outlines):
12732         * textmodes/text-mode.el (text-mode-hook):
12733         * textmodes/table.el (table):
12734         * textmodes/picture.el (picture):
12735         * outline.el (outlines): Put in wp group.
12737         * nxml/nxml-mode.el (nxml): Remove from wp group.
12739         * net/tramp-imap.el (tramp-imap): Put in tramp group.
12741         * mail/metamail.el (metamail): Remove from hypermedia group.
12743         * cus-edit.el (abbrev):
12744         * whitespace.el (whitespace):
12745         * vcursor.el (vcursor):
12746         * reveal.el (reveal):
12747         * hl-line.el (hl-line): Put in convenience group.
12749         * epg-config.el (epg): Put in data group.
12751         * emulation/pc-select.el (pc-select): Put in emulations group.
12753         * calculator.el (calculator): Put in applications group.
12755 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12757         Add .dir-locals.el support for file-less buffers.
12758         * files.el (hack-local-variables): Split out code to apply local
12759         variable settings ...
12760         (hack-local-variables-apply): ... here.  New function.
12761         (hack-dir-local-variables): Use the default directory for when the
12762         buffer does not have an associated file.
12763         (hack-dir-local-variables-non-file-buffer): New function.
12764         * diff-mode.el (diff-mode):
12765         * vc-annotate.el (vc-annotate-mode):
12766         * vc-dir.el (vc-dir-mode):
12767         * log-edit.el (log-edit-mode):
12768         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12770 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12772         Add support for shelving snapshots and for showing shelves.
12773         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12774         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12775         New functions.
12776         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12777         (vc-bzr-extra-menu-map): Map them.
12779 2010-03-11  Glenn Morris  <rgm@gnu.org>
12781         * cus-edit.el (customize-changed-options-previous-release):
12782         Bump to 23.1.
12784         * image.el (image-animate-max-time): Fix :version tag.
12786 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
12788         * Branch for 23.2.
12790 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12792         * vc-git.el (vc-git-revision-table): Include remote branches.
12794 2010-03-10  Kim F. Storm  <storm@cua.dk>
12796         Animated image API.
12797         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12799         * image.el (image-animate-max-time): New defcustom.
12800         (image-animated-types): New defconst.
12801         (create-animated-image, image-animate-timer)
12802         (image-animate-start, image-animate-stop, image-animate-timeout)
12803         (image-animated-p): New functions.
12805         * image-mode.el (image-toggle-display-image):
12806         Replace `create-image' with `create-animated-image'.
12808 2010-03-09  Miles Bader  <miles@gnu.org>
12810         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12811         instead of "format:"; this ensures that the output is
12812         newline-terminated.
12814 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
12816         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12817         that all errors are caught, and that the return value is always a
12818         list (Bug#5692).
12820 2010-03-08  Kenichi Handa  <handa@m17n.org>
12822         * language/misc-lang.el (windows-1256): New coding system.
12823         (cp1256): New alias of windows-1256 (bug#5690).
12825 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
12827         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12828         call to rfc822-bad-address.  (Bug#5692)
12830 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12832         * vc-git.el (vc-git-annotate-extract-revision-at-line):
12833         Use vc-git-root as default directory for revision path (Bug#5657).
12835 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
12837         * calculator.el (calculator): Don't bind split-window-keep-point
12838         (Bug#5674).
12840 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12842         * vc-git.el: Re-flow to fit into 80 columns.
12843         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12844         Remove spurious `quote' element in each case alternative.
12845         (vc-git-show-log-entry): Use prog1.
12846         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12848 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12850         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12852 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
12854         * macros.el (insert-kbd-macro): Look up keyboard macro using the
12855         definition, not the name (Bug#5481).
12857 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12859         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12860         argument with a local variable.  (Bug#5670)
12862 2010-03-02  Juri Linkov  <juri@jurta.org>
12864         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
12866 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
12868         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12869         error when FILENAME and NEWNAME are existing remote directories.
12871         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12872         parameter DIR-FLAG.
12874 2010-03-02  Glenn Morris  <rgm@gnu.org>
12876         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12877         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12879 2010-03-01  Kenichi Handa  <handa@m17n.org>
12881         * language/burmese.el (burmese-composable-pattern): Rename from
12882         myanmar-composable-pattern.
12884         * international/characters.el (script-list):
12885         * international/fontset.el (script-representative-chars):
12886         Change myanmar to burmese.
12887         (otf-script-alist): Likewise.
12888         (setup-default-fontset): Likewise.  Re-fix :otf spec.
12890 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
12892         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12894 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
12896         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12898 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12900         * net/tramp.el (tramp-handle-write-region): START can be a string.
12901         Take care in the checks.  Reported by Dan Davison
12902         <davison@stats.ox.ac.uk>.
12904 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12906         * net/dbus.el (dbus-introspect, dbus-get-property)
12907         (dbus-set-property, dbus-get-all-properties):
12908         Use `dbus-call-method' when noninteractive.  (Bug#5645)
12910 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
12912         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12913         * emacs-lisp/elint.el (elint-add-required-env):
12914         * calendar/icalendar.el (icalendar--add-diary-entry):
12915         * calc/calcalg2.el (math-tracing-integral):
12916         * files.el (recover-session-finish): Use with-current-buffer
12917         instead of save-excursion.
12919 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12921         Fix in-buffer completion when after-change-functions modify the buffer.
12922         * minibuffer.el (completion--replace): New function.
12923         (completion--do-completion): Use it and use relative movement.
12925 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
12927         * international/fontset.el (setup-default-fontset): Fix :otf spec.
12929 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
12931         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12932         Allow the characters _<> in the stack entry (Bug#5653).
12934 2010-02-26  Kenichi Handa  <handa@m17n.org>
12936         * language/burmese.el: Fix entries in composition-function-table.
12937         (myanmar-composable-pattern): New variable.
12939         * international/fontset.el (setup-default-fontset): Add an entry
12940         for myanmar.
12942         * international/characters.el (script-list): Add Myanmar
12943         Extended-A.
12945 2010-02-26  Glenn Morris  <rgm@gnu.org>
12947         * custom.el (custom-initialize-delay): Doc fix.
12949         * mail/sendmail.el (send-mail-function): Autoload the call
12950         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12952 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
12954         * files.el (hack-local-variables-filter): For eval forms, also
12955         check safe-local-variable-p (Bug#5636).
12957 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
12959         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12960         setting the modes by `ignore-errors'.  It might fail, for example
12961         if the file is not owned by the user but the group.
12962         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12964 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
12966         * files.el (directory-listing-before-filename-regexp):
12967         Use stricter matching for iso-style dates, to avoid false matches with
12968         date-like filenames (Bug#5597).
12970         * htmlfontify.el (htmlfontify): Doc fix.
12972         * eshell/eshell.el (eshell): Doc fix.
12974         * startup.el (fancy-about-screen): In mode-line, apply
12975         mode-line-buffer-id face only to the buffer name (Bug#5613).
12977 2010-02-20  Kevin Ryde  <user42@zip.com.au>
12979         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12980         In `watcom' anchor regexp to start of line, to avoid slowness
12981         (Bug#5599).
12983 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
12985         * subr.el (remove-yank-excluded-properties): Explain in a comment
12986         why `category' property is removed.
12988 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
12990         * isearch.el (isearch-update-post-hook, isearch-update):
12991         Revert 2010-02-17 change.
12993 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
12995         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12996         (icalendar--convert-weekly-to-ical)
12997         (icalendar--convert-yearly-to-ical)
12998         (icalendar--convert-block-to-ical)
12999         (icalendar--convert-cyclic-to-ical)
13000         (icalendar--convert-anniversary-to-ical): Take care of time
13001         specifications where hour has 1-digit only (Bug#5549).
13003 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
13005         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13006         of disassemble output in GDB 7.1.
13008 2010-02-19  Glenn Morris  <rgm@gnu.org>
13010         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13011         property.  (Bug#5593)
13013 2010-02-18  Sam Steingold  <sds@gnu.org>
13015         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13017 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13019         Use abbreviated file names in bookmarks (bug#5591).
13020         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13021         calls to expand-file-name.
13022         (bookmark-relocate): Use abbreviated file names in bookmarks.
13023         (bookmark-load): Use abbreviated file names in messages.
13025 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
13027         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13028         expand "." and "..".  Reported by Thierry Volpiatto
13029         <thierry.volpiatto@gmail.com>.
13031 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
13033         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13034         permissions of the temporary file to "0600".  In case the remote
13035         file has no read permissions for the owner, there might be
13036         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
13038 22010-02-18  Glenn Morris  <rgm@gnu.org>
13040         * emacs-lisp/authors.el (authors-renamed-files-alist):
13041         Add entries for INSTALL.CVS.
13043 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
13045         * vc-bzr.el: Fix typo in Known Bugs section.
13047         * isearch.el (isearch-update-post-hook): New hook.
13048         (isearch-update): Use the new hook.
13050 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
13052         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13053         Fix errors in copying directories.
13054         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13055         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13056         (tramp-handle-delete-file)
13057         (tramp-handle-dired-recursive-delete-directory)
13058         (tramp-handle-write-region): Flush also the cache for the upper
13059         directory.
13061 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
13063         * simple.el (save-interprogram-paste-before-kill): Doc fix.
13065         * cus-edit.el (hardware): Doc fix.
13067         * man.el (man): Add to external custom group.
13069         * delim-col.el (columns): Move to wp custom group.
13071         * doc-view.el (doc-view): Add to data custom group.
13073         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13075         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13076         by ispell-parse-output (Bug#5575).
13078 2010-02-16  Kenichi Handa  <handa@m17n.org>
13080         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13081         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13082         (skkdic-convert): Use `euc-japan' coding system for writing.
13084 2010-02-16  Glenn Morris  <rgm@gnu.org>
13086         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13087         tex-main-file before using it.  (Bug#5562)
13089 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13091         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13092         warnings, since it is annoying for the user to see them each time he
13093         runs the code.
13095 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
13097         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13098         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13099         instead of PROC for caching "first-password-request".  Otherwise,
13100         new processes would not profit from passwords already entered.
13102         * net/tramp-cache.el (tramp-dump-connection-properties):
13103         Don't save "first-password-request" property.
13105 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
13107         * outline.el (outline-head-from-level):
13108         * simple.el (with-wrapper-hook):
13109         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13110         (elint-defun, elint-buffer-env, elint-top-form-logged)
13111         (elint-unbound-variable):
13112         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13113         Fix typos in docstrings.
13115 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
13117         * files.el (insert-directory): When WILDCARD-REGEXP and
13118         FULL-DIRECTORY-P are nil, insert the file entry instead of the
13119         whole directory.  (Bug#5551)
13121         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
13122         dired's alignment sanity.  (Bug#5516)
13124 2010-02-14  Juri Linkov  <juri@jurta.org>
13126         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13127         Remove remaining ^H with their preceding chars.  (Bug#5566)
13129 2010-02-13  Glenn Morris  <rgm@gnu.org>
13131         * simple.el (transpose-subr): Give it a doc-string.
13133         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13134         Doc fixes.
13136 2010-02-12  Juri Linkov  <juri@jurta.org>
13138         * arc-mode.el (archive-unique-fname): Make directories for nested
13139         archives.  (Bug#5540)
13141 2010-02-12  Juri Linkov  <juri@jurta.org>
13143         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
13145 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13147         * subr.el (copy-overlay): Handle deleted overlays.
13149         * man.el (Man-completion-table): Don't signal an error if we can't run
13150         manual-program (bug#4056).
13152 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
13154         * textmodes/artist.el (artist-mt): Fix typos in docstring.
13156 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13158         * info.el (Info-bookmark-jump): Simplify.
13160         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13161         (bookmark-default-handler): Accept new bookmark field `buffer'.
13163 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
13165         * iswitchb.el (iswitchb-completions): Revert last change.
13167 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
13169         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13170         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13171         This prevents file names like "~/" being listed literally.
13173 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
13175         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13176         Remove dead code.  (Bug#5546)
13178 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
13180         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13181         correctly (Bug#5548).
13183 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
13185         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13186         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13188 2010-02-08  Kenichi Handa  <handa@m17n.org>
13190         * international/mule-util.el (with-coding-priority): Add autoload
13191         cookie for putting `lisp-indent-function'.
13193 2010-02-07  Glenn Morris  <rgm@gnu.org>
13195         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13196         Move F2003 named interfaces from keywords-2 to keywords-1, and
13197         use function-name-face rather than constant-face.
13198         Simplify "abstract interface" regexp.
13200 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
13202         * eshell/esh-util.el (eshell-file-attributes): New optional arg
13203         ID-FORMAT.  Pass it to `file-attributes'.
13205         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13207 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
13209         * faces.el (set-face-attribute): Allow calling
13210         internal-set-lisp-face-attribute with 'unspecified family and
13211         foundry argument (Bug#5536).
13213 2010-02-07  Glenn Morris  <rgm@gnu.org>
13215         * progmodes/f90.el (f90-font-lock-keywords-2)
13216         (f90-looking-at-type-like, f90-looking-at-program-block-end):
13217         Handle F2003 named interfaces.
13219 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
13221         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13222         beg and end before calling c-get-state-before-change-functions.
13224 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
13226         * vc-bzr.el (vc-bzr-dir-extra-headers):
13227         Disable the pending merges header.
13229 2010-02-05  Juri Linkov  <juri@jurta.org>
13231         * doc-view.el (doc-view-mode):
13232         * image-mode.el (image-mode): Put property mode-class=special.
13233         (Bug#4896)
13235 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
13237         * vc-svn.el (vc-svn-revision-table): New function.
13239 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
13241         * net/ange-ftp.el (ange-ftp-insert-directory):
13242         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13243         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13244         Handle also directories.  (Bug#5478)
13246 2010-02-05  Glenn Morris  <rgm@gnu.org>
13248         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13250 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
13252         * startup.el (command-line-1): Convert options beginning with a
13253         single dash as well (Bug#5519).
13255 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13257         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13258         * minibuffer.el (completion-initials-expand): Only check the presence
13259         of delims *within* the boundaries, since otherwise the / delim is
13260         always found for files.
13262         Fix up various corner case problems.
13263         * doc-view.el (doc-view-last-page-number): New function.
13264         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13265         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13266         (doc-view-kill-proc): Avoid inf-loop in freak cases.
13267         (doc-view-reconvert-doc): Use the new recursive delete-directory.
13268         (doc-view-convert-current-doc): Don't create the resolution.el file
13269         here any more.
13270         (doc-view-pdf/ps->png): Do it here instead.
13271         (doc-view-already-converted-p): Check that resolution.el is present.
13272         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13273         windows that are not yet showing images.
13275 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
13277         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13278         `dired-uncache' for every elemnt which is an absolute file name.
13280         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13281         directory, handle its directory component.
13282         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13283         function is called permanently and creates noise, otherwise.
13285         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13286         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13287         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
13289 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
13291         * macros.el (apply-macro-to-region-lines):
13292         Minor simplification.  (Bug#5485)
13294 2010-02-04  Glenn Morris  <rgm@gnu.org>
13296         * mail/rmail.el (rmail-show-message-1): Handle malformed
13297         quoted-printable text.  (Bug#5441)
13299         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13301         * simple.el (visual-line-mode): Capitalize lighter.
13303 2010-02-03  John Wiegley  <jwiegley@gmail.com>
13305         * iswitchb.el (iswitchb-completions): Add bookmark files to the
13306         list of files considered for "virtual buffer" completions.
13308 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
13310         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13311         also in case of (and (not full) (not wildcard)).  This is needed
13312         when dired is called with a list of files, which are not in
13313         `default-directory'.  (Bug#5478)
13315 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13317         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13319 2010-02-02  Juri Linkov  <juri@jurta.org>
13321         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13322         from unidiff to allow function-line after @@.
13324 2010-02-02  Juri Linkov  <juri@jurta.org>
13326         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13327         '(RCS SCCS) with inverted condition.
13329 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
13331         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13332         messages.
13334 2010-02-01  Juri Linkov  <juri@jurta.org>
13336         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13337         compare with "pkunzip" and "pkzip" instead of only "pkzip".
13338         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13339         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
13341 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13343         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13344         (doc-view-revert-buffer): New command.
13345         (doc-view-mode-map): Use it.
13347 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
13349         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13350         pending merge is detected.
13352 2010-01-31  Juri Linkov  <juri@jurta.org>
13354         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13355         beginning of interactive spec like all other grep commands do.
13356         Put "all" in front of "gz".  (Bug#5260)
13358 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
13360         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13362 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
13364         * dirtrack.el (dirtrack): Warn instead of signalling error if the
13365         regexp is incorrect (Bug#5476).
13367 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
13369         * net/tramp.el (tramp-handle-insert-directory): Handle also
13370         symlinks, when FILENAME is not in `default-directory'.
13372 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13374         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13375         FILE is not in `default-directory'.  (Bug#5478)
13377         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13378         of SWITCHES.  Handle the case, FILENAME is not in
13379         `default-directory'.  (Bug#5478)
13380         (tramp-register-file-name-handlers): Add safe-magic property.
13382 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
13384         * arc-mode.el (archive-zip-extract): Quote the argument passed to
13385         unzip (Bug#5475).
13387 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
13389         * progmodes/flymake.el (flymake-allowed-file-name-masks)
13390         (flymake-master-make-header-init): Add other C++ filename masks.
13391         (flymake-find-possible-master-files)
13392         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13394 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13396         Fix some busybox annoyances.
13398         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13399         not responding." string.
13400         (tramp-open-connection-setup-interactive-shell): Dump stty
13401         settings.  Enable "neveropen" arg for all `tramp-send-command'
13402         calls.  Handle "=" in variable values properly.
13403         (tramp-find-inline-encoding): Raise an error, when no encoding is
13404         found.
13405         (tramp-wait-for-output): Check, whether PROC buffer is available.
13406         Remove spurious " ^H" sequences, sent by busybox.
13407         (tramp-get-ls-command): Suppress coloring, if possible.
13409 2010-01-28  Glenn Morris  <rgm@gnu.org>
13411         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
13413         * log-edit.el (log-edit-strip-single-file-name): Add missing
13414         :safe, :group, and :version tags.
13416 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
13418         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13419         buffers.  (Bug#5477)
13421 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
13423         * files.el (delete-directory): Handle moving to trash without
13424         first doing recursion (Bug#5436).
13426 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
13428         * vc-hooks.el (vc-path): Mark as obsolete.
13430 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
13432         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13433         names too.
13435         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13436         for the short log.
13437         (vc-bzr-log-view-mode): Adjust regexp for the above change.
13439 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
13441         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13443         * vc-bzr.el (vc-bzr-revision-table): New function.
13445 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
13447         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13448         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
13450 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
13452         Remove support for adding --signoff on commit.
13453         Future support will use an incompatible generic mechanism.
13454         * vc-git.el (vc-git-add-signoff): Remove variable.
13455         (vc-git-toggle-signoff): Remove function.
13456         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13458         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13459         Rename from xterm-set-background-mode.  Return t if the background mode
13460         was set.
13461         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13462         earlier, call it again in case the background mode has changed.
13464 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
13466         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13467         (Bug#3541).
13469 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
13471         * emacs-lisp/assoc.el (aelement): Doc fix.
13472         (aput, adelete, amake): Use lexical-let (Bug#5450).
13474 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
13476         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13477         is the same as subprogram call, not declaration.  (Bug#5435).
13479 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
13481         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13482         (tramp-smb-maybe-open-connection): Use it.
13484 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
13486         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
13488 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13490         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13491         just because we see "encoding: 8bit".
13492         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13494 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
13496         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13498 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
13500         * jka-compr.el (jka-compr-load): If load-file is not in
13501         load-history, try its file-truename version.  (bug#5447)
13503 2010-01-21  Alan Mackenzie  <acm@muc.de>
13505         Fix a situation where deletion of a cpp construct throws an error.
13506         * progmodes/cc-engine.el (c-invalidate-state-cache):
13507         Before invoking c-with-all-but-one-cpps-commented-out, check that the
13508         special cpp construct is still in the buffer.
13509         (c-parse-state): Record the special cpp with markers, not numbers.
13511 2010-01-21  Kenichi Handa  <handa@m17n.org>
13513         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13514         process last-command-event, as it is now decoded first (Bug#5380).
13516 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
13518         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13520 2010-01-20  Glenn Morris  <rgm@gnu.org>
13522         * indent.el (tab-always-indent): Fix custom-type.
13524 2010-01-19  Alan Mackenzie  <acm@muc.de>
13526         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13527         buffer throws "args out of range".
13528         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13529         playing the role of delimiter.
13531 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
13533         * progmodes/ada-mode.el: Fix bug#5400.
13534         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13535         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13536         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
13537         Improve comments in "is" portion.  Handle null procedure declaration.
13538         (ada-move-to-end): Improve doc string.
13540 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
13542         * ido.el (ido-cur-list): Initialize to nil.
13543         Remove obsolete information from commentary.
13544         (ido-choice-list): Initialize to nil.
13545         (ido-get-bufname): Reject minibuffers.
13546         (ido-make-buffer-list): If "default" is a nonexistent
13547         buffer, ignore it, as per the function's comment.
13548         (ido-kill-buffer-internal): New function.
13549         (ido-kill-buffer-at-head): Use it.
13550         (ido-visit-buffer): Likewise.
13552 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
13554         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13556 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
13558         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13559         Fix typos in chart titles.
13561         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13562         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13563         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13564         (describe-class, eieio-describe-generic, describe-generic):
13565         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13566         (eieio-speedbar-expand):
13567         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13568         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13569         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13570         (viper-del-backward-char-in-replace, viper-backward-indent)
13571         (viper-brac-function, viper-register-to-point, viper-submit-report):
13572         * net/tramp.el (tramp-remote-coding-commands):
13573         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13574         Fix typos in docstrings.
13576 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
13578         * mail/sendmail.el (mail-yank-original): Set the mark if the
13579         specified function for yanking does not do it.
13581 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
13583         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
13585         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13586         resyncing a directory.
13588 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
13590         * progmodes/ada-mode.el: Fix bug#1920.
13591         (ada-ident-re): Delete ., allow multibyte characters.
13592         (ada-goto-label-re): New; matches goto labels.
13593         (ada-block-label-re): New; matches block labels.
13594         (ada-label-re): New; matches both.
13595         (ada-named-block-re): Delete; callers changed to use
13596         `ada-block-label-re' instead.
13597         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13598         Use `ada-block-label-re'.
13599         (ada-indent-on-previous-lines): Improve handling of goto labels.
13600         (ada-get-indent-block-start): Special-case block label.
13601         (ada-get-indent-label): Split into `ada-indent-block-label' and
13602         `ada-indent-goto-label'.
13603         (ada-goto-stmt-start, ada-goto-next-non-ws):
13604         Optionally ignore goto labels.
13605         (ada-goto-next-word): Simplify.
13606         (ada-indent-newline-indent-conditional): Insert newline before
13607         trying to fix indentation; doc fix.
13609 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
13611         * calc/calc.el (calc-command-flags): Give it an initial value.
13613 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
13615         * files.el (minibuffer-with-setup-hook):
13616         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13617         (artist-key-draw-continously, artist-key-do-continously-continously)
13618         (artist-key-set-point-continously, artist-mouse-draw-continously):
13619         Fix typos in docstrings.
13621 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
13623         * nxml/nxml-mode.el (nxml-extend-after-change-region):
13624         Never return t (Bug#3898).
13626 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
13628         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13629         can parse the output of the external commands (Bug#5279).
13631 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
13633         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13635 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
13637         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13639         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13641         * startup.el (command-line): Remove unused --icon-type arg.
13642         Handle --display arg, passing it to command-line-1 (Bug#5392).
13644 2010-01-16  Mario Lang  <mlang@delysid.org>
13646         * emacs-lisp/chart.el (chart-translate-namezone):
13647         * textmodes/artist.el (artist-compute-popup-menu-table):
13648         Remove duplicated words in doc-strings.
13650 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
13652         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13653         to mairix-search to suppress threading (Bug#5342).
13655 2010-01-15  Kenichi Handa  <handa@m17n.org>
13657         * international/mule-cmds.el (canonicalize-coding-system-name):
13658         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13660 2010-01-15  Glenn Morris  <rgm@gnu.org>
13662         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
13664         * wid-edit.el (widget-keymap): Doc fix.
13666         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13667         former seems to be more widely accepted by various svn versions.
13669 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13671         * find-cmd.el (find-constituents):
13672         * vc-arch.el (vc-arch-root):
13673         * window.el (window-body-height, pop-up-frames):
13674         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13675         * progmodes/ada-stmt.el (ada-if):
13676         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13677         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13678         (ispell-encoding8-command, ispell-aspell-supports-utf8)
13679         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13681         * progmodes/flymake.el (flymake-post-syntax-check):
13682         Fix typo in error message.
13684 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13686         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13687         which is always a string.  (Bug#5313)
13689 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13691         * progmodes/ada-xref.el (ada-default-prj-properties):
13692         Simplify previous change.
13694 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13696         * progmodes/ada-xref.el (ada-default-prj-properties):
13697         Default ada_project_path to $ADA_PROJECT_PATH.
13699 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13701         * progmodes/ada-mode.el (ada-create-keymap):
13702         Override `narrow-to-defun' with `ada-narrow-to-defun'.
13704 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13706         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13707         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13708         (ada-get-current-indent, ada-imenu-generic-expression)
13709         (ada-which-function): Check for it.
13711 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13713         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13714         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13716 2010-01-14  Glenn Morris  <rgm@gnu.org>
13718         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
13720 2010-01-14  Kenichi Handa  <handa@m17n.org>
13722         * composite.el (auto-composition-mode): Make it a buffer local
13723         variable (permanent-local).
13724         (auto-composition-function): Set the default value to
13725         auto-compose-chars.
13726         (auto-composition-mode): Make it a simple function, not a minor mode.
13727         (global-auto-composition-mode): Likewise.
13728         (turn-on-auto-composition-if-enabled): Delete it.
13730 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
13732         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13734 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
13736         * files.el (copy-directory): Compute target for recursive
13737         directories with identical names.  (Bug#5343)
13739 2010-01-12  Glenn Morris  <rgm@gnu.org>
13741         * mail/emacsbug.el (report-emacs-bug-pretest-address):
13742         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13744 2010-01-11  Sam Steingold  <sds@gnu.org>
13746         * imenu.el (imenu-default-create-index-function): Detect infinite
13747         loops caused by imenu-prev-index-position-function.
13749 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13751         * htmlfontify.el (htmlfontify-load-rgb-file)
13752         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13753         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13754         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13755         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13756         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13757         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13758         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13759         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13760         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13761         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13762         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13763         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13764         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13765         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13766         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13767         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13768         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13769         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13770         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13771         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13772         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13773         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13774         backslash-quoting from parentheses, etc.
13776 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
13778         * progmodes/js.el: Autoload javascript-mode alias.
13780 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13782         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13783         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13784         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13785         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13786         Fix typos in docstrings.
13787         (ffap-url-regexp): Doc fix.
13788         (ffap-at-mouse): Fix typo in message.
13790 2010-01-11  Glenn Morris  <rgm@gnu.org>
13792         * version.el (emacs-copyright): Set copyright year to 2010.
13794 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13796         * format.el (format-annotate-function): Only set
13797         write-region-post-annotation-function after running to-fn so as not to
13798         affect nested write-region calls (bug#5273).
13800 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
13802         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13803         wisent/python.el.
13805 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13807         * man.el (Man-goto-section): Signal error if the section is not
13808         found (Bug#5317).
13810 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
13812         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13813         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
13815 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13817         * progmodes/compile.el: Don't treat compile-command as safe if
13818         compilation-read-command might be nil (Bug#4218).
13820 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
13822         * startup.el (command-line-1): Use orig-argi to check for ignored X and
13823         NS options.
13825 2010-01-08  Kenichi Handa  <handa@m17n.org>
13827         * international/fontset.el (build-default-fontset-data):
13828         Exclude characters in scripts kana, hangul, han, or cjk-misc.
13830 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
13832         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13833         to `create-file-buffer' as it expects, not just a buffer name.
13834         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13835         to help uniquify.  (Bug#3224)
13837 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
13839         * font-setting.el (font-setting-change-default-font): Use user-spec
13840         instead of name.
13842 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
13844         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13846 2010-01-05  Tom Tromey  <tromey@redhat.com>
13848         * progmodes/python.el (python-font-lock-keywords):
13849         Handle qualified decorators (Bug#881).
13851 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13853         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13854         in a lightweight checkout.
13856 2010-01-05  Kenichi Handa  <handa@m17n.org>
13858         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13860 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13862         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13864 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
13866         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13867         checkouts.  (Bug#618)
13868         (vc-bzr-log-view-mode): Also highlight the author.
13869         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13870         (vc-bzr-shelve-menu-map):
13871         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13872         (vc-bzr-shelve-apply): Make prompt more explicit.
13874 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
13876         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13877         They are valid characters in URL paths (rfc3986), and at least
13878         Firefox does not understand the encoded version (Bug#3166).
13880 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
13882         * progmodes/octave-mod.el (octave-end-keywords)
13883         (octave-block-begin-or-end-regexp, octave-block-match-alist):
13884         Add "end" keyword (Bug#3061).
13885         (octave-end-as-array-index-p): New function.
13886         (calculate-octave-indent): Use it.
13888 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13890         * bookmark.el: Consistently put the text property on the bookmark name.
13891         (bookmark-bmenu-marks-width): Bump back to 2, to include
13892         annotation marks.
13893         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13894         property on the bookmark name, instead of not putting it at all.
13895         (bookmark-bmenu-list): Fix where we put the text property.
13897 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13899         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13900         for showing buffer modified state (as added in the previous change).
13902 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13904         * bookmark.el: Show modified state of bookmark buffer more accurately.
13905         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13906         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13907         (with-buffer-modified-unmodified): New macro.
13908         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13909         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13910         Use new macro to preserve the buffer modified state.
13912 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13914         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13915         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13916         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13917         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13918         (bookmark-bmenu-rename, bookmark-bmenu-locate)
13919         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13920         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13922 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13924         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13925         Make the lines in the generated doc string shorter.  (Bug#4668)
13927 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
13929         * net/rcirc.el: Add follow-link binding (Bug#4738).
13931 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13933         * Makefile.in (bzr-update): Rename from cvs-update.
13934         (cvs-update): New target for backward compatibility.
13936         * makefile.w32-in (bzr-update): Rename from cvs-update.
13937         (cvs-update): New target for backward compatibility.
13939 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13941         * bookmark.el: Remove gratuitous gratitude.
13943 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13945         * bookmark.el (bookmark-bmenu-any-marks): New function.
13946         (bookmark-bmenu-save): Clear buffer modification if no marks.
13948 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13950         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13951         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13952         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13953         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13955         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13956         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13957         To: emacs-devel {_AT_} gnu.org
13958         Subject: bookmark.el bug report
13959         Date: Mon, 28 Dec 2009 14:19:16 +0800
13960         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13962 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13964         * bookmark.el: Improvements suggested by Drew Adams:
13965         (bookmark-bmenu-ensure-position): New name for
13966         `bookmark-bmenu-check-position'.  Just ensure the position,
13967         don't return any meaningful value.
13968         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13969         New constants.
13971 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
13973         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13974         (bookmark-yank-point, bookmark-bmenu-check-position):
13975         Fix typos in docstrings.
13976         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13977         (bookmark-name-from-full-record, bookmark-get-position)
13978         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13979         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13980         Remove useless quoting of parenthesis, etc. in docstrings.
13982         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13983         (ediff-append-custom-diff): Fix typo in error message.
13984         (ediff-meta-mark-equal-files): Fix typos in messages.
13986         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13988         * net/imap-hash.el (imap-hash-make): Doc fix.
13989         (imap-hash-test): Fix typo in error message; reflow docstring.
13990         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13991         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13992         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13993         Fix typos in docstrings.
13994         (imap-hash-open-connection): Fix typo in error message.
13996         * play/gomoku.el (gomoku): Fix typos in docstring.
13998         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13999         (gdb-jsonify-buffer): Fix typos in docstring.
14000         (gdb-goto-breakpoint): Fix typo in error message.
14001         ("Display Other Windows"): Fix typo in help message.
14002         (gdb-speedbar-expand-node): Fix typo in question.
14004         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14005         (idlwave-html-system-help-location, idlwave-html-help-location)
14006         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14007         (idlwave-help-browser-generic-args, idlwave-help-directory)
14008         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14009         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14010         (idlwave-online-help, idlwave-help-html-link)
14011         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14012         Fix typos in docstrings.
14013         (idlwave-help-with-source, idlwave-help-find-routine-definition):
14014         Reflow docstrings.
14015         (idlwave-help-assistant-start): Fix typo in error message.
14017         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14018         (octave-electric-space): Fix typos in docstrings.
14020 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
14022         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14024 2010-01-01  Juri Linkov  <juri@jurta.org>
14026         * comint.el (comint-input-ring-size): Make it a defcustom and
14027         increase the default to 500 (Bug#5148).
14029 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
14031         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14032         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14033         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14035 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
14037         Show working revision correctly for mercurial.
14038         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14039         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14041 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
14043         Declare some functions for the byte-compiler.
14044         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14045         (speedbar-timer-fn, speedbar-change-expand-button-char)
14046         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14048 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
14050         This changeset reverts GDB Graphical Interface to use annotations.
14051         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14053 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
14055         Make vc-dir work on subdirectories of the bzr root.
14056         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14057         Return file names relative to it.
14058         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14059         relative directory to vc-bzr-after-dir-status.
14061 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
14063         * font-lock.el (font-lock-refresh-defaults): New function, which
14064         can be used to let font-lock react to external changes in
14065         variables like font-lock-defaults and keywords.
14066         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14068 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
14070         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14072         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14074 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
14076         Supersede color.diff settings in git log (bug#5211).
14078         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14079         escape chars in its output when the user has color.diff set to `always'.
14080         This fix works on git 1.4.2 and newer (released on 2006-08-13).
14082 2009-12-26  Kevin Ryde  <user42@zip.com.au>
14084         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14085         node.  Keep previous "Index" name to work with past coreutils too.
14087         * man.el (man): Revise docstring a bit to show -a and -l as
14088         examples.  Add -k description since support for it has otherwise
14089         been a secret.  (Further to bug#3717.)
14090         (Man-bgproc-sentinel): When "-k foo" produces no output show error
14091         "no matches" rather than "Can't find manpage", as the latter reads
14092         like -k was interpreted as a page name, which is not so.  (Bug#5431)
14094 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
14096         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14097         switches.  Check also for //SUBDIRED// line.
14099 2009-12-25  Kenichi Handa  <handa@m17n.org>
14101         * language/indian.el (devanagari-composable-pattern): Fix to
14102         handle ZWNJ and ZWJ.  Use it in composition-function-table for
14103         Devanagari.
14104         (malayalam-composable-pattern): Fix previous change.
14106 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14108         * ps-print.el (ps-face-attributes): It was not returning the
14109         attribute face for faces specified as string.  Reported by harven
14110         <harven@free.fr>.  (Bug#5254)
14111         (ps-print-version): New version 7.3.5.
14113 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
14115         * calendar/icalendar.el (icalendar--convert-tz-offset):
14116         Fix timezone names.
14117         (icalendar--convert-tz-offset): Fix the "last-day-problem".
14118         (icalendar--add-diary-entry): Remove the trailing blank that
14119         diary-make-entry inserts.
14121 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
14123         Make `file-expand-wildcards' work for remote files.
14125         * files.el (file-expand-wildcards): In case of remote files, check
14126         only local file name part for wildcards.  Provide feature 'files
14127         and subfeature 'remote-wildcards.  (Bug#5198)
14129         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14130         if there is already an established connection.
14131         (tramp-advice-file-expand-wildcards): Remove it.
14133         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14134         (tramp-advice-file-expand-wildcards): Move from tramp.el.
14135         Activate advice for older GNU Emacs versions.  (Bug#5237)
14137 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
14139         Some doc fixes (more needed).
14141         * find-cmd.el (find-constituents): Reflow docstring.
14142         (find-cmd, find-prune, find-command): Fix typos in docstrings.
14143         (find-generic): Doc fix.
14145 2009-12-17  Juri Linkov  <juri@jurta.org>
14147         Fix regression from 23.1 to allow multiple modes in Local Variables.
14149         * files.el (hack-local-variables-filter): While ignoring duplicates,
14150         don't take `mode' into account.
14151         (hack-local-variables-filter, hack-dir-local-variables):
14152         Don't remove duplicate `mode' from local-variables-alist (like `eval').
14154 2009-12-17  Juri Linkov  <juri@jurta.org>
14156         Make `dired-diff' safer.  (Bug#5225)
14158         * dired-aux.el (dired-diff): Signal an error when `file' equals to
14159         `current' or when `file' is a directory of the `current' file.
14161 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
14163         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14164         unconditionally preloaded files.
14166 2009-12-16  Juri Linkov  <juri@jurta.org>
14168         Revert to old 23.1 logic of using the file at the mark as default.
14169         * dired-aux.el (dired-diff): Use the file at the mark as default
14170         if it's not the same as the current file, and the target dir is
14171         the current dir or the mark is active.  Add the current file
14172         as the arg of `dired-dwim-target-defaults'.  Use the default file
14173         in the prompt.  (Bug#5225)
14175 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
14177         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14178         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14179         (tramp-check-for-regexp): Check also, when an echoing shell stops
14180         to echo sent commands.
14182 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14184         * Makefile.in: Revert last change (Bug#5191).
14186 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
14188         * vc-hg.el (vc-hg-print-log): Fix argument order.
14189         (vc-hg-working-revision): Make sure the command is executed in a
14190         known environment so that we can parse the output.  (Bug#4417)
14192 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14194         * progmodes/python.el (python-symbol-completions): Remove text
14195         properties from symbol string before calling python-send-receive.
14197 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
14199         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14200         when there are values for both file and line.  (Bug#5060)
14202 2009-12-14  Juri Linkov  <juri@jurta.org>
14204         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14205         whitespace after the file name of the first line of unified format,
14206         because git-diff doesn't output whitespace and file modification time
14207         after the file name.
14209 2009-12-14  David Kastrup  <dak@gnu.org>
14211         * info.el (Info-hide-cookies-node): Before hiding a cookie,
14212         check if it already has the `display' property added by
14213         `Info-display-images-node', and not put the `invisible' property
14214         in this case.
14216 2009-12-13  Glenn Morris  <rgm@gnu.org>
14218         * mail/emacsbug.el (message-sort-headers): Define for compiler.
14219         (report-emacs-bug): In message-mode, sort manually before storing
14220         original report text.  (Bug#5178)
14221         Remove superfluous save-excursion.
14223 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
14225         * net/dbus.el (dbus-property-handler): Filter lambda forms out
14226         when responding to "GetAll" properties.
14228 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
14230         * simple.el (compose-mail): Remove mail-setup-with-from from
14231         customization checks.
14233 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
14235         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14236         RAR archives created on Unix systems.
14238 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14240         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14241         the varalias that was accidentally removed by the 2009-11-19 change
14242         (bug#5186).
14244 2009-12-12  Kenichi Handa  <handa@m17n.org>
14246         * language/indian.el (indian-compose-regexp): New function.
14247         (malayalam-composable-pattern): Fix the pattern.
14248         (composition-function-table): Set malayalam-composable-pattern for
14249         Malayalam characters.
14251 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
14253         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14254         rather than down-mouse-1, based on follow-link conventions.
14256         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14257         are compiled.
14259 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
14261         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14262         (verilog-vmm-statement-re, verilog-ovm-statement-re)
14263         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14264         (verilog-leap-to-head, verilog-backward-token):
14265         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
14267 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
14269         * progmodes/verilog-mode.el (verilog-auto-lineup)
14270         (verilog-nameable-item-re): Cleanup user-visible spelling and
14271         documentation errors.  One reported by Gary Delp.
14272         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14273         (verilog-read-decls): Fix AUTOWIRE with types declared in a
14274         package, bug195.  Reported by Pierre-David Pfister.
14276 2009-12-11  Glenn Morris  <rgm@gnu.org>
14278         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14280         * mail/emacsbug.el: No longer require sendmail.
14281         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
14282         (report-emacs-bug-orig-text): Doc fix.
14283         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14284         New local variables, to adapt to different mail-user-agents.
14285         (report-emacs-bug): Fix test for a gnu.org address.
14286         Use overlays for emphasis, since font-lock defeats 'face property.
14287         Pretest bugs also end up at the newsgroup these days.
14288         Stop message-mode stripping text properties.
14289         Set and use the new buffer-local variables.
14290         (report-emacs-bug-hook): Add doc-string.
14291         Remove some unnecessary save-excursions and simplify.
14292         Use the appropriate hook and send-command.
14294         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14295         capitalization of some menu entries.
14297 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14299         * whitespace.el (whitespace-display-char-on):
14300         Ensure `buffer-display-table' is unique when two or more windows are
14301         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14302         New version 12.1.
14304 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
14306         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14307         characters in the Attribute field.
14309 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
14311         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
14313 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14315         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14316         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14317         Disregard autoload-excludes.
14318         (update-directory-autoloads): Obey autoload-excludes here instead.
14319         But don't store its contents in no-autoloads and remove entries that
14320         refer to excludes files.
14322 2009-12-10  Glenn Morris  <rgm@gnu.org>
14324         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14325         (expand-mail-aliases): Define for compiler.
14327         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14328         Define for compiler.
14330         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14331         appropriate for the mail-user-agent in use.
14333 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
14335         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14337 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
14339         Fix short log parsing and fontification.
14340         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14341         Fix fontification for the [merge] label.
14343 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
14345         Drop some properties to avoid surprises (bug#5002).
14346         * htmlfontify.el (hfy-ignored-properties): New defcustom.
14347         (hfy-fontify-buffer): Use it.
14349 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14351         Minor cleanup.
14352         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14353         Adjust all callers.
14354         (ffap-locate-file): Remove unused arg `dir-ok' and make other
14355         args compulsory.  Adjust callers.
14356         (ffap-gopher-at-point): Remove unused var `name'.
14358         Get rid of the ELCFILES abomination.
14359         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14360         (compile-elcfiles): New phony target.
14361         (compile-main): Compute ELCFILES dynamically.
14362         (compile-clean): New target to remove left-over elc files.
14363         (compile, all): Use it.
14365 2009-12-09  Kenichi Handa  <handa@etlken>
14367         * international/mule-diag.el: Require help-mode instead of help-fns.
14369 2009-12-09  Kenichi Handa  <handa@m17n.org>
14371         * international/mule-cmds.el (ucs-names): Supply sufficiently
14372         fine ranges instead of pre-calculating accurate ranges.
14373         Iterate with bigger gc-cons-threshold.
14375 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
14377         Add support for stashing a snapshot of the current tree.
14378         * vc-git.el (vc-git-stash-snapshot): New function.
14379         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14381 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
14383         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14384         instead of `(beginning|end)-of-line'.
14386 2009-12-08  Glenn Morris  <rgm@gnu.org>
14388         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14390         * Makefile.in (ELCFILES): Regenerate.
14392 2009-12-07  Juri Linkov  <juri@jurta.org>
14394         Don't lazy-highlight the comint output in history Isearch mode.
14396         * comint.el (comint-history-isearch-search): Instead of
14397         `comint-line-beginning-position', use `comint-after-pmark-p'
14398         to check if point if before the process mark, and go to
14399         `process-mark' in this case.
14401 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14403         * textmodes/tex-mode.el (latex-complete)
14404         (latex-indent-or-complete): Remove.
14405         (latex-mode): Set completion-at-point-functions instead.
14407         Provide a standard completion command and hook it into TAB.
14408         * minibuffer.el (completion-at-point-functions): New var.
14409         (completion-at-point): New command.
14410         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14411         * progmodes/python.el (python-mode-map): Use completion-at-point.
14412         (python-completion-at-point): Rename from python-partial-symbol and
14413         adjust for use in completion-at-point-functions.
14414         (python-mode): Setup completion-at-point for Python completion.
14415         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14416         extracted from lisp-complete-symbol.
14417         (lisp-complete-symbol): Use it.
14418         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14419         setup completion-at-point for Elisp completion.
14420         (emacs-lisp-mode-map, lisp-interaction-mode-map):
14421         Use completion-at-point.
14422         * ielm.el (ielm-map): Use completion-at-point.
14423         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14424         * progmodes/sym-comp.el: Move to...
14425         * obsolete/sym-comp.el: Move from progmodes.
14427 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
14429         Prevent save-buffer in Rmail buffers from using the coding-system
14430         of the current message, and from clobbering the encoding mnemonics
14431         in the mode line (Bug#4623).
14433         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14434         flag, too.
14435         (rmail-message-encoding): New variable.
14436         (rmail-write-region-annotate): Record the encoding of the current
14437         message in rmail-message-encoding.
14438         (rmail-after-save-hook): New function, restores the encoding of
14439         the current message after the message collection is saved.
14441 2009-12-07  Juri Linkov  <juri@jurta.org>
14443         * progmodes/grep.el (grep-read-files): Use `completing-read'
14444         instead of `read-string'.  Set its `collection' arg to
14445         `read-file-name-internal'.  (Bug#4301)
14447 2009-12-07  Juri Linkov  <juri@jurta.org>
14449         Correctly restore original Isearch point.  (Bug#4994)
14451         * isearch.el (isearch-mode): Move `isearch-push-state' after
14452         `(run-hooks 'isearch-mode-hook)'.
14453         (isearch-cancel): When `isearch-push-state-function' is defined,
14454         let-bind `isearch-cmds' to the first state (the last element of
14455         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14456         function and restores the original point).  Otherwise, move point
14457         to `isearch-opoint'.
14459 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14461         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14462         chars that don't have names, so the table can be built much faster at
14463         run-time.
14465 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
14467         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14468         change.  Suggested by David Kastrup.
14470         * simple.el (compose-mail): Check for incompatibilities and warn.
14471         (compose-mail-user-agent-warnings): New option.
14473 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14475         Support showing a single log entry from vc-annotate.
14476         * vc.el (print-log): Add a new argument: START-REVISION.
14477         (vc-print-log-internal): Add a new optional argument and
14478         pass it to the backend.
14479         (vc-print-log, vc-print-root-log): Adjust callers.
14480         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14481         buffer already displays the requested log entry, use it.
14482         Otherwise display only the log entry in question.
14483         * vc-svn.el (vc-svn-print-log):
14484         * vc-mtn.el (vc-mtn-print-log):
14485         * vc-hg.el (vc-hg-state):
14486         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14487         (vc-git-show-log-entry): Return t on success.
14488         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14489         (vc-bzr-show-log-entry): Return t on success.
14490         * vc-rcs.el (vc-rcs-print-log):
14491         * vc-sccs.el (vc-sccs-print-log):
14492         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14494 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14496         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14497         Add menus to the meta mode.  (Bug#5043)
14499 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
14501         * ediff-init.el (ediff-event-key): Use event-to-character instead of
14502         event-key.
14504         * ediff.el (ediff-buffers-internal): Add unwind-protect.
14506 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
14508         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
14509         Berbain <raphael.berbain@gmail.com>.
14511         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
14512         characters.
14513         (tramp-initial-end-of-output): New defconst.
14514         (tramp-methods, tramp-find-shell)
14515         (tramp-open-connection-setup-interactive-shell)
14516         (tramp-maybe-open-connection): Use it.
14517         (tramp-shell-prompt-pattern, tramp-wait-for-output):
14518         Handle existence of `#' and `$'.
14520         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14521         Use `tramp-initial-end-of-output'.
14523 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14525         Get the background mode from the terminal for xterm, and set
14526         faces accordingly.
14527         * term/xterm.el (xterm-set-background-mode): New function.
14528         (terminal-init-xterm): Use it in case xterm supports background
14529         color queries.  Recompute faces after getting the background
14530         color.
14532 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
14534         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14535         number comment back on its own line, for easier parsing.
14537 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14539         Make it work for non-file buffers (bug#5102).
14540         * doc-view.el (doc-view-current-cache-dir):
14541         Use doc-view-buffer-file-name rather than buffer-file-name.
14542         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14544 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
14546         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14547         author field is too short.
14549 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
14551         * vc-git.el (vc-git-print-log): Handle a limit argument.
14552         Display the short log in graph form and with labels.
14553         (vc-git-log-view-mode): Handle labels.
14555         Make vc-revert change VC state from 'added to 'unregistered.
14556         * vc-git.el (vc-git-revert): Call git reset first.
14558 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14560         * net/newst-backend.el, net/newst-plainview.el:
14561         * net/newst-reader.el, net/newst-ticker.el:
14562         * net/newst-treeview.el, net/newsticker.el:
14563         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
14565 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14567         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14569         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14570         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
14571         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14572         Update annotation regexp.
14574         * simple.el (beginning-of-visual-line): Constrain to field
14575         boundaries (Bug#5106).
14577 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14579         * xml.el (xml-substitute-numeric-entities):
14580         Move newsticker--decode-numeric-entities in newst-backend.el to
14581         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14582         * net/newst-backend.el (newsticker--parse-generic-feed)
14583         (newsticker--parse-generic-items)
14584         (newsticker--decode-numeric-entities):
14585         Move newsticker--decode-numeric-entities in newst-backend.el to
14586         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14588 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
14590         * progmodes/js.el (js--js-not): Add null to the list of values.
14592 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14594         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14596 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14598         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14599         delimiter if it is at the end of the current line.
14600         (bibtex-generate-url-list): Fix docstring.
14602 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14604         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14605         minibuffer's content with itself.
14606         Fold the confirm-after-completion case into the `confirm' case.
14607         (completion-pcm-word-delimiters): Add : and / to the delimiters.
14609 2009-12-06  Kevin Ryde  <user42@zip.com.au>
14611         * ffap.el (ffap-rfc-path): Make this a defcustom since
14612         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
14614         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14615         manuals, similar to existing setup for help-mode.  (Bug#3913.)
14617 2009-12-05  Juri Linkov  <juri@jurta.org>
14619         Save and restore dired buffer's point positions too.  (Bug#4880)
14621         * dired.el (dired-save-positions): Return in the first element
14622         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14623         Doc fix.
14624         (dired-restore-positions): First restore buffer's position.
14625         While restoring window's positions, check if window still displays
14626         the original buffer.
14628 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
14630         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14631         if possible.
14633         * shell.el (shell): Require ansi-color (Bug#5113).
14635         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14637         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14639 2009-12-05  Alan Mackenzie  <acm@muc.de>
14641         * progmodes/cc-mode.el (c-before-hack-hook)
14642         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14643         `c-file-style' to work again.  This reversion restores the current
14644         software to its state in Emacs 23.1.  (Bug#4146)
14646 2009-12-05  Kevin Ryde  <user42@zip.com.au>
14648         * textmodes/sgml-mode.el (sgml-lexical-context):
14649         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14651 2009-12-05  Juri Linkov  <juri@jurta.org>
14653         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14654         for virtual nodes.  (Bug#4147)
14655         (Info-find-node-2): Set `Info-current-node-virtual' to nil
14656         when moving from a virtual node.
14657         (Info-mode-menu): Add `Info-virtual-index' to the menu.
14658         (Info-mode): Add `Info-virtual-index' to the docstring.
14660 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14662         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14663         track of the buffer position of the end of a BibTeX entry as this
14664         position may change during reformatting.
14665         (bibtex-format-entry): Remove whitespace before processing
14666         numerical fields so that we recognize the latter properly.
14667         (bibtex-reformat): Do not use push which changes the global value
14668         of bibtex-entry-format.
14669         (bibtex-field-braces-alist, bibtex-field-strings-alist)
14670         (bibtex-field-re-init): Replace only space characters by regexp
14671         for whitespace.
14672         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14673         (bibtex-initialize): Also update bibtex-strings.
14674         (bibtex-kill-field): Preserve white space at end of entry.
14675         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14676         Update bibtex-reference-keys.
14678 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14680         * minibuffer.el (completion-pcm--merge-try): Also consider placing
14681         point after a star, if that's the only place where modifications can
14682         make progress.
14684 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
14686         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14687         in docstrings.
14689 2009-12-04  Juri Linkov  <juri@jurta.org>
14691         * proced.el (proced): Call `(proced-update t)' to update process
14692         information instead of only running proced-post-display-hook.
14693         (proced-send-signal): Add a leading space to the buffer name
14694         " *Marked Processes*" to make this buffer ephemeral.
14696 2009-12-04  Juri Linkov  <juri@jurta.org>
14698         * dired.el (dired-auto-revert-buffer): New defcustom.
14699         (dired-internal-noselect): Use it.
14701 2009-12-04  Juri Linkov  <juri@jurta.org>
14703         Change roles of modes and functions in image-mode.el (Bug#5062).
14705         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14706         in `auto-mode-alist'.
14707         (image-mode-previous-major-mode): New variable.
14708         (image-minor-mode-map): Rename from `image-mode-text-map'.
14709         (image-mode): Move graceful error-handling code from
14710         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
14711         (image-minor-mode): Remove all image-handling code.
14712         Replace `image-mode-text-map' with `image-minor-mode-map'.
14713         Check for `image-type' in mode-line format string.
14714         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14715         (image-mode-as-text): New function with most code from
14716         `image-mode-maybe'.
14717         (image-toggle-display-text): Move code that removes image
14718         properties from `image-toggle-display' to here.
14719         (image-toggle-display-image): New function with code that adds
14720         image properties copied from `image-toggle-display'.
14721         (image-toggle-display): Remove most code with leaving only code
14722         that toggles between `image-mode-as-text' and `image-mode'.
14724 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
14726         * net/newst-treeview.el
14727         (newsticker--treeview-list-highlight-start): Restored call to
14728         save-excursion: Selected item was stuck.
14729         (newsticker--treeview-list-select): New.
14730         (newsticker--treeview-item-show-text)
14731         (newsticker--treeview-item-show)
14732         (newsticker--treeview-item-update): Use new
14733         newsticker-treeview-item-mode.
14734         (newsticker-treeview-update): Keep current item.
14735         (newsticker-treeview-next-new-or-immortal-item): Doc change.
14736         (newsticker--treeview-first-feed): Doc change.
14737         (newsticker-treeview-list-menu)
14738         (newsticker-treeview-item-menu): Add menu entries.
14739         (newsticker-treeview-item-mode): New.
14741         * net/newst-backend.el (newsticker-customize): Delete other
14742         windows.
14744 2009-12-04  Sam Steingold  <sds@gnu.org>
14746         * log-view.el (log-view-mode-map): "q" calls quit-window,
14747         like in all the other non-self-insert buffers.
14749 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14751         Minor cleanup.
14752         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14753         key decoding rather than do it manually via last-input-event +
14754         ascii-character.
14755         (term-exec): Use delete-and-extract-region.
14756         (term-handle-ansi-terminal-messages): Remove unused var `end'.
14757         (term-process-pager): Remove unused var `i'.
14758         (term-dynamic-simple-complete): Make obsolete.
14759         (serial-update-config-menu): Remove unused vars `y' and `str'.
14760         (term-update-mode-line): Remove unused var `temp'.
14762 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14764         Limit the number of log entries displayed by default.
14765         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14766         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14767         using a prefix argument.
14769 2009-12-03  Glenn Morris  <rgm@gnu.org>
14771         * progmodes/idlwave.el (class): Restore still useful declaration.
14773 2009-12-03  Alan Mackenzie  <acm@muc.de>
14775         Enhance `c-parse-state' to run efficiently in "brace deserts".
14777         * progmodes/cc-mode.el (c-basic-common-init):
14778         Call c-state-cache-init.
14779         (c-neutralize-syntax-in-and-mark-CPP): Rename from
14780         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
14781         placing `category' properties value 'c-cpp-delimiter at its boundaries.
14783         * progmodes/cc-langs.el (c-before-font-lock-function):
14784         c-extend-and-neutralize-syntax-in-CPP has been renamed
14785         c-neutralize-syntax-in-and-mark-CPP.
14787         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14788         with `category' properties now, not `syntax-table' ones.
14790         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14791         enhanced (but slower) version of c-end-of-macro that won't land
14792         inside a literal or on another awkward character.
14793         (c-state-cache-too-far, c-state-cache-start)
14794         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14795         (c-state-nonlit-pos-cache-limit, c-state-point-min)
14796         (c-state-point-min-lit-type, c-state-point-min-lit-start)
14797         (c-state-min-scan-pos, c-state-brace-pair-desert)
14798         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14799         buffer local variables.
14800         (c-state-literal-at, c-state-lit-beg)
14801         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14802         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14803         (c-state-cache-top-paren, c-state-cache-after-top-paren)
14804         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14805         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14806         (c-renarrow-state-cache)
14807         (c-append-lower-brace-pair-to-state-cache)
14808         (c-state-push-any-brace-pair, c-append-to-state-cache)
14809         (c-remove-stale-state-cache)
14810         (c-remove-stale-state-cache-backwards, c-state-cache-init)
14811         (c-invalidate-state-cache-1, c-parse-state-1)
14812         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14813         (c-parse-state): Enhance and refactor.
14814         (c-debug-parse-state): Amend to deal with all the new variables.
14816         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14817         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14818         modify to use category text properties rather than syntax-table ones.
14819         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14820         to switch off/on the syntactic paren property of C++ template
14821         delimiters using the category property.
14822         (c-with-<->-as-parens-suppressed): Macro to invoke code with
14823         template delims suppressed.
14824         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14825         New constant/macros which apply category properties to the start
14826         and end of preprocessor constructs.
14827         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14828         "comment out" the syntactic value of characters in preprocessor
14829         constructs.
14830         (c-with-cpps-commented-out)
14831         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14832         with characters in all or all but one preprocessor constructs
14833         "commented out".
14835 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14837         * proced.el (proced-filter-alist): Use regexp-quote.
14839 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
14841         Cleanup.
14842         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14843         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
14844         arguments.  Expand `default-directory'.
14846         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14847         the benefit of returning an expanded localname.
14848         (tramp-tramp-file-p): Handle the case NAME is not a string.
14850 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14852         Add support for bzr shelve/unshelve.
14853         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14854         (vc-bzr-extra-menu-map): New variables.
14855         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14856         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14857         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14858         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14859         (vc-bzr-dir-extra-headers): Display shelves.
14861         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14863 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14865         * textmodes/bibtex.el (bibtex-complete-internal):
14866         Use completion-in-region.
14867         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14869 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14871         Support applying stashes.  Improve UI.
14872         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14873         (vc-git-stash-apply, vc-git-stash-pop)
14874         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14875         (vc-git-stash-menu): New functions.
14876         (vc-git-stash-menu-map): New variable.
14877         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14879 2009-12-03  Glenn Morris  <rgm@gnu.org>
14881         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14882         (vc-print-log-internal): Fix previous change.
14883         (vc-revert): Correct pluralization.
14885 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14887         * progmodes/make-mode.el (makefile-special-targets-list): No need for
14888         it to be an alist any more.
14889         (makefile-complete): Use completion-in-region.
14891         * progmodes/octave-mod.el (octave-complete-symbol):
14892         Use completion-in-region.
14894         Misc cleanup.
14895         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14896         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14897         (idlwave-complete-class): Don't quote lambda.
14898         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14899         (idlwave-mode-map): Move initialization into declaration.
14900         (idlwave-action-and-binding): Use backquotes.
14901         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14902         Simplify.
14903         (idlwave-is-pointer-dereference): Remove unused var `pos'.
14904         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14905         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14906         `parts', and `all-parts'.
14907         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14908         (idlwave-convert-xml-system-routine-info): Remove unused string
14909         `version-string'.
14910         (idlwave-display-user-catalog-widget): Use dolist.
14911         (idlwave-scanning-lib): Declare dynamically-scoped var.
14912         (idlwave-scan-library-catalogs): Remove unused var `flags'.
14913         (completion-highlight-first-word-only): Declare to silence bytecomp.
14914         (idlwave-popup-select): Tighten scope of `resp'.
14915         (idlwave-find-struct-tag): Remove unused var `beg'.
14916         (idlwave-after-load-rinfo-hook): Declare.
14917         (idlwave-sintern-class-info): Remove unused var `taglist'.
14918         (idlwave-find-class-definition): Remove unused var `list'.
14919         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14920         (idlwave-what-module-find-class): Remove unused var `classes'.
14922 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
14924         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14926 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14928         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14929         buffers visited.  Remove redundant current-buffer-saving.
14931 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14933         Use completion-in-buffer and remove uses of dynamic scoping.
14934         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14935         (pascal-buffer-to-use, pascal-flag): Don't declare.
14936         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14937         (pascal-get-completion-decl, pascal-keyword-completion):
14938         Add `pascal-str' argument, save-excursion,
14939         return the found completions, and don't filter with pascal-pred.
14940         (pascal-completion-cache): New var.
14941         (pascal-completion): Don't switch buffer any more (it was never
14942         necessary).  Don't save-excursion any more (it's done by the called
14943         subroutines).  Use a cache to avoid redundant computations.
14944         Use complete-with-action rather than pascal-completion-response and
14945         let it apply the predicate as well.
14946         (pascal-complete-word): Use completion-in-buffer when
14947         pascal-toggle-completions is nil.
14948         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14949         not used any more.
14950         (pascal-comp-defun): Don't change buffer any more.
14951         Use complete-with-action rather than pascal-completion-response and
14952         let it apply the predicate as well.
14953         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14954         when neded.
14956 2009-12-02  Kenichi Handa  <handa@m17n.org>
14958         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14959         shape for all Indic scripts.
14961 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14963         Use completion-in-buffer.
14964         * wid-edit.el (widget-field-text-end): New function.
14965         (widget-field-value-get): Use it.
14966         (widget-string-complete, widget-file-complete)
14967         (widget-color-complete): Use it and completion-in-region.
14968         (widget-complete): Don't narrow the buffer.
14970 2009-12-02  Glenn Morris  <rgm@gnu.org>
14972         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
14973         (rmail-select-summary): Use rmail-pop-to-buffer.
14974         * mail/rmailsum.el: Replace all pop-to-buffer calls with
14975         rmail-pop-to-buffer, to prevent horizontal splits.
14977         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14978         save-excursion with save-current-buffer.
14979         Widen before searching.  (Bug#5093)
14980         (diary-list-sexp-entries): Remove superfluous save-excursion.
14982 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
14984         * woman.el (woman-make-bufname): Handle man-pages with "." in the
14985         name.  (Bug#5038)
14987 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
14989         * ido.el (ido-file-internal): Handle filenames at point that do
14990         not have a directory part.  (Bug#5049)
14992 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
14994         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14995         (mpc-songs-jump-to, mpc-resume): Doc fixes.
14997 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
14999         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15000         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15001         any more.
15003 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15005         * comint.el (comint-insert-input): Ignore clicks to the right of
15006         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15008         * vc.el (vc-print-log-internal): Don't wait for the process to
15009         terminate before setting up the major mode.
15011         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15012         in case.
15014         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15015         the last element.
15017         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15019 2009-12-01  Glenn Morris  <rgm@gnu.org>
15021         * window.el (window--display-buffer-2): Fix previous changes.
15023 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
15025         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15027 2009-12-01  Glenn Morris  <rgm@gnu.org>
15029         * Makefile.in (ELCFILES): Add mpc.elc.
15031 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15033         * mpc.el: New file.
15035 2009-12-01  Glenn Morris  <rgm@gnu.org>
15037         * window.el (window-to-use): Define for compiler.
15039         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15040         consistent with others (no final period).
15042         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15043         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
15045 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
15047         Make vc-print-log buttons work.
15048         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15050 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
15052         * savehist.el (savehist-autosave-interval): Allow setting to nil
15053         through customize.  (Bug#5056)
15055 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
15057         Fix references to jit-lock properties.
15058         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15059         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15060         (perl-font-lock-special-syntactic-constructs):
15061         Quote jit-lock-defer-multiline property.
15063 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
15065         * vc-git.el (vc-git-registered): Call vc-git-root only once.
15067 2009-11-30  Juri Linkov  <juri@jurta.org>
15069         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15070         value `buffer' of `multi-isearch-next-buffer-current-function'.
15071         Use `(current-buffer)' when `buffer' is nil.
15072         (multi-isearch-next-buffer-from-list): Don't fallback to
15073         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
15075 2009-11-30  Juri Linkov  <juri@jurta.org>
15077         * misearch.el (multi-isearch-read-buffers): Move canonicalization
15078         of buffers with `get-buffer' to `multi-isearch-buffers'.
15079         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15080         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
15081         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15082         FILES with `expand-file-name' converting relative file names
15083         to absolute.  Doc fix.  (Bug#4727)
15085 2009-11-30  Juri Linkov  <juri@jurta.org>
15087         * misearch.el (multi-isearch-read-buffers)
15088         (multi-isearch-read-matching-buffers): New functions.
15089         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15090         Use them in the `interactive' spec.  Doc fix.
15091         (multi-isearch-read-files, multi-isearch-read-matching-files):
15092         New functions.
15093         (multi-isearch-files, multi-isearch-files-regexp):
15094         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
15096 2009-11-30  Juri Linkov  <juri@jurta.org>
15098         * doc-view.el (doc-view-continuous):
15099         Rename from `doc-view-continuous-mode'.
15100         (doc-view-menu): Move "Toggle display" to the top.
15101         Add submenu "Continuous" with radio buttons "Off"/"On"
15102         and "Save as Default".
15103         (doc-view-scroll-up-or-next-page)
15104         (doc-view-scroll-down-or-previous-page)
15105         (doc-view-next-line-or-next-page)
15106         (doc-view-previous-line-or-previous-page):
15107         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
15109 2009-11-30  Juri Linkov  <juri@jurta.org>
15111         * comint.el (comint-mode-map): Rebind `M-r' from
15112         `comint-previous-matching-input' to
15113         `comint-history-isearch-backward-regexp'.
15114         Unbind `M-s' to allow global key binding `M-s'.
15115         Add menu items for `comint-history-isearch-backward' and
15116         `comint-history-isearch-backward-regexp'.  (Bug#3746)
15118 2009-11-30  Juri Linkov  <juri@jurta.org>
15120         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15121         For def=recenter, replace `recenter' with `recenter-top-bottom'
15122         that is called with `this-command' and `last-command' let-bound
15123         to `recenter-top-bottom'.  When the last `def' was not `recenter',
15124         set `recenter-last-op' to nil.  (Bug#4981)
15126 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15128         Minor cleanup and simplification.
15129         * filecache.el (file-cache-add-directory)
15130         (file-cache-add-directory-recursively)
15131         (file-cache-add-from-file-cache-buffer)
15132         (file-cache-delete-file-regexp, file-cache-delete-directory)
15133         (file-cache-files-matching-internal, file-cache-display): Use dolist.
15134         (file-cache-temp-minibuffer-message): Delete function.
15135         (file-cache-minibuffer-complete): Use minibuffer-message instead.
15137         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15138         Don't signal an error when bumping into EOB in tr, s, or y.
15140 2009-11-29  Juri Linkov  <juri@jurta.org>
15142         * startup.el (fancy-about-text): Fix wording of Guided Tour.
15143         (Bug#4960)
15145         * descr-text.el (describe-char-unidata-list): Use lowercase name
15146         for "Unicode name" like in other tags.
15148 2009-11-29  Juri Linkov  <juri@jurta.org>
15150         * ediff-util.el (ediff-minibuffer-with-setup-hook):
15151         New compatibility macro.
15152         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15154 2009-11-29  Juri Linkov  <juri@jurta.org>
15156         Add defcustom to define the cycling order of `recenter-top-bottom'.
15157         (Bug#4981)
15159         * window.el (recenter-last-op): Doc fix.
15160         (recenter-positions): New defcustom.
15161         (recenter-top-bottom): Rewrite to use `recenter-positions'.
15162         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15164 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
15166         Improve integration of Tramp and ange-ftp in eshell.
15168         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15169         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
15170         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
15172         * eshell/esh-util.el (top): Require also Tramp when compiling.
15173         (eshell-directory-files-and-attributes): Check for FTP remote
15174         connection.
15175         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15176         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15177         (eshell-file-attributes): Handle ".".  Return `entry'.
15179         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15180         (ange-ftp-directory-files-and-attributes)
15181         (ange-ftp-real-directory-files-and-attributes): New defuns.
15183         * net/tramp.el (tramp-maybe-open-connection): Open the remote
15184         shell with "exec" when possible.  This prevents trailing prompts
15185         in `start-file-process'.
15187 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15189         Try and remove assumptions about point-min==1.
15190         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15191         (rng-compute-mode-line-string): Show the validation percentage in
15192         terms of the narrowed text, not the widened text.
15193         (rng-do-some-validation): Don't catch internal errors when debugging.
15194         (rng-first-error): Simplify.
15195         (rng-after-change-function): Remove work around.  AFAIK the bug has
15196         been fixed a while ago.
15198         * image-mode.el (image-minor-mode): Exit more gracefully when the image
15199         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15201         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15203         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15204         `cd' doesn't always do it for us (bug#5067).
15206         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15207         on 2009-10-25 as part of some other change (bug#5067).
15209 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15211         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15212         `suspicious'.
15213         (byte-compile-warnings): Use byte-compile-warning-types.
15214         (byte-compile-save-excursion): Warn about use of set-buffer right
15215         after save-excursion.
15217         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15218         the excursion as well.
15220 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
15222         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15223         providing a Tramp related implementation of "su" and "sudo".
15224         (eshell-unix-initialize): Add "su" and "sudo".
15226 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
15228         * net/socks.el (socks-send-command): Convert binary request to
15229         unibyte before sending.  This fixes mishandling of some port
15230         numbers such as 129.
15232 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15234         * help.el (describe-bindings-internal): Remove `interactive'.
15236         * man.el (Man-completion-table): Trim a terminating "(".
15237         Remove the space between name page a section.
15238         Add the command's description on the `help-echo' property.
15239         Remove `process-connection-type' binding since it's unused by
15240         call-process.
15241         Provide completion for the "<section> <name>" format as well.
15242         (Man-default-man-entry): Remove spurious var shadowing the argument.
15244 2009-11-26  Kevin Ryde  <user42@zip.com.au>
15246         * log-view.el: Add "Keywords: tools", since its other keywords
15247         aren't in finder-known-keywords, and following vc.el.
15249         * sha1.el (sha1-string-external): default-directory "/" in case
15250         otherwise non-existent.  process-connection-type pipe for touch of
15251         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
15253 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15255         Misc coding convention cleanups.
15256         * htmlfontify.el (hfy-init-kludge-hook): Rename from
15257         hfy-init-kludge-hooks.
15258         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15259         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15260         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15261         and push.
15262         (hfy-slant, hfy-weight): Use tables rather than code.
15263         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15264         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15265         (hfy-face-attr-for-class): Initialize `face-spec' directly.
15266         (hfy-face-to-css): Remove `nconc' with single arg.
15267         (hfy-p-to-face-lennart): Use `or'.
15268         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
15269         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15270         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15271         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15272         (hfy-force-fontification): Use run-hooks.
15274 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
15276         Various minor fixes.
15277         * htmlfontify.el (hfy-default-header): Add toggle_invis since
15278         Javascript belongs in the header, not the body.
15279         (hfy-javascript): Remove.
15280         (hfy-fontify-buffer): Don't insert it any more.
15281         (hfy-face-at): Handle (face0 face1 face2) style face properties.
15282         Fix bug in invis handling when there were no invis props in a chunk.
15284 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15286         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15288 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
15290         * finder.el (finder-mode-map): Add a menu.
15292 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
15294         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15295         "unsigned" structs.
15297         (verilog-leap-to-head, verilog-backward-token): Handle "disable
15298         fork" statement better.
15300 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
15302         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15303         (verilog-delete-auto, verilog-delete-empty-auto-pair)
15304         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15305         Reported by Clay Douglass.
15307         (verilog-auto-inst, verilog-auto-star-safe)
15308         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15309         Fix removing "// Interfaces" when saving .* expansions.
15310         Reported by Pierre-David Pfister.
15312 2009-11-26  Glenn Morris  <rgm@gnu.org>
15314         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15315         the scope.
15317 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
15319         * vc-annotate.el (vc-annotate-revision-previous-to-line):
15320         Really use previous revision.
15322 2009-11-25  Kevin Ryde  <user42@zip.com.au>
15324         * man.el (Man-completion-table): default-directory "/" in case
15325         doesn't otherwise exist.  process-environment COLUMNS=999 so as
15326         not to truncate long names.  process-connection-type pipe to avoid
15327         any chance of hitting the pseudo-tty TIOCGWINSZ.
15328         (man): completion-ignore-case t for friendliness and since man
15329         itself is case-insensitive on the command line.
15330         Further to Bug#3717.
15332         * arc-mode.el: Add "Keywords: files", so the details in its
15333         commentary can be reached from finder-by-keyword.
15334         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
15335         editing mode, but it's comms related and sgml-mode.el has "comm"
15336         on that basis too.
15337         * textmodes/bibtex-style.el: Add "Keywords: tex".
15338         * international/isearch-x.el, international/ja-dic-cnv.el:
15339         * international/ja-dic-utl.el, international/kkc.el:
15340         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15342 2009-11-25  Juri Linkov  <juri@jurta.org>
15344         * man.el (Man-completion-table): Modify regexp to include
15345         section names to completion strings.  (Bug#3717)
15347 2009-11-25  Juri Linkov  <juri@jurta.org>
15349         Search recursively in gzipped files.  (Bug#4982)
15351         * progmodes/grep.el (grep-highlight-matches): Add new options
15352         `always' and `auto'.  Doc fix.
15353         (grep-process-setup): Check `grep-highlight-matches' for
15354         `auto-detect' to determine the need to compute grep defaults.
15355         Move Windows/DOS specific --colors settings handling
15356         to `grep-compute-defaults'.  Check `grep-highlight-matches'
15357         to get the value of "--color=".
15358         (grep-compute-defaults): Compute `grep-highlight-matches' when it
15359         has the value `auto-detect'.  Move Windows/DOS specific settings
15360         from `grep-process-setup'.
15361         (zrgrep): New command with alias `rzgrep'.
15363 2009-11-25  Juri Linkov  <juri@jurta.org>
15365         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15366         to nil instead of switching off view-mode.  (Bug#4896)
15368 2009-11-25  Juri Linkov  <juri@jurta.org>
15370         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
15372         * mwheel.el (mwheel-scroll-up-function)
15373         (mwheel-scroll-down-function): New defvars.
15374         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15375         `scroll-up', and `mwheel-scroll-down-function' instead of
15376         `scroll-down'.
15378         * doc-view.el (doc-view-scroll-up-or-next-page)
15379         (doc-view-scroll-down-or-previous-page): Add optional ARG.
15380         Use this ARG in the call to image-scroll-up/image-scroll-down.
15381         Change `interactive' spec to "P".  Goto next/previous page only
15382         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15383         SPC/DEL case).  Doc fix.
15384         (doc-view-next-line-or-next-page)
15385         (doc-view-previous-line-or-previous-page): Rename arg to ARG
15386         for consistency.
15387         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15388         `doc-view-scroll-up-or-next-page', and buffer-local
15389         `mwheel-scroll-down-function' to
15390         `doc-view-scroll-down-or-previous-page'.
15392 2009-11-25  Juri Linkov  <juri@jurta.org>
15394         Provide additional default values (directories at other Dired
15395         windows) via M-n in the minibuffer of some Dired commands.
15397         * dired-aux.el (dired-diff, dired-compare-directories)
15398         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15399         `minibuffer-default' in `minibuffer-with-setup-hook'.
15400         (dired-dwim-target-directory): Find a window that displays Dired
15401         buffer instead of failing when the next window is not Dired.
15402         Use `get-window-with-predicate' to find for the next Dired window.
15403         (dired-dwim-target-defaults): New function.
15405         * ediff-util.el (ediff-read-file-name):
15406         Use `dired-dwim-target-defaults' to set `minibuffer-default'
15407         in `minibuffer-with-setup-hook'.
15409 2009-11-25  Juri Linkov  <juri@jurta.org>
15411         Provide additional default values (file name at point or at the
15412         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
15414         * minibuffer.el (read-file-name-defaults): New function.
15415         (read-file-name): Reset `minibuffer-default' to nil when
15416         it duplicates initial input `insdef'.
15417         Bind `minibuffer-default-add-function' to lambda that
15418         calls `read-file-name-defaults' in `minibuffer-selected-window'.
15419         (minibuffer-insert-file-name-at-point): New command.
15421         * files.el (file-name-at-point-functions): New defcustom.
15422         (find-file-default): Remove defvar.
15423         (find-file-read-args): Don't use `find-file-default'.
15424         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15425         to `read-file-name'.
15426         (find-file-literally): Use `read-file-name' with
15427         `confirm-nonexistent-file-or-buffer'.
15429         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15431         * dired.el (dired-read-dir-and-switches):
15432         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15433         to `read-file-name'.
15434         (dired-file-name-at-point): New function.
15435         (dired-mode): Add hook `dired-file-name-at-point' to
15436         `file-name-at-point-functions'.
15438 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15440         Really make the *Completions* window soft-dedicated (bug#5030).
15441         * window.el (window--display-buffer-2): Add `dedicated' argument.
15442         (display-buffer): Pass it when needed so the dedicated flag is set
15443         after calling set-window-buffer, which would otherwise reset it.
15445 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15447         * progmodes/meta-mode.el (meta-complete-symbol):
15448         * progmodes/etags.el (complete-tag):
15449         * mail/mailabbrev.el (mail-abbrev-complete-alias):
15450         Use completion-in-region.
15452         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15453         (dabbrev-completion): Use completion-in-region.
15454         (dabbrev--abbrev-at-point): Simplify regexp.
15456         * abbrev.el (abbrev--before-point): Use word-motion functions
15457         if :regexp is not specified (bug#5031).
15459         * subr.el (string-prefix-p): New function.
15461         * man.el (Man-completion-cache): New var.
15462         (Man-completion-table): Use it.
15464         * vc.el (vc-print-log-internal): Make `limit' optional for better
15465         compatibility (e.g. with vc-annotate.el).
15467 2009-11-24  Kevin Ryde  <user42@zip.com.au>
15469         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15470         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
15472         * emacs-lisp/elint.el (elint-add-required-env): Better error message
15473         when .el source file not found or other error.
15475 2009-11-24  Markus Triska  <markus.triska@gmx.at>
15477         * linum.el (linum-update-window): Ignore intangible (bug#4996).
15479 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15481         Handle the [back] button properly (bug#4979).
15482         * descr-text.el (describe-text-properties): Add a `buffer' argument.
15483         Use help-setup-xref, help-buffer, and with-help-window.
15484         (describe-char): Add `buffer' argument.
15485         Pass proper command to help-setup-xref.  Don't meddle with
15486         help-xref-stack-item directly.
15487         (describe-text-category): Use with-help-window and help-buffer.
15489         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15490         for the displayed buffer (bug#4887).
15492         * man.el (Man-completion-table): New function.
15493         (man): Use it.
15495 2009-11-24  David Reitter  <david.reitter@gmail.com>
15497         * vc-git.el (vc-git-registered): Use checkout directory (where
15498         .git is) rather than the file's directory and a relative path spec
15499         to work around a bug in git.
15501 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
15503         Improve handling of processes on remote hosts.
15505         * eshell/esh-util.el (eshell-path-env): New defvar.
15506         (eshell-parse-colon-path): New defun.
15507         (eshell-file-attributes): Use `eshell-parse-colon-path'.
15509         * eshell/esh-ext.el (eshell-search-path):
15510         Use `eshell-parse-colon-path'.
15511         (eshell-remote-command): Remove argument HANDLER.
15512         (eshell-external-command): Check for FTP remote connection.
15514         * eshell/esh-proc.el (eshell-gather-process-output):
15515         Use `file-truename', in order to start also symlinked files.
15516         Apply `start-file-process' instead of `start-process'.
15517         Shorten `command' to the local file name part.
15519         * eshell/em-cmpl.el (eshell-complete-commands-list):
15520         Use `eshell-parse-colon-path'.
15522         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15524         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
15525         to `eshell-directory-change-hook'.
15527 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
15529         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15530         because it could be enabled automatically if view-read-only is non-nil.
15532 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
15534         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15535         made on 2009-11-22.
15537 2009-11-24  Glenn Morris  <rgm@gnu.org>
15539         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15540         deleted variable bookmark-bmenu-bookmark-column.
15542 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15544         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15546 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15548         * net/browse-url.el (browse-url-filename-alist): On Windows, add
15549         two slashes to the "file:" prefix.
15550         (browse-url-file-url): De-munge Cygwin filenames before passing
15551         them to Windows browser.
15552         (browse-url-default-windows-browser): Use call-process.
15554 2009-11-23  Juri Linkov  <juri@jurta.org>
15556         Implement DocView Continuous mode.  (Bug#4896)
15557         * doc-view.el (doc-view-continuous-mode): New defcustom.
15558         (doc-view-mode-map): Bind C-n/<down> to
15559         `doc-view-next-line-or-next-page', C-p/<up> to
15560         `doc-view-previous-line-or-previous-page'.
15561         (doc-view-next-line-or-next-page)
15562         (doc-view-previous-line-or-previous-page): New commands.
15564 2009-11-23  Juri Linkov  <juri@jurta.org>
15566         Implement Isearch in comint input history.  (Bug#3746)
15567         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15568         `isearch-mode-hook'.
15569         (comint-history-isearch): New defcustom.
15570         (comint-history-isearch-backward)
15571         (comint-history-isearch-backward-regexp): New commands.
15572         (comint-history-isearch-message-overlay): New buffer-local variable.
15573         (comint-history-isearch-setup, comint-history-isearch-end)
15574         (comint-goto-input, comint-history-isearch-search)
15575         (comint-history-isearch-message, comint-history-isearch-wrap)
15576         (comint-history-isearch-push-state)
15577         (comint-history-isearch-pop-state): New functions.
15579 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
15581         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15582         return.
15583         (tramp-handle-make-symbolic-link)
15584         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15585         Quote file names.
15586         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15587         (tramp-handle-process-file): Use it.
15589 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15591         * window.el (move-to-window-line-last-op): Remove.
15592         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15594 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
15596         Make M-r mirror the new cycling behavior of C-l.
15597         * window.el (move-to-window-line-last-op): New var.
15598         (move-to-window-line-top-bottom): New command.
15599         (global-map): Bind M-r move-to-window-line-top-bottom.
15601 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
15603         * dired-x.el (dired-guess-shell-alist-default):
15604         Support xz format.  (Bug#4953)
15606 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
15608         * emulation/viper-cmd.el: Use viper-last-command-char instead of
15609         last-command-char/last-command-event.
15610         (viper-prefix-arg-value): Do correct conversion of event-char for
15611         XEmacs.
15613         * emulation/viper-util.el, emulation/viper.el:
15614         Use viper-last-command-char instead of
15615         last-command-char/last-command-event.
15617         * ediff-init.el, ediff-mult.el, ediff-util.el:
15618         Replace last-command-char and last-command-event
15619         with (ediff-last-command-char) everywhere.
15621         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15622         created in fundamental mode.
15624         * ediff.el (ediff-version): Revert the change of interactive-p to
15625         called-interactively-p.
15627 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
15629         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15630         generation from word-movement command names.
15632 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
15634         * cus-start.el (all): Add native condition for font-use-system-font.
15636 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
15638         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15639         Correct the patch from 2009-11-18.  (Bug#3910)
15641 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
15643         * progmodes/subword.el: Rename from lisp/subword.el.
15645         * subword.el: Rename to progmodes/subword.el.
15647         * Makefile.in (ELCFILES): Adapt to subword.el move.
15649 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15650             Stefan Monnier  <monnier@iro.umontreal.ca>
15652         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15653         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15654         (bookmark-bmenu-show-filenames): Use push.
15655         (bookmark-bmenu-hide-filenames): Use local var instead of
15656         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
15657         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15658         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15659         filenames now that the bookmark names are always available.
15661 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15663         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15664         (bookmark-search-pattern): Move and leave unbound.
15665         (bookmark-bmenu-mode-map): Change binding.
15666         (bookmark-read-search-input): Simplify.
15667         Don't use text-char-description.  Don't error on non-char events.
15668         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15669         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15670         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15671         Use a local var for the timer.
15672         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15673         (i.e. bookmark-bmenu-search).
15675 2009-11-21  Glenn Morris  <rgm@gnu.org>
15677         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
15679 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15681         * net/browse-url.el (browse-url-default-windows-browser):
15682         Use cygstart for cygwin.
15684 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
15686         * bookmark.el: Formatting and doc fixes only:
15687         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15688         (bookmark-bmenu-search): Wrap to fit within 80 columns.
15689         Minor grammar and punctuation fixes in doc string.
15690         (bookmark-read-search-input): Adjust to fit within 80 columns.
15692 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15694         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15695         (c-backward-into-nomenclature): Adapt to subword renaming.
15697         * subword.el (subword-forward, subword-backward, subword-mark)
15698         (subword-kill, subword-backward-kill, subword-transpose)
15699         (subword-downcase, subword-upcase, subword-capitalize)
15700         (subword-forward-internal, subword-backward-internal):
15701         Rename from forward-subword, backward-subword, mark-subword,
15702         kill-subword, backward-kill-subword, transpose-subwords,
15703         downcase-subword, upcase-subword, capitalize-subword,
15704         forward-subword-internal, backward-subword-internal.
15706 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15708         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15709         New options.
15710         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15711         New vars.
15712         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15713         (bookmark-bmenu-filter-alist-by-regexp)
15714         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15715         (bookmark-bmenu-search): New command.
15716         (bookmark-bmenu-mode-map): Bind it.
15718 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15720         * progmodes/cc-cmds.el: declare-functioned forward-subword and
15721         backward-subword to quit the byte-compiler.
15723         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15725         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15727         * progmodes/cc-cmds.el (c-update-modeline)
15728         (c-forward-into-nomenclature, c-backward-into-nomenclature):
15729         Refer to subword.el functions instead of cc-subword.el.
15731         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15732         subword.el functions instead of cc-subword.el.
15734         * progmodes/cc-subword.el: Rename to subword.el.
15735         * subword.el: Rename from progmodes/cc-subword.el.
15736         (subword-mode-map): Rename from c-subword-mode-map.
15737         (subword-mode): Rename from c-subword-mode.
15738         (global-subword-mode): New global minor mode.
15739         (forward-subword): Rename from c-forward-subword.
15740         (backward-subword): Rename from c-backward-subword.
15741         (mark-subword): Rename from c-mark-subword.
15742         (kill-subword): Rename from c-kill-subword.
15743         (backward-kill-subword): Rename from c-backward-kill-subword.
15744         (transpose-subwords): Rename from c-tranpose-subword.
15745         (downcase-subword): Rename from c-downcase-subword.
15746         (capitalize-subword): Rename from c-capitalize-subword.
15747         (forward-subword-internal): Rename from c-forward-subword-internal.
15748         (backward-subword-internal): Rename from c-backward-subword-internal.
15750 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
15752         * vc.el (vc-deduce-fileset): Allow non-state changing operations
15753         from a dired buffer.
15754         (vc-dired-deduce-fileset): New function.
15755         (vc-root-diff, vc-print-root-log): Use it.
15757         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15758         nil LIMIT argument to vc-print-log-internal.
15760 2009-11-20  Glenn Morris  <rgm@gnu.org>
15762         * Makefile.in (ELCFILES): Regenerate.
15764 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
15766         * calc/calc.el (calc-set-mode-line):
15767         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15768         (math-format-number): Rename `math-format-complement-signed' to
15769         `math-format-twos-complement'.
15771         * calc/calc-bin.el (math-format-twos-complement): Rename from
15772         math-format-complement-signed.
15773         (calc-radix): Rename `calc-complement-signed-mode' to
15774         `calc-twos-complement-mode'.
15775         (calc-octal-radix, calc-hex-radix): Add an argument for
15776         two's complement.
15778         * calc/calc-embed.el (calc-embedded-mode-vars):
15779         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15781         * calc/calc-ext.el (calc-init-extensions):
15782         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15783         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15785         * calc/calc-units.el (math-build-units-table-buffer):
15786         Let `calc-twos-complement-mode' be nil.
15788         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15789         entries.
15791         * calc/calc-vec.el (calcFunc-vunpack):
15792         * calc/calc-aent.el (calc-do-calc-eval):
15793         * calc/calc-forms.el (math-format-date):
15794         * calc/calc-graph.el (calc-graph-plot):
15795         * calc/calc-math.el (math-use-emacs-fn):
15796         * calc/calccomp.el (math-compose-expr):
15797         Let `calc-twos-complement-mode' be nil.
15799 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15801         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15802         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
15803         * minibuffer.el (completion-in-region-functions): New hook.
15804         (completion-in-region): New function.
15805         * emacs-lisp/lisp.el (lisp-complete-symbol):
15806         * pcomplete.el (pcomplete-std-complete): Use it.
15808 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15810         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15811         (latex-complete-alist): New vars.
15812         (latex-string-prefix-p, latex-complete-bibtex-keys)
15813         (latex-complete-envnames, latex-complete-refkeys)
15814         (latex-complete-data): New functions.
15815         (latex-complete, latex-indent-or-complete): New commands.
15817         * window.el (display-buffer-mark-dedicated): New var.
15818         (display-buffer): Obey it.
15819         * minibuffer.el (minibuffer-completion-help): Use it.
15821         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15823         * filecache.el (file-cache-add-file): Use push and cons.
15824         (file-cache-delete-file-regexp): Use push.
15825         (file-cache-complete): Use completion-in-region.
15827         * simple.el (with-wrapper-hook): Fix thinko.
15829         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15830         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15831         Use with-current-buffer and string-to-number.
15832         (hfy-fallback-colour-values): Use assoc-string.
15833         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15834         (hfy-face-at): Remove unused var `found-face'.
15835         (hfy-compile-stylesheet): Remove unused var `css'.
15836         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15837         and `orig-buffer'.
15838         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15839         Use with-current-buffer.
15840         (hfy-text-p): Use expand-file-name and fewer setq.
15842 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
15844         * htmlfontify.el, hfy-cmap.el: New files.
15846 2009-11-19  Juri Linkov  <juri@jurta.org>
15848         * minibuffer.el (completions-format): New defcustom.
15849         (completion--insert-strings): Implement vertical format.
15851         * simple.el (switch-to-completions): Move point to the first
15852         completion when point was at the beginning of the buffer.
15854 2009-11-19  Juri Linkov  <juri@jurta.org>
15856         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
15858         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15860 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
15862         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15863         (mail-signature): Change default to t.
15864         (mail-from-style): Deprecate `system-default' value.
15865         (mail-insert-from-field): For default value of mail-from-style,
15866         default to `angles' unless `angles' needs quoting and `parens'
15867         does not.
15868         (mail-citation-prefix-regexp): Use citation regexp from
15869         message-mode.
15871 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
15873         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15874         Set variables for computing the prompt for reading password.
15876 2009-11-19  Glenn Morris  <rgm@gnu.org>
15878         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
15880         * textmodes/flyspell.el (sgml-lexical-context): Declare.
15882         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15883         (newsticker-treeview-listwindow-height): Fix custom type.
15885 2009-11-19  Kenichi Handa  <handa@m17n.org>
15887         * descr-text.el (describe-char-padded-string): Compose with TAB
15888         only if there's a font for CH.
15889         (describe-char): Fix the condition for detecting a trivial composition.
15891 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
15893         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15894         more accurate version of the regexp.  (Bug#3910)
15896 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15898         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15900 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
15902         * font-setting.el (font-use-system-font): Declare for byte-compiler.
15903         (font-setting-change-default-font): Fix typo in docstring.
15905 2009-11-18  Alan Mackenzie  <acm@muc.de>
15907         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15909 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15911         * font-setting.el (font-use-system-font): Move ...
15913         * cus-start.el (all): ... to here.
15915 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
15917         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15918         Don't set `ad-return-value' if `ad-do-it' doesn't.
15920         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15921         modification time.
15923 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15925         * menu-bar.el: Put "Use system font" in Option-menu.
15926         (menu-bar-options-save): Add font-use-system-font.
15928         * loadup.el: If feature system-font-setting or font-render-setting is
15929         there, load font-setting.
15931         * Makefile.in (ELCFILES): Add font-settings.el.
15932         * font-setting.el: New file.
15934 2009-11-17  Glenn Morris  <rgm@gnu.org>
15936         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15938         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15939         Preserve point in the list buffer.  (Bug#4939)
15940         Use point-at-eol.
15941         (newsticker--treeview-list-update-highlight)
15942         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15944 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15946         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15947         Remove.
15949         * calc/calc-ext.el (calc-init-extensions): Remove references to
15950         symclip.
15952         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15954         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15955         * calc/calc-help.el (calc-b-prefix-help): Remove references to
15956         `calc-symclip'.
15958 2009-11-16  Kevin Ryde  <user42@zip.com.au>
15960         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15961         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15963         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15964         (lm-keywords-list): Allow comma-only separator like "foo,bar".
15965         Ignore trailing spaces by omit-nulls to split-string (fixing
15966         regression from Emacs 21 due to the incompatible split-string
15967         change).  (Bug #4928.)
15969 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
15971         * vc.el (vc-log-show-limit): Default to 2000.
15972         (vc-print-log-internal): Insert buttons to request more entries
15973         when limiting the output.
15975         * vc-sccs.el (vc-sccs-print-log):
15976         * vc-rcs.el (vc-rcs-print-log):
15977         * vc-cvs.el (vc-cvs-print-log):
15978         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15979         LIMIT is non-nil.
15981 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15983         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15984         error when `tramp-gvfs-dbus-event-vector' is set.
15985         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15987 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15989         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15991 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15993         * net/dbus.el (dbus-unregister-service): New defun.
15994         (dbus-register-property): Register the handlers of
15995         "org.freedesktop.DBus.Properties" for SERVICE.
15996         (dbus-property-handler): Fix docstring.
15998 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16000         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16001         Quote doc string reference in defvaralias as it is not in special form.
16002         (byte-compile-output-docform): Doc fix.
16004 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
16006         * calc/calc.el (math-2-word-size, math-half-2-word-size)
16007         (calc-complement-signed-mode): New variables.
16008         (calc-set-mode-line): Add indicator for twos-complements.
16009         (math-format-number): Format twos-complement notation.
16011         * calc/calc-bin.el (calc-word-size): Reset the variables
16012         `math-2-word-size' and `math-half-2-word-size'.
16013         (math-format-complement-signed, math-symclip, calcFunc-symclip)
16014         (calc-symclip): New functions.
16016         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16018         * calc/calc-embed.el (calc-embedded-mode-vars):
16019         Add `calc-complement-signed-mode' to the list of modes.
16021         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16022         (calc-b-oper-keys): Add `calc-symclip' to list.
16024         * calc/calc-ext.el (math-read-number-fancy): Read complement
16025         signed numbers.
16026         (calc-init-extensions): Add binding for `calc-symclip'.
16027         Add autoload for `calcFunc-symclip' and `calc-symclip'.
16029         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16030         `calc-symclip'.
16031         (calc-modes-menu): Add item for twos complement mode.
16033         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16035 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16037         * register.el (jump-to-register, insert-register): Handle Semantic
16038         tags.  From commented-out advice in semantic/senator.el.
16040 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
16042         * vc.el (vc-log-show-limit): New variable.
16043         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
16044         when using a prefix argument.
16045         (vc-print-log-internal): Add new argument LIMIT.
16047         * vc-svn.el (vc-svn-print-log):
16048         * vc-mtn.el (vc-mtn-print-log):
16049         * vc-hg.el (vc-hg-print-log):
16050         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16051         pass it to the log command when set.  Make the BUFFER argument
16052         non-optional.
16054         * vc-sccs.el (vc-sccs-print-log):
16055         * vc-rcs.el (vc-rcs-print-log):
16056         * vc-git.el (vc-git-print-log):
16057         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16058         ignore it.  Make the BUFFER argument non-optional.
16060         * bindings.el (mode-line-buffer-identification): Do not purecopy.
16062 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16064         * dired.el (dired-mode-map): Move encryption items to "Operate"
16065         menu (Bug#4703).
16067         * strokes.el (strokes-update-window-configuration): Make strokes
16068         buffer current before erasing (Bug#4906).
16070 2009-11-15  Juri Linkov  <juri@jurta.org>
16072         * simple.el (set-mark-default-inactive): Add :type, :group
16073         and :version.  (Bug#4876)
16075 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
16077         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16078         (archive-unique-fname): ... here.  (Bug#4929)
16080 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16082         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16083         with a real fix.
16085         * novice.el (disabled-command-function): Add useful args.
16086         Setup the help buffer so that [back] works.
16087         Remove redundant call to help-mode.
16088         (disabled-command-function): Use `case'.
16089         (en/disable-command): New function extracted from enable-command.
16090         (enable-command, disable-command): Use it.
16092 2009-11-14  Glenn Morris  <rgm@gnu.org>
16094         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16095         constants.  (Bug#4913)
16097         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16099 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
16101         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16102         defined in C that have no doc-strings.  (Bug#1063)
16104 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
16106         * cus-edit.el (data, files):
16107         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
16109 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
16111         * simple.el (shell-command): Doc fix (Bug#4891).
16113         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16115 2009-11-14  Glenn Morris  <rgm@gnu.org>
16117         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16118         statements for vc-diff, emerge-quit, and rmail-cease-edit.
16119         If they are already loaded, eval-after-load will do the right thing.
16121         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16122         compiling.
16124         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16126         * simple.el (x-selection-owner-p): Declare.
16127         (read-mail-command): Use custom radio type rather than choice.
16128         (completion-no-auto-exit): Doc fix.
16130         * custom.el (defgroup):
16131         * epg-config.el (epg): Doc fixes.
16133 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
16135         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16136         * international/ccl.el (define-ccl-program): Do not purecopy the
16137         docstring, defconst does it anyway.
16139 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16141         * add-log.el (add-change-log-entry): Avoid displaying the changelog
16142         a second time.
16144         * x-dnd.el (x-dnd-maybe-call-test-function):
16145         * window.el (split-window-vertically):
16146         * whitespace.el (whitespace-help-on):
16147         * vc-rcs.el (vc-rcs-consult-headers):
16148         * userlock.el (ask-user-about-lock-help)
16149         (ask-user-about-supersession-help):
16150         * type-break.el (type-break-force-mode-line-update):
16151         * time-stamp.el (time-stamp-conv-warn):
16152         * terminal.el (te-set-output-log, te-more-break, te-filter)
16153         (te-sentinel, terminal-emulator):
16154         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16155         (term-write-input-ring, term-check-source, term-start-output-log):
16156         (term-display-buffer-line, term-dynamic-list-completions):
16157         (term-ansi-make-term, serial-term):
16158         * subr.el (selective-display):
16159         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16160         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16161         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16162         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16163         (speedbar-remove-localized-speedbar-support)
16164         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16165         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16166         (speedbar-buffers-line-directory):
16167         * simple.el (shell-command-on-region, append-to-buffer)
16168         (prepend-to-buffer):
16169         * shadowfile.el (shadow-save-todo-file):
16170         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16171         (scroll-bar-maybe-set-window-start):
16172         * sb-image.el (speedbar-image-dump):
16173         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16174         (load-save-place-alist-from-file):
16175         * ps-samp.el (ps-print-message-from-summary):
16176         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16177         (ps-background-image, ps-begin-job, ps-do-despool):
16178         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16179         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16180         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16181         (pr-call-process, pr-file-list, pr-interface-save):
16182         * novice.el (disabled-command-function)
16183         (enable-command, disable-command):
16184         * mouse.el (mouse-buffer-menu-alist):
16185         * mouse-copy.el (mouse-kill-preserving-secondary):
16186         * macros.el (kbd-macro-query):
16187         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16188         * informat.el (batch-info-validate):
16189         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16190         * hippie-exp.el (try-expand-dabbrev-visible):
16191         * help-mode.el (help-make-xrefs):
16192         * help-fns.el (describe-variable):
16193         * generic-x.el (bat-generic-mode-run-as-comint):
16194         * finder.el (finder-mouse-select):
16195         * find-dired.el (find-dired-sentinel):
16196         * filesets.el (filesets-file-close):
16197         * files.el (list-directory):
16198         * faces.el (list-faces-display, describe-face):
16199         * facemenu.el (list-colors-display):
16200         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16201         * epg.el (epg--process-filter, epg-cancel):
16202         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16203         (epa--read-signature-type):
16204         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16205         (emerge-file-names):
16206         * ehelp.el (electric-helpify):
16207         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16208         * ediff-vers.el (rcs-ediff-view-revision):
16209         * ediff-util.el (ediff-setup):
16210         * ediff-mult.el (ediff-append-custom-diff):
16211         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16212         (ediff-wordify):
16213         * echistory.el (Electric-command-history-redo-expression):
16214         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16215         * disp-table.el (describe-display-table):
16216         * dired.el (dired-find-buffer-nocreate):
16217         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16218         * dabbrev.el (dabbrev--same-major-mode-p):
16219         * chistory.el (list-command-history):
16220         * apropos.el (apropos-documentation):
16221         * allout.el (allout-obtain-passphrase):
16222         (allout-copy-exposed-to-buffer):
16223         (allout-verify-passphrase): Use with-current-buffer.
16225 2009-11-13  Glenn Morris  <rgm@gnu.org>
16227         * Makefile.in (ELCFILES): Regenerate.
16229 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
16231         * net/dbus.el (dbus-registered-objects-table): Rename from
16232         `dbus-registered-functions-table', because it contains also properties.
16233         (dbus-unregister-object): Unregister also properties.
16234         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16235         Use a timeout of 500 msec, in order to not block.
16236         (dbus-register-property, dbus-property-handler): New defuns.
16238 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16240         * simple.el (minibuffer-default-add-completions): Drop deprecated
16241         4th arg.
16243 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
16245         * textmodes/artist.el (artist-mouse-choose-operation):
16246         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16247         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16248         (artist-compute-up-event-key): New function.
16249         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16251 2009-11-13  Kenichi Handa  <handa@m17n.org>
16253         * language/japan-util.el: Make sure that the value of jisx0208
16254         property is jisx0208 character.
16256 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
16258         * international/mule.el (auto-coding-regexp-alist): Only purecopy
16259         car or each item, not the whole list.
16261 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16263         * minibuffer.el (minibuffer-completion-help):
16264         Use minibuffer-hide-completions.
16266 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
16268         * dired.el (dired-save-positions, dired-restore-positions): New funs.
16269         (dired-revert): Use them (bug#4880).
16271 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16273         * tooltip.el (tooltip-frame-parameters): Undo previous change.
16275 2009-11-12  Juri Linkov  <juri@jurta.org>
16277         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16278         New functions.
16279         (find-file-literally-at-point): Alias of `ffap-literally'.
16281 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16283         * textmodes/ispell.el (ispell-skip-region-alist):
16284         * textmodes/css-mode.el (auto-mode-alist):
16285         * progmodes/compile.el (auto-mode-alist):
16286         * international/mule.el (ctext-non-standard-encodings-alist)
16287         (ctext-non-standard-encodings-regexp):
16288         * simple.el (shell-command-switch, text-read-only):
16289         * replace.el (occur-mode-map):
16290         * paths.el (rmail-file-name):
16291         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16292         * find-file.el (ff-special-constructs):
16293         * files.el (file-name-handler-alist):
16294         * composite.el: Purecopy strings.
16296         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16298 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16300         * widget.el (define-widget): Purecopy the docstring.
16301         * international/mule-cmds.el (charset): Do not purecopy the
16302         docstring here, define-widget does it.
16304         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16305         * textmodes/bibtex-style.el (auto-mode-alist):
16306         * progmodes/inf-lisp.el (inferior-lisp-prompt):
16307         * progmodes/compile.el (compile-command):
16308         * language/korea-util.el (default-korean-keyboard):
16309         * international/mule-conf.el (file-coding-system-alist):
16310         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16311         * tooltip.el (tooltip-frame-parameters):
16312         * newcomment.el (comment-end, comment-padding):
16313         * dired.el (dired-trivial-filenames):
16314         * comint.el (comint-file-name-prefix): Purecopy initial values.
16316 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
16318         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16319         (tramp-advice-minibuffer-electric-tilde): Unload advices via
16320         `tramp-unload'.
16321         (tramp-advice-make-auto-save-file-name)
16322         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16323         after removing the advice.
16325 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16327         * progmodes/grep.el (grep-regexp-alist):
16328         * international/mule-cmds.el (iso-2022-control-alist):
16329         * emacs-lisp/timer.el (timer-duration-words):
16330         * subr.el (version-separator, version-regexp-alist):
16331         * minibuffer.el (completion-styles-alist):
16332         * faces.el (face-attribute-name-alist, list-faces-sample-text):
16333         Change defvars to defconsts.
16335         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16336         * loadup.el ("international/mule-conf"): Load the byte compiled version.
16337         * international/mule-conf.el: Allow to be byte compiled.
16339         * international/mule.el (define-charset): Purecopy props.
16340         (load-with-code-conversion): Purecopy doc string and file name.
16341         (put-charset-property): Purecopy strings.
16342         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16344         * international/mule-cmds.el (register-input-method): Purecopy arguments.
16345         (define-char-code-property): Correctly purecopy the table.
16347         * international/ccl.el (define-ccl-program): Purecopy the docstring.
16349         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16351         * subr.el (add-hook): Purecopy strings.
16352         (eval-after-load): Purecopy load-history-regexp and the form.
16354         * custom.el (custom-declare-group): Purecopy load-file-name.
16356         * subr.el (menu-bar-separator): New defconst.
16357         * net/eudc.el (eudc-tools-menu):
16358         * international/mule-cmds.el (set-coding-system-map)
16359         (mule-menu-keymap):
16360         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16361         * vc-hooks.el (vc-menu-map):
16362         * replace.el (occur-mode-map):
16363         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16364         (menu-bar-edit-menu, menu-bar-goto-menu)
16365         (menu-bar-custom-menu, menu-bar-showhide-menu)
16366         (menu-bar-options-menu, menu-bar-tools-menu)
16367         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16368         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16369         (menu-bar-help-menu):
16370         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16371         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16373         * term/x-win.el (x-gtk-stock-map):
16374         * progmodes/vera-mode.el (auto-mode-alist):
16375         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16376         (inferior-lisp-program, inferior-lisp-load-command):
16377         * progmodes/hideshow.el (hs-special-modes-alist):
16378         * progmodes/gud.el (same-window-regexps):
16379         * progmodes/grep.el (grep-program, find-program, xargs-program):
16380         * net/telnet.el (same-window-regexps):
16381         * net/rlogin.el (same-window-regexps):
16382         * language/ethiopic.el (font-ccl-encoder-alist):
16383         * vc-sccs.el (vc-sccs-master-templates):
16384         * vc-rcs.el (vc-rcs-master-templates):
16385         * subr.el (cl-assertion-failed):
16386         * simple.el (next-error-overlay-arrow-position):
16387         * lpr.el (lpr-command):
16388         * locate.el (locate-ls-subdir-switches):
16389         * info.el (same-window-regexps, info)
16390         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16391         * image-mode.el (image-mode, auto-mode-alist):
16392         * hippie-exp.el (hippie-expand-ignore-buffers):
16393         * format.el (format-alist):
16394         * find-dired.el (find-ls-subdir-switches, find-grep-options)
16395         (find-name-arg):
16396         * facemenu.el (facemenu-keybindings):
16397         * dired.el (dired-listing-switches, dired-chown-program):
16398         * diff.el (diff-switches, diff-command):
16399         * cus-edit.el (same-window-regexps):
16400         * bindings.el (mode-line-mule-info)
16401         (mode-line-buffer-identification): Purecopy strings.
16403 2009-11-11  Juri Linkov  <juri@jurta.org>
16405         * simple.el (dired-get-filename) <declare-function>:
16406         Tell the byte-compiler about dired-get-filename.
16407         (shell-command): In Dired mode, get filename from the current line
16408         as the default value.
16410 2009-11-10  Glenn Morris  <rgm@gnu.org>
16412         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16413         * calendar/holidays.el, progmodes/cperl-mode.el:
16414         Update x-popup-menu declarations.
16416         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16417         (list-load-path-shadows): Use dolist.
16418         (list-load-path-shadows): Use with-current-buffer.
16420 2009-11-10  Juri Linkov  <juri@jurta.org>
16422         * minibuffer.el (read-file-name): Support a list of default values
16423         in `default-filename'.  Use the first file name where only one
16424         element is required.  Doc fix.
16426 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
16428         * net/dbus.el (dbus-unregister-object): Release service, if no
16429         other method is registered for it.
16431 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
16433         * bookmark.el (bookmark-completing-read): Sort bookmark names if
16434         bookmark-sort-flag is non-nil (Bug#4653).
16436 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16438         * emulation/cua-base.el: Add CUA property to some CC mode commands
16439         (Bug#4100).
16441 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16443         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16444         at end of sentence (Bug#4818).
16446 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
16448         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16449         Handle "see declaration of" MSFT statements (Bug#4100).
16451 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
16453         * net/tramp.el (tramp-advice-make-auto-save-file-name)
16454         (tramp-advice-file-expand-wildcards): Unload via
16455         `ad-remove-advice'.
16457         * net/trampver.el: Update release number.
16459 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16461         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16462         `ad-do-it'.
16464 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
16466         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16467         in order to keep context in SELinux.
16469 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16471         * dired-aux.el (dired-query): Place cursor in echo area and allow
16472         C-g.
16474         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16475         menu item if not on a directory (Bug#4701).
16477 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
16479         Sync with Tramp 2.1.17.
16481         * net/tramp.el (tramp-handle-copy-directory): Don't use
16482         `file-remote-p' (due to compatibility).
16484         * net/tramp-compat.el (tramp-compat-copy-directory)
16485         (tramp-compat-delete-directory): New defuns.
16487         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16488         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16489         Use `tramp-compat-delete-directory'.
16491         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16492         (tramp-smb-handle-delete-directory):
16493         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16495         * net/trampver.el: Update release number.
16497 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
16499         * tar-mode.el (tar-copy): Call write-region on the right buffer
16500         (Bug#4857).
16502         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16503         by hand, if necessary (Bug#4878).
16505 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
16507         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16508         align size column (Bug#4839).
16510         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16511         statement.
16513 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16515         * progmodes/ld-script.el (auto-mode-alist):
16516         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16518         * cus-face.el (custom-declare-face): Purecopy face spec.
16520 2009-11-06  Kenichi Handa  <handa@m17n.org>
16522         * international/uni-bidi.el: Re-generated.
16523         * international/uni-category.el: Re-generated.
16524         * international/uni-combining.el: Re-generated.
16525         * international/uni-mirrored.el: Re-generated.
16527 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16529         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16530         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16531         (tex-start-options, slitex-run-command, latex-run-command)
16532         (tex-run-command, tex-directory):
16533         * textmodes/ispell.el (ispell-html-skip-alists)
16534         (ispell-tex-skip-alists, ispell-tex-skip-alists):
16535         * textmodes/fill.el (adaptive-fill-first-line-regexp):
16536         (adaptive-fill-regexp):
16537         * textmodes/dns-mode.el (auto-mode-alist):
16538         * progmodes/python.el (interpreter-mode-alist):
16539         * progmodes/etags.el (tags-compression-info-list):
16540         * progmodes/etags.el (tags-file-name):
16541         * net/browse-url.el (browse-url-galeon-program)
16542         (browse-url-firefox-program):
16543         * mail/sendmail.el (mail-signature-file)
16544         (mail-citation-prefix-regexp):
16545         * international/mule-conf.el (eight-bit):
16546         * international/latexenc.el (latex-inputenc-coding-alist):
16547         * international/fontset.el (x-pixel-size-width-font-regexp):
16548         * emacs-lisp/warnings.el (warning-type-format):
16549         * emacs-lisp/trace.el (trace-buffer):
16550         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16551         (emacs-lisp-mode-map):
16552         * calendar/holidays.el (holiday-solar-holidays)
16553         (holiday-bahai-holidays, holiday-islamic-holidays)
16554         (holiday-christian-holidays, holiday-hebrew-holidays)
16555         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16556         (hebrew-holidays-1, holiday-oriental-holidays)
16557         (holiday-general-holidays):
16558         * x-dnd.el (x-dnd-known-types):
16559         * tool-bar.el (tool-bar):
16560         * startup.el (site-run-file):
16561         * shell.el (shell-dumb-shell-regexp):
16562         * rfn-eshadow.el (file-name-shadow-tty-properties)
16563         (file-name-shadow-properties):
16564         * paths.el (remote-shell-program, news-directory):
16565         * mouse.el ([C-down-mouse-3]):
16566         * menu-bar.el (menu-bar-tools-menu):
16567         * jka-cmpr-hook.el (jka-compr-load-suffixes)
16568         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16569         (jka-compr-compression-info-list):
16570         * isearch.el (search-whitespace-regexp):
16571         * image-file.el (image-file-name-extensions):
16572         * find-dired.el (find-ls-option):
16573         * files.el (directory-listing-before-filename-regexp)
16574         (directory-free-space-args, insert-directory-program)
16575         (list-directory-brief-switches, magic-fallback-mode-alist)
16576         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16577         (automount-dir-prefix):
16578         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16579         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16580         (face-font-registry-alternatives, face-font-registry-alternatives)
16581         (face-font-family-alternatives):
16582         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16583         (facemenu-foreground-menu, facemenu-face-menu):
16584         * epa-hook.el (epa-file-name-regexp):
16585         * dnd.el (dnd-protocol-alist):
16586         * textmodes/rst.el (auto-mode-alist):
16587         * button.el (default-button): Purecopy strings.
16589 2009-11-06  Glenn Morris  <rgm@gnu.org>
16591         * Makefile.in (ELCFILES): Update.
16593 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16595         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16596         * emacs-lisp/levents.el: Move to obsolete/levents.el.
16598         * nxml/xsd-regexp.el (xsdre-gen-categories):
16599         * nxml/xmltok.el (xmltok-parse-entity):
16600         * nxml/rng-parse.el (rng-parse-validate-file):
16601         * nxml/rng-maint.el (rng-format-manual)
16602         (rng-manual-output-force-new-line):
16603         * nxml/rng-loc.el (rng-save-schema-location-1):
16604         * nxml/rng-cmpct.el (rng-c-parse-file):
16605         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16606         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16608 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
16610         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16611         Remove extra save-excursions and make-variable-buffer-local's.
16612         Suggested by Stefan Monnier.
16614         (verilog-getopt-file, verilog-module-inside-filename-p)
16615         (verilog-set-define): Merge GNU 1.35 and repair changes from
16616         switching to using with-current-buffer.
16618         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16619         being treated as a number and confusing AUTORESET.
16620         Reported by Dan Dever.
16622         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16623         Add verilog-auto-ignore-concat to fix backward compatibility with
16624         older verilog-modes.  Reported by Dan Katz.
16626         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16627         containing closing anchors "...$".
16629         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16630         Reported by Wade Smith.
16632         (verilog-batch-execute-func): Comment on function usage.
16634 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
16636         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16637         for labels.
16639         (verilog-label-re, verilog-calc-1): Support proper indent of named
16640         asserts.
16642         (verilog-backward-token, verilog-basic-complete-re)
16643         (verilog-beg-of-statement, verilog-indent-re): Support proper
16644         indent of the assert statement at the beginning of a block of text.
16646         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16647         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16648         tokens as begins.
16650 2009-11-05  Glenn Morris  <rgm@gnu.org>
16652         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16653         Emacs 19.  (Bug#1531)
16654         (byte-compile-fix-header): Update for the above change.
16655         Drop test for epoch::version.
16657         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16658         * cus-dep.el (custom-make-dependencies):
16659         * finder.el (finder-compile-keywords):
16660         Use autoload-rubric's feature argument.
16662         * calendar/diary-lib.el (top-level): Make load behave more like require.
16664         * vc-git.el (vc-git-stash-map): Move definition before use.
16666 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
16668         * custom.el (custom-declare-group): Purecopy standard-value.
16669         (custom-declare-group): Purecopy custom-prefix.
16671         * international/mule.el (load-with-code-conversion):
16672         Call do-after-load-evaluation unconditionally.
16674         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16676 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16678         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16680 2009-11-04  Glenn Morris  <rgm@gnu.org>
16682         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16683         (byte-compile-compatibility): Remove option.
16684         (byte-compile-close-variables, byte-compile-fix-header)
16685         (byte-compile-insert-header, byte-compile-output-docform)
16686         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16687         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16688         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16689         (byte-compile-insert, byte-compile-defun):
16690         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
16691         (byte-defop-compiler19): Remove.
16692         Without byte-compile-compatibility, the 'emacs19-opcode property is not
16693         used by anything.  Replace all calls with byte-defop-compiler.
16695 2009-11-04  Juri Linkov  <juri@jurta.org>
16697         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16698         (menu-bar-options-menu): Don't quote the `prop' arg of
16699         `menu-bar-make-mm-toggle'.
16701 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
16703         * calendar/calendar.el (cal-loaddefs):
16704         * calendar/diary-lib.el (diary-loaddefs):
16705         * calendar/holidays.el (hol-loaddefs):
16706         * eshell/esh-module.el (esh-groups): Load rather than require.
16708 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16710         * calendar/todo-mode.el (todo-add-category): Don't hardcode
16711         point-min==1.
16712         (todo-top-priorities): Only display-buffer when called interactively.
16713         (todo-item-start): Don't save excursion point.
16714         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
16715         (todo-insert-item-here, todo-file-item, todo-remove-item):
16716         Adjust uses of todo-item-start and todo-item-end.
16718         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16719         (autoload-rubric): Don't use any more.
16721         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16722         and only put a prop if it is non-nil.
16724 2009-11-03  Juri Linkov  <juri@jurta.org>
16726         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16727         (menu-bar-options-menu): Fix list quoting (Bug#4429).
16729         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16730         and "Menu" to make top-level menu item visually one unit (like
16731         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16732         multi-word menu items).  Fix :help string for quit-window.
16734 2009-11-03  Glenn Morris  <rgm@gnu.org>
16736         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16737         (byte-compile-file-form-define-abbrev-table)
16738         (byte-compile-file-form-custom-declare-variable)
16739         (byte-compile-variable-ref, byte-compile-defvar):
16740         Whether or not a warning is enabled should only affect whether we issue
16741         the warning, not whether or not we collect the relevant data.
16742         Eg warnings can be turned on and off throughout the course of a file.
16744         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16745         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16747 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16749         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16750         * play/mpuz.el (mpuz-create-buffer):
16751         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16752         (lm-print-y,s,noise, lm-print-w0, lm-init):
16753         * play/gomoku.el (gomoku-prompt-for-move):
16754         * play/fortune.el (fortune-in-buffer):
16755         * play/dissociate.el (dissociated-press):
16756         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16757         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16758         * mail/supercite.el (sc-eref-show):
16759         * mail/smtpmail.el (smtpmail-send-it):
16760         * mail/rmailsum.el (rmail-summary-next-labeled-message)
16761         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16762         (rmail-summary-undelete-many, rmail-summary-rmail-update)
16763         (rmail-summary-goto-msg, rmail-summary-expunge)
16764         (rmail-summary-get-new-mail, rmail-summary-search-backward)
16765         (rmail-summary-add-label, rmail-summary-output-menu)
16766         (rmail-summary-output-body):
16767         * mail/rfc822.el (rfc822-addresses):
16768         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16769         * mail/mailpost.el (post-mail-send-it):
16770         * mail/hashcash.el (hashcash-generate-payment):
16771         * mail/feedmail.el (feedmail-run-the-queue)
16772         (feedmail-queue-send-edit-prompt-help-first)
16773         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16774         (feedmail-deduce-address-list):
16775         * eshell/esh-ext.el (eshell-remote-command):
16776         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16777         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16778         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16779         (viper-save-string-in-file, viper-valid-marker):
16780         * emulation/viper-keym.el (viper-toggle-key):
16781         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16782         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16783         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16784         * emulation/viper-cmd.el (viper-exec-form-in-vi)
16785         (viper-exec-form-in-emacs, viper-brac-function):
16786         * emulation/viper.el (viper-delocalize-var):
16787         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16788         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16789         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16790         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16791         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16792         * emulation/edt.el (edt-electric-helpify):
16793         * emulation/cua-rect.el (cua--rectangle-aux-replace):
16794         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16795         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16796         (cua-indent-to-global-mark-column):
16797         * calendar/diary-lib.el (calendar-mark-1):
16798         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16799         Use with-current-buffer.
16800         * emulation/viper.el (viper-delocalize-var): Use dolist.
16802 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
16804         * comint.el (comint-replace-by-expanded-history-before-point):
16805         Replace !! with the previous input string literally (Bug#1795).
16807 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
16809         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16810         to be made up of whitespace.
16812 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
16814         * minibuffer.el (read-file-name): Don't use file dialogs for
16815         remote directories (Bug#99).
16817 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
16819         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16821 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16823         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16824         instead of deleting the window or frame.
16826 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16828         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16829         Support face colors.
16831         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16832         New function.  Support face colors (Bug#1168).
16833         (tex-common-initialization): Use it.
16835         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16836         mode allows it (Bug#1168).
16838 2009-10-31  Juri Linkov  <juri@jurta.org>
16840         * facemenu.el (list-colors-display): Don't mark buffer as
16841         modified (Bug#3948).
16843 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16845         * international/mule-diag.el (list-character-sets-1):
16846         Minor message fix (Bug#3526).
16848         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16849         Fix face property (Bug#4834).
16850         (etags-list-tags, etags-tags-apropos-additional)
16851         (etags-tags-apropos, tags-select-tags-table): Add follow-link
16852         property.
16854         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16855         items.
16857 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16859         * textmodes/two-column.el (2C-split):
16860         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16861         * textmodes/tex-mode.el (tex-set-buffer-directory):
16862         * textmodes/spell.el (spell-region, spell-string):
16863         * textmodes/reftex.el (reftex-erase-buffer):
16864         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16865         * textmodes/reftex-toc.el (reftex-toc-promote-action):
16866         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16867         (reftex-select-item):
16868         * textmodes/reftex-ref.el (reftex-label-info-update)
16869         (reftex-offer-label-menu):
16870         * textmodes/reftex-index.el (reftex-index-change-entry)
16871         (reftex-index-phrases-info):
16872         * textmodes/reftex-global.el (reftex-create-tags-file)
16873         (reftex-save-all-document-buffers, reftex-ensure-write-access):
16874         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16875         (reftex-view-crossref-from-bibtex):
16876         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16877         (reftex-extract-bib-entries-from-thebibliography)
16878         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16879         * textmodes/refbib.el (r2b-capitalize-title):
16880         (r2b-convert-buffer, r2b-help):
16881         * textmodes/page-ext.el (pages-directory)
16882         (pages-directory-goto-with-mouse):
16883         * textmodes/bibtex.el (bibtex-validate-globally):
16884         * textmodes/bib-mode.el (bib-capitalize-title):
16885         * textmodes/artist.el (artist-clear-buffer, artist-system):
16886         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16887         (local-set-scheme-interaction-buffer, xscheme-process-filter)
16888         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16889         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16890         (xscheme-send-control-g-interrupt, xscheme-start-process)
16891         (xscheme-process-sentinel, xscheme-cd):
16892         * progmodes/verilog-mode.el (verilog-read-always-signals)
16893         (verilog-set-define, verilog-getopt-file)
16894         (verilog-module-inside-filename-p):
16895         * progmodes/sh-script.el:
16896         * progmodes/python.el (python-pdbtrack-get-source-buffer)
16897         (python-pdbtrack-grub-for-buffer, python-execute-file):
16898         * progmodes/octave-inf.el (inferior-octave):
16899         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16900         (idlwave-shell-compile-helper-routines, idlwave-set-local)
16901         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16902         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16903         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16904         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16905         (idlwave-shell-filter, idlwave-shell-examine-highlight)
16906         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16907         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16908         (idlwave-shell-examine-display, idlwave-shell-run-region)
16909         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16910         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16911         * progmodes/idlw-help.el (idlwave-help-get-special-help)
16912         (idlwave-help-get-help-buffer):
16913         * progmodes/gud.el (gud-basic-call, gud-find-class)
16914         (gud-tooltip-activate-mouse-motions-if-enabled):
16915         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16916         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16917         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16918         (ebrowse-tags-next-file):
16919         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16920         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16921         (ebnf-eps-finish-and-write):
16922         * progmodes/cpp.el (cpp-edit-save):
16923         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16924         * progmodes/cc-defs.el (c-emacs-features):
16925         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16926         (antlr-directory-dependencies):
16927         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16928         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16929         (ada-find-any-references, ada-make-filename-from-adaname)
16930         (ada-make-body-gnatstub):
16931         * obsolete/rnews.el (news-list-news-groups):
16932         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16933         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16934         * net/rcirc.el (rcirc-debug):
16935         * net/newst-treeview.el (newsticker--treeview-list-add-item)
16936         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16937         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16938         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16939         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16940         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16941         (newsticker--treeview-list-clear-highlight)
16942         (newsticker--treeview-list-update-highlight)
16943         (newsticker--treeview-list-highlight-start)
16944         (newsticker--treeview-tree-update-highlight)
16945         (newsticker--treeview-get-selected-item)
16946         (newsticker-treeview-mark-list-items-old)
16947         (newsticker--treeview-set-current-node):
16948         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16949         * net/newst-backend.el (newsticker--get-news-by-funcall)
16950         (newsticker--get-news-by-wget, newsticker--image-get)
16951         (newsticker--image-sentinel):
16952         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16953         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16954         (eudc-ph-close-session):
16955         * net/eudc.el (eudc-save-options):
16956         * language/thai-word.el (thai-update-word-table):
16957         * language/japan-util.el (japanese-string-conversion):
16958         * international/titdic-cnv.el (tsang-quick-converter)
16959         (ziranma-converter, ctlau-converter):
16960         * international/mule-cmds.el (describe-language-environment):
16961         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16962         (skkdic-convert-postfix, skkdic-convert-prefix):
16963         (skkdic-convert-okuri-nasi, skkdic-convert):
16964         * emacs-lisp/re-builder.el (reb-update-overlays):
16965         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16966         * emacs-lisp/gulp.el (gulp-send-requests):
16967         * emacs-lisp/find-gc.el (trace-call-tree):
16968         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16969         (eieio-describe-generic):
16970         * emacs-lisp/eieio-base.el (eieio-persistent-read):
16971         * emacs-lisp/edebug.el (edebug-outside-excursion):
16972         * emacs-lisp/debug.el (debugger-make-xrefs):
16973         * emacs-lisp/cust-print.el (custom-prin1-to-string):
16974         * emacs-lisp/chart.el (chart-new-buffer):
16975         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16976         Use with-current-buffer.
16977         * textmodes/artist.el (artist-system): Don't call
16978         copy-sequence on a fresh string.
16979         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16981 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
16983         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16984         is no item to edit.  (Bug#4820)
16985         (todo-top-priorities): Restore point and restore narrowing in Todo
16986         buffer.  (Bug#4820)
16988 2009-10-31  Glenn Morris  <rgm@gnu.org>
16990         * net/ange-ftp.el (top-level): Don't require dired when compiling.
16991         (comint-last-output-start, comint-last-input-start)
16992         (comint-last-input-end): Don't defvar when compiling.
16993         (ange-ftp-process-file): Use bound-and-true-p.
16995         * pcmpl-rpm.el (top-level): Move provide statement to end.
16996         (pcmpl-rpm): Remove unused custom group.
16998         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17000         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17002         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17003         (byte-compile-warnings): Add `constants' as an option.
17004         (byte-compile-callargs-warn, byte-compile-arglist-warn)
17005         (display-call-tree): Update for byte-compile-fdefinition possibly
17006         returning `(macro lambda ...)'.  (Bug#4778)
17007         (byte-compile-variable-ref, byte-compile-setq-default):
17008         Respect `constants' member of byte-compile-warnings.
17010 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17012         * vc-bzr.el (vc-bzr-revision-keywords): New var.
17013         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17014         to "submit:".
17016 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
17018         * textmodes/ispell.el (ispell-skip-region-alist):
17019         * international/mule-conf.el (eight-bit):
17020         * international/fontset.el (font-encoding-alist):
17021         * startup.el (pure-space-overflow-message):
17022         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17023         * paths.el (gnus-nntp-service, rmail-spool-directory)
17024         (term-file-prefix):
17025         * files.el (save-some-buffers-action-alist):
17026         * cmuscheme.el (same-window-buffer-names):
17027         * ielm.el (same-window-buffer-names):
17028         * shell.el (same-window-buffer-names):
17029         * mail/sendmail.el (same-window-buffer-names):
17030         * progmodes/inf-lisp.el (same-window-buffer-names):
17031         * bindings.el (mode-line-client)
17032         (mode-line-column-line-number-mode-map):
17033         * language/tibetan.el (tibetan-precomposition-rule-regexp)
17034         (tibetan-precomposed-regexp): Purecopy string arguments.
17036 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17038         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17039         (calcDigit-nondigit):
17040         * calc/calc-yank.el (calc-copy-to-buffer):
17041         * calc/calc-units.el (calc-invalidate-units-table):
17042         * calc/calc-trail.el (calc-trail-yank):
17043         * calc/calc-store.el (calc-insert-variables):
17044         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17045         * calc/calc-prog.el (calc-read-parse-table):
17046         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17047         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17048         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17049         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17050         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17051         (calc-graph-name, calc-graph-find-command, calc-graph-view)
17052         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17053         * calc/calc-ext.el (calc-realign):
17054         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17055         (calc-embedded-finish-edit, calc-embedded-make-info)
17056         (calc-embedded-finish-command, calc-embedded-stack-change):
17057         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17059         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17060         shell-dynamic-complete-filename in preference to
17061         comint-dynamic-complete-filename.
17063         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17064         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17065         Don't consider whether the display supports colors.
17066         (bookmark-import-new-list): Use dolist.
17067         (bookmark-bmenu-mode-map): Move initialization into declaration.
17068         (bookmark-bmenu-list): Use dolist, simplify.
17069         (bookmark-show-all-annotations): Use save-selected-window and dolist.
17070         (menu-bar-final-items): Use push.
17072 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
17074         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17075         it works on remote files.
17076         (vc-hg-diff): Don't pass any `--cwd' argument.
17078 2009-10-27  Kevin Ryde  <user42@zip.com.au>
17080         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17081         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17082         (Further to Bug#3921).
17084 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
17086         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17087         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17088         calling `tramp-imap-put-file'.  Add file size to the call.
17089         (tramp-imap-get-file-entries): Compute also user name, file size,
17090         and date.
17091         (tramp-imap-handle-insert-directory): Insert uid and gid.
17092         (tramp-imap-handle-file-attributes): Transform uid and gid
17093         according to `id-format'.
17094         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
17095         size in header X-Size.
17097 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
17099         * simple.el (transpose-subr): Give clearer error when the mark
17100         is not set.  (Bug#4807)
17102 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
17104         * net/tramp.el (tramp-perl-file-truename): New defconst.
17105         Perl code contributed by yary <not.com@gmail.com> (tiny change).
17106         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17107         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17108         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17110         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17111         Ignore `dired-call-process'.
17112         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17114 2009-10-26  Julian Scheid  <julians37@gmail.com>
17116         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17117         (tramp-get-remote-readlink): New defun.
17118         (tramp-handle-file-truename): Use it.
17119         (tramp-handle-file-exists-p): Check file-attributes cache, assume
17120         file exists if cache value present.
17121         (tramp-check-cached-permissions): New defun.
17122         (tramp-handle-file-readable-p): Use it.
17123         (tramp-handle-file-writable-p): Likewise.
17124         (tramp-handle-file-executable-p): Likewise.
17125         (tramp-handle-file-name-all-completions): Try using Perl to get
17126         partial completions.  When perl not available, combine `cd' and
17127         `ls' into single remote operation and use shell expansion to get
17128         partial remote directory contents.  Set `file-exists-p' cache for
17129         directory and any files returned by ls.  Change cache handling to
17130         support partial directory contents.  Use error message emitted by
17131         remote `cd' or Perl code for local tramp-error.
17132         (tramp-do-copy-or-rename-file-directly): Avoid separate
17133         tramp-send-command-and-check call.
17134         (tramp-handle-process-file): Merge three remote ops into one.
17135         Do not flush all caches when `process-file-side-effects' is set.
17136         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17137         file-attributes shows uid/gid to be set already.
17139 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
17141         * textmodes/tex-mode.el (tex-dvi-view-command)
17142         (tex-show-queue-command, tex-open-quote):
17143         * progmodes/ruby-mode.el (auto-mode-alist)
17144         (interpreter-mode-alist): Purecopy strings.
17146         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17148         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17149         string for the hook, keymap and abbrev table.
17151         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17153         * x-dnd.el (x-dnd-xdnd-to-action):
17154         * startup.el (fancy-startup-text, fancy-about-text): Change to
17155         defconst from defvar.
17157         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17159         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17160         Purecopy initialization strings.
17162         * mail/sendmail.el (mail-header-separator)
17163         (mail-personal-alias-file):
17164         * mail/rmail.el (rmail-default-dont-reply-to-names)
17165         (rmail-ignored-headers, rmail-retry-ignored-headers)
17166         (rmail-highlighted-headers, rmail-secondary-file-directory)
17167         (rmail-secondary-file-regexp):
17168         * files.el (null-device, file-name-invalid-regexp)
17169         (locate-dominating-stop-dir-regexp)
17170         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17171         (interpreter-mode-alist): Use mapcar instead of mapc.
17173         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17175         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17176         (completion-ignored-extensions):
17177         (debug-ignored-errors): Purecopy strings.
17179 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17181         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17182         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17183         (pcomplete--here): Use push.
17185         * subr.el (all-completions): Declare the 4th arg obsolete.
17187 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17189         * pcomplete.el (pcomplete-unquote-argument-function): New var.
17190         (pcomplete-unquote-argument): New function.
17191         (pcomplete--common-suffix): Always pay attention to case.
17192         (pcomplete--table-subvert): Quote and unquote the text.
17193         (pcomplete--common-quoted-suffix): New function.
17194         (pcomplete-std-complete): Use it and pcomplete-begin.
17196         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17197         we're inside a dedicated or minibuffer window.
17199 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
17201         * bookmark.el: Update documentation, especially documentation
17202         of `bookmark-alist' and of the bookmark file format.
17203         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
17205 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
17207         * mail/emacsbug.el (report-emacs-bug): Clarify that the
17208         keybindings apply to the mail buffer (Bug#4003).  Shrink help
17209         window to buffer.
17211         * whitespace.el (whitespace-mode, whitespace-newline-mode)
17212         (global-whitespace-mode, global-whitespace-newline-mode)
17213         (whitespace-toggle-options, global-whitespace-toggle-options):
17214         Doc fix (Bug#3660).
17216         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17217         of xmltok-start before the end tag was inserted (Bug#2840).
17219         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17220         patterns that are preceded by an open-paren (Bug#1320).
17222 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
17224         * files.el (delete-directory): Delete symlinks to directories with
17225         delete-file (Bug#4739).
17227 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
17229         * vc.el (vc-backend-for-registration): Rename from
17230         vc-get-backend-for-registration.  Update callers.
17232         * international/mule-cmds.el (set-language-info-alist):
17233         Purecopy lang-env.
17234         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17235         (charset): Purecopy the name.
17236         (define-char-code-property): Purecopy string arguments.
17238         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17239         Purecopy string arguments.
17241         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17242         * ediff-hook.el (menu-bar-ediff-menu):
17243         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17244         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17246 2009-10-24  Glenn Morris  <rgm@gnu.org>
17248         * comint.el (comint-dynamic-list-completions):
17249         * term.el (term-dynamic-list-completions): Use choose-completion rather
17250         than obsolete alias mouse-choose-completion.
17252         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17253         file-cache-choose-completion.
17254         (file-cache-choose-completion): Handle an optional event argument.
17255         (file-cache-mouse-choose-completion): Make it an obsolete alias.
17257         * progmodes/octave-mod.el (octave-complete-symbol):
17258         Use choose-completion if mouse-choose-completion is ever removed.
17260         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17261         use.
17263         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17264         compiler.
17266         * vc-hooks.el (vc-responsible-backend): Fix declaration.
17268 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17270         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17271         Ignore `pred' now that we receive one.
17272         Handle test-completion specially.
17274 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17276         * vc.el (vc-responsible-backend): Throw an error if not backend is
17277         found.  Remove the REGISTER argument.  Move the code dealing with
17278         REGISTER ...
17279         (vc-get-backend-for-registration): ... here.  New function.
17280         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17281         of vc-responsible-backend, pass the file name instead of the
17282         directory name.
17284 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17286         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17287         New funs.
17288         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
17289         (pcomplete-comint-setup): Don't modify a global var via
17290         accidental side-effects.
17291         (pcomplete-shell-setup): Adjust call accordingly.
17292         (pcomplete-parse-comint-arguments): Use push.
17294 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
17296         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17297         Allow uncapitalized info node names (Bug#3921).
17299         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17300         to the DEBUG file (Bug#3781).
17302 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
17304         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17305         dictionary entry (Bug#4579).
17307 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
17309         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17310         from `rfn-eshadow-update-overlay-hook' when unloading.
17311         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17312         "rsyncc".  Adjust doc string.
17313         (tramp-temp-buffer-file-name): New buffer-local defvar.
17314         (tramp-handle-insert-file-contents, tramp-handle-write-region):
17315         Keep temporary file when indicated by method ("rsync" and
17316         "rsyncc").
17317         (tramp-handle-write-region): Handle APPEND.
17318         (tramp-delete-temp-file-function): New defun.  Added to
17319         `kill-buffer-hook'.
17321 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
17323         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17325 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17327         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17328         (color-name-rgb-alist, tty-standard-colors)
17329         (tty-color-mode-alist): Change to defconst.
17331         * simple.el (mark-inactive): Purecopy message.
17333         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17334         (global-map, yank-menu):
17335         * textmodes/ispell.el (ispell-menu-map):
17336         * net/eudc.el (eudc-tools-menu):
17337         * international/mule-cmds.el (describe-language-environment-map)
17338         (setup-language-environment-map, set-coding-system-map)
17339         (mule-menu-keymap):
17340         * vc-hooks.el (vc-menu-entry, vc-menu-map):
17341         * replace.el (occur-mode-map):
17342         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17344 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
17346         * calc/calc.el (math-read-number, math-read-number-simple):
17347         Use `save-match-data'.
17349 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17351         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17352         rather than fiddling with global-map bindings, since it should only
17353         affect per-terminal settings.
17354         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17356         * minibuffer.el (completion-table-with-terminator): Allow to specify
17357         the terminator-regexp.
17359         * simple.el (switch-to-completions): Look for *Completions* in other
17360         frames as well.
17362         * pcomplete.el: Allow the use of completion-tables.
17363         (pcomplete-std-complete): New command.
17364         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17365         (pcomplete--here): Use a function for `form' rather than an expression,
17366         so it can be byte-compiled.
17367         (pcomplete-here, pcomplete-here*): Adjust accordingly.
17368         Add edebug declaration.
17369         (pcomplete-show-completions): Remove unused var `curbuf'.
17370         (pcomplete-do-complete, pcomplete-stub):
17371         Don't assume `completions' is a list of strings any more.
17373 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
17375         * find-dired.el (find-name-arg): Fix typo in docstring.
17377 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17379         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17380         (pcmpl-linux-fs-types): Same, and update to new modules layout.
17382         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17383         pcomplete-entries.
17385         * comint.el (comint-read-input-ring, comint-write-input-ring)
17386         (comint-substitute-in-file-name)
17387         (comint-dynamic-complete-as-filename)
17388         (comint-dynamic-simple-complete)
17389         (comint-dynamic-list-filename-completions)
17390         (comint-dynamic-list-completions)
17391         (comint-redirect-results-list-from-process): Minor simplifications.
17393 2009-10-21  Kevin Ryde  <user42@zip.com.au>
17395         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17396         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17397         the first form.  And insert a blank line after ";;; Code" since
17398         that's usual style.  (Bug#4612)
17400         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17402 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17404         * minibuffer.el (completion-table-with-terminator): Properly implement
17405         boundaries, in case `terminator' appears in the suffix.
17406         (completion--embedded-envvar-table): Don't return boundaries if
17407         there's no valid completion.  Simplify.
17408         (completion-file-name-table): New completion table extracted from
17409         completion--file-name-table.
17410         (completion--file-name-table): Use it.
17411         (read-file-name-predicate): Declare obsolete.
17412         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17413         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17414         completion-file-name-table, and use the `pred' argument.
17415         * files.el (locate-file-completion-table): Use the `pred' arg rather
17416         than read-file-name-predicate.
17417         (abbreviate-file-name): Use \` rather than ^ for BOS.
17419 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
17421         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17422         vc-responsible-backend to register, it causes problems.
17424 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17426         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17428 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
17430         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17431         (tramp-smb-handle-file-attributes): Use it.
17432         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17433         (tramp-smb-handle-insert-directory): Use `mapc' rather than
17434         `mapcar'.  Use `tramp-smb-get-stat-capability'.
17435         Add `dired-filename' text properties.
17436         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17437         (tramp-smb-maybe-open-connection): Simplify check for smbclient
17438         version.
17440 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17442         * subr.el (read-key-delay): Reduce to 0.01.
17443         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17444         (bug#4751).
17446 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17448         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17450         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17451         (Info-menu): Remove unused vars `last' and `completions'.
17452         (Info-index-nodes): Remove unused var `node'.
17454         * info.el (Info-complete-menu-item): Use complete-with-action.
17456 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
17458         Make vc-annotate work through copies and renames.
17459         * vc-annotate.el (vc-annotate-extract-revision-at-line):
17460         Return the file name too.
17461         (vc-annotate-revision-at-line)
17462         (vc-annotate-find-revision-at-line)
17463         (vc-annotate-revision-previous-to-line)
17464         (vc-annotate-show-log-revision-at-line): Update to get the file
17465         name from vc-annotate-extract-revision-at-line.
17466         (vc-annotate-show-diff-revision-at-line-internal): Change the
17467         argument to mean whether to show a file diff or not.  Get the file
17468         name from vc-annotate-extract-revision-at-line.
17469         (vc-annotate-show-diff-revision-at-line):
17470         Update vc-annotate-show-diff-revision-at-line call.
17471         (vc-annotate-warp-revision): Add an optional file argument.
17473         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17474         (vc-git-annotate-extract-revision-at-line): Also return the file
17475         name if found.
17477         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17478         command.  Remove unused code.
17479         (vc-hg-annotate-re): Update to match --follow output.
17480         (vc-hg-annotate-extract-revision-at-line): Also return the file
17481         name if found.
17483         * vc.el: Update annotate-extract-revision-at-line documentation.
17485 2009-10-18  Kevin Ryde  <user42@zip.com.au>
17487         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17488         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17490         * net/browse-url.el (browse-url): Identify alist with "consp and
17491         not functionp" and let all other things go down the `apply' leg,
17492         as suggested by Stefan.  (Further to bug#4531.)
17494 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
17496         * minibuffer.el (read-file-name): Check for repeat before putting
17497         a default argument in file-name-history (Bug#4657).
17499         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17500         read syntax (Bug#4737).
17502         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17504 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
17506         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17507         (html-tag-alist, html-tag-help): Add descriptions for undocumented
17508         entries and make note of obsolete tags.
17510 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17512         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17514 2009-10-18  Glenn Morris  <rgm@gnu.org>
17516         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17517         grep, so that binary files (eg international/uni-bidi.el) can match.
17518         Remove test for "UnicodeData" files, since it is hopefully unnecessary
17519         now, and in any case the file header format has changed.
17521 2009-10-17  Glenn Morris  <rgm@gnu.org>
17523         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17524         (flyspell-get-word, flyspell-large-region)
17525         (flyspell-auto-correct-previous-word): Doc/error message fixes.
17527 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
17529         * Makefile.in (ELCFILES): Add ede/shell.
17531 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
17533         * term/common-win.el (x-colors): Purecopy it.
17535 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17537         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17538         permissive for when the buffer is empty.
17539         (tar-header-block-tokenize): Decode the username and groupname.
17540         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17542 2009-10-17  Eric Ludlam  <zappo@gnu.org>
17544         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17545         contains multibyte characters, choose first applicable coding
17546         system automatically.
17548 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17550         * international/mule-cmds.el (select-safe-coding-system): If the file
17551         has a coding cookie, use it regardless of any other setting (bug#4712).
17553 2009-10-17  Glenn Morris  <rgm@gnu.org>
17555         * foldout.el (foldout-mouse-swallow-events):
17556         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17558         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17559         (dired-keep-marker-copy, dired-keep-marker-hardlink)
17560         (dired-keep-marker-symlink, dired-dwim-target)
17561         (dired-copy-preserve-time): Do not autoload these defcustoms.
17563         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17564         messages from messing up the file coding.  (Bug#4623)
17566 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
17568         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17569         if no match is found for the current dictionary.  (Bug#4578)
17571         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17572         optional, since that is how it is documented, and this is often called
17573         with a nil argument.  (Bug#4577)
17574         (flyspell-external-point-words, flyspell-auto-correct-word)
17575         (flyspell-correct-word-before-point, flyspell-word-search-forward)
17576         (flyspell-word-search-backward): Remove nil argument in calls to
17577         flyspell-get-word, since it is not needed now.
17579 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
17581         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
17583 2009-10-16  Glenn Morris  <rgm@gnu.org>
17585         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17587 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
17589         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17590         (ange-ftp-file-size): New function.
17591         (ange-ftp-file-attributes): Use it.
17593 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
17595         * net/tramp-smb.el (tramp-smb-version): New defvar.
17596         (tramp-smb-maybe-open-connection): Use it, in order to avoid
17597         repeated checks.
17599 2009-10-16  Glenn Morris  <rgm@gnu.org>
17601         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17602         Maybe copy some custom properties from old to new name.  (Bug#4706)
17604 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
17606         * subr.el (error, sit-for, start-process-shell-command)
17607         (start-file-process-shell-command): Set the calling convention
17608         after the function definition.
17610 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17612         * subr.el (error, sit-for, start-process-shell-command)
17613         (start-file-process-shell-command): Use the new
17614         set-advertised-calling-convention feature.
17616 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
17618         * international/ucs-normalize.el (ucs-normalize-version):
17619         Change to 1.2.
17620         (check-range): Adjust for Unicode 5.2.
17622 2009-10-15  Juri Linkov  <juri@jurta.org>
17624         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17625         to the `menu-item' format.
17627 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
17629         * net/tramp.el (tramp-replace-environment-variables): Do not fail
17630         if the environment variable does not exist.
17632         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17633         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17634         parameter.
17635         (tramp-smb-handle-add-name-to-file)
17636         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17637         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17638         (tramp-smb-handle-file-attributes)
17639         (tramp-smb-do-file-attributes-with-stat)
17640         (tramp-smb-handle-file-local-copy)
17641         (tramp-smb-handle-insert-directory)
17642         (tramp-smb-handle-make-directory)
17643         (tramp-smb-handle-make-directory-internal)
17644         (tramp-smb-handle-make-symbolic-link)
17645         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17646         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17647         (tramp-smb-maybe-open-connection): Apply the changed parameters.
17648         (tramp-smb-read-file-entry): Read Disk names in compressed format.
17649         Handle long file names.
17650         (tramp-smb-get-cifs-capabilities): Check, whether the connection
17651         process is running.
17652         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17653         Read share names with "-g" option.
17655 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
17657         * net/rcirc.el (rcirc-view-log-file): New command.
17658         (rcirc-track-minor-mode-map): Remove C-c ` binding.
17659         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17660         specified.
17662 2009-10-15  Glenn Morris  <rgm@gnu.org>
17664         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17665         from the second command-line argument.
17666         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17667         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17668         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17669         w32-batch-update-autoloads.
17670         * emacs-lisp/autoload.el (autoload-make-program): New variable.
17671         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17673         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17674         the headers cannot be located.  Simplify, subtracting superflous
17675         save-excursions.
17677 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17679         Replace completion-base-size by completion-base-position to fix bugs
17680         such as (bug#4699).
17681         * simple.el (completion-base-position): New var.
17682         (completion-base-size): Mark as obsolete.
17683         (choose-completion): Make it work for mouse events as well.
17684         Pass the new base-position to choose-completion-string.
17685         (choose-completion-guess-base-position): New function, extracted from
17686         choose-completion-delete-max-match.
17687         (choose-completion-delete-max-match): Use it.  Make obsolete.
17688         (choose-completion-string): Use the new base-position info.
17689         (completion-root-regexp): Delete.
17690         (completion-setup-function): Preserve completion-base-position.
17691         Eliminate obsolete base-size manipulation.
17692         * minibuffer.el (display-completion-list): Don't mess with base-size.
17693         (minibuffer-completion-help): Set completion-base-position instead.
17694         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17695         choose-completion.
17696         * textmodes/bibtex.el (bibtex-complete):
17697         * emacs-lisp/crm.el (crm--choose-completion-string):
17698         Adjust to new calling convention.
17699         * complete.el (partial-completion-mode): Use minibufferp to avoid
17700         bumping into incompatible change to choose-completion-string-functions.
17701         * ido.el (ido-choose-completion-string): Make its calling convention
17702         more permissive.
17703         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17704         base-size manipulation.
17705         (comint-dynamic-list-input-ring): Use dotimes and push.
17706         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17707         fundamental-mode.  Use `or'.
17709 2009-10-14  Juri Linkov  <juri@jurta.org>
17711         * misearch.el (multi-isearch-next-buffer-from-list)
17712         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
17714 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17716         * Makefile.in (compile-onefile): Load `bytecomp' rather than
17717         `bytecomp.el'.
17719         * minibuffer.el (completion-pcm--merge-completions): Make sure the
17720         string we return is all made up of text from the completions rather
17721         than part from the completions and part from the input (bug#4219).
17723         * ido.el (ido-everywhere): Use define-minor-mode.
17725         * buff-menu.el (list-buffers, ctl-x-map):
17726         Mark the entry points with ;;;###autoload cookies.
17728 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
17730         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17731         correctly in the detached head case.
17732         (vc-git-print-log): Remove unused binding.
17734         * vc.el (vc-responsible-backend): When a directory is passed for
17735         for registration create a VC repository if no backend is
17736         responsible for the directory argument.
17737         (vc-deduce-fileset): Tell vc-responsible-backend to register.
17739         * vc.el: Move comments about RCS and SCCS ...
17740         * vc-rcs.el:
17741         * vc-sccs.el: ... here, respectively.
17743 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17745         * minibuffer.el (completion--file-name-table): Return nil if there's
17746         no file completion, even if substitute-in-file-name changed
17747         the string (bug#4708).
17749 2009-10-13  Juri Linkov  <juri@jurta.org>
17751         * files-x.el (read-file-local-variable-value): Don't filter out
17752         minor modes from mode name completion (bug#4664).
17754 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17756         * international/mule-cmds.el (ucs-names): Remove exclusion of
17757         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17759 2009-10-13  Kenichi Handa  <handa@m17n.org>
17761         * international/uni-name.el: Regenerated.
17763 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17765         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
17766         should be automatically buffer-local, but isn't.)
17768 2009-10-12  Sam Steingold  <sds@gnu.org>
17770         * progmodes/compile.el (compilation-next-error-function): Fix the
17771         timestamps if the buffer has been visited before.
17772         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17773         non-anchored patterns, like the perl one (bug#3928).
17775 2009-10-12  Glenn Morris  <rgm@gnu.org>
17777         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17778         Let-bind `size'.
17780 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
17782         * proced.el (proced-unload-function): New function.
17784         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17785         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17786         Doc fix.
17788         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17790 2009-10-11  Juri Linkov  <juri@jurta.org>
17792         * files-x.el (read-file-local-variable-value):
17793         Provide default value only for bound variables (bug#4664).
17795 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
17797         * net/tramp.el (tramp-local-host-p): Function shall return nil for
17798         connection methods like smb.
17800         * net/tramp-cache.el (tramp-flush-connection-property): The hash
17801         can be empty.
17803         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17804         (tramp-smb-file-name-handler-alist): Add handlers for
17805         `add-name-to-file', `make-symbolic-link'.
17806         (tramp-smb-handle-add-name-to-file)
17807         (tramp-smb-do-file-attributes-with-stat)
17808         (tramp-smb-handle-make-symbolic-link)
17809         (tramp-smb-get-cifs-capabilities): New defuns.
17810         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17811         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17812         (tramp-smb-handle-file-local-copy)
17813         (tramp-smb-handle-make-directory-internal)
17814         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17815         The file name syntax depends on cifs capabilities.
17816         (tramp-smb-handle-file-attributes):
17817         Call `tramp-smb-do-file-attributes-with-stat' if possible.
17818         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17819         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17821 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
17823         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17824         (eieio-defclass): Apply deftype handler and setf-method properties
17825         directly.
17826         (eieio-add-new-slot): Avoid union function from cl library.
17827         (eieio--typep): New function.
17828         (eieio-perform-slot-validation): Use it.
17830 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17832         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17833         Update documentation to refer to the variables documented in r1.135.
17834         (Bug#4188)
17836 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17838         * bookmark.el (Info-suffix-list): Remove this unused variable.
17839         (bookmark-current-point): Remove this obsolete variable.
17840         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17841         Adjust for removal of bookmark-current-point.
17843         (bookmarks-already-loaded, bookmark-current-buffer)
17844         (bookmark-yank-point): Document.  (Bug#4188)
17846 2009-10-10  Glenn Morris  <rgm@gnu.org>
17848         * frame.el (frame-height): Doc fix.
17850         * calendar/calendar.el (calendar-split-width-threshold): New option.
17851         (calendar-basic-setup): Use calendar-split-width-threshold.
17853 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
17855         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17856         Ideographic Supplement" range (U+1F200..U+1F2FF).
17858 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17860         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17861         since the list will have been rebuilt anyway.  (Bug#4349)
17863 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17865         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17866         (bookmark-bmenu-execute-deletions): Don't save here, as
17867         bookmark-delete will now do so if necessary.
17868         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17869         (Bug#4348)
17871 2009-10-09  Glenn Morris  <rgm@gnu.org>
17873         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17875 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17877         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17878         (bookmark-jump-other-window): Just invoke bookmark-jump with new
17879         argument now, so the two function's behaviors will match.  (Bug#3645)
17881 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
17883         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17884         (tramp-file-name-real-host, tramp-file-name-port):
17885         Apply `save-match-data'.
17887         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17888         case both directories are remote.
17889         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17890         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17892 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17894         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17896 2009-10-07  Glenn Morris  <rgm@gnu.org>
17898         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17899         of concat.
17901 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17903         * files-x.el (read-file-local-variable): Include some
17904         non-user-variables in the completion table (bug#4664).
17906 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
17908         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17909         message.
17911         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17912         (tramp-smb-file-name-handler-alist): Add handler for
17913         `copy-directory', `expand-file-name', `set-file-modes'.
17914         (tramp-smb-handle-copy-directory)
17915         (tramp-smb-handle-expand-file-name)
17916         (tramp-smb-handle-set-file-modes): New defuns.
17917         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17918         (tramp-smb-handle-file-attributes): Simplify check for retrieving
17919         entry.
17920         (tramp-smb-handle-insert-directory): Don't flush the cache.
17921         (tramp-smb-maybe-open-connection): Check for samba client and
17922         server versions.
17924 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
17926         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17927         to not error out of search for "^lisp=" fails.
17929 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17931         * makefile.w32-in (WINS_UPDATES): New macro.
17932         (custom-deps, finder-data, autoloads): Use it.
17934 2009-10-07  Glenn Morris  <rgm@gnu.org>
17936         * Makefile.in (autoloads): Revert previous change.
17937         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17938         the list of preloaded files passed on the command-line, get
17939         it from src/Makefile.
17941         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17942         show the original buffer rather than a random one.
17944 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
17946         * help.el (describe-no-warranty): Place point in a slightly better
17947         position in the GPLv3 text.
17949 2009-10-06  Sam Steingold  <sds@gnu.org>
17951         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17952         the comm attribute is present before calling regexp-quote.
17954 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
17956         * play/animate.el (animate-string): For good effect, make sure
17957         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17959         * play/animate.el (animate-sequence, animate-birthday-present):
17960         * misc.el (butterfly): Don't set `indent-tabs-mode'.
17962 2009-10-06  Glenn Morris  <rgm@gnu.org>
17964         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17966         * emacs-lisp/autoload.el (autoload-excludes): New variable.
17967         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17968         (batch-update-autoloads): Process a string value of autoload-excludes,
17969         set during the build process.
17970         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
17972         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17973         inside with-parsed...  macro so that `v' is defined.
17975         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17976         * progmodes/fortran.el (fortran-end-of-block)
17977         (fortran-beginning-of-block):
17978         Also push mark in the macro case.
17980         * emerge.el (emerge-show-file-name):
17981         * calc/calc.el (calc-quit):
17982         * calc/calc-misc.el (calc-big-or-small):
17983         * calc/calc-graph.el (calc-graph-view):
17984         * calc/calc-ext.el (calc-reset):
17985         * calendar/calendar.el (calendar-basic-setup):
17986         Use window-full-height-p.
17988         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17989         header we don't understand, don't insert another.  (Bug#4624)
17990         If changing mime charset, insert the new one in the right place.
17992 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
17994         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17995         (cal-tex-cursor-month): Correctly increment the end date for diary and
17996         holiday listing.  (Bug#4626)
17998 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18000         * help-fns.el (describe-function-1): Don't burp if the function is not
18001         a symbol.
18003 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
18005         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18006         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18007         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18008         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18010         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18011         (eieio-default-superclass): Reflow docstrings.
18012         (this, class-option-assoc, defclass, eieio-class-un-autoload)
18013         (eieio-unbind-method-implementations, defmethod)
18014         (eieio-validate-slot-value, eieio-validate-class-slot-value)
18015         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18016         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18017         (eieio-slot-originating-class-p, eieio-slot-name-index)
18018         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18019         (constructor, initialize-instance, no-next-method, object-print)
18020         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18021         Fix typos in docstrings.
18022         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18023         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18024         (next-method-p): Doc fixes.
18025         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18026         Fix typos in error messages.
18027         (eieio-defmethod): Fix typo in description of generic method.
18029         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18030         (eieio-persistent-save-interactive, slot-missing):
18031         Fix typos in docstrings.
18032         (eieio-instance-inheritor-slot-boundp): Doc fix.
18034         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18035         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18037         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18038         (eieio-custom-object-apply-reset):
18039         Fix typos in docstrings and error messages.
18041         * emacs-lisp/eieio-datadebug.el (data-debug-show):
18042         Fix typo in docstring.
18044         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18045         (eieio-browse-tree): Doc fix.
18046         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18047         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18048         Fix typos in docstrings.
18050         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18051         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18052         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18053         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18054         Reflow docstrings.
18056 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
18058         * vc-hg.el (log-view-vc-backend): Declare for compiler.
18059         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18060         Set log-view-vc-backend so that diff can work.
18062         * log-view.el (log-view-diff): Use vc-diff-internal instead of
18063         vc-version-diff.
18064         (vc-diff-internal): Autoload this instead of vc-version-diff.
18066 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
18068         * simple.el (eval-expression): Doc fix.
18070         * progmodes/cwarn.el (cwarn-mode): Doc fix.
18072 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
18074         * files.el (directory-files-no-dot-files-regexp): New defconst.
18075         (delete-directory): Use it.
18076         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
18078         * net/tramp.el (tramp-verbose): Fix docstring.
18079         (tramp-methods): Add recursive option to `tramp-copy-args'.
18080         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
18081         "scp1_old", "scp2_old", "rsync", "rsyncc".
18082         (tramp-default-method): Check also for `auth-source-user-or-password'.
18083         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18084         Add handler for `copy-directory'.
18085         (tramp-handle-copy-directory): New defun.
18086         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18087         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18088         Optimize sent command.
18090 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18092         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18093         window if necessary.
18095         * calendar/calendar.el (calendar-basic-setup): Don't call
18096         switch-to-buffer in a dedicated window.
18098 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
18100         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18101         don't do anything related to relocating, just return nil.
18102         (bookmark-error-no-filename): New error.
18103         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18104         bookmark has no file.  Don't even attempt to handle things that
18105         are not files; the whole point of custom handlers is to keep that
18106         knowledge elsewhere anyway.  Tighten some comments.
18107         (bookmark-file-or-variation-thereof): Remove now-unused function.
18108         (bookmark-location): Doc string fix.
18109         (Bug#4250)
18111 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18113         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18114         don't use a file dialog, because they usually don't know how to read
18115         a directory target from the user.  (Bug#4230)
18116         Also, make sure the prompt can display directories as well as files.
18118 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18120         * bookmark.el (bookmark-set, bookmark-buffer-name):
18121         Improve doc strings.  (Bug#1193)
18123 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18125         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18126         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18127         (bookmark-get-annotation, bookmark-set-annotation)
18128         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18129         (bookmark-set-position, bookmark-get-front-context-string)
18130         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18131         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18132         (bookmark-jump-other-window, bookmark-handle-bookmark)
18133         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18134         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18135         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18136         Improve doc strings to say whether bookmark can be a string or
18137         a record or both, and make other consistency and clarity fixes.
18138         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18139         (bookmark-default-annotation-text, bookmark-yank-word)
18140         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18141         (bookmark-import-new-list, bookmark-maybe-rename)
18142         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18143         (bookmark-bmenu-bookmark): Give these doc strings.
18144         (bookmark-bmenu-check-position): Give this a doc string, but also
18145         add a FIXME comment about how the function may be pointless.
18146         (bookmark-default-handler): Rework doc string and change a
18147         parameter name, to clarify that this takes a bookmark record
18148         not a bookmark name.
18149         (bookmark-set): Change a parameter name to indicate its meaning,
18150         and improve the doc string a bit.
18151         (Bug#4188)
18153 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18155         * bookmark.el (bookmark-alist): Document the new `handler' element
18156         in the param alist.
18157         (bookmark-make-record-function): Adjust documentation for above.
18158         (Bug#4193)
18160 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18162         * info.el (Info-bookmark-make-record): Document this function.
18163         (Info-bookmark-jump): Document with a doc string, not just a comment.
18164         (Bug#4203)
18166 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
18168         * files.el (copy-directory): New defun.
18170         * dired-aux.el (dired-copy-file-recursive): Use it.
18172 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
18174         * files-x.el (modify-dir-local-variable)
18175         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18176         docstrings.
18178         * recentf.el (recentf-unload-function): New function.
18180 2009-10-04  Glenn Morris  <rgm@gnu.org>
18182         * window.el (window-full-height-p): Add doc string.
18184 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
18186         * window.el (window-full-height-p): New function.  (Bug#4543)
18188 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
18190         * vc.el: Remove commented out code.
18191         (vc-derived-from-dir-mode): Remove, unused.
18192         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18194 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
18196         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18197         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
18198         there could be recursive loading when `default-directory' is a
18199         remote file name.  (Bug#4614)
18201 2009-10-03  Glenn Morris  <rgm@gnu.org>
18203         * calendar/calendar.el (calendar-basic-setup): Handle the case where
18204         the frame is wide.
18205         (calendar-generate-window): Test for shrinkability rather than width.
18207         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18208         reusing existing buffers, in case we happen to visit two files with the
18209         same basename.  (Bug#4593)
18211 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18213         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18214         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18215         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18216         subdirs of cedet as well.
18217         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18219 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18221         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18222         Obey advertised-signature-table.
18224         * help-fns.el (help-function-arglist): Don't check
18225         advertised-signature-table.
18226         (describe-function-1): Do it here instead so it also applies to subrs.
18228 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
18230         * simple.el (start-file-process): Say in the doc-string, that file
18231         handlers might not support pty association, if PROGRAM is nil.
18233         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18234         HOST and USER are strings.  They are nil, when there are
18235         incomplete entries in ~/.netrc, for example.
18236         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
18237         root directory ("device busy" error otherwise).
18239         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18240         Flush file properties of created directory.
18242 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18244         * makefile.w32-in (WINS_BASIC): Remove cedet.
18245         (WINS_CEDET): Add cedet.
18246         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18248 2009-10-02  Kevin Ryde  <user42@zip.com.au>
18250         * net/browse-url.el (browse-url): Pass any symbol in
18251         browse-url-browser-function to `apply', since if you've mistakenly put
18252         an unbound symbol then the error is clearer.  (Bug#4531)
18254 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18256         * allout.el (allout-init, allout-back-to-current-heading)
18257         (allout-beginning-of-current-entry, allout-ascend-to-depth)
18258         (allout-ascend, allout-up-current-level, allout-end-of-level)
18259         (allout-previous-visible-heading, allout-forward-current-level)
18260         (allout-backward-current-level, allout-show-children):
18261         * apropos.el (apropos-describe-plist):
18262         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18263         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18264         * completion.el (add-completion, add-permanent-completion):
18265         * descr-text.el (describe-text-category, describe-char):
18266         * desktop.el (desktop-lazy-abort):
18267         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18268         * dired.el (dired-build-subdir-alist):
18269         * ediff.el (ediff-version):
18270         * elide-head.el (elide-head, elide-head-show):
18271         * emerge.el (emerge-version):
18272         * env.el (getenv):
18273         * face-remap.el (variable-pitch-mode):
18274         * faces.el (describe-face):
18275         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18276         (dired-at-point):
18277         * files.el (find-file-existing, auto-save-mode):
18278         * font-lock.el (font-lock-fontify-buffer):
18279         * help-fns.el (describe-function, describe-variable)
18280         (describe-syntax, describe-categories):
18281         * help.el (view-lossage, describe-bindings, describe-key)
18282         (describe-mode):
18283         * hexl.el (hexl-current-address):
18284         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18285         * info.el (Info-goto-emacs-key-command-node):
18286         * log-edit.el (log-edit-insert-cvs-template)
18287         (log-edit-insert-cvs-rcstemplate):
18288         * menu-bar.el (menu-bar-mode):
18289         * mouse.el (mouse-appearance-menu):
18290         * newcomment.el (comment-indent-new-line):
18291         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18292         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18293         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18294         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18295         * recentf.el (recentf-mode):
18296         * savehist.el (savehist-mode, savehist-save):
18297         * shadowfile.el (shadow-copy-files):
18298         * simple.el (kill-ring-save, next-line, previous-line)
18299         (normal-erase-is-backspace-mode):
18300         * strokes.el (strokes-update-window-configuration)
18301         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18302         (strokes-xpm-for-stroke):
18303         * time.el (emacs-uptime, emacs-init-time):
18304         * tutorial.el (tutorial--describe-nonstandard-key)
18305         (tutorial--detailed-help):
18306         * type-break.el (type-break-mode)
18307         (type-break-mode-line-message-mode, type-break-query-mode)
18308         (type-break-guesstimate-keystroke-threshold):
18309         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18310         * version.el (emacs-version):
18311         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18312         * winner.el (winner-mode):
18313         * calendar/timeclock.el (timeclock-in, timeclock-out)
18314         (timeclock-status-string, timeclock-change)
18315         (timeclock-workday-remaining-string)
18316         (timeclock-workday-elapsed-string)
18317         (timeclock-when-to-leave-string):
18318         * calendar/todo-mode.el (todo-add-category):
18319         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18320         * emacs-lisp/autoload.el (update-file-autoloads):
18321         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18322         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18323         (checkdoc-message-text, checkdoc-defun):
18324         * emacs-lisp/debug.el (debugger-list-functions):
18325         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18326         * emacs-lisp/eieio-opt.el (eieio-describe-class)
18327         (eieio-describe-generic):
18328         * emacs-lisp/lisp-mnt.el (lm-synopsis):
18329         * emacs-lisp/shadow.el (list-load-path-shadows):
18330         * emulation/cua-base.el (cua-mode):
18331         * emulation/edt.el (edt-set-scroll-margins):
18332         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18333         (tpu-toggle-regexp, tpu-toggle-search-direction)
18334         (tpu-toggle-rectangle, tpu-toggle-control-keys):
18335         * emulation/tpu-extras.el (tpu-set-scroll-margins):
18336         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18337         (viper-set-parsing-style-toggling-macro)
18338         (viper-set-emacs-state-searchstyle-macros):
18339         * emulation/viper.el (viper-set-hooks):
18340         * eshell/esh-mode.el (eshell-truncate-buffer):
18341         * international/mule-cmds.el (prefer-coding-system)
18342         (describe-input-method, describe-language-environment):
18343         * international/mule-diag.el (list-character-sets)
18344         (describe-character-set, describe-coding-system)
18345         (describe-fontset, list-fontsets, list-input-methods):
18346         * mail/sendmail.el (mail-signature):
18347         * net/ange-ftp.el (ange-ftp-copy-file):
18348         * net/browse-url.el (browse-url):
18349         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18350         * net/quickurl.el (quickurl-add-url):
18351         * net/rcirc.el (names, topic):
18352         * net/xesam.el (xesam-mode):
18353         * play/5x5.el (5x5-new-game):
18354         * play/yow.el (apropos-zippy):
18355         * progmodes/ada-mode.el (ada-mode-version):
18356         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18357         (f90-end-of-block)
18358         (f90-beginning-of-block):
18359         * progmodes/fortran.el (fortran-end-of-block)
18360         (fortran-beginning-of-block):
18361         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18362         * progmodes/python.el (python-describe-symbol, python-shell):
18363         * term/ns-win.el (ns-print-buffer):
18364         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18365         * textmodes/flyspell.el (flyspell-mode-on):
18366         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18367         (pages-directory-for-addresses):
18368         * textmodes/table.el (table-recognize-cell)
18369         (table-query-dimension, table-generate-source)
18370         (table-insert-sequence, table--warn-incompatibility):
18371         * textmodes/tex-mode.el (tex-validate-buffer):
18372         * textmodes/texinfmt.el (texinfmt-version)
18373         (texinfo-format-buffer):
18374         Use `called-interactively-p' instead of `interactive-p'.
18376 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18378         * image-mode.el (image-toggle-display):
18379         * emacs-lisp/elp.el (elp-instrument-function):
18380         * emacs-lisp/advice.el (ad-make-advised-definition):
18381         * emacs-lisp/easy-mmode.el (define-minor-mode):
18382         * net/browse-url.el (browse-url-maybe-new-window):
18383         * progmodes/sh-script.el (sh-learn-buffer-indent):
18384         Pass new argument 'any to `called-interactively-p'.
18386 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
18388         * international/uni-bidi.el:
18389         * international/uni-category.el:
18390         * international/uni-combining.el:
18391         * international/uni-comment.el:
18392         * international/uni-decimal.el:
18393         * international/uni-decomposition.el:
18394         * international/uni-digit.el:
18395         * international/uni-lowercase.el:
18396         * international/uni-mirrored.el:
18397         * international/uni-name.el:
18398         * international/uni-numeric.el:
18399         * international/uni-old-name.el:
18400         * international/uni-titlecase.el:
18401         * international/uni-uppercase.el:
18402         Regenerate from Unicode 5.2.0 data.
18404 2009-10-01  Glenn Morris  <rgm@gnu.org>
18406         * Makefile.in (ELCFILES): Regenerate.
18408 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18410         * subr.el (interactive-p): Mark obsolete.
18411         (called-interactively-p): Make the optional-ness of `kind' obsolete.
18412         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18413         advertised-signature-table for subroutines as well.
18415         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18416         (set-advertised-calling-convention): New function.
18417         (make-obsolete, define-obsolete-function-alias)
18418         (make-obsolete-variable, define-obsolete-variable-alias):
18419         Make the optional-ness of `when' obsolete.
18420         (define-obsolete-face-alias): Make `when' non-optional.
18421         * help-fns.el (help-function-arglist):
18422         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18423         Use advertised-signature-table.
18425 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
18427         * files.el (delete-directory): New defun.  The original function
18428         in fileio.c has been renamed to `delete-directory-internal'.
18430         * dired.el (dired-delete-file): Call `delete-directory' with
18431         RECURSIVE parameter.
18433         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18434         parameter RECURSIVE.  Implementation is missing.
18436         * net/tramp.el (tramp-handle-make-directory): Flush upper
18437         directory's file properties.
18438         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18439         (tramp-handle-dired-recursive-delete-directory): Flush directory
18440         properties after the remove command only.
18442         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18443         Handle optional parameter RECURSIVE.
18445         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18446         Handle optional parameter RECURSIVE.
18448         * net/tramp-smb.el (tramp-smb-errors): Add error message for
18449         connection timeout.
18450         (tramp-smb-handle-delete-directory): Handle optional parameter
18451         RECURSIVE.
18453 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18455         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18456         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18457         (byte-compile-defmacro): Use backquotes.
18459         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18461         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18462         has no associated file.
18463         (vc-resynch-buffer): Use vc-dir-buffers.
18465 2009-10-01  Glenn Morris  <rgm@gnu.org>
18467         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18468         (chart-file-count):
18469         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18470         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18471         * emacs-lisp/eieio-opt.el (eieio-describe-class):
18472         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18473         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18474         (eieio-copy-parents-into-subclass, make-instance, class-children)
18475         (eieio-generic-form):
18477         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18478         match-data.  (Bug#4555).
18480         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18481         rather than parsing it as a regexp.  This relaxes the layout
18482         requirements and makes errors easier to detect.
18483         (check-declare-verify): Check file is regular.
18484         (check-declare-directory): Doc fix.
18485         * subr.el (declare-function): Doc fix.
18487         * ibuffer.el (ibuffer-format-qualifier):
18488         * isearch.el (hi-lock-regexp-okay):
18489         * calc/calc.el (math-zerop):
18490         * mail/uce.el (rmail-msgbeg, rmail-msgend):
18491         * term/w32-win.el (setup-default-fontset, set-fontset-font):
18492         Remove unused declarations.
18494 2009-09-30  Eric Ludlam  <zappo@gnu.org>
18496         * emacs-lisp/eieio.el (boolean-p): Delete.
18498 2009-09-30  Glenn Morris  <rgm@gnu.org>
18500         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18502         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18503         filename is not a string.
18505 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
18507         * files.el (safe-local-eval-forms): Fix typo.
18509 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18511         * vc-hooks.el (vc-dir-buffers): New var.
18512         (vc-state-refresh): New function.
18513         (vc-state): Use it.
18514         (vc-after-save): Always ask the backend to recompute the new state.
18515         Always call vc-dir if necessary, using vc-dir-buffers.
18516         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18517         Use vc-dir-buffers.
18518         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18519         (vc-dir-prepare-status-buffer, vc-dir-update)
18520         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18521         Don't call expand-file-name on default-directory.
18523 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18525         * speedbar.el (speedbar-item-delete):
18526         * calc/calc-prog.el (calc-kbd-if):
18527         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18529         * epa.el (epa-key-list-mode-map):
18530         * hi-lock.el (hi-lock-menu): Fix typos in menus.
18532         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18533         (hs-show-hook): Fix typo in docstring.
18535 2009-09-29  Glenn Morris  <rgm@gnu.org>
18537         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18538         file-name-nondirectory call preventing location of cedet files.
18539         (check-declare-verify): Use literal search rather than re-search.
18540         Add basic defmethod and defclass, and define-overloadable-function.
18542         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18543         Use tramp-compat-file-attributes rather than nonexistent
18544         tramp-compat-handle-file-attributes.
18546         * Makefile.in (lisptagsfiles4): New.
18547         (AUTOGENEL): Add cedet loaddefs files.
18548         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18549         (update-elclist, compile-always, backup-compiled-files)
18550         (bootstrap-clean): Add yet another directory level.
18551         (update-elclist): Use LC_COLLATE rather than COLLATE.
18552         (ELCFILES): Update, via `make update-elclist'.
18554 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18556         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18557         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18558         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18560 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18562         * Makefile.in (lisptagsfiles3): Define.
18563         (TAGS, TAGS-LISP): Use it.
18564         (update-elclist): Add third directory level to look for elc files.
18565         (compile-always): Likewise.
18566         (backup-compiled-files): Likewise.
18567         (bootstrap-clean): Likewise.
18568         (ELCFILES): Update.
18570 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
18572         * Makefile.in (ELCFILES): Add CEDET files.
18574 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
18576         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18578         * net/tramp.el (top): Require tramp-imap.
18580         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18581         Use `tramp-compat-handle-file-attributes'.
18583 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
18585         * net/tramp-imap.el: New package.
18587 2009-09-28  Eric Ludlam  <zappo@gnu.org>
18589         * emacs-lisp/chart.el:
18590         * emacs-lisp/eieio-base.el:
18591         * emacs-lisp/eieio-comp.el:
18592         * emacs-lisp/eieio-custom.el:
18593         * emacs-lisp/eieio-datadebug.el:
18594         * emacs-lisp/eieio-opt.el:
18595         * emacs-lisp/eieio-speedbar.el:
18596         * emacs-lisp/eieio.el: New files.
18598 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18600         * whitespace.el (whitespace-trailing-regexp)
18601         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18602         Fix doc string.
18604 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
18606         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18607         menu.
18609         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18610         menu-bar-ediff-menu.
18612         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18613         define-overloadable-function.
18615         * progmodes/autoconf.el: Provide autoconf as well, so that this
18616         file can be `require'd.
18618         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18620         * emacs-lisp/autoload.el (generated-autoload-feature)
18621         (generated-autoload-load-name): New vars.
18622         (autoload-rubric, autoload-generate-file-autoloads): Use them.
18623         (make-autoload): Recognize define-overloadable-function and
18624         defclass forms (for EIEIO).
18626         * Makefile.in (update-subdirs): Exclude cedet directory.
18628 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
18630         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
18632         * faces.el: Default light-background background for region face to
18633         ns_selection_color under NS.
18635 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
18637         * net/imap-hash.el: New library, see NEWS.
18639         * Makefile.in (ELCFILES): Add imap-hash.el.
18641 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18643         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18644         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18645         * help-macro.el (make-help-screen): Avoid using an ambiguous function
18646         definition where the docstring could be taken for the return value.
18648 2009-09-26  Glenn Morris  <rgm@gnu.org>
18650         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18651         Add option to only show images below a certain size.
18652         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18653         save-excursion calls.
18655 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
18657         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18658         subdirectories) and eieio.
18660 2009-09-26  Alan Mackenzie  <acm@muc.de>
18662         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18663         Correct buggy bracketing.  (Bug#4289)
18665         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18666         character constants (as case labels).  (Bug#4289)
18668 2009-09-25  Juri Linkov  <juri@jurta.org>
18670         * files.el (safe-local-eval-forms): Allow time-stamp in
18671         before-save-hook (Bug#4554).
18673 2009-09-25  Drew Adams  <drew.adams@oracle.com>
18675         * menu-bar.el (list-buffers-directory): Doc fix.
18677 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18679         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18680         Try and avoid copying twice the same paragraph.
18681         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18682         Remove save-excursion.
18683         (log-edit-changelog-entry): Do it here instead.
18685 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
18687         * bs.el (bs--get-file-name): Use `list-buffers-directory'
18688         when available, instead of hardcoding mode names.  Doc fix.
18690         * menu-bar.el (list-buffers-directory): Add docstring.
18691         Make automatically buffer-local.
18693         * dired.el (dired-mode):
18694         * files.el (cd-absolute):
18695         * pcvs.el (cvs-temp-buffer):
18696         * pcvs-util.el (cvs-get-buffer-create):
18697         * shell.el (shell-mode):
18698         * vc-dir.el (vc-dir-mode):
18699         Don't make `list-buffers-directory' buffer local.
18701 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
18703         * comint.el (comint-exec, comint-run, make-comint):
18704         Doc fixes (Bug#4542).
18706 2009-09-25  Glenn Morris  <rgm@gnu.org>
18708         * mail/rmailmm.el (rmail-mime): New custom group.
18709         Move all defcustoms in this file into this group.
18710         (rmail-mime-media-type-handlers-alist): Revert previous change.
18711         (rmail-mime-show-images): New option.
18712         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18713         references to it, since it wasn't actually used for anything.
18714         (rmail-mime-insert-image): New function.
18715         (rmail-mime-image): Use rmail-mime-insert-image.
18716         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18717         obey the value of `rmail-mime-show-images' option.  Print the size of
18718         attachments.
18720 2009-09-25  David Engster  <deng@randomsample.de>
18722         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
18724 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18726         * whitespace.el: Does not highlight trailing spaces While point is
18727         at end of line.  Does not highligt spaces at beginning of buffer
18728         while point is at beginning of buffer.  Does not highlight spaces
18729         at end of buffer while point is at end of buffer.  (Bug#4177)
18730         New version 12.0.
18731         (whitespace-display-mappings): Adjust initialization.
18732         (whitespace-point, whitespace-font-lock-refontify): New vars.
18733         (whitespace-color-on, whitespace-color-off): Adjust code.
18734         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18735         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18736         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18738 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
18740         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18742         * textmodes/sgml-mode.el: Remove xml-mode alias.
18744         * files.el (auto-mode-alist, conf-mode-maybe)
18745         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18747 2009-09-24  Alan Mackenzie  <acm@muc.de>
18749         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18750         c-forward-conditionals, but it doesn't move point and doesn't set
18751         the mark.
18752         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18753         (c-down-conditional-with-else, c-backward-conditional)
18754         (c-forward-conditional): Refactor to use c-scan-conditionals.
18756 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18758         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18759         (help-default-arg-highlight): Remove.
18760         (help-highlight-arg): New function.
18761         (help-do-arg-highlight): Use it.
18762         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
18764 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18766         * term.el (term-set-scroll-region, term-handle-ansi-escape):
18767         Undo last change, which didn't fix the problem and introduced others.
18769 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
18771         * progmodes/gdb-mi.el: Don't require speedbar.
18772         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18774 2009-09-24  Glenn Morris  <rgm@gnu.org>
18776         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18778         * term/ns-win.el (ns-reg-to-script): Define for compiler.
18780         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18781         there is no newline after the final mime boundary.  (Bug#4539)
18782         Move markers on insertion so that any buttons inserted don't end up in
18783         the next part of a multipart message.
18784         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
18785         (rmail-mime-bulk-handler): Optionally handle images.
18786         (rmail-mime-image): New button action.
18787         (rmail-mime-image-handler): New function.
18788         (rmail-mime-mode): New mode.
18789         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
18791 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18793         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18794         than just dropping elements from it (bug#4504).
18796         * term.el (term-set-scroll-region): Don't move cursor any more.
18797         (term-handle-ansi-escape): Call term-goto here instead.
18798         Suggested by Ivan Kanis <apple@kanis.eu>.
18800         * term.el: Require CL.
18801         (term-ansi-reset): New function.
18802         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18803         (term-handle-colors-array): Simplify.
18805 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18807         * allout.el (allout-overlay-interior-modification-handler)
18808         (allout-obtain-passphrase):
18809         * epa-file.el (epa-file-write-region):
18810         * ps-print.el (ps-begin-job):
18811         * vc-hooks.el (vc-toggle-read-only):
18812         * vc-rcs.el (vc-rcs-rollback):
18813         * vc-sccs.el (vc-sccs-rollback):
18814         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18815         (vc-version-diff, vc-revert, vc-rollback):
18816         * wdired.el (wdired-check-kill-buffer):
18817         * emacs-lisp/authors.el (authors):
18818         * net/socks.el (socks-open-connection):
18819         * net/zeroconf.el (zeroconf-service-add-hook):
18820         * obsolete/vc-mcvs.el (vc-mcvs-register):
18821         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18822         (gdb-select-frame):
18823         * progmodes/grep.el (lgrep, rgrep):
18824         * progmodes/idlw-help.el (idlwave-help-check-locations)
18825         (idlwave-help-html-link, idlwave-help-assistant-open-link):
18826         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18827         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18828         (reftex-toc-rename-label): Fix typos in error messages.
18830         * dired-aux.el (dired-do-shell-command): Reflow docstring.
18831         (dired-copy-how-to-fn): Doc fix.
18832         (dired-files-attributes, dired-read-shell-command):
18833         Fix typos in docstrings.
18835         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18836         (dired-x-find-file-other-window): Reflow docstrings.
18837         (dired-omit-marker-char, dired-read-shell-command)
18838         (dired-x-submit-report): Fix typos in docstrings.
18840         * shell.el (shell-mode-hook):
18841         * view.el (View-scroll-line-forward):
18842         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18843         Fix typos in docstrings.
18845         * net/dig.el (dig-invoke): Fix typo in docstring.
18846         (query-dig): Reflow docstring.
18848         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18849         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18850         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18851         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18852         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18853         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18854         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18855         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18856         (idlwave-completion-map, idlwave-current-indent)
18857         (idlwave-custom-ampersand-surround, idlwave-customize)
18858         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18859         (idlwave-define-abbrev, idlwave-determine-class-special)
18860         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18861         (idlwave-end-block-reg, idlwave-end-of-statement)
18862         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18863         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18864         (idlwave-explicit-class-listed, idlwave-file-header)
18865         (idlwave-fill-paragraph, idlwave-find-class-definition)
18866         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18867         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18868         (idlwave-in-quote, idlwave-indent-action-table)
18869         (idlwave-indent-expand-table, idlwave-indent-line)
18870         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18871         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18872         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18873         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18874         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18875         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18876         (idlwave-outlawed-buffers, idlwave-popup-select)
18877         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18878         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18879         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18880         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18881         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18882         (idlwave-statement-type, idlwave-struct-skip)
18883         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18884         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18885         (idlwave-what-module-find-class): Fix typos in docstrings.
18886         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18887         (idlwave-calculate-cont-indent, idlwave-expand-equal)
18888         (idlwave-find-module, idlwave-find-structure-definition)
18889         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18890         (idlwave-list-load-path-shadows, idlwave-next-statement)
18891         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18892         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18893         (idlwave-template): Reflow docstrings.
18895         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18896         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18897         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18898         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18899         (idlwave-shell-display-line, idlwave-shell-display-wframe)
18900         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18901         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18902         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18903         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18904         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18905         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18906         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18907         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18908         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18909         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18910         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18911         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18912         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18913         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18914         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18915         Fix typos in docstrings.
18916         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18917         (idlwave-shell-hide-output, idlwave-shell-mode)
18918         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18919         Reflow docstrings.
18921         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18923 2009-09-24  Ivan Kanis  <apple@kanis.eu>
18925         * term.el (term-bold-attribute): New var.
18926         (term-handle-colors-array): Use it.
18928 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
18930         * progmodes/gdb-mi.el (gdb-version): New variable.
18931         (gdb-non-stop-handler): Set gdb-version.
18932         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18933         Condition "--thread" option on gdb-version.
18934         (gdb-invalidate-threads): Remove unused argument.
18936 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18938         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18939         to looking-back to avoid ridiculous slow down in large files (bug#4511).
18941 2009-09-23  Glenn Morris  <rgm@gnu.org>
18943         * mail/rmail.el (rmail-reply): Don't try to add a References header when
18944         replying to mail without References or Message-Id.  (Bug#4525)
18946 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
18948         * term/ns-win.el (ns-reg-to-script): New variable.
18950 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
18952         * epg.el (epg-wait-for-status): Preserve existing 'error results.
18954 2009-09-22  Sam Steingold  <sds@gnu.org>
18956         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18957         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18958         to 1 because hg returns status 1 when nothing is found.
18959         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18961 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18963         * textmodes/fill.el: Convert to utf-8 encoding.
18964         (fill-french-nobreak-p): Remove redundant » and « inherited from our
18965         pre-Unicode days.
18967         * add-log.el (change-log-fill-forward-paragraph): New function.
18968         (change-log-mode): Use it so fill-region DTRT.
18969         Set fill-indent-according-to-mode here rather than in
18970         change-log-fill-paragraph.
18971         (change-log-fill-paragraph): Remove.
18973 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
18975         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18976         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
18978 2009-09-22  Glenn Morris  <rgm@gnu.org>
18980         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18981         the scroll-bar scroll the calendar window rather than the buffer.
18983         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18984         commands that move point (as opposed to scrolling).
18986         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18988         * emacs-lisp/elint.el (elint): New custom group.
18989         (elint-log-buffer): Make it a defcustom.
18990         (elint-scan-preloaded, elint-ignored-warnings)
18991         (elint-directory-skip-re): New options.
18992         (elint-builtin-variables): Doc fix.
18993         (elint-preloaded-env): New variable.
18994         (elint-unknown-builtin-args): Add an entry for encode-time.
18995         (elint-extra-errors): Make it a variable rather than a constant.
18996         (elint-preloaded-skip-re): New constant.
18997         (elint-directory): Skip files matching elint-directory-skip-re.
18998         (elint-features): New variable, local to linted buffers.
18999         (elint-update-env): Initialize elint-features.  Possibly add
19000         elint-preloaded-env to the buffer's environment.
19001         (elint-get-top-forms): Bind elint-current-pos, for log messages.
19002         Skip quoted forms.
19003         (elint-init-form): New function, extracted from elint-init-env.
19004         Make non-list forms a warning rather than an error.
19005         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
19006         easy-menu-define, put that adds an error-condition, and provide.
19007         When requiring cl, also require cl-macs.  Really require cl, to handle
19008         some cl macros.  Store required libraries in the list elint-features,
19009         so as not to re-load them.  Treat cc-require like require.
19010         (elint-init-env): Call elint-init-form to do the work.
19011         Handle eval-and-compile and such like.
19012         (elint-add-required-env): Do not clear messages.
19013         (elint-special-forms): Add handlers for function, defalias, if, when,
19014         unless, and, or.
19015         (elint-form): Add optional argument to ignore elint-special-forms,
19016         useful to prevent recursive calls from handlers.  Doc fix.
19017         Respect elint-ignored-warnings.
19018         (elint-form): Respect elint-ignored-warnings.
19019         (elint-bound-variable, elint-bound-function): New variables.
19020         (elint-unbound-variable): Respect elint-bound-variable.
19021         (elint-get-args): Respect elint-bound-function.
19022         (elint-check-cond-form): Add some simple handling for (f)boundp and
19023         featurep tests.
19024         (elint-check-defalias-form): New handler.
19025         (elint-check-let-form): Make an empty let a warning rather than an
19026         error.
19027         (elint-check-setq-form): Make an empty setq a warning rather than an
19028         error.  Respect elint-ignored-warnings.
19029         (elint-check-defvar-form): Accept null doc-strings.
19030         (elint-check-conditional-form): New handler.  Does some simple-minded
19031         checking of featurep and (f)boundp tests.
19032         (elint-put-function-args): New function.
19033         (elint-initialize): Use elint-scan-doc-file rather than
19034         elint-find-builtin-variables.  Use elint-put-function-args.
19035         Possibly scan preloaded-file-list.
19036         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19037         extend to handle functions as well.
19039 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
19041         * linum.el (linum-delete-overlays, linum-update-window):
19042         Do not modify the right margin.  (Bug#3971)
19044 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
19046         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19047         Use nxml-mode instead of xml-mode.
19049 2009-09-21  Kevin Ryde  <user42@zip.com.au>
19051         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
19053 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19055         * net/dig.el (dig-mode): Use define-derived-mode.
19057 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
19059         * vc-dispatcher.el (vc-do-command): Return the process object in
19060         the asynchronous case.  Use when instead of if.  Do not run
19061         vc-exec-after to display a message if not enabled.  (Bug#4463)
19063         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19064         properties to the stash strings.
19065         (vc-git-stash-list): Return a list of strings.
19066         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19067         (vc-git-stash-show-at-point): New functions.
19068         (vc-git-stash-map): New keymap.
19070         * register.el (ctl-x-r-map): Define the keys here instead of
19071         using autoload.
19073 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
19075         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19076         list, to workaround performance problem (bug#4485).
19078 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
19080         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19082 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
19084         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19085         Document that this option is not recommended to use.
19087 2009-09-19  Glenn Morris  <rgm@gnu.org>
19089         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19090         variable `var'.
19092         * calc/calc-alg.el (var):
19093         * calc/calcalg2.el (var): Define for compiler.
19095 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
19097         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19098         Doc fix (Bug#3932).
19100         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19102         * time-stamp.el (time-stamp-month-dd-yyyy)
19103         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19104         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19105         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19106         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19107         Remove functions that have been obsolete since 1995 (Bug#4436).
19109         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19110         indent buffer only if called interactively (Bug#4452).
19112 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
19113             Eli Zaretskii  <eliz@gnu.org>
19115         This fixes bug#4197 (merged to bug#865, though not identical).
19116         * server.el (server-auth-dir): Add docstring note about FAT32.
19117         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19118         but warn against using them.
19120 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
19122         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19123         older GDB where there is no has_more field.
19125 2009-09-19  Glenn Morris  <rgm@gnu.org>
19127         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19129 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
19131         * files.el (auto-mode-alist): Change default for XML files to nXML
19132         mode (Bug#4169).
19134 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
19136         * server.el (server-ensure-safe-dir): Pass 'integer
19137         to `file-attributes', as suggested.
19139 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19141         * dired-aux.el (dired-query-alist): Remove spurious backslash.
19142         (dired-query): Use read-key.
19144 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
19146         * cus-start.el (ns-use-qd-smoothing): Remove.
19148 2009-09-18  Glenn Morris  <rgm@gnu.org>
19150         * allout.el (top-level): Remove unnecessary progn.
19152         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19154         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19155         definition of abbrev table.
19157         * speedbar.el (speedbar-track-mouse):
19158         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19159         * net/eudc.el (eudc-expand-inline):
19160         * net/newst-backend.el (newsticker--cache-read-feed):
19161         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19162         condition-case handlers.
19164 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
19166         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19167         (gdb-var-list): Add an element for has_more field.
19168         (gdb-non-stop-handler): Enable pretty printing for STL containers.
19169         (gdb-var-create-handler, gdb-var-list-children-handler-1)
19170         (gdb-var-update-handler-1): Parse output of dynamic variable
19171         objects (STL containers).
19172         (gdb-var-delete-1): Pass var1 as an explicit second argument.
19173         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
19175         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19176         gdb-var-list.
19177         (gud-speedbar-buttons): Make node expandable if expression "has more"
19178         children.
19180 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
19182         * startup.el (emacs-quick-startup): Remove variable and all uses.
19183         (command-line): Set `inhibit-x-resources' instead.
19184         (command-line-1): Use `inhibit-x-resources' instead.
19186 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
19188         * subr.el: Fix last change to avoid using the `unless' macro,
19189         which breaks bootstrapping.
19191 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19193         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19194         extended definitions, in case we reload subr.el after having
19195         loaded CL.
19196         (eval-next-after-load): Mark as obsolete.
19198 2009-09-17  Juri Linkov  <juri@jurta.org>
19200         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19201         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19202         (menu-bar-showhide-menu, menu-bar-tools-menu)
19203         (menu-bar-describe-menu, menu-bar-help-menu)
19204         (minibuffer-local-completion-map, minibuffer-local-map):
19205         Fix list quoting.
19207 2009-09-17  Glenn Morris  <rgm@gnu.org>
19209         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19210         arguments, whether or not it has a handler.
19212         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19214         * simple.el (hard-newline): Give it a doc-string.
19216         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19217         (lisp-mode-syntax-table): Give them doc-strings.
19219 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
19221         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19222         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19223         (menu-bar-options-menu, menu-bar-showhide-menu)
19224         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19225         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19226         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19227         (menu-bar-options-menu, menu-bar-tools-menu)
19228         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19229         (menu-bar-help-menu):
19230         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19231         string arguments.
19233         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19234         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19235         calls for the menu names and :help.
19237 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19239         * mouse.el (minor-mode-menu-from-indicator): Pay attention
19240         to :minor-mode-function (bug#4455).
19242 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19244         * startup.el (command-line): Initialize the window-system after
19245         processing the command-line.
19247         * textmodes/page.el (what-page): Make sure we don't inf-loop if
19248         page-delimiter matches the empty string.
19250 2009-09-16  Glenn Morris  <rgm@gnu.org>
19252         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19253         byte-compile-not-obsolete-var.  It's a list now.
19254         (byte-compile-not-obsolete-funcs): New variable.
19255         (byte-compile-warn-obsolete): Don't warn about functions if they are in
19256         byte-compile-not-obsolete-funcs.
19257         (byte-compile-variable-ref, byte-compile-defvar): Update for
19258         byte-compile-not-obsolete-vars name-change and list nature.
19259         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19260         and variables behind (f)boundp tests.
19261         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19263 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19265         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19267 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19269         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19270         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19271         Don't autoload.
19273 2009-09-15  Stephen Eglen  <stephen@gnu.org>
19275         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19276         the virtual-buffers, use the name of the buffer specified by
19277         find-file-noselect, as the match may be a symlink.  (This was a
19278         problem if the target and the symlink had different names.)
19280 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19282         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19284         * desktop.el (desktop-path): Check user-emacs-directory.
19286         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19288         * loadup.el: Use after-load-functions to GC after loading each file.
19289         Remove the explicit GC calls that used to be sprinkled around.
19291         * subr.el (after-load-functions): New hook.
19292         (do-after-load-evaluation): Run it.  Use string-match-p to detect
19293         `obsolete' packages, rather than painfully extracting the relevant
19294         directory name.
19296 2009-09-15  Glenn Morris  <rgm@gnu.org>
19298         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19299         free variable `doc'.
19301         * dired.el (dired-mode-map): Add menu entry for async shell command.
19303         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19304         variables, also consider the .elc files, since the .el files are
19305         normally gzipped (subsequent code locates the .el.gz from the .elc).
19307         * calc/calc-prog.el (arglist): Define for compiler.
19309         * calendar/diary-lib.el (diary-display-function): Change the default to
19310         fancy display.
19311         (body): Define for compiler.
19313         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19314         (byte-compile-file-form, byte-compile-lambda)
19315         (byte-compile-top-level-body, byte-compile-form)
19316         (byte-compile-variable-ref, byte-compile-setq)
19317         (byte-compile-setq-default, byte-compile-body)
19318         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19319         (batch-byte-compile): Give some more local variables with common names
19320         a "bytecomp-" prefix to avoid masking warnings about free variables.
19322         * startup.el (command-line-1): Give local variables with common names a
19323         distinguishing prefix, so as not to hide free variable warnings during
19324         bootstrap.
19326         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19327         clever and add a suffix to make a unique name, just let the user decide
19328         whether or not to overwrite it.  If the input is a directory, write the
19329         default filename to that directory.  (Bug#4388)
19330         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19331         is a filename-as-a-directory.
19333 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19335         * textmodes/page.el (what-page): Don't move to beginning of line.
19336         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19338 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19340         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19342 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
19344         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19345         * help.el (help-for-help-internal): Add purecopy calls for text.
19347         * vc.el (top): print-log method now takes an optional SHORTLOG
19348         argument.  Add a new method: root.
19349         (vc-root-diff, vc-print-root-log): New functions.
19350         (vc-log-short-style): New variable.
19351         (vc-print-log-internal): Add support for showing short logs.
19353         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19354         vc-print-root-log and vc-print-root-diff.
19356         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19357         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19358         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19359         short logs.
19361         * vc-cvs.el (vc-cvs-print-log):
19362         * vc-mtn.el (vc-mtn-print-log):
19363         * vc-rcs.el (vc-rcs-print-log):
19364         * vc-sccs.el (vc-sccs-print-log):
19365         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19366         that is ignored for now.
19368         * vc-mtn.el (vc-mtn-annotate-command):
19369         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19371 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19373         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19374         to function-key-map, and give them ascii-character property.
19375         * term/x-win.el (x-alternatives-map):
19376         * term/ns-win.el (ns-alternatives-map):
19377         * term/internal.el (msdos-key-remapping-map):
19378         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19380 2009-09-14  Glenn Morris  <rgm@gnu.org>
19382         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19383         temp-buffers (2009-09-12).
19385 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19387         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19388         the new read-key function.
19390 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19392         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19393         is defined (Bug#4405).
19395 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
19397         * recentf.el (recentf-cleanup): Use a hash table to find
19398         duplicates (Bug#4407).
19400 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
19402         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19403         kp-0 to ascii equivalents (Bug#4325).
19405 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19407         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19409         * eshell/em-hist.el:
19410         * eshell/em-dirs.el (eshell-complete-user-reference):
19411         Declare pcomplete functions and variables to avoid compiler warnings.
19413 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
19415         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19416         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19417         * eshell/em-alias.el (eshell-aliases-file):
19418         * eshell/em-hist.el (eshell-history-file-name):
19419         Use expand-file-name instead of concat to make file names (Bug#4308).
19421 2009-09-13  Glenn Morris  <rgm@gnu.org>
19423         * ediff-merg.el (ediff-do-merge):
19424         * filesets.el (filesets-run-cmd):
19425         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19426         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19427         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19428         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19429         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19430         Replace empty `let's with `progn'.
19432 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19434         * mail/sendmail.el (send-mail-function):
19435         * tooltip.el (tooltip-mode):
19436         * simple.el (transient-mark-mode):
19437         * rfn-eshadow.el (file-name-shadow-mode):
19438         * frame.el (blink-cursor-mode):
19439         * font-core.el (global-font-lock-mode):
19440         * files.el (temporary-file-directory)
19441         (small-temporary-file-directory, auto-save-file-name-transforms):
19442         * epa-hook.el (auto-encryption-mode):
19443         * composite.el (global-auto-composition-mode):
19444         Use custom-initialize-delay.
19445         * startup.el (command-line): Don't explicitly call
19446         custom-reevaluate-setting for all the above vars.
19447         * custom.el (custom-initialize-safe-set)
19448         (custom-initialize-safe-default): Delete.
19450 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19452         * term/x-win.el (x-initialize-window-system):
19453         * term/w32-win.el (w32-initialize-window-system):
19454         * term/ns-win.el (ns-initialize-window-system): Don't call
19455         mouse-wheel-mode since it's enabled globally by default already.
19457         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19458         actually define the variable, but only silences the byte-compiler.
19459         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19460         before looking it up.
19461         (mouse-wheel-scroll-amount): Also reset the bindings if this value
19462         is changed.
19464 2009-09-12  Glenn Morris  <rgm@gnu.org>
19466         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19467         1000.
19468         (elint-add-required-env): Don't beep on error.
19469         (elint-forms): In case of error, return ENV unchanged.
19470         (elint-init-env): Skip non-list forms.
19471         (elint-log): Handle unknown file positions.
19473 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
19475         * epg.el (epg-make-context): Add autoload cookie.
19476         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19477         (epg-decrypt-string, epg-start-verify, epg-verify-file)
19478         (epg-verify-string, epg-start-sign, epg-sign-file)
19479         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19480         (epg-encrypt-string, epg-start-export-keys)
19481         (epg-export-keys-to-file, epg-export-keys-to-string)
19482         (epg-start-import-keys, epg-import-keys-from-file)
19483         (epg-import-keys-from-string, epg-start-receive-keys)
19484         (epg-receive-keys, epg-import-keys-from-server)
19485         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19486         (epg-sign-keys, epg-start-generate-key)
19487         (epg-generate-key-from-file, epg-generate-key-from-string):
19488         Remove autoload cookie.
19490 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
19492         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19493         reevaluation of trash-directory.
19495         * mwheel.el: Fix last change.
19496         (mouse-wheel-mode): New defvar.
19497         (mouse-wheel-mode): Remove autoload cookie.
19499 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19501         * mwheel.el (mwheel-installed-bindings): New var.
19502         (mouse-wheel-mode): Use it, so as to make sure we really remove all
19503         the bindings we set last time.  Use custom-initialize-delay.
19504         * loadup.el: Load mwheel after term/*-win.el.
19505         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19506         and mouse-wheel-up-event now that their first evaluation is done
19507         sufficiently late to be correct.
19509         * startup.el (tutorial-directory): Make it a defcustom.
19510         Use custom-initialize-delay rather than eval-at-startup to set it.
19511         * image.el (image-load-path): Make it a defcustom.
19512         Use custom-initialize-delay rather than eval-at-startup to set it.
19513         * subr.el (eval-at-startup): Remove.
19514         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19516         * subr.el (do-after-load-evaluation): Warn the user after loading an
19517         obsolete package.
19519 2009-09-12  Glenn Morris  <rgm@gnu.org>
19521         * proced.el (proced-mark-alt): Remove alias.
19522         (proced-mode-map): Remove proced-mark-alt.
19524         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19525         Elint file and directory.  Remove initialization entry.
19527         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19528         commands.
19529         (elint-current-buffer): Set mode-line-process.
19530         (elint-init-env): Handle define-derived-mode.
19531         Fix declare-function with unspecified arglist.  Guard against odd
19532         defalias statements (eg iso-insert's 8859-1-map).
19533         (elint-add-required-env): Use a temp buffer.
19534         (elint-form): Just print the function/macro name, not the whole form.
19535         Return env unchanged if we fail to parse a macro.
19536         (elint-forms): Guard against parse errors.
19537         (elint-output): New function, to handle batch mode.
19538         (elint-log-message): Add optional argument.  Use elint-output.
19539         (elint-set-mode-line): New function.
19541 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
19543         * emacs-lisp/elp.el (elp-not-profilable): Add more
19544         functions (Bug#4233).
19546 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
19548         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19549         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19551 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19553         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19554         (gdb-var-list-children): Use json parsing.
19556 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
19558         * progmodes/js.el (js--proper-indentation): Handle the case where
19559         char-before is null.  Reported by Deniz Dogan.
19561 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19563         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19565 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
19567         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19568         (epg-digest-algorithm-alist): Add SHA224.
19569         (epg-context-set-passphrase-callback)
19570         (epg-context-set-progress-callback): Add description about
19571         callback function.
19573 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19575         * custom.el (custom-delayed-init-variables): New var.
19576         (custom-initialize-delay): New function.
19577         * startup.el (command-line): "Re"evaluate all vars in
19578         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
19579         explicitly any more.
19580         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19581         to avoid creating a ~/.emacs.d at build-time (bug#4347).
19583         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19585 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19587         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19588         (gdb-var-update-handler): Use json parsing.
19590 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19592         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19593         decode annotated text, regardless of language environment.  (Bug#2741)
19595 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19597         * Makefile.in (autoloads): Make rmail.el writable as well.
19599 2009-09-11  Glenn Morris  <rgm@gnu.org>
19601         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19602         loaddefs.el.
19603         * dired.el: Regenerate with extracted autoloads.
19604         * Makefile.in (autoloads): Make dired.el writable.
19606         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19607         * ibuffer.el: Regenerate with extracted autoloads.
19608         * Makefile.in (autoloads): Make ibuffer.el writable.
19610         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19611         * version.el (emacs-copyright, emacs-major-version)
19612         (emacs-minor-version): Reformat doc-strings for make-docfile.
19614         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19615         functions and variables, since they must be stuff specific to some other
19616         platform.
19617         (apropos-print): Make mouse-click message less specific about button.
19619         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19620         that records where a macro was defined.
19621         * help-fns.el (describe-function-1): Mention if a function has a
19622         compiler-macro.
19623         * help-mode.el (help-function-cmacro): New button.
19625         * locate.el (top-level): Always require dired.
19626         (locate-mode-map): Initialize inside the defvar.
19628         * net/ange-ftp.el (dired-compress-file): Declare.
19629         (ange-ftp-dired-compress-file): Add doc string.
19631         * term/ns-win.el (x-display-name, x-setup-function-keys):
19632         Unify doc-strings with X versions.
19634 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19636         * emulation/crisp.el (crisp-mode-map): Move initialization
19637         into declaration.
19638         (crisp-mode): Use define-minor-mode.
19640         * progmodes/xscheme.el (xscheme-evaluation-commands):
19641         Put a :advertised-binding property rather than using
19642         advertised-xscheme-send-previous-expression.
19643         (advertised-xscheme-send-previous-expression): Declare obsolete.
19644         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19645         `advertised-undo'.
19646         (crisp-mode): Add corresponding bindings to
19647         undo's :advertised-binding instead.
19648         * dired.el (dired-mode-map): Put a :advertised-binding property rather
19649         than using dired-advertised-find-file.
19650         (dired-advertised-find-file):
19651         * simple.el (advertised-undo):
19652         * wid-edit.el (advertised-widget-backward): Declare obsolete.
19653         (widget-keymap): Put a :advertised-binding property rather
19654         than using advertised-widget-backward.
19655         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19656         than using advertised-undo.
19657         * tutorial.el (tutorial--default-keys): Adjust accordingly.
19659 2009-09-10  Simon South  <ssouth@slowcomputing.org>
19661         * progmodes/delphi.el (delphi-tab): Indent region when Transient
19662         Mark mode is enabled and region is active; otherwise indent or
19663         insert TAB as usual.
19664         (delphi-mode): Update description of TAB-key binding.
19666 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19668         * subr.el (define-key-rebound-commands): Mark obsolete.
19669         * startup.el (precompute-menubar-bindings): Remove.
19670         (normal-top-level): Remove obsolete code that tried to precompute
19671         menubar bindings.
19672         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19673         define-key-rebound-commands and precompute-menubar-bindings.
19675 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
19677         * net/imap.el (imap-interactive-login): Better messages.
19678         (imap-open): Fix bug with renamed buffer on reconnect.
19679         (imap-authenticate): Add buffer-local imap-last-authenticator variable
19680         for easier debugging and cleaner code.  On successful (guessed based on
19681         server capabilities) secondary authentication, set imap-state
19682         correctly.
19683         (imap-last-authenticator): Define imap-last-authenticator as a variable
19684         to avoid warnings.
19686 2009-09-10  Glenn Morris  <rgm@gnu.org>
19688         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19690         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19691         (byte-compile-file-form-autoload): Don't warn about unknown functions
19692         where the autoload statement comes after the use.
19693         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19694         that any handlers inside the body (eg require) are in turn respected.
19696         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19697         effects.
19699         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19700         and syntax and abbrev tables basic docs, if they don't have any.
19702         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19704         * international/mule-cmds.el (top-level): Require cl when compiling.
19705         (view-hello-file): Use default-value rather than
19706         default-enable-multibyte-characters.
19708         * progmodes/fortran.el: Move all safe and risky properties into the
19709         defcustoms.
19711         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19712         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19713         * mail/undigest.el:
19714         Put autoloads in rmail.el rather than loaddefs.el.
19715         * mail/rmail.el: Regenerate with extracted autoloads.
19717         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19718         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19720 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
19722         Reported in thread for Bug#4375.
19723         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19724         "-data-evaluate-expression" instead of print.
19725         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19726         (gdb-tooltip-print): Parse output from above MI command.
19727         (gdb): Revert 2009-08-11 change.  User should detach inferior
19728         manually.
19730         Remove the word "separate" from IO functions as inferior
19731         output is now never displayed in the GUD buffer.
19733 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
19735         * startup.el (command-line-normalize-file-name): On Windows and
19736         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19738 2009-09-10  Juri Linkov  <juri@jurta.org>
19740         * isearch.el (isearch-text-char-description): Propertize escape
19741         character sequences with the `escape-glyph' face.  (Bug#4344)
19743         * simple.el (shell-command): Set asynchronous process filter to
19744         `comint-output-filter'.  (Bug#4343)
19746         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19747         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
19748         the list.  Move "asm" to the bottom.
19749         (grep-find-ignored-directories): Add `choice' with nil value
19750         to empty the list easily.
19751         (grep-find-ignored-files): New option.
19752         (grep-files-history): Set to nil by default instead of '("ch" "el").
19753         (grep-compute-defaults): Add "<X>" to `grep-template'.
19754         (grep-read-files): Bind new local variables `default-alias' and
19755         `default-extension'.  Use a list of default values for the file prompt.
19756         (lgrep): Add `--exclude=' command line options composed from
19757         `grep-find-ignored-files'.
19758         (rgrep): Add `-name' command line options composed from
19759         `grep-find-ignored-files'.  (Bug#4301)
19761 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19763         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19764         (bug#4368).
19766 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
19768         * calendar/time-date.el (autoload):
19769         Expand define-obsolete-function-alias into defalias and make-obsolete
19770         for old Emacsen that Gnus supports.
19771         (with-no-warnings): Define it for old Emacsen.
19772         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19773         is available.
19774         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19775         float-time is available; suppress compile warning for time-to-seconds.
19777 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
19779         * net/imap.el (imap-message-map): Docstring fix.
19781 2009-09-09  Glenn Morris  <rgm@gnu.org>
19783         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19784         line numbers too.  (Bug#4374)
19786 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19788         * smerge-mode.el (smerge-remove-props, smerge-refine):
19789         Use with-silent-modifications (bug#4342).
19791         * subr.el (with-silent-modifications): New macro.
19793 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
19795         * files.el (top-level): Require `cl' when compiling.
19797 2009-09-07  Glenn Morris  <rgm@gnu.org>
19799         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19801         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19802         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
19804 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
19806         * vc-git.el (vc-git-annotate-command): Use separator to parse
19807         arguments correctly.
19809 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
19811         * proced.el (proced-mode): Doc fix.
19813 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
19815         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19816         lstat fails.
19817         (tramp-do-file-attributes-with-ls): Check for file existence at
19818         remote end.
19819         (tramp-do-file-attributes-with-stat): Likewise.
19820         (tramp-convert-file-attributes): Return nil when attr is nil.
19822 2009-09-05  Glenn Morris  <rgm@gnu.org>
19824         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19825         properties to this button.
19826         (diary-fancy-display): Don't extend the button to the final newline.
19827         (diary-fancy-display-mode): Continue to define "q" as a local key.
19829         * calendar/cal-china.el (holiday-chinese): Make it slightly more
19830         efficient.
19832         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19834         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19835         (byte-compile-dest-file-function): New option.
19836         (byte-compile-dest-file): Doc fix.
19837         Obey byte-compile-dest-file-function.
19838         (byte-compile-cl-file-p): New function.
19839         (byte-compile-eval): Only suppress noruntime warnings about cl functions
19840         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
19841         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19842         than for file being previously loaded.
19843         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19844         (byte-compile-file-form-require): Handle the case where requiring a file
19845         indirectly causes CL to be loaded.
19847 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19849         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19850         before killing the old buffer, since by the time `kill-buffer' is
19851         run so many buffer variables have been set to nil that it may not
19852         behave as expected.  (Bug#4061)
19854 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19856         * files.el (find-alternate-file): If the old buffer is modified
19857         and visiting a file, behave similarly to `kill-buffer' when
19858         killing it, thus reverting to the pre-1.878 behavior; see
19859         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19860         for discussion.  Also, consult `buffer-file-name' as a variable
19861         not as a function, for consistency with the rest of the code.
19863 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
19865         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19866         also when adding a new directory.
19868         * net/tramp-compat.el (tramp-compat-line-beginning-position):
19869         New defun.
19871 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19873         * files.el (locate-file-completion-table): Make it provide boundary
19874         information, so partial-completion works better.
19876 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
19878         * mail/footnote.el (Footnote-text-under-cursor):
19879         Check footnote-text-marker-alist before using it (bug#4324).
19881 2009-09-04  Glenn Morris  <rgm@gnu.org>
19883         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19884         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19885         * play/solitaire.el, play/tetris.el:
19886         Remove leading * from defcustom and defface docs.
19888         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19889         necessary.
19890         (diary-fancy-overriding-map): New variable.
19891         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19892         Use view-mode.
19894         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19895         goto-line.
19897 2009-09-03  Glenn Morris  <rgm@gnu.org>
19899         * arc-mode.el (archive-mode):
19900         * dos-fns.el (set-default-process-coding-system):
19901         * man.el (Man-getpage-in-background):
19902         * menu-bar.el (menu-bar-describe-menu):
19903         * server.el (server-process-filter):
19904         * startup.el (command-line):
19905         * tar-mode.el (tar-header-block-tokenize, tar-extract):
19906         * w32-fns.el (set-default-process-coding-system):
19907         * x-dnd.el (x-dnd-handle-file-name):
19908         * international/mule-cmds.el (mule-menu-keymap)
19909         (set-default-coding-systems, language-info-alist, set-language-info)
19910         (set-language-environment, standard-display-european-internal)
19911         (set-locale-environment):
19912         * international/mule-diag.el (mule-diag):
19913         * mail/emacsbug.el (report-emacs-bug):
19914         * mail/rmail.el (rmail-mode):
19915         * mail/sendmail.el (mail-setup):
19916         Use default-value rather than default-enable-multibyte-characters.
19918         * progmodes/f90.el: Move all safe properties into the defcustoms.
19919         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19921         * calendar/appt.el (appt-check):
19922         * calendar/diary-lib.el (diary-set-header, diary-live-p)
19923         (diary-check-diary-file, diary-list-entries)
19924         (diary-include-other-diary-files, diary-simple-display)
19925         (diary-fancy-display, diary-print-entries)
19926         (diary-mark-included-diary-files, diary-make-entry):
19927         Don't call substitute-in-file-name on diary-file.
19929 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
19930             Stefan Monnier  <monnier@iro.umontreal.ca>
19932         * mail/footnote.el (footnote-prefix): Make it a defcustom.
19933         (footnote-mode-map): Move initialization into the declaration.
19934         (footnote-minor-mode-map): Define it rather than changing global-map.
19935         (footnote-mode): Use define-minor-mode.
19937 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
19939         * net/tramp.el (tramp-handle-file-attributes-with-ls)
19940         (tramp-do-file-attributes-with-perl)
19941         (tramp-do-file-attributes-with-stat): Rename from
19942         `tramp-handle-file-attributes-with-*'.
19943         (tramp-handle-file-attributes): Use them.
19944         (tramp-do-directory-files-and-attributes-with-perl)
19945         (tramp-do-directory-files-and-attributes-with-stat): Rename from
19946         `tramp-handle-directory-files-and-attributes-with-*'.
19947         (tramp-handle-directory-files-and-attributes): Use them.
19948         (tramp-method-out-of-band-p): Additional parameter SIZE.
19949         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19950         (tramp-handle-write-region): Use it.
19951         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19952         (tramp-handle-vc-registered): Check, whether the first run did
19953         return files to be tested.
19954         (tramp-advice-make-auto-save-file-name): Do not call directly
19955         `tramp-handle-make-auto-save-file-name', because this would bypass
19956         the locking mechanism.
19958         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19959         (file-remote-p, process-file, start-file-process, set-file-times)
19960         (tramp-compat-file-attributes): Compatibility functions shall not
19961         call directly `tramp-handle-*', because this would bypass the
19962         locking mechanism.
19963         (tramp-compat-number-sequence): New defun.
19965 2009-09-02  Glenn Morris  <rgm@gnu.org>
19967         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19968         alias for float-time.
19969         (time-to-number-of-days): In Emacs, use float-time.
19970         * net/newst-backend.el (time-add): Suppress warnings from compat
19971         function.
19972         * time.el (emacs-uptime, emacs-init-time):
19973         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19974         Use float-time rather than time-to-seconds.
19976         * minibuffer.el (completion-initials-expand): Fix typo.
19978         * faces.el (modeline, modeline-inactive, modeline-highlight)
19979         (modeline-buffer-id):
19980         * info.el (info-menu-5): Mark these face aliases as obsolete.
19982 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19984         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19985         space ...
19986         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19987         no "--thread" option.
19988         (gdb-stopped): Don't print "Switched to thread" message when it is
19989         unchanged.
19991 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19993         * minibuffer.el (completion-try-completion)
19994         (completion-all-completions): Remove ill-defined (and
19995         mistakenly installed and luckily never used nor documented)
19996         `completion-styles' property.
19997         (completion-initials-expand, completion-initials-all-completions)
19998         (completion-initials-try-completion): New functions.
19999         (completion-styles-alist): Add doc to each entry.
20000         Add new `initials' entry.
20002 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
20004         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20005         MI command -var-evaluate-expression.
20006         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20007         and tweak for case of string child.
20008         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20010 2009-09-01  Glenn Morris  <rgm@gnu.org>
20012         * add-log.el (change-log-date-face, change-log-name-face)
20013         (change-log-email-face, change-log-file-face, change-log-list-face)
20014         (change-log-conditionals-face, change-log-function-face)
20015         (change-log-acknowledgement-face):
20016         * cus-edit.el (custom-invalid-face, custom-rogue-face)
20017         (custom-modified-face, custom-set-face, custom-changed-face)
20018         (custom-saved-face, custom-button-face, custom-button-pressed-face)
20019         (custom-documentation-face, custom-state-face, custom-comment-face)
20020         (custom-comment-tag-face, custom-variable-tag-face)
20021         (custom-variable-button-face, custom-face-tag-face)
20022         (custom-group-tag-face-1, custom-group-tag-face):
20023         * diff-mode.el (diff-header-face, diff-file-header-face)
20024         (diff-index-face, diff-hunk-header-face, diff-removed-face)
20025         (diff-added-face, diff-changed-face, diff-function-face)
20026         (diff-context-face, diff-nonexistent-face):
20027         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20028         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20029         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20030         (Info-title-4-face):
20031         * isearch.el (isearch-lazy-highlight-face):
20032         * log-view.el (log-view-file-face, log-view-message-face):
20033         * paren.el (show-paren-match-face, show-paren-mismatch-face):
20034         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20035         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20036         (cvs-msg-face):
20037         * smerge-mode.el (smerge-mine-face, smerge-other-face)
20038         (smerge-base-face, smerge-markers-face):
20039         * wid-edit.el (widget-documentation-face, widget-button-face)
20040         (widget-field-face, widget-single-line-field-face)
20041         (widget-inactive-face, widget-button-pressed-face):
20042         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20043         (woman-addition-face):
20044         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20045         (eshell-ls-executable-face, eshell-ls-readonly-face)
20046         (eshell-ls-unreadable-face, eshell-ls-special-face)
20047         (eshell-ls-missing-face, eshell-ls-archive-face)
20048         (eshell-ls-backup-face, eshell-ls-product-face)
20049         (eshell-ls-clutter-face):
20050         * eshell/em-prompt.el (eshell-prompt-face):
20051         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20052         * obsolete/old-whitespace.el (whitespace-highlight-face):
20053         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20054         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20055         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20056         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20057         (antlr-font-lock-literal-face):
20058         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20059         (ebrowse-root-class-face, ebrowse-file-name-face)
20060         (ebrowse-default-face, ebrowse-member-attribute-face)
20061         (ebrowse-member-class-face, ebrowse-progress-face):
20062         * progmodes/make-mode.el (makefile-space-face):
20063         * progmodes/sh-script.el (sh-heredoc-face):
20064         * textmodes/flyspell.el (flyspell-incorrect-face)
20065         (flyspell-duplicate-face):
20066         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20067         * textmodes/texinfo.el (texinfo-heading-face):
20068         Mark face aliases with "-face" suffix as obsolete.
20070         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20071         compiler.
20073         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20074         (eudc-bob-sound-menu): Use defvar rather than defconst, since
20075         easy-menu-define wants to modify these.
20077         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20079         * net/browse-url.el (browse-url-file-url):
20080         * term/internal.el (dos-codepage-setup):
20081         Use default-value rather than default-enable-multibyte-characters.
20083         * progmodes/etags.el (etags-goto-tag-location):
20084         * progmodes/flymake.el (flymake-highlight-line)
20085         (flymake-goto-file-and-line, flymake-goto-line):
20086         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20087         (gdb-goto-breakpoint):
20088         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20089         * progmodes/python.el (python-find-function)
20090         (python-pdbtrack-track-stack-file):
20091         * progmodes/verilog-mode.el (verilog-surelint-off):
20092         * term/ns-win.el (ns-open-file-select-line):
20093         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20094         Use forward-line rather than goto-line.
20096         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20097         * textmodes/reftex-index.el (reftex-display-index):
20098         * textmodes/reftex-ref.el (reftex-offer-label-menu):
20099         * textmodes/reftex-toc.el (reftex-toc):
20100         Remove unnecessary bindings of default-major-mode (all are followed by
20101         major-mode check and possible mode switch).
20103 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20105         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20106         Handle watchpoints (bug#4282).
20107         (def-gdb-thread-buffer-command): Enable thread to be selected by
20108         clicking without selecting threads buffer first.
20109         (gdb-current-context-command): Use selected frame so that "up",
20110         "down" etc work in the GUD buffer.
20111         (gdb-update): Find selected frame before rendering stack buffer.
20112         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20114 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20116         * progmodes/sym-comp.el (displayed-completions): Remove.
20117         (symbol-complete): Use minibuffer-complete.
20119 2009-08-31  Glenn Morris  <rgm@gnu.org>
20121         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20123         * apropos.el (apropos-symbols-internal):
20124         Handle (obsolete) face aliases.
20126         * faces.el (describe-face): Adjust the output format to be more like
20127         describe-variable, and to mention (obsolete) face aliases.
20128         Adjust the whitespace so that help-setup-xref works.
20130         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20131         * calendar/diary-lib.el (diary-button-face):
20132         Mark these face aliases as obsolete.
20134         * calendar/calendar.el (calendar-today): Doc fix.
20136 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20138         * progmodes/gdb-mi.el (gdb-control-all-threads)
20139         (gdb-control-current-thread): Force tool bar update.
20140         (gdb-non-stop-handler): New function.
20141         (gdb-init-1): Use it to test if non-stop mode is supported.
20142         Remove unused gdbmi buffer type.
20144 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
20146         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20147         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
20149 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
20151         * comint.el (comint-exec-1): Check command is non-null first.
20152         Part of gdb-mi.el change (2009-08-28).
20154 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20156         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20158 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
20160         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20161         instead of `dolist' to avoid a recursive require when bootstrapping.
20163 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20165         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20167         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20169         * net/imap.el (imap-send-command): Simplify.
20170         (imap-wait-for-tag): point-max -> buffer-size.
20172         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20174         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20175         with constant argument.
20177         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20179         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20181         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20182         Change default, since most of our files don't have a history.
20183         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20184         the user.
20186         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20187         Add comint-run.
20189         * calc/calc.el: Improve commenting convention.
20190         (calc-digit-map, toplevel): Simplify.
20192         * comint.el (comint-insert-input): Be careful to only set point if we
20193         don't delegate to some other command.
20195         * proced.el (proced-signal-list): Make it an alist.
20196         (proced-grammar-alist): Capitalize names.
20197         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20198         Disable undo manually and make it read-only.
20199         Use completion-annotate-function.
20201         * minibuffer.el (minibuffer-message): If the current buffer is not
20202         a minibuffer, insert the message in the echo area rather than at the
20203         end of the buffer.
20204         (completion-annotate-function): New variable.
20205         (minibuffer-completion-help): Use it.
20206         (completion--embedded-envvar-table): Environment vars are
20207         always case-sensitive.
20209 2009-08-30  Glenn Morris  <rgm@gnu.org>
20211         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20212         from fortran-current-defun.
20213         (fortran-beginning-of-subprogram): Be more precise about finding the
20214         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
20215         (fortran-end-of-subprogram): Simplify.
20216         (fortran-current-defun): Use fortran-start-prog-re.
20218 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
20220         * subr.el (do-after-load-evaluation): Simplify.
20222 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
20224         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20226         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
20227         (vc-rcs-print-log): Use it.
20229         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20231 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20233         * paths.el (abbrev-file-name): Move to abbrev.el.
20234         * abbrev.el (abbrev-file-name): Move from paths.el.
20235         Obey user-emacs-directory.
20236         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20237         user-emacs-directory.
20238         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20239         abbrev-file-name and calc-settings-file any more.
20240         * startup.el (command-line): Recompute abbrev-file-name and
20241         abbreviated-home-dir.
20242         (normal-no-mouse-startup-screen): Improve the generic code and get rid
20243         of the special code for when C-h bindings haven't been changed.
20244         (display-startup-echo-area-message): Use with-current-buffer.
20245         (command-line-1): Use a list of strings, rather than a list of lists
20246         of strings for longopts.
20248         * files.el (get-free-disk-space): Use / for default-directory.
20250         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20251         Use with-current-buffer.
20253         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20254         Recognize immutable variables like most-positive-fixnum.
20255         (byte-compile-setq-default): Check and warn if trying to assign
20256         to an immutable variable, or a non-variable.
20258         * progmodes/cc-vars.el (c-comment-continuation-stars):
20259         * progmodes/cc-engine.el (c-looking-at-bos):
20260         * progmodes/cc-cmds.el (c-toggle-auto-state)
20261         (c-forward-into-nomenclature, c-backward-into-nomenclature)
20262         (c-comment-line-break-function): Add version of obsolescence.
20264 2009-08-28  Juri Linkov  <juri@jurta.org>
20266         * files.el (magic-fallback-mode-alist): Add ZIP magic number
20267         associated with `archive-mode'.
20269         * image.el (image-type-header-regexps): Use only JPEG magic number
20270         to determine JPEG images, and don't use `image-jpeg-p' because
20271         Emacs can display non-JFIF non-Exif JPEG images.
20273 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20275         * arc-mode.el (archive-mode):
20276         * emacs-lisp/re-builder.el (re-builder-unload-function):
20277         Protect against the default value of `major-mode' being nil.
20279 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20281         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20282         Fix typos in docstrings.
20284         * progmodes/js.el (js--macro-decl-re): Doc fix.
20285         (js--plain-method-re, js--split-name): Refloc docstring.
20286         (js--class-styles, js--make-merged-item, js--splice-into-items):
20287         Fix typos in docstrings; reflow docstrings.
20288         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20289         (js--variable-decl-matcher, js--inside-pitem-p)
20290         (js--parse-state-at-point, js--get-all-known-symbols)
20291         (js--symbol-history, js-find-symbol, js--js-references)
20292         (js--moz-interactor, js--js-encode-value, js--read-tab):
20293         Fix typos in docstrings.
20295 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20297         * textmodes/reftex.el (reftex-get-file-buffer-force):
20298         * progmodes/verilog-mode.el (verilog-batch-execute-func):
20299         * emulation/viper.el (viper-go-away, viper-set-hooks):
20300         * emacs-lisp/re-builder.el (re-builder-unload-function):
20301         * emacs-lisp/bytecomp.el (byte-compile-file):
20302         * ses.el (ses-unload-function):
20303         * hexl.el (hexl-find-file):
20304         * files.el (normal-mode):
20305         * ehelp.el (with-electric-help):
20306         * autoinsert.el (auto-insert-alist):
20307         * arc-mode.el (archive-mode):
20308         Use (default-value 'major-mode) instead of default-major-mode.
20310         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20311         * international/mule.el (load-with-code-conversion):
20312         * emacs-lisp/debug.el (debug):
20313         * ediff-vers.el (ediff-rcs-get-output-buffer):
20314         * dired.el (dired-internal-noselect): Don't let-bind
20315         default-major-mode around code that doesn't use it.
20316         E.g. buffer creation via get-buffer-create doesn't use it.
20318 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
20320         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20321         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20322         when writing the temp file.  Otherwise, epa-file gets confused.
20323         (tramp-register-file-name-handlers): Make it a defun.  Move also
20324         `epa-file-handler' to the front of `file-name-handler-alist'.
20326 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20328         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20329         start right after a ^M.
20330         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20331         (tramp-completion-file-name-regexp-separate)
20332         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20333         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20334         Don't modify last-coding-system-used by accident.
20335         (tramp-completion-file-name-handler): Apply the checks here,
20336         instead during registration.
20337         (tramp-register-file-name-handlers): Rename from
20338         `tramp-register-file-name-handler'.  Register both
20339         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20340         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
20342 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
20344         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20345         Remove variable ...
20346         (gdb-init-1, gdb-display-separate-io-buffer)
20347         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20348         references to it.
20349         (gdb-inferior-io-mode): Use make-comint-in-buffer.
20350         (gdb-inferior-filter): Use comint-output-filter to stop
20351         echoing and remove ^M characters.
20353 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20355         * emulation/viper-init.el (viper-restore-cursor-type):
20356         * emulation/cua-base.el (cua--update-indications):
20357         Replace default-cursor-type with (default-value 'cursor-type).
20359         * mail/sendmail.el (mail-recover-1):
20360         * international/mule-diag.el (describe-current-coding-system-briefly)
20361         (describe-current-coding-system):
20362         * international/mule-cmds.el (select-safe-coding-system)
20363         (select-message-coding-system)
20364         (set-language-environment-coding-systems, set-locale-environment):
20365         * hexl.el (hexl-insert-multibyte-char):
20366         * dos-w32.el (find-buffer-file-type-coding-system):
20367         * simple.el (what-cursor-position):
20368         Replace uses of default-buffer-file-coding-system
20369         with (default-value 'buffer-file-coding-system).
20371         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20372         Replace uses of default-cursor-in-non-selected-windows
20373         with (default-value 'cursor-in-non-selected-windows).
20374         Use with-current-buffer.
20376         * mail/feedmail.el: Use CL macros.
20377         (feedmail-run-the-queue, feedmail-send-it-immediately):
20378         * dos-w32.el (find-buffer-file-type): Replace uses of
20379         default-buffer-file-type with (default-value 'buffer-file-type).
20381 2009-08-28  Glenn Morris  <rgm@gnu.org>
20383         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20384         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20385         Use default-value of major-mode rather than default-major-mode.
20387 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20389         * Makefile.in (update-elcfiles): Report left over elc files.
20391         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20392         expand-file-name and with-current-buffer.
20393         (mail-get-names, mail-directory): Use with-current-buffer.
20395         * vc.el (vc-read-revision): New function.
20396         (vc-version-diff, vc-merge): Use it.
20398 2009-08-27  Sam Steingold  <sds@gnu.org>
20400         * simple.el (kill-do-not-save-duplicates): New user option.
20401         (kill-new): When it is non-nil, and the new string is the same as
20402         the latest kill, set replace to t to avoid duplicates in kill-ring.
20404 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
20406         * net/tramp.el (tramp-handle-process-file): Do not flush all
20407         caches when `process-file-side-effects' is set.
20408         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20409         instead of `tramp-find-file-exists-command'.
20410         Unset `process-file-side-effects'.
20412 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
20414         * net/tramp.el (tramp-methods): New method "rsyncc".
20415         (top): Add completion function for "rsyncc".
20416         (tramp-message-show-message): New defvar.
20417         (tramp-message, tramp-error): Use it.
20418         (tramp-do-copy-or-rename-file-directly): Extend check for direct
20419         remote copying.
20420         (tramp-do-copy-or-rename-file-out-of-band): Handle new
20421         `tramp-methods' entry `copy-env' of "rsyncc".
20422         (tramp-vc-registered-read-file-names): New defconst.
20423         (tramp-vc-registered-file-names): New defvar.
20424         (tramp-handle-vc-registered): Implement optimization strategy.
20425         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20426         (tramp-vc-file-name-handler): New defun.
20427         (tramp-get-ls-command, tramp-get-test-command)
20428         (tramp-get-file-exists-command, tramp-get-remote-ln)
20429         (tramp-get-remote-perl, tramp-get-remote-stat)
20430         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20432         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20433         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
20434         timestamps.
20435         (tramp-get-file-property): Check for timestamps in
20436         `tramp-cache-inhibit-cache'.
20437         (tramp-set-file-property): Write timestamp.
20439 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20441         * language/japan-util.el (japanese-symbol-table): Add entries for
20442         cp932-2-byte.
20444         * international/characters.el: Add category `j' to cp932-2-byte.
20446 2009-08-27  Kenichi Handa  <handa@m17n.org>
20448         * international/fontset.el (build-default-fontset-data): New macro.
20449         (setup-default-fontset): Use build-default-fontset-data for CJK,
20450         tibetan, ethiopic, and ipa.
20452 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20454         * cus-start.el (default-major-mode): Customize `major-mode' instead.
20455         (enable-multibyte-characters): Not customizable any more.
20457         * subr.el (default-mode-line-format, default-header-line-format)
20458         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20459         (default-direction-reversed, default-truncate-lines)
20460         (default-left-margin, default-tab-width, default-case-fold-search)
20461         (default-left-margin-width, default-right-margin-width)
20462         (default-left-fringe-width, default-right-fringe-width)
20463         (default-fringes-outside-margins, default-scroll-bar-width)
20464         (default-vertical-scroll-bar, default-indicate-empty-lines)
20465         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20466         (default-fringe-cursor-alist, default-scroll-up-aggressively)
20467         (default-scroll-down-aggressively, default-fill-column)
20468         (default-cursor-type, default-buffer-file-type)
20469         (default-cursor-in-non-selected-windows)
20470         (default-buffer-file-coding-system, default-major-mode)
20471         (default-enable-multibyte-characters): Mark as obsolete.
20473 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
20475         * vc-dir.el (vc-dir-update): Remove debug helper.
20477         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20479 2009-08-26  Sam Steingold  <sds@gnu.org>
20481         * simple.el (save-interprogram-paste-before-kill): New user option.
20482         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20483         save the interprogram-paste into kill-ring before overriding it
20484         with the Emacs kill.
20486 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20488         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20489         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20490         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20491         and move to vc-rcs.el.
20492         (vc-default-next-revision): Rename to vc-rcs-next-revision and
20493         move to vc-rcs.el.
20494         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20495         (vc-rcs-update-changelog): Remove.
20496         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20497         and move to vc-rcs.el.
20499         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20500         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20501         renaming.
20502         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20503         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20504         vc.el, renamed to be RCS specific.
20506         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20507         New functions.
20508         (vc-cvs-update-changelog): Move here from vc.el.
20510         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20511         New functions.
20513 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20515         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20517 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20519         * vc-git.el (vc-git-register): Use "git add" for directories.
20520         (vc-git-stash, vc-git-stash-show): New functions.
20521         (vc-git-extra-menu-map): Bind them.
20523         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20524         directory correctly in case the item is a directory itself.
20526         * vc.el: Document the desired behavior for reverted files in the
20527         `added' state.
20528         (vc-default-prettify-state-info): Remove function, unused.
20530         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20532 2009-08-26  Glenn Morris  <rgm@gnu.org>
20534         * bindings.el (standard-mode-line-format): Reposition dashes in
20535         which-func entry.  (Bug#4217)
20537         * files.el (enable-local-variables, enable-local-eval)
20538         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20539         the defcustoms.
20540         (auto-mode-alist, ignored-local-variables)
20541         (save-some-buffers-action-alist): Move risky declarations to the
20542         definitions.
20543         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20544         (font-lock-defaults, format-alist, imenu--index-alist)
20545         (imenu-generic-expression, input-method-alist, minor-mode-alist)
20546         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20547         (mode-line-modified, mode-line-mule-info, mode-line-position)
20548         (mode-line-process, mode-line-remote, outline-level)
20549         (parse-time-rules, rmail-output-file-alist)
20550         (special-display-buffer-names, vc-mode):
20551         Move risky declarations to the relevant files.
20552         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20553         (mode-line-modified, mode-line-process, mode-line-position)
20554         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20555         * font-core.el (font-lock-defaults):
20556         * format.el (format-alist):
20557         * vc-hooks.el (vc-mode):
20558         * window.el (special-display-buffer-names):
20559         * international/mule-cmds.el (input-method-alist):
20560         Define riskiness here (dumped file) rather than in files.el.
20561         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20562         * imenu.el (imenu-generic-expression, imenu--index-alist):
20563         * outline.el (outline-level):
20564         * time.el (display-time-string):
20565         * calendar/parse-time.el (parse-time-rules):
20566         * mail/rmailout.el (rmail-output-file-alist):
20567         Autoload riskiness here, rather than placing in files.el.
20569 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
20571         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20573 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
20575         * simple.el (process-file-side-effects): New defvar.
20577         * dired-aux.el (dired-show-file-type):
20578         * vc.el (vc-diff-internal):
20579         * vc-arch.el (vc-arch-diff):
20580         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20581         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20582         * vc-git.el (vc-git-registered, vc-git-working-revision)
20583         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20584         (vc-git--empty-db-p):
20585         * vc-hooks.el (vc-user-login-name):
20586         * vc-svn.el (vc-svn-registered, vc-svn-state)
20587         (vc-svn-dir-extra-headers, vc-svn-find-revision):
20588         * progmodes/grep.el (grep-probe): Let-bind
20589         `process-file-side-effects' with nil.
20591         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20593         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20594         daemon.  Replace ping by checking for running service for bluez
20595         and zeroconf.  (Bug#4239)
20597 2009-08-25  Kevin Ryde  <user42@zip.com.au>
20599         * net/dig.el (dig): Add autoload cookie.
20601 2009-08-25  Glenn Morris  <rgm@gnu.org>
20603         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20604         load-history for absolute file-names.
20605         (byte-compile-file-form-require): Warn about use of the cl package.
20607         * format.el (format-alist): Doc fix.
20609         * play/bubbles.el (top-level): Don't require cl at run-time.
20611         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20612         run-time cl).
20614 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
20616         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20617         from cl package.
20618         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20620 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
20622         * calc/calc-alg.el (math-trig-rewrite)
20623         (math-hyperbolic-trig-rewrite): New functions.
20624         (calc-simplify): Simplify trig functions when asked.
20626 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20628         * diff-mode.el (diff-find-source-location): Avoid goto-line.
20630 2009-08-24  Kenichi Handa  <handa@m17n.org>
20632         * language/ind-util.el (mapthread): Delete it.
20633         (combinatorial): New function.
20634         (indian--puthash-cv): Use combinatorial instead of mapthread.
20636 2009-08-22  Kevin Ryde  <user42@zip.com.au>
20638         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20639         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20640         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20641         Clarify docstring that the value is strings not symbols.
20642         (checkdoc-list-of-strings-p): New function.
20644 2009-08-22  Glenn Morris  <rgm@gnu.org>
20646         * files.el (auto-mode-alist):
20647         * hippie-exp.el (he-concat-directory-file-name):
20648         * lpr.el (lpr-windows-system, printer-name):
20649         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20650         * ps-print.el (ps-windows-system):
20651         * startup.el (command-line):
20652         * emulation/viper-ex.el (viper-glob-function):
20653         * international/mule-cmds.el (set-language-environment-coding-systems):
20654         * net/ange-ftp.el (ange-ftp-write-region):
20655         * obsolete/fast-lock.el (fast-lock-cache-name):
20656         Remove code for defunct system-types emx, macos, mswindows, next-mach,
20657         unisoft-unix, vax-vms, win32, w32.
20659         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20660         given name if the pattern is not more specific.
20662         * calendar/lunar.el (lunar-phase-names): New option.
20663         (lunar-phase): Doc fix.
20664         (lunar-cycles-per-year): New constant.
20665         (lunar-index): New function.
20666         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20667         (lunar-phase-name): Use lunar-phase-names.
20668         (calendar-lunar-phases): Use format.
20669         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20671         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20672         Copy imenu-example--name-and-position function here for own use.
20673         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20675         * bs.el (bs--redisplay):
20676         * cus-edit.el (custom-redraw):
20677         * ibuffer.el (ibuffer-bury-buffer):
20678         * server.el (server-goto-line-column):
20679         * startup.el (command-line-1):
20680         * strokes.el (strokes-xpm-for-stroke):
20681         * term.el (term-display-buffer-line):
20682         * view.el (View-goto-line):
20683         * calc/calc.el (calc-do, calc-trail-buffer):
20684         * play/gamegrid.el (gamegrid-add-score-insecure):
20685         * progmodes/ada-mode.el (ada-compile-goto-error):
20686         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20687         (ebrowse-select-1st-to-9nth):
20688         * progmodes/cperl-mode.el (cperl-time-fontification):
20689         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20690         * progmodes/gud.el (gud-display-line):
20691         (idlwave-shell-display-line):
20692         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20693         * progmodes/make-mode.el (makefile-browser-toggle):
20694         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20695         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20696         * textmodes/picture.el (picture-draw-rectangle):
20697         * textmodes/reftex-index.el (reftex-index-goto-letter):
20698         (reftex-select-jump-to-previous):
20699         * textmodes/reftex-sel.el (reftex-find-start-point)
20700         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20701         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20702         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20703         * textmodes/tex-mode.el (tex-compilation-parse-errors):
20704         * textmodes/two-column.el (2C-associated-buffer):
20705         Use forward-line rather than goto-line.
20707         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20708         goto-line.
20710         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20711         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20712         (quick-check-list-to-regexp): Declare.
20714         * progmodes/make-mode.el (makefile-browser-insert-selection):
20715         Use goto-char rather than goto-line.
20717         * progmodes/prolog.el (compilation-error-regexp-alist)
20718         (compilation-forget-errors): Declare.
20720 2009-08-22  Juri Linkov  <juri@jurta.org>
20722         * progmodes/grep.el (lgrep, rgrep): At the beginning
20723         set `dir' to `default-directory' unless `dir' is a non-nil
20724         readable directory.  (Bug#4052)
20725         (lgrep, rgrep): Change a weird way to report an error
20726         from using `read-string' to using `error'.
20727         Instead of using interactive arguments in the function body,
20728         add new argument `confirm'.
20730 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20732         * textmodes/remember.el (remember-buffer):
20733         * progmodes/cperl-mode.el (cperl-vc-header-alist):
20734         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20735         (icalendar-extract-ical-from-buffer):
20736         * net/newst-treeview.el (newsticker-groups-filename):
20737         * net/newst-backend.el (newsticker-cache-filename):
20738         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20739         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20740         (speedbar-add-ignored-path-regexp, speedbar-line-path)
20741         (speedbar-buffers-line-path, speedbar-path-line)
20742         (speedbar-buffers-line-path):
20743         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20744         (epg-sign-keys):
20745         * epa.el (epa-display-verify-result):
20746         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20748 2009-08-21  Glenn Morris  <rgm@gnu.org>
20750         * progmodes/js.el (inferior-moz-process): Fix declaration.
20752         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20754         * obsolete/rnewspost.el (news-mail-reply):
20755         Use goto-char rather than goto-line.
20757         * term/ns-win.el (ns-open-file-select-line):
20758         Use line-beginning-position rather than goto-line.
20760         * apropos.el (apropos-command):
20761         * ehelp.el (electric-helpify):
20762         * printing.el (pr-show-setup):
20763         * strokes.el (strokes-help):
20764         * tutorial.el (tutorial--describe-nonstandard-key)
20765         (tutorial--detailed-help):
20766         * woman.el (woman-mini-help, woman-display-extended-fonts):
20767         * calc/calc-help.el (calc-describe-key):
20768         * emulation/edt.el (edt-electric-helpify):
20769         * international/mule-diag.el (mule-diag):
20770         * play/yow.el (apropos-zippy):
20771         * progmodes/python.el (python-describe-symbol):
20772         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20773         * textmodes/table.el (*table--cell-describe-mode)
20774         (*table--cell-describe-bindings):
20775         Use help-print-return-message rather than the now obsolete alias.
20777         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20778         (calendar-cursor-to-visible-date):
20779         * play/5x5.el (5x5-position-cursor):
20780         * play/decipher.el (decipher):
20781         * play/gomoku.el (gomoku-goto-xy):
20782         * play/landmark.el (lm-goto-xy):
20783         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20784         (mpuz-paint-digit):
20785         Use forward-line, not goto-line.
20787         * mail/rmail.el (rmail-obsolete): Delete custom group.
20788         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20789         (rmail-remote-password, rmail-remote-password-required):
20790         Remove unneeded :set-after and :set properties.
20792 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
20794         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20796 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
20798         * loadup.el: Remove leftover macos code.
20800         * vc-git.el (vc-git-annotate-command): Run asynchronously.
20801         Explicitly pass the date format to git blame so that user local
20802         so that the output format can be parsed.
20804 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
20806         * net/dbus.el (top): Don't check for (getenv
20807         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
20809 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
20811         * log-edit.el (log-edit-strip-single-file-name): New var.
20812         (log-edit-insert-changelog): Use it.  Bug#3571.
20814 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20816         * subr.el (read-passwd): Use read-key so keypad keys work as well.
20817         Bug#3287.
20819         * help.el (help-print-return-message): Rename from
20820         print-help-return-message.
20822         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20823         cvs-mode-map parent hack.
20824         (log-view-mode): Derive from special-mode.
20826         * linum.el (linum-mode): window-size-change-functions is redundant.
20827         Adapt to new window-configuration-change-hook behavior.
20828         (linum-after-size, linum-after-config): Remove.
20830         * imenu.el (imenu-example--name-and-position)
20831         (imenu-example--lisp-extract-index-name)
20832         (imenu-example--create-lisp-index, imenu-example--create-c-index):
20833         Mark as obsolete.
20835         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20836         (inferior-prolog-mode): Use it.
20837         (inferior-prolog-load-file): Reset list of errors.
20839 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20841         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20843         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20845 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
20847         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20848         is running already.
20850 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20852         * subr.el (listify-key-sequence-1): Use normal syntax since those
20853         integers are nowadays always represented by the same (positive) number
20854         on all platforms.
20855         (read-key-empty-map): New const.
20856         (read-key-delay): New var.
20857         (read-key): New function.
20858         (force-mode-line-update): Use with-current-buffer.
20859         (locate-user-emacs-file): Don't forget to abbreviate the file name.
20860         (start-process-shell-command, start-file-process-shell-command):
20861         Discourage the use of command-args.
20863 2009-08-19  Glenn Morris  <rgm@gnu.org>
20865         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20867 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20869         * simple.el (choose-completion-string): Don't rely on
20870         minibuffer-completing-file-name and ad-hoc checks to decide whether
20871         to continue completion or not.
20873         * minibuffer.el (minibuffer-hide-completions): New function.
20874         (completion--do-completion): Use it.
20875         (completions-annotations): New face.
20876         (completion--insert-strings): Use it.
20877         (completion-pcm--delim-wild-regex): Add docstring.
20878         (completion-pcm--string->pattern): Add support for 0-width delimiters
20879         in completion-pcm--delim-wild-regex.
20881 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20883         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20884         Remove unused var `buffer-modified-p'.
20886         * minibuffer.el (completion--do-completion): Move point for the #b001
20887         case as well (bug#4176).
20888         (minibuffer-complete, minibuffer-complete-word): Don't move point.
20890 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
20892         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
20893         and :session buses.
20895 2009-08-18  Kenichi Handa  <handa@m17n.org>
20897         * international/ucs-normalize.el (ucs-normalize-version):
20898         Change to 1.1.
20899         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20900         (utf-8-hfs): Make it perform normalization on encoding too.
20902         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
20903         (sentence-end-without-space): Delete duplicated chars.
20904         (sentence-end-base): Likewise.
20906         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
20907         (html-mode): Delete duplicated chars from sentence-end-base.
20909         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
20910         (texinfo-mode): Delete duplicated chars from sentence-end-base.
20912 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
20914         * files.el (hack-one-local-variable): If the mode function is for
20915         a minor mode, pass it an argument (Bug#4148).
20917 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
20919         * net/tramp.el (tramp-register-completion-file-name-handler):
20920         Check also for (member 'partial-completion completion-styles).
20922 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20924         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20925         abbrev (Bug#3943).
20927 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
20929         * progmodes/cperl-mode.el: Merge upstream 6.2.
20930         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20931         (cperl-forward-re): Check cperl-brace-recursing.
20932         (cperl-highlight-charclass): New function.
20933         (cperl-find-pods-heres): Use it.
20934         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20935         (cperl-beautify-regexp-piece): Fix column calculation.
20936         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20937         (cperl-beautify-level): Don't process entire regexp.
20938         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20939         calling man.
20940         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20941         (cperl-init-faces): Build a list in the normal way.
20943 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20945         * calendar/parse-time.el (parse-time-string-chars): Save match
20946         data.
20948 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20950         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20951         (sql-product): Use it.
20952         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20953         (sql-set-product): Add completion.
20954         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20955         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20956         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20957         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20958         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20959         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20960         (sql-highlight-db2-keywords): Remove.
20961         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20962         (sql-highlight-product): Use derived-mode-p.
20963         (sql-set-sqli-buffer): Use with-current-buffer.
20964         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20965         Simplify.
20967         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20969         * term.el: Fix commenting convention, turn comments into docstrings.
20971 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20973         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20975 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
20977         * calendar/parse-time.el (parse-time-string-chars): Compute using
20978         character classes, to handle non-ascii characters (Bug#3190).
20980 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20982         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20983         another heredoc if the user adds another < (Bug#3226).
20985         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20986         Don't initialize based on window-system (Bug#4124).
20988         * facemenu.el (facemenu-read-color): Use a completion function
20989         that accepts any defined color, such as RGB triplets (Bug#3677).
20991         * files.el (get-free-disk-space): Change fallback default
20992         directory to /.  Expand DIR argument before switching to fallback.
20993         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20995 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20997         * files.el (load-library): Doc fix.
20999 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
21001         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21002         (viper-if-string): Redefine C-s in the minibuffer to insert the last
21003         incremental search string.
21005         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21006         XEmacs.
21008         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21009         (ediff-merge-region-is-non-clash)
21010         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21011         Also check if the job is really a merge job.
21013         * ediff.el (ediff-current-file): New function.
21015 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
21017         * progmodes/js.el: Edit docstrings throughout to follow Emacs
21018         conventions.
21019         (js-insert-and-indent): Delete function.
21020         (js-mode-map): Don't bind keys to js-insert-and-indent.
21021         (js-beginning-of-defun): Rename from js--beginning-of-defun.
21022         (js-end-of-defun): Rename from js--end-of-defun.
21023         (js-auto-indent-flag): Delete variable.
21025 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
21027         * progmodes/js.el: Remove proclaim statement.
21028         Defvar which-func-imenu-joiner-function to silence compiler.
21030         * files.el (auto-mode-alist): Use js-mode for .js files.
21032         * progmodes/js2-mode.el: Remove file.
21034         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21036         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21038         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21040 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
21041             Karl Landstrom  <karl.landstrom@brgeight.se>
21043         * progmodes/js.el: New file.
21045 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
21047         * timezone.el (timezone-parse-date): Add ability to understand ISO
21048         basic format (minimal separators) dates in addition to the
21049         already-supported extended format dates.
21051 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
21053         * international/ucs-normalize.el: Add a `coding' file variable.
21055         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21057 2009-08-14  Sam Steingold  <sds@gnu.org>
21059         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21061 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
21063         * faces.el (help-argument-name): Define it here instead of
21064         help-fns.el, because in daemon mode help-fns.el may be loaded when
21065         faces are still uninitialized (Bug#1078).
21067         * help-fns.el (help-argument-name): Move defface to faces.el.
21069 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
21071         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21072         create buffer with a pty but no process so that GDB can make the
21073         inferior the controlling process.
21075 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
21077         * international/ucs-normalize.el: New file.
21079 2009-08-13  Richard Stallman  <rms@gnu.org>
21081         * mail/rmail.el (rmail-get-attr-names):
21082         Accept an attribute header that is too short.
21084         * mail/rmail.el (rmail-forget-messages):
21085         Ignore nil elt in rmail-message-vector.  Use dotimes.
21087         * progmodes/compile.el (compilation-goto-locus):
21088         Use next-error-move-function.
21090         * simple.el (next-error-move-function): New variable.
21092 2009-08-12  Juri Linkov  <juri@jurta.org>
21094         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21095         always non-nil.  (Bug#4052)
21097         * replace.el (read-regexp): Return empty string when
21098         `default-value' is nil.
21099         (keep-lines-read-args): Don't use empty string as the
21100         default value for `read-regexp'.  (Bug#2495)
21102 2009-08-12  Juri Linkov  <juri@jurta.org>
21104         * international/mule-cmds.el (ucs-insert): Change arguments
21105         from `arg' to `character', `count', `inherit' to be the same
21106         as in `insert-char'.  Doc fix.  (Bug#4039)
21108         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21110 2009-08-12  Juri Linkov  <juri@jurta.org>
21112         * files-x.el: New file.
21114         * files.el: Move code that deals with adding/deleting
21115         file/directory-local variables to files-x.el.
21117         * Makefile.in (ELCFILES): Add files-x.elc.
21119 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
21121         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21122         to use `goto-line'.
21123         (gdb-place-breakpoints, gdb-get-location): Rewritten without
21124         `goto-line'.
21125         (gdb-invalidate-disassembly): Do not refresh upon receiving
21126         'update signal.  Instead, update all disassembly buffers only after
21127         threads list.
21128         (gdb): Send -target-detach when buffer is killed (Bug#3794).
21129         (gdb-starting): Move -data-list-register-names...
21130         (gdb-stopped): ...here so it's sent when first thread stops.
21131         (gdb-registers-handler-custom): Do nothing if register names are
21132         unknown yet.
21134         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21135         from `gdb-mi.el' to avoid extra tangling.
21137         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21138         change which breaks `gud-def' definitions used in `gdb'.
21139         (gdb-update-gud-running): No extra fuss for updating frame number.
21141 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
21143         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21144         (describe-language-environment-map, setup-language-environment-map)
21145         (set-coding-system-map): Move initialization into declaration.
21146         (set-language-info-alist): Last arg to define-key-after can be skipped.
21148         * international/quail.el (quail-completion-1): Simplify.
21149         (quail-define-rules): Use slightly more compact code.
21150         (quail-insert-decode-map): Propertize keys, compact columns.
21152         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21153         Add goto-line.
21155 2009-08-10  Miles Bader  <miles@gnu.org>
21157         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21158         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21159         (js2-instance-member, js2-private-member, js2-private-function-call)
21160         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21161         (js2-magic-paren, js2-external-variable):
21162         Remove "-face" suffix from face names.
21163         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21164         (js2-highlight-undeclared-vars, js2-peek-token)
21165         (js2-parse-function-params, js2-mode-show-errors)
21166         (js2-mode-show-warnings, js2-make-magic-delimiter)
21167         (js2-mode-highlight-magic-parens): Update to use new face names.
21169 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
21171         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21172         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
21174 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
21176         * subr.el: Provide hashtable-print-readable.
21178         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21179         hs-c-like-adjust-block-beginning.
21180         (hs-hide-block-at-point): Stop hiding at the beginning of
21181         hs-block-end-regexp (Bug#700).
21183 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
21185         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21186         a macro.
21187         (gdb-registers-handler-custom): Do not fail when register names
21188         are unavailable.
21190 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21192         * progmodes/gdb-mi.el (gdb-control-all-threads)
21193         (gdb-control-current-thread): Interactive setters for
21194         `gdb-gud-control-all-threads' to use in menu.
21195         (gdb-show-run-p): Show «Go» when process is not active.
21196         (gud-tool-bar-map): Add non-stop/A,T indicator.
21197         Uses gud/thread.xpm and gud/all.xpm.
21199 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
21201         * net/net-utils.el (net-utils-font-lock-keywords): New var.
21202         (nslookup-font-lock-keywords): Make it a variable.
21203         (net-utils-mode): New mode for viewing diagnostic network output.
21204         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21205         (net-utils-run-simple): New function.
21206         (ifconfig, iwconfig, netstat, arp, route): Use it.
21208 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21210         * progmodes/gdb-mi.el (gdb-read-memory-custom)
21211         (gdb-memory-set-address, def-gdb-set-positive-number)
21212         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21213         after changing settings.
21214         (gdb-invalidate-disassembly): Update when first shown.
21215         (gdb-edit-locals-value): Fix.
21216         (gdb-registers-handler-custom): Print registers in right order and
21217         allow changing register values (only for current thread yet).
21218         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21219         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21220         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21221         (gdb-locals-handler-custom, gdb-registers-handler-custom):
21222         Thread info in mode name.
21223         (gdb-registers-mode-map): TAB to switch to locals.
21225 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
21227         * mail/rmail.el (rmail-add-mbox-headers)
21228         (rmail-set-message-counters-counter): Search for
21229         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
21231 2009-08-08  Glenn Morris  <rgm@gnu.org>
21233         * Makefile.in (ELCFILES): Update.
21235 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21237         * mail/sendmail.el (mail-yank-original):
21238         Set buffer-file-coding-system from the one used by the message whose
21239         text is yanked.
21241         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21242         to "windows" when "pgnuplot" is used.
21243         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21244         Don't call accept-process-output if "pgnuplot" is used.
21245         (calc-graph-init): Don't send -display and -geometry to
21246         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
21247         running "pgnuplot -V" with shell-command-to-string.
21249         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21250         the default.
21252 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21254         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21255         org/org-latex.elc.
21257 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
21259         * vc-dispatcher.el (vc-resynch-window): Update comment.
21261         * term.el (term-handle-ansi-escape): Add comments with the
21262         terminfo capabilities implemented.
21264 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
21266         * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21267         (gdb-var-create-handler): Rewritten using JSON parser.
21268         (gdb-propertize-header): Move earlier.
21269         (gdb-set-header): Remove to avoid duplication.
21270         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21271         Refresh disassembly buffers only after threads list have been
21272         update.
21273         (gdb-threads-header, gdb-registers-header): Per-buffer header line
21274         variables.
21276 2009-08-04  Juri Linkov  <juri@jurta.org>
21278         * files.el: Commands to add/delete file/directory-local variables.
21279         (read-file-local-variable, read-file-local-variable-value)
21280         (read-file-local-variable-mode, modify-file-local-variable)
21281         (modify-file-local-variable-prop-line)
21282         (modify-dir-local-variable): New functions.
21283         (add-file-local-variable, delete-file-local-variable)
21284         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21285         (add-dir-local-variable, delete-dir-local-variable)
21286         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21287         (copy-dir-locals-to-file-locals-prop-line): New commands.
21289 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
21291         * abbrev.el (insert-abbrev-table-description): Prettify output.
21292         Suggested by Karl Chen.
21294 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
21296         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21297         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21298         (gdb-overlay-arrow-position, gdb-thread-position)
21299         (gdb-disassembly-position): Declare variables.
21300         (gdb-wait-for-pending): Function now.
21301         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21302         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21303         compilation goes smoothly.
21304         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21305         (gdb-non-stop-setting): New customization setting which replaces
21306         `gdb-non-stop' so changing it doesn't break active GDB session.
21307         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21308         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21309         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21310         (gdb-show-threads-by-default): New customization options.
21311         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21312         routines.
21313         (gdb-get-buffer-create): Send buffers update signal when they are
21314         created.
21315         (gdb-invalidate-locals, gdb-invalidate-registers)
21316         (gdb-invalidate-breakpoints)
21317         (gdb-invalidate-threads, gdb-invalidate-disassembly)
21318         (gdb-invalidate-memory): Accept update signal.
21319         (gdb-current-context-command): Use --frame option.
21320         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21321         Implement `gdb-frame-number' selection logic.
21322         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21323         whether to show GUD toolbar buttons.
21324         (gdb-thread-exited): Unselect current thread when it exits.
21325         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21326         (gdb-mark-line): Routine which sets overlay arrow or inverses
21327         video on fringeless displays.
21328         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21329         to build aligned columns of data in GDB buffers and set text
21330         properties line-by-line.
21331         (gdb-invalidate-breakpoints)
21332         (gdb-breakpoints-list-handler-custom)
21333         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21334         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21335         (gdb-registers-handler-custom): Align data columns.
21336         (gdb-locals-handler-custom): Now prints data like in variable
21337         declarations.
21338         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21339         Remove confusing buttons.
21340         (gdb-invalidate-threads): Append --frame.
21341         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21342         between breakpoints/threads buffers.
21343         (gdb-set-window-buffer): Now can ignore dedicated windows.
21344         (gdb-propertize-header): Use `gdb-set-window-buffer'.
21345         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21346         (def-gdb-thread-buffer-gud-command): Replaces
21347         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21348         for fine thread control.
21349         (gdb-preempt-existing-or-display-buffer): New function used to
21350         display bound buffers without breaking window layout.
21351         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21352         (gdb-select-frame): New version of `gdb-frames-select' which now
21353         sets `gdb-frame-number' so commands may use --frame option instead
21354         of inner debugger state.
21355         (gdb-frame-handler): Do not set `gdb-frame-number'.
21356         (gdb-threads-mode-map): Select threads with mouse.
21358         * progmodes/gud.el (gdb-gud-context-call): Declare function to
21359         avoid compilation warning.
21360         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21361         `gdb-show-stop-p`.
21363         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21364         Argument `key' renamed to `buffer-type'.
21365         (gdb-current-context-buffer-name): Do not add thread info to
21366         buffer name when no thread is selected.
21367         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21368         command (bug 3794).
21369         (gdb-thread-selected): Handle `=thread-selected' notification.
21370         (gdb-wait-for-pending): New macro to deal with congestion problems.
21371         (gdb-breakpoints-list-handler-custom): Don't fail on pending
21372         breakpoints.
21373         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21374         This fixes problem similar to one described in bug 3947.
21375         (gud-menu-map): More menu items.
21376         (gdb-init-1): Reset `gdb-thread-number' to nil.
21378         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21379         non-stop settings.
21381         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21382         (gdb-current-context-command): Do not append --thread if
21383         `gdb-thread-number' is nil.
21384         (gdb-running-threads-count, gdb-stopped-threads-count):
21385         New variables.
21386         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21387         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21388         New customization options.
21389         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21390         GUD commands.
21391         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21392         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21393         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21394         set `gdb-thread-number' and update `gud-running' properly.
21395         (gdb-running): Update threads list when new threads appear.
21396         (gdb-stopped): Support non-stop operation and new thread switching
21397         logic.
21398         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21399         (gdb-json-partial-output): New set of JSON routines.
21400         (def-gdb-auto-update-trigger): New `signal-list' optional
21401         argument.
21402         (gdb-thread-list-handler-custom): Update `gud-running',
21403         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21404         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21405         (gdb-continue-thread, gdb-step-thread): New commands for fine
21406         thread execution control.
21407         (gud-menu-map): New menu items to switch non-stop options.
21408         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21409         (gdb-send): Mimic RET properly (bug 3794).
21411         * progmodes/gdb-mi.el (gdb-rules-name-maker)
21412         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21413         gdb-buffer-rules.
21414         (def-gdb-auto-update-handler): New nopreserve optional argument.
21415         (gdb-stack-list-frames-custom): Print stack from top to bottom.
21417         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21418         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21419         (gdb-parent-mode): New mode to derive other GDB modes from.
21420         (gdb-display-disassembly-for-thread)
21421         (gdb-frame-disassembly-for-thread): New commands for threads
21422         buffer.
21424         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21425         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21426         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21427         (gdb-update): We now store all GDB buffers in a list so that they
21428         can be updated by traversing a list instead of calling invalidate
21429         triggers explicitly.
21430         (def-gdb-trigger-and-handler): New macro to define trigger-handler
21431         pair for GDB buffer.
21432         (gdb-stack-buffer-name): Add thread information.
21433         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21434         handle pending triggers.
21435         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21436         (def-gdb-thread-buffer-simple-command)
21437         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21438         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21439         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21440         New commands which show buffers bound to thread.
21441         (gdb-stack-list-locals-regexp): Remove unused regexp.
21443         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21444         (gdb-locals-buffer-name, gdb-registers-buffer-name)
21445         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21446         to (gud-comint-buffer) in *-buffer-name functions
21447         because (gdb-get-target-string) already does that.
21448         (gdb-locals-handler-custom, gdb-registers-handler-custom)
21449         (gdb-changed-registers-handler): Rewritten without regexps.
21451         * progmodes/gdb-mi.el: Basic thread selection support.
21452         (gdb-thread-number): New variable.
21453         (gdb-current-context-command): New macro which adds --thread
21454         option to command.
21455         (gdb-threads-mode-map): Select thread with SPC.
21456         (gdb-thread-list-handler-custom): Mark current thread with overlay
21457         arrow.  Synchronize GDB thread and Emacs thread.
21458         (gdb-select-thread): New command which selects current thread.
21459         (gdb-invalidate-frames, gdb-invalidate-locals)
21460         (gdb-invalidate-registers): Use --thread option.
21462 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
21464         * net/tramp.el (top): Make check for tramp-gvfs loading more
21465         robust.  (Bug#3977)
21466         (tramp-handle-insert-file-contents): `unwind-protect' must be
21467         inside `with-parsed-tramp-file-name'.
21469         * net/tramp-gvfs.el (top): Remove superfluous message when loading
21470         fails.
21472 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
21474         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21475         directory if CLASSPATH is not set.
21477 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
21479         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21480         New defconst.
21481         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
21483 2009-08-02  Kevin Ryde  <user42@zip.com.au>
21485         * net/newst-backend.el (newsticker--raw-url-list-defaults):
21486         Update freshmeat link.  Delete newsforge.com as it seems gone.
21488 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21490         * select.el (x-set-selection): Doc fix (Bug#4021).
21492         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21494         * help-fns.el (describe-variable): Treat list return values from
21495         dir-locals-find-file properly (Bug#4005).
21497 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
21499         * net/tramp.el (tramp-debug-message): Print also microseconds.
21501 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
21503         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21504         or END is non-nil.
21505         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21506         (tramp-get-debug-buffer): Change `outline-regexp' according to new
21507         format.
21509         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21510         (tramp-get-file-property): Use it.
21512         * autorevert.el (auto-revert-handler):
21513         Allow `auto-revert-tail-mode' for remote files.
21515 2009-08-02  Jason Rumney  <jasonr@gnu.org>
21517         * minibuffer.el (read-file-name): Treat confirm options to
21518         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
21520 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21522         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21523         (font-lock-variable-name-face, font-lock-constant-face):
21524         Darken the colors for light backgrounds.
21526 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
21528         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21529         month names.  (Bug#3987)
21531 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
21533         * simple.el (line-move-finish): Pass whole number to
21534         line-move-to-column.
21535         (line-move-visual): Perform hscroll to the recorded position.
21537 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
21539         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21541 2009-07-29  Alan Mackenzie  <acm@muc.de>
21543         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21545 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
21547         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21548         (gdb-place-breakpoints): Use full path when setting breakpoints.
21550 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
21552         * calc/calc.el (calc-mode-map): Add keybinding for
21553         `calc-transpose-lines'.
21555 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
21557         * calc/calc-misc.el (calc-transpose-lines): New function.
21559 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
21561         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21562         Simplify check for out-of-band methods.
21563         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21564         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
21566 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
21568         * vc-git.el (vc-git-checkin): Fix typo.
21570 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
21572         * progmodes/js2-mode.el: New file.
21574 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
21576         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21577         (gud-menu-map): Adjust tooltip accordingly.
21579 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
21581         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21582         (vc-bzr-log-view-mode): Adjust log-view-file-re.
21584         * add-log.el (change-log-mode-map): Add a menu.
21586 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
21588         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21589         function returns nil.
21590         (dbus-handle-event): Handle special return value :ignore.
21591         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21593 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
21595         * view.el (view-mode-enable): Don't define Helper-return-blurb if
21596         it's not needed.
21598 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
21600         Fix Bug#3888:
21602         * w32-vars.el (x-select-enable-clipboard): Doc fix.
21604         * term/pc-win.el (x-display-name, x-colors)
21605         (x-select-enable-clipboard, x-select-text): Doc fix.
21607         * term/common-win.el (x-display-name, x-colors): Doc fix.
21609         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21610         (xw-defined-colors): Doc fix.
21612         * w32-fns.el (x-select-text, x-setup-function-keys)
21613         (x-get-selection, x-set-selection): Doc fix.
21615         * term/x-win.el (x-select-text, x-setup-function-keys)
21616         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21618         * select.el (x-set-selection): Doc fix.
21620 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
21622         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21623         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
21624         "IsNSSSupportAvailable" method is not available.
21625         Reported by Steve Youngs <steve@sxemacs.org>.
21627 2009-07-24  Kenichi Handa  <handa@m17n.org>
21629         * international/characters.el: Fix setting of category ?C, ?|, ?K,
21630         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
21631         (build-unicode-category-table): Fix range checks.
21633 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
21635         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21636         the buffer we try to sync is current when calling
21637         vc-resynch-buffer.
21639         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21640         not show up to date files.
21642 2009-07-24  Glenn Morris  <rgm@gnu.org>
21644         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21645         Add autoload cookies.  If necessary, initialize.
21646         (elint-log): Handle non-file buffers.
21647         (elint-initialize): Add optional argument to reinitialize.
21648         (elint-find-builtin-variables): Save excursion.
21650 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
21652         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21653         for Lint.
21655 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
21657         * vc.el (vc-print-log-internal): New function, split out from ...
21658         (vc-print-log): ... here.
21659         (vc-dir-move-to-goal-column): Declare.
21661         * vc-git.el (vc-git-add-signoff): New variable.
21662         (vc-git-checkin): Use it.
21663         (vc-git-toggle-signoff): New function.
21664         (vc-git-extra-menu-map): Bind it to menu.
21665         (vc-git--run-command-string): Accept a nil FILE argument.
21666         (vc-git-stash-list): New function.
21667         (vc-git-dir-extra-headers): Use it.
21669 2009-07-23  Glenn Morris  <rgm@gnu.org>
21671         * help-fns.el (describe-variable): Describe ignored and risky local
21672         variables in a similar way to that in which we describe safe ones.
21674         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21675         (byte-compile-output-file-form, byte-compile-output-docform)
21676         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21677         Give some more local variables with common names a "bytecomp-" prefix,
21678         so as not to shadow things during compilation.
21679         * emacs-lisp/cl-macs.el (load-time-value)
21680         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21681         `outbuffer' to `bytecomp-outbuffer'.
21683         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21684         since the next two variables cover them automatically now.
21685         (elint-builtin-variables, elint-autoloaded-variables): New.
21686         (elint-unknown-builtin-args): Remove all members, since they can be
21687         parsed automatically now.
21688         (elint-extra-errors): New.
21689         (elint-env-add-env, elint-env-add-macro): Use cadr.
21690         (elint-current-buffer): Use or.  Change final message.
21691         (elint-get-top-forms): Use line-end-position.
21692         (elint-init-env): Use cadr.  Handle autoload, declare-function,
21693         and defalias.
21694         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
21695         (regexp-assoc): Remove unused function.
21696         (elint-top-form): Set elint-current-pos, to record the start of the
21697         top-level form, for compilation-mode.
21698         (elint-form): Trap errors in macro expansion.  Use dolist.
21699         (elint-unbound-variable): Use elint-builtin-variables and
21700         elint-autoloaded-variables.
21701         (elint-get-args): Use cadr, or.
21702         (elint-check-cond-form): Use dolist, cadr.
21703         (elint-check-condition-case-form): Doc fix.  Use cadr.
21704         Use elint-extra-errors.
21705         (elint-log): New function.
21706         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21707         Distinguish errors and warnings.
21708         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
21709         Use a bytecomp-style format.
21710         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
21711         (elint-get-log-buffer): Use compilation mode.  Disable undo.
21712         Don't truncate lines.
21713         (elint-initialize): Set builtin and autoloaded variable lists.
21714         Only process elint-unknown-builtin-args if non-nil.
21715         (elint-find-builtin-variables, elint-find-autoloaded-variables):
21716         New functions.
21717         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
21719 2009-07-22  Kevin Ryde  <user42@zip.com.au>
21721         * net/newst-backend.el (newsticker--parse-atom-1.0)
21722         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21723         (newsticker--parse-rss-1.0):
21724         * progmodes/idlwave.el (idlwave-mode):
21725         * progmodes/idlw-shell.el (idlwave-shell-mode):
21726         * progmodes/vera-mode.el (vera-mode):
21727         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21728         * progmodes/vhdl-mode.el (vhdl-mode):
21729         * textmodes/table.el (table-generate-source)
21730         (table--warn-incompatibility):
21731         Hyperlink urls in docstrings with URL `...'.
21733 2009-07-22  Glenn Morris  <rgm@gnu.org>
21735         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21736         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21737         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21738         Remove leading * from defcustom docs.
21740         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
21742         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21743         defcustom doc.
21744         (list-load-path-shadows): Optionally, just return shadows as a string.
21746         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21748 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
21750         * mail/rmailedit.el (rmail-edit-mode):
21751         Use auto-save-include-big-deletions.
21753         * mail/rmail.el (rmail-variables):
21754         Use auto-save-include-big-deletions.
21756         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21757         changes.
21759 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
21761         * calc/calc.el (calc-undo-length): New variable.
21762         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21764 2009-07-21  Richard Stallman  <rms@gnu.org>
21766         * files.el (auto-save-mode): Handle buffer-save-size = -2
21767         for toggling mode.
21769 2009-07-21  Glenn Morris  <rgm@gnu.org>
21771         * textmodes/ispell.el (ispell-looking-back): Update declaration.
21773         * calendar/todo-mode.el (calendar-current-date): Update declaration.
21775         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21776         silence compiler.  Instead...
21777         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21778         (ps-print-ensure-fontified): Update for above function name changes.
21780         * printing.el (pr-mh-get-msg-num, pr-mh-show)
21781         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21782         silence compiler.  Instead...
21783         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21784         (mh-show-buffer): Only define for compiler.
21785         (pr-mh-current-message): Update for above function name changes.
21787         * files.el (abort-if-file-too-large): Explicitly pass `filename'
21788         as an argument.
21789         (find-file-noselect, insert-file-1): Update for above change.
21791         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21793         * mail/mailclient.el (mailclient-send-it): Fix message.
21795         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21796         (edebug-eval): Check cl-debug-env is bound.
21797         (print-level, print-circle): Don't redefine built-in variables.
21799         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21800         (custom-print-vectors): Remove old comments from doc.
21802         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21803         (emerge-version): Make the variable an obsolete alias for the
21804         emacs-version variable.  Make the function obsolete.
21805         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21806         Emerge options, rather than merging in into the main Options menu.
21807         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
21808         and auto advance modes.  Disable edit/fast items when not relevant.
21810 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
21812         * term/vt420.el (terminal-init-vt420): Fix typo.
21814 2009-07-20  Sam Steingold  <sds@gnu.org>
21816         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21817         variable (removed from compile.el on 2004-03-11).
21819 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
21821         * files.el (hack-local-variables-filter): Fix last change.
21823 2009-07-19  Juri Linkov  <juri@jurta.org>
21825         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21826         (dir-local-variables-alist): New buffer-local variable.
21827         (hack-local-variables-filter): If variable is not dir-local,
21828         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21829         because file-local overrides dir-local.
21830         (c-postprocess-file-styles) <declare-function>:
21831         Remove obsolete declaration.
21832         (hack-dir-local-variables): Add dir-local variable/value pair to
21833         `dir-local-variables-alist' and remove duplicates.  Doc fix.
21835         * help-fns.el (describe-variable): Add information about
21836         file-local and dir-local variables.
21838 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
21840         * files.el (hack-local-variables-filter): Rewrite.
21842 2009-07-19  Glenn Morris  <rgm@gnu.org>
21844         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21845         Silence compiler by only defining on XEmacs.
21847         * international/mule.el (auto-coding-regexp-alist): Only match
21848         BABYL... at the start of buffer, not of lines.  (Bug#3790)
21850         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21851         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
21852         (cal-menu-context-mouse-menu): Doc fix.
21854         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21856         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
21858 2009-07-18  Juri Linkov  <juri@jurta.org>
21860         * info.el: Virtual Info keyword finder.
21861         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21862         (Info-finder-file): New variable.
21863         (Info-finder-find-file): New function.
21864         (finder-known-keywords, finder-package-info)
21865         (find-library-name, lm-commentary): Use defvar and
21866         declare-function to silence compiler warnings.
21867         (Info-finder-find-node): New function.
21868         (info-finder): New command.
21870         * subr.el (process-kill-buffer-query-function): New function.
21871         (add-hook)<kill-buffer-query-functions>: Add hook
21872         `process-kill-buffer-query-function'.
21874 2009-07-18  Alan Mackenzie  <acm@muc.de>
21876         * progmodes/cc-mode.el (c-before-hack-hook)
21877         (c-postprocess-file-styles): Give invocation of `c-set-style'
21878         DONT-OVERRIDE parameter of t.  Already set style variables will
21879         thus not be overridden by style settings given by `c-file-syle'.
21881         * files.el (hack-local-variables-filter): Remove entries with
21882         duplicate keys from `file-local-variables-alist'.
21884 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21886         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21887         x-set-selection if display-selections-p returns nil for the
21888         current frame.
21890 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
21892         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21894 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21896         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21897         Accept nil in addition to a regexp.
21898         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21899         Accept nil in addition to a regexp.
21900         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21901         buffers that have an associated file.  Handle nil values of
21902         desktop-buffers-not-to-save and desktop-files-not-to-save.
21903         (Bug#3833)
21905         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21906         (x-disown-selection-internal): New functions.
21908 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
21910         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21911         warning.
21912         (gdb-breakpoints-header): Move forward to avoid compiler warning.
21913         (gdb-make-header-line-mouse-map): Remove duplicate definition.
21915 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
21917         * simple.el (set-mark): Revert last change.
21919 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
21921         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21922         rendering of pngs is not possible instead of messaging a long
21923         description.
21925 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
21927         * w32-fns.el (x-selection-owner-p): New function.
21929         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21930         (mouse-yank-at-click, mouse-yank-primary):
21931         If select-active-regions is non-nil, deactivate the mark before
21932         insertion.
21934         * simple.el (deactivate-mark, set-mark): Only save selection if we
21935         own it.
21937 2009-07-17  Kenichi Handa  <handa@m17n.org>
21939         * case-table.el (describe-buffer-case-table): Fix for the case
21940         that KEY is a cons.
21942 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
21944         * vc-rcs.el (vc-rcs-find-file-hook):
21945         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21947 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
21949         * net/tramp.el (tramp-wait-for-output): Handle the case when
21950         commands do not return a newline but a null byte before the shell
21951         prompt.  (Bug#3858)
21953 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21955         * term/ns-win.el (ns-set-alpha): Don't declare.
21956         (ns-set-background-alpha): Remove function.
21958 2009-07-16  Kevin Ryde  <user42@zip.com.au>
21960         * emacs-lisp/copyright.el (copyright-update): Save match-data across
21961         y-or-n-p, for safety.
21963 2009-07-16  Richard Stallman  <rms@gnu.org>
21965         * files.el (auto-save-mode): If buffer-saved-size is -2,
21966         don't clobber it.
21968         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21969         (rmail-retry-ignored-headers): Add more uninteresting fields.
21971 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
21973         * net/rcirc.el (rcirc): Use history variables.
21974         (rcirc-server-name-history, rcirc-nick-name-history)
21975         (rcirc-server-port-history): New variables.
21977 2009-07-15  Kenichi Handa  <handa@m17n.org>
21979         * international/mule-cmds.el (set-language-environment-charset):
21980         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21981         ignore them.
21983         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21984         Delete unibyte-display.
21986 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21988         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21990 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21992         * simple.el (deactivate-mark): Optional argument FORCE.
21993         (set-mark): Use deactivate-mark.
21995         * info.el (Info-search): No need to check transient-mark-mode
21996         before calling deactivate-mark.
21998         * select.el (x-set-selection): Doc fix.
21999         (x-valid-simple-selection-p): Allow buffer values.
22000         (xselect--selection-bounds): Handle buffer values.
22001         Suggested by David De La Harpe Golden.
22003         * mouse.el (mouse-set-region, mouse-drag-track):
22004         Call copy-region-as-kill before setting the mark, to let
22005         select-active-regions work.
22007 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
22009         * simple.el (deactivate-mark): If select-active-regions is
22010         non-nil, copy the selection data into a string.
22011         (activate-mark): If select-active-regions is non-nil, set the
22012         selection to the current buffer.
22013         (set-mark): Update selection if select-active-regions is non-nil.
22015         * select.el (x-valid-simple-selection-p): Allow buffer values.
22017 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
22019         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22020         and more featureful message-mode.
22022 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
22024         * select.el (x-set-selection): Doc fix.
22025         (x-valid-simple-selection-p): Disallow selection data consisting
22026         of a list or cons of integers, since that is not used.
22027         (xselect--selection-bounds, xselect--int-to-cons): New functions.
22028         (xselect-convert-to-string, xselect-convert-to-length)
22029         (xselect-convert-to-filename, xselect-convert-to-charpos)
22030         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22032 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
22034         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22035         output in -break-info command (Emacs bug #3794).
22037 2009-07-14  Glenn Morris  <rgm@gnu.org>
22039         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22040         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22041         (edebug-print-length, edebug-print-level, edebug-print-circle)
22042         (edebug-sit-for-seconds, edebug-view-outside)
22043         (edebug-bounce-point, edebug-set-global-break-condition)
22044         (edebug-Go-nonstop-mode, edebug-trace-mode)
22045         (edebug-Trace-fast-mode, edebug-continue-mode)
22046         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22047         (edebug-visit-eval-list): Doc fixes.
22049         * subr.el (def-edebug-spec): Doc fix.
22051 2009-07-14  Kenichi Handa  <handa@m17n.org>
22053         * international/characters.el: Fix setting of category ?C.
22055 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
22057         * term/ns-win.el (x-select-font): defalias x-select-font to
22058         ns-popup-font-panel instead of generate-fontset-menu.
22060 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
22062         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
22064 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
22066         * arc-mode.el (archive-find-type): Allow for a PK00 string before
22067         the PK\003\004 header (Bug#3770).
22069 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
22071         * pcomplete.el (pcomplete-comint-setup): Check for
22072         shell-dynamic-complete-filename too.
22074 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
22076         * simple.el (temporary-goal-column): Change the value for
22077         line-move-visual to a cons cell.
22078         (line-move-visual): Record or set the window hscroll, if
22079         necessary (Bug#3494).
22080         (line-move-1): Handle cons value of temporary-goal-column.
22082 2009-07-11  Kenichi Handa  <handa@m17n.org>
22084         * international/mule-diag.el (describe-character-set): Don't show
22085         width.
22087 2009-07-10  Sam Steingold  <sds@gnu.org>
22089         * progmodes/compile.el (compilation-mode-font-lock-keywords):
22090         Omake sometimes indents the errors it prints, so allow all
22091         regexps to start with spaces.
22093 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
22095         * cus-edit.el (customize-changed-options-previous-release):
22096         Bump value to 22.1.  (Bug#3804)
22098 2009-07-08  Sam Steingold  <sds@gnu.org>
22100         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22101         to be a cons cell (test . ignored-directory) to selectively ignore
22102         some directories depending on the location of the search.
22104 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
22106         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22107         remote user is root, on the local host.
22108         (tramp-local-host-p): Either the local user or the remote user
22109         must be root.  (Bug#3771)
22111 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22113         * progmodes/gdb-mi.el (gdb): Remove description of
22114         gdb-use-separate-io-buffer.
22115         (menu): Don't allow toggling of or enable
22116         gdb-use-separate-io-buffer from menubar.
22118 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
22120         * mail/unrmail.el (unrmail): Make sure the message ends with two
22121         newlines (Bug#3769).
22123 2009-07-08  Glenn Morris  <rgm@gnu.org>
22125         * calendar/calendar.el (calendar-current-date): Rework previous change.
22127 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
22129         * calendar/calendar.el (calendar-current-date):
22130         Add an optional argument giving an offset from today.
22132 2009-07-08  Glenn Morris  <rgm@gnu.org>
22134         * tutorial.el (tutorial--describe-nonstandard-key):
22135         Adjust the message for when a key has been unbound.
22136         (help-with-tutorial): Hide the arch-tag.
22138 2009-07-08  Kenichi Handa  <handa@m17n.org>
22140         * international/fontset.el (setup-default-fontset): For each
22141         script, append (not set) font-specs.
22143         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22144         docstring.
22146 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22148         * progmodes/gdb-mi.el (gdb-init-1): Move sending
22149         -data-list-register-names to ...
22150         (gdb-starting): ... here because GDB 7.0 requires execution to
22151         have started when using this MI command.
22152         (gdb-set-header): New function to distinguish select and
22153         unselected tabs in gdb buffers.
22154         (gdb-propertize-header): New macro that uses gdb-set-header.
22155         (gdb-breakpoints-header, gdb-locals-header): Use it.
22156         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22158 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
22160         * Makefile.in (ELCFILES): Remove fadr.elc.
22162 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
22164         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22165         may contain frame information, so `string-match' should be used.
22166         (gdb-update): Disassembly is invalidated through
22167         `gdb-get-selected-frame'.
22168         (gdb-pad-string): New function to pad string with spaces.
22169         (gdb-invalidate-disassembly): Invalidate only if the buffer
22170         exists.
22171         (gdb-disassembly-handler-custom): Column alignment.
22172         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22173         placing new ones.
22174         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22175         end of line, too.
22176         (gdb-frame-handler): Match convention to for disassembly buffer
22177         mode name.
22178         (gdb-stack-list-frames-handler): Rewritten without regexps.
22179         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22180         not highlight breakpoints without line information.
22181         (gdb-input): Add trailing newline to command.
22183         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22184         buffer properly.
22185         (gdb-breakpoints-list-handler-custom): Replacement for
22186         `gdb-break-list-handler'.  Using real parser instead of regexps
22187         now.
22188         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22189         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22190         to place breakpoints.
22191         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22192         functions.
22193         (gdb-disassembly-handler-custom): Show overlay arrow.
22194         (gdb-disassembly-place-breakpoints): Show breakpoints in
22195         disassembly buffer.
22196         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22197         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22198         instead of parsing breakpoints buffer.  Fixed old menu references
22199         in `gud-menu-map'.
22201         * fadr.el: Remove.
22203         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22204         (gdb-memory-address): New variable which holds top address of
22205         memory page shown in memory buffer.
22206         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22207         New customization variables.
22208         New functions:
22209         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22210         display the memory buffer.
22211         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22212         buffer display parameters.
22213         (def-gdb-memory-format, gdb-memory-format-binary)
22214         (gdb-memory-format-octal, gdb-memory-format-unsigned)
22215         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22216         Functions for setting memory buffer format.
22217         (gdb-memory-unit-word, gdb-memory-unit-halfword)
22218         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22219         unit size used in memory buffer.
22220         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22221         Switch to next/previous page of memory buffer.
22222         Now using (bindat-get-field) instead of fadr functions.
22224 2009-07-07  Sam Steingold  <sds@gnu.org>
22226         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22227         non-top-level files.
22229 2009-07-07  Kenichi Handa  <handa@m17n.org>
22231         * international/mule-cmds.el (reset-language-environment):
22232         Put the highset priority to the charset iso-8859-1.
22234 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22236         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22237         to the end of the line when locating the block (Bug#700).
22239 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
22241         * net/tramp.el (tramp-handle-write-region): Flush file properties
22242         in case of short track.
22244 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
22246         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22247         Coded custom representation of verilog error regular expressions
22248         to work with Emacs-22's new format.
22249         (verilog-error-regexp-xemacs-alist): Coded custom representation
22250         of verilog error regular expressions to work with XEmacs format.
22251         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22252         error recognition into XEmacs.
22253         (verilog-error-regexp-add-emacs): Hook routine to install verilog
22254         error recognition into Emacs-22.
22256 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22258         * woman.el: Remove stand-alone closing parentheses.
22259         (woman-file-name, woman2-format-paragraphs)
22260         (woman-leave-blank-lines): Code cleanup.
22261         (woman-use-own-frame): Change default to nil.
22262         (woman-italic, woman-bold, woman-unknown, woman-addition):
22263         Change defaults to inherit from default faces.
22264         (woman2-process-escapes): Consume the newline after a stand-alone
22265         filler character (Bug#3651).
22267 2009-07-06  Glenn Morris  <rgm@gnu.org>
22269         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22270         (top-level): Move provide to the end.
22271         (ffap): Remove defunct URL from custom group.
22273         * subr.el (eval-after-load): Doc fix.
22275 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
22277         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22278         `calc-embedded-word' is called twice.
22280 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22282         * files.el (find-alternate-file-other-window, find-alternate-file):
22283         Obey confirm-nonexistent-file-or-buffer.
22285 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
22287         * dired-aux.el (dired-show-file-type): Handle remote files.
22289 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
22291         * desktop.el (desktop-globals-to-save):
22292         Add file-name-history (Bug#2750).
22294 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
22296         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22298 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
22300         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22301         property on entire argument since this is what eshell-lisp-command
22302         expects.
22304 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
22306         * net/tramp-gvfs.el (tramp-gvfs-methods)
22307         (tramp-gvfs-zeroconf-domain)
22308         (tramp-bluez-discover-devices-timeout): Add version flag.
22309         (tramp-gvfs-handler-mounted-unmounted)
22310         (tramp-gvfs-connection-mounted-p): Polish handling of
22311         incompatibilities between GVFS 0.2 and 1.0.
22313 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
22315         * cus-start.el (all): Add make-pointer-invisible.
22317 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
22319         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22320         formatted correctly.
22322 2009-07-02  Juri Linkov  <juri@jurta.org>
22324         * info.el: Virtual Info files and nodes.
22325         (Info-virtual-files, Info-virtual-nodes): New variables.
22326         (Info-current-node-virtual): New variable.
22327         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22328         New functions.
22329         (Info-file-supports-index-cookies): Use Info-virtual-file-p
22330         to check for a virtual file instead of checking a fixed list
22331         of node names.
22332         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22333         instead of ad-hoc processing of "dir" and (apropos history toc).
22334         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22335         instead of ad-hoc processing of "dir" and (apropos history toc).
22336         Reread a file when moving from a virtual node.
22337         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22338         (Info-directory-toc-nodes, Info-directory-find-file)
22339         (Info-directory-find-node): New functions.
22340         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22341         (Info-history): Move part of code to
22342         `Info-history-find-node'.
22343         (Info-history-toc-nodes, Info-history-find-file)
22344         (Info-history-find-node): New functions.
22345         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22346         (Info-toc): Move part of code to `Info-toc-find-node'.
22347         (Info-toc-find-node): New function.
22348         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
22349         the current Info file name to references because now the node
22350         "*TOC*" belongs to the same Info manual.
22351         (Info-toc-build): Rename from `Info-build-toc'.
22352         (Info-toc-nodes): Rename input argument `file' to `filename'.
22353         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22354         instead of ad-hoc processing of ("dir" apropos history toc).
22355         (Info-index-nodes): Use Info-virtual-file-p
22356         to check for a virtual file instead of checking a fixed list
22357         of node names.
22358         (Info-index-node): Add check for `Info-current-node-virtual'.
22359         Raise `save-match-data' higher up the tree to contain
22360         `search-forward' too (bug fix).
22361         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22362         (Info-virtual-index-nodes): New variable.
22363         (Info-virtual-index-find-node, Info-virtual-index): New functions.
22364         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22365         (Info-apropos-file, Info-apropos-nodes): New variables.
22366         (Info-apropos-toc-nodes, Info-apropos-find-file)
22367         (Info-apropos-find-node, Info-apropos-matches): New functions.
22368         (info-apropos): Move part of code to `Info-apropos-find-node' and
22369         `Info-apropos-matches'.
22370         (Info-mode-map): Bind "I" to `Info-virtual-index'.
22371         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22372         for a virtual file instead of checking a fixed list of node names.
22374         * simple.el (async-shell-command): New command.
22376         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22378         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22379         instead of `mount-info'.
22381 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
22383         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22384         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22386 2009-07-02  Kenichi Handa  <handa@m17n.org>
22388         * international/mule.el (set-keyboard-coding-system): Force *-unix
22389         coding-system to avoid eol conversion.
22391 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
22393         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22394         Add handler for `process-file', `shell-command' and
22395         `start-file-process'.
22396         (tramp-gvfs-handle-shell-command)
22397         (tramp-gvfs-handle-start-file-process)
22398         (tramp-gvfs-handle-process-file): New defuns.
22399         (tramp-synce-list-devices): Simplify check for existence of property.
22401 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
22403         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22405 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
22407         * language/korean.el (set-language-info-alist): Add korean-cp949,
22408         cp949 to spec.
22410 2009-07-01  Kenichi Handa  <handa@m17n.org>
22412         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22414         * international/encoded-kb.el: Deleted.
22416         * international/mule.el (set-keyboard-coding-system): Perform the
22417         necessary setup here instead of calling encoded-kbd-setup-display.
22419 2009-07-01  Glenn Morris  <rgm@gnu.org>
22421         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22423 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
22425         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
22427 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
22429         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22430         Handle also the 'rename case, when setting file modes.  (Bug#3712)
22431         (tramp-default-file-modes): Remove execute permissions.
22433         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22434         (top): Add a default for "synce" in `tramp-default-user-alist'.
22435         Add completion function for "synce" method.
22436         (tramp-hal-service, tramp-hal-path-manager)
22437         (tramp-hal-interface-manager, tramp-hal-interface-device):
22438         New defconst.
22439         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22440         (tramp-synce-list-devices, tramp-synce-parse-device-names):
22441         New defuns.
22443         * net/trampver.el: Update release number.
22445 2009-06-30  Kenichi Handa  <handa@m17n.org>
22447         * international/fontset.el (setup-default-fontset): Add CJK fonts
22448         for symbols and the other miscellaneous characters.
22450         * language/korea-util.el (setup-korean-environment-internal):
22451         Make char-width-table suitable for Korean environments.
22452         (exit-korean-environment): Cancel above.
22454         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22455         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22456         setup-function to make char-width-table suitable for respective
22457         environments, and an exit-function to cancel that.
22459         * language/japan-util.el (setup-japanese-environment-internal):
22460         Call use-cjk-char-width-table with arg `ja_JP'.
22462         * international/characters.el (cjk-char-width-table): Delete it.
22463         (cjk-char-width-table-list): New variable.
22464         (use-cjk-char-width-table): New arg local-name.
22465         (use-default-char-width-table): Fix for the case that Emacs is
22466         already using the default char-width-table.
22468 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
22470         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22471         modes mandatory.  (Bug#3712)
22473 2009-06-29  Alan Mackenzie  <acm@muc.de>
22475         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22476         correction between the visible width of TABs and their number of bytes.
22478 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
22480         * server.el (server-buffer-done): Prevent kill-buffer from
22481         prompting by clearing the buffer modification flag (Bug#3696).
22483 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
22485         * progmodes/verilog-mode.el (verilog-beg-of-statement)
22486         (verilog-endcomment-reason-re): Support unique case and priority case.
22487         (verilog-basic-complete-re): Support localparam lineup.
22488         (verilog-beg-of-statement-1): Fix for robustness, unique case.
22489         (verilog-set-auto-endcomments): Fix for unique case, always_comb
22490         commenting.
22491         (verilog-leap-to-case-head): Now support *nested* unique &
22492         priority case statements.
22493         (verilog-auto-lineup): Make just declarations the default (as it
22494         had been).
22495         (verilog-leap-to-case-head): Support priority/unique case statements.
22496         (verilog-auto-lineup): Rework to give users radio buttons to
22497         select the various styles of automatic lineup.
22498         (verilog-error-regexp-alist): Rework to support the XEmacs style
22499         of error regular expressions from compilers, lint tools &
22500         simulators.  Note that GNU Emacs has made it impossible for a mode
22501         to load such things.
22502         (electric-verilog-terminate-line, verilog-indent-declaration)
22503         (verilog-auto-wiure): Rework for radio button selection of
22504         auto-lineup selection of specification of auto lineup.
22505         (verilog-beg-of-statement-1): Redesign to support proper operation
22506         in additional code, based on testing with auto-lineup.
22507         (verilog-calculate-indent, assignments & declarations)
22508         (verilog-backward-token): Enhance to support auto-lineup of
22509         assignments & declarations.
22510         (verilog-in-directive-p, verilog-at-struct-p): New function for
22511         easy test of whether we are.
22512         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22513         to support safe execution at almost anyline.
22514         (verilog-calc-1): Properly support indenting deep inside generate
22515         blocks.
22516         (verilog-init-font): Remove definition & use of verilog-init-font,
22517         as it is redundant with font-lock-defaults.
22518         (verilog-mode): Alter the definition of verilog-font-lock-defaults
22519         to avoid circular calls if syntax-ppss is a function (as is the
22520         case now in 22.x GNU Emacs) as that function would sometimes call
22521         itself, leading to (nearly) infinite recursion.
22522         (verilog-ovm-begin-re, verilog-ovm-end-re)
22523         (verilog-ovm-statement-re, verilog-leap-to-head)
22524         (verilog-backward-token): Add support for OVM macros.  Some are
22525         complete statements, and others open and close scopes like begin
22526         and end.
22527         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22528         (verilog-defun-level-generate-only-re): Really fix the defun-list
22529         compilation issue.
22530         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22531         coverpoint, constraint and cross statements.
22532         (verilog-defun-level-list, verilog-generate-defun-level-list)
22533         (verilog-all-defun-level-list): Redo these specifications - it is
22534         too hard to support eval-when compile aggregation of lists also
22535         built at when-compile time.
22536         (verilog-defun-level-list): Place defconsts of variables used in
22537         building regular expressions which are built in eval-when-compile
22538         bodies in the same eval-when-compile body to facilitate compile
22539         without load.
22540         (verilog-beg-block-re-ordered): Support indenting
22541         virtual/protected tasks and functions.
22542         (verilog-defun-level-list, verilog-in-generate-region-p)
22543         (verilog-backward-ws&directives, verilog-calc-1): Speed up
22544         indentation of some module items (generate items).
22545         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22546         across virtual/protected tasks and functions.
22548 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
22550         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22551         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
22552         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22553         in concatenations.  Reported by Yishay Belkind.
22554         (verilog-auto-ascii-enum): Support one-hot state machines in
22555         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
22556         (verilog-auto-inst, verilog-auto-inst-port): Include interface
22557         modport in AUTOINST and add vl-modport for users.
22558         Reported by David Rogoff.
22559         (verilog-auto-inout-module, verilog-auto-inst)
22560         (verilog-decls-get-interfaces, verilog-insert-definition)
22561         (verilog-insert-one-definition, verilog-read-decls)
22562         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22563         (verilog-sig-modport, verilog-signals-combine-bus)
22564         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22565         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22566         Suggested by David Rogoff.
22567         (verilog-repair-open-comma): Fix non-insertion of comma when
22568         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
22569         (verilog-make-width-expression): Simplify [A-1:0] expression
22570         widths to just {A{1'b0}}.
22571         (verilog-mode): Cleanup checkdoc warnings.
22572         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22573         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22574         inputs/outputs or data type.  Suggested by Vasu Kandadi.
22575         (next-error-last-buffer): Fix byte-compiler warning.
22576         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22577         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22578         or shell command text during AUTO expansion.  Suggested by Tad Truex.
22579         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22580         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22581         Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22582         in AUTOINOUT.  Reported by Matthew Lovell.
22583         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22584         causing use of <= assignments.  Reported by Alex Reed.
22585         (verilog-read-decls): Fix triand, trior, wand, wor to be
22586         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
22587         (verilog-extended-complete-re): Support import "DPI-C" functions.
22588         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22589         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
22590         (verilog-insert-date, verilog-insert-year)
22591         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22592         Windows systems.  Reported by Michael Potts.
22593         (verilog-read-module-name): Fix AUTOINST when the child module
22594         declaration's name is a tick define.  Reported by Elliot Mednick.
22595         (verilog-read-decls): Fix V2K parameter bit subscripts getting
22596         passed to next parameter's definition.  Reported by Bruce T.
22597         (verilog-read-decls): Fix detecting "parameter int" when using
22598         AUTOINSTPARAM.  Reported by Bruce T.
22599         (verilog-goto-defun): Fix goto not finding modules unless first
22600         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
22601         (verilog-mode): Expand -f flag arguments on entry to mode so
22602         verilog-goto-defun will work.  Reported by Lawrence Butcher.
22603         (verilog-getopt): Expand environment variables in -f file
22604         arguments.  Suggested by Lawrence Butcher.
22605         (verilog-set-define): Fix "Symbol's value as variable is void"
22606         when reading enumerations.
22607         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22608         Suggested by Stephen Peltan.
22609         (verilog-read-defines): Fix reading of enumerations in include
22610         files.  Reported by Steve Peltan.
22612 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22614         * files.el (trash-directory): Fix defcustom type.
22616 2009-06-28  Juri Linkov  <juri@jurta.org>
22618         * help-fns.el (describe-function-1): Correctly locate adviced
22619         functions in hyperlink (Bug#2438).
22621 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
22623         * files.el (trash-directory): Change default to nil.
22624         (move-file-to-trash): If trash-directory is nil and
22625         system-move-file-to-trash is unbound, perform freedesktop-style
22626         trashing.
22628 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22630         * files.el (move-file-to-trash): Add freedesktop trash
22631         support (Bug#973).
22633 2009-06-28  Glenn Morris  <rgm@gnu.org>
22635         * autorevert.el (global-auto-revert-non-file-buffers)
22636         (global-auto-revert-mode): Doc fixes.
22638 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
22640         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22642 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
22644         * faces.el (x-handle-named-frame-geometry): Ensure that we have
22645         opened an X connection before calling x-get-resource (Bug#3194).
22647         * play/doctor.el: Remove reference to obsolete website.
22648         (make-doctor-variables): Correct grammar mistake (Bug#2633).
22650 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
22652         Remove find-file-not-found-hook VC method.  (Bug#2757)
22653         * vc-hooks.el (vc-file-not-found-hook)
22654         (vc-default-find-file-not-found-hook): Remove functions.
22655         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22656         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22657         * vc.el:
22658         * vc-hg.el:
22659         * vc-git.el: Do not mention find-file-not-found-hook VC method.
22661 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
22663         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22664         compatibility function for `looking-back'.
22666         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22667         Use `ispell-looking-back'.
22669 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
22671         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22672         rather than `filename'.
22674 2009-06-23  Miles Bader  <miles@gnu.org>
22676         * face-remap.el (text-scale-set): New function.
22678 2009-06-23  Glenn Morris  <rgm@gnu.org>
22680         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22682         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22684         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22686         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22688         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22689         Simplify Persian conditionals.
22691         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22692         variable `filename'.
22694         * comint.el (comint-insert-input): Doc fix.
22696         * Makefile.in (ELCFILES): Fix typo in previous change.
22698 2009-06-23  Miles Bader  <miles@gnu.org>
22700         * cus-start.el: Add entry for `recenter-redisplay'.
22702 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22704         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22705         Add an optional argument for the backend, use it instead of
22706         calling vc-backend.
22707         (vc-mode-line): Add an optional argument for the backend.
22708         Pass the backend to vc-state and vc-working-revision.  Move code for
22709         special handling for vc-state being a buffer to ...
22711         * vc-rcs.el (vc-rcs-find-file-hook):
22712         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
22714         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22715         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22716         vc-stay-local-p and vc-mode-line calls.
22718         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22719         (vc-cvs-diff, vc-cvs-annotate-command)
22720         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22721         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22722         vc-mode-line calls.
22724         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22725         direct comparison.
22726         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22727         backend when calling vc-mode-line.
22728         (vc-register): Do not create a closure for calling the vc register
22729         function, call it directly.
22731 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22733         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22734         to make it obvious item can be clicked.
22736         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22738 2009-06-23  Kenichi Handa  <handa@m17n.org>
22740         * language/korea-util.el (korean-key-bindings): Change the binding
22741         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
22742         same command.
22744 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
22746         Sync with Tramp 2.1.16.
22748         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22750         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
22751         when a loading of a package fails.  Completion function for rsync
22752         is `tramp-completion-function-alist-ssh'.
22753         (all): Replace all calls of `split-string' and
22754         `tramp-split-string' by `tramp-compat-split-string'.
22755         (tramp-default-method): Use `tramp-compat-process-running-p'.
22756         (tramp-default-proxies-alist): Allow also Lisp forms.
22757         (tramp-remote-path): Add choice "Private Directories".
22758         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22759         (tramp-domain-regexp): Allow also "-", "_" and ".".
22760         (tramp-end-of-output): Remove newlines, and add "$" at the end.
22761         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22762         (tramp-debug-message): Insert header line in debug buffer.
22763         (tramp-handle-directory-files-and-attributes-with-stat):
22764         Care about filenames with spaces, or starting with "-".
22765         (tramp-handle-dired-uncache): New defun.
22766         (tramp-handle-insert-directory): Don't flush the directory from
22767         cache, this is handled by `dired-uncache' now.
22768         (tramp-handle-insert-file-contents): Improve error handling.
22769         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22770         Quote `tramp-end-of-output'.
22771         (tramp-action-password): Improve trace message.
22772         (tramp-check-for-regexp): Both echoes must be present, before removing.
22773         (tramp-open-connection-setup-interactive-shell): Trace coding system.
22774         (tramp-compute-multi-hops): Eval cons cells of
22775         `tramp-default-proxies-alist'.
22776         (tramp-maybe-open-connection): Use the same command pattern for
22777         first hop and further hops.
22778         (tramp-wait-for-output): Remove handling of newlines.
22779         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22780         (tramp-split-string): Remove function.  It is handled in
22781         tramp-compat now.
22783         * net/tramp-cmds.el (tramp-bug):
22784         Recommend `tramp-cleanup-all-connections' in the bug mail.
22786         * net/tramp-compat.el (tramp-compat-split-string)
22787         (tramp-compat-process-running-p): New defuns.
22789         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22790         for `dired-uncache'.
22792         * net/tramp-gvfs.el: New package.
22794         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22795         Add handler for `dired-uncache'.
22796         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22798         * net/trampver.el: Update release number.  Make version check fit
22799         for SXEmacs 22.
22801 2009-06-22  Jim Meyering  <meyering@redhat.com>
22803         Automatically handle .xz suffix (XZ-compressed files), too.
22804         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22805         XZ is the successor to LZMA: <http://tukaani.org/xz/>
22807 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
22808             Nick Roberts  <nickrob@snap.net.nz>
22810         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22811         repository (http://sphinx.net.ru/hg/gdb-mi/).
22813 2009-06-22  Glenn Morris  <rgm@gnu.org>
22815         * files.el (dir-locals-collect-mode-variables): Allow for any number of
22816         `mode' and `eval' entries.  (Bug#3430)
22818         * Makefile.in (ELCFILES): Add fadr.elc.
22820         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22821         differing behavior of \n and ^ in strings.  (Bug#3385)
22823         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22825         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22826         property.
22827         (lisp-indent-function): Make it a defcustom.
22829 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
22831         * progmodes/gdb-ui.el: Replace with ...
22832         * progmodes/gdb-mi.el: ... this file.
22833         * progmodes/gud.el: Modify for gdb-mi.el.
22835 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
22837         * fadr.el: New file.
22839 See ChangeLog.14 for earlier changes.
22841 ;; Local Variables:
22842 ;; coding: utf-8
22843 ;; End:
22845   Copyright (C) 2009-2011  Free Software Foundation, Inc.
22847   This file is part of GNU Emacs.
22849   GNU Emacs is free software: you can redistribute it and/or modify
22850   it under the terms of the GNU General Public License as published by
22851   the Free Software Foundation, either version 3 of the License, or
22852   (at your option) any later version.
22854   GNU Emacs is distributed in the hope that it will be useful,
22855   but WITHOUT ANY WARRANTY; without even the implied warranty of
22856   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22857   GNU General Public License for more details.
22859   You should have received a copy of the GNU General Public License
22860   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.