lisp/help.el (describe-mode): Link to the mode's definition.
[emacs.git] / lisp / ChangeLog
blob1f50ee9ebe61588b7dcd064a18c46ca8bf7db4a2
1 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
3         * help.el (describe-mode): Link to the mode's definition (bug#8185).
5 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8         into declaration.  Remove redundant and harmful binding.
10 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
12         * files.el (file-ownership-preserved-p): Pass `integer' as an
13         explicit 2nd argument to `file-attributes'.  If the file's owner
14         is the Administrators group on Windows, and the current user is
15         Administrator, consider that a match.
17         * server.el (server-ensure-safe-dir): Consider server directory
18         safe on MS-Windows if its owner is the Administrators group while
19         the current Emacs user is Administrator.  Use `=' to compare
20         numerical UIDs, since they could be integers or floats.
22 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
24         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
28         Sync with Tramp 2.2.1.
30         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
32         * net/trampver.el: Update release number.
34 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
36         * progmodes/compile.el (compilation--previous-directory): Fix up
37         various nil/dead-marker mismatches (bug#8014).
38         (compilation-directory-properties, compilation-error-properties):
39         Don't call it at a position past the one we're about to change.
41         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
42         Disable obsolescence warnings in the file that declares it.
44 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
46         * allout-widgets.el (allout-widgets-tally): Initialize
47         allout-widgets-tally as a hash table rather than nil to prevent
48         mode-line redisplay warnings.
49         Also, clarify the module description and fix a comment typo.
51 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
53         * help-fns.el (describe-variable): Don't complete keywords.
54         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
56 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
58         * emacs-lisp/package.el (package-version-join): Impose a standard
59         string representation for pre/alpha/beta version lists.
60         (package-unpack-single): Standardize the directory name by passing
61         it through package-version-join.
62         (package-strip-rcs-id): Accept any version string that does not
63         signal an error in version-to-list.
65 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
67         * simple.el (delete-trailing-whitespace): Return nil for the
68         benefit of `write-file-functions'.
70 2011-03-10  Glenn Morris  <rgm@gnu.org>
72         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
74         * vc/vc-git.el (vc-git-program): New option.
75         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
76         (vc-git--call): Use it.
78         * eshell/esh-util.el (eshell-condition-case): Doc fix.
80         * cus-edit.el (Custom-newline): If no button at point, look
81         for a subgroup button at start-of-line.  (Bug#2298)
83         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
85 2011-03-10  Julien Danjou  <julien@danjou.info>
87         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
88         `cursor-type' is nil.
90 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
92         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
94 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
96         * allout.el Summary: Change so yank of distinctive-bullet items
97         preserves the existing header prefix, rebulleting it if necessary,
98         rather than replacing it.  This is necessary for proper operation
99         of cooperative addons like allout-widgets.
100         (allout-make-topic-prefix, allout-rebullet-heading): Change
101         SOLICIT arg to INSTEAD, and interpret additionally a string value
102         as alternate bullet to be used, instead of prompting the user for
103         a bullet character.
105 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
107         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
108         not use `tramp-file-name-port', because this returns also
109         `tramp-default-port'.
111 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
113         * net/rcirc.el (rcirc-handler-001): Remove useless
114         with-rcirc-process-buffer.
115         (rcirc-check-auth-status): Swap arguments to string-match.
117 2011-03-09  Glenn Morris  <rgm@gnu.org>
119         * shell.el (shell-mode):
120         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
122         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
123         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
125 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
127         * emacs-lisp/package.el (package-refresh-contents)
128         (package-menu-execute): Use condition-case-no-debug.
130 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
132         * simple.el (shell-command-to-string): Use `process-file'.
134         * emacs-lisp/package.el (package-tar-file-info): Handle also
135         remote files.
137         * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
138         `equal' for upload base check.
140 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
142         * textmodes/texinfo.el (texinfo-environments):
143         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
145 2011-03-08  Glenn Morris  <rgm@gnu.org>
147         * cus-start.el (cursor-in-non-selected-windows):
148         Fix :set quoting oddness.  (Bug#8192)
150         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
151         in some setf expressions.  (Bug#2159)
153 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
155         * custom.el (custom-available-themes): Return themes in
156         alphabetical order.
158 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
160         * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
161         application of patch from Alan Mackenzie (Bug#7595).
163 2011-03-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
165         * net/rcirc.el (rcirc-connect): Fix PASS bug.
167 2011-03-07  Glenn Morris  <rgm@gnu.org>
169         * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
170         Give an explicit error if failed to make writable.  (Bug#6146)
172 2011-03-07  Ed Reingold  <reingold@emr.cs.iit.edu>
174         * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
175         Add optional `after-sunset' argument.  (Bug#8190)
177 2011-03-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
179         * play/morse.el (nato-alphabet, nato-region, denato-region):
180         New variable and functions.  (Bug#2288)
181         (morse-region, unmorse-region): Barf if read-only.
183 2011-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
185         * progmodes/gud.el (gdb-script-syntax-propertize-function):
186         Don't change the syntax of a \n that closes a comment (bug#8169).
188 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
190         * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
191         defcustom.
192         (package--update-file): Doc fix.  Accept relative file names.
193         (package--archive-contents-from-file): Remove the argument, since
194         it's necessarily always "archive-contents".
195         (package-maint-add-news-item): Pass relative file name args to
196         package--update-file.
197         (package-upload-buffer-internal): Prompt for a destination if
198         package-archive-upload-base is invalid.  Create the directory if
199         it does not exist.
200         (package-upload-buffer, package-upload-file): Doc fix.
202 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
204         * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
205         and move isearch-yank-line to M-s C-e (Bug#8183).
207 2011-03-06  Alan Mackenzie  <acm@muc.de>
209         * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
210         (c-guess-basic-syntax): Move CASE 19 to a different place,
211         correctly to process template-args-cont lines.
213 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
215         * calc/calc-ext.el (calc-init-extensions):
216         Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
217         and calc-nplevel, respectively.  Add keybindings for calc-spn,
218         calc-midi and calc-freq.  Add autoloads for calcFunc-spn,
219         calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
221         * calc/calc-units.el (calc-dblevel): Rename from
222         calc-logunits-dblevel.
223         (calc-nplevel): Rename from calc-logunits-nplevel.
224         (math-midi-round, math-freqp, math-midip, math-spnp)
225         (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
226         (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
227         (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
228         (math-notes): New variable.
230         * calc/calc.el (calc-note-threshold): New variable.
232 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
234         * emacs-lisp/package.el (package-archives): Accept either ordinary
235         directory names, in addition to HTTP URLs.
236         (package--with-work-buffer): New macro.   Handle normal directories.
237         (package-handle-response): Don't display the failing buffer.
238         (package-download-single, package-download-tar)
239         (package--download-one-archive): Use package--with-work-buffer.
240         (package-archive-base): Rename from package-archive-url.
242 2011-03-06  Glenn Morris  <rgm@gnu.org>
244         * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
245         (xmodmap-generic-mode): Respect generic-extras-enable-list.
247 2011-03-06  Daniel Clemente  <dcl441-bugs@yahoo.com>  (tiny change)
249         * generic-x.el (xmodmap-generic-mode): New.  (Bug#2065)
251 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
253         * allout.el (allout-init, allout-prefixed-keybindings)
254         (allout-unprefixed-keybindings):
255         * progmodes/prolog.el (prolog-find-term):
256         Fix typos in docstrings.
258 2011-03-06  Nikolaj Schumacher  <me@nschum.de>  (tiny change)
260         * emacs-lisp/elp.el (elp-results): Fix off-by-one in header.  (Bug#2746)
262 2011-03-06  Kevin Ryde  <user42@zip.com.au>
264         * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc.  (Bug#5326)
266 2011-03-06  Michael Shields  <shields@msrl.com>  (tiny change)
268         * window.el (one-window-p, walk-windows, display-buffer):
269         Doc fixes.  (Bug#5567)
271 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
273         * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
274         of the variable if it exists.
276 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
278         * bookmark.el:
279         * desktop.el:
280         * emacs-lock.el:
281         * ps-print.el:
282         * saveplace.el:
283         * net/tramp-cache.el:
284         * obsolete/fast-lock.el:
285         * textmodes/reftex.el:
286         Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
288 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
290         * files.el (delete-directory, copy-directory, list-directory):
291         Use read-directory-name.
293         * find-file.el (ff-find-the-other-file):
294         * net/ange-ftp.el (ange-ftp-make-directory):
295         * printing.el (pr-interactive-dir):
296         * progmodes/ada-prj.el (ada-prj-load-directory):
297         * progmodes/ebnf2ps.el (ebnf-print-directory)
298         (ebnf-spool-directory, ebnf-eps-directory)
299         (ebnf-syntax-directory):
300         * shell.el (shell):
301         * speedbar.el (speedbar-create-directory):
302         * vc/emerge.el (emerge-merge-directories):
303         * vc/vc-dir.el (vc-dir):
304         * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
306 2011-03-05  Chong Yidong  <cyd@stupidchicken.com>
308         * help-mode.el (help-buffer): If we are to return the current
309         buffer, signal an error if it's not in Help mode (Bug#8147).
311 2011-03-05  Reuben Thomas  <rrt@sc3d.org>
313         * files.el (file-name-version-regexp): Handle backup files of the
314         form `foo.js.~HEAD~1~' (Bug#8159).
316 2011-03-05  Glenn Morris  <rgm@gnu.org>
318         * eshell/esh-var.el: Don't require esh-test when compiling.
319         * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
320         * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
321         * eshell/esh-test.el: Move to ../../test/eshell.el.
323 2011-03-05  David Engster  <deng@randomsample.de>
325         * files.el (save-some-buffers): Report the names of buffers saved
326         automatically due to buffer-save-without-query (Bug#8134).
328 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
330         * net/rcirc.el: Add QuakeNet authentication support.
331         (rcirc-authinfo, rcirc-check-auth-status)
332         (rcirc-authenticate): Support QuakeNet.
334 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
336         * net/rcirc.el: Add functionality to authenticate before
337         autojoining channels.
338         (rcirc-authenticate-before-join): New option.
339         (rcirc-authenticated-hook): New variable.
340         (rcirc-connect): Make local variable rcirc-user-authenticated.
341         (rcirc-handler-001): Respect rcirc-authenticate-before-join.
342         (rcirc-check-auth-status, rcirc-join-channels-post-auth):
343         New functions.
344         (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
345         Call rcirc-check-auth-status.
347 2011-03-05  Alex Harsanyi  <AlexHarsanyi@gmail.com>
349         * net/soap-client.el (soap-namespace-put-link): Check if the target
350         name is fully qualified -- use only the name part.
351         (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
352         types, treated the same as xsd:sequence.  (Bug#8166)
354 2011-03-05  Eli Zaretskii  <eliz@gnu.org>
356         * files.el (find-file-noselect): Don't ask about re-visiting
357         non-literally if the file is already visited in image-mode.
358         (Bug#8177)
360 2011-03-05  Glenn Morris  <rgm@gnu.org>
362         * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
363         (eshell-mode): Use eshell-kill-buffer-function.
364         Run the -initialize functions independently of the -load-hooks.
365         * eshell/esh-proc.el (eshell-kill-process-function): New function.
366         (eshell-gather-process-output, eshell-sentinel)
367         (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
368         Use eshell-kill-process-function.
369         * eshell/em-alias.el (eshell-alias-load-hook):
370         * eshell/em-banner.el (eshell-banner-load-hook):
371         * eshell/em-cmpl.el (eshell-cmpl-load-hook):
372         * eshell/em-dirs.el (eshell-dirs-load-hook):
373         * eshell/em-glob.el (eshell-glob-load-hook):
374         * eshell/em-hist.el (eshell-hist-load-hook):
375         * eshell/em-pred.el (eshell-pred-load-hook):
376         * eshell/em-prompt.el (eshell-prompt-load-hook):
377         * eshell/em-rebind.el (eshell-rebind-load-hook):
378         * eshell/em-script.el (eshell-script-load-hook):
379         * eshell/em-smart.el (eshell-smart-load-hook):
380         * eshell/em-term.el (eshell-term-load-hook):
381         * eshell/em-unix.el (eshell-unix-load-hook):
382         * eshell/esh-arg.el (eshell-arg-load-hook):
383         * eshell/esh-cmd.el (eshell-cmd-load-hook):
384         * eshell/esh-ext.el (eshell-ext-load-hook):
385         * eshell/esh-io.el (eshell-io-load-hook):
386         * eshell/esh-mode.el (eshell-exit-hook):
387         * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
388         * eshell/esh-var.el (eshell-var-load-hook):
389         Set default hook values to nil.  (Bug#5375)
391         * eshell/esh-module.el (eshell-module-unload-hook)
392         (eshell-modules-list): Remove leading * from defcustom docs.
394         * eshell/esh-util.el (eshell-for): Make it obsolete.
395         * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
396         * eshell/em-dirs.el (eshell-save-some-last-dir):
397         * eshell/em-hist.el (eshell-save-some-history)
398         (eshell-hist-parse-modifier):
399         * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
400         (eshell-ls-entries):
401         * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
402         * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
403         (eshell/which):
404         * eshell/esh-ext.el (eshell-find-interpreter):
405         * eshell/esh-mode.el (eshell-mode):
406         * eshell/esh-module.el (eshell-unload-extension-modules):
407         * eshell/esh-proc.el (eshell-process-interact):
408         * eshell/esh-test.el (eshell-test):
409         * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
410         * eshell/esh-var.el (eshell/env, eshell-environment-variables)
411         (eshell-variables-list):
412         * eshell/eshell.el (eshell-unload-all-modules):
413         Replace eshell-for with dolist.
415 2011-03-04  Glenn Morris  <rgm@gnu.org>
417         * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0.  (Bug#8170)
419 2011-03-04  Tom Tromey  <tromey@redhat.com>
421         * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
423 2011-03-04  Glenn Morris  <rgm@gnu.org>
425         * outline.el (outline-regexp): No longer allow nil.
426         (outline-heading-end-regexp): Add safety predicate.  (Bug#7619)
428         * net/browse-url.el (browse-url):
429         Handle deleted default-directory.  (Bug#6077)
431         * recentf.el (recentf-include-p): In case of a buggy predicate,
432         err on the side of including, not excluding.  (Bug#5843)
434 2011-03-04  Jay Belanger  <jay.p.belanger@gmail.com>
436         * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
437         variables as units.
439 2011-03-04  Bob Rogers  <rogers@rgrjr.dyndns.org>
441         * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
442         if there is no node.  (Bug#3261)
444 2011-03-04  Leo  <sdl.web@gmail.com>
446         * vc/diff-mode.el (diff-mode): Fix whitespace-style.  (Bug#8139)
448         * time.el (display-time-world-list): Fix typo.  (Bug#7571)
450 2011-03-04  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
452         * cus-edit.el (custom-buffer-create-internal):
453         Split search string before passing it to `customize-apropos' (bug#8136).
455 2011-03-04  Drew Adams  <drew.adams@oracle.com>
457         * image-dired.el (image-dired-cmd-read-exif-data-options):
458         Fix typo in docstring (bug#8156).
460 2011-03-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
462         * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
464 2011-03-03  Christian Ohler  <ohler@gnu.org>
466         * emacs-lisp/ert.el (ert--explain-equal): New function.
467         (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
468         All callers changed.
469         (ert--explain-equal-including-properties): Renamed from
470         `ert--explain-not-equal-including-properties'.  All callers
471         changed.
473 2011-03-03  Christian Ohler  <ohler@gnu.org>
475         * emacs-lisp/ert.el (ert--stats-set-test-and-result)
476         (ert-char-for-test-result, ert-string-for-test-result)
477         (ert-run-tests-batch, ert--print-test-for-ewoc):
478         Handle `ert-test-quit'.
480 2011-03-03  David Abrahams  <dave@boostpro.com>  (tiny change)
482         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
483         Move ediff-defvar-local calls after defcustoms.  (Bug#1821)
485 2011-03-03  Glenn Morris  <rgm@gnu.org>
487         * files.el (file-truename): Doc fix.  (Bug#2341)
489 2011-03-03  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
491         * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
493 2011-03-03  Vagn Johansen  <gonz808@hotmail.com>  (tiny change)
495         * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
496         programs output backslashes.  (Bug#7663)
498 2011-03-03  Glenn Morris  <rgm@gnu.org>
500         * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
501         (mail-mode): Remove mail-sent-via from the doc.
502         (mail-sent-via): Make it obsolete.  (Bug#1776)
504         * progmodes/grep.el (grep-highlight-matches): Doc fix.
505         (grep-process-setup): No highlighting without font-lock.  (Bug#8084)
507         * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
508         with no parents.  (Bug#8025)
510 2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>
512         * password-cache.el (password-in-cache-p): Add autoload.
514 2011-03-02  Glenn Morris  <rgm@gnu.org>
516         * man.el (Man-support-local-filenames): Also handle Red Hat's man.
517         * dired-x.el (Man-support-local-filenames): Autoload it.
518         (dired-guess-shell-alist-default): Also handle Red Hat's man.
520         * dired-x.el (dired-default-directory-alist, dired-default-directory):
521         Mark as obsolete.
522         (dired-smart-shell-command): Just call dired-current-directory.
524         * dired-x.el (dired-jump-other-window): Add autoload.
525         (dired-default-directory-alist, dired-default-directory): Doc fixes.
526         (dired-default-directory-alist): Mark as risky.
528         * dired-x.el (dired-omit-here-always): Make it obsolete.
530 2011-03-02  Chong Yidong  <cyd@stupidchicken.com>
532         * textmodes/artist.el (artist-curr-go): Default to pen-line.
533         (artist-select-op-pen-line): New function.
534         (artist-menu-map): New variable.
535         (artist-mode-map): Add a menu to the menu-bar.
537 2011-03-02  Jay Belanger  <jay.p.belanger@gmail.com>
539         * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
540         when evaluating.
542         * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
543         New function.
544         (math-logunits-add, math-logunits-mul, math-logunits-divide):
545         (math-logunits-quant, math-logunits-level):
546         Use `math-conditional-apply' and `math-conditional-pow' to evaluate
547         functions.
548         (math-logunits-level): Extract units from ratio.
550 2011-03-01  Juanma Barranquero  <lekktu@gmail.com>
552         * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
554 2011-03-01  Glenn Morris  <rgm@gnu.org>
556         * calendar/cal-hebrew.el (calendar-hebrew-birthday)
557         (diary-hebrew-birthday): Rename and rework functions added
558         in previous change.
560 2011-03-01  Ed Reingold  <reingold@emr.cs.iit.edu>
562         * calendar/cal-hebrew.el (hebrew-calendar-birthday)
563         (diary-hebrew-birthday): New functions.
565 2011-03-01  Glenn Morris  <rgm@gnu.org>
567         * dired.el (dired-safe-switches-p): Beef it up.
568         (dired-actual-switches): Use it for the safe-local prop.  (Bug#3230)
570 2011-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
572         * dired.el (dired-safe-switches-p): New function.
574 2011-03-01  Glenn Morris  <rgm@gnu.org>
576         * files.el (dir-locals-collect-variables):
577         Add the ability to exclude subdirectories.  (Bug#8100)
579         * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
581 2011-02-28  Christoph Scholtes  <cschol2112@googlemail.com>
583         * ido.el (ido-everywhere): Doc fix.
584         (ido-mode): Doc fix.
586 2011-02-28  Glenn Morris  <rgm@gnu.org>
588         * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
590 2011-02-28  Michael Albinus  <michael.albinus@gmx.de>
592         * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
593         shadows.
595 2011-02-28  Antoine Levitt  <antoine.levitt@gmail.com>
597         * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
599 2011-02-28  Juanma Barranquero  <lekktu@gmail.com>
601         * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
602         Fix typos in docstrings.
604 2011-02-28  Stephen Berman  <stephen.berman@gmx.net>
606         * dired-aux.el (dired-update-file-line):
607         Fix 2010-11-09 change.  (Bug#8131)
609 2011-02-28  Eli Zaretskii  <eliz@gnu.org>
611         * international/mule-cmds.el (set-default-coding-systems): Use the
612         -unix variant of encoding in default-keyboard-coding-system.
613         (Bug#8122)
615 2011-02-27  Chong Yidong  <cyd@stupidchicken.com>
617         * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
619 2011-02-27  Prestoo Ten  <prestooten@gmail.com>  (tiny change)
621         * term/screen.el: New file (Bug#2650).
623 2011-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
625         * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
626         (pcase-mutually-exclusive-predicates): New var.
627         (pcase--split-consp, pcase--split-pred): Use it.
628         (pcase--split-equal, pcase--split-member): When splitting against
629         a pure predicate, run it to know the outcome.
630         (pcase--u1): Mark vars that are actually used.
631         (pcase--q1): Avoid introducing unused vars.
633 2011-02-27  Jay Belanger  <jay.p.belanger@gmail.com>
635         * calc/calc-ext.el (calc-init-extensions):
636         Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
638         * calc/calc-math.el (calcFunc-log10): Don't signal an error in
639         symbolic mode.
641         * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
642         argument is a variable.
644 2011-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
646         * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
647         (aput, adelete, amake): Replace `eval' -> `symbol-value'.
648         Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
650 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
652         * password-cache.el (password-in-cache-p): Convenience function to
653         check if a key is in the cache, even if the value is nil.
655 2011-02-25  Jambunathan K  <kjambunathan@gmail.com>
657         * emacs-lisp/package-x.el (package--archive-contents-from-url)
658         (package--archive-contents-from-file): New functions.
659         (package-update-news-on-upload): New var.
660         (package-upload-buffer-internal): Extract archive-contents from
661         package-archive-upload-base if it is not found at archive-url.
662         Obey package-update-news-on-upload.
663         (package-upload-buffer, package-upload-file): Doc fix.
665 2011-02-24  Glenn Morris  <rgm@gnu.org>
667         * files-x.el (modify-dir-local-variable): Handle dir-locals from
668         the cache, and from non-file sources.
670         * help-fns.el (describe-variable): Return consistent results when a
671         dir-local from a file came from the cache or did not.  (Bug#8095)
672         If a dir-local has no associated file, say it came from a "directory".
674         * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
675         (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
677         * files.el (dir-locals-find-file): Doc fix.
678         Fix the check for cache elements that have no associated file,
679         and the mtime check for those that do.  (Bug#8095)
681         * dired-x.el (dired-hack-local-variables):
682         Handle interrupts during hacking local variables.  (Bug#5216)
684         * emacs-lisp/autoload.el (autoload-save-buffers)
685         (autoload-find-destination, update-directory-autoloads):
686         Avoid prompts when updating autoloads.
688 2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
690         * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
692 2011-02-23  Kenichi Handa  <handa@m17n.org>
694         * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
695         error when a multipart boundary in the nested multipart is found.
697         * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
698         header components.
700 2011-02-23  Glenn Morris  <rgm@gnu.org>
702         * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
703         * dired-x.el (dired-omit-mode): Safe if boolean.
704         (dired-enable-local-variables): Fix doc and custom type.
705         (dired-enable-local-variables, dired-local-variables-file)
706         (dired-hack-local-variables): Make obsolete.
707         (dired-omit-here-always): Use dir-locals.el instead.
709         * files.el (safe-local-eval-forms): Add the write-file-hooks version.
711 2011-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
713         * help-fns.el (describe-function-1): Don't signal an error just because
714         the DOC file disappeared.
716 2011-02-22  Seppo Sade  <sepposade1@gmail.com>  (tiny change)
718         * eshell/esh-ext.el (eshell-external-command): Do not restrict
719         remote check to "ftp".  (Bug#8089)
721 2011-02-21  Alan Mackenzie  <acm@muc.de>
723         Fix bug #7930.
724         * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
725         in macros finding their way into c-state-nonlit-pos-cache.
726         Strengthen the comments.
727         (c-state-dump): New commented out diagnostic routine.
729 2011-02-21  Michael Albinus  <michael.albinus@gmx.de>
731         * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
732         `field' property of `rfn-eshadow-overlay'.
734 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
736         * net/netrc.el (netrc-parse): Comment fix.
738 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
740         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
741         Autoload.  Add optional arg FRAME, and pass it to color-values.
742         (color-complement): Caller changed.  Doc fix.
743         (color-gradient): Rewrite for better clarity and efficiency.
745         * faces.el (color-values): Use cond for clarity.  Doc fix.
747         * facemenu.el (color-rgb-to-hsv): Delete; use the version in
748         color.el instead.
749         (list-colors-sort-key, list-colors-print):
750         Use color-normalized-values.
752 2011-02-20  Drew Adams  <drew.adams@oracle.com>
754         * color.el: First part of merge from hexrgb.el.
755         (color-rgb-to-hex): Rename from color-rgb->hex.
756         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
757         saturation to zero if the value is too small.
758         (color-rgb-to-hsl): Rename from color-rgb->hsl.
759         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
760         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
761         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
762         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
763         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
764         (color-cie-de2000): Doc fix.
766 2011-02-20  Alan Mackenzie  <acm@muc.de>
768         * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
769         locating the beginning of a macro.  (Bug#7595)
771 2011-02-20  Glenn Morris  <rgm@gnu.org>
773         * edmacro.el (edmacro-eight-bits): Make it a defcustom.
774         Don't autoload it.
776         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
777         (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
779 2011-02-19  Dmitry Bolshakov  <dmitry.bolshakov@bridge-quest.com>
780             Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
782         * progmodes/hideshow.el (hs-find-block-beginning)
783         (hs-hide-level-recursive): Ignore comments when parsing braces
784         (Bug#8036).
786 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
788         * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
789         (vc-bzr-pull): Use it.
791 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
793         * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
794         (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
795         but returning an alist.  Ignore comments in bzr conffile.
796         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
797         (vc-bzr-error-regex-alist): New var.
798         (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
800         * vc/vc-dispatcher.el (vc-do-async-command):
801         Bind inhibit-read-only to t.
803         * progmodes/compile.el (compilation--flush-directory-cache):
804         Handle the case where cdr of compilation--flush-directory-cache
805         points to no buffer, which can occur if we previously switched to
806         compilation-mode in a pregenerated buffer.
808 2011-02-19  Kenichi Handa  <handa@m17n.org>
810         * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
811         get the header copy into the temporary buffer.
812         (rmail-mime-insert-decoded-text): Ignore us-ascii.
813         (rmail-show-mime): When rmail-mime-coding-system is nil, set
814         buffer-file-coding-system to undecided.
816 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
818         * international/mule-cmds.el (read-char-by-name, ucs-insert):
819         Document completion with asterisk and a substring.
821 2011-02-19  Glenn Morris  <rgm@gnu.org>
823         * files.el (find-file-literally): Doc fix.
825         * simple.el (rfc822-goto-eoh): Give it a doc-string.
827         * log-edit.el (log-edit-insert-changelog):
828         Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
830 2011-02-19  Glenn Morris  <rgm@gnu.org>
832         * dired-x.el: Don't require dired-aux.
833         (dired-do-create-files, dired-mark-read-regexp)
834         (dired-do-create-files-regexp): Autoload from dired-aux.
836         * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
837         * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
839         * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
840         * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
842         * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
843         * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
844         (dired-clean-up-buffers-too): Declare.
846         * dired-x.el (dired-initial-position): Merge into dired.el's version.
847         * dired.el (dired-initial-position): Merge dired-x's version here.
848         (dired-find-subdir): Declare.
850         * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
851         * dired-aux.el (dired-add-entry): Give it a doc-string.
852         Merge dired-x's dired-omit handling here.
853         (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
855         * international/mule-diag.el (list-input-methods-1):
856         Indent all lines of multi-line doc-strings.  (Bug#8066)
858 2011-02-18  Chong Yidong  <cyd@stupidchicken.com>
860         Fix 2011-02-02 changes.
862         * apropos.el (apropos-print): Call apropos-mode before setting up
863         buffer variables.  Use inhibit-read-only.
865         * emacs-lisp/package.el (package--list-packages):
866         Call package-menu-mode before setting up buffer variables.
868         * play/solitaire.el (solitaire): Call solitaire-mode before
869         setting up buffer variables.  Use inhibit-read-only.
871 2011-02-18  Lawrence Mitchell  <wence@gmx.li>
873         * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
874         Bind case-fold-search to nil when looking for end of here-doc.
876 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
878         * image-mode.el (image-toggle-display-image):
879         Set find-file-literally non-nil in buffers visiting binary image
880         files.  (Bug#8047)
882 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
884         * files.el (cd): Make completion obey cd-path (bug#7924).
886 2011-02-18  Glenn Morris  <rgm@gnu.org>
888         * progmodes/prolog.el: Don't require compile when compiling.
889         (compilation-shell-minor-mode, compilation-error-regexp-alist)
890         (compilation-forget-errors, compilation-fake-loc)
891         (compilation-parse-errors-function, compilation-error-list): Declare.
892         (prolog-inferior-mode): Require 'compile.
894         * emulation/cua-base.el (pc-selection-mode): Declare.
896         * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
897         (customize-object): Add autoload cookie.
898         * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
899         (eieio-browse, describe-class, eieio-describe-class)
900         (eieio-describe-constructor, describe-generic, eieio-describe-generic)
901         (eieio-help-mode-augmentation-maybee): Add autoload cookies.
902         * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
903         * Makefile.in (autoloads): Make eieio.el writable.
905         * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
906         (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
907         (dired-hack-local-variables): Use inhibit-read-only.
908         (dired-guess-default): Simplify.
909         (dired-make-relative-symlink): Use dotimes.
910         (dired-simultaneous-find-file): Use dolist.
911         (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
912         (dired-x-hands-off-my-keys): Doc fix.
913         (dired-x-bind-find-file): Doc fix.  Use remapping.
914         (after-init-hook): No need to add dired-x-bind-find-file.
915         (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
916         No need to call expand-file-name.
917         (dired-filename-at-point): Remove unused locals `end', `filename'.
919 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
921         * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
923 2011-02-18  Christian Ohler  <ohler@gnu.org>
925         * emacs-lisp/ert.el (ert--setup-results-buffer)
926         (ert-results-pop-to-backtrace-for-test-at-point)
927         (ert-results-pop-to-messages-for-test-at-point)
928         (ert-results-pop-to-should-forms-for-test-at-point)
929         (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
930         were incorrect and unnecessary.  This should make `make check'
931         pass again.
933 2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
935         * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
936         (allout-widgets-icons-dark-subdir): Track relocations of icons.
937         * lisp/allout.el: Remove commentary about remove encryption
938         passphrase mnemonic support and verification.
939         (allout-encrypt-string): Recognize epg failure to decrypt gpg2
940         armored text using gpg1, and indicate that the gpg version *might*
941         be the problem in the error message.
943 2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
945         * net/rcirc.el (rcirc-float-time): New function.
946         (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
947         (rcirc-ctcp-sender-PING): Use it.
949 2011-02-17  Glenn Morris  <rgm@gnu.org>
951         * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
952         (speedbar-update-flag, speedbar-fetch-etags-command)
953         (speedbar-fetch-etags-arguments):
954         * term.el (term-buffer-maximum-size, term-input-chunk-size)
955         (term-completion-autolist, term-completion-addsuffix)
956         (term-completion-recexact, term-completion-fignore):
957         * term/sup-mouse.el (sup-mouse-fast-select-window):
958         * term/x-win.el (x-select-request-type):
959         Convert some defvars with "*" to defcustoms.
961         * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
963         * vc/vc.el (vc-default-previous-version):
964         Remove alias that points nowhere.  (Bug#4496)
966         * dired-x.el (dired-clean-up-after-deletion):
967         kill-buffer does not need save-excursion.
968         (dired-do-run-mail): Doc fix.
969         (dired-filename-at-point): Doc fix.
970         Use looking-at, and skip-chars rather than re search.
972         * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
974 2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
976         * allout-widgets.el: New allout extension that shows allout
977         outline structure with graphical widgets.  'allout-widgets'
978         customize group is an 'allout' subgroup, for easy discovery.
980         * allout.el: Include PGP and GnuPG in Keywords, and other
981         commentary refinements.
982         (allout-abbreviate-flattened-numbering): Rename to
983         allout-flattened-numbering-abbreviation, and
984         define-obsolete-variable-alias the old name.
985         (allout-flattened-numbering-abbreviation): Rename from
986         allout-abbreviate-flattened-numbering.
987         (allout-mode-p): Include among autoloads, for use by other modes
988         with impunity.
989         (allout-listify-exposed):
990         Use allout-flattened-numbering-abbreviation.
991         (allout-encrypt-string): Use set-buffer-multibyte directly.
992         (allout-set-buffer-multibyte): Remove.
994 2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
996         * simple.el (just-one-space): Remove useless `or' call.
998 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
1000         * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1001         (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1002         (soap-decoded-multi-refs, soap-current-wsdl)
1003         (soap-encoded-namespaces): Rename CL-style *...* variables.
1005 2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
1007         * net/soap-client.el: Add "comm" and "hypermedia" to the
1008         keywords.  Reflow too long lines.
1010         * net/soap-inspect.el: Ditto.  Require 'cl.
1012 2011-02-16  Bastien Guerry  <bzg@altern.org>
1014         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1015         in a `doctor-type' argument.
1017 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
1019         * net/soap-client.el:
1020         * net/soap-inspect.el: New files.
1022 2011-02-16  Leo  <sdl.web@gmail.com>
1024         * dired-x.el (dired-mode-map, dired-extra-startup):
1025         Remove dired-copy-filename-as-kill since it's already in dired.el.
1027 2011-02-16  Glenn Morris  <rgm@gnu.org>
1029         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1030         Doc fixes.  Add :set property, replacing top-level calls.
1031         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1032         (dired-guess-shell-gnutar): Test tar version rather than system-type.
1033         (dired-extra-startup, dired-man, dired-info): Doc fixes.
1034         (dired-clean-up-after-deletion): Use when and dolist.
1035         (dired-jump): Use unless and when.
1036         (dired-virtual): Use line-end-position.
1037         (dired-default-directory-alist): Rename from default-directory-alist.
1038         (dired-default-directory): Update for above name change.
1039         (dired-vm): Drop VM < 5 and simplify.
1040         (dired-buffer-more-recently-used-p): Rewrite.
1041         (dired-filename-at-point): Use when and or.
1042         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1043         Update callers.
1045 2011-02-15  Glenn Morris  <rgm@gnu.org>
1047         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
1049 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
1051         * vc/vc-git.el (vc-git-root-log-format): New option for
1052         customizing log format.
1053         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1054         (vc-git-log-view-mode): Use it.
1055         (vc-git-expanded-log-entry): New function.
1056         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
1058         * vc/vc-hg.el (vc-hg-root-log-template): New option for
1059         customizing log format.
1060         (vc-hg-print-log): Use it.
1061         (vc-hg-expanded-log-entry): New function.
1062         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1063         vc-hg-expanded-log-entry.  Truncate lines in root log.
1065         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1067         * vc/log-view.el (log-view-mode-menu):
1068         Add log-view-toggle-entry-display.
1070 2011-02-14  Glenn Morris  <rgm@gnu.org>
1072         * dired-x.el: Don't require man when compiling.
1073         (dired-omit-extensions, dired-local-variables-file)
1074         (dired-x-hands-off-my-keys): Make them defcustoms.
1075         (Man-support-local-filenames, Man-getpage-in-background): Declare.
1076         (vm-visit-folder): Declare rather than defining.
1077         (dired-x-help-address, dired-x-variable-list): Remove.
1078         (dired-x-submit-report): Make it an obsolete alias.
1080 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
1082         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1084 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1086         * net/imap.el: Bring it back.
1088 2011-02-13  Alan Mackenzie  <acm@muc.de>
1090         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1091         narrow-to-region call that cuts context off the end (Bug#7722).
1093         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1094         Refactor nested if-forms with a simple cond.
1095         (c-forward-<>-arglist): Revert 2011-01-31 change.
1097 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
1099         * vc/log-view.el: New command log-view-toggle-entry-display for
1100         toggling log entries between concise and detailed forms.
1101         (log-view-toggle-entry-display): New command.
1102         (log-view-mode-map): Bind RET to it.
1103         (log-view-expanded-log-entry-function): New variable.
1104         (log-view-current-entry, log-view-inside-comment-p)
1105         (log-view-current-tag): New functions.
1106         (log-view-toggle-mark-entry): Use log-view-current-entry and
1107         log-view-end-of-defun instead of searching directly with
1108         log-view-message-re.
1109         (log-view-end-of-defun): Likewise.  Add optional ARG for
1110         compatibility with end-of-defun.
1111         (log-view-end-of-defun): Ignore comments and VC buttons.
1113         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1114         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1116 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1118         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
1120         * net/imap-hash.el: Remove file.
1122 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
1124         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1126         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1127         call.
1129         * net/tramp-imap.el: Remove file.
1131 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
1133         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1134         widget library for buttons, just use button.el.
1136         * vc/log-view.el (log-view-mode-map): Don't inherit from
1137         widget-keymap.
1139 2011-02-12  Glenn Morris  <rgm@gnu.org>
1141         * emacs-lisp/cl-seq.el (union, nunion, intersection)
1142         (nintersection, set-difference, nset-difference)
1143         (set-exclusive-or, nset-exclusive-or): Doc fix.
1145         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1147         * faces.el (face-attr-match-p): Handle the obsolete :bold and
1148         :italic props, so that frame-set-background-mode works.  (Bug#7966)
1150         * simple.el (next-error): Doc fix.
1152 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1154         * dired-aux.el (dired-create-files): Adapt destination name to
1155         match the new behavior of copy-directory.
1157 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
1159         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1160         from rmail-dont-reply-to-names.  Callers changed.
1161         (mail-dont-reply-to): Rename from mail-dont-reply-to.
1162         (rmail-dont-reply-to): Make it an obsolete alias.
1164         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1165         nil, and make obsolete (Bug#7888).
1166         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1168         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1170         * mail/rmailsort.el (rmail-sort-by-correspondent)
1171         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
1173         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1175 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1177         * files.el (copy-directory): New argument COPY-CONTENTS for
1178         copying directory contents into another existing directory.
1180 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
1182         * minibuffer.el (completion-table-case-fold): New function for
1183         creating a case-insensitive completion table.
1185 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
1187         * net/tramp.el (tramp-default-method): Also check if
1188         `auth-source-search' is bound.
1189         (tramp-read-passwd): Use `auth-source-search' instead of
1190         `auto-source-user-or-password'.
1192         * net/tramp-imap.el: Autoload `auto-source-search' instead of
1193         `auto-source-user-or-password.
1194         (tramp-imap-passphrase-callback-function): Use it.
1196         * net/imap-hash.el: Autoload `auto-source-search' instead of
1197         `auto-source-user-or-password.
1198         (imap-hash-open-connection): Use it.
1200         * mail/smtpmail.el: Autoload `auto-source-search' instead of
1201         `auto-source-user-or-password.
1202         (smtpmail-try-auth-methods): Use it.
1204 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
1206         * emacs-lisp/package.el: Allow packages to be reinstalled.
1207         (package--write-file-no-coding): Remove EXCL arg.
1208         (package-unpack-single): Don't use it.
1210 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
1212         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1213         in each sub directory.
1214         (vc-svn-registered): Use vc-svn-root.
1215         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
1216         (vc-svn-repository-hostname): Use "svn info".
1218 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1220         * simple.el (delete-trailing-whitespace): New optional buffer
1221         bound parameters.
1223 2011-02-11  Bastien Guerry  <bzg@altern.org>
1225         * files.el (basic-save-buffer): save unmodified buffers when
1226         the file pointed by buffer-file-name doesn't exist.
1228 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1230         * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1232 2011-02-11  Glenn Morris  <rgm@gnu.org>
1234         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1236 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
1238         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1240 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1242         * server.el (server-process-filter): Use pcase.
1244         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1245         conflicting ways.
1246         (smie-indent--parent): Extend to "parent of arg".
1247         (smie-indent-inside-string): New function.
1248         (smie-indent-functions): Use it.
1250         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1251         bzr locking race condition.
1253         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1254         still valid before using it.
1256         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1257         `message' -> `compilation-message' rename (bug#8004).
1259         Move keymap initialization into declaration.
1260         * textmodes/enriched.el (enriched-mode-map):
1261         * textmodes/bib-mode.el (bib-mode-map):
1262         * term/lk201.el (lk201-function-map):
1263         * tar-mode.el (tar-mode-map):
1264         * replace.el (occur-mode-map):
1265         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1266         * progmodes/idlw-help.el (idlwave-help-mode-map):
1267         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1268         * play/solitaire.el (solitaire-mode-map):
1269         * play/snake.el (snake-mode-map, snake-null-map):
1270         * play/pong.el (pong-mode-map):
1271         * play/handwrite.el (menu-bar-handwrite-map):
1272         * play/gametree.el (gametree-mode-map):
1273         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1274         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1275         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1276         (newsticker--url-keymap):
1277         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1278         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1279         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1280         (menu-bar-edit-menu, menu-bar-custom-menu)
1281         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1282         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1283         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1284         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1285         (menu-bar-tools-menu, menu-bar-describe-menu)
1286         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1287         (menu-bar-help-menu):
1288         * mail/rmailsum.el (rmail-summary-mode-map):
1289         * kmacro.el (kmacro-step-edit-map):
1290         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1291         (ibuffer-mode-operate-map):
1292         * hi-lock.el (hi-lock-menu, hi-lock-map):
1293         * emulation/vip.el (vip-mode-map):
1294         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1295         * bookmark.el (bookmark-bmenu-mode-map):
1296         * help-mode.el (help-mode-map): Move initialization into declaration.
1298 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1300         * net/rcirc.el: Add PRIVMSG and CTCP functions.
1301         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1302         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1303         (rcirc-cmd-me, rcirc-authenticate): Use them.
1305 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
1307         * allout.el: Synopsis: Change allout user configuration so
1308         auto-activation is controlled solely by customization
1309         `allout-auto-activation'.
1311         (allout-auto-activation-helper, allout-setup): New autoloads
1312         implement new custom set procedure for allout-auto-activation.
1313         Also, explicitly invoke (allout-setup) after allout-auto-activation
1314         is custom-defined, to affect the settings in emacs sessions besides
1315         the few where allout-auto-activation customization is done.
1316         (allout-auto-activation): Use allout-auto-activation-helper to
1317         :set.  Revise the docstring.
1318         (allout-init): Reduce functionality to just customizing
1319         allout-auto-activation, and mark obsolete.
1320         (allout-mode): Respect string values for allout-auto-activation.
1321         Run allout-after-copy-or-kill-hook without any args.
1322         (allout-mode, allout-layout, allout-default-layout)
1323         (outlineify-sticky): Adjust docstring for new scheme.
1324         (allout-after-copy-or-kill-hook): No arguments - hook implementers
1325         should concentrate on the kill ring.
1327 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
1329         * password-cache.el (password-cache-remove): Accept secrets that are
1330         not strings.
1332 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1334         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1335         of here-doc that immediately follows a comment.
1337 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1339         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1341         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1342         available.
1343         (rcirc-ctcp-sender-PING): New function.
1345 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1347         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1348         Remove the mark/nomark handling, and activate shift-select-mode instead.
1350         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1352 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
1354         * calc/calc-units.el (math-logunits-quant): Add support for
1355         non-logarithmic units.
1357 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
1359         * allout.el (allout-after-copy-or-kill-hook): New hook for
1360         extension-specific processing of killed text.
1361         (allout-mode): Include new allout-after-copy-or-kill-hook among
1362         mentioned hooks.
1363         (allout-kill-line, allout-kill-topic): Ensure that processing
1364         after kill happens even if barf-if-buffer-read-only is raised.
1365         Include new allout-after-copy-or-kill-hook among that subsequent
1366         processing.
1367         (allout-deannotate-hidden): Actually remove the annotation text
1368         properties.
1370         * allout.el (allout-listify-exposed): Copy text sans text properties.
1372 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
1374         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1376 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1378         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1380 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
1382         * calc/calc.el (calc-logunits-field-reference): Rename from
1383         `calc-default-field-reference-level'.
1384         (calc-logunits-power-reference): Rename from
1385         `calc-default-power-reference-level'.
1387         * calc/calc-units.el (math-logunits-quant): Rename from
1388         `math-logunits-level'
1389         (math-logunits-plus): Rename from math-logcombine.
1390         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1391         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1392         (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1393         New functions.
1394         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1395         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1396         (calc-logunits-quantity): Rename from `calc-level'.
1397         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1398         (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1399         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1400         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1401         (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1402         New functions.
1404         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1405         (calc-ul-prefix-help): Remove.
1406         (calc-l-prefix-help): New function.
1407         (calc-full-help): Add reference to `calc-l-prefix-help'.
1409         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1411         * calc/README: Mention logarithmic units.
1413 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
1415         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1416         non-ASCII characters (Bug#7925).
1418 2011-02-05  Glenn Morris  <rgm@gnu.org>
1420         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1422         * calendar/diary-lib.el (diary-font-lock-keywords):
1423         Tweak diary-time-regexp match.  (Bug#7891)
1425         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
1426         (f90-mode): Use it for mode's `find-tag-default-function' property.
1428         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
1430         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
1432 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1434         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1435         (Bug#6386).
1437 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1439         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1440         font-lock-syntax-table remappings.
1441         (sh-here-doc-markers, sh-here-doc-re): Remove.
1442         (sh-font-lock-close-heredoc): Remove.
1443         (sh-syntax-propertize-here-doc): New function.
1444         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1445         instead of the sh-here-doc-re.
1446         (sh-font-lock-paren): Don't do anything in comments or strings.
1447         Handle line continuations.  Accept a few more chars.
1448         Don't rely on the font-lock-syntax-table remappings.
1449         `esac' is not a valid pattern.
1450         (sh-syntax-propertize-function): Handle here-docs differently, so we
1451         don't bother syntax-propertizing the insides.
1453         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1454         Handle new bashisms ";&" and ";;&" (bug#7947).
1456 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
1458         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1459         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1461 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
1463         * net/tramp.el (tramp-postfix-method-format)
1464         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1465         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1466         (tramp-postfix-user-regexp, tramp-prefix-port-format)
1467         (tramp-prefix-port-regexp, tramp-postfix-host-format)
1468         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1469         Doc fix.
1471 2011-02-04  Sam Steingold  <sds@gnu.org>
1473         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1475 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
1477         * international/mule-util.el (with-coding-priority): Doc fix.
1479 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1481         * arc-mode.el (archive-mode-map): Fix a typo in last change.
1483 2011-02-03  Sam Steingold  <sds@gnu.org>
1485         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1486         Do not error out when `func' is nil.
1488 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
1490         * net/tramp-sh.el (tramp-remote-path): Add default settings for
1491         `tramp-default-remote-path' to the docstring.
1492         (tramp-get-remote-path): Suppress error message when `getconf
1493         PATH' fails.
1495         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1497 2011-02-03  Glenn Morris  <rgm@gnu.org>
1499         * vc/vc-hg.el (vc-hg-command): Doc fix.
1501         * term/w32-win.el (libpng-version): Declare for compiler.
1503         * msb.el: No need to load dired while compiling.
1505         * emacs-lisp/elint.el (elint-standard-variables):
1506         Remove a couple of built-ins that now have doc-strings.
1508         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1509         `require' is automatically `eval-and-compile'd.
1511         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1512         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1514         * strokes.el (strokes-fill-current-buffer-with-whitespace):
1515         Move definition before use.
1516         (strokes-report-bug): Make it obsolete.
1518 2011-02-02  Sam Steingold  <sds@gnu.org>
1520         * apropos.el (apropos-print): Now that `apropos-mode' inherits
1521         from `special-mode', entering it makes the buffer read-only, so
1522         call it only when everything has been already inserted.
1523         * emacs-lisp/ert.el (ert--setup-results-buffer)
1524         (ert-results-pop-to-backtrace-for-test-at-point)
1525         (ert-results-pop-to-messages-for-test-at-point)
1526         (ert-results-pop-to-timings): Ditto.
1527         * emacs-lisp/package.el (package--list-packages): Ditto.
1528         * play/solitaire.el (solitaire): Ditto.
1530 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
1532         * progmodes/compile.el: Make all faces inherit.
1533         (compilation-warning): Inherit from font-lock-variable-name-face.
1534         (compilation-info): Inherit from font-lock-type-face.
1535         (compilation-line-number): Reassign to font-lock-keyword-face.
1536         (compilation-column-number): Reassign to font-lock-doc-face.
1537         (compilation-leave-directory-face): Reassign to
1538         font-lock-builtin-face.
1540 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
1542         * dired.el (dired-insert-directory): Don't invoke `ls' when
1543         ls-lisp.el is used to emulate it.
1545 2011-02-01  Julien Danjou  <julien@danjou.info>
1547         * color.el (color-gradient): Add a color-gradient function.
1549 2011-02-01  Sam Steingold  <sds@gnu.org>
1551         * simple.el (special-mode-map): Bind "h" to `describe-mode';
1552         bind "z" to `kill-this-buffer'.
1553         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1554         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1555         (apropos-mode): Inherit from `special-mode'.
1556         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1557         * bookmark.el (bookmark-bmenu-mode): Define using
1558         `define-derived-mode' inheriting from `special-mode'.
1559         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1560         * image-mode.el (image-mode-map): Ditto.
1561         * replace.el (occur-mode): Define using
1562         `define-derived-mode' inheriting from `special-mode'.
1563         * tar-mode.el (tar-mode): Inherit from `special-mode'.
1564         * calendar/diary-lib.el (diary-fancy-display-mode):
1565         Inherit from `special-mode-map'.
1566         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1567         Inherit from `special-mode'.
1568         * emacs-lisp/package.el (package-menu-mode-map): Copy from
1569         `special-mode-map'.
1570         (package-menu-mode): Define using `define-derived-mode'
1571         inheriting from `special-mode'.
1572         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1573         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1574         (xesam-mode-map): Define separately.
1575         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1576         * progmodes/compile.el (compilation-minor-mode-map)
1577         (compilation-mode-map): Inherit from `special-mode-map'.
1578         * vc/diff-mode.el (diff-mode-shared-map):
1579         Inherit from `special-mode-map'.
1580         * vc/log-view.el (log-view-mode-map): Add a comment.
1582 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
1584         * custom.el (load-theme): Define return value.  Drop use of
1585         unsafep; call custom-theme-load-confirm for non-known-safe themes.
1586         (custom-theme-load-confirm): Scroll in the correct window.
1587         (custom-enabled-themes): Add custom-safe-themes to :set-after.
1589         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1590         checkbox if load-theme fails.
1592 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1594         * progmodes/compile.el (compilation-next-error): Check there's
1595         a message before using it (bug#7941).
1597 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
1599         * calc/calc-mtx.el (math-lud-pivot-check): New function.
1600         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1601         of potential pivots.
1603 2011-01-31  Alan Mackenzie  <acm@muc.de>
1605         * progmodes/cc-cmds.el (c-forward-over-illiterals):
1606         Continue parsing if we encounter a naked # (Bug#7595).
1607         (c-beginning-of-statement): Avoid loop in locating the beginning
1608         of a macro.  (Not actually committed until 2011-02-20, see above).
1610 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1612         * files.el (copy-directory): Fix arguments to recursive call.
1614 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1616         * files.el (copy-directory): If destination is an existing
1617         directory, copy into a subdirectory there.
1619 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
1621         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1622         files.
1624 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1626         * image-dired.el (image-dired-mouse-display-image): No-op if no
1627         file is found (Bug#7817).
1629         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1631 2011-01-31  Kenichi Handa  <handa@m17n.org>
1633         * international/quail.el (quail-keyboard-layout-alist):
1634         Remove superfluous SPC for "pc105-uk" (bug#7927).
1636 2011-01-31  Glenn Morris  <rgm@gnu.org>
1638         * msb.el (msb-menu-bar-update-buffers): Update for changed
1639         argument handling of menu-bar-select-frame.  (Bug#7902)
1641 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1643         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1644         to the recursion depth (Bug#7722).
1646 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
1648         * term/ns-win.el (ns-find-file): Expand ns-input-file with
1649         command-line-default-directory (Bug#7872).
1651 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1653         * progmodes/compile.el (compilation--flush-directory-cache):
1654         New function, extracted from compilation--remove-properties.
1655         (compilation--remove-properties, compilation--parse-region): Use it.
1656         (compilation--previous-directory): Handle one more case.
1657         (compilation-enable-debug-messages): Remove.
1658         (compilation-parse-errors, compilation--flush-parse): Just remove the
1659         left over debug messages.
1661 2011-01-31  Sam Steingold  <sds@gnu.org>
1663         * progmodes/compile.el (compilation-enable-debug-messages):
1664         Add a variable to make the parsing messages introduced in
1665         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1666         (compilation-parse-errors, compilation--flush-parse): Use it.
1668 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1670         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
1671         (rcirc-nick-completion-format): New defcustom.
1672         (rcirc-complete): Use it.
1674 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1676         * net/rcirc.el: Clean log filenames (Bug#7933).
1677         (rcirc-log-write): Use convert-standard-filename.
1678         (rcirc-log-filename-function): Documentation updates.
1680 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
1682         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1683         Check report-emacs-bug-can-use-osx-open and use that if t.
1684         (report-emacs-bug-can-use-osx-open): New function.
1685         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1686         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1688 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1690         * vc/vc-dispatcher.el (vc-set-async-update): New function for
1691         updating Dired or VC-dir buffers after async command completes.
1693         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1694         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1696         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1697         completions if it exists.  Use vc-set-async-update.
1698         (vc-git-pull): Use vc-set-async-update.
1700         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1701         read-shell-command.  Use vc-set-async-update.
1702         (vc-hg-merge-branch): Use vc-set-async-update.
1704 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
1706         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1707         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1708         (Bug#7931).
1710 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1712         * progmodes/compile.el: Avoid an N² behavior in grep.
1713         (compilation--previous-directory): New fun.
1714         (compilation--previous-directory-cache): New var.
1715         (compilation--remove-properties): Flush it.
1716         (compilation-directory-properties, compilation-error-properties):
1717         Use the new fun to speed up looking for the current directory.
1719 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1721         * vc/vc-hg.el (vc-hg-history): New var.
1722         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1723         (vc-hg-merge-branch): New function.
1725         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1726         the other way around.
1728         * vc/vc-git.el (vc-git-branches, vc-git-pull)
1729         (vc-git-merge-branch): New functions.
1730         (vc-git-history): New var.
1732 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1734         * vc/vc-dispatcher.el (vc-do-async-command): New function.
1736         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1737         vc-do-async-command.
1739         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1740         Callers changed.
1742 2011-01-28  Leo  <sdl.web@gmail.com>
1744         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1745         highlighting to the "this function is advised" message.
1747         * help-mode.el (help-mode-finish): Apply highlighting here, to
1748         avoid clobbering by substitute-command-keys (Bug#6304).
1750 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1752         * woman.el (woman0-roff-buffer): Process roff escape sequences
1753         occurring prior to the first request (Bug#7843).
1755 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1757         * progmodes/compile.el: Don't use font-lock any more.
1758         (compilation-error-regexp-alist-alist): Change handling of makepp
1759         so it preserves the warning/error distinction on subsequent files.
1760         Simplify various rules.
1761         (compilation-directory-properties): Use font-lock-face.
1762         Add a compilation-message property.
1763         (compilation-internal-error-properties): Use font-lock-face.
1764         Don't set the compilation-debug property here.
1765         (compilation--put-prop, compilation--remove-properties)
1766         (compilation--parse-region, compilation--ensure-parse)
1767         (compilation--ensure-parse): New functions.
1768         (compilation-parse-errors): New function, largely inspired of
1769         compilation-mode-font-lock-keywords.  Set compilation-debug here.
1770         (compilation--parsed): New var.
1771         (compilation--flush-parse): Use compilation--ensure-parse.
1772         (compilation-start): Don't call font-lock.
1773         (compilation-turn-on-font-lock): Remove.
1774         (compilation-setup): Don't set font-lock-extra-managed-props not change
1775         other font-lock settings, other than keywords.
1776         Don't activate font-lock-mode.
1777         Set change-major-mode-hook and before-change-functions.
1778         (compilation--unsetup): Remove properties and hooks.
1779         (compilation-next-single-property-change): New function.
1780         (compilation-next-error): Use it to parse when needed.
1781         (compile-goto-error): Parse buffer as needed.
1782         (compilation--compat-error-properties): Don't need a dummy `face'
1783         property any more.
1785 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1787         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1788         (compilation-process-setup-function): Fix docstring's false promises.
1789         (compilation-error-regexp-alist-alist): Catch omake's continuous
1790         recompilation message and avoid reuse of old markers.
1791         (compilation-parse-errors-function): Declare obsolete.
1792         (compilation-buffer-modtime): Remove.
1793         (compilation--make-cdrloc, compilation--loc->col)
1794         (compilation--loc->line, compilation--loc->file-struct)
1795         (compilation--loc->marker, compilation--loc->visited)
1796         (compilation--make-file-struct, compilation--file-struct->file-spec)
1797         (compilation--file-struct->formats)
1798         (compilation--file-struct->loc-tree): New macros.  Use them.
1799         (compilation--message): New defstruct.  Use them.
1800         (compilation-next-error-function): Don't mess with timestamps to try
1801         and guess when to reparse.
1803 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1805         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1806         (tex-old-error-file-name): New function,
1807         extracted from tex-compilation-parse-errors.
1808         (tex-compilation-parse-errors): Remove.
1809         (tex-error-regexp-alist): New var.
1810         (tex-shell): Use it to avoid compilation-parse-errors-function.
1812         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1813         (grep-mode-font-lock-keywords): Remove regexp that seems like
1814         a left-over from before we used compile.el.
1815         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1816         modifying the buffer within with-silent-modifications.
1818         * progmodes/compile.el: Cleanup text-properties namespace by using
1819         `compilation-message' instead of `message', `compilation-directory'
1820         instead of `directory', and `compilation-debug' instead of `debug'.
1821         (compilation-last-buffer, compilation-parsing-end)
1822         (compilation-error-list, compilation-old-error-list): Move to the
1823         compatibility part of the code.
1824         (compilation-error-properties): If `file' is a function, let it return
1825         a file name.
1826         (compilation-mode-font-lock-keywords): Be more conservative with the
1827         omake "^ *" pattern prefix, to try and minimize the risk of
1828         pathologically slow regexp matching.
1829         (compilation-start): Use inhibit-read-only.
1830         (compilation--unsetup): New function.
1831         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1832         (compilation-filter): Minor tweaks.
1833         (compilation-next-error-function): Try and avoid abusing variables.
1834         (compilation--flush-file-structure): New fun.
1835         (compilation-fake-loc): Use it to improve behavior when file is reused.
1836         (debug-ignored-errors): Add "Moved past last ...".
1837         (compilation--compat-error-properties)
1838         (compilation--compat-parse-errors): Rename by doubling the "-".
1840         Port features from the previous prolog.el to the new one.
1841         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1842         (prolog-program-name, prolog-program-switches, prolog-consult-string)
1843         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1844         variable and use a function to compute the value dynamically.
1845         (prolog-prompt-regexp): Add regexp for GNU Prolog.
1846         (prolog-continued-prompt-regexp): Remove, unused.
1847         (prolog-find-value-by-system): Try and use the value of prolog-system
1848         in the *prolog* buffer if it helps.
1849         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1850         (prolog-zip-on): ..and check prolog-system and version here instead.
1851         (prolog-inferior-self-insert-command): New command.
1852         (prolog-inferior-mode-map): Use it.
1853         (prolog-inferior-error-regexp-alist): New var.
1854         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1855         (prolog-input-filter): Use derived-mode-p.
1856         (prolog-inferior-guess-flavor): New function.
1857         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
1858         make-comint to avoid running comint-mode twice.
1859         (prolog-inferior-buffer): New fun.
1860         (prolog-old-process-region, prolog-old-process-file):
1861         Don't call prolog-bsts here...
1862         (prolog-build-prolog-command): ...do it here instead.
1863         (prolog-old-process-region, prolog-old-process-file):
1864         Use compilation-fake-loc and compilation-forget-errors.
1865         (prolog-consult-compile-region): Use bolp.
1867 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1869         * image-mode.el (image-display-size): Doc fix (Bug#7820).
1871 2011-01-27  Sam Steingold  <sds@gnu.org>
1873         * midnight.el (clean-buffer-list-kill-never-buffer-names):
1874         Remove "*server*" which is never created by emacs server.
1876 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1878         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1879         there are some diff switches.
1881 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1883         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1884         Copy change made to ruby-font-lock-syntactic-keywords.
1886         * htmlfontify.el: Make it obey the font-lock-face text property.
1887         Miscellaneous cleanup such as:
1888         - Don't hide expressions after a closing paren.
1889         - Move initial setq into let.
1890         - Hoist common parts out of ifs.
1891         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1892         (hfy-face-at): Use get-text-property instead.
1893         (hfy-prop-invisible-p): Use invisible-p if available.
1894         (htmlfontify-manual): Use \\[...].
1895         (hfy-html-quote-regex): Use [...].
1896         (hfy-combined-face-spec): Simplify.
1897         (hfy-compile-face-map): Don't presume point-min==1.
1898         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1899         match end of string.
1900         (hfy-text-p): η-reduce.
1901         (hfy-tags-for-file): Receive cache-hash directly.
1902         (hfy-mark-tag-names): Adjust call.
1904 2011-01-27  Glenn Morris  <rgm@gnu.org>
1906         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1907         (msb-after-load-hook): Remove eval-after-load wackiness.
1909 2011-01-25  Sam Steingold  <sds@gnu.org>
1911         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1912         literal "diff" (important for windows-nt).
1914 2011-01-25  Glenn Morris  <rgm@gnu.org>
1916         * emacs-lisp/copyright.el (copyright-at-end-flag)
1917         (copyright-names-regexp): Add safety properties.
1918         (copyright-year-ranges): New option.
1919         (copyright-find-end): New function, split from copyright-update-year.
1920         (copyright-update-year): Use copyright-find-end.
1921         (copyright-fix-years): Optionally, convert years to ranges.
1922         Handle years continued over comment lines.
1923         Do not mess with the fill-prefix.
1924         Do not call copyright-update.
1925         (copyright-update-directory): Optionally, fix years rather than update.
1926         Skip directories.  Find files with only safe local vars.
1928 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1930         * files.el (file-name-non-special): Only change buffer-file-name after
1931         insert-file-contents if it's `visit'ing the file (bug#7854).
1933 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
1935         * dired.el (dired-revert): Doc fix (Bug#7758).
1937         * simple.el (line-move-visual): Doc fix (Bug#7594).
1939 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1941         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1942         here-doc which ends with an underscore.
1943         (ruby-mode-set-encoding): Skip shebang line always.
1944         (ruby-mode-map): Bind C-c C-c to comment-region.
1945         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1946         (ruby-forward-sexp): Stop after literal hash key labels.
1947         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1948         bracket.
1950 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
1952         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1953         the correct buffer (Bug#7650).
1955 2011-01-25  Glenn Morris  <rgm@gnu.org>
1957         * comint.el (comint-mode): Doc fix.  (Bug#7897)
1959         * simple.el (do-auto-fill): Give it a doc string.
1961         * button.el (make-text-button): Doc fix.  (See bug#7881)
1963 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1965         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1966         Don't move backward, so as not to fall in an inf-loop (bug#7736).
1968         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1969         Handle ?" and friends differently (e.g. don't use backrefs).
1971 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
1973         * calc/calc.el (calc-default-power-reference-level)
1974         (calc-default-field-reference-level): New variables.
1975         * calc/calc-units.el (math-standard-units): Add dB and Np.
1976         (math-logunits): New variable.
1977         (math-extract-logunits, math-logcombine, calcFunc-luplus)
1978         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1979         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1980         New functions.
1981         (math-find-base-units-rec): Add entry for ln(10).
1982         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1983         (calc-ul-prefix-help): New function.
1984         * calc/calc-ext.el (calc-init-extensions): Autoload new units
1985         functions.  Add keybindings for new units functions.
1987 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
1989         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1990         rcirc buffers.  (Bug#4940)
1992 2011-01-22  Glenn Morris  <rgm@gnu.org>
1994         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1995         split out from copyright-update-year.
1996         (copyright-update): Don't mess with the GPL version if we don't own the
1997         copyright.  Update license regexp, and remove no longer needed
1998         Esperanto stuff.
1999         (copyright-fix-years): Use copyright-find-copyright.
2001 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2003         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2005 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
2007         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2008         (lm): Rename to landmark.
2009         (lm-test-run): Rename to landmark-test-run.
2011 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2013         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2014         "Case sensitive" menu item.
2016 2011-01-22  Roland McGrath  <roland@frob.com>
2018         * comint.el (comint-replace-by-expanded-history-before-point): Fix
2019         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2021 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2023         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2025 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
2027         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2028         Assume foo(bar) is a manpage reference rather than some unquoted
2029         symbol (bug#7705).
2031 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2033         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2034         Suggested by Flo <sensorflo@gmail.com>.
2036 2011-01-22  Glenn Morris  <rgm@gnu.org>
2038         * progmodes/compile.el (compilation-error-regexp-alist):
2039         Fix custom type.  (Bug#7812)
2041 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
2043         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2044         allout-number-siblings, in keeping with what obtained due to
2045         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
2046         (prefixed) ?i.
2047         (allout-before-change-handler): Better expose spots affected by
2048         undo.
2050 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2052         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2054 2011-01-22  Phil Hagelberg  <phil@evri.com>
2056         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2057         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2058         (pcmpl-ssh-config-hosts): New function.
2059         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2060         pcmpl-ssh-known-hosts.
2062 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
2064         * calc/calc-undo.el (calc-undo): Autoload it.
2065         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2066         and autoload for `calc-undo'.
2067         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2068         * calc/calc-prog.el:
2069         * calc/calc-graph.el:
2070         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2072 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
2074         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2075         keybindings to `calc-undo'.
2077 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2079         Don't mess with *temp*.
2080         * obsolete/spell.el: Move from textmodes/spell.el.
2081         (spell-string):
2082         * term.el (term-read-input-ring):
2083         * startup.el (display-startup-echo-area-message):
2084         * progmodes/antlr-mode.el (antlr-directory-dependencies):
2085         * comint.el (comint-read-input-ring): Use with-temp-buffer.
2086         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2087         point-min==1.
2089 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
2091         * allout.el (allout-institute-keymap): Use fset instead of
2092         reapplying defalias.
2094         (allout-hotspot-key-handler): Check for non-control-modified
2095         bindings for hotspot characters if there are no control-modified
2096         versions.
2098         * allout.el: Summary - migrate to defining allout mode using
2099         define-minor-mode instead of defun.  Significantly clean-up
2100         internal keymap provisions, refactoring and, in the process,
2101         removing a lot of accumulated cruft.
2103         allout-mode-map is now a keymap by virtue of being a defalias to
2104         allout-mode-map-value, which contains the actual keymap structure.
2106         (allout-mode): Use define-minor-mode rather than defun.
2107         Remove now-unnecessary minor-mode setup activities from the body.
2108         Specify :keymap as allout-mode-map so the minor-mode-map-alist
2109         entry will be '(allout-mode . allout-mode-map) - see
2110         allout-mode-map-value, below.  Adjust docstring to track changes.
2111         (allout-minor-mode): Remove this defalias, now that we're using
2112         define-minor-mode.
2113         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
2114         keymap is allout-mode-map-value, via defalias.
2115         (allout-mode-map-value): The variable holding the actual mode
2116         keymap structure, by virtue of defalias from allout-mode-map.
2117         (allout-compose-and-institute-keymap): Rename from
2118         allout-bind-keys, and including the binding-composition
2119         functionality of the former produce-allout-mode-map and
2120         allout-setup-mode-map.
2121         (allout-institute-keymap): Take over the "setup" part of the former
2122         allout-setup-mode-map.  Reassign allout-mode-map-value value and
2123         update the defalias.
2124         (allout-command-prefix, allout-prefixed-keybindings)
2125         (allout-unprefixed-keybindings):
2126         Use allout-compose-and-institute-keymap to process the bindings.
2127         (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2128         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2129         user can customize if they want to use that binding.
2130         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2131         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
2132         elided that, previously, instead of the one for \C-h.)
2133         (allout-hotspot-key-handler): Remove attempt to resolve the key
2134         through the literal key-string lookup on allout-keybindings-list.
2135         That probably hasn't worked for a Long Time, and removal of
2136         allout-keybindings-list further simplifies the keybindings situation.
2137         (allout-pre-command-business): Use allout-mode-map-value instead
2138         of allout-mode-map.
2139         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
2140         the bindings if they want to use a keybinding having a trailing
2141         \C-h.  No deprecation needed since this feature was never in a release.
2142         (allout-keybindings-list): Remove.  It's not been useful for a
2143         while.  (See allout-hotspot-key-handler changes, above.)
2144         (produce-allout-mode-map): Remove.  Consolidate into
2145         allout-compose-and-institute-keymap.
2146         (allout-mode-map-adjustments): Remove.  No longer necessary with
2147         removal of allout-preempt-trailing-ctrl-h.
2148         (allout-setup-mode-map): Remove.  Consolidate into
2149         allout-compose-and-institute-keymap and allout-institute-keymap.
2151 2011-01-20  Glenn Morris  <rgm@gnu.org>
2153         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2155         * simple.el (read-expression-history): Remove, it's in minibuf.c.
2157 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
2159         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2161         * files.el (find-alternate-file, basic-save-buffer)
2162         (basic-save-buffer-2, revert-buffer, recover-file)
2163         (kill-buffer-ask, abort-if-file-too-large)
2164         (set-visited-file-name, write-file, backup-buffer)
2165         (basic-save-buffer, save-some-buffers):
2166         * dired-aux.el (dired-compress-file): Callers changed.
2168 2011-01-19  Glenn Morris  <rgm@gnu.org>
2170         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2171         Also check the property status.  (Bug#7861)
2173 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
2175         * net/tramp.el (tramp-debug-message): Extend function exclude
2176         list.  Use `regexp-opt'.
2178 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2180         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2181         highlighting doesn't spill over subsequent lines.
2183         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2184         keymap expression.  Improve docstring.
2186         * electric.el (electric-indent-post-self-insert-function):
2187         Don't auto-indent for indent-to-left-margin, it's too often
2188         counter-productive.
2190 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
2192         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2193         spaces if the frame was resized, so that the full visible buffer
2194         serves as canvas for strokes.
2196 2011-01-16  Glenn Morris  <rgm@gnu.org>
2198         * info-xref.el (info-xref-docstrings): Replace cl function.
2199         Also skip directories.
2201 2011-01-16  Kevin Ryde  <user42@zip.com.au>
2203         * info-xref.el: Version 3.
2204         (info-xref-check, info-xref-check-all): Move commentary details
2205         into docstrings for better visibility.
2206         Use compilation-mode for the results buffer.
2207         (info-xref-output, info-xref-output-error, info-xref-with-output)
2208         (info-xref-filename, info-xref-in-progress):
2209         New internals for this.
2210         (info-xref-check-list, info-xref-check-buffer)
2211         (info-xref-check-all-custom): Use those.
2212         (info-xref-output-buffer): Rename from info-xref-results-buffer.
2213         (info-xref-output-heading): Rename from info-xref-filename-heading.
2214         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2215         (info-xref-filename-heading): Move to output managing section.
2216         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2217         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2218         (info-xref-subfile-p): Move to generic section with those two.
2219         (info-xref-check-node): New function split from
2220         info-xref-check-buffer, shared by info-xref-docstrings.
2221         (info-xref-goto-node-p): Move to a checking section with that func.
2222         (info-xref-unavail): New counter.
2223         (info-xref-check-node): Use it.
2224         (info-xref-with-output): Show count of unavailables at end of output.
2225         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
2226         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
2227         (info-xref-check-all-custom): Fix quietening viper-mode and
2228         gnus-registry-install -- use setq not let so as not to unbind
2229         after load.
2231 2011-01-16  Juri Linkov  <juri@jurta.org>
2233         * isearch.el (isearch-abort): Don't quit if search has
2234         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
2236 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
2238         * files.el (backup-buffer): Make last-resort backup file in
2239         .emacs.d (Bug#6953).
2241         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2242         make it with permission 700.
2244 2011-01-15  Kenichi Handa  <handa@m17n.org>
2246         * mail/rmailmm.el (rmail-mime-insert-header):
2247         Set rmail-mime-coding-system to a cons whose car is the last coding
2248         system used to decode the header.
2249         (rmail-mime-find-header-encoding): New function.
2250         (rmail-mime-insert-decoded-text):
2251         Override rmail-mime-coding-system if it is a cons.
2252         (rmail-show-mime): If only a header part was decoded, find the
2253         coding system while ignoring mm-charset-override-alist.
2255 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
2257         * subr.el (event-start, event-end): Doc fix (Bug#7826).
2259 2011-01-15  Kenichi Handa  <handa@m17n.org>
2261         * mail/rmailmm.el (rmail-mime-next-item)
2262         (rmail-mime-previous-item): Delete them.
2263         (rmail-mime-shown-mode): Recursively call for children.
2264         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2265         Callers changed.
2266         (rmail-mime-raw-mode): Recursively call for children.
2267         (rmail-mode-map): Change mapping of tab and backtab to
2268         forward-button and backward-button respectively.
2269         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2270         button.
2271         (rmail-mime-update-tagline): New function.
2272         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2273         body display is changed.
2274         (rmail-mime-toggle-button): Rename from rmail-mime-image.
2275         (rmail-mime-image): Delete this button type.
2276         (rmail-mime-toggle): New button type.
2277         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2278         body display is changed.  Change the save button label to "Save".
2279         Don't process show/hide button here.
2280         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2281         the body display is changed.  Unconditionally call
2282         rmail-mime-insert for children.
2283         (rmail-mime-handle): Update `display' vector of the just inserted
2284         entity.
2285         (rmail-mime-process): If mail-header-parse-content-type returns
2286         nil, use "text/plain" as the fallback type.
2287         (rmail-mime-insert): For raw-mode, recursively call
2288         rmail-mim-insert for children.
2289         (rmail-mime): Handle the case that the current buffer is not rmail
2290         buffer (e.g. in summary buffer).
2292 2011-01-15  Kenichi Handa  <handa@m17n.org>
2294         * mail/rmailmm.el (rmail-mime-next-item)
2295         (rmail-mime-previous-item): Skip the body of a non-multipart
2296         entity if a tagline is shown.
2298 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2300         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2301         (tmm-prompt): Simplify.
2302         (tmm-add-prompt): Remove unused var `win'.
2304         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2305         to minor mode which used nil accidentally to mean "turn off".
2307 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2309         * net/tramp-sh.el (tramp-find-inline-compress)
2310         (tramp-get-inline-coding): Quote command after pipe symbol for
2311         local calls under W32.  (Bug#6784)
2313 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2315         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2316         only when running under W32.
2318 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2320         * progmodes/grep.el (grep-compute-defaults): Quote the program
2321         file name after the pipe symbol in Grep templates.  (Bug#6784)
2322         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2324 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
2326         * buff-menu.el (Buffer-menu-buffer-list): New var.
2327         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2328         restricted buffer list is not lost on revert (Bug#7749).
2330 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
2332         * net/ldap.el (ldap-search-internal): Discard stderr output.
2334 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2336         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
2338 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2340         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2342 2011-01-15  Kenichi Handa  <handa@m17n.org>
2344         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2345         part as a plain text.
2346         (rmail-mime-process-multipart): Set the default content-type to
2347         nil for unknown multipart subtypes (bug#7651).
2349 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2351         * hexl.el (hexl-mode-old-*): Remove.
2352         (hexl-mode--old-var-vals): New var to replace them.
2353         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2354         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2355         Use them to set local vars (bug#7846).
2356         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2357         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2358         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2360         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2361         (smerge-resolve--normalize-re): New var.
2362         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2363         (smerge-resolve): Use them.
2364         * newcomment.el (comment-only-p): New function.
2365         (comment-or-uncomment-region): Use it.
2367 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
2369         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2370         table, get the value before switching to the output buffer.  (Bug#7733)
2372 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2374         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2376 2011-01-14  Kim F. Storm  <storm@cua.dk>
2378         * emulation/cua-base.el (cua--init-keymaps):
2379         Remap exchange-point-and-mark in cua-global-keymap.
2381 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
2383         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2384         loop keyword.
2386 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2388         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2389         Require CL.
2390         (easy-menu-create-menu, easy-menu-convert-item-1):
2391         Use :label rather than nil for labels.  Use `case'.
2392         Add :enable as alias for :active.
2393         (easy-menu-binding): Obey :label.
2395 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2397         Use run-mode-hooks for major mode hooks (bug#513).
2398         * textmodes/reftex-toc.el (reftex-toc-mode-map):
2399         Rename from reftex-toc-map.
2400         (reftex-toc-mode): Use define-derived-mode.
2401         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2402         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2403         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
2404         (reftex-select-label-mode, reftex-select-bib-mode):
2405         Use define-derived-mode.
2406         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2407         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2408         Move init into delcaration.
2409         (reftex-index-mode, reftex-index-phrases-mode):
2410         Use define-derived-mode.
2411         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2412         speedbar-syntax-table.  Move init into declaration.
2413         (speedbar-mode-map): Rename from speedbar-key-map.
2414         Move init into declaration.
2415         (speedbar-file-key-map): Move init into declaration.
2416         (speedbar-mode): Use define-derived-mode.
2417         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2418         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2419         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2420         (chart-face-list): Move initialization into declaration.
2421         (chart-mode): Use define-derived-mode.
2422         * calculator.el (calculator-mode-map): Move init into declaration.
2423         (calculator-mode): Use define-derived-mode.
2425         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2426         work for nested comments.
2428         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
2429         (prolog-use-prolog-tokenizer-flag): Change default when
2430         syntax-propertize can be used.
2431         (prolog-syntax-propertize-function): New var.
2432         (prolog-mode-variables): Move make-local-variable into `set'.
2433         Don't make comment-column local since we don't set it.
2434         Set comment-add (as it was in previous prolog.el).  Use dolist.
2435         Set syntax-propertize-function.
2436         (prolog-mode, prolog-inferior-mode):
2437         Call prolog(-inferior)-menu directly, not through the mode-hook.
2438         (prolog-buffer-module, prolog-indent-level)
2439         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2440         (prolog-comment-limits, prolog-goto-comment-column):
2441         Use line-(end|beginning)-position.
2442         (prolog-build-prolog-command): Tighten up regexp.
2443         (prolog-consult-compile): Move make-local-variable into `set'.
2444         (prolog-consult-compile-filter, prolog-goto-next-paren)
2445         (prolog-help-on-predicate, prolog-clause-info)
2446         (prolog-mark-predicate): Don't let+setq.
2447         (prolog-indent-line): Use indent-line-to.
2448         Only call prolog-goto-comment-column if necessary.
2449         (prolog-indent-level): Use bobp.
2450         (prolog-first-pos-on-line): Remove, not used any more.
2451         (prolog-in-string-or-comment): Use syntax-ppss if available.
2452         (prolog-help-on-predicate): Use read-string.
2453         (prolog-goto-predicate-info): Simplify.
2454         (prolog-read-predicate): Use `default' rather than `initial'.
2455         (prolog-temporary-file): Use make-temp-file to close a security hole.
2456         (prolog-toggle-sicstus-sd): New command.
2457         (prolog-electric-underscore, prolog-variables-to-anonymous):
2458         Use dynamic-scoping as it was meant.
2459         (prolog-menu): Move menu definitions to top-level.
2460         Use a toggle-button for Sicstus's source debugger.
2461         Change "Code" to the more usual "Prolog", and hence change "Prolog"
2462         to "System".
2463         (prolog-inferior-menu): Reuse prolog-menu's help menu.
2464         Move other menu definition to top-level.
2466 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2468         * doc-view.el (doc-view-open-text): Use meaningful text buffer
2469         name.  Keep original document's directory as default-directory
2470         (bug#6446).
2471         (doc-view-initiate-display): Fall back to normal mode when
2472         doc-view-mode cannot be enabled, also when extracting the document
2473         text into a separate buffer (bug#6446).
2475         * simple.el (shell-command): Don't error out if shell command
2476         buffer contains text with non-nil read-only property when erasing
2477         the buffer.
2479 2011-01-13  Kim F. Storm  <storm@cua.dk>
2481         * ido.el (ido-may-cache-directory): Move "too-big" check later.
2482         (ido-next-match, ido-prev-match): Fix stray reordering of matching
2483         items when cycling through the matches.
2485 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2487         * dired-x.el (dired-omit-verbose): New defcustom that allows
2488         disabling the omit messages.
2489         (dired-omit-expunge): Use it.
2491 2011-01-13  Christian Ohler  <ohler@gnu.org>
2493         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2495 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2497         * font-lock.el (font-lock-verbose): Default to nil.
2499 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2501         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2502         (compose-mail): New arg RETURN-ACTION.
2503         (compose-mail-other-window, compose-mail-other-frame): Likewise.
2505         * mail/sendmail.el (mail-return-action): New var.
2506         (mail-mode): Make it buffer-local.
2507         (mail-bury): Obey it.  Move special Rmail window handling to
2508         rmail-mail-return.
2509         (mail, mail-setup): New arg RETURN-ACTION.
2510         (sendmail-user-agent-compose): Move from simple.el.
2512         * mail/rmail.el (rmail-mail-return): New function.
2513         (rmail-start-mail): Pass it to compose-mail.
2515 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
2517         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2518         menus.  Add menu item for customize-themes.
2520         * cus-theme.el (customize-themes):
2521         * emacs-lisp/package.el (package--list-packages):
2522         Use switch-to-buffer.
2524 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
2526         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2528 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2530         * progmodes/prolog.el: Fix up coding convention and such.
2531         (prolog-indent-width): Use the same default as in
2532         previous prolog.el rather than tab-width which depends on which buffer
2533         is current when the file is loaded.
2534         (prolog-electric-newline-flag): Only enable if electric-indent-mode
2535         is not available.
2536         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
2537         (prolog-known-systems): Remove.
2538         (prolog-mode-syntax-table, prolog-inferior-mode-map):
2539         Move initialization into declaration.
2540         (prolog-mode-map): Move initialization into declaration.
2541         Remove system-specific mode-map vars, since they referred to the same
2542         keymap anyway.
2543         (prolog-mode-variables): Obey the user's preference w.r.t
2544         adaptive-fill-mode.  Prefer symbol-value to `eval'.
2545         (prolog-mode-keybindings-edit): Add compatibility bindings.
2546         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
2547         (mercury-mode-map): New var.
2548         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2549         (prolog-ensure-process, prolog-process-insert-string)
2550         (prolog-consult-compile): Use with-current-buffer.
2551         (prolog-guess-fill-prefix): Simplify data flow.
2552         (prolog-replace-in-string): New function to use instead of
2553         replace-in-string.
2554         (prolog-enable-sicstus-sd): Don't abuse `eval'.
2555         (prolog-uncomment-region): Use `uncomment-region' when available.
2556         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2557         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2558         of int-to-char and char-to-int.
2559         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2561 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
2563         * progmodes/prolog.el: Replace by a whole new file.
2565 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2567         * subr.el (eval-after-load): Fix timing for features (bug#7769).
2568         (declare-function, undefined, insert-for-yank)
2569         (replace-regexp-in-string): Follow checkdoc's recommendations.
2571 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2573         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2574         refreshing the diary buffer.
2576 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
2578         * allout.el: Add 2011 to the file copyright.
2579         (allout-encrypt-string): Prevent encryption from adding an extra
2580         newline at the end of the topic body.
2581         (allout-version): Increment to 2.3.
2583 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
2585         * net/dbus.el (dbus-unregister-service): Complete doc.
2586         Fix call of dbus-error signal.
2587         (dbus-register-property): Use `dont-register' keyword.
2589 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2591         * net/dbus.el (dbus-unregister-service): Translate returned
2592         integer into a symbol.
2593         (dbus-register-property): Use `dbus-register-service' to do the
2594         name registration.
2596 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2598         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2599         Suggested by Joakim Verona.
2601         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2603         * wid-edit.el (visibility): Replace :on-image and :off-image
2604         widget properties with :on-glyph and :off-glyph, for consistency
2605         with the `visibility' widget.
2606         (widget-toggle-value-create, widget-visibility-value-create):
2607         Merge into a single function `widget-toggle-value-create'.
2609         * cus-edit.el (custom-variable-value-create, custom-visibility)
2610         (custom-face-edit-value-create, custom-face-value-create):
2611         Replace :on-image and :off-image widget properties with :on-glyph and
2612         :off-glyph, for consistency with the `visibility' widget.
2614 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
2616         * net/ldap.el (ldap-search-internal): Don't use eval.
2618 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2620         * subr.el (read-char-choice): Use read-key.
2622         * custom.el (custom-safe-themes): Rename from
2623         custom-safe-theme-files.  Add :risky tag.
2624         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2625         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
2627 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2629         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
2630         from Search and add a label to Undo.
2632         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2633         inappropriate buttons and adding :vert-only tags.
2635         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2636         removal of Help tool-bar button.  Remove Undo button for space.
2638         * info.el (info-tool-bar-map): Add :vert-only tags.
2640 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
2642         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2643         image backend support.  Either of them is fine.
2645 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
2647         * subr.el (y-or-n-p): Doc fix.
2649         * custom.el (custom-safe-theme-files): New defcustom.
2650         (custom-theme-load-confirm): New function.
2651         (load-theme): Load theme using `load', confirming with
2652         custom-theme-load-confirm if necessary.
2654         * subr.el (read-char-choice): New function, factored out from
2655         dired-query and hack-local-variables-confirm.
2657         * dired-aux.el (dired-query):
2658         * files.el (hack-local-variables-confirm): Use it.
2660         * dired-aux.el (dired-compress-file):
2661         * files.el (abort-if-file-too-large, find-alternate-file)
2662         (set-visited-file-name, write-file, backup-buffer)
2663         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2664         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2665         Use new format string args for y-or-n-p and yes-or-no-p.
2667 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
2669         * progmodes/compile.el (compilation-error-regexp-alist-alist)
2670         [gcc-include]: Tighten file name match, add match for column
2671         number.  (Bug#7806)
2672         [gnu]: Remove unused group.
2674 2011-01-08  Glenn Morris  <rgm@gnu.org>
2676         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2678         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2680 2011-01-07  Sam Steingold  <sds@gnu.org>
2682         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2683         the `explicit-shell-file-name' because that is the
2684         non-interactive shell.
2686 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
2688         * subr.el (y-or-n-p): Accept format string args.
2690 2011-01-07  Glenn Morris  <rgm@gnu.org>
2692         * Makefile.in (EMACSOPT): Add --no-site-lisp.
2694 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
2696         * allout.el (allout-back-to-current-heading): Ensure return to
2697         the visible containing topic, rather than a collapsed one.
2698         (allout-view-change-hook): Remove hook that was deprecated long ago.
2699         (allout-exposure-change-hook): Remove documentation remarks
2700         concerning removed allout-view-change-hook.
2701         (allout-flag-region): Remove invocation of and documentation
2702         remarks concerning allout-view-change-hook.
2704 2011-01-06  Glenn Morris  <rgm@gnu.org>
2706         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2707         (vc-bzr-annotate-extract-revision-at-line):
2708         Handle authors with embedded spaces.  (Bug#7792)
2710 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
2712         * doc-view.el (doc-view-image-width): New variable.
2713         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2714         backend for PNG images, and do dynamic rescaling instead of
2715         reconverting the whole doc.
2717 2011-01-05  Glenn Morris  <rgm@gnu.org>
2719         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2721 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
2723         * allout.el: Reconcile with changes in line movement behavior for
2724         long text lines that cross more than a single physical window
2725         line, ie when truncate-lines is nil.
2726         (allout-next-visible-heading): Provide for change in line-move
2727         behavior on long lines when truncate-lines is nil.  In that case,
2728         line-move can wind up on the same textual line when it moves to
2729         the next window line, and moving to the bullet position after the
2730         move yields zero advancement.  Add logic to detect and compensate
2731         for the lack of progress.
2732         (allout-current-topic-collapsed-p): move-end-of-line respect for
2733         field boundaries is different when operating with body lines
2734         shorter than window width versus ones greater than window width,
2735         which can yield false negatives in this function.  Avoid
2736         difference by applying move-end-of-line while field-text-motion is
2737         inhibited.
2739 2011-01-04  Glenn Morris  <rgm@gnu.org>
2741         * textmodes/rst.el (rst-compile-toolsets):
2742         Add pdf and s5 to option alist.
2744 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2746         * net/dbus.el (dbus-register-property): Add optional parameter
2747         dont-register-service.  Updated docstring accordingly.
2749 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2751         * textmodes/rst.el (rst-compile-pdf-preview)
2752         (rst-compile-slides-preview): Remove extra line.
2754 2011-01-04  Glenn Morris  <rgm@gnu.org>
2756         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2757         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
2758         default to `prog' without a .py extension.
2759         (rst-compile-pdf-preview, rst-compile-slides-preview):
2760         Use program names from rst-compile-toolsets, rather than hard-coding.
2761         (rst-portable-mark-active-p): Fix presumed typo.
2763 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2765         * term/w32-win.el (dynamic-library-alist): Set up correctly for
2766         libpng versions both before and after 1.4.0.  (Bug#7716)
2768 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2770         * time.el (display-time-mode): Mention display-time-interval in
2771         the doc string.  (Bug#7713)
2773 2011-01-02  Kenichi Handa  <handa@m17n.org>
2775         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2776         condition-case and return an error message string if something
2777         goes wrong.
2778         (rmail-show-mime): Adjust for the above change.  Insert the
2779         header by rmail-mime-insert-header.
2781 2011-01-02  Kenichi Handa  <handa@m17n.org>
2783         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2784         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2785         (rmail-mime-mbox-buffer)
2786         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2787         (rmail-mime-entity): Argument changed.  All codes handling an
2788         entity object are changed.
2789         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2790         the above change.
2791         (rmail-mime-entity-children, rmail-mime-entity-handler)
2792         (rmail-mime-entity-tagline): New functions.
2793         (rmail-mime-message-p): New function.
2794         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2795         (rmail-mime-entity-segment, rmail-mime-next-item)
2796         (rmail-mime-previous-item, rmail-mime-shown-mode)
2797         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2798         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2799         (rmail-mime-insert-tagline, rmail-mime-insert-header):
2800         New functions.
2801         (rmail-mime-text-handler): Call rmail-mime-insert-text.
2802         (rmail-mime-insert-decoded-text): New function.
2803         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2804         (rmail-mime-insert-image): Argument changed.  Caller changed.
2805         (rmail-mime-image): Call rmail-mime-toggle-hidden.
2806         (rmail-mime-set-bulk-data): New function.
2807         (rmail-mime-insert-bulk): Argument changed.
2808         (rmail-mime-multipart-handler): Return t.
2809         (rmail-mime-process-multipart): Argument changed.
2810         Handle "multipart/alternative" here.
2811         (rmail-mime-process): Argument changed.
2812         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2813         (rmail-mime-insert): Argument changed.  Handle raw display mode.
2814         (rmail-mime): Argument changed.  Handle toggling of raw display
2815         mode.
2816         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2817         rmail-mime-view-buffer.
2818         (rmail-insert-mime-forwarded-message): Likewise.
2819         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
2821         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2822         non-nil, handle the header in rmail-show-mime-function.
2824 2011-01-02  Leo  <sdl.web@gmail.com>
2826         * help-fns.el (describe-variable): Fix previous change.
2828 2011-01-02  Juri Linkov  <juri@jurta.org>
2830         * isearch.el (isearch-lazy-highlight-error): New variable.
2831         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2832         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
2833         to the current value of `isearch-error' (Bug#7468).
2835 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2837         * help-fns.el (describe-variable): Don't emit trailing whitespace
2838         (Bug#7511).
2840 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2842         * textmodes/rst.el (rst-compile-pdf-preview)
2843         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2845 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
2847         * emulation/edt-mapper.el: Override mapping of function keys so
2848         that the later call to read-key-sequence works.
2850 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2852         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2853         Unix EOLs.  (Bug#7589)
2855 2011-01-02  Leo  <sdl.web@gmail.com>
2857         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2858         if point is not behind eshell-last-output-end (Bug#7585).
2860 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2862         * files.el (file-local-variables-alist):
2863         Make permanent-local (bug#7767).
2865 2011-01-02  Glenn Morris  <rgm@gnu.org>
2867         * version.el (emacs-copyright): Set short copyright year to 2011.
2869 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2871         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2872         an existing temp buffer.  (Bug#7746)
2874 2011-01-02  Glenn Morris  <rgm@gnu.org>
2876         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2877         multiple addresses.  (Bug#7760)
2879 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
2881         * allout.el (allout-auto-fill): Do not infinitely recurse - use
2882         do-auto-fill if everything points back to allout-auto-fill.
2883         (allout-mode-deactivate-hook): Declare obsolete, in favor of
2884         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2886 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
2888         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2889         and "scpx".
2891 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2893         * doc-view.el (doc-view-set-doc-type): New function refactored
2894         from doc-view-mode.
2895         (doc-view-fallback-mode): New function.
2896         (doc-view-mode): Use it.
2897         (doc-view-mode-maybe): New function that checks if doc-view-mode
2898         can be used and falls back to the next best mode otherwise.
2900         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2901         DVI, OpenDocument, and MS Office files.
2903 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
2905         * emacs-lisp/rx.el (rx-syntax): Fix typo.
2907 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2909         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2910         on a copy of auto-mode-alist, because that deletes with side
2911         effects.
2913 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2915         * doc-view.el (doc-view-mode, doc-view-toggle-display):
2916         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2917         fallback instead of hard coding fundamental mode.
2919 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2921         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2922         Office) files also for searching.
2924 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2926         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2927         Office) files.  Not yet enabled via auto-mode-list.
2928         (doc-view-unoconv-program): New custom variable.
2929         (doc-view-mode-p): Handle new odf document type.
2930         (doc-view-odf->pdf): New conversion function.
2931         (doc-view-convert-current-doc): Call it for odf files.
2932         (doc-view-mode): Recognize newly supported file extensions.
2934 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
2936         * net/tramp.el (tramp-default-method-alist)
2937         (tramp-default-user-alist)
2938         (tramp-local-host-regexp, tramp-prefix-domain-format)
2939         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2941         * net/tramp-ftp.el:
2942         * net/tramp-gvfs.el:
2943         * net/tramp-gw.el:
2944         * net/tramp-imap.el:
2945         * net/tramp-sh.el:
2946         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2947         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2949 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
2951         * saveplace.el (save-place-alist-to-file): Save list sorted and
2952         pretty-printed, so that it is mergeable by line-based text merging,
2953         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2955 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
2957         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2958         (allout-mode): Argument "toggle" => "force".
2959         Refine the docstring.
2960         Remove special provisions for reactivation, besides the 'force'
2961         argument.
2962         Consolidate layout provisions coce directly into the activation
2963         condition branch, now that we've removed those provisions.
2964         (allout-unload-function): Explicitly activate the mode before
2965         deactivating, if it's initially deactivated.
2966         (allout-set-buffer-multibyte): Properly prevent byte-compiler
2967         warnings for version of function used only where
2968         set-buffer-multibyte is unavailable.
2970 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
2972         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2973         are handled by the menu-bar entries.  As before, don't use
2974         :visibile to avoid changing the tool-bar.
2976 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2978         * net/secrets.el (secrets-delete-alias): New defun.
2980 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2982         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2983         methods, otherwise ~/.ssh/config would be ignored.
2985 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2987         * emacs-lisp/rx.el: Make it a superset of sregex.
2988         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2989         of args, add `regex' alias.
2990         (rx-info): Add arg to distinguish head and standalone forms.
2991         (rx-check, rx-form): Pass the corresponding arg.
2992         (rx-**): Simplify.
2993         (rx-repeat): Make it work for any number of args.
2994         (rx-syntax): Make it accept syntax chars as is.
2995         * obsolete/sregex.el: Move from emacs-lisp/.
2996         * emacs-lisp/re-builder.el: Remove sregex support.
2997         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2999 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
3001         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3002         PRIMARY first, then the clipboard.  (Bug#7699)
3004 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3006         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3007         print-number-table.
3009 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
3011         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3012         .emacs.elc (Bug#7530).
3014         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3015         image spec (Bug#7480).
3017 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
3019         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3020         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3021         Move from lisp/.
3023 2010-12-20  Leo  <sdl.web@gmail.com>
3025         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3026         always be performed (Bug#7680).
3028 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
3030         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3031         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
3032         mouse-region-match.
3034         * color.el: Move from gnus/.
3036         * vc/diff.el (diff-better-file-name): Function deleted.
3037         abbreviating file names causes problems with shell-quote-argument.
3038         (diff-no-select): Just use expand-file-name.
3040         * tool-bar.el (tool-bar--image-expression): New function.
3041         (tool-bar-local-item, tool-bar--image-exp): Use it.
3042         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3043         Use :enable instead of :visible to avoid changing the tool-bar
3044         configuration unnecessarily.
3046         * info.el (info-tool-bar-map): Add separators.
3048 2010-12-17  Ken Brown  <kbrown@cornell.edu>
3050         * loadup.el: Use version numbers in Cygwin build.
3052 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
3054         * ido.el (ido-file-internal): Ask for confirmation before
3055         overwriting an existing file (Bug#1238).
3057 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
3059         * tool-bar.el (tool-bar-setup): Add separators.
3061         * menu-bar.el (featurep): Use menu-bar-separator.
3063 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
3065         Migrate allout encryption provisions from pgg to epg.
3067         * allout.el (allout-toggle-current-subtree-encryption)
3068         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3069         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
3070         for simpler universal argument interpretation.
3071         (allout-toggle-subtree-encryption): Adjust docstring to describe
3072         changed encryption provisions.  Change fetch-pass to keymode-cue, for
3073         simpler universal argument interpretation.  Remove provisions for
3074         handling key type and identity - they'll all be within
3075         allout-encrypt-string or epg/epg or even contained all the way in gpg.
3076         (allout-encrypt-string): Include keymode-cue, for optionally prompting
3077         for keypair recipients (universal argument > 1) and, in addition,
3078         associating the specified recipients with the outline (universal
3079         argument > 4) using a file local variable setting for
3080         'epa-file-encrypt-to'.
3081         Require epa, for recipients handling.
3082         Change how regexp filtering elements are named.
3083         Describe the problem with caching of incorrect symmetric-decryption
3084         keys.
3085         Use the epa-passphrase-callback-function, in case the user is using
3086         GnuPG v1.
3087         Support saving of the selected keypair recipients when invoked with a
3088         keymode-cue > 4.
3089         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3090         Require 'epa.
3091         Establish epg-context with armoring and default epg-protocol.
3092         Remove all passphrase cache, verification, and hinting code.
3093         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3094         No longer used, delete.
3095         (allout-mode): Adjust docstring to describe changed encryption
3096         provisions.  Describe the problem with caching of incorrect
3097         symmetric-decryption keys.
3098         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3099         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3100         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3101         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3102         Obsolete, remove.
3104 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
3106         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3107         key selection prompt; make 'silent as default (Bug#7487).
3109 2010-12-16  Leo  <sdl.web@gmail.com>
3111         * eshell/eshell.el (eshell-directory-name):
3112         Use locate-user-emacs-file (Bug#7578).
3114 2010-12-15  Glenn Morris  <rgm@gnu.org>
3116         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3118 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
3119             Scott Evans  <gse@antisleep.com>
3121         * rect.el (rectange--default-line-number-format)
3122         (rectangle-number-line-callback): New functions.
3123         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3125 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
3127         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3128         Delete unused variables.
3129         (move-to-column-force): Remove function obsolete since 21.2.
3131 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
3133         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3134         (tramp-handle-insert-file-contents): Do not set permanent-local
3135         property.
3137         * net/tramp-cache.el (tramp-persistency-file-name):
3138         Use `locate-user-emacs-file' if fboundp.
3140         * net/tramp-sh.el (tramp-methods): Add "ksu".
3141         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
3142         method list.
3144 2010-12-14  Glenn Morris  <rgm@gnu.org>
3146         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3147         (find-tag-marker-ring): Declare.
3148         (js-find-symbol): Require etags.
3150         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3151         Require mail-utils.
3152         (mail-alias-file): Don't autoload.  Doc fix.
3153         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3154         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
3155         Mark as obsolete, and risky.
3156         (mail-setup): Simplify.
3158         * mail/mailalias.el (build-mail-aliases): Make it interactive.
3159         * mail/sendmail.el (build-mail-aliases): Update autoload.
3161         * dired.el (dired-trivial-filenames, dired-chown-program)
3162         (dired-auto-revert-buffer): Remove autoload cookies.
3163         * mail/sendmail.el (mail-recover-1): Require 'dired.
3165         * dired.el (dired-subdir-switches, dired-chown-program)
3166         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3167         Make into defcustoms.
3168         (dired-chown-program): Simplify initialization.
3170         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3172 2010-12-13  Romain Francoise  <romain@orebokech.com>
3174         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3176 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3178         * net/netrc.el (netrc-point-at-eol): Remove the unused
3179         netrc-point-at-old and netrc-bound-and-true-p bindings.
3180         (netrc-parse): Cache the netrc contents.
3182 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3184         * subr.el (posn-col-row): Evaluate header-line-format in the
3185         context of the POSITION window's buffer.
3187 2010-12-13  Glenn Morris  <rgm@gnu.org>
3189         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3190         (with-silent-modifications): Doc fixes.
3192 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3194         * net/tramp.el (tramp-action-password, tramp-process-actions):
3195         Revert previous from.  Use `save-restriction'.
3197 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
3199         * calendar/diary-lib.el (diary-list-sexp-entries):
3200         Handle case of no newline at end of file.  (Bug#7536)
3202 2010-12-13  Glenn Morris  <rgm@gnu.org>
3204         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3206 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3208         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3209         (tramp-process-actions): Do not widen.
3211         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3212         Protect buffer-modified value.  (Bug#7557)
3214 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
3216         * log-edit.el (log-edit-changelog-entries):
3217         Regexp quote filename.  (Bug#7505)
3219 2010-12-13  Tom Breton  <tehom@panix.com>
3221         * cus-edit.el (custom-save-all):
3222         Bind print-length and print-level to nil.  (Bug#7581)
3224 2010-12-13  Glenn Morris  <rgm@gnu.org>
3226         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3227         Run hooks to update menu contents.  (Bug#7586)
3229         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3230         file names, for the sake of MS Windows.  (Bug#7588)
3232 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3234         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3235         empty lines without a leading space.
3237 2010-12-13  Leo  <sdl.web@gmail.com>
3239         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3240         while mapping over marks (Bug#6810).
3242 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3244         * image-dired.el (image-dired-db-file)
3245         (image-dired-temp-image-file, image-dired-gallery-dir)
3246         (image-dired-temp-rotate-image-file): Set default values relative
3247         to image-dired-dir (Bug#7518).
3249 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
3251         * format.el (format-decode-run-method): Pass args FROM and TO, not
3252         point-min and point-max, to shell-command-on-region (Bug#7488).
3254 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
3256         * frame.el (blink-cursor-mode): Make default t for ns.
3258 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3260         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3262 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3264         * comint.el (comint-dynamic-list-input-ring)
3265         (comint-dynamic-complete-filename)
3266         (comint-replace-by-expanded-filename)
3267         (comint-dynamic-simple-complete)
3268         (comint-dynamic-list-filename-completions)
3269         (comint-dynamic-list-completions): Doc fix (Bug#7499).
3271         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3272         Doc fix (Bug#7471).
3274 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
3276         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3277         (Bug#7533).
3279 2010-12-13  W. Martin Borgert  <debacle@debian.org>  (tiny change)
3281         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3282         (Bug#7491).
3284 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3286         * files.el (file-relative-name): Handle UNC file names on
3287         DOS/Windows.  (Bug#4674)
3289 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
3291         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3292         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3293         (epg-context-set-passphrase-callback): Mention that the callback
3294         is not called when used with GnuPG 2.x.
3296 2010-12-13  Glenn Morris  <rgm@gnu.org>
3298         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3299         Ensure ps-footer-font-size-internal is initialized.
3300         Call ps-get-page-dimensions before trying to use ps-font-for-text.
3302 2010-12-13  Kenichi Handa  <handa@m17n.org>
3304         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3305         within condition-case.
3306         (rmail-show-mime): Don't use condition-case.
3307         (rmail-search-mime-message): New function.
3308         (rmail-search-mime-message-function): Set to
3309         rmail-search-mime-message.
3311 2010-12-13  Leo  <sdl.web@gmail.com>
3313         * ido.el (ido-common-initialization): New function.  (bug#3274)
3314         (ido-mode): Use it.
3315         (ido-completing-read): Call it.
3317 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
3319         * bookmark.el (bookmark-name-from-full-record): Rename back to
3320         this original name from `bookmark-name-from-record' reverting part
3321         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3322         As Drew Adams pointed out, there was no reason to cause churn for
3323         third-party callers.  (Bug#7609)
3325 2010-12-12  Alan Mackenzie  <acm@muc.de>
3327         * progmodes/cc-engine.el (c-forward-type): Before scanning a
3328         template arglist, check that the current language supports this.
3330 2010-12-11  Glenn Morris  <rgm@gnu.org>
3332         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3333         state of the file matches.  (Bug#7544)
3334         (vc-bzr-register, vc-bzr-checkin)
3335         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3336         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3338         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3340 2010-12-11  Karel Klíč  <kklic@redhat.com>
3342         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
3344 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3346         Derive from prog-mode, use derived-mode-p, and fix up various
3347         minor style issues in lisp/progmodes.
3349         * progmodes/vhdl-mode.el (vhdl-mode):
3350         * progmodes/verilog-mode.el (verilog-mode):
3351         * progmodes/vera-mode.el (vera-mode):
3352         * progmodes/sql.el (sql-mode):
3353         * progmodes/scheme.el (scheme-mode):
3354         * progmodes/perl-mode.el (perl-mode):
3355         * progmodes/octave-inf.el (inferior-octave-mode):
3356         * progmodes/autoconf.el (autoconf-mode):
3357         * progmodes/m4-mode.el (m4-mode):
3358         * progmodes/inf-lisp.el (inferior-lisp-mode):
3359         * progmodes/idlwave.el (idlwave-mode):
3360         * progmodes/icon.el (icon-mode):
3361         * progmodes/idlw-help.el (idlwave-help-mode):
3362         * progmodes/dcl-mode.el (dcl-mode):
3363         * progmodes/idlw-shell.el (idlwave-shell-mode):
3364         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3365         (ebrowse-member-mode, ebrowse-electric-position-mode):
3366         Use define-derived-mode.
3368         * progmodes/xscheme.el (exit-scheme-interaction-mode)
3369         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3370         (xscheme-debugger-mode-p, xscheme-send-string-1):
3371         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3372         (tcl-load-file, tcl-restart-with-file):
3373         * progmodes/ps-mode.el (ps-run-running):
3374         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3375         * progmodes/js.el (js--get-all-known-symbols):
3376         * progmodes/inf-lisp.el (inferior-lisp-proc):
3377         * progmodes/idlwave.el (idlwave-beginning-of-statement)
3378         (idlwave-template, idlwave-update-buffer-routine-info)
3379         (idlwave-update-current-buffer-info)
3380         (idlwave-get-routine-info-from-buffers, idlwave-choose)
3381         (idlwave-scan-class-info, idlwave-fix-keywords)
3382         (idlwave-list-buffer-load-path-shadows):
3383         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3384         (idlwave-toolbar-remove):
3385         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3386         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3387         (idlwave-shell-menu-def):
3388         * progmodes/idlw-complete-structtag.el
3389         (idlwave-prepare-structure-tag-completion):
3390         * progmodes/gud.el (gud-set-buffer):
3391         * progmodes/f90.el (f90-backslash-not-special):
3392         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3394         * progmodes/xscheme.el (xscheme-start)
3395         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3396         * progmodes/which-func.el (which-function):
3397         * progmodes/vhdl-mode.el (vhdl-set-style):
3398         * progmodes/verilog-mode.el (verilog-set-compile-command)
3399         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3400         (verilog-set-define, verilog-auto-reeval-locals):
3401         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3402         * progmodes/simula.el (simula-mode):
3403         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3404         * progmodes/python.el (python-check, python-mode):
3405         * progmodes/prolog.el (prolog-mode-variables):
3406         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3407         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3408         * progmodes/delphi.el (delphi-mode):
3409         * progmodes/cc-styles.el (c-setup-paragraph-variables):
3410         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3411         (c-font-lock-init): Move make-local-variable to their setq.
3413         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3414         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3415         make-local-hook.
3416         * progmodes/sh-script.el (sh-require-final-newline): Remove.
3417         (sh-set-shell): Don't set require-final-newline since it's already done
3418         by prog-mode.
3419         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3420         since we never set it.
3421         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3422         Use read-string and standard prompt.
3423         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3424         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3425         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3426         (meta-common-mode-map): Rename from meta-mode-map.
3427         Remove C-m binding, which is a user preference, not mode specific.
3428         (meta-common-mode): New major mode; replace meta-common-initialization.
3429         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3430         around with font-lock.
3431         * progmodes/etags.el (select-tags-table-mode):
3432         Derive from special-mode.
3433         * progmodes/octave-mod.el (octave-mode):
3434         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3435         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3436         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3437         Let define-derived-mode do its job.
3438         * progmodes/cpp.el (cpp-edit-mode-map):
3439         Move initialization into declaration.
3440         (cpp-edit-mode): Use define-derived-mode.
3441         (cpp-edit-load): Use derived-mode-p.
3442         * progmodes/mixal-mode.el (mixal-mode):
3443         * progmodes/f90.el (f90-mode):
3444         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3445         require-final-newline since prog-mode does it already.
3446         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3447         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3448         * progmodes/antlr-mode.el: Require cc-mode upfront.
3449         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3450         the declaration.
3451         (antlr-directory-dependencies, antlr-show-makefile-rules):
3452         Use derived-mode-p.
3453         (antlr-language-option): Don't assume point-min==1.
3454         (antlr-mode): Use define-derived-mode.
3455         * progmodes/ada-mode.el: Use derived-mode-p.
3456         (ada-mode): Use define-derived-mode.
3457         Use hack-local-variables-hook.
3459 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3461         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3462         (texinfo-mode): Don't disable adaptive-fill-mode.
3463         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3464         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3465         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3466         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3467         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3468         (texinfo-insert-@quotation, texinfo-insert-@samp)
3469         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3470         (texinfo-insert-@uref): Use define-skeleton.
3471         (texinfo-insert-@-with-arg): Delete.
3473 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
3475         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3476         nil, do quote archive member names.  (Bug#6144)
3478 2010-12-10  Glenn Morris  <rgm@gnu.org>
3480         * files.el (diff-no-select): Declare.
3482         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3483         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3485         * comint.el (comint-input-ring-file-name): Doc fix.
3487 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
3489         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3490         New functions.
3491         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3492         Use them instead of `nil' and `>', respectively.
3493         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3494         instead of `nil'.
3495         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3496         and menu-bar-positive-p instead of `nil' and `>', respectively.
3497         (Bug#1077)
3499 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3501         * whitespace.el (whitespace-newline-mode): Code fix.
3503 2010-12-09  Glenn Morris  <rgm@gnu.org>
3505         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3506         Rename functions without commas, update callers.
3508 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
3510         * whitespace.el (whitespace-cleanup-region):
3511         Clean up spaces before tabs.  (Bug#7582)
3513 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
3515         * bookmark.el: Adjust parameter names and doc strings to resolve
3516         confusion over whether "bookmark" meant a bookmark name or a
3517         bookmark record.  Along the way, shorten one function's name for
3518         similar reasons.  (Issue #7548)
3519         (bookmark-name-from-record): New name for
3520         `bookmark-name-from-full-record'.  All callers changed.
3521         (bookmark-get-bookmark, bookmark-get-bookmark-record)
3522         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3523         (bookmark-get-annotation, bookmark-set-annotation)
3524         (bookmark-get-filename, bookmark-set-filename)
3525         (bookmark-get-position, bookmark-set-position)
3526         (bookmark-get-front-context-string, bookmark-set-front-context-string)
3527         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3528         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3529         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3530         Rename `bookmark' parameter to `bookmark-name-or-record', to
3531         clearly show its role, and shorten or adjust doc strings accordingly.
3532         (bookmark-set-name): Same, and pass the parameter directly to
3533         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3534         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3535         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3536         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3537         and in some cases shorten doc string accordingly.
3538         (bookmark-rename): Change `old' and `new' parameters to `old-name'
3539         and `new-name', and adjust an internal variable to avoid confusion.
3540         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3541         parameter in doc string.
3543 2010-12-08  Glenn Morris  <rgm@gnu.org>
3545         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3546         from gdb's history file.  (Bug#7575)
3548         * mail/emacsbug.el (report-emacs-bug):
3549         Try to handle some other mail clients.
3551 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3553         * files.el (dir-locals-collect-variables): Don't let errors stop us.
3554         Use string-prefix-p.
3555         (file-name-version-regexp): New var.
3556         (file-name-sans-versions):
3557         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3558         (jka-compr-get-compression-info): Use dolist.
3559         (jka-compr-compression-info-list): Don't bother specifying
3560         version/backup regexps.
3562 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
3564         * simple.el (just-one-space): Make argument n default to 1 if
3565         omitted.
3567 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3569         * electric.el (electric-indent-post-self-insert-function):
3570         Delete trailing newlines even if we don't reindent.
3572 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3574         * minibuffer.el (completion-at-point): Remove the `arg'.
3575         * bindings.el (complete-symbol): Move back from minibuffer.el.
3577 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3579         * simple.el (just-one-space): Delete newlines for negative arg.
3581 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3583         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3584         (ansi-color-filter-apply): Simplify.
3585         (ansi-color-apply): Use `font-lock-face' rather than `face'.
3587 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3589         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3591 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
3593         * dired.el (dired-use-ls-dired): Set default to a special
3594         "unspecified" value.
3595         (dired-insert-directory): When called the first time, check
3596         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3598 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
3600         * replace.el: Add "collect" feature to occur.
3601         (occur-collect-regexp-history): New var.
3602         (occur-read-primary-args): Return a replace string for nlines,
3603         if needed.
3604         (occur): Extend the meaning of nlines.
3606 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3608         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3609         (which-func-update-1): Distinguish symbols from strings.
3610         (which-function): Stay within 80 columns.
3612 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3614         * subr.el (with-demoted-errors): Distinguish symbols from strings.
3616         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3617         Improve docstring.
3618         (comment-style): Use comment-styles's docs to describe values.
3620 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
3622         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3623         and ns-show-prefs (Bug#7535).
3625         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3626         bindings (Bug#7535).
3628 2010-12-03  Glenn Morris  <rgm@gnu.org>
3630         * nxml/nxml-mode.el: Require rng-nxml.
3631         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3632         Remove declarations.
3634         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3635         * nxml/rng-nxml.el, nxml/rng-valid.el:
3636         Remove leading `*' from defcustom docs.
3638         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3639         (normal-top-level-add-to-load-path, tty-handle-args):
3640         Convert comments to basic doc-strings.
3642         * net/browse-url.el (browse-url-url-at-point)
3643         (browse-url-default-browser): Remove autoload cookies.
3645         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3646         Remove more undefined cl functions.
3648         * vc/diff.el (diff-sentinel): Make new arguments optional.
3649         * ibuf-ext.el (diff-sentinel): Update declaration.
3651 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
3653         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3654         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3655         (epg-context-set-passphrase-callback): Mention that the callback
3656         is not called when used with GnuPG 2.x.
3658 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
3660         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3661         (tramp-file-name-port): Check also for `tramp-default-port'.
3662         (tramp-get-connection-name): New defun.
3663         (tramp-get-connection-process): Use it.
3664         (tramp-debug-message): Extend function exclude list.
3665         (tramp-drop-volume-letter): Fix doc string.
3667         * net/tramp-cmds.el: Remove solved todo item.
3669         * net/tramp-ftp.el:
3670         * net/tramp-gvfs.el:
3671         * net/tramp-gw.el:
3672         * net/tramp-imap.el:
3673         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3674         and `tramp-default-user-alist', respectively.
3676         * net/tramp-gw.el (tramp-gw-open-connection):
3677         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3679         * net/tramp-imap.el (tramp-imap-make-iht): Use just
3680         `tramp-file-name-port'.
3682         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3683         and "psftp".  Exchange "%k" marker with options.
3684         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3685         Compute size of link target.
3686         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3687         `tramp-current-*' up due to gateway methods.  Optimize computing of
3688         copy arguments.  Use `tramp-get-connection-name' and
3689         `tramp-get-connection-buffer'.  Improve debug messages.
3690         (tramp-compute-multi-hops): Remove port determination.
3691         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3693         * net/trampver.el: Update release number.
3695 2010-12-02  Glenn Morris  <rgm@gnu.org>
3697         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3698         Avoid infinite loop over windows.  (Bug#7492)
3700         * progmodes/flymake.el (flymake-check-file-limit):
3701         Allow nil to mean "no limit".
3702         (flymake-check-patch-master-file-buffer): Update for above change.
3703         Allow a .tex file-name extension to be optional.
3704         (flymake-master-tex-init): Also match \include statements.
3706 2010-11-30  Sam Steingold  <sds@gnu.org>
3708         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3709         (nxml-parent-document-set): A function to set `nxml-parent-document'.
3710         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3711         (nxml-mode-hook): Remove `defcustom' (auto-defined by
3712         define-derived-mode').
3713         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3714         users who want to call `nxml-parent-document-set'.
3716 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3718         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3719         stand-alone lines, since that is handled by log-edit-match-to-eoh
3720         (Bug#6465).
3722 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
3724         * dired.el (dired-get-filename): Replace backslashes with slashes
3725         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
3726         * locate.el (locate-default-make-command-line): Don't consider
3727         drive letter and root directory part of
3728         `directory-listing-before-filename-regexp'.  (Bug#7308)
3729         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3731 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3733         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3734         of :smie-open/close-alist.
3735         (smie-next-sexp): Make it accept a "start token" as argument.
3736         (smie-indent-keyword): Be careful not to misidentify tokens that span
3737         more than one line, as empty lines.  Add argument `token'.
3739 2010-11-27  Kenichi Handa  <handa@m17n.org>
3741         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3742         multipart subtypes, insert all as usual.
3744         * mail/rmail.el: Require rfc2047.
3746 2010-11-27  Kenichi Handa  <handa@m17n.org>
3748         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3749         (rmail-mime-entity-disposition)
3750         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3751         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3752         (rmail-mime-save): Handle the case that the button's `data' is a
3753         MIME entity.
3754         (rmail-mime-insert-text): New function.
3755         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3756         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3757         (rmail-mime-insert-bulk): New function mostly copied from the old
3758         rmail-mime-bulk-handler.
3759         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3760         (rmail-mime-process-multipart): New function mostly copied from
3761         the old rmail-mime-multipart-handler.
3762         (rmail-mime-show): Just call rmail-mime-process.
3763         (rmail-mime-process): New function mostly copied from the old
3764         rmail-mime-show.
3765         (rmail-mime-insert-multipart, rmail-mime-parse)
3766         (rmail-mime-insert, rmail-show-mime)
3767         (rmail-insert-mime-forwarded-message)
3768         (rmail-insert-mime-resent-message): New functions.
3769         (rmail-insert-mime-forwarded-message-function): Set to
3770         rmail-insert-mime-forwarded-message.
3771         (rmail-insert-mime-resent-message-function): Set to
3772         rmail-insert-mime-resent-message.
3774         * mail/rmailsum.el: Require rfc2047.
3775         (rmail-header-summary): Handle multiline Subject: field.
3776         (rmail-summary-line-decoder): Change the default to
3777         rfc2047-decode-string.
3779         * mail/rmail.el (rmail-enable-mime): Change the default to t.
3780         (rmail-mime-feature): Change the default to `rmailmm'.
3781         (rmail-quit): Delete the specifal code for rmail-enable-mime.
3782         (rmail-display-labels): Likewise.
3783         (rmail-show-message-1): Check rmail-enable-mime, and use
3784         rmail-show-mime-function for a MIME message.  Decode the headers
3785         according to RFC2047.
3787 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3789         * progmodes/which-func.el (which-func-imenu-joiner-function):
3790         Return a string, as expected.
3791         (which-function-mode): Make sure we stop any previous timer before
3792         starting a new one.
3794 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
3796         * net/tramp.el (tramp-default-method-alist)
3797         (tramp-default-user-alist, tramp-default-proxies-alist):
3798         Adapt custom options type.  (Bug#7445)
3800 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3802         * progmodes/python.el: Add Ipython support (Bug#5390).
3803         (python-shell-prompt-alist)
3804         (python-shell-continuation-prompt-alist): New options.
3805         (python--set-prompt-regexp): New function.
3806         (inferior-python-mode, run-python, python-shell):
3807         Require ansi-color.  Use python--set-prompt-regexp to set the comint
3808         prompt based on the Python interpreter.
3809         (python--prompt-regexp): New var.
3810         (python-check-comint-prompt)
3811         (python-comint-output-filter-function): Use it.
3812         (run-python): Use a pipe (Bug#5694).
3814 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3816         * progmodes/python.el (run-python): Doc fix.
3817         (python-keep-current-directory-in-path): New var (Bug#7454).
3819 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3821         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3822         Prompt user before actually printing.
3824 2010-11-27  Glenn Morris  <rgm@gnu.org>
3826         * startup.el (package-enable-at-startup, package-initialize):
3827         Remove unnecessary declarations.
3829 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
3831         * international/characters.el (glyphless-char-display-control):
3832         Exclude newline and TAB from the c0-control group.
3834 2010-11-27  Glenn Morris  <rgm@gnu.org>
3836         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3837         (expand-mail-aliases): Remove unnecessary autoload.
3839         * allout.el (allout-command-prefix, allout-mode-map): Declare.
3841         * shell.el (shell-dir-cookie-re): Move definition before use.
3843         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3844         Replace undefined CL functions.
3846 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
3848         * simple.el (prog-mode): Set bidi-paragraph-direction to
3849         left-to-right.
3851         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3853 2010-11-26  Glenn Morris  <rgm@gnu.org>
3855         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3856         diary-outlook-formats can be sensitive to calendar-date-style.
3857         (diary-outlook-formats): Simplify the default setting.
3858         (diary-from-outlook-internal): Pass subject and body as arguments.
3859         Use dolist rather than dotimes.  Don't save the diary buffer.
3860         (diary-from-outlook-gnus, diary-from-outlook-rmail):
3861         Pass subject and body as explicit arguments to the -internal function.
3863 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3865         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3866         parsing them.  This makes mailto:...?subject=foo\nbar work.
3868 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3870         * vc/diff.el (diff): Fix last change.
3872 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3874         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
3875         (pcase--dontcare-upats): New var.
3876         (pcase-let, pcase-let*): Generate better code.
3877         Accept the same bodies as `let'.
3878         (pcase-dolist): New macro.
3879         (pcase--trivial-upat-p): New helper function.
3880         (pcase--expand): Strip leading "(let nil" if any.
3882 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3884         * mail/mailclient.el (browse-url): Require.
3885         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3886         use the external browser function to send the mail (bug#7469).
3888         * net/browse-url.el (browse-url-browser-function): Revert the
3889         default back to the previous value, since the new value broke
3890         mailclient.el.
3891         (browse-url-mailto-function): New variable for mailto: URLs.
3892         (browse-url): Use the new variable for mailto: URLs.
3894 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3896         * eshell/esh-cmd.el (eshell-parse-command):
3897         * eshell/esh-arg.el (eshell-parse-arguments):
3898         * eshell/em-script.el (eshell-source-file):
3899         Use with-silent-modifications.
3901 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3903         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
3904         for a merge location.
3906         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3907         (vc-bzr-merge-branch): Always prompt.
3908         (vc-bzr-async-command): Use the full branch filename.
3910 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3912         * shell.el (shell): Use current-buffer by default if it's already
3913         a shell mode buffer and its process is dead.
3914         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3916 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
3918         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3919         Mention that the keywords should be comma separated.
3921 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3923         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3924         Accept optional prefix arg meaning to prompt for a command.
3925         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
3926         prefix arg meaning to prompt for a command.
3927         (vc-pull): Alias for vc-update.
3929         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3930         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3931         (vc-bzr-merge-branch): New functions, implementing merge-branch
3932         and pull operations.
3934 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3936         * Makefile.in: Fix up last merge.
3938         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3939         (diff-sentinel): Get them as arguments instead.
3940         (diff-old-file, diff-new-file, diff-extra-args): Remove.
3941         (diff-file-local-copy, diff-better-file-name): New funs.
3942         (diff-no-select): Rename from diff-into-buffer.
3943         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
3944         Prefer closures to buffer-local variables.
3945         (diff): Adjust accordingly.
3946         (diff-buffer-with-file): Move from files.el.
3947         * files.el (diff-buffer-with-file): Move to vc/diff.el.
3948         (diff-buffer-internal): Remove.
3949         (diff-buffer-buffer): Remove.
3950         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3951         the buffer name used, and so as not to mess up windows and frames.
3953 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3955         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3956         (diff-buffer-internal): New function extracted from diff-buffer-with-file
3957         (diff-buffer-with-file): Use it.
3958         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3959         (diff): Use it.
3961 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
3963         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3964         \ref's or \pageref's value as default instead of initial input.
3966 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
3968         * files.el (backup-by-copying-when-mismatch): The default value is
3969         now t.
3971         * startup.el (normal-top-level):
3972         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3973         `backup-by-copying-when-mismatch'.
3975 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3977         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3979 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3981         * progmodes/python.el (python-font-lock-keywords):
3982         Highlight top-level augmented assignments (Bug#6445).
3984 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3986         * term/ns-win.el (ns-right-control-modifier)
3987         (ns-right-command-modifier): Defvar them.
3989         * cus-start.el (all): Add ns-right-control-modifier and
3990         ns-right-command-modifier (Bug#7458).
3992 2010-11-20  Glenn Morris  <rgm@gnu.org>
3994         * emacs-lisp/authors.el (authors-ignored-files)
3995         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3997 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3999         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4000         (report-emacs-bug-parse-query-results)
4001         (report-emacs-bug-create-existing-bugs-buffer): Pass through
4002         keywords used for querying the bug database to show them in the
4003         existing bugs buffer.
4005 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
4007         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4009         * info.el (info-tool-bar-map): Add some :vert-only keywords.
4011 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
4013         * international/characters.el (glyphless-char-display-control):
4014         Make it a defcustom, with update-glyphless-char-display as its
4015         :set attribute.
4016         (top level): Don't call update-glyphless-char-display.
4018 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
4020         Sync with Tramp 2.2.0.
4022         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4023         `file-remote-p' (due to compatibility).
4025         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4026         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4028         * net/trampver.el: Update release number.
4030 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
4032         * faces.el (glyphless-char): Define value for `pc'.
4034 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
4036         Implemented a bug querying mechanism.
4037         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4038         (report-emacs-bug-create-existing-bugs-buffer)
4039         (report-emacs-bug-parse-query-results)
4040         (report-emacs-bug-query-existing-bugs): New functions.
4042 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
4044         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4045         a \ref{} or \pageref{} macro, then use its value as initial input.
4047 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
4049         * calc/calc-units.el (math-build-units-table-buffer):
4050         calc/README: Mention that the TeX specific units won't use the
4051         `tex' prefix in TeX mode.
4052         calc/calc-lang.el (math-variable-table): Don't use the `tex'
4053         prefix for units in TeX mode.
4055 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4057         * simple.el (kill-new, kill-append, kill-region):
4058         * comint.el (comint-kill-region): Make the yank-handler argument
4059         obsolete.
4061 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4063         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4064         that are both openers (resp. closers) and something else.
4065         (smie-grammar): Loosen definition of valid values.
4066         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4067         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4068         (smie-indent-after-keyword): Adjust users.
4069         (smie-indent-keyword): Don't indent empty lines.
4071         * vc-hg.el (vc-hg-program): New var.
4072         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4073         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4075 2010-11-18  Glenn Morris  <rgm@gnu.org>
4077         * emacs-lisp/autoload.el (autoload-find-destination): The function
4078         coding-system-eol-type may return non-numeric values.  (Bug#7414)
4080 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
4082         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4084 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
4086         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
4088 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
4090         * textmodes/picture.el (picture-mouse-set-point): Don't use
4091         posn-col-row; explicitly compute the motion based on the posn at
4092         the window-start (Bug#7390).
4094 2010-11-18  Glenn Morris  <rgm@gnu.org>
4096         * novice.el (disabled-command-function):
4097         Fix 2009-11-15 change.  (Bug#7384)
4099 2010-11-18  Glenn Morris  <rgm@gnu.org>
4101         * calendar/calendar.el (diary-iso-date-forms): Make elements
4102         mutually exclusive.  (Bug#7377)
4104 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4106         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4107         when filling the remaining "unconstrained" values.
4109 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4111         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4112         safety predicate.
4114         * files.el (safe-local-variable-p): Gracefully handle errors.
4116         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4117         Use smie-indent-virtual when indenting relative to an opener.
4118         (smie-rule-separator): Use smie-rule-parent.
4119         (smie-indent-keyword): Consult rules, even for openers at bol.
4120         (smie-indent-comment-close): Try to align closer's content.
4122 2010-11-18  Glenn Morris  <rgm@gnu.org>
4124         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4126 2010-11-18  Glenn Morris  <rgm@gnu.org>
4128         * printing.el (pr-menu-bind): Doc fix.
4130         * speedbar.el (speedbar-toggle-images): Doc fix.
4132         * progmodes/python.el (python-shell): Doc fix.
4134         * wid-edit.el (widget-field-use-before-change)
4135         (widget-use-overlay-change): Doc fixes.
4137 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4139         Minor cleanup to improve style.
4140         * textmodes/rst.el (rst-update-section): Use point-marker.
4141         (rst-get-decoration): Eliminate unneeded assignment.
4142         (rst-promote-region, rst-straighten-decorations)
4143         (rst-section-tree, rst-adjust): Use point-marker.
4144         (rst-toc-mode-mouse-goto): Avoid setq.
4145         (rst-shift-region-guts, rst-shift-region-left)
4146         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4147         (rst-convert-bullets-to-enumeration): Use copy-marker.
4149         * minibuffer.el (completion-fail-discreetly): New var.
4150         (completion--do-completion): Use it.
4152         * electric.el (electric-pair-pairs): New var.
4153         (electric-pair-post-self-insert-function): Use it.
4154         (electric-layout-post-self-insert-function): Don't insert a before
4155         newline unless it's actually needed.
4157 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4159         * progmodes/python.el (run-python): Explain why we remove the current
4160         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
4162         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4164 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4166         * progmodes/octave-mod.el: Rely on elecric-*-modes.
4167         (octave-mode-map): Don't bind ;, SPC, and LF.
4168         (octave-auto-indent, octave-auto-newline): Remove.
4169         (electric-layout-rules): Declare.
4170         (octave-mode): Set electric-layout-rules.
4171         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4172         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4173         (octave-electric-space): Remove.
4175         * electric.el (electric-layout-mode): New minor mode.
4176         (electric--after-char-pos): New function.
4177         (electric-indent-post-self-insert-function): Use it.
4178         (electric-layout-rules): New var.
4179         (electric-layout-post-self-insert-function): New function.
4180         (electric-indent-mode): Make them interact better.
4182 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4184         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4185         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4186         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4188 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
4190         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4191         Make sure to check inside the word (Bug#6761).
4193 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
4195         * startup.el (command-line): If the cursorColor resource is set,
4196         change the cursor face-spec (Bug#7392).
4198 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
4200         The main features of the following allout.el changes are:
4201         - implement user customization for the allout key bindings
4202         - add a customization control by which the user can inhibit use of
4203           a trailing Ctrl-H, so by default it's reserved for use with
4204           describe-prefix-bindings
4205         - adapt to new version of called-interactively-p, while
4206           maintaining backwards compatibility with old version
4207         - fix hotspot navigation so i works properly with meta-modified keys.
4209         * allout.el (allout-keybindings, allout-bind-keys)
4210         (allout-keybindings-binding, allout-prefixed-keybindings)
4211         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4212         (allout-keybindings-list, allout-mode-map-adjustments)
4213         (allout-setup-mode-map): Establish allout-mode keymaps as user
4214         customizable settings, and also establish a customizable setting which
4215         regulates whether or not a trailing control-h is reserved for use with
4216         describe-prefix-bindings - and inhibit it by default, so that control-h
4217         *is* reserved for describe-prefix-bindings unless the user changes it.
4219         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4220         and accurately between modified and unmodified events, and handle
4221         modified events more comprehensively.
4223         * allout.el (allout-substring-no-properties):
4224         Alias to use or provide version of `substring-no-properties'.
4225         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4227         * allout.el (allout-next-single-char-property-change):
4228         Alias to use or provide version of `next-single-char-property-change'.
4229         (allout-annotate-hidden, allout-hide-by-annotation):
4230         Use `allout-next-single-char-property-change'.
4232         * allout.el (allout-select-safe-coding-system):
4233         Alias to use or provide version of `select-safe-coding-system'.
4234         (allout-toggle-subtree-encryption):
4235         Use `allout-select-safe-coding-system'.
4237         * allout.el (allout-set-buffer-multibyte):
4238         Alias to use or provide version of `set-buffer-multibyte'.
4239         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4241         * allout.el (allout-called-interactively-p): Macro for using the
4242         different versions of called-interactively-p identically, depending on
4243         the subroutine's argument signature.
4244         (allout-back-to-current-heading, allout-beginning-of-current-entry):
4245         Use `(interactive "p")' instead of `(called-interactively-p)'.
4247         * allout.el (allout-init, allout-ascend, allout-end-of-level)
4248         (allout-previous-visible-heading, allout-forward-current-level)
4249         (allout-backward-current-level, allout-show-children):
4250         Use `allout-called-interactively-p' instead of `called-interactively-p'.
4252         * allout.el (allout-before-change-handler):
4253         Exempt edits to the (overlaid) character after the allout outline
4254         bullet from edit confirmation prompt.
4256         * allout.el (allout-add-resumptions):
4257         Ensure that it respects correct buffer for keybindings.
4259         * allout.el (allout-beginning-of-line):
4260         Use `allout-previous-single-char-property-change' alias for the sake of
4261         diverse compatibility.
4263         * allout.el (allout-end-of-line):
4264         Use `allout-mark-active-p' to encapsulate respect for mark activity.
4266 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
4268         * frame.el (frame-notice-user-settings): Don't clobber other
4269         user-set parameters when calling face-set-after-frame-default in
4270         response to background-color parameter (Bug#7373).
4272 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
4274         * international/characters.el (glyphless-char-display-control):
4275         Rename from glyphless-char-control; all users changed.  Doc fix.
4276         Signal an error if display method is not one of the recognized
4277         symbols.
4279 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
4281         * net/tramp-compat.el (tramp-compat-line-beginning-position)
4282         (tramp-compat-line-end-position): Remove them.
4284         * net/tramp.el (tramp-parse-rhosts-group)
4285         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4286         (tramp-parse-hosts-group, tramp-parse-passwd-group)
4287         (tramp-parse-netrc-group, tramp-parse-putty-group)
4288         * net/tramp-cmds.el (tramp-append-tramp-buffers)
4289         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4290         (tramp-sh-handle-file-selinux-context)
4291         (tramp-sh-handle-file-name-all-completions)
4292         (tramp-sh-handle-insert-directory)
4293         (tramp-sh-handle-expand-file-name, tramp-find-executable)
4294         (tramp-wait-for-output, tramp-send-command-and-read)
4295         * net/tramp-smb.el (tramp-smb-read-file-entry)
4296         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4298         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4299         `point-at-bol'.
4300         (tramp-remote-coding-commands): Add an alternative using "base64
4301         -d -i".  This is needed for older base64 versions from GNU
4302         coreutils.  Reported by Klaus Reichl
4303         <Klaus.Reichl@thalesgroup.com>.
4305 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
4307         * simple.el (count-words-region): New function.
4309 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4311         * shell.el (shell-dir-cookie-re): New custom variable.
4312         (shell-dir-cookie-watcher): New function.
4314         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4315         and compilation-mode (bug#7350).
4317         * vc/smerge-mode.el (smerge-refine): Choose better default part to
4318         highlight when one of them is empty.
4320         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4321         trailing space.
4322         (skeleton-newline): New function.
4323         (skeleton-internal-1): Use it.
4325         * simple.el (open-line): `newline' may strip trailing space.
4327 2010-11-12  Kevin Ryde  <user42@zip.com.au>
4329         * international/mule-cmds.el (princ-list): Use mapc.
4331 2010-11-12  Glenn Morris  <rgm@gnu.org>
4333         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4334         Use it to replace all instances of "*Compile-Log*".
4336 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4338         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4339         indentation specs.
4341 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4343         * progmodes/modula2.el: Use SMIE and skeleton.
4344         (m2-mode-syntax-table): (*..*) can be nested.
4345         Add //...\n.  Fix paren syntax.
4346         (m2-mode-map): Remove LF and TAB bindings.
4347         (m2-indent): Add safety property.
4348         (m2-smie-grammar): New var.
4349         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4350         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4351         (m2-mode): Use define-derived-mode.
4352         (m2-newline, m2-tab): Remove.
4353         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4354         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4355         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4356         (m2-import): Use define-skeleton.
4358 2010-11-11  Glenn Morris  <rgm@gnu.org>
4360         * obsolete/lucid.el: Don't warn about any CL functions in this file.
4362         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4363         (ls-lisp-verbosity): Add custom :set-after property.
4364         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4365         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4366         (ls-lisp-insert-directory): Update caller.
4367         (ls-lisp-set-options): New function.
4368         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4369         Doc fix.
4371         * play/landmark.el (lm-prompt-for-move):
4372         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4374         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4376         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4377         (idlwave-study-twins): Prefix dynamic local variable `name'.
4378         (idlwave-routine-twin-compare): Update for above change.
4380         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4381         Prefix dynamic local variables `name', `kwd', and `link'.
4382         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4383         * progmodes/idlw-complete-structtag.el
4384         (idlwave-complete-structure-tag-help):
4385         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4386         (idlwave-complete-sysvar-tag-help)
4387         (idlwave-complete-class-structure-tag-help):
4388         Update for above name changes.
4390 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4392         * net/browse-url.el (browse-url-browser-function): Change the
4393         default to use `browse-url-mail' on mailto: URLs.
4395 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
4397         * emacs-lisp/package.el (package-read-all-archive-contents):
4398         Reset package-archive-contents to nil before re-reading.
4400 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
4402         * textmodes/flyspell.el (flyspell-word): Do not re-check words
4403         already found as misspellings by (flyspell-large-region), just
4404         do highlighting (bug#7322).
4406 2010-11-10  Glenn Morris  <rgm@gnu.org>
4408         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4410         * emulation/edt.el (edt-with-position): New macro.
4411         (edt-find-forward, edt-find-backward, edt-find-next-forward)
4412         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4413         (edt-paragraph-forward, edt-paragraph-backward): Use it.
4415         * emulation/tpu-extras.el (tpu-with-position): New macro.
4416         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4418         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4420         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4421         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4422         (texinfo-master-menu, texinfo-insert-node-lines)
4423         (texinfo-multiple-files-update):
4424         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4425         Use line-beginning-position.
4427         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4428         No recent Emacs supports system-type `emx'.
4430         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4431         (ada-command-separator, ada-default-prj-properties)
4432         (ada-find-any-references): Update for above name change.
4434         * dirtrack.el (dirtrack-directory-function)
4435         (dirtrack-canonicalize-function):
4436         * filecache.el (file-cache-completion-ignore-case)
4437         (file-cache-case-fold-search, file-cache-ignore-case):
4438         * term.el (serial-port-is-file-p): Cosmetic change.
4440         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4441         Remove non-existent `windows-95' system-type.
4442         * dired.el (dired-chown-program): Remove non-existent `linux'
4443         system-type.
4445         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4446         (ping-program-options): Remove non-existent `linux' system-type.
4448         * startup.el (package-initialize): Update declaration.
4450         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4451         (ls-lisp-handle-switches): Use time-less-p.
4452         (ls-lisp-format-time): Use float-time.
4454         * textmodes/remember.el (remember-time-to-seconds): Remove.
4455         (remember-store-in-mailbox): Use float-time.
4457         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4459         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4460         never a real function.
4461         (with-no-warnings): Remove compat stub, now unused.
4462         (time-less-p): Doc fix.
4463         (time-to-number-of-days): Simplify.
4465         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4466         Remove.
4467         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4468         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4469         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4470         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4471         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4473         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4474         (eshell-shuffle-files, eshell-shorthand-tar-command)
4475         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4476         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4477         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4478         Prefix dynamic local variable `matches'.
4480         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4481         Prefix dynamic local variable `skeleton'.
4483 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4485         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4486         in mail buffer; make yank-action always a command that yanks original
4487         buffer.
4489 2010-11-09  Glenn Morris  <rgm@gnu.org>
4491         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4493 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4495         * minibuffer.el (minibuffer-completion-help): Specify the end of the
4496         completion field (bug#7211).
4498         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4499         Fix handling of backslash escapes.
4500         (python-quote-syntax): Adjust accordingly.
4502 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
4504         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4505         (vc-mtn-workfile-branch): Adjust to new output format.
4507 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4509         * international/mule-cmds.el (princ-list): Mark as obsolete.
4511 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4513         * emacs-lisp/smie.el: New package.
4515 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
4517         * files.el (backup-by-copying-when-mismatch):
4518         Set `permanent-local' property.
4520         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4521         `permanent-local' property for `backup-by-copying-when-mismatch'.
4523 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
4525         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
4527 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
4529         * progmodes/verilog-mode.el (verilog-insert-one-definition)
4530         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4531         AUTOINOUT for SV style multidimensional arrays, bug294.
4532         Reported by Eric Mastromarchi.
4533         (verilog-preprocess): Use with-current-buffer and
4534         font-lock-fontify-buffer to cleanup style issues.
4536 2010-11-09  Glenn Morris  <rgm@gnu.org>
4538         * locate.el (locate, locate-mode): Doc fixes.
4540 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
4542         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4543         user for confirmation.
4544         (server-force-stop): Use it.
4545         (server-start): Use server-force-stop for kill-emacs-hook, to
4546         avoid user interaction while killing Emacs.
4548 2010-11-09  Glenn Morris  <rgm@gnu.org>
4550         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4551         (meta-indent-line): Simplify.
4553         * vc/emerge.el (emerge-line-number-in-buf):
4554         * textmodes/ispell.el (ispell-region):
4555         * textmodes/fill.el (current-fill-column):
4556         * progmodes/xscheme.el (xscheme-send-current-line):
4557         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4558         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4559         * progmodes/sh-script.el (sh-handle-prev-do):
4560         * progmodes/meta-mode.el (meta-indent-line):
4561         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4562         (idlwave-in-quote):
4563         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4564         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4565         * progmodes/fortran.el (fortran-looking-at-if-then):
4566         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4567         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4568         (cperl-find-pods-heres):
4569         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4570         * net/quickurl.el (quickurl-list-insert):
4571         * net/ldap.el (ldap-search-internal):
4572         * net/eudc.el (eudc-expand-inline):
4573         * mail/sendmail.el (sendmail-send-it):
4574         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4575         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4576         (viper-brac-function):
4577         * calc/calc-yank.el (calc-do-grab-region):
4578         * calc/calc-keypd.el (calc-keypad-press):
4579         * term.el (term-move-columns, term-insert-spaces):
4580         * speedbar.el (speedbar-highlight-one-tag-line):
4581         * simple.el (current-word):
4582         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4583         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4584         (Info-scroll-down):
4585         * hippie-exp.el (he-line-beg):
4586         * epa.el (epa--marked-keys):
4587         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4588         (dired-update-file-line, dired-add-entry, dired-remove-entry)
4589         (dired-relist-entry):
4590         * buff-menu.el (Buffer-menu-buffer):
4591         * array.el (current-line):
4592         * allout.el (allout-resolve-xref)
4593         (allout-latex-verbatim-quote-curr-line):
4594         Replace yet more uses of end-of-line etc with line-end-position, etc.
4596 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4598         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4599         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4600         (checkdoc-syntax-table): Initialize in the declaration.
4601         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4602         the mode on unconditionally.
4604         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4605         (extent-end-position, extent-start-position): Remove setf method for
4606         non-existing functions (bug#7319).
4608 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4610         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4611         (smie-precs->prec2): Rename from smie-precs-precedence-table.
4612         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4613         (smie-prec2->grammar): Rename from smie-prec2-levels.
4614         (smie-grammar): Rename from smie-op-levels.
4615         (smie-indent--hanging-p): Rename from smie-hanging-p.
4616         (smie-rule-hanging-p): New alias.
4617         (smie-indent--bolp): Rename from smie-bolp.
4618         (smie-indent--hanging-p): New alias.
4619         (smie--token): New dynamically bound variable.
4620         (smie-indent--parent): New function.
4621         (smie-rule-parent-p): Use it; rename from smie-parent-p.
4622         (smie-rule-next-p): Rename from smie-next-p.
4623         (smie-rule-prev-p): Rename from smie-prev-p.
4624         (smie-rule-sibling-p, smie-rule-parent)
4625         (smie-indent--separator-outdent, smie-rule-separator): New functions.
4626         (smie-rule-separator-outdent): New var.
4627         (smie-indent--rule): Merge with smie-indent--column.
4628         (smie-indent-forward-token, smie-indent-backward-token):
4629         Also recognize close parens.
4630         (smie-indent-keyword): Don't use smie-indent--column any more.
4631         (smie-indent-after-keyword): Ignore closers by default.
4632         (smie-indent-line): Use with-demoted-errors.
4633         * progmodes/octave-mod.el (octave-smie-grammar):
4634         Rename from octave-smie-op-levels.
4635         (octave-smie-rules): Adjust to new behavior.
4636         * progmodes/prolog.el (prolog-smie-grammar):
4637         Rename from prolog-smie-op-levels.
4639 2010-11-07  Glenn Morris  <rgm@gnu.org>
4641         * eshell/esh-util.el (subst-char-in-string)
4642         (directory-files-and-attributes): These compatibility definitions are
4643         not needed on any version of Emacs since at least 21.4.
4645         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4646         (verilog-get-end-of-line): Remove.
4647         (verilog-within-string, verilog-re-search-forward-substr)
4648         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4649         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4650         Use point-at-bol, point-at-eol.
4651         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4652         Remove.
4653         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4654         (electric-pascal-terminate-line, pascal-set-auto-comments)
4655         (pascal-indent-paramlist, pascal-indent-declaration)
4656         (pascal-get-lineup-indent, pascal-func-completion)
4657         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4658         Use point-at-bol, point-at-eol.
4659         * progmodes/flymake.el (flymake-line-beginning-position)
4660         (flymake-line-end-position): Remove.
4661         (flymake-highlight-line): Use point-at-bol, point-at-eol.
4662         * eshell/esh-util.el (line-end-position, line-beginning-position):
4663         Remove compat definitions.
4665         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4666         Use end-of-line N.
4667         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4668         Use line-end-position.
4670         * emacs-lisp/chart.el (chart-zap-chars):
4671         * play/decipher.el (decipher-set-map):
4672         * progmodes/ada-mode.el (ada-get-current-indent)
4673         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4674         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4675         * progmodes/ada-xref.el (ada-initialize-runtime-library)
4676         (ada-get-all-references):
4677         * progmodes/cperl-mode.el (cperl-electric-paren)
4678         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4679         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4680         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4681         (cperl-word-at-point-hard):
4682         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4683         (idlwave-shell-filename-string, idlwave-shell-batch-command)
4684         (idlwave-shell-display-line):
4685         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4686         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4687         * progmodes/js.el (js--re-search-forward-inner)
4688         (js--re-search-backward-inner):
4689         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4690         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4691         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4692         * textmodes/flyspell.el (flyspell-process-localwords):
4693         * textmodes/ispell.el (ispell-buffer-local-parsing)
4694         (ispell-buffer-local-dict, ispell-buffer-local-words):
4695         Use point-at-bol and point-at-eol.
4697         * speedbar.el (speedbar-generic-item-info)
4698         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4699         (speedbar-add-indicator, speedbar-check-vc-this-line)
4700         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4701         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4702         Replace more uses of end-of-line etc with line-end-position.
4704 2010-11-06  Glenn Morris  <rgm@gnu.org>
4706         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4707         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4708         (texinfo-delete-existing-pointers, texinfo-find-pointer)
4709         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4710         (texinfo-multiple-files-update):
4711         * textmodes/table.el (table--probe-cell-left-up)
4712         (table--probe-cell-right-bottom):
4713         * textmodes/picture.el (picture-tab-search):
4714         * textmodes/page-ext.el (pages-copy-header-and-position)
4715         (pages-directory-for-addresses):
4716         * progmodes/vera-mode.el (vera-get-offset):
4717         * progmodes/simula.el (simula-calculate-indent):
4718         * progmodes/python.el (python-pdbtrack-overlay-arrow):
4719         * progmodes/prolog.el (end-of-prolog-clause):
4720         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4721         * progmodes/icon.el (indent-icon-exp):
4722         * progmodes/etags.el (tag-re-match-p):
4723         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4724         * progmodes/ebnf2ps.el (ebnf-begin-file):
4725         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4726         (dcl-save-local-variable):
4727         * play/life.el (life-setup):
4728         * play/gametree.el (gametree-looking-at-ply):
4729         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4730         * mail/sendmail.el (mail-mode-auto-fill):
4731         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4732         * emacs-lisp/edebug.el (edebug-overlay-arrow):
4733         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4734         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4735         (woman-tab-to-tab-stop, WoMan-warn-ignored):
4736         * type-break.el (type-break-file-keystroke-count):
4737         * term.el (term-replace-by-expanded-history-before-point)
4738         (term-skip-prompt, term-extract-string):
4739         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4740         (speedbar-contract-line, speedbar-toggle-line-expansion)
4741         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4742         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4743         * sort.el (sort-skip-fields):
4744         * skeleton.el (skeleton-internal-list):
4745         * simple.el (line-move-finish, line-move-to-column):
4746         * shell.el (shell-forward-command):
4747         * misc.el (copy-from-above-command):
4748         * makesum.el (double-column):
4749         * ebuff-menu.el (electric-buffer-update-highlight):
4750         * dired.el (dired-move-to-end-of-filename):
4751         * dframe.el (dframe-popup-kludge):
4752         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4753         * arc-mode.el (archive-get-lineno):
4754         Use line-end-position and line-beginning-position.
4756         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4757         (idlwave-study-twins): Prefix dynamic local `class'.
4758         (idlwave-routine-twin-compare): Update for above name change.
4760         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4761         Use boundp tests to silence compiler.  Update for changed name of
4762         bytecomp-filename variable.
4764         * emulation/viper-cmd.el (viper-read-string-with-history):
4765         Prefix dynamic local `initial'.
4766         (viper-minibuffer-standard-hook): Update for above name change.
4768         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4769         (elint-init-form): Update for above name change.
4771         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4772         local variables `cbeg' and `cend' a prefix.
4773         (mail-extr-voodoo): Update for above name change.
4775         * textmodes/reftex-toc.el (reftex-toc-do-promote)
4776         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4777         (reftex-toc-promote-action): Doc fix.
4779         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4780         `prompt', `data' a prefix.
4781         (reftex-select-post-command-hook, reftex-select-callback)
4782         (reftex-select-mouse-accept, reftex-select-read-cite):
4783         Update for above name changes.
4785         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4786         `refstyle' to reftex-refstyle.
4787         (reftex-offer-label-menu): Update for above name change.
4788         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4789         `refstyle' name change.
4791         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4792         with with-current-buffer.
4793         (diff, template): Give dynamic local variables a prefix.
4794         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4795         (emerge-line-number-in-buf): Update for above name change.
4796         (emerge-combine-versions-internal): Rename local `template' to
4797         emerge-combine-template.
4798         (emerge-combine-versions-edit): Update for above name change.
4800 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
4802         * textmodes/reftex-cite.el
4803         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4804         entries with whitespace after \bibitem.
4805         (reftex-create-bibtex-file): Match entries containing numbers and
4806         symbol constituents.  Make sure that entries with whitespace at
4807         various places are found.
4809 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
4811         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4813 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
4815         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4817 2010-11-05  Glenn Morris  <rgm@gnu.org>
4819         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4820         (woman2-roff-buffer): Give local variable `request' a prefix.
4821         (woman0-macro): Rename argument `request' in the same way.
4822         (woman-request): New name for `request' dynamic variable.
4823         (woman-unquote, woman-forward-arg): Update for above name change.
4824         (woman1-roff-buffer): Give local variable `unquote' a prefix.
4825         (woman1-unquote): New name for `unquote' dynamic variable.
4826         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4827         (woman-translations): Rename from `translations'.  No longer global.
4828         (woman2-tr, woman-translate): Update for above name change.
4829         (woman-translate): Check for bound variable.
4830         (woman2-roff-buffer): Give local variable `translations' a prefix.
4832         * play/doctor.el: Give all local variables a prefix.  Update callers.
4833         (doc$, doctor-put-meaning): Use backquote.
4835         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4836         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4838         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4839         variables bytes, ptr, op a prefix.
4840         (disassemble-offset): Update for above change.
4842 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4844         * emacs-lisp/package.el (package-unpack): Remove no-op.
4845         (package--builtins, package--dir): Doc fix.
4846         (package-activate-1, package-activate, package-install)
4847         (package-compute-transaction): Fix error message.
4848         (package-delete): Use delete-directory.  Omit system packages.
4849         (package-initialize): Set package-alist to nil first.
4850         (package-menu-mark-delete, package-menu-mark-install): Don't add
4851         symbols that are inconsistent with the package state.
4852         (package-menu-execute): Perform deletions and installations as
4853         single batch operations.
4855 2010-11-03  Glenn Morris  <rgm@gnu.org>
4857         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4858         (props): Remove unnecessary declaration.
4860         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4861         set-process-query-on-exit-flag.
4863         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4864         (reftex-toc-do-promote): Remove unused local `mpos'.
4865         (reftex-toc-restore-region): Make `mpos' local to this function.
4867         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4869         * play/landmark.el (lm-losing-threshold): Correct spelling.
4870         (lm-human-plays): Use new name.
4872         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4873         (gomoku-human-plays): Use new name.
4875         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4876         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4877         (gomoku-score-trans-table, gomoku-winning-threshold)
4878         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4880 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4882         * emacs-lisp/package.el: Don't put built-in packages in
4883         package-alist, to avoid loading inefficiencies.
4884         (package-built-in-p): Make VERSION optional, and treat it as a
4885         minimum acceptable version.
4886         (package-activate): Search separately for built-in packages.
4887         Emit a warning if a dependency fails.
4888         (define-package): Handle most common case, where there is no
4889         obsolete package, first.
4890         (package-compute-transaction): Print required version in error.
4891         (package--initialized): New variable.
4892         (list-packages): Use it.
4893         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
4894         built-in packages in packages-alist; keep it separate.
4895         Set package--initialized.
4896         (describe-package): Avoid activating packages as a side-effect.
4897         Search separately for built-in packages.
4898         (describe-package-1): Handle the case where an elpa package is
4899         simultaneously built-in and available/installed.
4900         (package-installed-p, package--generate-package-list):
4901         Search separately for built-in packages.
4902         (package-load-descriptor): Doc fix.
4904 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4906         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4907         Handle __DATA__ and __END__.
4909 2010-11-02  Noah Friedman  <friedman@splode.com>
4911         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4912         nil, do not ask to recompile files that are not already compiled,
4913         and do not recompile them.
4915 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
4917         * emacs-lisp/package.el (package-initialize): Ensure that
4918         obsoleted built-in packages are not in package-activated-list
4919         during activation.
4920         (describe-package-1): Make the "installed" status override
4921         "built-in".
4923 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4925         * subr.el (version-separator, version-regexp-alist): Remove '*'
4926         from docstring.
4927         (version-list-<=, version<=, version=): Doc fix.
4929 2010-11-01  Kenichi Handa  <handa@m17n.org>
4931         * faces.el (glyphless-char): Inherit underline for tty.
4933 2010-11-01  Kenichi Handa  <handa@m17n.org>
4935         Implement various display methods for glyphless characters.
4937         * international/characters.el (char-acronym-table): New variable.
4938         (glyphless-char-control): New variable.
4939         (update-glyphless-char-display): New function.
4941         * faces.el (glyphless-char): New face.
4943 2010-11-01  Glenn Morris  <rgm@gnu.org>
4945         * calendar/holidays.el (general-holidays, oriental-holidays)
4946         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4947         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4948         the definitions of their targets.
4950         * emacs-lisp/smie.el (smie): New custom group.
4951         (smie-blink-matching-inners, smie-indent-basic): Add :group.
4953         * faces.el (xw-defined-colors, x-setup-function-keys):
4954         * mouse-sel.el (x-select-text):
4955         * term/w32console.el (x-setup-function-keys): Update declarations.
4957         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4959         * textmodes/ispell.el (comment-add): Declare.
4961         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4962         Declare.
4964         * info.el (finder-keywords-hash, package-alist): Declare.
4966 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4968         * finder.el (finder-compile-keywords): Don't use intern-soft,
4969         since package names may not yet exist in the obarray.
4971 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4973         * vc/vc-arch.el (vc-arch-checkin):
4974         * vc/vc-cvs.el (vc-cvs-checkin):
4975         * vc/vc-mtn.el (vc-mtn-checkin):
4976         * vc/vc-rcs.el (vc-rcs-checkin):
4977         * vc/vc-sccs.el (vc-sccs-checkin):
4978         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4979         since 2010-04-21 commit by Stefan Monnier.
4981 2010-11-01  Glenn Morris  <rgm@gnu.org>
4983         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4985         * startup.el (package-enable-at-startup, package-initialize):
4986         Silence compiler.
4988         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4989         Silence compiler.
4991 2010-10-31  Julien Danjou  <julien@danjou.info>
4993         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4994         (byte-recompile-directory):
4995         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4996         Use `byte-recompile-file'.
4998 2010-10-31  Glenn Morris  <rgm@gnu.org>
5000         * cus-start.el: Handle standard values via a keyword.
5001         Only set version property if specified.
5002         (cursor-in-non-selected-windows, menu-bar-mode)
5003         (tool-bar-mode, show-trailing-whitespace):
5004         Do not specify standard values.
5005         (transient-mark-mode, temporary-file-directory): Use :standard.
5007 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
5009         * term/x-win.el (x-get-selection-value): New function that gets
5010         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
5012 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
5014         * net/tramp.el (tramp-handle-insert-file-contents): For root,
5015         preserve owner and group when editing files.  (Bug#7289)
5017 2010-10-31  Glenn Morris  <rgm@gnu.org>
5019         * speedbar.el (speedbar-mode):
5020         * play/fortune.el (fortune-in-buffer, fortune):
5021         * play/gomoku.el (gomoku-mode):
5022         * play/landmark.el (lm-mode):
5023         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5024         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
5026         * select.el (x-selection): Mark it as an obsolete alias.
5028 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5030         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5031         major-mode (bug#7284).
5033 2010-10-31  Glenn Morris  <rgm@gnu.org>
5035         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5036         rather than just an unused variable that inherits from the real one.
5038 2010-10-31  Alan Mackenzie  <acm@muc.de>
5040         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5041         This fixes bug #7185.
5043 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
5045         * startup.el (command-line): Search for package directories, and
5046         don't load package.el if none are found.
5048         * emacs-lisp/package.el (describe-package, list-packages):
5049         Call package-initialize if it has not been called yet.
5051 2010-10-30  Alan Mackenzie  <acm@muc.de>
5053         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5054         which fontifies the tail of an enum.
5055         (c-basic-matchers-after): Insert a call to the above new function.
5056         This fixes bug #7264.
5058 2010-10-30  Glenn Morris  <rgm@gnu.org>
5060         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5061         tool-bar-mode, transient-mark-mode.  (Bug#7306)
5062         Include the :set property in the dumped Emacs.
5064 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5066         SMIE: change indent rules format, improve smie-setup.
5067         * emacs-lisp/smie.el (smie-precs-precedence-table)
5068         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5069         Mark them pure so the tables gets built at compile time.
5070         (smie-bnf-precedence-table): Store the closer-alist in the table.
5071         (smie-prec2-levels): Preserve the closer-alist.
5072         (smie-blink-matching-open): Be more forgiving in case of indentation.
5073         (smie-hanging-p): Rename from smie-indent--hanging-p.
5074         (smie-bolp): Rename from smie-indent--bolp.
5075         (smie--parent, smie--after): New dynamic vars.
5076         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5077         (smie-indent-rules): Remove.
5078         (smie-indent--offset-rule): Remove fun.
5079         (smie-rules-function): New var.
5080         (smie-indent--rule): New fun.
5081         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5082         (smie-indent-exps): Use it.
5083         (smie-setup): Setup paren blinking; add keyword args for token
5084         functions; extract closer-alist from op-levels.
5085         (smie-indent-debug-log): Remove var.
5086         (smie-indent-debug): Remove fun.
5087         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5088         (prolog-smie-rules): New fun to replace it.
5089         (prolog-mode-variables): Simplify.
5090         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5091         it's setup automatically.
5092         (octave-smie-indent-rules): Remove.
5093         (octave-smie-rules): New fun to replace it.
5094         (octave-mode): Simplify.
5096 2010-10-29  Glenn Morris  <rgm@gnu.org>
5098         * files.el (temporary-file-directory): Remove (already defined in C).
5099         * cus-start.el: Add temporary-file-directory.
5101         * abbrev.el (abbrev-mode):
5102         * composite.el (auto-composition-mode):
5103         * menu-bar.el (menu-bar-mode):
5104         * simple.el (transient-mark-mode):
5105         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5106         that they do not define the associated variables twice.
5107         * simple.el (transient-mark-mode): Remove defvar.
5108         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5109         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5110         Handle multiple groups, and also custom-delayed-init-variables.
5111         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5113 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5115         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5116         (pcase-if): Add one minor optimization.
5117         (pcase-split-equal): Rename from pcase-split-eq.
5118         (pcase-split-member): Rename from pcase-split-memq.
5119         (pcase-u1): Add strings to the member optimization.
5120         Add `guard' variant of predicates.
5121         (pcase-q1): Add string patterns.
5123 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5125         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5127 2010-10-28  Glenn Morris  <rgm@gnu.org>
5129         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5130         Move menu-bar related settings to ../menu-bar.el.
5131         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5132         Move ns-specific settings here from term/ns-win.el.
5134         * simple.el (x-selection-owner-p): Remove unused declaration.
5136 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5138         * minibuffer.el (completion-cycling): New var (bug#7266).
5139         (minibuffer-complete, completion--do-completion):
5140         Use completion--flush-all-sorted-completions.
5141         (minibuffer-complete): Only cycle if completion-cycling is set.
5142         (completion--flush-all-sorted-completions): Unset completion-cycling.
5143         (minibuffer-force-complete): Set completion-cycling.
5144         (completion-all-sorted-completions): Move declaration before first use.
5146 2010-10-28  Leo  <sdl.web@gmail.com>
5148         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5149         which changes the order of matches seen by users (bug#7231).
5151 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
5153         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5154         Don't confuse -omega as "-o mega".
5156 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5158         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5159         (log-edit-author): New dynamic var.
5160         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5161         to return the author if different from committer.
5162         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5164         * play/landmark.el: Adjust commenting convention.
5165         (lm-nil-score): Rename from nil-score.
5166         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5167         (OOOOscore): Move into a let in lm-score-trans-table.
5168         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5170         * electric.el (electric-indent-chars): Autoload.
5171         * progmodes/octave-mod.el (octave-mode):
5172         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5173         (ruby-mode-abbrev-table): Merge initialization and declaration.
5175 2010-10-27  Glenn Morris  <rgm@gnu.org>
5177         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5178         variable.
5180         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5182         * term/ns-win.el: Restore require of cl when compiling.
5183         (menu-bar-final-items): Remove non-existent `windows' menu.
5184         (ns-handle-nxopen): Optionally handle the temp-case.
5185         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5186         (ns-insert-file, ns-find-file): Use `pop'.
5188 2010-10-26  Glenn Morris  <rgm@gnu.org>
5190         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5192 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
5194         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5195         global map.
5196         * term/common-win.el (x-setup-function-keys): Remove most of the
5197         keymappings.  Comment on the remaining ones.
5199 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
5201         * server.el (server-port): New option.  (Bug#854)
5202         (server-start): Use server-port.
5204 2010-10-26  Glenn Morris  <rgm@gnu.org>
5206         * term/ns-win.el (ns-version-string): Remove unused declaration.
5207         (ns-invocation-args): Change to x-invocation-args.
5208         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5209         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5210         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5211         Use x-invocation-args instead of ns-invocation-args.
5212         (ns-initialize-window-system, handle-args-function-alist):
5213         Use x-handle-args instead of ns-handle-args.
5214         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5215         * startup.el (command-line-ns-option-alist): Replace
5216         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5217         ns-handle-iconic with the x- equivalents.
5219         * term/common-win.el (x-select-enable-clipboard):
5220         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5222         * term/ns-win.el: No need to require cl when compiling.
5223         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5224         (xw-defined-colors): Use the common-win definitions.
5225         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5226         (ns-handle-iconic): Make it an alias for x-handle-iconic.
5227         * term/common-win.el (x-select-text, x-alternatives-map)
5228         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5229         * loadup.el [ns]: Load common-win.
5231 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
5233         * epa-mail.el (epa-mail-encrypt): Handle local-part only
5234         recipients; expand mail aliases (Bug#7280).
5236 2010-10-25  Glenn Morris  <rgm@gnu.org>
5238         * term/common-win.el (x-handle-switch): Simplify with pop.
5239         Optionally handle numeric switches.
5240         (x-handle-numeric-switch): Just call x-handle-switch.
5241         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5242         (x-handle-name-switch, x-handle-display, x-handle-args):
5243         Simplify with pop.
5245         * term/ns-win.el: Do not require easymenu.
5246         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5247         <spell>: Move adjustments to menu-bar.el.
5248         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5249         <separator-undo, spell>: Move ns-win's adjustments here.
5250         * loadup.el [ns]: Do not load easymenu.
5252 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5254         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5255         Delete (Bug#7222).
5257         * startup.el (fancy-startup-tail): Instead of using inline images,
5258         refer to image files from etc/.
5260         * wid-edit.el (checkbox): Likewise.
5261         (widget-image-find): Center image specs.
5263 2010-10-24  Glenn Morris  <rgm@gnu.org>
5265         * term/ns-win.el (x-select-text): Doc fix.
5266         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5267         (x-select-text): Move to term/common-win.
5268         * term/w32-win.el (xw-defined-colors): Move to common-win.
5269         * term/x-win.el (xw-defined-colors, x-alternatives-map)
5270         (x-setup-function-keys, x-select-text): Move to common-win.
5271         * term/common-win.el (x-select-text, x-alternatives-map)
5272         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5273         definitions here.
5275 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
5277         * net/mairix.el (mairix-searches-mode-map):
5278         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5280 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
5282         * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5283         auto-built for efficiency of execution and updating.
5284         (verilog-extended-complete-re): Support 'pure' fucntion & task
5285         declarations (these have no bodies).
5286         (verilog-beg-of-statement): General cleanup to enable support of
5287         'pure' fucntion & task declarations (these have no bodies).
5288         These efforts together fix Verilog bug210 from veripool; which was also
5289         noticed by Steve Pearlmutter.
5290         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5291         (verilog-directive-nest-re, verilog-set-auto-endcomments):
5292         Support `elsif.  Reported by Shankar Giri.
5293         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5294         attribute handling for lining up declarations and assignments.
5295         (verilog-beg-of-statement-1): Fix issue where continued declaration
5296         is indented differently if it is after a begin..end clock.
5297         (verilog-in-attribute-p, verilog-skip-backward-comments)
5298         (verilog-skip-forward-comment-p): Support proper treatment of
5299         attributes by indent code.  Reported by Jeff Steele.
5300         (verilog-in-directive-p): Fix comment to correctly describe function.
5301         (verilog-backward-up-list, verilog-in-struct-region-p)
5302         (verilog-backward-token, verilog-in-struct-p)
5303         (verilog-in-coverage-p, verilog-do-indent)
5304         (verilog-pretty-declarations): Use verilog-backward-up-list as
5305         wrapper around backward-up-list inorder to properly skip comments.
5306         Reported by David Rogoff.
5307         (verilog-property-re, verilog-endcomment-reason-re)
5308         (verilog-beg-of-statement, verilog-set-auto-endcomments)
5309         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5310         of if).  Reported by Max Bjurling and
5311         (verilog-calc-1): Fix for clocking block in modport
5312         declaration.  Reported by Brian Hunter.
5314 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
5316         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5317         (verilog-gate-keywords, verilog-read-sub-decls)
5318         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5319         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5320         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
5321         (verilog-read-decls): Fix spaces in V2K module parameters causing
5322         mis-identification as interfaces, bug287.
5323         (verilog-read-decls): Fix not treating "parameter string" as a
5324         parameter in AUTOINSTPARAM.
5325         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5326         treating `elsif similar to `endif inside AUTOSENSE.
5327         (verilog-do-indent): Implement correct automatic or static task or
5328         function end comment highlight.  Reported by Steve Pearlmutter.
5329         (verilog-font-lock-keywords-2): Fix highlighting of single
5330         character pins, bug264.  Reported by Michael Laajanen.
5331         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5332         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5333         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5334         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
5335         (verilog-pretty-expr): Fix interactive arguments, bug272.
5336         Reported by Mark Johnson.
5337         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5338         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5339         bug269.  Suggested by Gary Delp.
5340         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5341         (verilog-preprocessor, verilog-set-compile-command):
5342         Create verilog-preprocess and verilog-preprocessor to show
5343         preprocessed output.
5344         (verilog-get-beg-of-line, verilog-get-end-of-line)
5345         (verilog-modi-file-or-buffer, verilog-modi-name)
5346         (verilog-modi-point, verilog-within-string): Move defmacro's
5347         before first use to avoid warning.  Reported by Steve Pearlmutter.
5348         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5349         (verilog-colorize-region, verilog-highlight-buffer)
5350         (verilog-highlight-includes, verilog-highlight-modules)
5351         (verilog-highlight-region, verilog-mode): Rename colorize to
5352         highlight to match other packages.  Disable module highlighting,
5353         as received speed complaints, reenable for experimentation only
5354         using new verilog-highlight-modules.
5355         (verilog-read-decls): Fix regexp stack overflow in very large
5356         AUTO_TEMPLATEs, bug250.
5357         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5358         (verilog-scan): Create verilog-save-buffer-state to standardize
5359         making insignificant changes that shouldn't call hooks.
5360         (verilog-save-no-change-functions, verilog-save-scan-cache)
5361         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5362         Create verilog-save-no-change-functions to wrap verilog-scan
5363         preservation, and fix to work with nested preserved calls.
5364         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5365         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5366         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
5367         (verilog-submit-bug-report): Update variable list to be complete.
5368         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5369         breaking on-the-fly font-locking.
5370         (verilog-colorize-buffer, verilog-colorize-include-files)
5371         (verilog-colorize-include-files-buffer, verilog-colorize-region)
5372         (verilog-load-file-at-mouse, verilog-load-file-at-point)
5373         (verilog-mode, verilog-read-inst-module-matcher): With point on a
5374         AUTOINST cell instance name, middle mouse button now finds-file on
5375         it.  Suggested by Brad Dobbie.
5376         (verilog-alw-get-temps, verilog-auto-reset)
5377         (verilog-auto-sense-sigs, verilog-read-always-signals)
5378         (verilog-read-always-signals-recurse): Fix loop indexes being
5379         AUTORESET.  AUTORESET now assumes any variables in the
5380         initialization section of a for() should be ignored.
5381         Reported by Dan Dever.
5382         (verilog-error-font-lock-keywords)
5383         (verilog-error-regexp-emacs-alist)
5384         (verilog-error-regexp-xemacs-alist): Fix error detection of
5385         Cadence HAL, reported by David Asher.  Repair drift between the
5386         three similar error variables.
5387         (verilog-modi-lookup, verilog-modi-lookup-cache)
5388         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5389         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5390         Fix slow verilog-auto expansion on very large files.
5391         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5392         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5393         "{1*2{...".  Broke in last revision.
5394         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5395         submodule connections with replications "{#{a},#{b}}".
5397 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
5399         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5400         Fix typo in docstring.
5402 2010-10-24  Kenichi Handa  <handa@m17n.org>
5404         * face-remap.el (text-scale-adjust): Call read-event with a proper
5405         prompt.
5407 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5409         * emacs-lisp/unsafep.el: Don't mark functions that display
5410         messages as safe.  Suggested by Johan Bockgård.
5412 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5414         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5415         Turn comments into docstrings.
5417         * minibuffer.el (completion--replace): Move point where it belongs
5418         when there's a common suffix (bug#7215).
5420 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5422         Merge read-color and facemenu-read-color (Bug#7242).
5424         * faces.el (read-color): Use the completion code from
5425         facemenu-read-color.  Require match in completion.  Doc fix.
5427         * facemenu.el (facemenu-read-color): Alias for read-color.
5428         (facemenu-set-foreground, facemenu-set-background):
5429         Use read-color.
5431         * frame.el (set-background-color, set-foreground-color)
5432         (set-cursor-color, set-mouse-color, set-border-color):
5433         Use read-color.
5435 2010-10-24  Leo  <sdl.web@gmail.com>
5437         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5438         argument of delete-file and delete-directory (Bug#7011).
5440 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5442         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5443         button-buffer-map.
5445 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
5447         * emacs-lisp/package.el (package--generate-package-list): Make the
5448         *Packages* buffer read-only.
5450 2010-10-24  Alan Mackenzie  <acm@muc.de>
5452         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5453         result of `c-beginning-of-decl-1' between invocations of a lambda
5454         function (Bug #7265).
5456 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
5458         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5459         executable is not available on the system (Bug#7268).
5461 2010-10-24  Glenn Morris  <rgm@gnu.org>
5463         * select.el (selection-coding-system, next-selection-coding-system):
5464         Sync doc with C versions.
5466         * w32-vars.el (x-select-enable-clipboard):
5467         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5468         * term/common-win.el (x-select-enable-clipboard): Move here.
5470         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5471         definition of C variable.
5473         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5474         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5475         Don't redefine things that are defined in C.
5476         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5477         (show-trailing-whitespace, auto-hscroll-mode)
5478         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5479         Set up the appropriate custom properties.
5481 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5483         Bind "C-c ]" to ...
5484         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5485         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5486         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5487         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5489 2010-10-23  Glenn Morris  <rgm@gnu.org>
5491         * textmodes/flyspell.el (flyspell-mode): If there was an error,
5492         say what it was.
5494         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5495         Sync docs with C version.
5497         * term/ns-win.el (xw-defined-colors):
5498         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5500         * term/pc-win.el (x-select-enable-clipboard):
5501         * term/x-win.el (x-select-enable-clipboard):
5502         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5504         * comint.el (comint-password-prompt-regexp): Make it less vague.
5505         Bump version.
5507         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5509         * help.el (finder-by-keyword): Remove unnecessary autoload.
5511 2010-10-22  Glenn Morris  <rgm@gnu.org>
5513         * loadup.el: Unconditionally load float-sup.
5514         * paren.el (show-paren-delay):
5515         * emacs-lisp/float-sup.el:
5516         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5517         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5518         (lazy-lock-stealth-verbose): Assume float support.
5519         * ps-print.el: Assume float support on Emacs.
5520         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5521         Remove non-float branch.
5523         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5524         src/Makefile no longer being pre-processed.
5526 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5528         * emacs-lisp/find-func.el (find-library): Use test-completion.
5530 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5532         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5534 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
5536         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5537         space in stat format string.
5538         (tramp-send-command): Unset $PS1 when using here documents, in
5539         order not to get several prompts.
5540         (tramp-get-inline-coding): Return `nil' in case of errors.
5542 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
5544         * hexl.el (hexl-mode, hexl-mode-exit):
5545         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5546         (hexl-revert-buffer-function): New function.
5547         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5549 2010-10-19  Alan Mackenzie  <acm@muc.de>
5551         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5552         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5553         that these keywords aren't wrongly matched as identifiers.
5555         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5556         setting of c-new-BEG and c-new-END from c-before-change to
5557         c-after-change.  (Bug#7181)
5559 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5561         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5562         Don't mark as safe.
5564         * custom.el (custom-theme-set-variables): Likewise.
5565         (load-theme): Add custom-theme-set-faces and
5566         custom-theme-set-variables to safe-functions while loading.
5567         (custom-enabled-themes): Mark as risky.
5569 2010-10-18  Julien Danjou  <julien@danjou.info>
5571         * bindings.el: Remove end dashes in default mode-line-format.
5573 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5575         * bindings.el (global-map): Bind C-d to delete-char and deletechar
5576         to delete-forward-char.
5578         * simple.el (normal-erase-is-backspace-mode): Remap delete to
5579         deletechar, and hence delete-forward-char.
5581 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5583         * repeat.el (repeat): Use read-key (bug#6256).
5585 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5587         * emacs-lisp/unsafep.el: Don't mark functions that display
5588         messages as safe.  Suggested by Johan Bockgård.
5590 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5592         * minibuffer.el (completion--replace): Move point where it belongs
5593         when there's a common suffix (bug#7215).
5595 2010-10-19  Kenichi Handa  <handa@m17n.org>
5597         * international/characters.el: Add category '|' (word breakable)
5598         to fullwidth characters.
5600 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
5602         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5603         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5604         order to make stat results a float.  Patch by Andreas Schwab
5605         <schwab@linux-m68k.org>.
5607 2010-10-18  Julien Danjou  <julien@danjou.info>
5609         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5610         hidden by `make-pointer-invisible'.
5612 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5614         * files.el (locate-file-completion-table): Strip non-matching elements
5615         before checking length of list (bug#7238).
5617 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
5619         * custom.el (custom-theme-set-variables): Mark as a safe function.
5620         (load-theme): Check forms using unsafep.
5622         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5624 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
5626         * textmodes/ispell.el (ispell-aspell-find-dictionary):
5627         Fix aspell data file searching (bug#7230).
5629 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5631         * cus-theme.el (custom-theme--migrate-settings): New var.
5632         (customize-create-theme): Allow editing the `user' theme.
5633         (custom-theme-add-variable, custom-theme-add-var-1)
5634         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5635         to the front of each variable or face widget.
5636         (custom-theme-write): Save theme settings in the correct order.
5637         Optionally, remove saved settings from user customizations.
5638         (custom-theme-write-variables, custom-theme-write-faces):
5639         Save only the checked widgets.
5640         (customize-themes): Add a link for migrating custom settings.
5642         * custom.el (custom-declare-theme, provide-theme):
5643         Use custom-theme-name-valid-p.
5644         (custom-theme-name-valid-p): Remove checks that are now
5645         unnecessary since themes no longer obey load-path.
5647         * cus-edit.el (custom-variable-value-create): For the simple
5648         style, hide documentation string when hidden.
5650 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5652         * cus-edit.el (custom-variable, custom-face): Combine the
5653         :inhibit-magic and :display-style properties into a single
5654         :custom-style property.
5655         (custom-toggle-hide-variable, custom-toggle-hide-face):
5656         New functions.  If hiding an edited value, save it to :shown-value.
5657         (custom-variable-value-create, custom-face-value-create): Use them.
5658         (custom-magic-reset): Allow magic property to be unset.
5660         * custom.el: Custom themes no longer use load-path.
5661         (custom-theme-load-path): New option.  Change built-in theme
5662         directory to etc/.
5663         (custom-enabled-themes): Add custom-theme-load-path dependency.
5664         (custom-theme--load-path): New function.
5665         (load-theme, custom-available-themes): Use it.
5667         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5668         (customize-themes): Link to custom-theme-load-path variable.
5669         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5670         :custom-style property.
5672         * themes/*.el: Moved to etc/.
5674 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
5676         * textmodes/reftex-cite.el
5677         (reftex-extract-bib-entries-from-thebibliography): Do not move
5678         point when searching for \bibitem entries.  Match entries with
5679         spaces or tabs in front of arguments.
5681 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5683         * cus-theme.el (customize-create-theme): Delete overlays after
5684         erasing.  If given a THEME arg, display only the faces of that arg
5685         instead of custom-theme--listed-faces.
5686         (custom-theme-variable-menu, custom-theme-variable-action)
5687         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5688         (custom-theme-add-variable, custom-theme-add-face): Apply value
5689         from the theme settings, instead of the current value.
5690         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5691         (custom-theme-visit-theme): Allow calling outside theme buffers.
5692         (custom-theme-merge-theme): Don't enable the theme when merging.
5693         (custom-theme-write-variables, custom-theme-write-faces): Use the
5694         :shown-value properties to save buffer values, not global ones.
5695         (customize-themes): Display a warning about user customizations.
5697         * cus-edit.el (custom-variable-value-create)
5698         (custom-face-value-create): Obey new special properties
5699         :shown-value and :inhibit-magic.
5701 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
5703         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5704         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
5705         <dale@codefu.org>.
5707 2010-10-14  Kenichi Handa  <handa@m17n.org>
5709         * mail/rmail.el (rmail-show-message-1): Catch an error of
5710         base64-decode-region and just show an error message (bug#7165).
5712         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
5713         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5714         a font-spec (bug#7197).
5716 2010-10-14  Glenn Morris  <rgm@gnu.org>
5718         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5720 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
5722         * international/mule.el (define-coding-system):
5723         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5724         * composite.el (compose-region): Fix typo in docstring.
5726 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
5728         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5729         only after checking the theme-face property.
5731         * faces.el (face-spec-reset-face): Reset all attributes in one
5732         single call to set-face-attribute.
5733         (face-spec-match-p): Make it a defsubst.
5734         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5735         (x-create-frame-with-faces, tty-create-frame-with-faces)
5736         (tty-set-up-initial-frame-faces): Don't recompute face specs in
5737         frame-set-background-mode, since they are recomputed immediately
5738         afterwards in face-set-after-frame-default.
5739         (face-set-after-frame-default): Minor optimization.
5740         (cursor): Provide non-trivial defface spec.
5742         * custom.el (custom-theme-recalc-face): Simplify.
5744 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
5746         * calc/calc-alg.el (math-var): Rename from `var'.
5747         (math-is-polynomial, math-is-poly-rec): Replace `var'
5748         with `math-var'.
5750         * calc/calcalg2.el (math-var): Rename from `var'.
5751         (calcFunc-table, math-scan-for-limits): Replace `var'
5752         with `math-var'.
5754 2010-10-13  Glenn Morris  <rgm@gnu.org>
5756         * subr.el (last): Deal with dotted lists (reported in bug#7174).
5758 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
5760         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5762 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5764         * net/tls.el (tls-program): Remove spurious %s from openssl.
5765         (tls-starttls-switches): Remove starttls hack.
5766         (open-tls-stream): Ditto.
5767         (tls-find-starttls-argument): Ditto.
5769 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
5771         * image.el (image-library-alist): Declare as obsolete alias.
5772         (image-type-available-p): Use `dynamic-library-alist'.
5774         * term/w32-win.el (dynamic-library-alist):
5775         Use instead of `image-library-alist'.
5777 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
5779         * subr.el (last): Make it faster.  (Bug#7174)
5781 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
5783         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
5785 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5787         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5788         (describe-theme-1): Extract doc from unloaded themes.
5790         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5792         * themes/tango-theme.el:
5793         * themes/tango-dark-theme.el:
5794         * themes/wheatgrass-theme.el: New files.
5796 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5798         * cus-theme.el (describe-theme, customize-themes)
5799         (custom-theme-save): New commands.
5800         (custom-new-theme-mode-map): Bind C-x C-s.
5801         (custom-new-theme-mode): Use custom--initialize-widget-variables.
5802         (customize-create-theme): New optional arg THEME.
5803         (custom-theme-revert): Use it.
5804         (custom-theme-visit-theme): Remove dead code.
5805         (custom-theme-merge-theme): Use custom-available-themes.
5806         (custom-theme-write): Make interactive.
5807         (custom-theme-write): Use custom-theme-name-valid-p.
5808         (describe-theme-1, custom-theme-choose-revert)
5809         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5810         New funs.
5811         (custom-theme-allow-multiple-selections): New option.
5812         (custom-theme-choose-mode): New major mode.
5814         * custom.el (custom-theme-set-variables): Remove dead code.
5815         Obey custom--inhibit-theme-enable.
5816         (custom--inhibit-theme-enable): New var.
5817         (provide-theme): Obey it.
5818         (load-theme): Replace load with manual read/eval, in order to
5819         check for correctness.  Use custom-theme-name-valid-p.
5820         (custom-theme-name-valid-p): New function.
5821         (custom-available-themes): Use it.
5823         * cus-edit.el (custom--initialize-widget-variables): New function.
5824         (Custom-mode): Use it.
5826         * cus-face.el (custom-theme-set-faces): Remove dead code.
5827         Obey custom--inhibit-theme-enable.
5829         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5831 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
5833         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5835 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
5837         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5838         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5839         (mac-right-option-modifier): New alias for ns-right-option-modifier.
5841         * cus-start.el (all): ns-right-alternate-modifier is new.
5843 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5845         * emacs-lisp/lisp.el (lisp-completion-at-point):
5846         Use emacs-lisp-mode-syntax-table for the whole function.
5848 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
5850         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5851         instead of font-lock-mode before adding keywords.
5852         Remove hi-lock-mode off code.  Remove inhibit hack.
5853         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5854         non-nil; removed hook inhibit hack.
5856 2010-10-12  Glenn Morris  <rgm@gnu.org>
5858         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5859         (load-path-shadows-find): ... to this.
5860         (list-load-path-shadows): Update for above change.
5862         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5864 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
5866         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5867         Fix comment for declare-function.
5869 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
5871         * custom.el (custom-fix-face-spec): New function; code moved from
5872         custom-face-edit-fix-value.
5873         (custom-push-theme): Use it when checking if a face has been
5874         changed outside customize.
5875         (custom-available-themes): New function.
5876         (load-theme): Use it.
5878         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5880         * custom.el (custom-push-theme): Cleanup (use cond).
5881         (disable-theme): Recompute the saved-face property.
5882         (custom-theme-recalc-face): Follow face alias before setting prop.
5884         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5885         New variables, containing checkbox images.
5887         * startup.el (fancy-startup-tail):
5888         * wid-edit.el (checkbox): Use them.
5890 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
5892         * shell.el (shell-mode-map):
5893         * progmodes/modula2.el (m2-mode-map):
5894         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5895         * play/mpuz.el (mpuz-mode-map):
5896         * play/landmark.el (lm-mode-map):
5897         * play/decipher.el (decipher-mode-map):
5898         * play/5x5.el (5x5-mode-map):
5899         * net/telnet.el (telnet-mode-map):
5900         * net/quickurl.el (quickurl-list-mode-map):
5901         * net/mairix.el (mairix-searches-mode-map):
5902         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5903         * net/dig.el (dig-mode-map):
5904         * mail/mspools.el (mspools-mode-map):
5905         * hexl.el (hexl-mode-map):
5906         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5907         (wordstar-C-o-map, wordstar-C-q-map):
5908         * emacs-lisp/edebug.el (edebug-eval-mode-map):
5909         * emacs-lisp/chart.el (chart-map):
5910         * edmacro.el (edmacro-mode-map):
5911         * erc/erc-list.el (erc-list-menu-mode-map):
5912         * array.el (array-mode-map): Declare and define in one step.
5914         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5916 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
5918         * epa.el (epa-passphrase-callback-function): Display filename
5919         passed as the 3rd arg.
5920         * epa-file.el (epa-file-passphrase-callback-function):
5921         Pass filename to epa-passphrase-callback-function.
5923 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
5925         * cus-edit.el (custom-face-widget-to-spec)
5926         (custom-face-get-current-spec, custom-face-state): New functions.
5927         (custom-face-set, custom-face-mark-to-save)
5928         (custom-face-value-create, custom-face-state-set): Use them.
5930         * cus-theme.el (custom-theme--listed-faces): New var.
5931         (customize-create-theme): Use *Custom Theme* as the buffer name.
5932         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
5933         faces listed in custom-theme--listed-faces.
5934         (custom-theme-revert): New function.
5935         (custom-theme-add-variable, custom-theme-add-face): Insert at the
5936         bottom of the list.
5937         (custom-theme-write): Prompt for theme name if empty.
5938         (custom-theme-write-variables): Use dolist.
5939         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5941 2010-10-09  Alan Mackenzie  <acm@muc.de>
5943         Enhance fontification of declarators to take account of the
5944         presence/absence of "typedef".
5946         * cc-engine.el (c-forward-type): New &optional param
5947         "brace-block-too".
5948         (c-forward-decl-or-cast-1): cdr of return value now indicates the
5949         presence of either or both of a "struct"-like keyword and "typedef".
5951         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5952         fontification of declarators which follow a "}".
5953         (c-font-lock-declarations): Fontify declarators according to the
5954         presence/absence of "typedef".
5956         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5957         for "typedef".
5958         (c-typedef-decl-key): New lang variable built from
5959         c-typedef-decl-kwds.
5961 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5963         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5964         since that's too annoying.  Move the filter groups commands to
5965         TAB/backtab.
5967         * epa.el (epa-passphrase-callback-function): Say what we're
5968         querying the password for.
5970         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5971         behaviour, don't bury the ibuffer buffer when visiting other buffers.
5973 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5975         * cus-edit.el (custom-commands, custom-buffer-create-internal)
5976         (custom-magic-value-create): Pad button tags with spaces.
5977         (custom-face-edit): New variable.
5978         (custom-face-value-create): Determine whether to use the usual
5979         face editor here, instead of using custom-face-selected.
5980         Pass face defaults to custom-face-edit widget.
5981         (custom-face-selected, custom-display-unselected): Delete widgets.
5982         (custom-display-unselected-match): Function removed.
5983         (custom-face-set, custom-face-mark-to-save):
5984         Accept custom-face-edit widgets as the direct widget child.
5986         * wid-edit.el (widget--completing-widget): New var.
5987         (widget-default-complete): Bind it when doing completion.
5988         (widget-string-complete, widget-file-complete): Use it.
5990 2010-10-09  Glenn Morris  <rgm@gnu.org>
5992         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5993         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5994         (holiday-hebrew-misc): Small simplifications.
5996         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5998         * net/browse-url.el: Don't require thingatpt, term, dired,
5999         executable, or w3-auto when compiling.
6000         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6001         Declare.
6002         (browse-url-text-emacs): Require term.
6004 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
6006         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6008 2010-10-08  Glenn Morris  <rgm@gnu.org>
6010         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6012         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6013         (shadows-compare-text-p): Make it an obsolete alias for...
6014         (load-path-shadows-compare-text): ... new name.
6015         (find-emacs-lisp-shadows): Update for above name change.
6016         (load-path-shadows-same-file-or-nonexistent): New name for the old
6017         shadow-same-file-or-nonexistent.
6019 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
6021         * minibuffer.el (completion--some, completion--do-completion)
6022         (minibuffer-complete-and-exit, minibuffer-completion-help)
6023         (completion-basic-try-completion)
6024         (completion-basic-all-completions)
6025         (completion-pcm--find-all-completions): Use lexical-let to
6026         avoid some false matches in variable completion (Bug#7056)
6028 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
6030         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
6032 2010-10-08  Leo  <sdl.web@gmail.com>
6034         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6035         return non-nil if the file exists (Bug#7090).
6037 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6039         * minibuffer.el (completion--replace):
6040         Better preserve markers (bug#7138).
6042 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
6044         * server.el (server-process-filter): Doc fix.
6046 2010-10-08  Drew Adams  <drew.adams@oracle.com>
6048         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
6050 2010-10-08  Glenn Morris  <rgm@gnu.org>
6052         * vc/ediff-wind.el (ediff-setup-control-frame):
6053         * vc/ediff-ptch.el (ediff-default-backup-extension):
6054         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6055         (ediff-exec-process): Remove system-types emx, windows-95.
6057         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
6059 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
6061         * cus-edit.el (custom-variable, custom-face): Doc fix.
6062         (custom-face-edit): Add value-create attribute.
6063         (custom-face-edit-value-create)
6064         (custom-face-edit-value-visibility-action): New functions.
6065         Hide unused face attributes by default, and add a visibility toggle.
6066         (custom-face-edit-deactivate): Show empty values with shadow face.
6067         (custom-face-selected): Only use this for face specs with default
6068         attributes.
6069         (custom-face-value-create): Cleanup.
6071         * wid-edit.el (widget-checklist-value-create): Use dolist.
6072         (widget-checklist-match-find): Make second arg optional.
6074 2010-10-07  Glenn Morris  <rgm@gnu.org>
6076         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6077         Prefix things.
6079         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6080         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6081         load-path-shadows-mode, update references.
6082         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6083         Rename variable and button.
6084         (list-load-path-shadows): Update button caller.
6086 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6088         * emacs-lisp/smie.el (smie-bnf-classify): New function.
6089         (smie-bnf-precedence-table): Use it to remember the closers/openers.
6090         (smie-merge-prec2s): Handle those new entries.
6091         (smie-prec2-levels): Only set precedence to nil for actual
6092         openers/closers.
6093         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6094         that is now unnecessary.
6096 2010-10-07  Miles Bader  <miles@gnu.org>
6098         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6100 2010-10-07  Glenn Morris  <rgm@gnu.org>
6102         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6103         (mail-position-on-field): Remove declarations.
6104         (mail-position-on-field): Autoload it.
6105         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6106         and mail-header-end.  Don't require sendmail.
6108         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6109         (shadow-mode): New mode.
6110         (shadow-find-file): New button.
6111         (list-load-path-shadows): Use shadow-mode and buttons.
6113         * iimage.el (iimage-version): Remove.
6114         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6115         Turn into defcustoms.
6116         (iimage-mode-map): Give it a doc string.
6118         * calendar/appt.el (appt-activate): Give a warning rather than an error
6119         if there is no diary-file.
6121 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
6123         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6124         Use `tramp-handle-find-backup-file-name'.
6126 2010-10-06  Glenn Morris  <rgm@gnu.org>
6128         * font-core.el (font-lock-defaults-alist): Remove variable.
6129         (font-lock-mode): Doc fix.
6130         (font-lock-default-function): Do not consult font-lock-defaults-alist.
6131         * font-lock.el (font-lock-refresh-defaults): Doc fix.
6132         (font-lock-set-defaults): Doc fix.
6133         Do not consult font-lock-defaults-alist.
6135         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6137         * emacs-lisp/cl.el: No longer provide cl-19.
6139 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
6141         * net/tramp.el (tramp-handle-directory-files-and-attributes)
6142         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6143         New defuns, taken from tramp-smb.el.
6144         (tramp-coding-system-change-eol-conversion)
6145         (tramp-set-process-query-on-exit-flag): Remove.
6147         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6148         (tramp-compat-coding-system-change-eol-conversion)
6149         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6150         from tramp.el.
6152         * net/tramp-gvfs.el:
6153         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6154         by `tramp-compat-set-process-query-on-exit-flag'.
6156         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6157         Use `tramp-handle-directory-files-and-attributes',
6158         `tramp-handle-file-exists-p' and
6159         `tramp-handle-file-newer-than-file-p'.
6160         (tramp-imap-handle-file-exists-p)
6161         (tramp-imap-handle-file-executable-p)
6162         (tramp-imap-handle-file-readable-p)
6163         (tramp-imap-handle-directory-files-and-attributes)
6164         (tramp-imap-handle-file-newer-than-file-p): Remove.
6166         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6167         by `tramp-compat-set-process-query-on-exit-flag' and
6168         `tramp-coding-system-change-eol-conversion' by
6169         `tramp-compat-coding-system-change-eol-conversion'.
6171         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6172         Use `tramp-handle-directory-files-and-attributes',
6173         `tramp-handle-file-exists-p' and
6174         `tramp-handle-file-newer-than-file-p'.
6175         (tramp-smb-handle-directory-files-and-attributes)
6176         (tramp-smb-handle-file-exists-p)
6177         (tramp-smb-handle-file-newer-than-file-p): Remove.
6178         (tramp-smb-maybe-open-connection):
6179         Replace `tramp-set-process-query-on-exit-flag' by
6180         `tramp-compat-set-process-query-on-exit-flag'.
6182 2010-10-05  Glenn Morris  <rgm@gnu.org>
6184         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6186 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
6188         Continue reorganization of load dependencies.  (Bug#7156)
6190         * net/tramp.el (tramp-handle-file-local-copy-hook)
6191         (tramp-delete-temp-file-function): Move down.
6192         (tramp-exists-file-name-handler): Move up.
6193         (tramp-register-file-name-handlers): Simplify autoload.
6194         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6195         (tramp-handle-directory-files, tramp-handle-dired-uncache)
6196         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6197         (tramp-handle-file-name-completion)
6198         (tramp-handle-file-name-directory)
6199         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6200         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6201         (tramp-handle-find-backup-file-name)
6202         (tramp-handle-insert-file-contents, tramp-handle-load)
6203         (tramp-handle-substitute-in-file-name)
6204         (tramp-handle-unhandled-file-name-directory)
6205         (tramp-mode-string-to-int, tramp-local-host-p)
6206         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6208         * net/tramp-gvfs.el (top):
6209         * net/tramp-smb.el (top): Do not require 'tramp-sh.
6211         * net/tramp-sh.el (all): Move several objects to tramp.el, see
6212         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6214 2010-10-04  Glenn Morris  <rgm@gnu.org>
6216         * calendar/appt.el (appt-add): Ensure reminders are enabled.
6217         (appt-activate): Give status messages.
6219 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6221         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
6222         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6223         `gnutls-negotiate' (formerly `starttls-negotiate').
6224         Remove trivial wrapper `starttls-open-stream'.
6226 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
6228         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6229         log-outgoing commands.
6230         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6231         to create a buffer local revert-buffer-function variable.
6232         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6233         revert-buffer-function lambda.
6235 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6237         * net/gnutls.el (starttls-negotiate): Use the plist interface to
6238         `gnutls-boot'.  Make TYPE the only required parameter.
6239         Allow TRUSTFILES and KEYFILES to be lists.
6240         (open-ssl-stream): Use it.
6242 2010-10-03  Glenn Morris  <rgm@gnu.org>
6244         * subr.el (directory-sep-char): Remove obsolete variable.
6245         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6246         it is "necessary".
6248         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6249         * vc/vc.el (vc-static-header-alist): Doc fix.
6250         * vc/vc-cvs.el (vc-cvs-header):
6251         * vc/vc-rcs.el (vc-rcs-header):
6252         * vc/vc-sccs.el (vc-sccs-header):
6253         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6254         * obsolete/vc-mcvs.el (vc-mcvs-header):
6255         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6256         on XEmacs.
6258 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6260         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6261         Remove obsolete use of binary-overwrite-mode (Bug#7001).
6263 2010-10-03  Glenn Morris  <rgm@gnu.org>
6265         * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6267         * textmodes/rst.el (rst-font-lock-keywords-function):
6268         Drop Emacs 20 code.
6270         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6272         * printing.el: Drop Emacs 20 code.
6274         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6275         without having used appt.el already).
6277         * subr.el (make-local-hook): Remove function obsolete since 21.1.
6278         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6279         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6280         XEmacs.
6281         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6282         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6284         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6285         (charset-width, find-charset-region, chars-in-region, forward-point)
6286         (encode-coding-string, coding-system-p, ccl-execute-on-string)
6287         (define-ccl-program, multibyte-string-p, string-make-multibyte):
6288         Remove compatibility cruft (none of these are used by ps*.el).
6290 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
6292         * subr.el (booleanp): Return t instead of a list (Bug#7086).
6294 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6296         * server.el (server-process-filter, server-return-error):
6297         Give emacsclient time to shut down after receiving an error string.
6299 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
6301         * files.el (remote-file-name-inhibit-cache): New defcustom.
6303         * time.el (display-time-file-nonempty-p):
6304         Use `remote-file-name-inhibit-cache'.
6306         * net/tramp.el (tramp-completion-reread-directory-timeout):
6307         Fix docstring.
6309         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6310         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6311         `remote-file-name-inhibit-cache'.  Check also for an integer
6312         value.  Add/increase counter when `tramp-verbose' >= 10.
6313         (tramp-set-file-property): Add/increase counter when
6314         `tramp-verbose' >= 10.
6316         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6317         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6318         (tramp-bug): Set tramp-autoload cookie.  Report all interned
6319         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
6320         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
6321         characters only in strings.
6323         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6324         to backward compatibility.
6326         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6327         (tramp-handle-file-name-all-completions)
6328         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6329         (tramp-open-connection-setup-interactive-shell):
6330         Call `tramp-cleanup-connection' directly.
6332 2010-10-02  Glenn Morris  <rgm@gnu.org>
6334         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6336         * subr.el (char-bytes): Remove obsolete function.
6338         * isearch.el (isearch-return-char): Remove obsolete function.
6340         * mouse.el: No longer provide mldrag.
6341         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6342         Remove obsolete aliases.
6344         * comint.el (comint-kill-output): Remove obsolete alias.
6346         * composite.el (decompose-composite-char): Remove obsolete function.
6347         * ps-def.el (decompose-composite-char): Remove unused function.
6349         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6351         * outline.el (outline-visible): Remove obsolete function.
6353         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6354         * faces.el (internal-find-face, internal-get-face)
6355         (frame-update-faces, frame-update-face-colors)
6356         (x-frob-font-weight, x-frob-font-slant)
6357         (internal-frob-font-weight, internal-frob-font-slant)
6358         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6359         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6360         (x-make-font-bold-italic): Remove functions and aliases, obsolete
6361         since Emacs 21.1.
6362         * emulation/viper-util.el (viper-get-face):
6363         * obsolete/lucid.el (find-face, get-face): Use facep.
6364         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6365         Remove unused functions.
6366         * vc/ediff-util.el (ediff-submit-report): Doc fix.
6368         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6369         delete tempfile if interrupted during compilation.
6371 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6373         * net/tls.el (tls-starttls-switches): Give up on using starttls with
6374         gnutls-cli.
6375         (tls-program): Add --insecure to be consistent with the defaults from
6376         openssl s_client.  Now all three commands are insecure.
6378 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
6380         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6381         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6382         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6384 2010-10-01  Glenn Morris  <rgm@gnu.org>
6386         * obsolete/sc.el: Remove file.
6388         * files.el (temporary-file-directory): On darwin, also try
6389         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6391 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
6393         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6394         Let's not break compatibility gratuitously, shall we?
6396 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6398         * net/tls.el (tls-starttls-switches): New variable.
6399         (tls-find-starttls-argument): Use it.
6400         (open-tls-stream): Ditto.
6402         * net/netrc.el (netrc-credentials): Return the value of the "default"
6403         entry.
6404         (netrc-machine): Ditto.
6406 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
6408         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6410 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
6412         * server.el (server-start): Don't write pid to the authentication file.
6413         (server-create-tty-frame): Don't send pid.
6414         (server-process-filter): Send pid at the start of every connection.
6416 2010-09-30  Glenn Morris  <rgm@gnu.org>
6418         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6419         (show-all-diary-entries): Remove obsolete function aliases.
6421         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6422         Remove options, obsolete since 22.1.
6423         (appt-display-format, appt-display-message):
6424         Remove backwards-compatibility code.
6425         (appt-check): No longer check appt-issue-message.
6426         (appt-make-list): No longer autoload it.  Doc fix.  No longer
6427         activate the package.
6429 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6431         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6432         (starttls-negotiate): Just call boot, and let the handshake be
6433         triggered from the read loop.
6435 2010-09-29  Glenn Morris  <rgm@gnu.org>
6437         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6438         not displaying the diary.
6439         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6440         * calendar/appt.el (appt-check): No longer need to kill diary.
6442         * calendar/diary-lib.el (diary-list-entries): Move the
6443         "Preparing..." message entirely here.
6444         (diary-simple-display, diary-fancy-display): Move "Preparing..."
6445         messages to diary-list-entries.
6446         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6447         diary-display-function.
6449         * calendar/diary-lib.el (diary-include-other-diary-files):
6450         Trap some recursive includes.
6452         * calendar/appt.el (appt-activate): Check diary file.
6454 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
6456         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6457         construction.
6459         * calendar/time-date.el: No need to require cl for Emacs 21.
6461 2010-09-28  Glenn Morris  <rgm@gnu.org>
6463         * calendar/appt.el (appt-check): Minor simplification.
6465 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
6467         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6468         citation prefix.
6470 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
6472         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6473         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
6475 2010-09-27  Kenichi Handa  <handa@m17n.org>
6477         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6478         "ustar" format.
6480 2010-09-27  Kenichi Handa  <handa@m17n.org>
6482         * international/mule.el (define-coding-system): Docstring fixed.
6484         * international/mule-diag.el (describe-character-set): Use princ
6485         with proper print-length and print-level instead of insert.
6487 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
6489         * window.el (walk-windows): Doc fix (bug#7105).
6491 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6493         * emacs-lisp/float-sup.el (e): Remove.
6495 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
6497         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6498         variable.
6499         (starttls-negotiate): Use it.
6501 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6503         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6504         back.
6506 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6508         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6510 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6512         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6514         * net/netrc.el (netrc-store-data): New function.
6516 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
6518         * net/gnutls.el: GnuTLS glue code to set up a connection.
6520 2010-09-25  Julien Danjou  <julien@danjou.info>
6522         * notifications.el: Call dbus-register-signal only if it is bound.
6524 2010-09-25  Glenn Morris  <rgm@gnu.org>
6526         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6527         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6528         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6529         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6530         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6531         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6532         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6533         * eshell/esh-util.el, eshell/esh-var.el:
6534         Remove leading `*' from docs of faces and defcustoms.
6536 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
6538         * eshell/em-ls.el (eshell-ls-archive-regexp):
6539         * eshell/esh-util.el (eshell-tar-regexp):
6540         * ibuffer.el (ibuffer-compressed-file-name-regexp):
6541         * info.el (Info-suffix-list):
6542         * international/mule.el (auto-coding-alist):
6543         * woman.el (woman-file-regexp, woman-file-compression-regexp):
6544         * progmodes/etags.el (tags-compression-info-list):
6545         Support xz compression.
6547 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
6549         * files.el (get-free-disk-space): Don't assume the "df" output
6550         columns line up (Bug#6995).
6552 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6554         * finder.el (finder-unknown-keywords):
6555         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6556         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6558 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6560         * server.el (server-start): Revert part of 2010-08-08 change.  Using
6561         address 127.0.0.1 for local host is now done in Fmake_network_process.
6563 2010-09-24  Glenn Morris  <rgm@gnu.org>
6565         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6566         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6567         * textmodes/css-mode.el, textmodes/dns-mode.el:
6568         Move autoloaded auto-mode-alist entries to files.el.
6569         * files.el (auto-mode-alist): Move entries here.
6571 2010-09-23  Glenn Morris  <rgm@gnu.org>
6573         * isearch.el (isearch-lazy-highlight-cleanup)
6574         (isearch-lazy-highlight-initial-delay)
6575         (isearch-lazy-highlight-interval)
6576         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6577         * net/net-utils.el (ipconfig-program-options):
6578         Move aliases to options before the associated definitions.
6580 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6582         * newcomment.el (comment-normalize-vars): Better test validity of
6583         comment-end-skip.
6585 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6587         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6588         (float-e): New name for `e'.
6589         (degrees-to-radians, radians-to-degrees):
6590         * calendar/solar.el (solar-longitude):
6591         * calculator.el (calculator-registers, calculator-funcall):
6592         * textmodes/artist.el (artist-spray-random-points):
6593         * play/bubbles.el (bubbles--initialize-images): Use new names.
6595 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
6597         Update to CEDET 1.0's version of EIEIO.
6599         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6600         New function.
6601         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6602         (eieio-default-eval-maybe): Eval val instead of unquoting only.
6603         (class-precedence-list): If class is nil, return nil.
6604         (eieio-generic-call): If class of first input arg is nil, don't
6605         look up static methods, and do check for primary methods.
6606         (initialize-instance): See if the default needs to be evaluated
6607         during the constructor.
6608         (eieio-perform-slot-validation-for-default): Don't do the check
6609         for values that will eventually be evaluated.
6610         (eieio-eval-default-p): New function.
6611         (eieio-default-eval-maybe): Use it.
6613 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6615         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6616         method-invocation-order.
6617         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6618         (eieio-class-precedence-dfs): Compute class precedence list using
6619         dfs algorithm.
6620         (eieio-class-precedence-bfs): Compute class precedence list using
6621         bfs algorithm.
6622         (eieio-class-precedence-c3): Compute class precedence list using
6623         c3 algorithm.
6624         (class-precedence-list): New function.
6625         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6626         (inconsistent-class-hierarchy): New error symbol.
6627         (call-next-method): Stow the replacement argument list for future
6628         call-next-method invocations.
6630 2010-09-23  Glenn Morris  <rgm@gnu.org>
6632         * calendar/appt.el (appt-check): If not displaying the diary,
6633         use (diary 1) to only get the entries we need.
6634         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6635         that it is in day order.  (Bug#7019)
6637         * calendar/appt.el (appt-check): Rather than showing the diary,
6638         just turn off invisible display, and only if needed.
6640         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
6642 2010-09-23  Glenn Morris  <rgm@gnu.org>
6644         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6645         (byte-compile-defvar, byte-compile-cl-warn):
6646         Start warnings with lower-case, like the majority.
6648         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6650         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
6652         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6653         * files.el (auto-mode-alist): Move ld-script entries here, further down
6654         the list.
6656         * vc/add-log.el: Don't require timezone when compiling.
6657         (timezone-make-date-sortable): Autoload it.
6658         (change-log-sortable-date-at): Don't require timezone.
6659         Use `ignore-errors'.
6661         * comint.el (comint-use-prompt-regexp-instead-of-fields):
6662         Move alias before definition, so it does not need autoloading.
6664         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6665         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6666         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6667         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6668         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6669         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6670         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6671         * textmodes/tex-mode.el, textmodes/two-column.el:
6672         Remove leading `*' from docs of defcustoms etc.
6674 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
6676         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6678 2010-09-22  Dan Christensen  <jdc@uwo.ca>
6680         * calendar/time-date.el (date-to-time): Try using parse-time-string
6681         first before using the slower timezone-make-date-arpa-standard.
6683 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
6685         * calendar/time-date.el (format-seconds): Comment fix.
6687 2010-09-22  Glenn Morris  <rgm@gnu.org>
6689         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6690         is not automatically buffer-local.
6692 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6694         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6695         (smie-indent-comment): Be more careful with comment-start-skip.
6696         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6697         (smie-indent-functions): Use them.
6699 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
6701         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6703 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
6705         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6706         tool-bar-position.  Don't modify frame parameters here.
6707         (menu-bar-options-save): Add tool-bar-position.
6709         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6711 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6713         * textmodes/reftex-parse.el (reftex-what-macro)
6714         (reftex-context-substring): Let-bind forward-sexp-function to nil
6715         since we don't need/want to treat \begin...\end as a block (bug#7053).
6717         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6719         * simple.el (blink-matching-open): Use syntax-class.
6721         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6722         Set invisibility spec for pascal's outline mode.
6723         (pascal-outline-change): Clean up calling convention.
6724         (pascal-show-all, pascal-hide-other-defuns): Update callers.
6726         * progmodes/prolog.el (prolog-smie-forward-token)
6727         (prolog-smie-backward-token): New functions.
6728         (prolog-mode-variables): Use them to parse "!," correctly.
6729         Set up smie-blink-matching for ".".
6731         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6732         and `end'.
6733         (ispell-region, ispell-process-line): Update users.
6735         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6736         point-min==1.
6738         * textmodes/ispell.el: Fix commenting convention.
6739         (ispell-parse-output): Simplify, use push.
6740         (ispell-region): Use match-string-no-properties.
6741         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6742         (ispell-minor-mode): Use define-minor-mode.
6743         (ispell-message): Remove unused var `skip-regexp'.
6744         (ispell-add-per-file-word-list): Use dynamic let-binding.
6745         Try and use the proper comment marker.
6747         * mail/sendmail.el: Fix commenting convention.
6748         (sendmail-send-it): Use line-beginning-position.
6750         * help-fns.el (describe-variable): Add original value, if applicable.
6752 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
6754         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6756         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6758 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6760         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6761         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6762         (smie-prec2-levels): Use them to better diagnose precedence cycles.
6763         (smie-blink-matching-check): Don't signal a mismatch if car is t.
6764         (smie-blink-matching-open): Rewrite to remove assumptions, so that
6765         something like "." can also be a closer.
6766         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6767         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6768         Rename internal functions to use "--".  Update callers.
6770         * frame.el (make-frame-names-alist): Don't list frames on other displays.
6772         * fringe.el (fringe-styles): New var.
6773         (fringe-mode, fringe-query-style): Use it.
6775 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
6777         * progmodes/sql.el: Version 2.8
6778         (sql-login-params): Update widget structure; changes still needed.
6779         (sql-product-alist): Add :list-all and :list-table features for
6780         SQLite, Postgres and MySQL products.
6781         (sql-redirect): Handle default value.
6782         (sql-execute, sql-execute-feature): New functions.
6783         (sql-read-table-name): New function.
6784         (sql-list-all, sql-list-table): New functions.  User API.
6785         (sql-mode-map, sql-interactive-mode-map): Add key definitions
6786         for above functions.
6787         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6788         for above functions.
6789         (sql-postgres-login-params): Add user and database defaults.
6790         (sql-buffer-live-p): Bug fix.
6791         (sql-product-history): New variable.
6792         (sql-read-product): New function.  Use it.
6793         (sql-set-product, sql-product-interactive): Use it.
6794         (sql-connection-history): New variable.
6795         (sql-read-connection): New function.  Use it.
6796         (sql-connect): New function.
6797         (sql-for-each-login): Redesign function interface.
6798         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6799         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
6800         (sql-comint): Check for program.  Existing live buffer.
6801         (sql-comint-postgres): Add port parameter.
6803 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6805         * emacs-lisp/warnings.el: Fix commenting convention.
6806         (display-warning): Use special mode and make the buffer read-only.
6808 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
6810         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6811         empty string when it follows a repeated or optional pattern.
6813 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6815         * indent.el (indent-according-to-mode): Apply syntax-propertize.
6816         (indent-region): Use indent-according-to-mode.
6818 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
6820         * fringe.el (fringe-mode): Doc fix.
6822 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
6824         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6825         refreshing the preview buffer.
6827 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6829         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6830         (latex-syntax-propertize-rules): New consts; replace
6831         tex-font-lock-syntactic-keywords.
6832         (tex-env-mark, latex-env-before-change): New functions.
6833         (latex-electric-env-pair-mode): New minor mode.
6834         (tex-font-lock-verb): Change arguments; do move point.
6835         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6836         representation as a form of comment.
6837         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6838         (doctex-syntax-propertize-rules): New const; replaces
6839         doctex-font-lock-syntactic-keywords.
6840         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6842         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6843         (fortran-make-syntax-propertize-function): New function; replaces
6844         fortran-font-lock-syntactic-keywords.
6845         (fortran-mode): Use it.
6846         (fortran-line-length): Use it.  Improve interactive spec.
6848         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6849         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
6850         when adding surrounding \(..\).
6852         * progmodes/js.el (js-mode): Fix last change (bug#7054).
6854 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6856         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6857         Use with-current-buffer.
6859         * isearch.el (isearch-face): Rename from `isearch'.
6860         (isearch-highlight): Use new name.
6862 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
6864         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6865         5, for `half' width fringes.  (Bug#6933)
6867 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6869         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6870         (byte-compile-defvar): "foo/bar" does not lack a prefix.
6872         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6874 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
6876         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6877         in calculating new frame position.  Add more space between new and
6878         parent on the left (Bug#7048).
6880 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
6882         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6883         defmacro.
6885 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
6887         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6889         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6890         obsolete alias for x-selection-value.
6892         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6894 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
6896         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6897         cookie.
6899 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
6901         * net/tramp-compat.el (tramp-compat-with-temp-message)
6902         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6903         (tramp-compat-process-put): New defuns.
6905         * net/tramp.el (top):
6906         * net/tramp-gvfs.el (top):
6907         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6909         * net/tramp.el (tramp-progress-reporter-update):
6910         Use `tramp-compat-funcall'.
6912         * net/tramp.el (tramp-process-actions):
6913         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6914         * net/tramp-sh.el (tramp-handle-vc-registered)
6915         (tramp-get-remote-stat, tramp-get-remote-readlink):
6916         Use `tramp-compat-with-temp-message'.
6918         * net/tramp-sh.el (top): Require 'cl.
6919         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6920         (tramp-open-connection-setup-interactive-shell):
6921         Use `tramp-compat-process-put'.
6923 2010-09-15  Alan Mackenzie  <acm@muc.de>
6925         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6926         indentation.
6927         (c-forward-<>-arglist-recur): Fix an infinite recursion.
6929 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6931         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6932         `lexical' for warnings related to lexical scoping.
6933         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6934         global vars which don't have a prefix and could hence affect lexical
6935         scoping in unrelated files.
6937 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6939         * net/imap.el: Revert back to version
6940         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6941         seem problematic.
6943 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
6945         * obsolete/old-whitespace.el (whitespace-unload-function):
6946         Explicitly pass `obarray' to `unintern' to avoid a warning.
6948 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6950         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6951         Add `when' argument.  Update callers.
6953         * subr.el (unintern): Declare the obarray arg mandatory.
6955 2010-09-14  Glenn Morris  <rgm@gnu.org>
6957         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6958         Doc fixes.
6960         * calendar/diary-lib.el (diary-included-files): New variable.
6961         (diary-list-entries): Maybe initialize diary-included-files.
6962         (diary-include-other-diary-files): Append to diary-included-files.
6963         * calendar/appt.el (appt-update-list): Also check the members of
6964         diary-included-files.  (Bug#6999)
6965         (appt-check): Doc fix.
6967 2010-09-14  David Reitter  <david.reitter@gmail.com>
6969         * simple.el (line-move-visual): Do not truncate goal column to
6970         integer size.  (Bug#7020)
6972 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6974         * repeat.el (repeat): Allow repeating when the last event is a click.
6975         Suggested by Drew Adams (bug#6256).
6977 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
6979         * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
6980         Replace setting HGRCPATH to "" by some less invasive --config options.
6982 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6984         * font-lock.el (font-lock-beginning-of-syntax-function):
6985         Mark as obsolete.
6987 2010-09-14  Glenn Morris  <rgm@gnu.org>
6989         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6990         and tool-bar modes.  (Bug#6211)
6991         (menu-bar-mode): Move setting of standard-value after the
6992         minor-mode definition, otherwise it seems to have no effect.
6994 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
6996         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6997         Fix typo.  (Bug#6976)
6999 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7001         * whitespace.el: Allow cleaning up blanks without blank
7002         visualization (Bug#6651).  Adjust help window for
7003         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7004         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
7005         (whitespace-style): Add new value 'face.  Adjust docstring.
7006         (whitespace-space, whitespace-hspace, whitespace-tab):
7007         Adjust foreground property face.
7008         (whitespace-line-column): Adjust docstring and type declaration.
7009         (whitespace-style-value-list, whitespace-toggle-option-alist)
7010         (whitespace-help-text): Adjust const initialization.
7011         (whitespace-toggle-options, global-whitespace-toggle-options):
7012         Adjust docstring.
7013         (whitespace-display-window, whitespace-interactive-char)
7014         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7015         (whitespace-help-scroll): New fun.
7017 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
7019         * calendar/time-date.el (format-seconds): Comment fix.
7021 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
7023         * progmodes/sql.el: Version 2.7.
7024         (sql-buffer-live-p): Improve detection.
7025         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7026         (sql-set-sqli-buffer): Use it.
7027         (sql-product-interactive): Run `sql-set-sqli-hook'.
7028         (sql-rename-buffer): Code cleanup.
7029         (sql-redirect, sql-redirect-value): New functions.  More to come.
7031 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
7033         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.
7034         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7035         (TRAMP_SRC): New macro.
7036         ($(lisp)/net/tramp-loaddefs.el): New target.
7038 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
7040         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
7042         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
7044         * net/tramp.el (top): Don't show loading message.  Require just
7045         'tramp-compat, everything else is required there.
7046         Use `ignore-errors' where appropriate.
7047         (tramp-inline-compress-start-size, tramp-copy-size-limit)
7048         (tramp-terminal-type, tramp-end-of-output)
7049         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7050         (tramp-completion-function-alist-ssh)
7051         (tramp-completion-function-alist-telnet)
7052         (tramp-completion-function-alist-su)
7053         (tramp-completion-function-alist-putty, tramp-remote-path)
7054         (tramp-remote-process-environment, tramp-sh-extra-args)
7055         (tramp-actions-before-shell, tramp-uudecode)
7056         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7057         (tramp-perl-file-attributes)
7058         (tramp-perl-directory-files-and-attributes)
7059         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7060         (tramp-perl-encode, tramp-perl-decode)
7061         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7062         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7063         (tramp-handle-make-symbolic-link, tramp-handle-load)
7064         (tramp-handle-file-name-as-directory)
7065         (tramp-handle-file-name-directory)
7066         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7067         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7068         (tramp-do-file-attributes-with-ls)
7069         (tramp-do-file-attributes-with-perl)
7070         (tramp-do-file-attributes-with-stat)
7071         (tramp-handle-set-visited-file-modtime)
7072         (tramp-handle-verify-visited-file-modtime)
7073         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7074         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7075         (tramp-handle-file-selinux-context)
7076         (tramp-handle-set-file-selinux-context)
7077         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7078         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7079         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7080         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7081         (tramp-handle-file-ownership-preserved-p)
7082         (tramp-handle-directory-file-name, tramp-handle-directory-files)
7083         (tramp-handle-directory-files-and-attributes)
7084         (tramp-do-directory-files-and-attributes-with-perl)
7085         (tramp-do-directory-files-and-attributes-with-stat)
7086         (tramp-handle-file-name-all-completions)
7087         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7088         (tramp-handle-copy-file, tramp-handle-copy-directory)
7089         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7090         (tramp-do-copy-or-rename-file-via-buffer)
7091         (tramp-do-copy-or-rename-file-directly)
7092         (tramp-do-copy-or-rename-file-out-of-band)
7093         (tramp-handle-make-directory, tramp-handle-delete-directory)
7094         (tramp-handle-delete-file)
7095         (tramp-handle-dired-recursive-delete-directory)
7096         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7097         (tramp-handle-insert-directory)
7098         (tramp-handle-unhandled-file-name-directory)
7099         (tramp-handle-expand-file-name)
7100         (tramp-handle-substitute-in-file-name)
7101         (tramp-handle-executable-find, tramp-process-sentinel)
7102         (tramp-handle-start-file-process, tramp-handle-process-file)
7103         (tramp-handle-call-process-region, tramp-handle-shell-command)
7104         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7105         (tramp-handle-insert-file-contents)
7106         (tramp-handle-insert-file-contents-literally)
7107         (tramp-handle-find-backup-file-name)
7108         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7109         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7110         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7111         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7112         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7113         (tramp-find-file-exists-command, tramp-open-shell)
7114         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7115         (tramp-open-connection-setup-interactive-shell)
7116         (tramp-local-coding-commands, tramp-remote-coding-commands)
7117         (tramp-find-inline-encoding, tramp-call-local-coding-command)
7118         (tramp-inline-compress-commands, tramp-find-inline-compress)
7119         (tramp-compute-multi-hops, tramp-maybe-open-connection)
7120         (tramp-send-command, tramp-wait-for-output)
7121         (tramp-send-command-and-check, tramp-barf-unless-okay)
7122         (tramp-send-command-and-read, tramp-mode-string-to-int)
7123         (tramp-convert-file-attributes, tramp-check-cached-permissions)
7124         (tramp-file-mode-from-int, tramp-file-mode-permissions)
7125         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7126         (tramp-method-out-of-band-p, tramp-local-host-p)
7127         (tramp-get-remote-path, tramp-get-remote-tmpdir)
7128         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7129         (tramp-get-test-command, tramp-get-test-nt-command)
7130         (tramp-get-file-exists-command, tramp-get-remote-ln)
7131         (tramp-get-remote-perl, tramp-get-remote-stat)
7132         (tramp-get-remote-readlink, tramp-get-remote-trash)
7133         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7134         (tramp-get-local-uid, tramp-get-local-gid)
7135         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7136         tramp-sh.el.
7137         (tramp-methods, tramp-default-method-alist)
7138         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7139         Move initialization to tramp-sh.el.
7140         (tramp-temp-name-prefix): Make it a defconst.
7141         (tramp-dissect-file-name): Don't check anymore for multi-hop
7142         methods.
7143         (tramp-debug-outline-regexp): Add a docstring.
7144         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7145         (tramp-get-debug-buffer): Use it.
7147         * net/tramp-cache.el (top): Set tramp-autoload cookie for
7148         initialization forms.
7149         (tramp-set-connection-property): Don't protect `tramp-message'
7150         call, it isn't necessary any longer.
7151         (tramp-dump-connection-properties): Use `ignore-errors'.
7153         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7154         'password-cache and 'auth-source.
7156         * net/tramp-gvfs.el (top):
7157         * net/tramp-smb.el (top): Require 'tramp-sh.
7159         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7161         * net/tramp-sh.el: New file, derived from tramp.el.
7162         (top): Initialize `tramp-methods', `tramp-default-method-alist',
7163         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7164         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7165         Use `ignore-errors' where appropriate.
7166         (tramp-sh-file-name-handler-alist): Rename from
7167         `tramp-file-name-handler-alist'.
7168         (tramp-send-command-and-check): Return t or nil.  Remove all
7169         `zerop' checks, where called.
7170         (tramp-handle-set-file-modes)
7171         (tramp-do-copy-or-rename-file-directly)
7172         (tramp-handle-delete-directory, tramp-handle-delete-file)
7173         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7174         (tramp-sh-file-name-handler, tramp-send-command-and-check)
7175         (tramp-get-remote-ln): Set tramp-autoload cookie.
7177         * net/tramp-fish.el: Remove file.
7179 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
7181         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7182         buffer-file-name to avoid file-locking.  (Bug#7026)
7184 2010-09-13  Julien Danjou  <julien@danjou.info>
7186         * notifications.el (notifications-notify): Add support for
7187         image-path and sound-name.
7188         (notifications-specification-version): Add this variable.
7190 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7192         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7194 2010-09-12  Leo  <sdl.web@gmail.com>
7196         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7197         (rcirc-completion-start): New variables.
7198         (rcirc-nick-completions): Rename to rcirc-completions.
7199         (rcirc-nick-completion-start-offset): Delete.
7200         (rcirc-completion-at-point): New function for constructing
7201         completion data for both nicks and irc commands.  Add to
7202         completion-at-point-functions in rcirc mode.
7203         (rcirc-complete): Rename from rcirc-nick-complete; use
7204         rcirc-completion-at-point.
7205         (defun-rcirc-command): Update rcirc-client-commands.
7207 2010-09-11  Glenn Morris  <rgm@gnu.org>
7209         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7210         atomically, to avoid parallel build errors.  (Bug#4196)
7212 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
7214         * progmodes/sql.el: Version 2.6
7215         (sql-dialect): Synonym for "sql-product".
7216         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7217         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7218         Set "sql-buffer" to buffer name not buffer object so multiple sql
7219         interactive buffers work properly.  Reverts misguided changes in
7220         earlier work.
7221         (sql-comint): Make sure different buffer name is used if "*SQL*"
7222         buffer is for a different product.
7223         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7224         login param.
7225         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7226         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7227         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7228         Accept new buffer name or prompt for one.
7229         (sql-port): Default to zero.
7230         (sql-comint-mysql): Handle "sql-port" as a numeric.
7231         (sql-port-history): Delete unused variable.
7232         (sql-get-login): Default "sql-port" to a number.
7233         (sql-product-alist): Correct Postgres prompt and terminator regexp.
7234         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7235         "sqlite3" executables.
7236         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7237         (sql-buffer-live-p): New function.
7238         (sql-mode-menu, sql-send-string): Use it.
7239         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7240         syntax pattern.
7241         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7242         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7244 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7246         * net/netrc.el (netrc-credentials): New convenience function.
7248 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7250         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7251         to replace texinfo-font-lock-syntactic-keywords.
7252         (texinfo-mode): Use it.
7254         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7255         Use syntax-propertize-function.
7257         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7258         replace sgml-font-lock-syntactic-keywords.
7259         (sgml-mode): Use it.
7261         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7262         since we don't use it.
7264         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7266         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7267         if available.
7268         (vhdl-fontify-buffer): Adjust.
7270         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7271         replace tcl-font-lock-syntactic-keywords.
7272         (tcl-mode): Use it.
7274         * progmodes/simula.el (simula-syntax-propertize-function): New var to
7275         replace simula-font-lock-syntactic-keywords.
7276         (simula-mode): Use it.
7278         * progmodes/sh-script.el (sh-st-symbol): Remove.
7279         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7280         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7281         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7282         (sh-font-lock-paren): Set syntax-multiline.
7283         (sh-font-lock-syntactic-keywords): Remove.
7284         (sh-syntax-propertize-function): New function to replace it.
7285         (sh-mode): Use it.
7287         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7288         Define while compiling.
7289         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7290         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7291         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7292         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7293         (ruby-here-doc-end-syntax): Only define when
7294         syntax-propertize is not available.
7295         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7296         New functions.
7297         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7298         (electric-indent-chars): Silence bytecompiler.
7299         (ruby-mode): Use prog-mode, syntax-propertize-function, and
7300         electric-indent-chars.
7302         * progmodes/python.el (python-syntax-propertize-function): New var to
7303         replace python-font-lock-syntactic-keywords.
7304         (python-mode): Use it.
7305         (python-quote-syntax): Simplify and adjust to new use.
7307         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7308         replace perl-font-lock-syntactic-keywords.
7309         (perl-syntax-propertize-special-constructs): New fun to replace
7310         perl-font-lock-special-syntactic-constructs.
7311         (perl-font-lock-syntactic-face-function): New fun.
7312         (perl-mode): Use it.
7314         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7315         to replace octave-font-lock-close-quotes.
7316         (octave-syntax-propertize-function): New function to replace
7317         octave-font-lock-syntactic-keywords.
7318         (octave-mode): Use it.
7320         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7321         replaces mixal-font-lock-syntactic-keywords.
7322         (mixal-mode): Use it.
7324         * progmodes/make-mode.el (makefile-syntax-propertize-function):
7325         New var; replaces makefile-font-lock-syntactic-keywords.
7326         (makefile-mode): Use it.
7327         (makefile-imake-mode): Adjust.
7329         * progmodes/js.el (js--regexp-literal): Define while compiling.
7330         (js-syntax-propertize-function): New var; replaces
7331         js-font-lock-syntactic-keywords.
7332         (js-mode): Use it.
7334         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7335         replaces gdb-script-font-lock-syntactic-keywords.
7336         (gdb-script-mode): Use it.
7338         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7339         (fortran--font-lock-syntactic-keywords): New var.
7340         (fortran-line-length): Update syntax-propertize-function and
7341         fortran--font-lock-syntactic-keywords.
7343         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7345         * progmodes/cfengine.el (cfengine-mode):
7346         Use syntax-propertize-function.
7347         (cfengine-font-lock-syntactic-keywords): Remove.
7349         * progmodes/autoconf.el (autoconf-mode):
7350         Use syntax-propertize-function.
7351         (autoconf-font-lock-syntactic-keywords): Remove.
7353         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7354         (ada-after-change-function, ada-initialize-syntax-table-properties)
7355         (ada-handle-syntax-table-properties): Only define when
7356         syntax-propertize is not available.
7357         (ada-mode): Use syntax-propertize-function.
7359         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7360         (font-lock-fontify-syntactic-keywords-region): Move handling of
7361         font-lock-syntactically-fontified to...
7362         (font-lock-default-fontify-region): ...here.
7363         Let syntax-propertize-function take precedence.
7364         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7366         * emacs-lisp/syntax.el (syntax-propertize-function)
7367         (syntax-propertize-chunk-size, syntax-propertize--done)
7368         (syntax-propertize-extend-region-functions): New vars.
7369         (syntax-propertize-wholelines, syntax-propertize-multiline)
7370         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7371         (syntax-propertize): New functions.
7372         (syntax-propertize-rules): New macro.
7373         (syntax-ppss-flush-cache): Set syntax-propertize--done.
7374         (syntax-ppss): Call syntax-propertize.
7376         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7378 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
7380         * textmodes/ispell.el (ispell-init-process): Improve comments.
7381         XEmacs compatibility changes regarding (add-hook) 'local option
7382         and (set-process-query-on-exit-flag).
7384 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
7386         * net/tramp-cache.el (tramp-parse-connection-properties):
7387         Set tramp-autoload cookie.
7389 2010-09-09  Glenn Morris  <rgm@gnu.org>
7391         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7392         (imagemagick-register-types): Doc fix.
7394 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7396         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7398         * progmodes/js.el (require): Require is already "eval-and-compile".
7399         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
7400         (js--re-search-backward): Use js--re-search-forward.
7402         * progmodes/fortran.el (fortran-line-length): Don't recompute
7403         syntactic keywords redundantly a second time.
7405         * progmodes/ada-mode.el: Replace "(set '" with setq.
7406         (ada-mode): Simplify.
7407         (ada-create-case-exception, ada-adjust-case-interactive)
7408         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7409         (ada-search-ignore-string-comment, ada-move-to-start)
7410         (ada-move-to-end): Use with-syntax-table.
7412         * font-lock.el (save-buffer-state): Remove `varlist' arg.
7413         (font-lock-unfontify-region, font-lock-default-fontify-region):
7414         Update usage correspondingly.
7415         (font-lock-fontify-syntactic-keywords-region):
7416         Set parse-sexp-lookup-properties buffer-locally here.
7417         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7419         * simple.el (blink-matching-open): Don't burp if we can't find a match.
7421 2010-09-08  Glenn Morris  <rgm@gnu.org>
7423         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7424         Error if not compiled with -DBYTE_CODE_METER.
7426         * emacs-lisp/bytecomp.el (byte-recompile-directory):
7427         Ignore dir-locals-file.
7429 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7431         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7432         Not a const.
7433         (compilation-error-regexp-alist-alist): Rule out ": " in file names
7434         for the `gnu' messages.
7435         (compilation-set-skip-threshold): New command.
7436         (compilation-start): Use \' rather than $.
7437         (compilation-forget-errors): Use clrhash.
7439 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
7441         * textmodes/ispell.el (ispell-valid-dictionary-list):
7442         Simplify logic.
7444 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
7446         Migrate to Tramp 2.2.  Rearrange load dependencies.
7447         (Bug#1529, Bug#5448, Bug#5705)
7449         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7450         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7451         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7453         * net/tramp.el (top): Remove all other tramp-* loads except
7454         tramp-compat.el.  Remove all changes to tramp-unload-hook for
7455         other tramp-* packages.  Rearrange defun order.  Change calls of
7456         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7457         `tramp-compat-octal-to-decimal' to new function names.
7458         (tramp-terminal-type, tramp-initial-end-of-output)
7459         (tramp-methods, tramp-foreign-file-name-handler-alist)
7460         (tramp-tramp-file-p, tramp-completion-mode-p)
7461         (tramp-send-command-and-check, tramp-get-remote-path)
7462         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7463         (tramp-shell-quote-argument): Set tramp-autoload cookie.
7464         (with-file-property, with-connection-property): Move to
7465         tramp-cache.el.
7466         (tramp-local-call-process, tramp-decimal-to-octal)
7467         (tramp-octal-to-decimal): Move to tramp-compat.el.
7468         (tramp-handle-shell-command): Do not require 'shell.
7469         (tramp-compute-multi-hops): No special handling for tramp-gw-*
7470         symbols.
7471         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7473         * net/tramp-cache.el (top): Require 'tramp.  Add to
7474         `tramp-unload-hook'.
7475         (tramp-cache-data, tramp-get-file-property)
7476         (tramp-set-file-property, tramp-flush-file-property)
7477         (tramp-flush-directory-property, tramp-get-connection-property)
7478         (tramp-set-connection-property, tramp-flush-connection-property)
7479         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7480         cookie.
7481         (with-file-property, with-connection-property): New defuns, moved
7482         from tramp.el.
7483         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7484         macro.
7486         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7487         (tramp-version): Set tramp-autoload cookie.
7489         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
7490         changes to tramp-unload-hook for other tramp-* packages.  Add to
7491         `tramp-unload-hook'.
7492         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7493         (tramp-compat-call-process): New defuns, moved from tramp.el.
7495         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
7496         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7497         Add to `tramp-unload-hook'.  Change call of
7498         `tramp-compat-decimal-to-octal' to new function name.
7499         (tramp-fish-method): Make it a defconst.
7500         (tramp-fish-file-name-p): Make it a defsubst.
7501         (tramp-fish-method, tramp-fish-file-name-handler)
7502         (tramp-fish-file-name-p): Set tramp-autoload cookie.
7504         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7505         `tramp-foreign-file-name-handler-alist'.  Add to
7506         `tramp-unload-hook'.
7507         (tramp-ftp-method): Make it a defconst.
7508         (tramp-ftp-file-name-p): Make it a defsubst.
7509         (tramp-ftp-method, tramp-ftp-file-name-handler)
7510         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7512         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7513         `tramp-foreign-file-name-handler-alist'.  Add to
7514         `tramp-unload-hook'.  Change checks, whether package can be
7515         loaded.
7516         (tramp-gvfs-file-name-p): Make it a defsubst.
7517         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7518         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7519         (tramp-gvfs-handle-file-directory-p): New defun.
7520         (tramp-gvfs-file-name-handler-alist): Use it.
7522         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7523         `tramp-foreign-file-name-handler-alist'.  Add to
7524         `tramp-unload-hook'.
7525         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7526         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7527         defconst.
7528         (tramp-gw-tunnel-method, tramp-gw-socks-method)
7529         (tramp-gw-open-connection): Set tramp-autoload cookie.
7531         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
7532         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7533         Add to `tramp-unload-hook'.  Change checks, whether package can be
7534         loaded.
7535         (tramp-imap-file-name-p): Make it a defsubst.
7536         (tramp-imap-method, tramp-imaps-method)
7537         (tramp-imap-file-name-handler)
7538         (tramp-imap-file-name-p): Set tramp-autoload cookie.
7540         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
7541         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7542         Add to `tramp-unload-hook'.  Change checks, whether package can be
7543         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
7544         function name.
7545         (tramp-smb-tunnel-method): Make it a defconst.
7546         (tramp-smb-file-name-p): Make it a defsubst.
7547         (tramp-smb-method, tramp-smb-file-name-handler)
7548         (tramp-smb-file-name-p): Set tramp-autoload cookie.
7550         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7551         (tramp-uuencode-region): Set tramp-autoload cookie.
7553         * net/trampver.el (top) Add to `tramp-unload-hook'.
7554         (tramp-version, tramp-bug-report-address): Set tramp-autoload
7555         cookie.  Update release number.
7557 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
7559         * textmodes/ispell.el (ispell-start-process): Make sure original
7560         arg list is properly initialized (Bug#6993, Bug#6994).
7562 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7564         * files.el (directory-abbrev-alist): Use \` as default regexp.
7566         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7567         chars like - or ] (bug#6984).
7568         (rx-any-condense-range): Explode 2-char ranges.
7570 2010-09-06  Glenn Morris  <rgm@gnu.org>
7572         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7574 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7576         * textmodes/bibtex.el:
7577         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7579 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7581         * net/imap.el (imap-message-map): Remove optional buffer parameter,
7582         since no callers use it.
7583         (imap-message-get): Ditto.
7584         (imap-message-put): Ditto.
7585         (imap-mailbox-map): Ditto.
7586         (imap-mailbox-put): Ditto.
7587         (imap-mailbox-get): Ditto.
7588         (imap-mailbox-get): Revert last change for this function.
7590 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7592         * net/imap.el (imap-fetch-safe): Remove function, and alter all
7593         callers to use `imap-fetch' instead.  According to the comments, this
7594         should be safe, since all other IMAP clients use the 1:* syntax.
7595         (imap-enable-exchange-bug-workaround): Remove.
7596         (imap-debug): Remove -- doesn't seem very useful.
7598 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7600         * net/imap.el (imap-log): New convenience function used throughout
7601         instead of repeating the same code all over the place.
7603 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
7605         * mouse.el (mouse-save-then-kill): Save region to kill-ring
7606         when mouse-drag-copy-region is non-nil (Bug#6956).
7608 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
7610         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7611         Improve regexps (Bug#6987).
7612         (dired-sort-toggle): Search more robustly for -t flag.
7614         * files.el (get-free-disk-space): Search more robustly for
7615         "available" column.  Suggested by Ehud Karni
7616         <ehud@unix.mvs.co.il>.
7618 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
7620         * international/uni-bidi.el:
7621         * international/uni-category.el:
7622         * international/uni-combining.el:
7623         * international/uni-decimal.el:
7624         * international/uni-mirrored.el:
7625         * international/uni-name.el: Regenerate.
7627 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7629         * electric.el (electric-indent-post-self-insert-function):
7630         Don't reindent with a sloppy indentation function.
7632         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7633         border case in change-log-mode.
7635 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
7637         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7638         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7639         Recognize leading tab in gcc-include regexp.  Ignore names with
7640         leading "from" or "in" in gnu regexp (Bug#6937).
7642 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7644         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7645         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7646         (ispell-start-process): Avoid setq and simplify logic.
7647         (ispell-init-process): Setup kill-buffer-hook locally when needed.
7648         (kill-buffer-hook): Don't use it globally with code that uses
7649         expand-file-name since that may call kill-buffer via
7650         code_conversion_restore.
7652 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
7654         * emacs-lisp/package.el (package-directory-list): Only call
7655         file-name-nondirectory on a string.
7657 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7659         * emacs-lisp/package.el (package--download-one-archive):
7660         Ensure that archive-contents is valid before saving it.
7661         (package-activate-1, package-mark-obsolete, define-package)
7662         (package-compute-transaction, package-list-maybe-add): Use push.
7664 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7666         Use SMIE's blink-paren for octave-mode.
7667         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7668         Backslashes do not escape single-quotes, single-quotes do.
7669         (octave-block-else-regexp, octave-block-end-regexp)
7670         (octave-block-match-alist): Remove.
7671         (octave-smie-bnf-table): New var, with old content.
7672         (octave-smie-op-levels): Use it.
7673         (octave-smie-closer-alist): New var.
7674         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
7675         (octave-blink-matching-block-open): Remove.
7676         (octave-reindent-then-newline-and-indent, octave-electric-semi)
7677         (octave-electric-space): Let self-insert-command run expand-abbrev and
7678         blink parens.
7680         * electric.el (electricity): New group.
7681         (electric-indent-chars): New var.
7682         (electric-indent-post-self-insert-function): New fun.
7683         (electric-indent-mode): New minor mode.
7684         (electric-pair-skip-self): New custom.
7685         (electric-pair-post-self-insert-function): New function.
7686         (electric-pair-mode): New minor mode.
7688         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7689         calcAlg-blink-matching-open.
7690         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7691         (calc-do-alg-entry): Only touch the part of the keymap that varies.
7692         Use the new blink-matching-check-function.
7694         Provide blink-matching support to SMIE.
7695         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7696         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7697         (smie-blink-matching-check, smie-blink-matching-open): New functions.
7699         * simple.el (newline): Fix last change to properly remove itself from
7700         the hook.
7702 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7704         * simple.el (newline): Eliminate optimization.
7705         Use post-self-insert-hook to set hard-newline and things before
7706         running post-self-insert-hook.
7707         (blink-matching-check-mismatch): New function.
7708         (blink-matching-check-function): New variable.
7709         (blink-matching-open): Use them.
7710         Skip back forward over prefix chars skipped by forward-sexp.
7711         Don't check if the parens are backslash escaped.
7712         (blink-paren-post-self-insert-function): Check backslash escaping here.
7714 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7716         * emacs-lisp/package.el (package-menu-mode-map):
7717         Change package-menu-revert bindings to revert-buffer.
7718         (package-menu-mode): Set revert-buffer-function.
7719         (package-menu-revert): Doc fix.
7721 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
7723         * textmodes/ispell.el (ispell-init-process): Use "~/" as
7724         `default-directory' unless using Ispell per-directory personal
7725         dictionaries and not in a mini-buffer under XEmacs.
7726         (kill-buffer-hook): Do not kill ispell process on exit when
7727         `ispell-process-directory' is "~/".  (Bug#6143)
7729 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
7731         * simple.el (kill-new): Call interprogram-cut-function with only
7732         one argument.
7734         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7735         Remove cut buffer from error message.
7737         * term/x-win.el (x-select-text):
7738         * term/pc-win.el (x-selection-value):
7739         * term/ns-win.el (x-selection-value):
7740         * eshell/em-term.el:
7741         * w32-fns.el (x-get-selection-value):
7742         * mouse-sel.el (mouse-sel-set-selection-function):
7743         * frame.el (display-selections-p): Remove cut-buffer in documentation.
7745         * term/x-win.el: Update documentation for x-last-selected-text-*.
7746         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7747         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7748         (x-select-text): Remove argument PUSH, update documentation.
7749         Remove cut-buffer code.
7750         (x-selection-value-internal): Was previously x-selection-value.
7751         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7752         Update documentation, remove cut-buffer code.
7753         Call x-selection-value-internal.
7754         (x-clipboard-yank): Call x-selection-value-internal.
7755         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7757         * term/pc-win.el (x-last-selected-text):
7758         x-cut-buffer-or-selection-value renamed to x-selection-value
7759         (x-select-text): Remove argument PUSH, update documentation.
7761         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7762         x-cut-buffer-or-selection-value renamed to x-selection-value
7763         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7764         (x-select-text): Remove argument PUSH, update documentation.
7766         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7768         * w32-fns.el (x-last-selected-text):
7769         x-cut-buffer-or-selection-value renamed to x-selection-value.
7770         (x-cut-buffer-max): Remove.
7771         (x-select-text): Remove argument PUSH, update documentation.
7773         * simple.el (interprogram-cut-function): Remove mention of PUSH.
7775         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7777         * mouse-sel.el (mouse-sel-get-selection-function):
7778         x-cut-buffer-or-selection-value renamed to x-selection-value.
7779         (x-select-text): Remove optional push.
7781 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7783         * simple.el (blink-paren-function): Move from C to here.
7784         (blink-paren-post-self-insert-function): New function.
7785         (post-self-insert-hook): Use it.
7787         * emacs-lisp/pcase.el (pcase-split-memq):
7788         Fix overenthusiastic optimisation.
7789         (pcase-u1): Handle the case of a lambda pred.
7791 2010-08-31  Kenichi Handa  <handa@m17n.org>
7793         * international/mule-cmds.el (standard-display-european-internal):
7794         Setup standard-display-table for 8-bit characters by storing 8-bit
7795         characters in the element vector.
7797         * disp-table.el (standard-display-8bit):
7798         Setup standard-display-table for 8-bit characters by storing 8-bit
7799         characters in the element vector.
7800         (standard-display-european): Likewise.
7802 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
7804         * textmodes/nroff-mode.el (nroff-view): New command.
7805         (nroff-mode-map): Bind it to C-c C-c.
7807 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7809         * emacs-lisp/smie.el (smie-down-list): New command.
7811         Remove old indentation and navigation code on octave-mode.
7812         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7813         smie-down-list rather than add a binding for octave-down-block.
7814         (octave-mark-block, octave-blink-matching-block-open):
7815         Rely on forward-sexp-function.
7816         (octave-fill-paragraph): Don't narrow, so you can use
7817         indent-according-to-mode.
7818         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7819         (octave-in-block-p, octave-re-search-forward-kw)
7820         (octave-re-search-backward-kw, octave-indent-calculate)
7821         (octave-end-as-array-index-p, octave-block-end-offset)
7822         (octave-scan-blocks, octave-forward-block, octave-backward-block)
7823         (octave-down-block, octave-backward-up-block, octave-up-block)
7824         (octave-before-magic-comment-p, octave-indent-line): Remove.
7826 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
7828         * emacs-lisp/package.el (package--read-archive-file): Just use
7829         `read', to avoid copying an additional string.
7830         (package-menu-mode): Set header-line-format here.
7831         (package-menu-refresh, package-menu-revert): Signal an error if
7832         not in the Package Menu.
7833         (package-menu-package-list): New var.
7834         (package--generate-package-list): Operate on the current buffer;
7835         don't assume that it is *Packages*, since the user may rename it.
7836         Allow persistent package listings and sort keys using
7837         package-menu-package-list and package-menu-package-sort-key.
7838         (package-menu--version-predicate): Fix version calculation.
7839         (package-menu-sort-by-column): Don't select the window.
7840         (package--list-packages): Create the *Packages* buffer.
7841         Set package-menu-package-list-key.
7842         (list-packages): Sorting by status is now the default.
7843         (package-buffer-info): Use match-string-no-properties.
7844         (define-package): Add a &rest argument for future proofing, but
7845         don't use it yet.
7846         (package-install-from-buffer, package-install-buffer-internal):
7847         Merge into a single function, package-install-from-buffer.
7848         (package-install-file): Change caller.
7850         * finder.el: Load finder-inf using `require'.
7851         (finder-list-matches): Sorting by status is now the default.
7852         (finder-compile-keywords): Simpify printing.
7854 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7856         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7857         (octave-mode-map): Remove special bindings for forward/backward-block
7858         and octave-backward-up-block.  Use smie-close-block.
7859         (octave-continuation-marker-regexp): New var.
7860         (octave-continuation-regexp): Use it.
7861         (octave-operator-table, octave-smie-op-levels)
7862         (octave-operator-regexp, octave-smie-indent-rules): New vars.
7863         (octave-smie-backward-token, octave-smie-forward-token): New funs.
7864         (octave-mode): Use SMIE.
7865         (octave-close-block): Delete.
7867 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
7869         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7870         CLIPBOARD, not in PRIMARY.  (Bug#6944)
7872 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7874         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7875         a list of parents.
7876         (smie-indent-column): Allow indirection through variables.
7878         * composite.el (save-buffer-state): Delete, unused.
7879         * font-lock.el (save-buffer-state): Use with-silent-modifications.
7880         (font-lock-default-fontify-region): Use with-syntax-table.
7881         * jit-lock.el (with-buffer-unmodified): Remove.
7882         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7884         Use `declare' in defmacros.
7885         * window.el (save-selected-window):
7886         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7887         * progmodes/python.el (def-python-skeleton):
7888         * net/dbus.el (dbus-ignore-errors):
7889         * jka-cmpr-hook.el (with-auto-compression-mode):
7890         * international/mule.el (with-category-table):
7891         * emacs-lisp/timer.el (with-timeout):
7892         * emacs-lisp/lisp-mnt.el (lm-with-file):
7893         * emacs-lisp/eieio.el (with-slots):
7894         * emacs-lisp/easymenu.el (easy-menu-define):
7895         * emacs-lisp/debug.el (debugger-env-macro):
7896         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7897         (Multiple-value-call, Multiple-value-prog1):
7898         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7899         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7900         edebug rule to definition.
7901         * emacs-lisp/lisp-mode.el (save-selected-window)
7902         (with-current-buffer, combine-after-change-calls)
7903         (with-output-to-string, with-temp-file, with-temp-buffer)
7904         (with-temp-message, with-syntax-table, read-if, eval-after-load)
7905         (dolist, dotimes, when, unless):
7906         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7908 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7910         * finder.el: Require `package'.
7911         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
7912         (finder-package-info): Var deleted.
7913         (finder-keywords-hash, finder--builtins-alist): New vars.
7914         (finder-compile-keywords): Compute package--builtins and
7915         finder-keywords-hash instead of finder-keywords-hash, respecting
7916         the "Package" header.
7917         (finder-unknown-keywords, finder-list-matches):
7918         Use finder-keywords-hash and package--list-packages.
7919         (finder-mode): Don't set font-lock-defaults.
7920         (finder-exit): We don't use "*Finder-package*" and "*Finder
7921         Category*" buffers anymore.
7923         * emacs-lisp/package.el (package--builtins-base): Var deleted.
7924         (package--builtins): Set default value to nil.
7925         (package-initialize): Load precomputed value of package--builtins
7926         from finder-inf.el.
7927         (package-alist, package-compute-transaction)
7928         (package-download-transaction): Improve docstring.
7929         (package-read-all-archive-contents): Do not change
7930         package--builtins here.
7931         (list-packages): Make package-list-packages an alias for this.
7932         Sort by status by default.
7933         (package--list-packages): Add optional PACKAGES arg.
7934         (describe-package-1): Use font-lock-face property.  For built-in
7935         packages, insert file commentary.
7936         (package--generate-package-list): Rename from
7937         package-list-packages-internal; all callers changed.  Add optional
7938         PACKAGES arg.  Add alphabetical sort fallbacks.
7939         (package-menu--version-predicate, package-menu--status-predicate)
7940         (package-menu--description-predicate)
7941         (package-menu--name-predicate): New functions.
7943         * info.el (Info-finder-find-node): Search package-alist instead of
7944         finder-package-info.
7946 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7948         * subr.el (version-regexp-alist): Don't use "a" and "b" for
7949         "alpha" and "beta".
7950         (version-to-list): Handle versions like "10.3d".
7952 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7954         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7955         (macroexp-accumulate): Use `declare'.
7957 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7959         * whitespace.el (whitespace-style): Adjust type declaration.
7961 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
7963         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7965 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7967         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7968         (Bug#6907).
7970 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
7972         * progmodes/js.el: Make indentation more customizable (Bug#6914).
7973         (js-paren-indent-offset, js-square-indent-offset)
7974         (js-curly-indent-offset): New options.
7975         (js--proper-indentation): Use them.
7977 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
7979         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7980         instead of inspecting font-lock properties (Bug#6916).
7982 2010-08-26  David Reitter  <david.reitter@gmail.com>
7984         * server.el (server-visit-files): Run pre-command-hook and
7985         post-command-hook for each buffer while it is current (Bug#6910).
7986         (server-execute): Do not run hooks here.
7988 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
7990         Sync with Tramp 2.1.19.
7992         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
7993         deleting tmpfile.
7994         (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7996         * net/tramp.el (tramp-handle-expand-file-name)
7997         (tramp-completion-handle-file-name-all-completions)
7998         (tramp-completion-handle-file-name-completion):
7999         Use `tramp-connectable-p'.
8001         * net/trampver.el: Update release number.
8003 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
8005         * help.el (help-map): Bind `C-h P' to describe-package.
8007         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8009         * emacs-lisp/package.el (package-refresh-contents): Catch errors
8010         when downloading archives.
8011         (describe-package-1): Add package commentary.
8012         (package-install-button-action): New function.
8013         (package-menu-mode-map): Bind ? to package-menu-describe-package.
8014         (package-menu-view-commentary): Function removed.
8015         (package-list-packages-internal): Hide the `package' package too.
8017 2010-08-25  Kenichi Handa  <handa@m17n.org>
8019         * language/misc-lang.el ("Arabic"): New language environment.
8020         Setup composition-function-table for Arabic characters.
8022         * international/fontset.el (setup-default-fontset): Fix typo for
8023         arabic OTF spec (fini->fina).
8025 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
8027         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8028         on all frames.
8030 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8032         * whitespace.el: Allow cleaning up blanks without blank
8033         visualization (Bug#6651).  Adjust help window for
8034         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
8035         instead of whitespace-line-column (from EmacsWiki).  New version
8036         13.1.
8037         (whitespace-style): Add new value 'face.  Adjust docstring.
8038         (whitespace-space, whitespace-hspace, whitespace-tab):
8039         Adjust foreground property face.
8040         (whitespace-line-column): Adjust docstring and type declaration.
8041         (whitespace-style-value-list, whitespace-toggle-option-alist)
8042         (whitespace-help-text): Adjust const initialization.
8043         (whitespace-toggle-options, global-whitespace-toggle-options):
8044         Adjust docstring.
8045         (whitespace-display-window, whitespace-interactive-char)
8046         (whitespace-style-face-p, whitespace-color-on): Adjust code.
8047         (whitespace-help-scroll): New fun.
8049 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8051         * emacs-lisp/package.el (list-packages): Alias for
8052         package-list-packages.
8054 2010-08-24  Kevin Ryde  <user42@zip.com.au>
8056         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8057         (Bug#5651).
8059         * progmodes/ruby-mode.el (ruby): Add defgroup.
8061 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8063         * progmodes/python.el: Add Ipython support (Bug#5390).
8064         (python-shell-prompt-alist)
8065         (python-shell-continuation-prompt-alist): New options.
8066         (python--set-prompt-regexp): New function.
8067         (inferior-python-mode, run-python, python-shell):
8068         Require ansi-color.  Use python--set-prompt-regexp to set the comint
8069         prompt based on the Python interpreter.
8070         (python--prompt-regexp): New var.
8071         (python-check-comint-prompt)
8072         (python-comint-output-filter-function): Use it.
8073         (run-python): Use a pipe (Bug#5694).
8075 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
8077         * progmodes/python.el (python-send-region): Send a different
8078         Python command if Ipython is in use.
8079         (python-check-version): Use a Python command to find the version.
8081 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8083         * mouse.el (mouse-yank-primary): Avoid setting primary when
8084         deactivating the mark (Bug#6872).
8086 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
8088         * progmodes/python.el (python-block-pairs): Allow use of "finally"
8089         with "else" (Bug#3991).
8091 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
8093         * net/dbus.el: Accept UNIX domain sockets as bus address.
8094         (top): Don't initialize `dbus-registered-objects-table' anymore,
8095         this is done in dbusbind.c.
8096         (dbus-check-event): Adapt test for bus.
8097         (dbus-return-values-table, dbus-unregister-service)
8098         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8099         Adapt doc string.
8101 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
8103         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8105 2010-08-22  Juri Linkov  <juri@jurta.org>
8107         * simple.el (read-extended-command): New function with the logic
8108         for `completing-read' moved to Elisp from `execute-extended-command'.
8109         Use `function-called-at-point' in `minibuffer-default-add-function'
8110         to get a command name for M-n (bug#5364, bug#5214).
8112 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8114         * startup.el (command-line-1): Issue warning for ignored arguments
8115         --unibyte, etc (Bug#6886).
8117 2010-08-22  Leo  <sdl.web@gmail.com>
8119         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8120         (ignore, bright, dim, keyword): Split list of nicknames before
8121         passing to rcirc-add-or-remove (Bug#6894).
8123 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8125         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8127 2010-08-22  Leo  <sdl.web@gmail.com>
8129         Fix buffer-list rename&refresh after killing a buffer in ido.
8130         * ido.el: Revert Óscar's.
8131         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8132         Remember the buffers at head, rather than their name.
8133         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8135 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
8136             Stefan Monnier  <monnier@iro.umontreal.ca>
8138         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8139         extra backslash added to each line (bug#6890).
8141 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8143         * subr.el (read-key): Don't echo keystrokes (bug#6883).
8145 2010-08-22  Glenn Morris  <rgm@gnu.org>
8147         * menu-bar.el (menu-bar-games-menu): Add landmark.
8149 2010-08-22  Glenn Morris  <rgm@gnu.org>
8151         * align.el (align-regexp): Make group and spacing arguments
8152         use the interactive defaults when non-interactive.  (Bug#6698)
8154         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8155         expansion, so as not to need sendmail.
8156         (mail-text-start): Remove declaration.
8157         (rmail-retry-failure): Require sendmail.
8159 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8161         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8163 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
8165         * progmodes/flymake.el (flymake-start-syntax-check-process):
8166         Use `start-file-process' in order to let it run also on remote hosts.
8168 2010-08-22  Kenichi Handa  <handa@m17n.org>
8170         * files.el: Add `word-wrap' as safe local variable.
8172 2010-08-22  Glenn Morris  <rgm@gnu.org>
8174         * woman.el (woman-translate): Case matters.  (Bug#6849)
8176 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8178         * simple.el (kill-region): Doc fix (Bug#6787).
8180 2010-08-22  Glenn Morris  <rgm@gnu.org>
8182         * calendar/diary-lib.el (diary-header-line-format):
8183         Fit it to the window, not the frame.
8185 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
8187         * subr.el (ignore-errors): Add debug declaration.
8189 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
8191         * whitespace.el (whitespace-color-off): Remove post-command-hook
8192         locally.
8194 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8196         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8198 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8200         * cus-edit.el (custom-group-value-create): Add extra newline
8201         before end line (Bug#6876).
8203 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8205         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8206         when extending it.  Before killing on the second click, check if
8207         the buffer is the correct one.  Doc fix.
8208         (mouse-secondary-save-then-kill): Allow usage without first
8209         calling mouse-start-secondary, by defaulting to point.  Don't save
8210         an empty secondary selection.  Doc fix.
8212 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8214         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
8215         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8216         New version 13.0.
8217         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8218         Adjust initialization.
8219         (whitespace-bob-marker, whitespace-eob-marker)
8220         (whitespace-buffer-changed): New vars.
8221         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8222         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8223         (whitespace-post-command-hook, whitespace-display-char-on):
8224         Adjust code.
8225         (whitespace-looking-back, whitespace-buffer-changed): New funs.
8226         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8228 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8230         * files.el (locate-file-completion-table): Only list the .el and .elc
8231         extensions if there's no other choice (bug#5955).
8233         * facemenu.el (facemenu-self-insert-data): New var.
8234         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8235         New functions.
8236         (facemenu-add-face): Use them.
8238         * simple.el (blink-matching-open): Obey forward-sexp-function.
8240 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8242         * simple.el (prog-mode-map): New var.
8243         (prog-indent-sexp): New command.
8245         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8247         * progmodes/prolog.el (smie): Require.
8249         * emacs-lisp/smie.el (smie-default-backward-token)
8250         (smie-default-forward-token): Strip properties.
8251         (smie-next-sexp): Be more careful with associative operators.
8252         (smie-forward-sexp-command): Generalize.
8253         (smie-backward-sexp-command): Simplify.
8254         (smie-closer-alist): New var.
8255         (smie-close-block): New command.
8256         (smie-indent-debug-log): New var.
8257         (smie-indent-offset-rule): Add a few more cases.
8258         (smie-indent-column): New function.
8259         (smie-indent-after-keyword): Use it.
8260         (smie-indent-keyword): Use it.
8261         Fix up the opener code's point position.
8262         (smie-indent-comment): Only applies at BOL.
8263         (smie-indent-debug): New command.
8265         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8266         declarations that are useful before running the macro.
8268 2010-08-18  Joakim Verona  <joakim@verona.se>
8270         * image.el (imagemagick-types-inhibit): New variable.
8271         (imagemagick-register-types): New function.
8272         * image-mode.el (image-transform-properties): New function.
8273         (image-transform-set-scale, image-transform-fit-to-height)
8274         (image-transform-set-rotation, image-transform-set-resize)
8275         (image-transform-fit-to-width, image-transform-fit-to-height):
8276         New functions.
8277         (image-toggle-display-image): Support image transforms.
8279 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
8281         * image.el (create-animated-image): Don't add heuristic mask to image
8282         (Bug#6839).
8284 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
8286         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8287         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8289 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8291         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8293         Font-lock '...' strings, plus various simplifications and fixes.
8294         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8295         (octave-font-lock-close-quotes): New function.
8296         (octave-font-lock-syntactic-keywords): New var.
8297         (octave-mode): Use it.  Set beginning-of-defun-function.
8298         (octave-mode-map): Don't override the <foo>-defun commands.
8299         (octave-mode-menu): Pass it directly to easy-menu-define;
8300         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8301         (octave-block-match-alist): Fix up last change so that
8302         octave-close-block uses the more specific keyword.
8303         (info-lookup-mode): Silence byte-compiler.
8304         (octave-beginning-of-defun): Not interactive any more.
8305         Optimize slightly.
8306         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8307         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8308         (octave-completion-at-point-function): Make sure point is within
8309         beg..end.
8310         (octave-reindent-then-newline-and-indent):
8311         Use reindent-then-newline-and-indent.
8312         (octave-add-octave-menu): Remove.
8314 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
8316         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8317         (report-emacs-bug-can-use-xdg-email): New functions.
8318         (report-emacs-bug): Set can-xdg-email to result of
8319         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
8320         \C-cm to report-emacs-bug-insert-to-mailer and add help text
8321         about it.
8323         * net/browse-url.el (browse-url-default-browser): Add cond
8324         for browse-url-xdg-open.
8325         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8327 2010-08-17  Glenn Morris  <rgm@gnu.org>
8329         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8330         (c-fontify-recorded-types-and-refs): Define for compiler.
8331         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8332         before use.
8334         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8335         Fix format call.
8337 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
8339         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8340         properties.
8341         (tramp-handle-process-file): Call the program in a subshell, in
8342         order to preserve working directory.
8343         (tramp-action-password): Hide password prompt before next run.
8344         (tramp-process-actions): Widen connection buffer for the trace.
8346 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8348         * net/rcirc.el (rcirc-log-process-buffers): New option.
8349         (rcirc-print): Use it.
8350         (rcirc-generate-log-filename): New function.
8351         (rcirc-log-filename-function): Change default to
8352         rcirc-generate-log-filename (Bug#6828).
8354 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
8356         * simple.el (deactivate-mark): If select-active-regions is `only',
8357         only set selection for temporarily active regions.
8359         * cus-start.el: Change defcustom for select-active-regions.
8361 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8363         * mouse.el (mouse--drag-set-mark-and-point): New function.
8364         (mouse-drag-track): Use LOCATION arg to push-mark.
8365         Use mouse--drag-set-mark-and-point to take click-count into
8366         consideration when updating point and mark (Bug#6840).
8368 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8370         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8371         Give the Ruby rule a lower priority than Gnu (Bug#6778).
8373 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8375         * font-lock.el (lisp-font-lock-keywords-2):
8376         Add combine-after-change-calls, condition-case-no-debug,
8377         with-demoted-errors, and with-silent-modifications (Bug#6025).
8379 2010-08-14  Kevin Ryde  <user42@zip.com.au>
8381         * emacs-lisp/copyright.el (copyright-update-year)
8382         (copyright-update): Temporary switch-to-buffer to ensure the
8383         buffer change being queried is visible (Bug#5394).
8385 2010-08-14  Tom Tromey  <tromey@redhat.com>
8387         * progmodes/etags.el (tags-file-name): Mark safe if stringp
8388         (Bug#6733).
8390 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
8392         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8393         MS-DOS.  (Bug#6689)
8395 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
8397         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8398         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8399         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8400         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8401         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8402         Call menu-bar-set-tool-bar-position.
8404 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8406         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8407         comment style (bug#6834).
8408         * progmodes/scheme.el (scheme-mode-syntax-table):
8409         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8410         "b" flag in "' 14b" syntax.
8412         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8413         for (un)commenting the region and performing completion.
8414         (octave-mode-menu): Use standard commands for help and completion.
8415         (octave-mode-syntax-table): Support %{..%} comments (sort of).
8416         (octave-mode): Use define-derived-mode.
8417         Set completion-at-point-functions and don't set columns.
8418         Don't disable adaptive-fill-regexp.
8419         (octave-describe-major-mode, octave-comment-region)
8420         (octave-uncomment-region, octave-comment-indent)
8421         (octave-indent-for-comment): Remove.
8422         (octave-indent-calculate): Rename from calculate-octave-indent.
8423         (octave-indent-line, octave-fill-paragraph): Update caller.
8424         (octave-initialize-completions): No need to make an alist.
8425         (octave-completion-at-point-function): New function.
8426         (octave-complete-symbol): Use it.
8427         (octave-insert-defun): Use define-skeleton.
8429         * progmodes/octave-mod.el (octave-mode): Set comment-add.
8430         (octave-mode-map): Use comment-dwim (bug#6829).
8432 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>
8434         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8435         indentation of inserted comment.
8437 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
8439         * faces.el (region): Add type gtk that uses gtk colors.
8441         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8442         Handle theme-name change.
8444 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
8446         * progmodes/sql.el: Version 2.5
8447         (sql-product-alist): Add :prompt-cont-regexp property for several
8448         database products.
8449         (sql-prompt-cont-regexp): New variable.
8450         (sql-output-newline-count, sql-output-by-send):
8451         New variables.  Record number of newlines in input text.
8452         (sql-send-string): Handle multiple filters and count newlines.
8453         (sql-send-magic-terminator): Count terminator newline.
8454         (sql-interactive-remove-continuation-prompt): Filters output to
8455         remove continuation prompts; one for each newline.
8456         (sql-interactive-mode): Set up new variables, prompt regexp and
8457         output filter.
8458         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8459         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8461 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8463         * emacs-lisp/pcase.el: New file.
8465 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
8467         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8468         as here-document, otherwise the command could exceed maximum
8469         length of command line.
8470         (tramp-handle-vc-registered): Call script accordingly.
8471         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8473 2010-08-10  Kenichi Handa  <handa@m17n.org>
8475         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8476         composable pattern.
8478 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
8480         * emacs-lisp/package.el (package-version-split)
8481         (package--version-first-nonzero, package-version-compare):
8482         Functions removed.
8483         (package-directory-list, package-load-all-descriptors)
8484         (package--built-in, package-activate, define-package)
8485         (package-installed-p, package-compute-transaction)
8486         (package-read-all-archive-contents)
8487         (package--add-to-archive-contents, package-buffer-info)
8488         (package-tar-file-info, package-list-packages-internal):
8489         Use version-to-list and version-list-*.
8491         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8492         Use version-to-list.
8493         (package-upload-buffer-internal): Use version-list-<=.
8495 2010-08-09  Kenichi Handa  <handa@m17n.org>
8497         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8498         composable pattern.
8500 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
8502         * tutorial.el (tutorial--default-keys): C-d is now bound to
8503         delete-forward-char (Bug#6826).
8505         * mouse.el (mouse-drag-track): Remove accidentally-removed check
8506         for `double' value of mouse-1-click-follows-link (Bug#6807).
8508 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
8510         * replace.el (replace-highlight): Bind isearch-forward and
8511         isearch-error, ensuring that highlighting is updated if the user
8512         switches the search direction (Bug#6808).
8514         * isearch.el (isearch-lazy-highlight-forward): New var.
8515         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8516         (isearch-lazy-highlight-update): Use it.
8518 2010-08-08  Kenichi Handa  <handa@m17n.org>
8520         * international/mule.el (define-charset): Store NAME as :base property.
8521         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8522         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8523         current priority.  Force using the designation of the specific
8524         charset by adding `charset' text property.  Improve the whole algorithm.
8526 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8528         * emulation/pc-select.el (pc-selection-mode-hook)
8529         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8530         (pc-selection-mode): Fix typos in docstrings.
8532 2010-08-08  Kenichi Handa  <handa@m17n.org>
8534         * language/cyrillic.el: Don't add "microsoft-cp1251" to
8535         ctext-non-standard-encodings-alist here.
8537         * international/mule.el (ctext-non-standard-encodings-alist):
8538         Add "koi8-r" and "microsoft-cp1251".
8539         (ctext-standard-encodings): New variable.
8540         (ctext-non-standard-encodings-table): List only elements for
8541         non-standard encodings.
8542         (ctext-pre-write-conversion): Adjust for the above change.
8543         Check ctext-standard-encodings.
8545         * international/mule-conf.el (compound-text): Doc fix.
8546         (ctext-no-compositions): Doc fix.
8547         (compound-text-with-extensions): Doc fix.
8549 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8551         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8553 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8555         * progmodes/which-func.el (which-func-format): Split help-echo text
8556         into lines, like other mode-line tooltips.
8558         * server.el (server-start): When using TCP sockets, force IPv4
8559         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
8561 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8563         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8565 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8567         * term.el (term-delimiter-argument-list): Reflow docstring.
8568         (term-read-input-ring, term-write-input-ring, term-send-input)
8569         (term-bol, term-erase-in-display, serial-supported-or-barf):
8570         Fix typos in docstrings.
8572 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8574         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8576 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8578         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8580 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
8582         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8583         Fix typo in docstring (bug#6747).
8585 2010-08-08  Leo  <sdl.web@gmail.com>
8587         * eshell/esh-io.el (eshell-get-target): Better detection of
8588         read-only file (Bug#6762).
8590 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8592         * align.el (align-default-spacing): Doc fix.
8593         (align-region-heuristic, align-regexp): Fix typos in docstrings.
8595 2010-08-08  Stephen Peters  <speters@itasoftware.com>
8597         * calendar/icalendar.el
8598         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
8599         (icalendar--get-weekday-numbers): New.
8600         (icalendar--convert-recurring-to-diary): Handle multiple byday
8601         values in weekly rules.  (Bug#6766)
8603 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
8605         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8606         (icalendar--create-uid, icalendar-export-region)
8607         (icalendar--parse-summary-and-rest): Code formatting.
8609 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
8611         * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8612         to italicize headers.
8613         (calc-highlight-selections-with-faces): New variable.
8614         (calc-selected-face, calc-nonselected-face): New faces.
8616         * calc/calccomp.el (math-comp-highlight-string): Use
8617         `calc-highlight-selections-with-faces' to determine how to highlight
8618         sub-formulas.
8620         * calc/calc-sel.el (calc-show-selections): Change message to when
8621         using faces to highlight selections.
8623 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
8625         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8626         Add SQLite 3 keywords, functions and datatypes.
8627         (sql-interactive-mode): Remove `comint-process-echoes' set to t
8628         (Bug#6686).
8630 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
8632         * simple.el (select-active-regions): Move to keyboard.c.
8633         (deactivate-mark): Used saved-region-selection.
8634         (select-active-region): Function removed.
8635         (activate-mark, set-mark, push-mark-command)
8636         (handle-shift-selection): Don't call it.
8637         (keyboard-quit): Avoid adding the region to the window selection.
8639         * mouse.el (mouse-drag-track): Remove hacks to deal with old
8640         select-active-regions implementation.
8641         (mouse-yank-at-click): Doc fix.
8643         * cus-start.el: Add custom declaration for select-active-regions.
8645 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
8647         * simple.el (delete-forward-char): Doc fix.
8649         * tutorial.el (help-with-tutorial): Hack safe file-local variables
8650         after reading the tutorial.
8652 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
8654         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8655         Fix for the case that a C style comment has its delimiters alone on
8656         their respective lines.  (Bug#193)
8658 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
8660         * net/tramp.el (tramp-handle-start-file-process): Set connection
8661         property "vec".
8662         (tramp-process-sentinel): Use it for flushing the cache.
8663         We cannot do it via the process buffer, the buffer could be deleted
8664         already when running the sentinel.
8666 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
8668         * comint.el (comint-mode): Make directory tracking functions
8669         functional on remote files.  (Bug#6764)
8671 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
8673         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8675 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
8677         * emacs-lisp/find-gc.el (find-gc-source-files):
8678         Rename unexec.c => unexcoff.c.
8680         * emacs-lisp/authors.el (authors-fixed-entries):
8681         Rename unexec.c => unexcoff.c.
8683 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
8685         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8686         cache, not only file cache.
8687         (tramp-process-sentinel): New defun.
8688         (tramp-handle-start-file-process): Use it, in order to invalidate
8689         file caches.
8691 2010-08-03  Leo  <sdl.web@gmail.com>
8693         * server.el (server-start): Simplify loop.
8695 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8697         * frame.el (screen-height, screen-width, set-screen-width)
8698         (set-screen-height): Remove ancient compatibility aliases.
8700         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8701         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
8703         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8704         that change current buffer.
8706 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8708         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8709         beginning of the string.  Use `string-match-p'.  (Bug#6765)
8711 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
8713         * cus-start.el (x-gtk-use-system-tooltips): New variable.
8715 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
8717         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8718         (package--builtins): Tweak descriptions.
8719         (package-print-package): Upcase descriptions if necessary.
8720         Show all built-in packages in font-lock-builtin-face.
8721         (package-list-packages-internal): Omit "emacs" package.
8722         Show status of built-in packages as "built-in".
8724 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
8726         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
8727         before killing to preserve the primary selection (Bug#6701).
8729         * term/x-win.el (x-select-text): Doc fix.
8731 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
8733         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8734         (objc-font-lock-extra-types):
8735         * progmodes/cc-mode.el (c-basic-common-init):
8736         * progmodes/cc-langs.el (c-make-mode-syntax-table)
8737         (c++-make-template-syntax-table)
8738         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8739         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8740         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8741         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8742         * progmodes/cc-fonts.el (c-make-inverse-face)
8743         (c-basic-matchers-after):
8744         * progmodes/cc-engine.el (c-forward-keyword-clause)
8745         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8746         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8747         (c-guess-continued-construct, c-guess-basic-syntax):
8748         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8749         The above functions were modified or created.
8751 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
8753         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8755 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
8757         * files.el (bidi-paragraph-direction): Define safe local values.
8759         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8760         language-info-alist.  Remove outdated FIXME in a comment.
8762 2010-07-31  Alan Mackenzie  <acm@muc.de>
8764         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8765         Auto-fill broken in C/C++ modes.
8767 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
8769         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8770         (menu-bar-showhide-tool-bar-menu-customize-disable)
8771         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8772         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8773         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8774         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8775         make a menu for Options => toolbar that can move it.
8777 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
8779         * emacs-lisp/package-x.el (package--make-rss-entry):
8780         (package-maint-add-news-item, package--update-news)
8781         (package-upload-buffer-internal): New arg ARCHIVE-URL.
8783         * emacs-lisp/package.el (package-archive-url): Rename from
8784         package-archive-id.
8785         (package-install): Doc fix.
8786         (package-download-single, package-download-tar, package-install)
8787         (package-menu-view-commentary): Callers changed.
8789 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
8791         * net/tramp.el (tramp-handle-start-file-process): Check only for
8792         `remote-tty' process property.
8793         (tramp-open-shell): Don't check for tty.
8794         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8795         process property.
8797         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8798         host.
8800 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
8802         * emacs-lisp/package.el (package-load-list, package-archives)
8803         (package-archive-contents, package-user-dir)
8804         (package-directory-list, package--builtins, package-alist)
8805         (package-activated-list, package-obsolete-alist): Mark as risky.
8807 2010-07-28  Phil Hagelberg  <phil@evri.com>
8809         Add support for non-default package repositories.
8810         * emacs-lisp/package.el (package-archive-base): Var deleted.
8811         (package-archives): New variable.
8812         (package-archive-contents): Doc fix.
8813         (package-load-descriptor): Do nothing if descriptor file is missing.
8814         (package--write-file-no-coding): New function.
8815         (package-unpack-single): Use it.
8816         (package-archive-id): New function.
8817         (package-download-single, package-download-tar)
8818         (package-menu-view-commentary): Use it.
8819         (package-installed-p): Make second argument optional.
8820         (package-read-all-archive-contents): New function.
8821         (package-initialize): Use it.
8822         (package-read-archive-contents): Add ARCHIVE argument.
8823         (package--add-to-archive-contents): New function.
8824         (package-install): Don't call package-read-archive-contents.
8825         (package--download-one-archive): Store archive file in a
8826         subdirectory of package-user-dir.
8827         (package-menu-execute): Remove spurious line movement.
8829 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
8831         * cus-start.el (tool-bar-style): Add text-image-horiz.
8833 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8835         * progmodes/gud.el (gud-common-init): Check for remoteness of
8836         `file', and not of `default-directory'.
8838 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8840         * net/tramp.el (tramp-methods): Move hostname to the end in all
8841         ssh `tramp-login-args'.
8842         (tramp-verbose): Describe verbose level 9.
8843         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8844         (tramp-open-connection-setup-interactive-shell): Trace stty
8845         settings if `tramp-verbose' >= 9.
8846         (tramp-handle-start-file-process): Implement tty setting.
8847         (Bug#4604, Bug#6360)
8849         * net/tramp-cmds.el (tramp-bug): Recommend setting of
8850         `tramp-verbose' to 9.
8852 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
8854         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8855         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8856         Remove references to package `lisp-re' (bug#4369).
8858 2010-07-27  Tom Tromey  <tromey@redhat.com>
8860         * progmodes/js.el (js-mode):
8861         * progmodes/make-mode.el (makefile-mode):
8862         * progmodes/simula.el (simula-mode):
8863         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8865 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
8867         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8869         * time.el (display-time-day-and-date): Remove spurious * in docstring.
8870         (display-time-world-buffer-name, display-time-world-mode-map):
8871         Fix typos in docstrings.
8873 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
8875         * image-mode.el (image-display-size): New function.
8876         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8877         (image-mode-fit-frame): Use it (Bug#6639).
8879 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
8881         * dired.el (dired-buffers-for-dir): Handle list values of
8882         dired-directory (Bug#6636).
8884 2010-07-26  Sam Steingold  <sds@gnu.org>
8886         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8887         Do not call `x-get-selection' the second time, reuse the value.
8889 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
8891         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8892         which consist of control chars only.  Suggested by Richard Stallman.
8894 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
8896         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8897         exists before passing an error to find-file-not-found-functions
8898         (bug#6723).
8900 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
8902         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8903         Remove leading nil element, adjust values.
8904         (tetris-shapes, tetris-shape-scores):
8905         Change representation of shapes and remove some redundancy.
8906         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8907         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8908         Adjust for working with new representation of shapes.
8909         (tetris-shape-rotations): New function.
8910         (tetris-move-bottom, tetris-move-left, tetris-move-right)
8911         (tetris-rotate-prev, tetris-rotate-next):
8912         Adjust for working with the new version of tetris-test-shape.
8914 2010-07-23  Markus Triska  <markus.triska@gmx.at>
8916         * progmodes/ps-mode.el: Use comint (bug#5954).
8917         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8918         (ps-mode-other-newline): Simplify.
8919         (ps-run-mode): Derive from comint-mode instead of
8920         fundamental-mode, yielding input history etc.
8921         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8922         (ps-run-send-string): Adapt for comint-mode.
8923         (ps-run-newline): Remove now unneeded function.
8925 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8927         * net/tramp.el (tramp-methods): Move hostname to the end in all
8928         plink `tramp-login-args'.
8930 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8932         * net/tramp.el (tramp-open-shell): New defun.
8933         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8934         Use it.
8936 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8938         * net/tramp.el (tramp-file-name-regexp-unified)
8939         (tramp-completion-file-name-regexp-unified): On W32 systems, do
8940         not regard the volume letter as remote filename.  (Bug#5447)
8942 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
8944         * custom.el (custom-declare-variable): Give a clearer error message
8945         when the docstring is missing (bug#6476).
8947 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
8949         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
8950         (sql-login-params): New widget definition.
8951         (sql-oracle-login-params, sql-mysql-login-params)
8952         (sql-solid-login-params, sql-sybase-login-params)
8953         (sql-informix-login-params, sql-ingres-login-params)
8954         (sql-ms-login-params, sql-postgres-login-params)
8955         (sql-interbase-login-params, sql-db2-login-params)
8956         (sql-linter-login-params): Use it.
8957         (sql-sqlite-login-params): Use it; Define "database" parameter as
8958         a file name.
8959         (sql-sqlite-program): Change to "sqlite3".
8960         (sql-comint-sqlite): Make sure database name is complete.
8961         (sql-for-each-login): New function.
8962         (sql-connect, sql-save-connection): Use it.
8963         (sql-get-login-ext): New function.
8964         (sql-get-login): Use it.
8965         (sql-make-alternate-buffer-name): Handle :file parameters.
8967 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
8969         * dired.el (dired-no-confirm): Document value t and fix defcustom to
8970         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
8972 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
8974         * dired.el (dired-mode-map): Use command remapping (bug#6632).
8976 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
8978         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8980 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
8982         * net/tramp.el (tramp-get-ls-command)
8983         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8984         instead of "/".
8986 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
8988         * progmodes/sql.el: Version 2.3.
8989         (sql-connection-alist): Change keys from symbols to strings;
8990         enhanced the widget definition.
8991         (sql-mode-menu): Add submenu to select connections.
8992         (sql-interactive-mode-menu): Add "Save Connection" item.
8993         (sql-add-product): Fix menu item.
8994         (sql-get-product-feature): Improved error handling.
8995         (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8996         (sql-make-alternate-buffer-name): Simplified.
8997         (sql-product-interactive): Handle missing product.
8998         (sql-connect): Support string keys, minor improvements.
8999         (sql-save-connection): New function.
9000         (sql-connection-menu-filter): New function.
9002 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
9004         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9005         (tramp-open-connection-setup-interactive-shell):
9006         Apply workaround for IRIX64 bug.  Move argument of last
9007         `tramp-send-command' where it belongs to.
9009 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
9011         * net/tramp.el (tramp-perl-file-attributes)
9012         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9013         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9014         front of `login-args'.
9016 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
9018         * time.el (display-time-world-mode): Define with `define-derived-mode'.
9019         Set `show-trailing-whitespace' to nil.
9020         (display-time-world-display): Simplify.
9022 2010-07-18  Alan Mackenzie  <acm@muc.de>
9024         Enhance `c-file-style' in file/directory local variables.
9025         * progmodes/cc-mode.el (c-count-cfss): New function.
9026         (c-before-hack-hook): Call `c-set-style' differently according to
9027         whether c-file-style was set in file or directory local
9028         variables.
9030 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
9032         * progmodes/sql.el: Version 2.2.
9033         (sql-product, sql-user, sql-database, sql-server, sql-port):
9034         Use defcustom :safe keyword rather than putting safe-local-variable
9035         property.
9036         (sql-password): Use defcustom :risky keyword rather than putting
9037         risky-local-variable property.
9038         (sql-oracle-login-params, sql-sqlite-login-params)
9039         (sql-solid-login-params, sql-sybase-login-params)
9040         (sql-informix-login-params, sql-ingres-login-params)
9041         (sql-ms-login-params, sql-postgres-login-params)
9042         (sql-interbase-login-params, sql-db2-login-params)
9043         (sql-linter-login-params): Add `port' option.
9044         (sql-get-product-feature): Add NO-INDIRECT parameter.
9045         (sql-comint-oracle, sql-comint-sybase)
9046         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9047         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9048         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9049         (sql-comint-linter): Rename sql-connect-* functions to
9050         sql-comint-*.
9051         (sql-product-alist, sql-mode-menu): Rename as above and
9052         :sqli-connect-func to :sqli-comint-func.
9053         (sql-connection): New variable.
9054         (sql-interactive-mode): Set it.
9055         (sql-connection-alist): New variable.
9056         (sql-connect): New function.
9057         (sql--alt-buffer-part, sql--alt-if-not-empty)
9058         (sql-make-alternate-buffer-name): Improved alternative buffer name.
9060 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9062         * image-mode.el (image-bookmark-make-record): Do not set context
9063         in an image (Bug#6650).
9065 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
9067         * simple.el (select-active-region): New function.
9068         (push-mark-command, set-mark, activate-mark)
9069         (handle-shift-selection): Use it.
9070         (deactivate-mark): Don't check for size of region.
9072         * mouse.el (mouse-drag-track): Use select-active-region.
9074 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
9076         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9077         "--dired" stronger.
9079 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
9081         * term/x-win.el (x-select-enable-primary): Change default to nil.
9082         (x-select-enable-clipboard): Add :version keyword.
9084         * mouse.el (mouse-drag-copy-region):
9085         * simple.el (select-active-regions): Likewise.
9087 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
9089         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9090         (vc-coding-system-for-diff): Use it to decide whether to inherit
9091         from the file the EOL format for reading the diffs of that file.
9092         (Bug#4451)
9094 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
9096         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9097         unibyte, so compressed attachments are not compressed again.
9099 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
9101         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9102         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9103         (tramp-find-shell): Simplify setting connection property.
9104         (tramp-get-ls-command): Make test for "--color=never" stronger.
9106 2010-07-15  Simon South  <ssouth@member.fsf.org>
9108         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9109         blocks within record declarations (i.e. variant parts) correctly.
9111 2010-07-15  Simon South  <ssouth@member.fsf.org>
9113         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9114         over literal tokens when parsing so newlines aren't "absorbed" by
9115         single-line comments.  Corrects the indentation of case blocks
9116         that have a comment on the first line.
9118 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
9120         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9121         by Drew Adams (Bug#5504).
9123 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
9125         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9126         now that Unicode is used (Bug#6594).
9128 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
9130         * term/x-win.el (x-select-enable-clipboard): Default to t.
9131         (x-initialize-window-system): Don't overwrite Paste menu item.
9133         * simple.el (select-active-regions): Default to t.
9134         (push-mark-command): Don't overwrite primary with empty string.
9136         * mouse.el: Bind mouse-2 to mouse-yank-primary.
9137         (mouse-drag-copy-region): Default to nil.
9139         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9140         Cut/Copy/Paste menu bar items.
9142 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9144         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9145         Patch applied by Karl Fogel.
9147         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9148         and `bookmark-current-buffer' if they have been already set in
9149         another buffer (e.g gnus-art).
9151 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9152             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9154         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9156         * bookmark.el (bookmark-make-record-default): Allow unneeded
9157         information to be omitted from the record.
9159         Adjust declarations and calls:
9161         * info.el (bookmark-make-record-default): Adjust declaration.
9162         (Info-bookmark-make-record): Adjust call.
9164         * woman.el (bookmark-make-record-default): Adjust declaration.
9165         (woman-bookmark-make-record): Adjust call.
9167         * man.el (bookmark-make-record-default): Adjust declaration.
9168         (Man-bookmark-make-record): Adjust call.
9170         * image-mode.el (bookmark-make-record-default): Adjust declaration.
9172         * doc-view.el (bookmark-make-record-default): Adjust declaration.
9174 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9176         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9177         This is also from Thierry Volpiatto's patch in bug #6444.  However,
9178         because it was extraneous to the functional change in that patch,
9179         and causes a re-indendation, I am committing it separately.
9181 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9183         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9184         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9185         Patch applied by Karl Fogel (Bug#6444).
9187 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
9189         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9191 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
9193         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9194         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
9195         (ns-alternatives-map): Change S-tab binding to backtab
9196         (bug#6616).
9198         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9199         under ns.
9201 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
9203         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9204         (Bug#5806)
9206         * language/tv-util.el (tai-viet-re): Remove format.
9208 2010-07-12  Kenichi Handa  <handa@m17n.org>
9210         * language/hebrew.el: Remove no-byte-compile declaration.
9211         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
9212         composition-function-table for 3-character looking back.
9213         (hebrew-font-get-precomposed): New function.
9214         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9216 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
9218         * mouse.el (mouse-drag-track): Handle select-active-regions
9219         (Bug#6612).
9221 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
9223         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9224         empty argument to gvfs-copy.
9226 2010-07-10  Glenn Morris  <rgm@gnu.org>
9228         * calendar/calendar.el (calendar-week-end-day): New function.
9229         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9230         Respect calendar-week-start-day.  (Bug#6606)
9231         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9232         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9233         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9234         respect calendar-week-start-day.
9236 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
9238         * simple.el (use-region-p): Doc fix (Bug#6607).
9240 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
9242         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9243         Add regexps for cucumber and ruby.
9245 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
9247         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9248         (epa-file-insert-file-contents): Hack to prevent
9249         find-file from opening empty buffer when decryption failed
9250         (bug#6568).
9252 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
9254         * textmodes/ispell.el (ispell-alternate-dictionary):
9255         Use file-readable-p.
9256         Return nil if no word-list is found at default locations.
9257         (ispell-complete-word-dict): Default to nil.
9258         (ispell-command-loop): Use 'word-list' when using lookup-words.
9259         (lookup-words): Use ispell-complete-word-dict or
9260         ispell-alternate-dictionary.  Check for word-list availability
9261         and handle errors if needed with better messages (Bug#6539).
9262         (ispell-complete-word): Use ispell-complete-word-dict or
9263         ispell-alternate-dictionary.
9265 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
9267         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9268         builtins (BufferError, BytesWarning, WindowsError; callables
9269         bin, bytearray, bytes, format, memoryview, next, print; __package__).
9271 2010-07-07  Glenn Morris  <rgm@gnu.org>
9273         * play/zone.el (top-level): Do not require timer, tabify, or cl.
9274         (zone-shift-left): Ignore intangibility, and any errors from
9275         forward-char.
9276         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
9277         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9278         deleting, and copying text properties.
9279         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9280         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9281         to point-max is hard.
9282         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9283         (zone-fill-out-screen): Ignore intangibility.
9285 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
9287         * menu-bar.el (menu-bar-mode):
9288         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9289         if it has been set.
9291         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9292         word/line selection (Bug#6565).
9294 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
9296         * net/dbus.el (dbus-send-signal): Declare function.
9298 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
9300         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9301         (dbus-register-property): New optional argument EMITS-SIGNAL.
9302         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9304 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
9306         * mouse.el (mouse-drag-overlay): Variable deleted.
9307         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9308         (mouse--remap-link-click-p): New function.
9309         (mouse-drag-track): Handle dragging by using temporary Transient
9310         Mark mode, instead of a special overlay.
9311         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9312         mouse-show-mark.
9314         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9315         deleted.
9317 2010-07-02  Juri Linkov  <juri@jurta.org>
9319         * autoinsert.el (auto-insert-alist): Fix readability
9320         by using dotted pair notation for lambda.
9322 2010-07-02  Juri Linkov  <juri@jurta.org>
9324         * faces.el (read-face-name): Rename arg `string-describing-default'
9325         to `default'.  Doc fix.  Display the default value in quotes
9326         in the prompt.  With empty input, return the `default' arg,
9327         unless the default value is a string (in which case return nil).
9328         (describe-face): Replace the string `default' arg of `read-face-name'
9329         with the symbol `default'.
9331 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
9333         * emulation/viper-cmd.el (viper-delete-backward-char)
9334         (viper-del-backward-char-in-insert)
9335         (viper-del-backward-char-in-replace, viper-change)
9336         (viper-backward-indent): Replace delete-backward-char with
9337         delete-char (Bug#6552).
9339 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
9341         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9343 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9345         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9346         argument passed to frame-creation-function (Bug#5378).
9348         * faces.el (x-handle-named-frame-geometry)
9349         (x-handle-reverse-video, x-create-frame-with-faces)
9350         (face-set-after-frame-default, tty-create-frame-with-faces):
9351         Don't separately consult default-frame-alist.  It is now passed as the
9352         PARAMETER argument.
9354 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
9356         * startup.el (command-line): Don't call tool-bar-setup in a
9357         tty-only build.
9359 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9361         * ruler-mode.el (ruler--save-header-line-format): New fun.
9362         (ruler-mode): Use it as a setter function, so as not to overwrite
9363         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9365 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
9367         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
9368         (vc-root-diff, vc-print-root-log, vc-log-incoming)
9369         (vc-log-outgoing): Use it.
9370         (vc-diff-internal): Set diff-vc-backend.
9372         * vc/diff-mode.el (diff-vc-backend): New var.
9374 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
9376         * dynamic-setting.el (font-setting-change-default-font):
9377         Remove call to message.
9379 2010-06-28  Kenichi Handa  <handa@m17n.org>
9381         * international/quail.el (quail-insert-kbd-layout): Fix the
9382         showing of untranslated characters.
9384 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
9386         * simple.el (delete-active-region): New option.
9387         (delete-backward-char): Implement in Lisp.
9388         (delete-forward-char): New command.
9390         * mouse.el (mouse-region-delete-keys): Delete.
9391         (mouse-show-mark): Simplify.
9393         * bindings.el (global-map): Bind delete and DEL, the former to
9394         delete-forward-char.
9396 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
9398         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9399         (ruby-mode): Bind indent-line-function (Bug#5119).
9401 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9403         * startup.el (command-line): Recognize "0" X resource value.
9405 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9407         * startup.el (command-line): Use X resources to set the value of
9408         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9410         * menu-bar.el (menu-bar-mode):
9411         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9412         Set init-value to t.
9414         * frame.el (frame-notice-user-settings): Don't change
9415         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9416         vice versa (Bug#2249).
9418 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
9420         * w32-fns.el (w32-convert-standard-filename): Doc fix.
9422 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
9424         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9425         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9427         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9428         default directories are expanded (Bug#6143).
9430 2010-06-24  Juri Linkov  <juri@jurta.org>
9432         * minibuffer.el (completions-format): Change default from nil to
9433         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
9435 2010-06-24  Juri Linkov  <juri@jurta.org>
9437         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9438         buffer-locally to lambda that re-runs the vc diff command.
9439         (Bug#6447)
9441 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
9443         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9444         echo area is in use (Bug#3412).
9446 2010-06-22  Glenn Morris  <rgm@gnu.org>
9448         * textmodes/texinfmt.el (texinfo-format-region)
9449         (texinfo-raise-lower-sections, texinfo-format-separate-node)
9450         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9451         (texinfo-format-option, texinfo-noindent):
9452         Use line-beginning-position and line-end-position.
9454         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9455         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9456         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9457         utf-8 characters.
9459 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
9461         * play/zone.el (zone-fall-through-ws): Fix next-line ->
9462         forward-line fallout.
9464 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
9466         * mouse.el (mouse-appearance-menu): Add docstring.
9468         * help.el (describe-key): Print up-event using key-description.
9470 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
9472         * net/zeroconf.el (zeroconf-resolve-service)
9473         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9474         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9476 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
9478         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9480 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
9482         Avoid displaying files with a nil state in vc-dir.
9483         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9484         cases that cause insertion.
9485         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9486         with a nil state.
9488 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9490         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9492 2010-06-29  Leo  <sdl.web@gmail.com>
9494         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
9496 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9498         * generic-x.el (bat-generic-mode): Fix regexp for command line
9499         switches (Bug#5719).
9501 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
9503         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9504         of nconc to avoid pure storage error (Bug#6239).
9506 2010-06-27  Christoph Scholtes  <cschol2112@googlemail.com>
9508         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9509         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9510         bindings of bookmark-automatically-show-annotations (Bug#6515).
9512 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
9514         * arc-mode.el (archive-zip-extract): Don't quote the file name on
9515         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
9517 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9519         * comint.el (make-comint, make-comint-in-buffer): Mention return
9520         value in the docstrings.  (Bug#6498)
9522 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
9524         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9525         since it is not present when using some non-default switches.
9527 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
9529         * simple.el (compose-mail): Fix doc string to refer to
9530         `compose-mail-user-agent-warnings', instead of to the
9531         nonexistent `compose-mail-check-user-agent'.
9533 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
9535         Fix an indentation bug:
9537         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9538         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9539         of existing values.
9541         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9542         (c-clear->-pair-props-if-match-before): now return t when they've
9543         cleared properties, nil otherwise.
9544         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9545         by taking account of the existing value.
9547         * progmodes/cc-defs.el
9548         (c-clear-char-property-with-value-function): Fix this to clear the
9549         property rather than overwriting it with nil.
9551 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
9553         * emacs-lisp/package.el (package-print-package): Add link to
9554         package description via describe-package.
9555         (describe-package-1): List package requirements.  Add button to
9556         perform installation.
9557         (package-menu-describe-package): New command.
9559         * help-mode.el (help-package): New button type.
9561 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
9563         * emacs-lisp/package.el: Move package-list-packages binding to
9564         menu-bar.el.
9565         (describe-package, describe-package-1, package--dir): New funs.
9566         (package-activate-1): Use package--dir.
9568         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9570         * help-mode.el (help-package-def): New button type.
9572         * menu-bar.el: Move package-list-packages binding here from
9573         package.el.
9575 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
9577         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
9579 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9581         * emacs-lisp/edebug.el (edebug-read-list):
9582         Phase out old-style backquotes.
9584 2010-06-17  Juri Linkov  <juri@jurta.org>
9586         * help-mode.el (help-mode): Set buffer-local variable
9587         revert-buffer-function to help-mode-revert-buffer.
9588         (help-mode-revert-buffer): New function.
9590         * info.el (Info-revert-find-node): Check for major-mode Info-mode
9591         before popping to "*info*" (like in other Info functions).
9592         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
9593         old-history-forward.  Pop to old-buffer-name or "*info*" to
9594         recreate the killed buffer.  Set Info-history-forward from
9595         old-history-forward.
9596         (Info-breadcrumbs-depth): Add :group and :version.
9598 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
9600         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9602 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
9604         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9605         for languages like Portuguese with pt_{BR,PT} and no plain pt.
9607 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
9609         * emacs-lisp/package.el (package-menu-mode-map):
9610         Move initialization into declaration.
9612         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9614 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
9616         * emacs-lisp/package.el (package-archive-base): Point to
9617         elpa.gnu.org.
9618         (package-enable, package-load-list): New defcustoms.
9619         (package-user-dir, package-directory-list): Turn into defcustoms.
9620         Don't include package-user-dir in package-directory-list.
9621         (package--builtins-base): Don't include Emacs as a "package".
9622         (package-subdirectory-regexp): New var.
9623         (package-load-all-descriptors, package-compute-transaction)
9624         (package-download-transaction): Obey package-load-list.
9625         (package-activate-1): Rename from package-do-activate.
9626         (package-list-packages-internal): Check package-load-list.
9627         (package-load-descriptor, package-generate-autoloads)
9628         (package-unpack, package-unpack-single)
9629         (package--read-archive-file, package-delete):
9630         Use expand-file-name.
9632         * emacs-lisp/package-x.el: New file.  Package uploading
9633         functionality split out from package.el.
9635         * startup.el (command-line): Load packages after reading init file.
9637 2010-06-17  Tom Tromey  <tromey@redhat.com>
9639         * emacs-lisp/package.el: New file.
9641 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9643         Fix vc-annotate for renamed files when using Git.
9644         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9645         ls-files.  Doe not pass the object as a file name to cat-file, it
9646         is not a file name.
9647         (vc-git-annotate-command): Pass the file name using -- to avoid
9648         ambiguity with the revision.
9649         (vc-git-previous-revision): Pass a relative file name.
9651 2010-06-22  Glenn Morris  <rgm@gnu.org>
9653         * progmodes/js.el (js-mode-map): Use standard capitalization and
9654         ellipses for menu entries.
9656         * wid-edit.el (widget-complete): Doc fix.
9658 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
9660         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9662 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9664         Fix annotating other revisions for renamed files in vc-annotate.
9665         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9666         VC backend.  Use it when non-nil.
9667         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9668         (Bug#6487).
9670         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9671         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9672         Do not pass the file name to the 'previous-revision call when we
9673         don't want a file diff.  (Bug#6489)
9675 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9677         Fix finding revisions for renamed files in vc-annotate.
9678         * vc/vc.el (vc-find-revision): Add an optional argument for
9679         the VC backend.  Use it when non-nil.
9680         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9681         backend to vc-find-revision.  (Bug#6487)
9683 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9685         Fix reading file names in Git annotate buffers.
9686         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9687         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
9689 2010-06-20  Alan Mackenzie  <acm@muc.de>
9691         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9692         in file local variables, set it first.
9694 2010-06-19  Glenn Morris  <rgm@gnu.org>
9696         * descr-text.el (describe-char-unicode-data): Insert separating
9697         space when needed.  (Bug#6422)
9699         * progmodes/idlwave.el (idlwave-action-and-binding):
9700         Fix typo in 2009-12-03 change.  (Bug#6450)
9702 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9704         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9705         handling for `lambda' (misunderstanding).
9707 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
9709         * calc/calc-poly.el (math-accum-factors): Make sure that
9710         constants aren't distributed after they are factored out.
9712 2010-06-16  Juri Linkov  <juri@jurta.org>
9714         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9715         `list-colors-print'.  (Bug#6332)
9717         * subr.el (read-quoted-char): Fix up last change (bug#6290).
9719 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9721         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9722         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
9724         * font-lock.el (font-lock-major-mode): Rename from
9725         font-lock-mode-major-mode to distinguish it from
9726         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9727         (font-lock-set-defaults):
9728         * font-core.el (font-lock-default-function): Adjust users.
9729         (font-lock-mode): Don't set it at all.
9731 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9733         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9735 2010-06-16  Glenn Morris  <rgm@gnu.org>
9737         * calendar/appt.el (appt-time-msg-list): Doc fix.
9738         (appt-check): Let-bind appt-warn-time.
9739         (appt-add): Make the 3rd argument optional.
9740         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
9741         Only add WARNTIME to the output list if non-nil.
9743 2010-06-16  Ivan Kanis  <apple@kanis.eu>
9745         * calendar/appt.el (appt-check): Let the 3rd element of
9746         appt-time-msg-list specify the warning time.
9747         (appt-add): Add new argument with the warning time.  (Bug#5176)
9749 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9751         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9752         older than version 1.6.  (Bug#6361)
9754 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
9756         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9757         used by cl-do-arglist.  (Bug#6408)
9759 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
9761         * textmodes/ispell.el (ispell-dictionary-base-alist):
9762         Fix portuguese casechars/not-casechars for missing 'çÇ'.
9763         Suggested by Rolando Pereira (bug#6434).
9765 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
9767         * facemenu.el (list-colors-sort): Doc fix.
9769 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9771         * progmodes/sql.el (sql-connect-mysql): Fix typo.
9773 2010-06-14  Juri Linkov  <juri@jurta.org>
9775         Add sort option `list-colors-sort'.  (Bug#6332)
9776         * facemenu.el (color-rgb-to-hsv): New function.
9777         (list-colors-sort): New defcustom.
9778         (list-colors-sort-key): New function.
9779         (list-colors-display): Doc fix.  Sort list according to the option
9780         `list-colors-sort'.
9781         (list-colors-print): Add HSV values to `help-echo' property of
9782         RGB strings.
9784 2010-06-14  Juri Linkov  <juri@jurta.org>
9786         * compare-w.el: Move to the "vc" subdirectory.
9788 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9790         * image-mode.el (image-mode-map): Remap left-char and right-char.
9792         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9794 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
9796         * term/common-win.el (x-colors): Add all the color names defined
9797         in rgb.txt (Bug#6332).
9799         * facemenu.el (list-colors-print): Don't print extra names if it
9800         will overflow the window width.
9802         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9803         change (Bug#6343).
9805 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
9807         * files.el (make-directory): Doc fix (bug#6396).
9809 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
9811         * net/tramp.el (tramp-remote-process-environment): Protect version
9812         string by apostroph.
9813         (tramp-shell-prompt-pattern): Do not use a shy group in case of
9814         XEmacs.
9815         (tramp-file-name-for-operation): Add `call-process-region'.
9816         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9818         * net/tramp-compat.el (top): Do not autoload
9819         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
9820         only when `start-file-process' is not bound.
9821         (tramp-advice-file-expand-wildcards): Do not use
9822         `tramp-handle-file-remote-p'.
9823         (tramp-compat-make-temp-file): Handle the case, that
9824         `make-temp-file' has no third argument EXTENSION.
9826 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
9828         * makefile.w32-in (WINS_BASIC): Include new directory vc.
9830         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9832 2010-06-11  Juri Linkov  <juri@jurta.org>
9834         * finder.el (finder-known-keywords): Add keyword "vc"
9835         for version control.
9837         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9838         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9839         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9840         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9842 2010-06-11  Juri Linkov  <juri@jurta.org>
9844         Move version control related files to the "vc" subdirectory.
9845         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9846         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9847         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9848         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9849         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9850         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9851         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9852         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9853         Move files to the "vc" subdirectory.
9855 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
9857         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9858         (Bug#6367).
9860 2010-06-11  Stephen Eglen  <stephen@gnu.org>
9862         * shell.el: Bind `shell-resync-dirs' to M-RET.
9864 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
9866         * notifications.el: Move file from lisp/net, because it is
9867         supposed to talk locally to the user.
9869 2010-06-10  Julien Danjou  <julien@danjou.info>
9871         * net/notifications.el (notifications-on-action-signal)
9872         (notifications-on-closed-signal): Pass notification id as first
9873         argument to the callback functions.  Add docstrings.
9874         (notifications-notify): Fix docstring.
9876 2010-06-10  Glenn Morris  <rgm@gnu.org>
9878         * emacs-lisp/authors.el (authors-ignored-files)
9879         (authors-valid-file-names): Add some files.
9881 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9883         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9884         merge conflict, giving preference to the emacs-23 version of the code.
9886 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9888         * emacs-lisp/advice.el (ad-compile-function):
9889         Define warning-suppress-types before we let-bind it (bug#6275).
9891         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9892         declare it, make it buffer-local and permanent-local (bug#6324).
9893         (vc-resynch-window): Adjust name.
9894         * vc-hooks.el (vc-find-file-hook): Adjust name.
9896 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
9898         * net/notifications.el (notifications-notify): Fix docstring.
9900 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9902         Update to Unicode 6.0.0 beta.
9903         * international/charprop.el: Update copyright.
9904         * international/mule-cmds.el (ucs-names): Update character ranges.
9905         * international/uni-bidi.el:
9906         * international/uni-category.el:
9907         * international/uni-combining.el:
9908         * international/uni-comment.el:
9909         * international/uni-decimal.el:
9910         * international/uni-decomposition.el:
9911         * international/uni-digit.el:
9912         * international/uni-lowercase.el:
9913         * international/uni-mirrored.el:
9914         * international/uni-name.el:
9915         * international/uni-numeric.el:
9916         * international/uni-old-name.el:
9917         * international/uni-titlecase.el:
9918         * international/uni-uppercase.el: Regenerate.
9920 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9922         * emacs-lisp/smie.el (comment-string-strip): Declare function.
9923         (smie-precs-precedence-table): Fix typo in docstring.
9925         * vc-mtn.el (log-edit-extract-headers): Declare function.
9927         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9929         * net/notifications.el (dbus-register-signal): Declare function.
9930         (notifications-notify): Fix typos and reflow docstring.
9932 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9934         Improve VC create/retrieve tag/branch.
9935         * vc.el (vc-create-tag): Do not read the directory name for VCs
9936         with repository revision granularity.  Adjust the tag/branch
9937         prompt.  Reset VC properties.
9938         (vc-retrieve-tag): Do not read the directory name for VCs
9939         with repository revision granularity.  Reset VC properties.
9941 2010-06-09  Julien Danjou  <julien@danjou.info>
9943         * net/notifications.el: New file.
9945 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9947         Add optional support for resetting VC properties.
9948         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9949         call vc-file-clearprops when true.
9950         (vc-resynch-buffer): Add new optional argument, pass it down.
9951         (vc-resynch-buffers-in-directory): Likewise.
9953         Improve support for special markup in the VC commit message.
9954         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9955         * vc-hg.el (vc-hg-checkin): Add support for Date:.
9956         * vc-git.el (vc-git-checkin):
9957         * vc-bzr.el (vc-bzr-checkin): Likewise.
9959 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9961         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9962         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9964 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
9966         * iimage.el: Remove images as soon as the underlying text is modified.
9967         (iimage-modification-hook): New function.
9968         (iimage-mode-buffer): Use it.
9970 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9972         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9973         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
9974         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
9975         (smie-indent-keyword): Add handling of open-paren keywords.
9976         (smie-indent-comment-continue): Don't assume comment-continue.
9978 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
9980         * window.el (pop-to-buffer): Remove the conditional that
9981         compares new-window and old-window, so it will reselect
9982         the selected window unconditionally.
9983         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9985 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9987         * emacs-lisp/smie.el (smie-indent-offset-after)
9988         (smie-indent-forward-token, smie-indent-backward-token): New functions.
9989         (smie-indent-after-keyword): Use them.
9990         (smie-indent-fixindent): Only applies to the indentation of the BOL.
9991         (smie-indent-keyword): Tweak the black magic.
9992         (smie-indent-comment-continue): Strip comment-continue before use.
9993         (smie-indent-functions): Indent comments before keywords.
9995 2010-06-06  Juri Linkov  <juri@jurta.org>
9997         * isearch.el (isearch-lazy-highlight-search): Fix looping
9998         by checking for empty match.  This syncs this loop with the
9999         similar loop in `isearch-search'.  (Bug#6362)
10001 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
10003         * net/dbus.el (dbus-register-method): Declare function.
10004         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10005         (dbus-introspect): Doc fix.
10006         (dbus-event-bus-name, dbus-introspect-get-interface)
10007         (dbus-introspect-get-argument): Reflow docstrings.
10009 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
10011         vc-log-incoming/vc-log-outgoing fixes for Git.
10012         * vc-git.el (vc-git-log-view-mode): Fix font lock for
10013         incoming/outgoing logs.
10014         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10015         instead of vc-git-compute-remote.
10016         (vc-git-compute-remote): Remove.
10018 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
10020         * term/common-win.el (x-colors): Add "dark green" and "dark
10021         turquoise" (Bug#6332).
10023 2010-06-04  Juri Linkov  <juri@jurta.org>
10025         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10026         Instead of setting `replace' to t and replacing the same string
10027         with itself, don't do certain actions when
10028         kill-do-not-save-duplicates is non-nil and string is equal to car
10029         of kill-ring: don't call menu-bar-update-yank-menu, don't push
10030         interprogram-paste strings to kill-ring, and don't push the input
10031         argument `string' to kill-ring.
10032         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10034 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
10036         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10038 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
10040         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10041         (tramp-gvfs-handler-mounted-unmounted)
10042         (tramp-gvfs-connection-mounted-p): Handle default-location.
10044         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10045         move files to trash.
10047 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
10049         * international/mule-cmds.el (nonascii-insert-offset)
10050         (nonascii-translation-table): Add obsolescence information.
10052         * international/mule.el (make-translation-table-from-vector): Doc fix.
10054 2010-06-03  Glenn Morris  <rgm@gnu.org>
10056         * desktop.el (desktop-clear-preserve-buffers):
10057         Add "*Warnings*" buffer.  (Bug#6336)
10059 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
10061         vc-log-incoming/vc-log-outgoing improvements for Git.
10062         * vc-git.el (vc-git-log-outgoing): Use the same format as the
10063         short log.
10064         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
10066         Add bindings for vc-log-incoming and vc-log-outgoing.
10067         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10068         and vc-log-outgoing.
10069         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10070         and vc-log-outgoing.
10072 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
10074         * net/rcirc.el (rcirc-sort-nicknames): Remove.
10075         (rcirc-handler-366): Always sort nicknames.
10077 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
10079         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10081 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
10083         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10085 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10087         * net/rcirc.el (rcirc-sort-nicknames): Change default.
10088         (rcirc-sort-nicknames-join): Avoid setq.
10090 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
10092         * net/rcirc.el (rcirc-sort-nicknames): New custom.
10093         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10094         (rcirc-handler-366): Use them.
10096 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10098         Split smie-indent-calculate into more manageable chunks.
10099         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10100         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10101         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10102         (smie-indent-exps): Extract from smie-indent-calculate.
10103         (smie-indent-functions): New var.
10104         (smie-indent-functions): Use them.
10106 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10108         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10109         (smie-indent-calculate): Simplify and cleanup.
10111 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
10113         * net/tramp-gvfs.el (top): Require url-util.
10114         (tramp-gvfs-mount-point): Remove.
10115         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10116         New defuns.
10117         (with-tramp-dbus-call-method): Format trace message.
10118         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10119         Implement backup call, when operation on local files fails.
10120         Use progress reporter.  Flush properties of changed files.
10121         (tramp-gvfs-handle-make-directory): Make more traces.
10122         (tramp-gvfs-url-file-name): Hexify file name in url.
10123         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10124         into account for the resulting file name.
10125         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10126         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
10127         (tramp-gvfs-handler-mounted-unmounted)
10128         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10129         attribute "default_location".  Set "prefix" property.
10130         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10131         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10132         exists.  Raise an error, if not (due to a corresponding answer
10133         "no" in interactive questions, for example).
10135 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
10137         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10139 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
10141         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10142         right-*.  (Bug#6265)
10144 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
10146         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10147         * vc-git.el (vc-git-compute-remote): New function.
10148         (vc-git-log-outgoing): Use it instead of hard coding a value.
10149         (vc-git-log-incoming): New function.
10151         Improve state updating for VC tag commands.
10152         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10153         to update the state of all buffers in the directory.
10155         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10157 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10159         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10160         `file-directory-p' to the filename part rather than to the whole text.
10162 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10164         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10166 2010-05-31  Drew Adams  <drew.adams@oracle.com>
10168         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10170 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
10172         * subr.el (momentary-string-display): Just use read-event to read
10173         the exit event (Bug#6238).
10175 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
10177         * international/mule.el (define-coding-system): Doc fix (bug#6313).
10179 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10181         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10182         Suggested by Eli Zaretskii <eliz@gnu.org>.
10184 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10186         * minibuffer.el (completion-file-name-table): Don't return a boundary
10187         past the end of `string' (bug#6299).
10188         (completion--file-name-table): Delegate to completion-file-name-table
10189         for the `boundaries' case.
10191 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10193         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10194         movement commands.
10196         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10197         `path-separator', but maintain compatibility with Emacs 20.2.
10199 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10201         * server.el (server-process-filter): Receive parent-id argument
10202         from emacsclient.
10203         (server-create-window-system-frame): New arg.  Pass parent-id as
10204         frame parameter.
10206 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
10208         Bidi-sensitive word movement with arrow keys.
10209         * subr.el (right-arrow-command, left-arrow-command): Move to
10210         bindings.el.
10212         * bindings.el (right-char, left-char): Move from subr.el and
10213         rename from right-arrow-command and left-arrow-command.
10214         (right-word, left-word): New functions.
10215         (global-map) <right>: Bind to right-char.
10216         (global-map) <left>: Bind to left-char.
10217         (global-map) <C-right>: Bind to right-word.
10218         (global-map) <C-left>: Bind to left-word.
10220         * ls-lisp.el (ls-lisp-classify-file): New function.
10221         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10222         (ls-lisp-classify): Call ls-lisp-classify-file.
10223         (insert-directory): Remove blanks from switches.
10225 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10227         * ansi-color.el: Delete unused escape sequences (Bug#6085).
10228         (ansi-color-drop-regexp): New constant.
10229         (ansi-color-apply, ansi-color-filter-region)
10230         (ansi-color-apply-on-region): Delete unrecognized control sequences.
10231         (ansi-color-apply): Build string list before calling concat.
10233 2010-05-28  Juri Linkov  <juri@jurta.org>
10235         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10236         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10237         (Bug#5270)
10239 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10241         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10242         to ignored backtrace functions.
10243         (with-progress-reporter): Expand docstring.
10244         (tramp-handle-delete-file): Implement TRASH argument.
10245         (tramp-get-remote-trash): New defun.
10247 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10249         * net/tramp-compat.el (tramp-compat-delete-file):
10250         Use `symbol-value' for backward compatibility.
10252         * net/tramp.el (tramp-handle-make-symbolic-link)
10253         (tramp-handle-load)
10254         (tramp-do-copy-or-rename-file-via-buffer)
10255         (tramp-do-copy-or-rename-file-directly)
10256         (tramp-do-copy-or-rename-file-out-of-band)
10257         (tramp-handle-process-file, tramp-handle-call-process-region)
10258         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10259         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10260         (tramp-delete-temp-file-function): Use `delete-file' instead
10261         of `tramp-compat-delete-file'.
10263         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10264         (tramp-fish-handle-make-symbolic-link)
10265         (tramp-fish-handle-process-file): Use `delete-file' instead
10266         of `tramp-compat-delete-file'.
10268         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10269         Use `delete-file' instead of `tramp-compat-delete-file'.
10271         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10272         `delete-file' instead of `tramp-compat-delete-file'.
10274         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10275         Use `delete-file' instead of `tramp-compat-delete-file'.
10277         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10278         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10279         (tramp-smb-handle-write-region): Use `delete-file' instead of
10280         `tramp-compat-delete-file'.
10281         (tramp-smb-handle-delete-directory): Use 'trash as arg.
10283 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10285         * dired.el (dired-delete-file): New arg TRASH.
10286         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
10287         (dired-do-flagged-delete, dired-do-delete): Use trash.
10289         * speedbar.el (speedbar-item-delete): Allow trashing.
10291         * files.el (delete-directory): New arg TRASH.
10293         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10294         (ange-ftp-rename-remote-to-remote)
10295         (ange-ftp-rename-local-to-remote)
10296         (ange-ftp-rename-remote-to-local, ange-ftp-load)
10297         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10298         `delete-file'.
10299         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10300         allow trashing.
10302         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10303         handle new TRASH arg of `delete-file'.
10305         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10306         (tramp-handle-make-symbolic-link, tramp-handle-load)
10307         (tramp-do-copy-or-rename-file-via-buffer)
10308         (tramp-do-copy-or-rename-file-directly)
10309         (tramp-do-copy-or-rename-file-out-of-band)
10310         (tramp-handle-process-file, tramp-handle-call-process-region)
10311         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10312         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10313         (tramp-delete-temp-file-function): Use null TRASH arg in
10314         tramp-compat-delete-file call.
10316         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10317         (tramp-fish-handle-delete-file)
10318         (tramp-fish-handle-make-symbolic-link)
10319         (tramp-fish-handle-process-file): Use null TRASH arg in
10320         `tramp-compat-delete-file' call.
10322         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10323         arg in `tramp-compat-delete-file' call.
10325         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10326         (tramp-gvfs-handle-write-region): Use null TRASH arg in
10327         `tramp-compat-delete-file' call.
10329         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10330         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10331         `tramp-compat-delete-file' call.
10333         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10334         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10335         (tramp-smb-handle-write-region): Use null TRASH arg in
10336         tramp-compat-delete-file call.
10337         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10338         (tramp-smb-handle-delete-file): Rename arg.
10340         * diff.el (diff-sentinel):
10341         * epg.el (epg--make-temp-file, epg-decrypt-string)
10342         (epg-verify-string, epg-sign-string, epg-encrypt-string):
10343         * jka-compr.el (jka-compr-partial-uncompress)
10344         (jka-compr-call-process, jka-compr-write-region):
10345         * server.el (server-sentinel): Remove optional arg from
10346         delete-file, reverting 2010-05-03 change.
10348 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10350         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10351         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10353 2010-05-27  Kenichi Handa  <handa@m17n.org>
10355         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10356         element of GSTRING is nil.
10358 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10360         * emacs-lisp/smie.el (smie-forward-token-function)
10361         (smie-backward-token-function): New vars.
10362         (smie-backward-sexp, smie-forward-sexp)
10363         (smie-indent-hanging-p, smie-indent-calculate): Use them.
10364         (smie-default-backward-token): Rename from smie-backward-token and
10365         skip comments.
10366         (smie-default-forward-token): Rename from smie-forward-token and
10367         skip comments.
10368         (smie-next-sexp): Handle nil results from next-token.
10369         (smie-indent-calculate): Add a new case for special `fixindent' comments.
10371 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10373         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10374         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10376 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
10378         * htmlfontify.el (hfy-face-resolve-face): New function.
10379         (hfy-face-to-style): Use it (Bug#6279).
10381 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10383         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10384         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10386 2010-05-26  Glenn Morris  <rgm@gnu.org>
10388         * emulation/edt.el (edt-load-keys): Use locate-library.
10390 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
10392         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10393         (log-edit-changelog-entries): Doc fix.
10394         (log-edit-changelog-insert-entries): Args changed.
10395         Rename relative filenames in ChangeLog entries.  Delete tabs.
10396         (log-edit-insert-changelog-entries): Reorganize return value of
10397         `log-edit-changelog-entries' to pass filenames to
10398         log-edit-changelog-insert-entries.
10400 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10402         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10403         `image-dired-dired-insert-marked-thumbs' to
10404         `image-dired-dired-toggle-marked-thumbs'.
10406         * image-dired.el: Require cl when compiling.
10407         (image-dired-dired-toggle-marked-thumbs): Rename from
10408         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
10409         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
10410         to 'no-dir.  Skip files whose names don't match
10411         `image-file-name-regexp'.  When file has a thumbnail overlay,
10412         delete it.  (Bug#5270)
10414 2010-05-25  Juri Linkov  <juri@jurta.org>
10416         * image-mode.el (image-mode): Add image-after-revert-hook to
10417         after-revert-hook.
10418         (image-after-revert-hook): New function.  (Bug#5669)
10420 2010-05-25  Juri Linkov  <juri@jurta.org>
10422         * image.el (image-animated-p): When delay between animated images
10423         is 0, set it to 10 (0.1 sec).  (Bug#6258)
10425 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
10427         * net/tramp.el (tramp-handle-insert-directory): Don't use
10428         `forward-word', its default syntax could be changed.
10430 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
10432         * net/tramp.el (tramp-progress-reporter-update): New defun.
10433         (with-progress-reporter): Use it.
10434         (tramp-process-actions):
10435         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10436         Preserve current message, in order to let progress reporter continue
10437         afterwards.  (Bug#6257)
10439 2010-05-25  Glenn Morris  <rgm@gnu.org>
10441         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10442         Add :version.
10444 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10446         * net/rcirc.el (rcirc-default-user-name): Change to "user".
10447         (rcirc-default-full-name): Change to "unknown".
10448         (rcirc-user-name-history): Add variable.
10450 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10451             Jonathan Rockway  <jon@jrock.us>
10453         * net/rcirc.el (rcirc-server-alist): Add :pass.
10454         (rcirc): When prompting for connection parameters, also prompt for
10455         username and password.
10456         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
10457         value to server when connecting.
10459 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10461         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10462         (smie-merge-prec2s): Pass the tables as separate args.
10463         (smie-bnf-precedence-table): Adjust call accordingly.
10464         (smie-prec2-levels): Set levels at the end.
10466         Replace Lisp calls to delete-backward-char by delete-char.
10467         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10468         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10469         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10470         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10471         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10472         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10473         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10474         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10475         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10476         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10477         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10478         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10479         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10480         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10481         delete-backward-char by calls to delete-char.
10483 2010-05-25  Kenichi Handa  <handa@m17n.org>
10485         * language/hebrew.el (hebrew-shape-gstring): New function.
10486         Register it in composition-function-table for all Hebrew combining
10487         characters.
10489 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10491         * epa.el (epa--select-keys): Don't explicitly delete the window since
10492         that can fail (e.g. sole window in frame).  Use dedication instead.
10494 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10496         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10498 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
10500         * image.el (image-refresh): Define as an alias for image-flush.
10502         * image-mode.el (image-toggle-display-image): Caller changed.
10504 2010-05-21  Juri Linkov  <juri@jurta.org>
10506         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10507         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
10508         whitespace, call wildcard-to-regexp on substrings and concat them
10509         with "\\|".  (Bug#6114)
10511 2010-05-21  Alan Mackenzie  <acm@muc.de>
10513         * progmodes/cc-engine.el (c-parse-state-get-strategy):
10514         Replace parameter `here' with `here-' and `here-plus', which sandwich
10515         any pertinent CPP construct.
10516         (c-remove-stale-state-cache-backwards): Fix a bug which happens
10517         when doing (c-parse-state) in a CPP construct: Exclude any "new"
10518         CPP construct from taking part in the scanning.
10520 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
10522         * net/tramp.el (tramp-do-copy-or-rename-file)
10523         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10524         Tune `with-progress-reporter' messages.
10525         (tramp-handle-vc-registered):
10526         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10527         (tramp-fish-handle-insert-file-contents)
10528         (tramp-fish-maybe-open-connection):
10529         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10530         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10531         (tramp-imap-handle-insert-file-contents)
10532         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10534 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
10536         * add-log.el (change-log-font-lock-keywords):
10537         Highlight all authors in multi-author entries.
10539         * smerge-mode.el (smerge-refine-ignore-whitespace)
10540         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10541         Fix typos in docstrings.
10542         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10544 2010-05-21  Glenn Morris  <rgm@gnu.org>
10546         * progmodes/fortran.el (fortran-mode):
10547         * progmodes/f90.el (f90-mode): Derive from prog-mode.
10549         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10550         having a relative path in src/Makefile.in.
10552 2010-05-20  Kevin Ryde  <user42@zip.com.au>
10554         * help-mode.el (help-make-xrefs): For Info node links turn
10555         newlines into spaces.  Link node names with newlines are matched
10556         by help-xref-info-regexp and buttonized, this change ensures they
10557         can be followed successfully with RET.  (Bug#6206)
10559 2010-05-20  Juri Linkov  <juri@jurta.org>
10561         * locate.el (locate): Use pop-to-buffer instead of
10562         switch-to-buffer-other-window.  (Bug#6204)
10564 2010-05-20  Juri Linkov  <juri@jurta.org>
10566         * replace.el (replace-highlight): Fix lazy-highlighting
10567         for `M-s w str M-% str RET'.
10569 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
10571         * isearch.el (isearch-yank-word-or-char): Pull next subword
10572         when `subword-mode' is activated.  (Bug#6220)
10574 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
10576         * isearch.el (isearch-update-post-hook): New hook.
10577         (isearch-update): Use the new hook.  (Bug#6225)
10579 2010-05-20  Juri Linkov  <juri@jurta.org>
10581         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10582         [f1], [help], and (char-to-string help-char) instead of "\C-h".
10583         (Bug#6222)
10585 2010-05-20  Juri Linkov  <juri@jurta.org>
10587         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10588         (Bug#6223)
10590 2010-05-20  Juri Linkov  <juri@jurta.org>
10592         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10593         FILE-NAME to read from the minibuffer when called interactively
10594         with prefix argument instead of using buffer-file-name.
10595         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10597         * dired.el: Update autoloads.
10599 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
10601         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10602         nxml-finish-element, for consistency with SGML mode.
10604         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10605         octave-close-block.
10607 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
10609         * composite.el: Require cl when compiling.
10610         (reference-point-alist, compose-gstring-for-graphic)
10611         (compose-gstring-for-terminal): Fix typos in docstrings.
10613 2010-05-19  Juri Linkov  <juri@jurta.org>
10615         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10616         set-window-parameter.
10618 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10620         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10621         where appropriate.
10622         (tramp-maybe-open-connection): Use it.
10624 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
10626         * simple.el (move-end-of-line): Make sure we are at line beginning
10627         before backing up to end of previous line.
10629 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10631         * password-cache.el (password-cache-remove): Fix docstring.
10633         * net/secrets.el: Autoload the widget functions.
10634         (secrets-search-items, secrets-create-item)
10635         (secrets-get-attributes, secrets-expand-item): Attributes will be
10636         stored on the password database without leading ":", as all other
10637         clients do as well.
10638         (secrets-mode): Fix docstring.
10639         (secrets-show-secrets): Provide it as autoloaded command only when
10640         D-Bus support is available.  Check existence of Secret Service API.
10642 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10644         * indent.el (indent-region): Deactivate region (bug#6200).
10646 2010-05-19  Glenn Morris  <rgm@gnu.org>
10648         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
10650 2010-05-19  Kenichi Handa  <handa@m17n.org>
10652         * composite.el: Register compose-gstring-for-graphic in
10653         composition-function-table only for combining characters (Mn, Mc, Me).
10655 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
10657         * calc/calc-trail.el (calc-trail-isearch-forward)
10658         (calc-trail-isearch-backward): Ensure that the new window
10659         point is set correctly.
10661 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10663         * subr.el (read-quoted-char): Resolve modifiers after key
10664         remapping (bug#6212).
10666 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
10668         Add visualization code for secrets.
10669         * net/secrets.el (secrets-mode): New major mode.
10670         (secrets-show-secrets, secrets-show-collections)
10671         (secrets-expand-collection, secrets-expand-item)
10672         (secrets-tree-widget-after-toggle-function)
10673         (secrets-tree-widget-show-password): New defuns.
10675 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10677         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10678         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10679         handled in smie-next-sexp.
10680         (smie-indent-calculate): Provide a starting indentation (so the
10681         recursion is well-founded ;-).
10683         Fix handling of non-associative equal levels.
10684         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10685         when it's not needed.
10686         (smie-op-left, smie-op-right): New functions.
10687         (smie-next-sexp): New function, extracted from smie-backward-sexp.
10688         Better handle equal levels to distinguish the associative case from
10689         the "multi-keyword construct" case.
10690         (smie-backward-sexp, smie-forward-sexp): Use it.
10692 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
10694         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10696         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10697         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10699 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10701         Provide a simple generic indentation engine and use it for Prolog.
10702         * emacs-lisp/smie.el: New file.
10703         * progmodes/prolog.el (prolog-smie-op-levels)
10704         (prolog-smie-indent-rules): New var.
10705         (prolog-mode-variables): Use them to configure SMIE.
10706         (prolog-indent-line, prolog-indent-level): Remove.
10708 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10710         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10711         order before computing the averages.
10713 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
10715         * calc/calc-vec.el (calc-histogram):
10716         (calcFunc-histogram): Allow vectors as inputs.
10717         (math-vector-avg): New function.
10719         * calc/calc-ext.el (math-group-float): Have the number of digits
10720         being grouped depend on the radix (Bug#6189).
10722 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
10724         * version.el (emacs-copyright, emacs-version): Don't define here,
10725         now that emacs.c defines it.
10727 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
10729         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10730         "Describe Language Environment" menu item.
10732         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10734         Bidi-sensitive movement with arrow keys.
10735         * subr.el (right-arrow-command, left-arrow-command): New functions.
10737         * bindings.el (global-map): Bind them to right and left arrow keys.
10739         Don't override standard definition of convert-standard-filename.
10740         * files.el (convert-standard-filename):
10741         Call w32-convert-standard-filename and dos-convert-standard-filename on
10742         the corresponding systems.
10744         * w32-fns.el (w32-convert-standard-filename): Rename from
10745         convert-standard-filename.  Doc fix.
10747         * dos-fns.el (dos-convert-standard-filename): Doc fix.
10748         (convert-standard-filename): Don't defalias.
10749         (register-name-alist, make-register, register-value)
10750         (set-register-value, intdos): Obsolete aliases for the
10751         corresponding dos-* functions and variables.
10752         (dos-intdos): Add a doc string.
10754 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
10756         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10757         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10758         (math-compose-tex-func):
10759         * calc/calccomp.el (math-compose-expr):
10760         * calc/calc-ext.el (math-format-flat-expr-fancy):
10761         * calc/calc-store.el (calc-read-var-name):
10762         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10764         * calc/calc.el (var-π, var-φ, var-γ): New variables.
10765         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10766         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10767         (math-standard-units): Add units.
10769 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10771         * progmodes/asm-mode.el (asm-mode):
10772         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10774         * pcomplete.el (pcomplete-completions-at-point): New function,
10775         extracted from pcomplete-std-complete.
10776         (pcomplete-std-complete): Use it.
10778 2010-05-15  Glenn Morris  <rgm@gnu.org>
10780         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10781         Remove references to CVS, RCS and Old directories.
10783 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
10785         * calc/calc-bin.el (math-format-twos-complement): Group digits when
10786         appropriate.
10788 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10790         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10791         (sh-mode-syntax-table): Give it a default value instead.
10792         (sh-header-marker): Make buffer-local.
10793         (sh-mode): Move make-local-variable to the corresponding setq.
10794         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10795         Use complete-with-action.
10797         * simple.el (prog-mode): New (abstract) major mode.
10798         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10799         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10801 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
10803         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10804         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10805         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10806         (sql-make-alternate-buffer-name, sql-placeholders-filter)
10807         (sql-escape-newlines-filter, sql-input-sender)
10808         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10810 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
10812         Add TeX open-block and close-block keybindings to SGML, and vice versa.
10814         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10815         latex-open-block and C-c / to latex-close-block.
10817         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10818         and C-c C-e to sgml-close-tag.
10820 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
10822         * net/tramp.el (with-progress-reporter): Create reporter object
10823         only when the message would be displayed.  Handle nested calls.
10824         (tramp-handle-load, tramp-handle-file-local-copy)
10825         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10826         (tramp-maybe-send-script, tramp-find-shell):
10827         Use `with-progress-reporter'.
10828         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10829         Fix message text.
10831         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10832         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10833         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10834         Use `with-progress-reporter'.
10836 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
10838         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10839         process everytime when spellchecking from the minibuffer (bug#6143).
10841 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10843         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10845         * dos-fns.el: Add "dos-" prefix for namespace control.
10846         (convert-standard-filename): Define as alias for
10847         dos-convert-standard-filename but only if applicable.
10849 2010-05-12  Alan Mackenzie  <acm@muc.de>
10851         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10852         Push the mark at the start of these functions when appropriate.
10854 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10856         * minibuffer.el (completion-cycle-threshold): New custom var.
10857         (completion--do-completion): Use it.
10858         (minibuffer-complete): Use cycling if appropriate.
10860 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
10862         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10863         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10865 2010-05-11  Juri Linkov  <juri@jurta.org>
10867         * scroll-all.el (scroll-all-check-to-scroll):
10868         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10870 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10872         * iimage.el (iimage-mode-map): Move initialization into declaration.
10873         (iimage-mode-buffer): Use with-silent-modifications.
10874         Simplify calling convention.  Adjust callers.
10875         (iimage-mode): Don't run hook redundantly.
10877         * minibuffer.el (completion-pcm--pattern->regex):
10878         Fix last change (bug#6160).
10880 2010-05-10  Juri Linkov  <juri@jurta.org>
10882         Remove nodes visited during Isearch from the Info history.
10883         * info.el (Info-isearch-initial-history)
10884         (Info-isearch-initial-history-list): New variables.
10885         (Info-isearch-start): Record initial values of
10886         Info-isearch-initial-history and Info-isearch-initial-history-list.
10887         Add Info-isearch-end to isearch-mode-end-hook.
10888         (Info-isearch-end): New function.
10890 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
10892         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10893         format string, in order to work around a bug in pdksh.
10894         Reported by Gilles Pion <gpion@lfdj.com>.
10895         (tramp-handle-verify-visited-file-modtime): Do not send a command
10896         when the connection is not established.
10897         (tramp-handle-set-file-times): Simplify the check for utc.
10899 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
10901         Fix use of `filter-buffer-substring' (rework previous change).
10902         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10903         (cua-repeat-replace-region):
10904         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10905         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10906         (cua-cut-region-to-global-mark): Use it.
10908 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
10910         * progmodes/sql.el: Version 2.1.
10911         (sql-product-alist): Redesign structure of product info.
10912         (sql-product, sql-user, sql-server, sql-database): Safe variables.
10913         (sql-port, sql-port-history): New variables.
10914         (sql-interactive-product): New variable.
10915         (sql-send-terminator): New variable.
10916         (sql-imenu-generic-expression): Add "Types" imenu entry.
10917         (sql-oracle-login-params, sql-sqlite-login-params)
10918         (sql-mysql-login-params, sql-solid-login-params)
10919         (sql-sybase-login-params, sql-informix-login-params)
10920         (sql-ingres-login-params, sql-ms-login-params)
10921         (sql-postgres-login-params, sql-interbase-login-params)
10922         (sql-db2-login-params, sql-linter-login-params)
10923         (sql-oracle-scan-on): New variables.
10924         (sql-mode-map): Add C-c C-i to start interactive mode.
10925         (sql-mode-menu): Update existing menu entries.
10926         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10927         (sql-mode-oracle-font-lock-keywords)
10928         (sql-mode-postgres-font-lock-keywords)
10929         (sql-mode-ms-font-lock-keywords)
10930         (sql-mode-sybase-font-lock-keywords)
10931         (sql-mode-informix-font-lock-keywords)
10932         (sql-mode-interbase-font-lock-keywords)
10933         (sql-mode-ingres-font-lock-keywords)
10934         (sql-mode-solid-font-lock-keywords)
10935         (sql-mode-mysql-font-lock-keywords)
10936         (sql-mode-sqlite-font-lock-keywords)
10937         (sql-mode-db2-font-lock-keywords)
10938         (sql-mode-linter-font-lock-keywords): Update initialization to
10939         reduce run-time complexity.
10940         (sql-add-product, sql-del-product): New functions.
10941         (sql-set-product-feature, sql-get-product-feature): New functions.
10942         (sql-product-font-lock): Update product API.
10943         (sql-add-product-keywords): New function.
10944         (sql-highlight-product): Update product API.
10945         (sql-help-list-products): New function.
10946         (sql-help): Dynamically lists free and non-free products.
10947         (sql-get-login): Correct bug in handling history and added
10948         prompt for port.
10949         (sql-copy-column): Copy without properties.
10950         (sqli-input-sender): Apply filters to SQLi input.
10951         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10952         Implement as a filter.
10953         (sql-escape-newlines-filter): Implement as a filter.
10954         (sql-remove-tabs-filter): New function.
10955         (sql-send-magic-terminator): New function.
10956         (sql-send-string): Implement magic terminator.
10957         (sql-send-region): Use `sql-send-string'.
10958         (sql-interactive-mode): Use product API.
10959         (sql-product-interactive): Use product API.
10960         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10961         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10962         (sql-db2, sql-linter): Use `sql-product-interactive'.
10963         (sql-connect): New function.
10964         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10965         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10966         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10967         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10968         Use `sql-connect'.
10970 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10972         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10973         New custom variable.
10974         (completion-pcm--string->pattern): Use it.
10975         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10976         Make it handle any symbol as `any'.
10977         (completion-pcm--merge-completions): Extract common suffix for the new
10978         `prefix' symbol as well.
10979         (completion-substring--all-completions): Use the new `prefix' symbol.
10981 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
10983         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10984         not bound.
10985         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10986         (tramp-compat-funcall): New defmacro.
10987         (tramp-compat-line-beginning-position)
10988         (tramp-compat-line-end-position)
10989         (tramp-compat-temporary-file-directory)
10990         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10991         (tramp-compat-copy-file, tramp-compat-copy-directory)
10992         (tramp-compat-delete-file, tramp-compat-delete-directory)
10993         (tramp-compat-number-sequence, tramp-compat-process-running-p)
10994         * net/tramp.el (top, with-progress-reporter)
10995         (tramp-rfn-eshadow-setup-minibuffer)
10996         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10997         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10998         (tramp-completion-mode-p, tramp-check-for-regexp)
10999         (tramp-open-connection-setup-interactive-shell)
11000         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11001         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11002         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11003         * net/tramp-cmds.el (tramp-cleanup-all-connections)
11004         (tramp-reporter-dump-variable, tramp-load-report-modules)
11005         (tramp-append-tramp-buffers)
11006         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11008         * net/tramp-imap.el (top): Autoload `epg-make-context'.
11010 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11012         * progmodes/compile.el (compilation-buffer-modtime): Rename from
11013         buffer-modtime.  Adjust users.
11015 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11017         * international/mule.el (auto-coding-alist): Only purecopy
11018         car of each item, not the whole list (Bug#6083).
11020 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11022         * progmodes/js.el (js-mode): Make paragraph variables local before
11023         calling c-setup-paragraph-variables (Bug#6071).
11025 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
11027         * composite.el (compose-region, reference-point-alist): Fix typos
11028         in the doc strings.
11030 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
11032         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11033         gnuplot's "set" command.
11035 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11037         * abbrev.el (last-abbrev-text): Doc fix.
11038         (abbrev-prefix-mark): Don't escape parenthesis.
11040 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
11042         * composite.el (find-composition): Doc fix.
11044 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11046         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11047         (sql-oracle-program, sql-sqlite-options)
11048         (sql-query-placeholders-and-send): Doc fixes.
11049         (sql-set-product, sql-interactive-mode): Reflow docstrings.
11050         (sql-imenu-generic-expression, sql-buffer)
11051         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11052         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11053         (sql-mode-sybase-font-lock-keywords)
11054         (sql-mode-informix-font-lock-keywords)
11055         (sql-mode-interbase-font-lock-keywords)
11056         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11057         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11058         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11059         (sql-product-feature, sql-highlight-product)
11060         (comint-line-beginning-position, sql-rename-buffer)
11061         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11062         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11063         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11064         Fix typos in docstrings.
11066 2010-05-08  Juri Linkov  <juri@jurta.org>
11068         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11069         property instead of `invisible' and `after-string' (bug#5998).
11071 2010-05-08  Juri Linkov  <juri@jurta.org>
11073         * image-mode.el (image-mode-as-text): Fix typo in docstring.
11075 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11077         * filecache.el (file-cache-add-directory-list)
11078         (file-cache-add-directory-recursively): Fix typos in docstrings.
11080 2010-05-08  Kenichi Handa  <handa@m17n.org>
11082         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11083         (gujarati-composable-pattern): Fix typo.
11085 2010-05-08  Kenichi Handa  <handa@m17n.org>
11087         * language/indian.el (oriya-composable-pattern)
11088         (tamil-composable-pattern, malayalam-composable-pattern):
11089         Add two-part vowels to "v" (vowel sign).
11091 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11093         * files.el (copy-directory): Handle symlinks (Bug#5982).
11095 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
11097         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11098         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
11099         (Bug#5846).
11101 2010-05-08  Glenn Morris  <rgm@gnu.org>
11103         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11105         * minibuffer.el (completion-at-point): Doc fix.
11107 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11109         * electric.el (Electric-command-loop): Minor tweak.
11111         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11112         better with dedicated windows.
11114 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
11116         * Version 23.2 released.
11118 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
11119             Stefan Monnier  <monnier@iro.umontreal.ca>
11121         Highlight vendor specific properties.
11122         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11123         (css-proprietary-property): New face.
11124         (css-font-lock-keywords): Use them.
11126 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
11128         * cus-start.el (all): Add native condition for tool-bar-* symbols.
11130 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11132         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11133         * files.el (auto-mode-alist): Remove redundant entries.
11135         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11136         * simple.el (auto-save-mode): Move from files.el.
11137         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11139 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
11141         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11143 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
11145         * mail/binhex.el (binhex-decode-region-internal)
11146         * mail/uudecode.el (uudecode-decode-region-internal)
11147         * net/dns.el (dns-read-string-name, dns-write, dns-read)
11148         (dns-read-type, dns-query)
11149         * pgg-parse.el (pgg-parse-armor)
11150         * pgg.el (pgg-verify-region)
11151         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11152         XEmacs.
11154         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11156 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
11158         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11160         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11161         * emulation/cua-base.el (cua-repeat-replace-region):
11162         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11163         (cua-cut-region-to-global-mark):
11164         Remove text properties with `set-text-properties'.
11166 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
11168         * net/tramp.el (top, with-progress-reporter):
11169         Use `symbol-function' inside `funcall'.
11171         * net/tramp-compat.el (tramp-compat-file-attributes)
11172         (tramp-compat-delete-file, tramp-compat-delete-directory):
11173         Handle only `wrong-number-of-arguments' error.
11175         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11176         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11177         inside `funcall'.
11179 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11181         * minibuffer.el (completion--sreverse, completion--common-suffix):
11182         New functions.
11183         (completion-pcm--merge-completions): Extract common suffix when safe.
11185         * emacs-lisp/easy-mmode.el (define-minor-mode):
11186         Make :variable more flexible.
11187         * files.el (auto-save-mode): Use it to define using define-minor-mode.
11189 2010-05-05  Juri Linkov  <juri@jurta.org>
11191         Add `slow' and `history' tags to the desktop data.
11193         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11194         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11195         (Info-finder-find-node): Require `finder.el' to be able
11196         to restore node from the desktop.
11197         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
11198         data `Info-history' and `slow' tag in the assoc list.
11199         (Info-restore-desktop-buffer): Don't restore nodes with the
11200         `slow' tag.  Restore `Info-history'.
11202 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
11204         Add FORCE argument to `delete-file'.
11206         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11207         forcing to delete the temporary file.
11208         (ange-ftp-delete-file): Add FORCE arg.
11209         (ange-ftp-rename-remote-to-remote)
11210         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11211         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11212         Force file deletion.
11214         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11216         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11217         (tramp-handle-make-symbolic-link, tramp-handle-load)
11218         (tramp-do-copy-or-rename-file-via-buffer)
11219         (tramp-do-copy-or-rename-file-directly)
11220         (tramp-do-copy-or-rename-file-out-of-band)
11221         (tramp-handle-process-file, tramp-handle-call-process-region)
11222         (tramp-handle-shell-command, tramp-handle-file-local-copy)
11223         (tramp-handle-insert-file-contents, tramp-handle-write-region)
11224         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11226         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11227         (tramp-fish-handle-make-symbolic-link)
11228         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11230         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11231         Use `tramp-compat-delete-file'.
11233         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11234         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11236         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11237         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11239         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11240         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11241         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11242         Use `tramp-compat-delete-file'.
11244 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11246         Minor cleanups.
11247         * subr.el (add-minor-mode): Use push.
11248         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11249         * emulation/edt.el (edt-select-mode): Simplify.
11251         Use define-minor-mode in more cases.
11252         * term/tvi970.el (tvi970-set-keypad-mode):
11253         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11254         (normal-erase-is-backspace-mode):
11255         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11256         (set-scroll-bar-mode-1): (Re)move to its sole caller.
11257         (get-scroll-bar-mode): New function.
11258         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11260         Use define-minor-mode for less obvious cases.
11261         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11262         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11263         * international/iso-ascii.el (iso-ascii-mode):
11264         * frame.el (auto-raise-mode, auto-lower-mode):
11265         * composite.el (global-auto-composition-mode): Use define-minor-mode.
11267 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
11269         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11270         in order to see error messages for failed logins.
11272 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
11274         * diff.el (diff-sentinel):
11276         * epg.el (epg--make-temp-file, epg-decrypt-string)
11277         (epg-verify-string, epg-sign-string, epg-encrypt-string):
11279         * jka-compr.el (jka-compr-partial-uncompress)
11280         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11282         * server.el (server-sentinel): Use delete-file's new FORCE arg
11283         (Bug#6070).
11285 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11287         Use define-minor-mode where applicable.
11288         * view.el (view-mode):
11289         * type-break.el (type-break-query-mode)
11290         (type-break-mode-line-message-mode):
11291         * textmodes/reftex.el (reftex-mode):
11292         * term/vt100.el (vt100-wide-mode):
11293         * tar-mode.el (tar-subfile-mode):
11294         * savehist.el (savehist-mode):
11295         * ibuf-ext.el (ibuffer-auto-mode):
11296         * composite.el (auto-composition-mode):
11297         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11298         Use define-minor-mode.
11299         (vhdl-mode): Use static mode-line format.
11300         (vhdl-mode-line-update): Delete.
11301         (vhdl-create-mode-menu, vhdl-activate-customizations)
11302         (vhdl-hs-minor-mode): Don't bother calling it.
11304 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11306         * simple.el (with-wrapper-hook): Move.
11307         (buffer-substring-filters): Mark obsolete.
11308         (filter-buffer-substring-functions): New variable.
11309         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
11311 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
11312             Michael Albinus  <michael.albinus@gmx.de>
11314         Implement compression for inline methods.
11316         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11317         (tramp-copy-size-limit): Allow also nil.
11318         (tramp-inline-compress-commands): New defconst.
11319         (tramp-find-inline-compress, tramp-get-inline-compress)
11320         (tramp-get-inline-coding): New defuns.
11321         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11322         replaced by `tramp-get-inline-coding'.
11323         (tramp-handle-file-local-copy, tramp-handle-write-region)
11324         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11326 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11328         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11329         Remove unused functions.
11331         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11332         Set find-tag-default-function as a variable rather than a property.
11334         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11335         * progmodes/etags.el (tags-completion-at-point-function):
11336         Remove left over interactive spec.  Add autoloading stub.
11337         (complete-tag): Use tags-completion-at-point-function.
11339 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
11341         * minibuffer.el (tags-completion-at-point-function): Fix return value.
11343 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11345         * ido.el (ido-init-completion-maps): Remove C-v binding.
11346         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11348 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11350         * minibuffer.el (tags-completion-at-point-function): New function.
11351         (completion-at-point-functions): Use it.
11353         * progmodes/etags.el (complete-tag): Revert last change.
11355 2010-04-29  Alan Mackenzie  <acm@muc.de>
11357         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11358         off-by-one error (in end of macro position).
11360 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11362         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11363         firefox is absent.  Don't autoload.
11364         (browse-url-galeon-program): Don't autoload.
11366 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11368         * bindings.el (complete-symbol): Move into minibuffer.el.
11370         * minibuffer.el (complete-tag): Move from etags.el.  If tags
11371         completion cannot be performed, return nil instead of signalling
11372         an error.
11373         (completion-at-point): Make it an alias for complete-symbol.
11374         (complete-symbol): Move from bindings.el, and replace with the
11375         body of completion-at-point.
11377         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11379 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
11381         * net/tramp.el (tramp-remote-selinux-p): New defun.
11382         (tramp-handle-file-selinux-context)
11383         (tramp-handle-set-file-selinux-context): Use it.
11385 2010-04-28  Sam Steingold  <sds@gnu.org>
11387         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11388         `safe-local-variable' if the value is a string or a symbol with
11389         the property `bug-reference-url-format'.
11391 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11393         * progmodes/bug-reference.el (bug-reference-url-format):
11394         Revert 2010-04-27 change due to security risk.
11396 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11398         Make it possible to locally disable a globally enabled mode.
11399         * simple.el (fundamental-mode): Run fundamental-mode-hook.
11400         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11401         rather than kill-all-local-variables so it runs fundamental-mode-hook.
11402         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11403         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11404         that subsequent hooks get a chance to disable it.
11406 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11408         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11409         Avoid re-enabling a minor mode after the user turned the minor mode
11410         off if MODE-enable-in-buffers is run twice (typically once from
11411         fundamental-mode's after-change-major-mode-hook and a second time from
11412         run-mode-hook's own after-change-major-mode-hook).
11414         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11416 2010-04-27  Sam Steingold  <sds@gnu.org>
11418         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11419         `safe-local-variable' if the value is a string or a function, as
11420         documented and implemented on 2010-04-02.
11422 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
11424         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11425         when method is 'kill.
11427 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
11429         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11430         condition in default directory check.
11431         (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11432         Kill ispell process when killing its associated buffer.
11434 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
11436         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11437         but we aren't using it.
11439 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
11441         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11442         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11444 2010-04-24  Glenn Morris  <rgm@gnu.org>
11446         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11447         Ignore VCS-ignore files, and deleted nextstep preferences files.
11448         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11449         (authors-ambiguous-files): New list.
11450         (authors-valid-file-names): Add some deleted files.
11451         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11452         (authors-disambiguate-file-name): New function.  (Bug#5501)
11453         (authors-canonical-file-name): Doc fix.
11454         Don't warn about obsolete files.
11455         (authors-canonical-file-name, authors-scan-el):
11456         Use authors-disambiguate-file-name.
11458         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11459         Add autoload cookies.
11460         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11461         (generated-autoload-file): Set file-local value to "htmlfontify.el".
11462         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11463         They have definitions / compiler macros in cl.el.
11464         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11465         Replace manual autoloads with generated ones.
11466         (htmlfontify-unload-rgb-file): Remove autoload.
11467         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11469 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11471         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11472         (byte-compile-setq-default): Optimize for the
11473         single-var case and don't call byte-compile-form in this case to avoid
11474         inf-loop with byte-compile-set-default.
11476         * progmodes/compile.el (compilation-start): Abbreviate default directory.
11478 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
11480         Implement SELINUX backends.
11482         * net/tramp.el (tramp-file-name-handler-alist):
11483         Add `file-selinux-context' and `set-file-selinux-context'.
11484         (tramp-handle-file-selinux-context)
11485         (tramp-handle-set-file-selinux-context): New defuns.
11486         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11487         Handle PRESERVE-SELINUX-CONTEXT.
11489         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11490         Add `file-selinux-context' and `set-file-selinux-context'.
11491         (tramp-gvfs-handle-file-selinux-context)
11492         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11493         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11495         * net/ange-ftp.el (ange-ftp-copy-file):
11496         * net/tramp-fish.el (tramp-fish-handle-copy-file):
11497         * net/tramp-imap.el (tramp-imap-handle-copy-file):
11498         * net/tramp-smb.el (tramp-smb-handle-copy-file):
11499         Add PRESERVE-SELINUX-CONTEXT.
11501 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11503         Synchronize with Tramp repository.
11505         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11506         (tramp-action-process-alive, tramp-action-out-of-band)
11507         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11508         (tramp-exists-file-name-handler): Fix docstring.
11509         (with-progress-reporter): New defmacro.
11510         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11511         (tramp-maybe-open-connection): Use it.
11513 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
11515         Detect ssh 'ControlMaster' argument automatically in some cases.
11517         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11518         (tramp-default-method): Use it.
11520 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11522         * net/tramp.el (tramp-handle-copy-file): Add new optional
11523         parameter `preserve-selinux-context'.
11524         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11526 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11528         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11529         Ensure, that non remote files are still checked.  Oops.
11531 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
11533         Fix Bug#5840.
11535         * icomplete.el (icomplete-completions): Use `non-essential'.
11537         * net/tramp.el (tramp-connectable-p): New defun.
11538         (tramp-handle-expand-file-name)
11539         (tramp-completion-handle-file-name-all-completions)
11540         (tramp-completion-handle-file-name-completion): Use it.
11542 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11544         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11546 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
11548         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11550         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11552         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11553         is present.
11555         * info.el (info-tool-bar-map): Add labels.
11557         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11559         * cus-edit.el (custom-commands): Add labels for tool bar.
11560         (custom-buffer-create-internal, Custom-mode): Adjust for
11561         labels in custom-commands.
11563         * dynamic-setting.el: Renamed from font-setting.el.
11565 2010-04-21  John Wiegley  <jwiegley@gmail.com>
11567         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11568         toggles the use of virtual buffers.
11569         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11570         (ido-toggle-virtual-buffers): New function.
11572 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
11574         Use `define-derived-mode'; fix window selection; doc fixes.
11575         * play/tetris.el (tetris, tetris-update-speed-function)
11576         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11577         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11578         (tetris-rotate-next, tetris-end-game, tetris-start-game)
11579         (tetris-pause-game): Fix typos in docstrings.
11580         (tetris-mode-map, tetris-null-map):
11581         Move initialization into declaration.
11582         (tetris-mode): Define with `define-derived-mode';
11583         set show-trailing-whitespace to nil.
11584         (tetris): Prefer window already displaying the "*Tetris*" buffer.
11586 2010-04-21  Karel Klíč  <kklic@redhat.com>
11588         * files.el (backup-buffer): Handle SELinux context, and return it
11589         if a backup was made by renaming.
11590         (backup-buffer-copy): Set SELinux context to the target file.
11591         (basic-save-buffer): Set SELinux context of the newly written file.
11592         (basic-save-buffer-1): Now it also returns any SELinux context.
11593         (basic-save-buffer-2): Set SELinux context of the newly created file,
11594         and return it.
11595         * net/tramp.el (tramp-file-name-for-operation):
11596         Add file-selinux-context.
11598 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11600         Make the log-edit comments use RFC822 format throughout.
11602         * vc.el (vc-checkin, vc-modify-change-comment):
11603         Adjust to new vc-start/finish-logentry.
11604         (vc-find-conflicted-file): New command.
11605         (vc-transfer-file): Adjust to new vc-checkin.
11606         (vc-next-action): Improve scoping.
11608         * vc-hg.el (vc-hg-log-edit-mode): Remove.
11609         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
11611         * vc-git.el (vc-git-log-edit-mode): Remove.
11612         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
11613         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11615         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11616         (vc-start-logentry): Remove argument `extra'.
11617         (vc-finish-logentry): Remove extra args.
11619         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11620         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
11621         (vc-bzr-conflicted-files): New function.
11623         * log-edit.el (log-edit-extra-flags)
11624         (log-edit-before-checkin-process): Remove.
11625         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11626         (log-edit-headers-alist): New var.
11627         (log-edit-header-contents-regexp): New const.
11628         (log-edit-match-to-eoh): New function.
11629         (log-edit-font-lock-keywords): Use them.
11630         (log-edit): Insert a "Summary:" header as default.
11631         (log-edit-mode): Mark font-lock rules as case-insensitive.
11632         (log-edit-done): Cleanup headers.
11633         (log-view-process-buffer): Remove.
11634         (log-edit-extract-headers): New function to replace it.
11636 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
11638         * subr.el (default-direction-reversed): Remove obsolescence info.
11640 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11642         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11643         windows/frames.
11645         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11646         I.e. include text after point in the completion region.
11647         Also, return nil when we're not after/in a symbol.
11649         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11650         default enable-multibyte-characters.
11652 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11654         * international/mule.el: Help the user choose a valid coding-system.
11655         (read-buffer-file-coding-system): New function.
11656         (set-buffer-file-coding-system): Use it.  Prompt the user if the
11657         coding-system cannot encode all the chars.
11659         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11660         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11661         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11662         Don't use *vc-bzr-shelve*.
11664 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
11666         Fix the version number for added files.
11667         * vc-hg.el (vc-hg-working-revision): Check if the file is
11668         registered after hg parent fails (Bug#5961).
11670 2010-04-19  Glenn Morris  <rgm@gnu.org>
11672         * htmlfontify.el (htmlfontify-buffer)
11673         (htmlfontify-copy-and-link-dir): Autoload entry points.
11675 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
11677         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11678         name relative to the project root (Bug#5960).
11680 2010-04-19  Glenn Morris  <rgm@gnu.org>
11682         * vc-git.el (vc-git-print-log): Doc fix.
11684 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
11686         * ido.el (ido-file-internal): Fix 2009-12-02 change.
11688 2010-04-19  Christoph Scholtes  <cschol2112@googlemail.com>
11690         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11691         default settings (Bug#5928).
11693 2010-04-19  Glenn Morris  <rgm@gnu.org>
11695         * progmodes/fortran.el (fortran-match-and-skip-declaration):
11696         New function.
11697         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
11699 2010-04-19  Kenichi Handa  <handa@m17n.org>
11701         * language/indian.el (malayalam-composable-pattern): Fix previous
11702         change (add U+0D4D "SIGN VIRAMA").
11703         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11704         (tamil-composable-pattern): Fix typo in the regexp.
11705         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11706         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11707         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11709 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11711         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11712         paragraph-separate (Bug#5821).
11714 2010-04-19  Juri Linkov  <juri@jurta.org>
11716         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11718         * info.el (Info-find-node-2): Comment out code that skips
11719         breadcrumbs line.
11720         (Info-mouse-follow-link): New command.
11721         (Info-link-keymap): New keymap.
11722         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11723         Return a string with links instead of inserting breadcrumbs
11724         to the Info buffer.
11725         (Info-fontify-node): Comment out code that inserts breadcrumbs.
11726         Instead of putting the `invisible' text property over the Info
11727         header, make an overlay over the Info header with the `invisible'
11728         property and `after-string' set to the string returned by
11729         `Info-breadcrumbs'.
11731 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11733         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11734         Reported by monkey@sandpframing.com.
11736 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11738         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11739         (tmm-get-keymap): Add key-binding shortcuts now that they're not
11740         available in the "keyseq cache" any more.
11742         * custom.el (defcustom): Add edebug spec.
11744 2010-04-18  Juri Linkov  <juri@jurta.org>
11746         Test for special mode-class in view-buffer instead of view-file (bug#5513).
11748         * view.el (view-file, view-buffer): Move test for special mode-class
11749         from view-file to view-buffer.
11751         * tar-mode.el (tar-extract): Turn if's into one cond
11752         like in arc-mode.el.
11754 2010-04-18  Juri Linkov  <juri@jurta.org>
11756         Add 7z archive format support (bug#5475).
11758         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11759         (archive-7z-extract): New defcustom.
11760         (archive-find-type): Add magic string for 7z.
11761         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11762         If `stderr-file' is non-nil, use `(t stderr-file)' for the
11763         `buffer' arg of `call-process'.
11764         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11765         call the function `archive-7z-extract' with the variable
11766         `archive-7z-extract' let-bound to `archive-zip-extract'.
11767         (archive-7z-summarize, archive-7z-extract): New functions.
11769         * international/mule.el (auto-coding-alist):
11770         * files.el (auto-mode-alist): Add 7z file extension.
11772 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11774         * loadup.el: Setup hash-cons for pure data.
11776         Fix duplicate entries in cedet's loaddefs.el files.
11777         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11778         Should make most file-local generated-autoload-file unnecessary.
11779         (print-readably): Silence warnings.
11780         (autoload-find-destination): Take load-name as an arg to make sure
11781         it's the same as the one that will be in the file.
11782         (autoload-generate-file-autoloads): Adjust to above changes.
11783         Try to make the dataflow a bit simpler.
11785         * cvs-status.el (cvs-refontify): Remove unused.
11787 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
11789         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11791         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11792         twos-complement mode.
11794 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
11796         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11797         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
11798         (calc-inverse): Add "Option" to message, as appropriate.
11799         (calc-hyperbolic): Add "Option" to message, as appropriate.
11800         (calc-option, calc-is-option): New functions.
11802         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11803         (calc-option-prefix-help): New function.
11805         * calc/calc-misc.el (calc-help): Add "Option" entry.
11807         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11808         (calc-option-flag): New variable.
11809         (calc-do): Set `calc-option-flag to nil.
11810         (calc-set-mode-line): Add "Opt " as appropriate.
11812 2010-04-16  Juri Linkov  <juri@jurta.org>
11814         Move scrolling commands from simple.el to window.el
11815         because their primitives are implemented in window.c.
11817         * simple.el (scroll-error-top-bottom)
11818         (scroll-up-command, scroll-down-command, scroll-up-line)
11819         (scroll-down-line, scroll-other-window-down)
11820         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11821         * window.el (scroll-error-top-bottom)
11822         (scroll-up-command, scroll-down-command, scroll-up-line)
11823         (scroll-down-line, scroll-other-window-down)
11824         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11825         Move from simple.el to window.el because their primitives are
11826         implemented in window.c.
11828 2010-04-16  Juri Linkov  <juri@jurta.org>
11830         * isearch.el (isearch-lookup-scroll-key): Check both
11831         `isearch-scroll' and `scroll-command' properties.
11832         (scroll-up, scroll-down): Remove `isearch-scroll' property.
11834         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11836         * simple.el (scroll-up-command, scroll-down-command)
11837         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11839 2010-04-15  Juri Linkov  <juri@jurta.org>
11841         * simple.el (scroll-up-command, scroll-down-command)
11842         (scroll-up-line, scroll-down-line): Put `scroll-command'
11843         property on the these symbols.  Remove them from
11844         `scroll-preserve-screen-position-commands'.
11846         * mwheel.el (mwheel-scroll): Put `scroll-command' and
11847         `isearch-scroll' properties on the `mwheel-scroll' symbol.
11848         Remove it from `scroll-preserve-screen-position-commands'.
11850         * isearch.el (isearch-allow-scroll): Doc fix.
11852 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
11854         * net/tramp.el (tramp-error-with-buffer): Don't show the
11855         connection buffer when we are in completion mode.
11856         (tramp-file-name-handler): Catch the error for some operations
11857         when we are in completion mode.  This gives the user the chance to
11858         correct the file name in the minibuffer.
11860 2010-04-15  Glenn Morris  <rgm@gnu.org>
11862         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11864 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
11866         Simplify by using `define-derived-mode'.
11867         * info.el (Info-mode):
11868         * calendar/todo-mode.el (todo-mode):
11869         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11870         (gomoku-mode-map): Move initialization into declaration.
11872 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
11874         Fix Bug#5840.
11875         * ido.el (ido-file-name-all-completions-1):
11876         * minibuffer.el (minibuffer-completion-help):
11877         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11879 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11881         * simple.el (non-essential): New var.
11883         Add a new field `location' to bookmarks for non-file bookmarks.
11884         * bookmark.el (bookmark-location): Use the new field, if present.
11885         (bookmark-insert-location): Undo last change, not needed any more.
11886         * man.el (Man-bookmark-make-record):
11887         * woman.el (woman-bookmark-make-record): Add `location' field.
11889 2010-04-14  Juri Linkov  <juri@jurta.org>
11891         * simple.el (scroll-error-top-bottom): New defcustom.
11892         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
11894         * emulation/pc-select.el (pc-select-override-scroll-error):
11895         Obsolete in favor of `scroll-error-top-bottom'.
11897 2010-04-14  Juri Linkov  <juri@jurta.org>
11899         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11900         `scroll-up-command' and `M-v' to `scroll-down-command'.
11902         * emulation/cua-rect.el (cua--init-rectangles):
11903         * forms.el (forms--change-commands):
11904         * image-mode.el (image-mode-map):
11905         Remap scroll-down-command and scroll-up-command
11906         in addition to scroll-down and scroll-up.
11908 2010-04-14  Juri Linkov  <juri@jurta.org>
11910         * mwheel.el (scroll-preserve-screen-position-commands):
11911         Add mwheel-scroll to this list of commands.
11913         * simple.el (scroll-preserve-screen-position-commands):
11914         Add scroll-up-command, scroll-down-command, scroll-up-line,
11915         scroll-down-line to this list of commands.
11917 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11919         * obsolete/complete.el: Move from lisp/complete.el.
11921         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11923         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11924         to the minor mode function now turns the mode ON unconditionally.
11926 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11928         * vc-dir.el (vc-dir-kill-line): New command.
11929         (vc-dir-mode-map): Bind it to C-k.
11931         * bookmark.el (bookmark-insert-location): Handle a nil filename.
11933         * woman.el: Add bookmark declarations to silence the compiler.
11934         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11935         step to compatibility between man and woman bookmarks.
11936         Adjust for Man-default-bookmark-title renaming.
11937         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
11939         * man.el: Add bookmark declarations to silence the compiler.
11940         (Man-name-local-regexp): Make it match NAME as well.
11941         (Man-getpage-in-background): Return the buffer.
11942         (Man-notify-when-ready): Use `case'.
11943         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11944         Don't hardcode "NAME".  Simplify.
11945         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11946         Rename from Man-bookmark-make-record.
11947         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
11948         we have the actual man-args.  Use Man-getpage-in-background rather
11949         than `man' since the arg is already processed.  Let bookmark.el do the
11950         window handling.  Only wait for the relevant process.
11951         Don't forget to autoload.
11953         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11955 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11957         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11958         New functions.
11959         (woman-mode): Setup bookmark support.
11961         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11962         (man-bookmark-jump): New functions.
11963         (Man-mode): Setup bookmark support.
11965 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
11967         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11968         recognize ssh-keygen prompt (Bug#2817).
11970 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11972         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11974 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11976         Synchronize with Tramp repository.
11978         * net/tramp.el (tramp-completion-function-alist)
11979         (tramp-file-name-regexp, tramp-chunksize)
11980         (tramp-local-coding-commands, tramp-remote-coding-commands):
11981         Fix docstring.
11982         (tramp-remote-process-environment): Use `format' instead of `concat'.
11983         (tramp-handle-directory-files-and-attributes)
11984         (tramp-get-remote-path): Use `copy-tree'.
11985         (tramp-handle-file-name-all-completions): Backward/ XEmacs
11986         compatibility: Use `completion-ignore-case' if
11987         `read-file-name-completion-ignore-case' does not exist.
11988         (tramp-do-copy-or-rename-file-directly): Do not use
11989         `tramp-handle-file-remote-p'.
11990         (tramp-do-copy-or-rename-file-out-of-band):
11991         Use `tramp-compat-delete-directory'.
11992         (tramp-do-copy-or-rename-file-out-of-band)
11993         (tramp-compute-multi-hops, tramp-maybe-open-connection):
11994         Use `format-spec-make'.
11995         (tramp-find-foreign-file-name-handler)
11996         (tramp-advice-make-auto-save-file-name)
11997         (tramp-set-auto-save-file-modes): Remove superfluous check for
11998         `stringp'.  This is done inside `tramp-tramp-file-p'.
11999         (tramp-debug-outline-regexp): New defconst.
12000         (tramp-get-debug-buffer): Use it.
12001         (tramp-check-for-regexp): Use (forward-line 1).
12002         (tramp-set-auto-save-file-modes): Adapt version check.
12004         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12005         Wrap call of `featurep' for 2nd argument.
12006         (tramp-compat-make-temp-file): Simplify fallback implementation.
12007         (tramp-compat-copy-tree): Remove function.
12008         (tramp-compat-delete-directory): Provide implementation for older
12009         Emacsen.
12011         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12012         Do not use `tramp-fish-handle-file-attributes.
12014         * net/trampver.el: Update release number.
12016 2010-04-10  Glenn Morris  <rgm@gnu.org>
12018         * progmodes/compile.el (compilation-save-buffers-predicate):
12019         Add missing :version tag.
12021 2010-04-09  Sam Steingold  <sds@gnu.org>
12023         * progmodes/compile.el (compilation-save-buffers-predicate):
12024         Remove the "autoload" cookie.
12026         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12027         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12028         and `bug-reference-prog-mode' can be used in hooks directly.
12030 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
12032         Add --author support to git commit.
12033         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12034         (vc-git-log-edit-mode): New minor mode.
12035         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12036         New declarations.
12038 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
12040         * vc-hooks.el, vc-git.el: Improve documentation comments.
12042 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12044         Fix some of the problems in defsubst* (bug#5728).
12045         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12046         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12048 2010-04-07  Sam Steingold  <sds@gnu.org>
12050         * progmodes/compile.el (compilation-save-buffers-predicate):
12051         New custom variable.
12052         (compile, recompile): Pass it to `save-some-buffers'.
12054 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
12056         * wid-edit.el (widget-choose): Move cursor to the second line of
12057         the buffer (Bug#5695).
12059 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
12061         Add new VC methods: vc-log-incoming and vc-log-outgoing.
12062         * vc.el (vc-print-log-setup-buttons): New function split out from
12063         vc-print-log-internal.
12064         (vc-log-internal-common): New function, a parametrized version of
12065         vc-print-log-internal.
12066         (vc-print-log-internal): Just call vc-log-internal-common with the
12067         right arguments.
12068         (vc-incoming-outgoing-internal):
12069         (vc-log-incoming, vc-log-outgoing): New functions.
12070         (vc-log-view-type): New permanent local variable.
12072         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12074         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12075         of the dynamic bound vc-short-log.
12076         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12078         * vc-git.el (vc-git-log-outgoing): New function.
12079         (vc-git-log-view-mode): Use vc-log-view-type instead
12080         of the dynamic bound vc-short-log.
12082         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12083         of the dynamic bound vc-short-log.  Highlight the tag.
12084         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12085         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12086         (vc-hg-incoming-mode): Remove.
12087         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12089 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
12091         Fix default-directory for vc-root-diff.
12092         * vc.el (vc-root-diff): Bind default-directory to the root
12093         directory for the diff command.
12095 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
12097         * progmodes/verilog-mode.el (verilog-forward-sexp):
12098         (verilog-calc-1): Support "disable fork" and "fork wait" multi
12099         word keywords, suggested by Steve Pearlmutter.
12100         (verilog-pretty-declarations): Support lineup of declarations in
12101         port lists.
12102         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12103         fix bug for /* / comments.
12104         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12105         Speed up and simplfy as this is never called with a bound.
12106         (verilog-pretty-declarations): Enhance to line up declarations
12107         inside a parameter list, suggested by Alan Morgan.
12108         (verilog-pretty-expr): Tune assignment regular expression match
12109         string for corner cases; also use markers instead of character
12110         number as indent changes the later.
12112 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
12114         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12115         as missing keyword.
12116         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12117         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
12118         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12119         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
12120         Tennant.
12121         (verilog-keywords):
12122         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12123         1800-2009 keywords, including "global.".
12125 2010-04-06  John Wiegley  <jwiegley@gmail.com>
12127         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12128         appearing in buffer list (if a live buffer name matched a recentf
12129         file basename).  Should use uniquify to offer a real solution.
12131 2010-04-06  John Wiegley  <jwiegley@gmail.com>
12133         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12134         comment to code, and add a :version tag.
12135         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12137 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
12139         Enable recentf-mode if using virtual buffers.
12140         * ido.el (recentf-list): Declare for byte-compiler.
12141         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
12142         (ido-make-buffer-list): Simplify.
12143         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
12145 2010-04-05  Juri Linkov  <juri@jurta.org>
12147         Scrolling commands which scroll a line instead of full screen.
12148         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12150         * simple.el (scroll-up-line, scroll-down-line): New commands.
12151         Put property isearch-scroll=t on them.
12153         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12154         Remove commands.
12156 2010-04-05  Juri Linkov  <juri@jurta.org>
12158         Scrolling commands which do not signal errors at top/bottom.
12159         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12161         * simple.el (scroll-up-command, scroll-down-command): New commands.
12162         Put property isearch-scroll=t on them.
12164         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12165         `scroll-down-command' and [next] from `scroll-up' to
12166         `scroll-up-command'.
12168         * emulation/cua-base.el: Put property CUA=move on
12169         `scroll-up-command' and `scroll-down-command'.
12170         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12171         and `scroll-down-command' to `cua-scroll-down'.
12173 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
12175         * help.el (describe-mode): Return nil.
12177 2010-04-04  John Wiegley  <jwiegley@gmail.com>
12179         * ido.el (ido-use-virtual-buffers): New variable to indicate
12180         whether "virtual buffer" support is enabled for IDO.
12181         (ido-virtual): Face used to indicate virtual buffers in the list.
12182         (ido-buffer-internal): If a buffer is chosen, and no such buffer
12183         exists, but a virtual buffer of that name does (which would be why
12184         it was in the list), recreate the buffer by reopening the file.
12185         (ido-make-buffer-list): If virtual buffers are being used, call
12186         `ido-add-virtual-buffers-to-list' before the make list hook.
12187         (ido-virtual-buffers): New variable which contains a copy of the
12188         current contents of the `recentf-list', albeit pared down for the
12189         sake of speed, and with proper faces applied.
12190         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12191         create a list of "virtual buffers" to present to the user in
12192         addition to the currently open set.  Note that this logic could
12193         get rather slow if that list is too large.  With the default
12194         `recentf-max-saved-items' of 200, there is little speed penalty.
12196 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12198         * font-lock.el: Require CL when compiling.
12199         (font-lock-turn-on-thing-lock): Use `case'.
12201 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
12203         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12204         Zaretskii.
12206 2010-04-02  Juri Linkov  <juri@jurta.org>
12208         * ehelp.el (electric-help-orig-major-mode):
12209         New buffer-local variable.
12210         (electric-help-mode): Set it to original major-mode.  Doc fix.
12211         (with-electric-help): Use `electric-help-orig-major-mode' instead
12212         of (default-value 'major-mode).  Doc fix.
12213         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12215 2010-04-02  Sam Steingold  <sds@gnu.org>
12217         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12218         `vc-hg-command' with a list of flags.
12220         * progmodes/bug-reference.el (bug-reference-bug-regexp):
12221         Also accept "patch" and "RFE".
12222         (bug-reference-fontify): `bug-reference-url-format' can also be a
12223         function to be able to handle the bug kind.
12224         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12226 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
12228         * tmm.el (tmm-get-keymap): Check with symbolp before passing
12229         value to fboundp, it may not be a symbol.
12231 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12233         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12235 2010-03-31  Juri Linkov  <juri@jurta.org>
12237         * simple.el (next-line, previous-line): Re-throw a signal
12238         with `signal' instead of using `ding'.
12239         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12241 2010-03-31  Juri Linkov  <juri@jurta.org>
12243         * simple.el (keyboard-escape-quit): Raise deselecting the active
12244         region higher than exiting the minibuffer.
12245         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12247 2010-03-31  Juri Linkov  <juri@jurta.org>
12249         * image.el (image-animated-p): Use `image-metadata' instead of
12250         `image-extension-data'.  Get GIF extenstion data from metadata
12251         property `extension-data'.
12253 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12255         * simple.el (append-to-buffer): Simplify.
12257 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
12259         * textmodes/artist.el (artist-mode): Fix typo in docstring.
12260         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
12262 2010-03-31  Kenichi Handa  <handa@m17n.org>
12264         * language/sinhala.el (composition-function-table): Fix regexp for
12265         the new Unicode specification.
12267         * language/indian.el (devanagari-composable-pattern)
12268         (tamil-composable-pattern, kannada-composable-pattern)
12269         (malayalam-composable-pattern): Adjust for the new Unicode
12270         specification.
12271         (bengali-composable-pattern, gurmukhi-composable-pattern)
12272         (gujarati-composable-pattern, oriya-composable-pattern)
12273         (telugu-composable-pattern): New variables to cope with the new
12274         Unicode specification.  Use them in composition-function-table.
12276 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12278         Make tmm-menubar work for the Buffers menu again (bug#5726).
12279         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12280         vectors rather than cons cells, as used in menu-bar-update-buffers.
12282 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12284         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12285         (js-insert-and-indent): Revert 2009-08-15 change, restoring
12286         electric punctuation for "{}();,:" (Bug#5586).
12288         * mail/sendmail.el (mail-default-directory): Doc fix.
12290 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12292         * mail/sendmail.el (mail-default-directory): Doc fix.
12294 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
12296         * subr.el (version-regexp-alist, version-to-list)
12297         (version-list-<, version-list-=, version-list-<=)
12298         (version-list-not-zero, version<, version<=, version=): Doc fix.
12299         (Bug#5744).
12301 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
12303         * vc.el (vc-root-diff): Doc fix.
12305 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12307         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12309         * simple.el (append-to-buffer): Fix last change.
12311 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12313         * simple.el (append-to-buffer): Ensure that point is preserved if
12314         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
12315         (Bug#5749)
12317 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12319         * files.el (auto-mode-case-fold): Change default to t.
12321 2010-03-30  Juri Linkov  <juri@jurta.org>
12323         * dired-x.el (dired-omit-mode): Doc fix.
12325 2010-03-30  Juri Linkov  <juri@jurta.org>
12327         * replace.el (occur-accumulate-lines): Move occur-engine related
12328         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12329         to be located after `occur-engine'.
12331 2010-03-30  Juri Linkov  <juri@jurta.org>
12333         Make occur handle multi-line matches cleanly with context.
12334         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12336         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12337         (occur-engine): Add local variables `ret', `prev-after-lines',
12338         `prev-lines'.  Use more arguments for `occur-context-lines'.
12339         Set first elem of its returned list to `data', and the second elem
12340         to `prev-after-lines'.  Don't print the separator line.
12341         In the end, print remaining context after-lines.
12342         (occur-context-lines): Add new arguments `begpt', `endpt',
12343         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
12344         after-lines of the previous match with before-lines of the
12345         current match and not overlap them.  Return a list with two
12346         values: the output line and the list of context after-lines.
12348 2010-03-30  Juri Linkov  <juri@jurta.org>
12350         * replace.el (occur-accumulate-lines): Fix a bug where the first
12351         context line at the beginning of the buffer was missing.
12353 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
12355         * files.el: Make bidi-display-reordering safe variable for boolean
12356         values.
12358 2010-03-29  Phil Hagelberg  <phil@evri.com>
12359             Chong Yidong  <cyd@stupidchicken.com>
12361         * subr.el: Extend progress reporters to perform "spinning".
12362         (progress-reporter-update, progress-reporter-do-update):
12363         Handle non-numeric value arguments.
12364         (progress-reporter--pulse-characters): New var.
12366 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
12368         * progmodes/compile.el (compilation-start): Fix regexp detection
12369         of initial cd command (Bug#5771).
12371 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
12373         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12375 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
12377         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12378         * progmodes/gdb-mi.el: Restore.
12379         * progmodes/gdb-ui.el: Remove.
12380         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12382 2010-03-25  Glenn Morris  <rgm@gnu.org>
12384         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12385         all dired buffers, even tramp ones.  (Bug#5755)
12387 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12389         Add "union tags" in mpc.el.
12390         * mpc.el: Remove backward compatibility code.
12391         (mpc-browser-tags): Change default.
12392         (mpc--find-memoize-union-tags): New var.
12393         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12394         (mpc-cmd-find): Handle the case where the playlist does not exist.
12395         Handle union-tags.
12396         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
12397         (mpc-cmd-add): Use mpc-cmd-flush.
12398         (mpc-tagbrowser-tag-name): New fun.
12399         (mpc-tagbrowser-buf): Use it.
12400         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
12402 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12404         Misc cleanup.
12405         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12406         Use replace-regexp-in-string.
12407         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12408         (makefile-imake-mode-syntax-table): Move init into defvar.
12409         (makefile-mode): Use define-derived-mode.
12411         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12412         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12413         not be present any more.
12415 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12417         * faces.el (set-face-attribute): Fix typo in docstring.
12418         (face-valid-attribute-values): Reflow docstring.
12420 2010-03-24  Glenn Morris  <rgm@gnu.org>
12422         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12424 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12426         * indent.el (indent-for-tab-command): Doc fix.
12428 2010-03-24  Alan Mackenzie  <acm@muc.de>
12430         * progmodes/cc-engine.el (c-remove-stale-state-cache):
12431         Fix off-by-one error.  Fixes bug #5747.
12433 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12435         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12436         (image-dired-read-comment): Doc fix.
12438         * json.el (json-object-type, json-array-type, json-key-type)
12439         (json-false, json-null, json-read-number):
12440         * minibuffer.el (completion-in-region-functions):
12441         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12442         (cal-tex-cursor-week):
12443         * emacs-lisp/trace.el (trace-function):
12444         * eshell/em-basic.el (eshell/printnl):
12445         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12446         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12447         * obsolete/levents.el (allocate-event, event-key, event-object)
12448         (event-point, event-process, event-timestamp, event-to-character)
12449         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12450         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12451         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12452         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12453         (reftex-highlight-selection): Fix typos in docstrings.
12455 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12457         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12459 2010-03-24  Glenn Morris  <rgm@gnu.org>
12461         * mail/rmail.el (rmail-highlight-face): Restore option deleted
12462         2008-02-13 without comment; mark it obsolete.
12463         (rmail-highlight-headers): Use rmail-highlight-face once more.
12465 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12467         * woman.el (woman2-process-escapes): Only consume the newline if
12468         the filler character is on a line by itself (Bug#5729).
12470 2010-03-24  Kenichi Handa  <handa@m17n.org>
12472         * language/indian.el (devanagari-composable-pattern): Add more
12473         consonants.
12475 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12477         * net/trampver.el: Update release number.
12479 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12481         * net/tramp.el (tramp-find-executable):
12482         Use `tramp-get-connection-buffer'.  Make the regexp for checking
12483         output of "wc -l" more robust.
12484         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12485         (tramp-open-connection-setup-interactive-shell): Remove workaround
12486         for OpenSolaris bug, it is not needed anymore.
12488 2010-03-24  Glenn Morris  <rgm@gnu.org>
12490         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
12492 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
12494         * files.el (auto-mode-alist): Accept more verilog file patterns.
12496 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12498         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12500 2010-03-24  Glenn Morris  <rgm@gnu.org>
12502         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12503         log-edit-before-checkin-process.
12505         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12507         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12509         * vc-dispatcher.el (vc-start-logentry): Doc fix.
12510         (log-view-process-buffer, log-edit-extra-flags): Declare.
12512         * log-edit.el (log-edit-before-checkin-process): Doc fix.
12514 2010-03-23  Sam Steingold  <sds@gnu.org>
12516         Fix bug#5620: recalculate all markers on compilation buffer
12517         modifications, not on file modifications.
12518         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12519         variable: the buffer modification time, for buffers not associated with
12520         files.
12521         (compilation-mode): Create it.
12522         (compilation-filter): Update it.
12523         (compilation-next-error-function): Use it instead of
12524         `visited-file-modtime' for timestamp.
12526 2010-03-23  Juri Linkov  <juri@jurta.org>
12528         Implement Occur multi-line matches.
12529         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12531         * replace.el (occur): Doc fix.
12532         (occur-engine): Set `begpt' to the beginning of the first line.
12533         Set `endpt' to the end of the last match line.  At first, count
12534         line numbers between `origpt' and `begpt'.  Split out code from
12535         `out-line' variable to new let-bindings `match-prefix' and
12536         `match-str'.  In `out-line' add non-numeric prefix to all
12537         non-first lines of multi-line matches.  Finally, count lines
12538         between `begpt' and `endpt' and add to `lines'.
12540 2010-03-23  Juri Linkov  <juri@jurta.org>
12542         * replace.el (occur-accumulate-lines, occur-engine):
12543         Use `occur-engine-line' instead of duplicate code.
12544         (occur-engine-line): New function created from duplicate code
12545         in `occur-accumulate-lines' and `occur-engine'.
12547         * replace.el (occur-engine-line): Add optional arg `keep-props'.
12548         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12550 2010-03-23  Juri Linkov  <juri@jurta.org>
12552         * finder.el: Remove TODO tasks.
12554         * info.el (Info-finder-find-node): Add node "all"
12555         with all package info.  Handle a list of multiple keywords
12556         separated by comma.
12557         (info-finder): In interactive use with a prefix argument,
12558         use `completing-read-multiple' to read a list of keywords
12559         separated by comma.
12561 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12563         Add a new completion style `substring'.
12564         * minibuffer.el (completion-basic--pattern): New function.
12565         (completion-basic-try-completion, completion-basic-all-completions):
12566         Use it.
12567         (completion-substring--all-completions)
12568         (completion-substring-try-completion)
12569         (completion-substring-all-completions): New functions.
12570         (completion-styles-alist): New style `substring'.
12572 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12574         Get rid of .elc files after removal of the corresponding .el.
12575         * Makefile.in (compile-clean): New target.
12576         (compile-main): Use it.
12578 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
12580         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12581         don't do make there.  When compiling with separate object dir, there
12582         is no Makefile there.
12584 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12586         Get rid of the ELCFILES abomination, again.
12587         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12588         (all, compile): Don't call compile-last.
12589         (compile-main): Build the "elcfiles" list dynamically.
12590         (compile-targets): New (internal) target.
12592 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12594         * Makefile.in (top_srcdir): Define.
12595         (abs_top_builddir): Define.
12596         (srcdir): Don't append `/..'.
12597         (EMACS): Use ${abs_top_builddir}.
12598         (all, compile, compile-always, compile-last): Don't set emacswd.
12599         (update-subdirs, update-authors): Use $(top_srcdir) instead of
12600         $(srcdir).
12601         (lisp): Use $(srcdir) instead of @srcdir@.
12603 2010-03-21  Juri Linkov  <juri@jurta.org>
12605         Fix message of multi-line occur regexps and multi-buffer header lines.
12606         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12608         * replace.el (occur-1): Don't display regexp if it is longer
12609         than window-width.  Use `query-replace-descr' to display regexp.
12610         (occur-engine): Don't display regexp in the buffer header for
12611         multi-buffer occur.  Display a separate header line with total
12612         match count and regexp for multi-buffer occur.
12613         Use `query-replace-descr' to display regexp.
12615 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
12617         * net/secrets.el: Fix parenthesis.
12618         (secrets-enabled): Fix parenthesis.
12620 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12622         Use more relative file and directory names.
12623         * Makefile.in (EMACS): Arrange for it to work when we chdir.
12624         (setwins, setwins_almost, setwins_for_subdirs):
12625         Don't `cd'; output relative names.
12626         (all, compile, compile-always, compile-last): Set emacswd.
12627         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12628         Just cd to the lisp source dir so we can use relative file names.
12630         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12632 2010-03-20  Glenn Morris  <rgm@gnu.org>
12634         * textmodes/rst.el: Use faces for font-lock customization, and make the
12635         old -face variables obsolete.
12636         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12637         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12638         (rst-block-face, rst-external-face, rst-definition-face)
12639         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12640         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12641         Make obsolete.
12642         (rst-font-lock-keywords-function): Update for above changes.
12644 2010-03-20  Juri Linkov  <juri@jurta.org>
12646         * s-region.el:
12647         * obsolete/s-region.el: Move to obsolete.
12649 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
12651         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12653 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12655         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12657 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12659         Add special markup processing for commit logs.
12660         * log-edit.el (log-edit-extra-flags): New variable.
12661         (log-edit): Add new argument MODE.  Use that mode when non-nil
12662         instead of the log-view-mode.
12663         (log-view-process-buffer): New function.
12665         * vc.el: Document that the checkin method takes optional
12666         arguments.  Document new backend specific method: log-view-mode.
12667         (vc-default-log-edit-mode): New function.
12668         (vc-checkin): Use a backend specific log-view-mode.
12669         Pass extra arguments to the checkin method.
12670         (vc-modify-change-comment): Pass a dummy extra argument.
12672         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12673         log-edit.
12674         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12675         (vc-finish-logentry): Process the log buffer before passing it
12676         down.  Pass log-edit-extra-flags.
12678         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12679         command.
12680         (log-edit-extra-flags, log-edit-before-checkin-process):
12681         New declarations.
12683         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12684         command.
12685         (log-edit-extra-flags, log-edit-before-checkin-process):
12686         New declarations.
12687         (vc-hg-log-edit-mode): New derived mode.
12689         * vc-arch.el (vc-arch-checkin):
12690         * vc-cvs.el (vc-cvs-checkin):
12691         * vc-git.el (vc-git-checkin):
12692         * vc-mtn.el (vc-mtn-checkin):
12693         * vc-rcs.el (vc-rcs-checkin):
12694         * vc-sccs.el (vc-sccs-checkin):
12695         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12697 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12699         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12700         parent typo).
12702 2010-03-19  Glenn Morris  <rgm@gnu.org>
12704         * password-cache.el (password-cache, password-cache-expiry): Autoload.
12706 2010-03-18  Glenn Morris  <rgm@gnu.org>
12708         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12710         * replace.el (query-replace-history): Give it a doc string.
12711         (map-query-replace-regexp): Use query-replace-from-history-variable
12712         and query-replace-to-history-variable.
12714         * mail/hashcash.el (declare-function): Remove duplicate definition.
12716         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12717         Make it an obsolete alias for report-emacs-bug-address.
12718         (message-strip-special-text-properties): Declare.
12719         (report-emacs-bug): Remove test for a pretest bug address.
12720         Combine message-mode-specific code.
12722         * mail/supercite.el: Don't require sendmail.
12723         (mh-in-header-p): Declare rather than using with-no-warnings.
12724         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12725         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
12727         * calendar/cal-french.el: Convert to utf-8.
12729         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12730         Emacs scripts.
12732 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
12734         * net/secrets.el (secrets-enabled): New variable.  Use it instead
12735         of a subfeature.
12737 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
12739         * net/secrets.el (top): Register the D-Bus signals only when the
12740         service "org.freedesktop.secrets" can be pinged.
12741         Provide subfeature `enabled'.
12743 2010-03-14  Juri Linkov  <juri@jurta.org>
12745         Add finder unknown keywords.
12747         * finder.el (finder-unknown-keywords): New function.
12749         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12750         to create a Finder node with unknown keywords.
12752 2010-03-14  Juri Linkov  <juri@jurta.org>
12754         * finder.el (finder-compile-keywords): Replace `princ' with
12755         `prin1' on a list of symbols interned from keyword strings.
12757         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12758         a comma, then split keywords using a comma and optional whitespace.
12759         Otherwise, split by whitespace.
12761         * complete.el:
12762         * face-remap.el:
12763         * log-view.el:
12764         * net/hmac-def.el:
12765         * net/hmac-md5.el:
12766         * net/netrc.el:
12767         * progmodes/mixal-mode.el: Fix keywords.
12769 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
12771         * Makefile.in (ELCFILES): Add net/secrets.elc.
12773         * net/secrets.el: New file.
12775 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12777         * facemenu.el (list-colors-display, list-colors-print): New arg
12778         callback.  Use it to allow selecting colors.
12780         * wid-edit.el (widget-image-insert): Insert image prop even if the
12781         current display is non-graphic.
12782         (widget-field-value-set): New fun.
12783         (editable-field): Use it.
12784         (widget-field-value-get): Clean up unused var.
12785         (widget-color-value-create, widget-color--choose-action):
12786         New funs.  Allow using list-colors-display to choose color.
12788 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12790         * cus-edit.el: Resort topmost custom groups.
12791         (custom-buffer-sort-alphabetically): Default to t.
12792         (customize-apropos): Use apropos-parse-pattern.
12793         (custom-search-field): New var.
12794         (custom-buffer-create-internal): Add custom-apropos search field.
12795         (custom-add-parent-links): Don't display parent doc.
12796         (custom-group-value-create): Don't sort top-level custom group.
12797         (custom-magic-value-create): Show visibility button before option name.
12799         (custom-variable-state): New fun, from custom-variable-state-set.
12800         (custom-variable-state-set): Use it.
12801         (custom-group-value-create): Hide options with standard values
12802         using the :hidden-states property.  Use progress reporter.
12804         (custom-show): Simplify.
12805         (custom-visibility): Disable images by default.
12806         (custom-variable): New property :hidden-states.
12807         (custom-variable-value-create): Enable images for
12808         custom-visibility widgets.  Use :hidden-states property to
12809         determine initial visibility.
12811         * wid-edit.el (widget-image-find): Give images center ascent.
12812         (visibility): Add :on-image and :off-image properties.
12813         (widget-visibility-value-create): Use them.
12815 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12817         * cus-edit.el (processes): Remove from development group.
12818         (oop, hypermedia): Delete group.
12819         (comm): Promote to top-level group.
12821         * net/browse-url.el (browse-url):
12822         * net/xesam.el (xesam):
12823         * net/tramp.el (tramp):
12824         * net/goto-addr.el (goto-address):
12825         * net/ange-ftp.el (ange-ftp): Put in comm group.
12827         * view.el (view): Remove from editing group.
12829         * uniquify.el (uniquify): Put in files group.
12831         * net/browse-url.el (browse-url):
12832         * ps-print.el (postscript): Put in external group.
12834         * cus-edit.el (outlines):
12835         * textmodes/text-mode.el (text-mode-hook):
12836         * textmodes/table.el (table):
12837         * textmodes/picture.el (picture):
12838         * outline.el (outlines): Put in wp group.
12840         * nxml/nxml-mode.el (nxml): Remove from wp group.
12842         * net/tramp-imap.el (tramp-imap): Put in tramp group.
12844         * mail/metamail.el (metamail): Remove from hypermedia group.
12846         * cus-edit.el (abbrev):
12847         * whitespace.el (whitespace):
12848         * vcursor.el (vcursor):
12849         * reveal.el (reveal):
12850         * hl-line.el (hl-line): Put in convenience group.
12852         * epg-config.el (epg): Put in data group.
12854         * emulation/pc-select.el (pc-select): Put in emulations group.
12856         * calculator.el (calculator): Put in applications group.
12858 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12860         Add .dir-locals.el support for file-less buffers.
12861         * files.el (hack-local-variables): Split out code to apply local
12862         variable settings ...
12863         (hack-local-variables-apply): ... here.  New function.
12864         (hack-dir-local-variables): Use the default directory for when the
12865         buffer does not have an associated file.
12866         (hack-dir-local-variables-non-file-buffer): New function.
12867         * diff-mode.el (diff-mode):
12868         * vc-annotate.el (vc-annotate-mode):
12869         * vc-dir.el (vc-dir-mode):
12870         * log-edit.el (log-edit-mode):
12871         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12873 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12875         Add support for shelving snapshots and for showing shelves.
12876         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12877         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12878         New functions.
12879         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12880         (vc-bzr-extra-menu-map): Map them.
12882 2010-03-11  Glenn Morris  <rgm@gnu.org>
12884         * cus-edit.el (customize-changed-options-previous-release):
12885         Bump to 23.1.
12887         * image.el (image-animate-max-time): Fix :version tag.
12889 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
12891         * Branch for 23.2.
12893 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12895         * vc-git.el (vc-git-revision-table): Include remote branches.
12897 2010-03-10  Kim F. Storm  <storm@cua.dk>
12899         Animated image API.
12900         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12902         * image.el (image-animate-max-time): New defcustom.
12903         (image-animated-types): New defconst.
12904         (create-animated-image, image-animate-timer)
12905         (image-animate-start, image-animate-stop, image-animate-timeout)
12906         (image-animated-p): New functions.
12908         * image-mode.el (image-toggle-display-image):
12909         Replace `create-image' with `create-animated-image'.
12911 2010-03-09  Miles Bader  <miles@gnu.org>
12913         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12914         instead of "format:"; this ensures that the output is
12915         newline-terminated.
12917 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
12919         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12920         that all errors are caught, and that the return value is always a
12921         list (Bug#5692).
12923 2010-03-08  Kenichi Handa  <handa@m17n.org>
12925         * language/misc-lang.el (windows-1256): New coding system.
12926         (cp1256): New alias of windows-1256 (bug#5690).
12928 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
12930         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12931         call to rfc822-bad-address.  (Bug#5692)
12933 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12935         * vc-git.el (vc-git-annotate-extract-revision-at-line):
12936         Use vc-git-root as default directory for revision path (Bug#5657).
12938 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
12940         * calculator.el (calculator): Don't bind split-window-keep-point
12941         (Bug#5674).
12943 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12945         * vc-git.el: Re-flow to fit into 80 columns.
12946         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12947         Remove spurious `quote' element in each case alternative.
12948         (vc-git-show-log-entry): Use prog1.
12949         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12951 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12953         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12955 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
12957         * macros.el (insert-kbd-macro): Look up keyboard macro using the
12958         definition, not the name (Bug#5481).
12960 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12962         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12963         argument with a local variable.  (Bug#5670)
12965 2010-03-02  Juri Linkov  <juri@jurta.org>
12967         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
12969 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
12971         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12972         error when FILENAME and NEWNAME are existing remote directories.
12974         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12975         parameter DIR-FLAG.
12977 2010-03-02  Glenn Morris  <rgm@gnu.org>
12979         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12980         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12982 2010-03-01  Kenichi Handa  <handa@m17n.org>
12984         * language/burmese.el (burmese-composable-pattern): Rename from
12985         myanmar-composable-pattern.
12987         * international/characters.el (script-list):
12988         * international/fontset.el (script-representative-chars):
12989         Change myanmar to burmese.
12990         (otf-script-alist): Likewise.
12991         (setup-default-fontset): Likewise.  Re-fix :otf spec.
12993 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
12995         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12997 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
12999         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13001 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
13003         * net/tramp.el (tramp-handle-write-region): START can be a string.
13004         Take care in the checks.  Reported by Dan Davison
13005         <davison@stats.ox.ac.uk>.
13007 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
13009         * net/dbus.el (dbus-introspect, dbus-get-property)
13010         (dbus-set-property, dbus-get-all-properties):
13011         Use `dbus-call-method' when noninteractive.  (Bug#5645)
13013 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
13015         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13016         * emacs-lisp/elint.el (elint-add-required-env):
13017         * calendar/icalendar.el (icalendar--add-diary-entry):
13018         * calc/calcalg2.el (math-tracing-integral):
13019         * files.el (recover-session-finish): Use with-current-buffer
13020         instead of save-excursion.
13022 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13024         Fix in-buffer completion when after-change-functions modify the buffer.
13025         * minibuffer.el (completion--replace): New function.
13026         (completion--do-completion): Use it and use relative movement.
13028 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
13030         * international/fontset.el (setup-default-fontset): Fix :otf spec.
13032 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
13034         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13035         Allow the characters _<> in the stack entry (Bug#5653).
13037 2010-02-26  Kenichi Handa  <handa@m17n.org>
13039         * language/burmese.el: Fix entries in composition-function-table.
13040         (myanmar-composable-pattern): New variable.
13042         * international/fontset.el (setup-default-fontset): Add an entry
13043         for myanmar.
13045         * international/characters.el (script-list): Add Myanmar
13046         Extended-A.
13048 2010-02-26  Glenn Morris  <rgm@gnu.org>
13050         * custom.el (custom-initialize-delay): Doc fix.
13052         * mail/sendmail.el (send-mail-function): Autoload the call
13053         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13055 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
13057         * files.el (hack-local-variables-filter): For eval forms, also
13058         check safe-local-variable-p (Bug#5636).
13060 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
13062         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13063         setting the modes by `ignore-errors'.  It might fail, for example
13064         if the file is not owned by the user but the group.
13065         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13067 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
13069         * files.el (directory-listing-before-filename-regexp):
13070         Use stricter matching for iso-style dates, to avoid false matches with
13071         date-like filenames (Bug#5597).
13073         * htmlfontify.el (htmlfontify): Doc fix.
13075         * eshell/eshell.el (eshell): Doc fix.
13077         * startup.el (fancy-about-screen): In mode-line, apply
13078         mode-line-buffer-id face only to the buffer name (Bug#5613).
13080 2010-02-20  Kevin Ryde  <user42@zip.com.au>
13082         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13083         In `watcom' anchor regexp to start of line, to avoid slowness
13084         (Bug#5599).
13086 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
13088         * subr.el (remove-yank-excluded-properties): Explain in a comment
13089         why `category' property is removed.
13091 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
13093         * isearch.el (isearch-update-post-hook, isearch-update):
13094         Revert 2010-02-17 change.
13096 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
13098         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13099         (icalendar--convert-weekly-to-ical)
13100         (icalendar--convert-yearly-to-ical)
13101         (icalendar--convert-block-to-ical)
13102         (icalendar--convert-cyclic-to-ical)
13103         (icalendar--convert-anniversary-to-ical): Take care of time
13104         specifications where hour has 1-digit only (Bug#5549).
13106 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
13108         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13109         of disassemble output in GDB 7.1.
13111 2010-02-19  Glenn Morris  <rgm@gnu.org>
13113         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13114         property.  (Bug#5593)
13116 2010-02-18  Sam Steingold  <sds@gnu.org>
13118         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13120 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13122         Use abbreviated file names in bookmarks (bug#5591).
13123         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13124         calls to expand-file-name.
13125         (bookmark-relocate): Use abbreviated file names in bookmarks.
13126         (bookmark-load): Use abbreviated file names in messages.
13128 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
13130         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13131         expand "." and "..".  Reported by Thierry Volpiatto
13132         <thierry.volpiatto@gmail.com>.
13134 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
13136         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13137         permissions of the temporary file to "0600".  In case the remote
13138         file has no read permissions for the owner, there might be
13139         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
13141 22010-02-18  Glenn Morris  <rgm@gnu.org>
13143         * emacs-lisp/authors.el (authors-renamed-files-alist):
13144         Add entries for INSTALL.CVS.
13146 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
13148         * vc-bzr.el: Fix typo in Known Bugs section.
13150         * isearch.el (isearch-update-post-hook): New hook.
13151         (isearch-update): Use the new hook.
13153 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
13155         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13156         Fix errors in copying directories.
13157         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13158         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13159         (tramp-handle-delete-file)
13160         (tramp-handle-dired-recursive-delete-directory)
13161         (tramp-handle-write-region): Flush also the cache for the upper
13162         directory.
13164 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
13166         * simple.el (save-interprogram-paste-before-kill): Doc fix.
13168         * cus-edit.el (hardware): Doc fix.
13170         * man.el (man): Add to external custom group.
13172         * delim-col.el (columns): Move to wp custom group.
13174         * doc-view.el (doc-view): Add to data custom group.
13176         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13178         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13179         by ispell-parse-output (Bug#5575).
13181 2010-02-16  Kenichi Handa  <handa@m17n.org>
13183         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13184         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13185         (skkdic-convert): Use `euc-japan' coding system for writing.
13187 2010-02-16  Glenn Morris  <rgm@gnu.org>
13189         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13190         tex-main-file before using it.  (Bug#5562)
13192 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13194         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13195         warnings, since it is annoying for the user to see them each time he
13196         runs the code.
13198 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
13200         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13201         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13202         instead of PROC for caching "first-password-request".  Otherwise,
13203         new processes would not profit from passwords already entered.
13205         * net/tramp-cache.el (tramp-dump-connection-properties):
13206         Don't save "first-password-request" property.
13208 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
13210         * outline.el (outline-head-from-level):
13211         * simple.el (with-wrapper-hook):
13212         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13213         (elint-defun, elint-buffer-env, elint-top-form-logged)
13214         (elint-unbound-variable):
13215         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13216         Fix typos in docstrings.
13218 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
13220         * files.el (insert-directory): When WILDCARD-REGEXP and
13221         FULL-DIRECTORY-P are nil, insert the file entry instead of the
13222         whole directory.  (Bug#5551)
13224         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
13225         dired's alignment sanity.  (Bug#5516)
13227 2010-02-14  Juri Linkov  <juri@jurta.org>
13229         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13230         Remove remaining ^H with their preceding chars.  (Bug#5566)
13232 2010-02-13  Glenn Morris  <rgm@gnu.org>
13234         * simple.el (transpose-subr): Give it a doc-string.
13236         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13237         Doc fixes.
13239 2010-02-12  Juri Linkov  <juri@jurta.org>
13241         * arc-mode.el (archive-unique-fname): Make directories for nested
13242         archives.  (Bug#5540)
13244 2010-02-12  Juri Linkov  <juri@jurta.org>
13246         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
13248 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13250         * subr.el (copy-overlay): Handle deleted overlays.
13252         * man.el (Man-completion-table): Don't signal an error if we can't run
13253         manual-program (bug#4056).
13255 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
13257         * textmodes/artist.el (artist-mt): Fix typos in docstring.
13259 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13261         * info.el (Info-bookmark-jump): Simplify.
13263         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13264         (bookmark-default-handler): Accept new bookmark field `buffer'.
13266 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
13268         * iswitchb.el (iswitchb-completions): Revert last change.
13270 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
13272         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13273         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13274         This prevents file names like "~/" being listed literally.
13276 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
13278         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13279         Remove dead code.  (Bug#5546)
13281 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
13283         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13284         correctly (Bug#5548).
13286 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
13288         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13289         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13291 2010-02-08  Kenichi Handa  <handa@m17n.org>
13293         * international/mule-util.el (with-coding-priority): Add autoload
13294         cookie for putting `lisp-indent-function'.
13296 2010-02-07  Glenn Morris  <rgm@gnu.org>
13298         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13299         Move F2003 named interfaces from keywords-2 to keywords-1, and
13300         use function-name-face rather than constant-face.
13301         Simplify "abstract interface" regexp.
13303 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
13305         * eshell/esh-util.el (eshell-file-attributes): New optional arg
13306         ID-FORMAT.  Pass it to `file-attributes'.
13308         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13310 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
13312         * faces.el (set-face-attribute): Allow calling
13313         internal-set-lisp-face-attribute with 'unspecified family and
13314         foundry argument (Bug#5536).
13316 2010-02-07  Glenn Morris  <rgm@gnu.org>
13318         * progmodes/f90.el (f90-font-lock-keywords-2)
13319         (f90-looking-at-type-like, f90-looking-at-program-block-end):
13320         Handle F2003 named interfaces.
13322 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
13324         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13325         beg and end before calling c-get-state-before-change-functions.
13327 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
13329         * vc-bzr.el (vc-bzr-dir-extra-headers):
13330         Disable the pending merges header.
13332 2010-02-05  Juri Linkov  <juri@jurta.org>
13334         * doc-view.el (doc-view-mode):
13335         * image-mode.el (image-mode): Put property mode-class=special.
13336         (Bug#4896)
13338 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
13340         * vc-svn.el (vc-svn-revision-table): New function.
13342 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
13344         * net/ange-ftp.el (ange-ftp-insert-directory):
13345         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13346         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13347         Handle also directories.  (Bug#5478)
13349 2010-02-05  Glenn Morris  <rgm@gnu.org>
13351         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13353 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
13355         * startup.el (command-line-1): Convert options beginning with a
13356         single dash as well (Bug#5519).
13358 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13360         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13361         * minibuffer.el (completion-initials-expand): Only check the presence
13362         of delims *within* the boundaries, since otherwise the / delim is
13363         always found for files.
13365         Fix up various corner case problems.
13366         * doc-view.el (doc-view-last-page-number): New function.
13367         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13368         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13369         (doc-view-kill-proc): Avoid inf-loop in freak cases.
13370         (doc-view-reconvert-doc): Use the new recursive delete-directory.
13371         (doc-view-convert-current-doc): Don't create the resolution.el file
13372         here any more.
13373         (doc-view-pdf/ps->png): Do it here instead.
13374         (doc-view-already-converted-p): Check that resolution.el is present.
13375         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13376         windows that are not yet showing images.
13378 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
13380         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13381         `dired-uncache' for every elemnt which is an absolute file name.
13383         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13384         directory, handle its directory component.
13385         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13386         function is called permanently and creates noise, otherwise.
13388         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13389         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13390         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
13392 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
13394         * macros.el (apply-macro-to-region-lines):
13395         Minor simplification.  (Bug#5485)
13397 2010-02-04  Glenn Morris  <rgm@gnu.org>
13399         * mail/rmail.el (rmail-show-message-1): Handle malformed
13400         quoted-printable text.  (Bug#5441)
13402         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13404         * simple.el (visual-line-mode): Capitalize lighter.
13406 2010-02-03  John Wiegley  <jwiegley@gmail.com>
13408         * iswitchb.el (iswitchb-completions): Add bookmark files to the
13409         list of files considered for "virtual buffer" completions.
13411 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
13413         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13414         also in case of (and (not full) (not wildcard)).  This is needed
13415         when dired is called with a list of files, which are not in
13416         `default-directory'.  (Bug#5478)
13418 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13420         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13422 2010-02-02  Juri Linkov  <juri@jurta.org>
13424         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13425         from unidiff to allow function-line after @@.
13427 2010-02-02  Juri Linkov  <juri@jurta.org>
13429         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13430         '(RCS SCCS) with inverted condition.
13432 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
13434         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13435         messages.
13437 2010-02-01  Juri Linkov  <juri@jurta.org>
13439         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13440         compare with "pkunzip" and "pkzip" instead of only "pkzip".
13441         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13442         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
13444 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13446         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13447         (doc-view-revert-buffer): New command.
13448         (doc-view-mode-map): Use it.
13450 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
13452         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13453         pending merge is detected.
13455 2010-01-31  Juri Linkov  <juri@jurta.org>
13457         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13458         beginning of interactive spec like all other grep commands do.
13459         Put "all" in front of "gz".  (Bug#5260)
13461 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
13463         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13465 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
13467         * dirtrack.el (dirtrack): Warn instead of signalling error if the
13468         regexp is incorrect (Bug#5476).
13470 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
13472         * net/tramp.el (tramp-handle-insert-directory): Handle also
13473         symlinks, when FILENAME is not in `default-directory'.
13475 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13477         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13478         FILE is not in `default-directory'.  (Bug#5478)
13480         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13481         of SWITCHES.  Handle the case, FILENAME is not in
13482         `default-directory'.  (Bug#5478)
13483         (tramp-register-file-name-handlers): Add safe-magic property.
13485 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
13487         * arc-mode.el (archive-zip-extract): Quote the argument passed to
13488         unzip (Bug#5475).
13490 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
13492         * progmodes/flymake.el (flymake-allowed-file-name-masks)
13493         (flymake-master-make-header-init): Add other C++ filename masks.
13494         (flymake-find-possible-master-files)
13495         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13497 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13499         Fix some busybox annoyances.
13501         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13502         not responding." string.
13503         (tramp-open-connection-setup-interactive-shell): Dump stty
13504         settings.  Enable "neveropen" arg for all `tramp-send-command'
13505         calls.  Handle "=" in variable values properly.
13506         (tramp-find-inline-encoding): Raise an error, when no encoding is
13507         found.
13508         (tramp-wait-for-output): Check, whether PROC buffer is available.
13509         Remove spurious " ^H" sequences, sent by busybox.
13510         (tramp-get-ls-command): Suppress coloring, if possible.
13512 2010-01-28  Glenn Morris  <rgm@gnu.org>
13514         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
13516         * log-edit.el (log-edit-strip-single-file-name): Add missing
13517         :safe, :group, and :version tags.
13519 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
13521         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13522         buffers.  (Bug#5477)
13524 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
13526         * files.el (delete-directory): Handle moving to trash without
13527         first doing recursion (Bug#5436).
13529 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
13531         * vc-hooks.el (vc-path): Mark as obsolete.
13533 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
13535         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13536         names too.
13538         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13539         for the short log.
13540         (vc-bzr-log-view-mode): Adjust regexp for the above change.
13542 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
13544         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13546         * vc-bzr.el (vc-bzr-revision-table): New function.
13548 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
13550         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13551         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
13553 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
13555         Remove support for adding --signoff on commit.
13556         Future support will use an incompatible generic mechanism.
13557         * vc-git.el (vc-git-add-signoff): Remove variable.
13558         (vc-git-toggle-signoff): Remove function.
13559         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13561         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13562         Rename from xterm-set-background-mode.  Return t if the background mode
13563         was set.
13564         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13565         earlier, call it again in case the background mode has changed.
13567 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
13569         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13570         (Bug#3541).
13572 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
13574         * emacs-lisp/assoc.el (aelement): Doc fix.
13575         (aput, adelete, amake): Use lexical-let (Bug#5450).
13577 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
13579         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13580         is the same as subprogram call, not declaration.  (Bug#5435).
13582 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
13584         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13585         (tramp-smb-maybe-open-connection): Use it.
13587 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
13589         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
13591 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13593         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13594         just because we see "encoding: 8bit".
13595         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13597 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
13599         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13601 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
13603         * jka-compr.el (jka-compr-load): If load-file is not in
13604         load-history, try its file-truename version.  (bug#5447)
13606 2010-01-21  Alan Mackenzie  <acm@muc.de>
13608         Fix a situation where deletion of a cpp construct throws an error.
13609         * progmodes/cc-engine.el (c-invalidate-state-cache):
13610         Before invoking c-with-all-but-one-cpps-commented-out, check that the
13611         special cpp construct is still in the buffer.
13612         (c-parse-state): Record the special cpp with markers, not numbers.
13614 2010-01-21  Kenichi Handa  <handa@m17n.org>
13616         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13617         process last-command-event, as it is now decoded first (Bug#5380).
13619 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
13621         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13623 2010-01-20  Glenn Morris  <rgm@gnu.org>
13625         * indent.el (tab-always-indent): Fix custom-type.
13627 2010-01-19  Alan Mackenzie  <acm@muc.de>
13629         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13630         buffer throws "args out of range".
13631         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13632         playing the role of delimiter.
13634 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
13636         * progmodes/ada-mode.el: Fix bug#5400.
13637         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13638         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13639         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
13640         Improve comments in "is" portion.  Handle null procedure declaration.
13641         (ada-move-to-end): Improve doc string.
13643 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
13645         * ido.el (ido-cur-list): Initialize to nil.
13646         Remove obsolete information from commentary.
13647         (ido-choice-list): Initialize to nil.
13648         (ido-get-bufname): Reject minibuffers.
13649         (ido-make-buffer-list): If "default" is a nonexistent
13650         buffer, ignore it, as per the function's comment.
13651         (ido-kill-buffer-internal): New function.
13652         (ido-kill-buffer-at-head): Use it.
13653         (ido-visit-buffer): Likewise.
13655 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
13657         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13659 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
13661         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13662         Fix typos in chart titles.
13664         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13665         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13666         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13667         (describe-class, eieio-describe-generic, describe-generic):
13668         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13669         (eieio-speedbar-expand):
13670         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13671         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13672         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13673         (viper-del-backward-char-in-replace, viper-backward-indent)
13674         (viper-brac-function, viper-register-to-point, viper-submit-report):
13675         * net/tramp.el (tramp-remote-coding-commands):
13676         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13677         Fix typos in docstrings.
13679 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
13681         * mail/sendmail.el (mail-yank-original): Set the mark if the
13682         specified function for yanking does not do it.
13684 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
13686         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
13688         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13689         resyncing a directory.
13691 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
13693         * progmodes/ada-mode.el: Fix bug#1920.
13694         (ada-ident-re): Delete ., allow multibyte characters.
13695         (ada-goto-label-re): New; matches goto labels.
13696         (ada-block-label-re): New; matches block labels.
13697         (ada-label-re): New; matches both.
13698         (ada-named-block-re): Delete; callers changed to use
13699         `ada-block-label-re' instead.
13700         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13701         Use `ada-block-label-re'.
13702         (ada-indent-on-previous-lines): Improve handling of goto labels.
13703         (ada-get-indent-block-start): Special-case block label.
13704         (ada-get-indent-label): Split into `ada-indent-block-label' and
13705         `ada-indent-goto-label'.
13706         (ada-goto-stmt-start, ada-goto-next-non-ws):
13707         Optionally ignore goto labels.
13708         (ada-goto-next-word): Simplify.
13709         (ada-indent-newline-indent-conditional): Insert newline before
13710         trying to fix indentation; doc fix.
13712 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
13714         * calc/calc.el (calc-command-flags): Give it an initial value.
13716 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
13718         * files.el (minibuffer-with-setup-hook):
13719         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13720         (artist-key-draw-continously, artist-key-do-continously-continously)
13721         (artist-key-set-point-continously, artist-mouse-draw-continously):
13722         Fix typos in docstrings.
13724 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
13726         * nxml/nxml-mode.el (nxml-extend-after-change-region):
13727         Never return t (Bug#3898).
13729 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
13731         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13732         can parse the output of the external commands (Bug#5279).
13734 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
13736         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13738 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
13740         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13742         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13744         * startup.el (command-line): Remove unused --icon-type arg.
13745         Handle --display arg, passing it to command-line-1 (Bug#5392).
13747 2010-01-16  Mario Lang  <mlang@delysid.org>
13749         * emacs-lisp/chart.el (chart-translate-namezone):
13750         * textmodes/artist.el (artist-compute-popup-menu-table):
13751         Remove duplicated words in doc-strings.
13753 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
13755         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13756         to mairix-search to suppress threading (Bug#5342).
13758 2010-01-15  Kenichi Handa  <handa@m17n.org>
13760         * international/mule-cmds.el (canonicalize-coding-system-name):
13761         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13763 2010-01-15  Glenn Morris  <rgm@gnu.org>
13765         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
13767         * wid-edit.el (widget-keymap): Doc fix.
13769         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13770         former seems to be more widely accepted by various svn versions.
13772 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13774         * find-cmd.el (find-constituents):
13775         * vc-arch.el (vc-arch-root):
13776         * window.el (window-body-height, pop-up-frames):
13777         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13778         * progmodes/ada-stmt.el (ada-if):
13779         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13780         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13781         (ispell-encoding8-command, ispell-aspell-supports-utf8)
13782         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13784         * progmodes/flymake.el (flymake-post-syntax-check):
13785         Fix typo in error message.
13787 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13789         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13790         which is always a string.  (Bug#5313)
13792 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13794         * progmodes/ada-xref.el (ada-default-prj-properties):
13795         Simplify previous change.
13797 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13799         * progmodes/ada-xref.el (ada-default-prj-properties):
13800         Default ada_project_path to $ADA_PROJECT_PATH.
13802 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13804         * progmodes/ada-mode.el (ada-create-keymap):
13805         Override `narrow-to-defun' with `ada-narrow-to-defun'.
13807 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13809         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13810         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13811         (ada-get-current-indent, ada-imenu-generic-expression)
13812         (ada-which-function): Check for it.
13814 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13816         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13817         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13819 2010-01-14  Glenn Morris  <rgm@gnu.org>
13821         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
13823 2010-01-14  Kenichi Handa  <handa@m17n.org>
13825         * composite.el (auto-composition-mode): Make it a buffer local
13826         variable (permanent-local).
13827         (auto-composition-function): Set the default value to
13828         auto-compose-chars.
13829         (auto-composition-mode): Make it a simple function, not a minor mode.
13830         (global-auto-composition-mode): Likewise.
13831         (turn-on-auto-composition-if-enabled): Delete it.
13833 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
13835         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13837 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
13839         * files.el (copy-directory): Compute target for recursive
13840         directories with identical names.  (Bug#5343)
13842 2010-01-12  Glenn Morris  <rgm@gnu.org>
13844         * mail/emacsbug.el (report-emacs-bug-pretest-address):
13845         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13847 2010-01-11  Sam Steingold  <sds@gnu.org>
13849         * imenu.el (imenu-default-create-index-function): Detect infinite
13850         loops caused by imenu-prev-index-position-function.
13852 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13854         * htmlfontify.el (htmlfontify-load-rgb-file)
13855         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13856         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13857         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13858         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13859         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13860         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13861         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13862         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13863         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13864         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13865         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13866         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13867         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13868         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13869         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13870         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13871         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13872         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13873         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13874         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13875         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13876         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13877         backslash-quoting from parentheses, etc.
13879 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
13881         * progmodes/js.el: Autoload javascript-mode alias.
13883 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13885         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13886         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13887         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13888         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13889         Fix typos in docstrings.
13890         (ffap-url-regexp): Doc fix.
13891         (ffap-at-mouse): Fix typo in message.
13893 2010-01-11  Glenn Morris  <rgm@gnu.org>
13895         * version.el (emacs-copyright): Set copyright year to 2010.
13897 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13899         * format.el (format-annotate-function): Only set
13900         write-region-post-annotation-function after running to-fn so as not to
13901         affect nested write-region calls (bug#5273).
13903 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
13905         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13906         wisent/python.el.
13908 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13910         * man.el (Man-goto-section): Signal error if the section is not
13911         found (Bug#5317).
13913 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
13915         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13916         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
13918 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13920         * progmodes/compile.el: Don't treat compile-command as safe if
13921         compilation-read-command might be nil (Bug#4218).
13923 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
13925         * startup.el (command-line-1): Use orig-argi to check for ignored X and
13926         NS options.
13928 2010-01-08  Kenichi Handa  <handa@m17n.org>
13930         * international/fontset.el (build-default-fontset-data):
13931         Exclude characters in scripts kana, hangul, han, or cjk-misc.
13933 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
13935         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13936         to `create-file-buffer' as it expects, not just a buffer name.
13937         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13938         to help uniquify.  (Bug#3224)
13940 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
13942         * font-setting.el (font-setting-change-default-font): Use user-spec
13943         instead of name.
13945 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
13947         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13949 2010-01-05  Tom Tromey  <tromey@redhat.com>
13951         * progmodes/python.el (python-font-lock-keywords):
13952         Handle qualified decorators (Bug#881).
13954 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13956         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13957         in a lightweight checkout.
13959 2010-01-05  Kenichi Handa  <handa@m17n.org>
13961         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13963 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13965         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13967 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
13969         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13970         checkouts.  (Bug#618)
13971         (vc-bzr-log-view-mode): Also highlight the author.
13972         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13973         (vc-bzr-shelve-menu-map):
13974         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13975         (vc-bzr-shelve-apply): Make prompt more explicit.
13977 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
13979         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13980         They are valid characters in URL paths (rfc3986), and at least
13981         Firefox does not understand the encoded version (Bug#3166).
13983 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
13985         * progmodes/octave-mod.el (octave-end-keywords)
13986         (octave-block-begin-or-end-regexp, octave-block-match-alist):
13987         Add "end" keyword (Bug#3061).
13988         (octave-end-as-array-index-p): New function.
13989         (calculate-octave-indent): Use it.
13991 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13993         * bookmark.el: Consistently put the text property on the bookmark name.
13994         (bookmark-bmenu-marks-width): Bump back to 2, to include
13995         annotation marks.
13996         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13997         property on the bookmark name, instead of not putting it at all.
13998         (bookmark-bmenu-list): Fix where we put the text property.
14000 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14002         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14003         for showing buffer modified state (as added in the previous change).
14005 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14007         * bookmark.el: Show modified state of bookmark buffer more accurately.
14008         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14009         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14010         (with-buffer-modified-unmodified): New macro.
14011         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14012         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14013         Use new macro to preserve the buffer modified state.
14015 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14017         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14018         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14019         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14020         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14021         (bookmark-bmenu-rename, bookmark-bmenu-locate)
14022         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14023         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14025 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
14027         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14028         Make the lines in the generated doc string shorter.  (Bug#4668)
14030 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
14032         * net/rcirc.el: Add follow-link binding (Bug#4738).
14034 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
14036         * Makefile.in (bzr-update): Rename from cvs-update.
14037         (cvs-update): New target for backward compatibility.
14039         * makefile.w32-in (bzr-update): Rename from cvs-update.
14040         (cvs-update): New target for backward compatibility.
14042 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14044         * bookmark.el: Remove gratuitous gratitude.
14046 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14048         * bookmark.el (bookmark-bmenu-any-marks): New function.
14049         (bookmark-bmenu-save): Clear buffer modification if no marks.
14051 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14053         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14054         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14055         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14056         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14058         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14059         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14060         To: emacs-devel {_AT_} gnu.org
14061         Subject: bookmark.el bug report
14062         Date: Mon, 28 Dec 2009 14:19:16 +0800
14063         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14065 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14067         * bookmark.el: Improvements suggested by Drew Adams:
14068         (bookmark-bmenu-ensure-position): New name for
14069         `bookmark-bmenu-check-position'.  Just ensure the position,
14070         don't return any meaningful value.
14071         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14072         New constants.
14074 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
14076         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14077         (bookmark-yank-point, bookmark-bmenu-check-position):
14078         Fix typos in docstrings.
14079         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14080         (bookmark-name-from-full-record, bookmark-get-position)
14081         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14082         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14083         Remove useless quoting of parenthesis, etc. in docstrings.
14085         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14086         (ediff-append-custom-diff): Fix typo in error message.
14087         (ediff-meta-mark-equal-files): Fix typos in messages.
14089         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14091         * net/imap-hash.el (imap-hash-make): Doc fix.
14092         (imap-hash-test): Fix typo in error message; reflow docstring.
14093         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14094         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14095         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14096         Fix typos in docstrings.
14097         (imap-hash-open-connection): Fix typo in error message.
14099         * play/gomoku.el (gomoku): Fix typos in docstring.
14101         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14102         (gdb-jsonify-buffer): Fix typos in docstring.
14103         (gdb-goto-breakpoint): Fix typo in error message.
14104         ("Display Other Windows"): Fix typo in help message.
14105         (gdb-speedbar-expand-node): Fix typo in question.
14107         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14108         (idlwave-html-system-help-location, idlwave-html-help-location)
14109         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14110         (idlwave-help-browser-generic-args, idlwave-help-directory)
14111         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14112         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14113         (idlwave-online-help, idlwave-help-html-link)
14114         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14115         Fix typos in docstrings.
14116         (idlwave-help-with-source, idlwave-help-find-routine-definition):
14117         Reflow docstrings.
14118         (idlwave-help-assistant-start): Fix typo in error message.
14120         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14121         (octave-electric-space): Fix typos in docstrings.
14123 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
14125         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14127 2010-01-01  Juri Linkov  <juri@jurta.org>
14129         * comint.el (comint-input-ring-size): Make it a defcustom and
14130         increase the default to 500 (Bug#5148).
14132 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
14134         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14135         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14136         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14138 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
14140         Show working revision correctly for mercurial.
14141         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14142         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14144 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
14146         Declare some functions for the byte-compiler.
14147         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14148         (speedbar-timer-fn, speedbar-change-expand-button-char)
14149         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14151 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
14153         This changeset reverts GDB Graphical Interface to use annotations.
14154         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14156 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
14158         Make vc-dir work on subdirectories of the bzr root.
14159         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14160         Return file names relative to it.
14161         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14162         relative directory to vc-bzr-after-dir-status.
14164 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
14166         * font-lock.el (font-lock-refresh-defaults): New function, which
14167         can be used to let font-lock react to external changes in
14168         variables like font-lock-defaults and keywords.
14169         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14171 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
14173         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14175         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14177 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
14179         Supersede color.diff settings in git log (bug#5211).
14181         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14182         escape chars in its output when the user has color.diff set to `always'.
14183         This fix works on git 1.4.2 and newer (released on 2006-08-13).
14185 2009-12-26  Kevin Ryde  <user42@zip.com.au>
14187         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14188         node.  Keep previous "Index" name to work with past coreutils too.
14190         * man.el (man): Revise docstring a bit to show -a and -l as
14191         examples.  Add -k description since support for it has otherwise
14192         been a secret.  (Further to bug#3717.)
14193         (Man-bgproc-sentinel): When "-k foo" produces no output show error
14194         "no matches" rather than "Can't find manpage", as the latter reads
14195         like -k was interpreted as a page name, which is not so.  (Bug#5431)
14197 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
14199         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14200         switches.  Check also for //SUBDIRED// line.
14202 2009-12-25  Kenichi Handa  <handa@m17n.org>
14204         * language/indian.el (devanagari-composable-pattern): Fix to
14205         handle ZWNJ and ZWJ.  Use it in composition-function-table for
14206         Devanagari.
14207         (malayalam-composable-pattern): Fix previous change.
14209 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14211         * ps-print.el (ps-face-attributes): It was not returning the
14212         attribute face for faces specified as string.  Reported by harven
14213         <harven@free.fr>.  (Bug#5254)
14214         (ps-print-version): New version 7.3.5.
14216 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
14218         * calendar/icalendar.el (icalendar--convert-tz-offset):
14219         Fix timezone names.
14220         (icalendar--convert-tz-offset): Fix the "last-day-problem".
14221         (icalendar--add-diary-entry): Remove the trailing blank that
14222         diary-make-entry inserts.
14224 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
14226         Make `file-expand-wildcards' work for remote files.
14228         * files.el (file-expand-wildcards): In case of remote files, check
14229         only local file name part for wildcards.  Provide feature 'files
14230         and subfeature 'remote-wildcards.  (Bug#5198)
14232         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14233         if there is already an established connection.
14234         (tramp-advice-file-expand-wildcards): Remove it.
14236         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14237         (tramp-advice-file-expand-wildcards): Move from tramp.el.
14238         Activate advice for older GNU Emacs versions.  (Bug#5237)
14240 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
14242         Some doc fixes (more needed).
14244         * find-cmd.el (find-constituents): Reflow docstring.
14245         (find-cmd, find-prune, find-command): Fix typos in docstrings.
14246         (find-generic): Doc fix.
14248 2009-12-17  Juri Linkov  <juri@jurta.org>
14250         Fix regression from 23.1 to allow multiple modes in Local Variables.
14252         * files.el (hack-local-variables-filter): While ignoring duplicates,
14253         don't take `mode' into account.
14254         (hack-local-variables-filter, hack-dir-local-variables):
14255         Don't remove duplicate `mode' from local-variables-alist (like `eval').
14257 2009-12-17  Juri Linkov  <juri@jurta.org>
14259         Make `dired-diff' safer.  (Bug#5225)
14261         * dired-aux.el (dired-diff): Signal an error when `file' equals to
14262         `current' or when `file' is a directory of the `current' file.
14264 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
14266         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14267         unconditionally preloaded files.
14269 2009-12-16  Juri Linkov  <juri@jurta.org>
14271         Revert to old 23.1 logic of using the file at the mark as default.
14272         * dired-aux.el (dired-diff): Use the file at the mark as default
14273         if it's not the same as the current file, and the target dir is
14274         the current dir or the mark is active.  Add the current file
14275         as the arg of `dired-dwim-target-defaults'.  Use the default file
14276         in the prompt.  (Bug#5225)
14278 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
14280         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14281         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14282         (tramp-check-for-regexp): Check also, when an echoing shell stops
14283         to echo sent commands.
14285 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14287         * Makefile.in: Revert last change (Bug#5191).
14289 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
14291         * vc-hg.el (vc-hg-print-log): Fix argument order.
14292         (vc-hg-working-revision): Make sure the command is executed in a
14293         known environment so that we can parse the output.  (Bug#4417)
14295 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14297         * progmodes/python.el (python-symbol-completions): Remove text
14298         properties from symbol string before calling python-send-receive.
14300 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
14302         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14303         when there are values for both file and line.  (Bug#5060)
14305 2009-12-14  Juri Linkov  <juri@jurta.org>
14307         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14308         whitespace after the file name of the first line of unified format,
14309         because git-diff doesn't output whitespace and file modification time
14310         after the file name.
14312 2009-12-14  David Kastrup  <dak@gnu.org>
14314         * info.el (Info-hide-cookies-node): Before hiding a cookie,
14315         check if it already has the `display' property added by
14316         `Info-display-images-node', and not put the `invisible' property
14317         in this case.
14319 2009-12-13  Glenn Morris  <rgm@gnu.org>
14321         * mail/emacsbug.el (message-sort-headers): Define for compiler.
14322         (report-emacs-bug): In message-mode, sort manually before storing
14323         original report text.  (Bug#5178)
14324         Remove superfluous save-excursion.
14326 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
14328         * net/dbus.el (dbus-property-handler): Filter lambda forms out
14329         when responding to "GetAll" properties.
14331 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
14333         * simple.el (compose-mail): Remove mail-setup-with-from from
14334         customization checks.
14336 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
14338         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14339         RAR archives created on Unix systems.
14341 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14343         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14344         the varalias that was accidentally removed by the 2009-11-19 change
14345         (bug#5186).
14347 2009-12-12  Kenichi Handa  <handa@m17n.org>
14349         * language/indian.el (indian-compose-regexp): New function.
14350         (malayalam-composable-pattern): Fix the pattern.
14351         (composition-function-table): Set malayalam-composable-pattern for
14352         Malayalam characters.
14354 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
14356         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14357         rather than down-mouse-1, based on follow-link conventions.
14359         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14360         are compiled.
14362 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
14364         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14365         (verilog-vmm-statement-re, verilog-ovm-statement-re)
14366         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14367         (verilog-leap-to-head, verilog-backward-token):
14368         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
14370 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
14372         * progmodes/verilog-mode.el (verilog-auto-lineup)
14373         (verilog-nameable-item-re): Cleanup user-visible spelling and
14374         documentation errors.  One reported by Gary Delp.
14375         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14376         (verilog-read-decls): Fix AUTOWIRE with types declared in a
14377         package, bug195.  Reported by Pierre-David Pfister.
14379 2009-12-11  Glenn Morris  <rgm@gnu.org>
14381         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14383         * mail/emacsbug.el: No longer require sendmail.
14384         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
14385         (report-emacs-bug-orig-text): Doc fix.
14386         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14387         New local variables, to adapt to different mail-user-agents.
14388         (report-emacs-bug): Fix test for a gnu.org address.
14389         Use overlays for emphasis, since font-lock defeats 'face property.
14390         Pretest bugs also end up at the newsgroup these days.
14391         Stop message-mode stripping text properties.
14392         Set and use the new buffer-local variables.
14393         (report-emacs-bug-hook): Add doc-string.
14394         Remove some unnecessary save-excursions and simplify.
14395         Use the appropriate hook and send-command.
14397         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14398         capitalization of some menu entries.
14400 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14402         * whitespace.el (whitespace-display-char-on):
14403         Ensure `buffer-display-table' is unique when two or more windows are
14404         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14405         New version 12.1.
14407 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
14409         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14410         characters in the Attribute field.
14412 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
14414         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
14416 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14418         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14419         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14420         Disregard autoload-excludes.
14421         (update-directory-autoloads): Obey autoload-excludes here instead.
14422         But don't store its contents in no-autoloads and remove entries that
14423         refer to excludes files.
14425 2009-12-10  Glenn Morris  <rgm@gnu.org>
14427         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14428         (expand-mail-aliases): Define for compiler.
14430         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14431         Define for compiler.
14433         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14434         appropriate for the mail-user-agent in use.
14436 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
14438         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14440 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
14442         Fix short log parsing and fontification.
14443         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14444         Fix fontification for the [merge] label.
14446 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
14448         Drop some properties to avoid surprises (bug#5002).
14449         * htmlfontify.el (hfy-ignored-properties): New defcustom.
14450         (hfy-fontify-buffer): Use it.
14452 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14454         Minor cleanup.
14455         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14456         Adjust all callers.
14457         (ffap-locate-file): Remove unused arg `dir-ok' and make other
14458         args compulsory.  Adjust callers.
14459         (ffap-gopher-at-point): Remove unused var `name'.
14461         Get rid of the ELCFILES abomination.
14462         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14463         (compile-elcfiles): New phony target.
14464         (compile-main): Compute ELCFILES dynamically.
14465         (compile-clean): New target to remove left-over elc files.
14466         (compile, all): Use it.
14468 2009-12-09  Kenichi Handa  <handa@etlken>
14470         * international/mule-diag.el: Require help-mode instead of help-fns.
14472 2009-12-09  Kenichi Handa  <handa@m17n.org>
14474         * international/mule-cmds.el (ucs-names): Supply sufficiently
14475         fine ranges instead of pre-calculating accurate ranges.
14476         Iterate with bigger gc-cons-threshold.
14478 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
14480         Add support for stashing a snapshot of the current tree.
14481         * vc-git.el (vc-git-stash-snapshot): New function.
14482         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14484 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
14486         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14487         instead of `(beginning|end)-of-line'.
14489 2009-12-08  Glenn Morris  <rgm@gnu.org>
14491         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14493         * Makefile.in (ELCFILES): Regenerate.
14495 2009-12-07  Juri Linkov  <juri@jurta.org>
14497         Don't lazy-highlight the comint output in history Isearch mode.
14499         * comint.el (comint-history-isearch-search): Instead of
14500         `comint-line-beginning-position', use `comint-after-pmark-p'
14501         to check if point if before the process mark, and go to
14502         `process-mark' in this case.
14504 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14506         * textmodes/tex-mode.el (latex-complete)
14507         (latex-indent-or-complete): Remove.
14508         (latex-mode): Set completion-at-point-functions instead.
14510         Provide a standard completion command and hook it into TAB.
14511         * minibuffer.el (completion-at-point-functions): New var.
14512         (completion-at-point): New command.
14513         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14514         * progmodes/python.el (python-mode-map): Use completion-at-point.
14515         (python-completion-at-point): Rename from python-partial-symbol and
14516         adjust for use in completion-at-point-functions.
14517         (python-mode): Setup completion-at-point for Python completion.
14518         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14519         extracted from lisp-complete-symbol.
14520         (lisp-complete-symbol): Use it.
14521         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14522         setup completion-at-point for Elisp completion.
14523         (emacs-lisp-mode-map, lisp-interaction-mode-map):
14524         Use completion-at-point.
14525         * ielm.el (ielm-map): Use completion-at-point.
14526         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14527         * progmodes/sym-comp.el: Move to...
14528         * obsolete/sym-comp.el: Move from progmodes.
14530 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
14532         Prevent save-buffer in Rmail buffers from using the coding-system
14533         of the current message, and from clobbering the encoding mnemonics
14534         in the mode line (Bug#4623).
14536         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14537         flag, too.
14538         (rmail-message-encoding): New variable.
14539         (rmail-write-region-annotate): Record the encoding of the current
14540         message in rmail-message-encoding.
14541         (rmail-after-save-hook): New function, restores the encoding of
14542         the current message after the message collection is saved.
14544 2009-12-07  Juri Linkov  <juri@jurta.org>
14546         * progmodes/grep.el (grep-read-files): Use `completing-read'
14547         instead of `read-string'.  Set its `collection' arg to
14548         `read-file-name-internal'.  (Bug#4301)
14550 2009-12-07  Juri Linkov  <juri@jurta.org>
14552         Correctly restore original Isearch point.  (Bug#4994)
14554         * isearch.el (isearch-mode): Move `isearch-push-state' after
14555         `(run-hooks 'isearch-mode-hook)'.
14556         (isearch-cancel): When `isearch-push-state-function' is defined,
14557         let-bind `isearch-cmds' to the first state (the last element of
14558         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14559         function and restores the original point).  Otherwise, move point
14560         to `isearch-opoint'.
14562 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14564         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14565         chars that don't have names, so the table can be built much faster at
14566         run-time.
14568 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
14570         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14571         change.  Suggested by David Kastrup.
14573         * simple.el (compose-mail): Check for incompatibilities and warn.
14574         (compose-mail-user-agent-warnings): New option.
14576 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14578         Support showing a single log entry from vc-annotate.
14579         * vc.el (print-log): Add a new argument: START-REVISION.
14580         (vc-print-log-internal): Add a new optional argument and
14581         pass it to the backend.
14582         (vc-print-log, vc-print-root-log): Adjust callers.
14583         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14584         buffer already displays the requested log entry, use it.
14585         Otherwise display only the log entry in question.
14586         * vc-svn.el (vc-svn-print-log):
14587         * vc-mtn.el (vc-mtn-print-log):
14588         * vc-hg.el (vc-hg-state):
14589         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14590         (vc-git-show-log-entry): Return t on success.
14591         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14592         (vc-bzr-show-log-entry): Return t on success.
14593         * vc-rcs.el (vc-rcs-print-log):
14594         * vc-sccs.el (vc-sccs-print-log):
14595         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14597 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14599         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14600         Add menus to the meta mode.  (Bug#5043)
14602 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
14604         * ediff-init.el (ediff-event-key): Use event-to-character instead of
14605         event-key.
14607         * ediff.el (ediff-buffers-internal): Add unwind-protect.
14609 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
14611         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
14612         Berbain <raphael.berbain@gmail.com>.
14614         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
14615         characters.
14616         (tramp-initial-end-of-output): New defconst.
14617         (tramp-methods, tramp-find-shell)
14618         (tramp-open-connection-setup-interactive-shell)
14619         (tramp-maybe-open-connection): Use it.
14620         (tramp-shell-prompt-pattern, tramp-wait-for-output):
14621         Handle existence of `#' and `$'.
14623         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14624         Use `tramp-initial-end-of-output'.
14626 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14628         Get the background mode from the terminal for xterm, and set
14629         faces accordingly.
14630         * term/xterm.el (xterm-set-background-mode): New function.
14631         (terminal-init-xterm): Use it in case xterm supports background
14632         color queries.  Recompute faces after getting the background
14633         color.
14635 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
14637         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14638         number comment back on its own line, for easier parsing.
14640 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14642         Make it work for non-file buffers (bug#5102).
14643         * doc-view.el (doc-view-current-cache-dir):
14644         Use doc-view-buffer-file-name rather than buffer-file-name.
14645         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14647 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
14649         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14650         author field is too short.
14652 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
14654         * vc-git.el (vc-git-print-log): Handle a limit argument.
14655         Display the short log in graph form and with labels.
14656         (vc-git-log-view-mode): Handle labels.
14658         Make vc-revert change VC state from 'added to 'unregistered.
14659         * vc-git.el (vc-git-revert): Call git reset first.
14661 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14663         * net/newst-backend.el, net/newst-plainview.el:
14664         * net/newst-reader.el, net/newst-ticker.el:
14665         * net/newst-treeview.el, net/newsticker.el:
14666         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
14668 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14670         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14672         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14673         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
14674         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14675         Update annotation regexp.
14677         * simple.el (beginning-of-visual-line): Constrain to field
14678         boundaries (Bug#5106).
14680 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14682         * xml.el (xml-substitute-numeric-entities):
14683         Move newsticker--decode-numeric-entities in newst-backend.el to
14684         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14685         * net/newst-backend.el (newsticker--parse-generic-feed)
14686         (newsticker--parse-generic-items)
14687         (newsticker--decode-numeric-entities):
14688         Move newsticker--decode-numeric-entities in newst-backend.el to
14689         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14691 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
14693         * progmodes/js.el (js--js-not): Add null to the list of values.
14695 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14697         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14699 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14701         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14702         delimiter if it is at the end of the current line.
14703         (bibtex-generate-url-list): Fix docstring.
14705 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14707         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14708         minibuffer's content with itself.
14709         Fold the confirm-after-completion case into the `confirm' case.
14710         (completion-pcm-word-delimiters): Add : and / to the delimiters.
14712 2009-12-06  Kevin Ryde  <user42@zip.com.au>
14714         * ffap.el (ffap-rfc-path): Make this a defcustom since
14715         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
14717         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14718         manuals, similar to existing setup for help-mode.  (Bug#3913.)
14720 2009-12-05  Juri Linkov  <juri@jurta.org>
14722         Save and restore dired buffer's point positions too.  (Bug#4880)
14724         * dired.el (dired-save-positions): Return in the first element
14725         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14726         Doc fix.
14727         (dired-restore-positions): First restore buffer's position.
14728         While restoring window's positions, check if window still displays
14729         the original buffer.
14731 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
14733         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14734         if possible.
14736         * shell.el (shell): Require ansi-color (Bug#5113).
14738         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14740         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14742 2009-12-05  Alan Mackenzie  <acm@muc.de>
14744         * progmodes/cc-mode.el (c-before-hack-hook)
14745         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14746         `c-file-style' to work again.  This reversion restores the current
14747         software to its state in Emacs 23.1.  (Bug#4146)
14749 2009-12-05  Kevin Ryde  <user42@zip.com.au>
14751         * textmodes/sgml-mode.el (sgml-lexical-context):
14752         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14754 2009-12-05  Juri Linkov  <juri@jurta.org>
14756         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14757         for virtual nodes.  (Bug#4147)
14758         (Info-find-node-2): Set `Info-current-node-virtual' to nil
14759         when moving from a virtual node.
14760         (Info-mode-menu): Add `Info-virtual-index' to the menu.
14761         (Info-mode): Add `Info-virtual-index' to the docstring.
14763 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14765         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14766         track of the buffer position of the end of a BibTeX entry as this
14767         position may change during reformatting.
14768         (bibtex-format-entry): Remove whitespace before processing
14769         numerical fields so that we recognize the latter properly.
14770         (bibtex-reformat): Do not use push which changes the global value
14771         of bibtex-entry-format.
14772         (bibtex-field-braces-alist, bibtex-field-strings-alist)
14773         (bibtex-field-re-init): Replace only space characters by regexp
14774         for whitespace.
14775         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14776         (bibtex-initialize): Also update bibtex-strings.
14777         (bibtex-kill-field): Preserve white space at end of entry.
14778         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14779         Update bibtex-reference-keys.
14781 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14783         * minibuffer.el (completion-pcm--merge-try): Also consider placing
14784         point after a star, if that's the only place where modifications can
14785         make progress.
14787 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
14789         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14790         in docstrings.
14792 2009-12-04  Juri Linkov  <juri@jurta.org>
14794         * proced.el (proced): Call `(proced-update t)' to update process
14795         information instead of only running proced-post-display-hook.
14796         (proced-send-signal): Add a leading space to the buffer name
14797         " *Marked Processes*" to make this buffer ephemeral.
14799 2009-12-04  Juri Linkov  <juri@jurta.org>
14801         * dired.el (dired-auto-revert-buffer): New defcustom.
14802         (dired-internal-noselect): Use it.
14804 2009-12-04  Juri Linkov  <juri@jurta.org>
14806         Change roles of modes and functions in image-mode.el (Bug#5062).
14808         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14809         in `auto-mode-alist'.
14810         (image-mode-previous-major-mode): New variable.
14811         (image-minor-mode-map): Rename from `image-mode-text-map'.
14812         (image-mode): Move graceful error-handling code from
14813         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
14814         (image-minor-mode): Remove all image-handling code.
14815         Replace `image-mode-text-map' with `image-minor-mode-map'.
14816         Check for `image-type' in mode-line format string.
14817         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14818         (image-mode-as-text): New function with most code from
14819         `image-mode-maybe'.
14820         (image-toggle-display-text): Move code that removes image
14821         properties from `image-toggle-display' to here.
14822         (image-toggle-display-image): New function with code that adds
14823         image properties copied from `image-toggle-display'.
14824         (image-toggle-display): Remove most code with leaving only code
14825         that toggles between `image-mode-as-text' and `image-mode'.
14827 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
14829         * net/newst-treeview.el
14830         (newsticker--treeview-list-highlight-start): Restored call to
14831         save-excursion: Selected item was stuck.
14832         (newsticker--treeview-list-select): New.
14833         (newsticker--treeview-item-show-text)
14834         (newsticker--treeview-item-show)
14835         (newsticker--treeview-item-update): Use new
14836         newsticker-treeview-item-mode.
14837         (newsticker-treeview-update): Keep current item.
14838         (newsticker-treeview-next-new-or-immortal-item): Doc change.
14839         (newsticker--treeview-first-feed): Doc change.
14840         (newsticker-treeview-list-menu)
14841         (newsticker-treeview-item-menu): Add menu entries.
14842         (newsticker-treeview-item-mode): New.
14844         * net/newst-backend.el (newsticker-customize): Delete other
14845         windows.
14847 2009-12-04  Sam Steingold  <sds@gnu.org>
14849         * log-view.el (log-view-mode-map): "q" calls quit-window,
14850         like in all the other non-self-insert buffers.
14852 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14854         Minor cleanup.
14855         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14856         key decoding rather than do it manually via last-input-event +
14857         ascii-character.
14858         (term-exec): Use delete-and-extract-region.
14859         (term-handle-ansi-terminal-messages): Remove unused var `end'.
14860         (term-process-pager): Remove unused var `i'.
14861         (term-dynamic-simple-complete): Make obsolete.
14862         (serial-update-config-menu): Remove unused vars `y' and `str'.
14863         (term-update-mode-line): Remove unused var `temp'.
14865 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14867         Limit the number of log entries displayed by default.
14868         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14869         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14870         using a prefix argument.
14872 2009-12-03  Glenn Morris  <rgm@gnu.org>
14874         * progmodes/idlwave.el (class): Restore still useful declaration.
14876 2009-12-03  Alan Mackenzie  <acm@muc.de>
14878         Enhance `c-parse-state' to run efficiently in "brace deserts".
14880         * progmodes/cc-mode.el (c-basic-common-init):
14881         Call c-state-cache-init.
14882         (c-neutralize-syntax-in-and-mark-CPP): Rename from
14883         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
14884         placing `category' properties value 'c-cpp-delimiter at its boundaries.
14886         * progmodes/cc-langs.el (c-before-font-lock-function):
14887         c-extend-and-neutralize-syntax-in-CPP has been renamed
14888         c-neutralize-syntax-in-and-mark-CPP.
14890         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14891         with `category' properties now, not `syntax-table' ones.
14893         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14894         enhanced (but slower) version of c-end-of-macro that won't land
14895         inside a literal or on another awkward character.
14896         (c-state-cache-too-far, c-state-cache-start)
14897         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14898         (c-state-nonlit-pos-cache-limit, c-state-point-min)
14899         (c-state-point-min-lit-type, c-state-point-min-lit-start)
14900         (c-state-min-scan-pos, c-state-brace-pair-desert)
14901         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14902         buffer local variables.
14903         (c-state-literal-at, c-state-lit-beg)
14904         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14905         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14906         (c-state-cache-top-paren, c-state-cache-after-top-paren)
14907         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14908         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14909         (c-renarrow-state-cache)
14910         (c-append-lower-brace-pair-to-state-cache)
14911         (c-state-push-any-brace-pair, c-append-to-state-cache)
14912         (c-remove-stale-state-cache)
14913         (c-remove-stale-state-cache-backwards, c-state-cache-init)
14914         (c-invalidate-state-cache-1, c-parse-state-1)
14915         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14916         (c-parse-state): Enhance and refactor.
14917         (c-debug-parse-state): Amend to deal with all the new variables.
14919         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14920         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14921         modify to use category text properties rather than syntax-table ones.
14922         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14923         to switch off/on the syntactic paren property of C++ template
14924         delimiters using the category property.
14925         (c-with-<->-as-parens-suppressed): Macro to invoke code with
14926         template delims suppressed.
14927         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14928         New constant/macros which apply category properties to the start
14929         and end of preprocessor constructs.
14930         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14931         "comment out" the syntactic value of characters in preprocessor
14932         constructs.
14933         (c-with-cpps-commented-out)
14934         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14935         with characters in all or all but one preprocessor constructs
14936         "commented out".
14938 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14940         * proced.el (proced-filter-alist): Use regexp-quote.
14942 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
14944         Cleanup.
14945         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14946         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
14947         arguments.  Expand `default-directory'.
14949         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14950         the benefit of returning an expanded localname.
14951         (tramp-tramp-file-p): Handle the case NAME is not a string.
14953 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14955         Add support for bzr shelve/unshelve.
14956         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14957         (vc-bzr-extra-menu-map): New variables.
14958         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14959         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14960         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14961         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14962         (vc-bzr-dir-extra-headers): Display shelves.
14964         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14966 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14968         * textmodes/bibtex.el (bibtex-complete-internal):
14969         Use completion-in-region.
14970         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14972 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14974         Support applying stashes.  Improve UI.
14975         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14976         (vc-git-stash-apply, vc-git-stash-pop)
14977         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14978         (vc-git-stash-menu): New functions.
14979         (vc-git-stash-menu-map): New variable.
14980         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14982 2009-12-03  Glenn Morris  <rgm@gnu.org>
14984         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14985         (vc-print-log-internal): Fix previous change.
14986         (vc-revert): Correct pluralization.
14988 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14990         * progmodes/make-mode.el (makefile-special-targets-list): No need for
14991         it to be an alist any more.
14992         (makefile-complete): Use completion-in-region.
14994         * progmodes/octave-mod.el (octave-complete-symbol):
14995         Use completion-in-region.
14997         Misc cleanup.
14998         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14999         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15000         (idlwave-complete-class): Don't quote lambda.
15001         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15002         (idlwave-mode-map): Move initialization into declaration.
15003         (idlwave-action-and-binding): Use backquotes.
15004         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15005         Simplify.
15006         (idlwave-is-pointer-dereference): Remove unused var `pos'.
15007         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15008         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15009         `parts', and `all-parts'.
15010         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15011         (idlwave-convert-xml-system-routine-info): Remove unused string
15012         `version-string'.
15013         (idlwave-display-user-catalog-widget): Use dolist.
15014         (idlwave-scanning-lib): Declare dynamically-scoped var.
15015         (idlwave-scan-library-catalogs): Remove unused var `flags'.
15016         (completion-highlight-first-word-only): Declare to silence bytecomp.
15017         (idlwave-popup-select): Tighten scope of `resp'.
15018         (idlwave-find-struct-tag): Remove unused var `beg'.
15019         (idlwave-after-load-rinfo-hook): Declare.
15020         (idlwave-sintern-class-info): Remove unused var `taglist'.
15021         (idlwave-find-class-definition): Remove unused var `list'.
15022         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15023         (idlwave-what-module-find-class): Remove unused var `classes'.
15025 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
15027         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15029 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15031         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15032         buffers visited.  Remove redundant current-buffer-saving.
15034 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15036         Use completion-in-buffer and remove uses of dynamic scoping.
15037         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15038         (pascal-buffer-to-use, pascal-flag): Don't declare.
15039         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15040         (pascal-get-completion-decl, pascal-keyword-completion):
15041         Add `pascal-str' argument, save-excursion,
15042         return the found completions, and don't filter with pascal-pred.
15043         (pascal-completion-cache): New var.
15044         (pascal-completion): Don't switch buffer any more (it was never
15045         necessary).  Don't save-excursion any more (it's done by the called
15046         subroutines).  Use a cache to avoid redundant computations.
15047         Use complete-with-action rather than pascal-completion-response and
15048         let it apply the predicate as well.
15049         (pascal-complete-word): Use completion-in-buffer when
15050         pascal-toggle-completions is nil.
15051         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15052         not used any more.
15053         (pascal-comp-defun): Don't change buffer any more.
15054         Use complete-with-action rather than pascal-completion-response and
15055         let it apply the predicate as well.
15056         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15057         when neded.
15059 2009-12-02  Kenichi Handa  <handa@m17n.org>
15061         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15062         shape for all Indic scripts.
15064 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15066         Use completion-in-buffer.
15067         * wid-edit.el (widget-field-text-end): New function.
15068         (widget-field-value-get): Use it.
15069         (widget-string-complete, widget-file-complete)
15070         (widget-color-complete): Use it and completion-in-region.
15071         (widget-complete): Don't narrow the buffer.
15073 2009-12-02  Glenn Morris  <rgm@gnu.org>
15075         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
15076         (rmail-select-summary): Use rmail-pop-to-buffer.
15077         * mail/rmailsum.el: Replace all pop-to-buffer calls with
15078         rmail-pop-to-buffer, to prevent horizontal splits.
15080         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15081         save-excursion with save-current-buffer.
15082         Widen before searching.  (Bug#5093)
15083         (diary-list-sexp-entries): Remove superfluous save-excursion.
15085 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
15087         * woman.el (woman-make-bufname): Handle man-pages with "." in the
15088         name.  (Bug#5038)
15090 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
15092         * ido.el (ido-file-internal): Handle filenames at point that do
15093         not have a directory part.  (Bug#5049)
15095 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
15097         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15098         (mpc-songs-jump-to, mpc-resume): Doc fixes.
15100 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
15102         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15103         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15104         any more.
15106 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15108         * comint.el (comint-insert-input): Ignore clicks to the right of
15109         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15111         * vc.el (vc-print-log-internal): Don't wait for the process to
15112         terminate before setting up the major mode.
15114         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15115         in case.
15117         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15118         the last element.
15120         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15122 2009-12-01  Glenn Morris  <rgm@gnu.org>
15124         * window.el (window--display-buffer-2): Fix previous changes.
15126 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
15128         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15130 2009-12-01  Glenn Morris  <rgm@gnu.org>
15132         * Makefile.in (ELCFILES): Add mpc.elc.
15134 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15136         * mpc.el: New file.
15138 2009-12-01  Glenn Morris  <rgm@gnu.org>
15140         * window.el (window-to-use): Define for compiler.
15142         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15143         consistent with others (no final period).
15145         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15146         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
15148 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
15150         Make vc-print-log buttons work.
15151         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15153 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
15155         * savehist.el (savehist-autosave-interval): Allow setting to nil
15156         through customize.  (Bug#5056)
15158 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
15160         Fix references to jit-lock properties.
15161         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15162         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15163         (perl-font-lock-special-syntactic-constructs):
15164         Quote jit-lock-defer-multiline property.
15166 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
15168         * vc-git.el (vc-git-registered): Call vc-git-root only once.
15170 2009-11-30  Juri Linkov  <juri@jurta.org>
15172         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15173         value `buffer' of `multi-isearch-next-buffer-current-function'.
15174         Use `(current-buffer)' when `buffer' is nil.
15175         (multi-isearch-next-buffer-from-list): Don't fallback to
15176         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
15178 2009-11-30  Juri Linkov  <juri@jurta.org>
15180         * misearch.el (multi-isearch-read-buffers): Move canonicalization
15181         of buffers with `get-buffer' to `multi-isearch-buffers'.
15182         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15183         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
15184         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15185         FILES with `expand-file-name' converting relative file names
15186         to absolute.  Doc fix.  (Bug#4727)
15188 2009-11-30  Juri Linkov  <juri@jurta.org>
15190         * misearch.el (multi-isearch-read-buffers)
15191         (multi-isearch-read-matching-buffers): New functions.
15192         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15193         Use them in the `interactive' spec.  Doc fix.
15194         (multi-isearch-read-files, multi-isearch-read-matching-files):
15195         New functions.
15196         (multi-isearch-files, multi-isearch-files-regexp):
15197         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
15199 2009-11-30  Juri Linkov  <juri@jurta.org>
15201         * doc-view.el (doc-view-continuous):
15202         Rename from `doc-view-continuous-mode'.
15203         (doc-view-menu): Move "Toggle display" to the top.
15204         Add submenu "Continuous" with radio buttons "Off"/"On"
15205         and "Save as Default".
15206         (doc-view-scroll-up-or-next-page)
15207         (doc-view-scroll-down-or-previous-page)
15208         (doc-view-next-line-or-next-page)
15209         (doc-view-previous-line-or-previous-page):
15210         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
15212 2009-11-30  Juri Linkov  <juri@jurta.org>
15214         * comint.el (comint-mode-map): Rebind `M-r' from
15215         `comint-previous-matching-input' to
15216         `comint-history-isearch-backward-regexp'.
15217         Unbind `M-s' to allow global key binding `M-s'.
15218         Add menu items for `comint-history-isearch-backward' and
15219         `comint-history-isearch-backward-regexp'.  (Bug#3746)
15221 2009-11-30  Juri Linkov  <juri@jurta.org>
15223         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15224         For def=recenter, replace `recenter' with `recenter-top-bottom'
15225         that is called with `this-command' and `last-command' let-bound
15226         to `recenter-top-bottom'.  When the last `def' was not `recenter',
15227         set `recenter-last-op' to nil.  (Bug#4981)
15229 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15231         Minor cleanup and simplification.
15232         * filecache.el (file-cache-add-directory)
15233         (file-cache-add-directory-recursively)
15234         (file-cache-add-from-file-cache-buffer)
15235         (file-cache-delete-file-regexp, file-cache-delete-directory)
15236         (file-cache-files-matching-internal, file-cache-display): Use dolist.
15237         (file-cache-temp-minibuffer-message): Delete function.
15238         (file-cache-minibuffer-complete): Use minibuffer-message instead.
15240         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15241         Don't signal an error when bumping into EOB in tr, s, or y.
15243 2009-11-29  Juri Linkov  <juri@jurta.org>
15245         * startup.el (fancy-about-text): Fix wording of Guided Tour.
15246         (Bug#4960)
15248         * descr-text.el (describe-char-unidata-list): Use lowercase name
15249         for "Unicode name" like in other tags.
15251 2009-11-29  Juri Linkov  <juri@jurta.org>
15253         * ediff-util.el (ediff-minibuffer-with-setup-hook):
15254         New compatibility macro.
15255         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15257 2009-11-29  Juri Linkov  <juri@jurta.org>
15259         Add defcustom to define the cycling order of `recenter-top-bottom'.
15260         (Bug#4981)
15262         * window.el (recenter-last-op): Doc fix.
15263         (recenter-positions): New defcustom.
15264         (recenter-top-bottom): Rewrite to use `recenter-positions'.
15265         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15267 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
15269         Improve integration of Tramp and ange-ftp in eshell.
15271         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15272         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
15273         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
15275         * eshell/esh-util.el (top): Require also Tramp when compiling.
15276         (eshell-directory-files-and-attributes): Check for FTP remote
15277         connection.
15278         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15279         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15280         (eshell-file-attributes): Handle ".".  Return `entry'.
15282         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15283         (ange-ftp-directory-files-and-attributes)
15284         (ange-ftp-real-directory-files-and-attributes): New defuns.
15286         * net/tramp.el (tramp-maybe-open-connection): Open the remote
15287         shell with "exec" when possible.  This prevents trailing prompts
15288         in `start-file-process'.
15290 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15292         Try and remove assumptions about point-min==1.
15293         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15294         (rng-compute-mode-line-string): Show the validation percentage in
15295         terms of the narrowed text, not the widened text.
15296         (rng-do-some-validation): Don't catch internal errors when debugging.
15297         (rng-first-error): Simplify.
15298         (rng-after-change-function): Remove work around.  AFAIK the bug has
15299         been fixed a while ago.
15301         * image-mode.el (image-minor-mode): Exit more gracefully when the image
15302         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15304         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15306         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15307         `cd' doesn't always do it for us (bug#5067).
15309         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15310         on 2009-10-25 as part of some other change (bug#5067).
15312 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15314         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15315         `suspicious'.
15316         (byte-compile-warnings): Use byte-compile-warning-types.
15317         (byte-compile-save-excursion): Warn about use of set-buffer right
15318         after save-excursion.
15320         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15321         the excursion as well.
15323 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
15325         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15326         providing a Tramp related implementation of "su" and "sudo".
15327         (eshell-unix-initialize): Add "su" and "sudo".
15329 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
15331         * net/socks.el (socks-send-command): Convert binary request to
15332         unibyte before sending.  This fixes mishandling of some port
15333         numbers such as 129.
15335 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15337         * help.el (describe-bindings-internal): Remove `interactive'.
15339         * man.el (Man-completion-table): Trim a terminating "(".
15340         Remove the space between name page a section.
15341         Add the command's description on the `help-echo' property.
15342         Remove `process-connection-type' binding since it's unused by
15343         call-process.
15344         Provide completion for the "<section> <name>" format as well.
15345         (Man-default-man-entry): Remove spurious var shadowing the argument.
15347 2009-11-26  Kevin Ryde  <user42@zip.com.au>
15349         * log-view.el: Add "Keywords: tools", since its other keywords
15350         aren't in finder-known-keywords, and following vc.el.
15352         * sha1.el (sha1-string-external): default-directory "/" in case
15353         otherwise non-existent.  process-connection-type pipe for touch of
15354         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
15356 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15358         Misc coding convention cleanups.
15359         * htmlfontify.el (hfy-init-kludge-hook): Rename from
15360         hfy-init-kludge-hooks.
15361         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15362         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15363         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15364         and push.
15365         (hfy-slant, hfy-weight): Use tables rather than code.
15366         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15367         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15368         (hfy-face-attr-for-class): Initialize `face-spec' directly.
15369         (hfy-face-to-css): Remove `nconc' with single arg.
15370         (hfy-p-to-face-lennart): Use `or'.
15371         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
15372         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15373         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15374         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15375         (hfy-force-fontification): Use run-hooks.
15377 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
15379         Various minor fixes.
15380         * htmlfontify.el (hfy-default-header): Add toggle_invis since
15381         Javascript belongs in the header, not the body.
15382         (hfy-javascript): Remove.
15383         (hfy-fontify-buffer): Don't insert it any more.
15384         (hfy-face-at): Handle (face0 face1 face2) style face properties.
15385         Fix bug in invis handling when there were no invis props in a chunk.
15387 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15389         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15391 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
15393         * finder.el (finder-mode-map): Add a menu.
15395 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
15397         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15398         "unsigned" structs.
15400         (verilog-leap-to-head, verilog-backward-token): Handle "disable
15401         fork" statement better.
15403 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
15405         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15406         (verilog-delete-auto, verilog-delete-empty-auto-pair)
15407         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15408         Reported by Clay Douglass.
15410         (verilog-auto-inst, verilog-auto-star-safe)
15411         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15412         Fix removing "// Interfaces" when saving .* expansions.
15413         Reported by Pierre-David Pfister.
15415 2009-11-26  Glenn Morris  <rgm@gnu.org>
15417         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15418         the scope.
15420 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
15422         * vc-annotate.el (vc-annotate-revision-previous-to-line):
15423         Really use previous revision.
15425 2009-11-25  Kevin Ryde  <user42@zip.com.au>
15427         * man.el (Man-completion-table): default-directory "/" in case
15428         doesn't otherwise exist.  process-environment COLUMNS=999 so as
15429         not to truncate long names.  process-connection-type pipe to avoid
15430         any chance of hitting the pseudo-tty TIOCGWINSZ.
15431         (man): completion-ignore-case t for friendliness and since man
15432         itself is case-insensitive on the command line.
15433         Further to Bug#3717.
15435         * arc-mode.el: Add "Keywords: files", so the details in its
15436         commentary can be reached from finder-by-keyword.
15437         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
15438         editing mode, but it's comms related and sgml-mode.el has "comm"
15439         on that basis too.
15440         * textmodes/bibtex-style.el: Add "Keywords: tex".
15441         * international/isearch-x.el, international/ja-dic-cnv.el:
15442         * international/ja-dic-utl.el, international/kkc.el:
15443         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15445 2009-11-25  Juri Linkov  <juri@jurta.org>
15447         * man.el (Man-completion-table): Modify regexp to include
15448         section names to completion strings.  (Bug#3717)
15450 2009-11-25  Juri Linkov  <juri@jurta.org>
15452         Search recursively in gzipped files.  (Bug#4982)
15454         * progmodes/grep.el (grep-highlight-matches): Add new options
15455         `always' and `auto'.  Doc fix.
15456         (grep-process-setup): Check `grep-highlight-matches' for
15457         `auto-detect' to determine the need to compute grep defaults.
15458         Move Windows/DOS specific --colors settings handling
15459         to `grep-compute-defaults'.  Check `grep-highlight-matches'
15460         to get the value of "--color=".
15461         (grep-compute-defaults): Compute `grep-highlight-matches' when it
15462         has the value `auto-detect'.  Move Windows/DOS specific settings
15463         from `grep-process-setup'.
15464         (zrgrep): New command with alias `rzgrep'.
15466 2009-11-25  Juri Linkov  <juri@jurta.org>
15468         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15469         to nil instead of switching off view-mode.  (Bug#4896)
15471 2009-11-25  Juri Linkov  <juri@jurta.org>
15473         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
15475         * mwheel.el (mwheel-scroll-up-function)
15476         (mwheel-scroll-down-function): New defvars.
15477         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15478         `scroll-up', and `mwheel-scroll-down-function' instead of
15479         `scroll-down'.
15481         * doc-view.el (doc-view-scroll-up-or-next-page)
15482         (doc-view-scroll-down-or-previous-page): Add optional ARG.
15483         Use this ARG in the call to image-scroll-up/image-scroll-down.
15484         Change `interactive' spec to "P".  Goto next/previous page only
15485         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15486         SPC/DEL case).  Doc fix.
15487         (doc-view-next-line-or-next-page)
15488         (doc-view-previous-line-or-previous-page): Rename arg to ARG
15489         for consistency.
15490         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15491         `doc-view-scroll-up-or-next-page', and buffer-local
15492         `mwheel-scroll-down-function' to
15493         `doc-view-scroll-down-or-previous-page'.
15495 2009-11-25  Juri Linkov  <juri@jurta.org>
15497         Provide additional default values (directories at other Dired
15498         windows) via M-n in the minibuffer of some Dired commands.
15500         * dired-aux.el (dired-diff, dired-compare-directories)
15501         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15502         `minibuffer-default' in `minibuffer-with-setup-hook'.
15503         (dired-dwim-target-directory): Find a window that displays Dired
15504         buffer instead of failing when the next window is not Dired.
15505         Use `get-window-with-predicate' to find for the next Dired window.
15506         (dired-dwim-target-defaults): New function.
15508         * ediff-util.el (ediff-read-file-name):
15509         Use `dired-dwim-target-defaults' to set `minibuffer-default'
15510         in `minibuffer-with-setup-hook'.
15512 2009-11-25  Juri Linkov  <juri@jurta.org>
15514         Provide additional default values (file name at point or at the
15515         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
15517         * minibuffer.el (read-file-name-defaults): New function.
15518         (read-file-name): Reset `minibuffer-default' to nil when
15519         it duplicates initial input `insdef'.
15520         Bind `minibuffer-default-add-function' to lambda that
15521         calls `read-file-name-defaults' in `minibuffer-selected-window'.
15522         (minibuffer-insert-file-name-at-point): New command.
15524         * files.el (file-name-at-point-functions): New defcustom.
15525         (find-file-default): Remove defvar.
15526         (find-file-read-args): Don't use `find-file-default'.
15527         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15528         to `read-file-name'.
15529         (find-file-literally): Use `read-file-name' with
15530         `confirm-nonexistent-file-or-buffer'.
15532         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15534         * dired.el (dired-read-dir-and-switches):
15535         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15536         to `read-file-name'.
15537         (dired-file-name-at-point): New function.
15538         (dired-mode): Add hook `dired-file-name-at-point' to
15539         `file-name-at-point-functions'.
15541 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15543         Really make the *Completions* window soft-dedicated (bug#5030).
15544         * window.el (window--display-buffer-2): Add `dedicated' argument.
15545         (display-buffer): Pass it when needed so the dedicated flag is set
15546         after calling set-window-buffer, which would otherwise reset it.
15548 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15550         * progmodes/meta-mode.el (meta-complete-symbol):
15551         * progmodes/etags.el (complete-tag):
15552         * mail/mailabbrev.el (mail-abbrev-complete-alias):
15553         Use completion-in-region.
15555         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15556         (dabbrev-completion): Use completion-in-region.
15557         (dabbrev--abbrev-at-point): Simplify regexp.
15559         * abbrev.el (abbrev--before-point): Use word-motion functions
15560         if :regexp is not specified (bug#5031).
15562         * subr.el (string-prefix-p): New function.
15564         * man.el (Man-completion-cache): New var.
15565         (Man-completion-table): Use it.
15567         * vc.el (vc-print-log-internal): Make `limit' optional for better
15568         compatibility (e.g. with vc-annotate.el).
15570 2009-11-24  Kevin Ryde  <user42@zip.com.au>
15572         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15573         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
15575         * emacs-lisp/elint.el (elint-add-required-env): Better error message
15576         when .el source file not found or other error.
15578 2009-11-24  Markus Triska  <markus.triska@gmx.at>
15580         * linum.el (linum-update-window): Ignore intangible (bug#4996).
15582 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15584         Handle the [back] button properly (bug#4979).
15585         * descr-text.el (describe-text-properties): Add a `buffer' argument.
15586         Use help-setup-xref, help-buffer, and with-help-window.
15587         (describe-char): Add `buffer' argument.
15588         Pass proper command to help-setup-xref.  Don't meddle with
15589         help-xref-stack-item directly.
15590         (describe-text-category): Use with-help-window and help-buffer.
15592         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15593         for the displayed buffer (bug#4887).
15595         * man.el (Man-completion-table): New function.
15596         (man): Use it.
15598 2009-11-24  David Reitter  <david.reitter@gmail.com>
15600         * vc-git.el (vc-git-registered): Use checkout directory (where
15601         .git is) rather than the file's directory and a relative path spec
15602         to work around a bug in git.
15604 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
15606         Improve handling of processes on remote hosts.
15608         * eshell/esh-util.el (eshell-path-env): New defvar.
15609         (eshell-parse-colon-path): New defun.
15610         (eshell-file-attributes): Use `eshell-parse-colon-path'.
15612         * eshell/esh-ext.el (eshell-search-path):
15613         Use `eshell-parse-colon-path'.
15614         (eshell-remote-command): Remove argument HANDLER.
15615         (eshell-external-command): Check for FTP remote connection.
15617         * eshell/esh-proc.el (eshell-gather-process-output):
15618         Use `file-truename', in order to start also symlinked files.
15619         Apply `start-file-process' instead of `start-process'.
15620         Shorten `command' to the local file name part.
15622         * eshell/em-cmpl.el (eshell-complete-commands-list):
15623         Use `eshell-parse-colon-path'.
15625         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15627         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
15628         to `eshell-directory-change-hook'.
15630 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
15632         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15633         because it could be enabled automatically if view-read-only is non-nil.
15635 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
15637         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15638         made on 2009-11-22.
15640 2009-11-24  Glenn Morris  <rgm@gnu.org>
15642         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15643         deleted variable bookmark-bmenu-bookmark-column.
15645 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15647         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15649 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15651         * net/browse-url.el (browse-url-filename-alist): On Windows, add
15652         two slashes to the "file:" prefix.
15653         (browse-url-file-url): De-munge Cygwin filenames before passing
15654         them to Windows browser.
15655         (browse-url-default-windows-browser): Use call-process.
15657 2009-11-23  Juri Linkov  <juri@jurta.org>
15659         Implement DocView Continuous mode.  (Bug#4896)
15660         * doc-view.el (doc-view-continuous-mode): New defcustom.
15661         (doc-view-mode-map): Bind C-n/<down> to
15662         `doc-view-next-line-or-next-page', C-p/<up> to
15663         `doc-view-previous-line-or-previous-page'.
15664         (doc-view-next-line-or-next-page)
15665         (doc-view-previous-line-or-previous-page): New commands.
15667 2009-11-23  Juri Linkov  <juri@jurta.org>
15669         Implement Isearch in comint input history.  (Bug#3746)
15670         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15671         `isearch-mode-hook'.
15672         (comint-history-isearch): New defcustom.
15673         (comint-history-isearch-backward)
15674         (comint-history-isearch-backward-regexp): New commands.
15675         (comint-history-isearch-message-overlay): New buffer-local variable.
15676         (comint-history-isearch-setup, comint-history-isearch-end)
15677         (comint-goto-input, comint-history-isearch-search)
15678         (comint-history-isearch-message, comint-history-isearch-wrap)
15679         (comint-history-isearch-push-state)
15680         (comint-history-isearch-pop-state): New functions.
15682 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
15684         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15685         return.
15686         (tramp-handle-make-symbolic-link)
15687         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15688         Quote file names.
15689         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15690         (tramp-handle-process-file): Use it.
15692 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15694         * window.el (move-to-window-line-last-op): Remove.
15695         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15697 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
15699         Make M-r mirror the new cycling behavior of C-l.
15700         * window.el (move-to-window-line-last-op): New var.
15701         (move-to-window-line-top-bottom): New command.
15702         (global-map): Bind M-r move-to-window-line-top-bottom.
15704 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
15706         * dired-x.el (dired-guess-shell-alist-default):
15707         Support xz format.  (Bug#4953)
15709 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
15711         * emulation/viper-cmd.el: Use viper-last-command-char instead of
15712         last-command-char/last-command-event.
15713         (viper-prefix-arg-value): Do correct conversion of event-char for
15714         XEmacs.
15716         * emulation/viper-util.el, emulation/viper.el:
15717         Use viper-last-command-char instead of
15718         last-command-char/last-command-event.
15720         * ediff-init.el, ediff-mult.el, ediff-util.el:
15721         Replace last-command-char and last-command-event
15722         with (ediff-last-command-char) everywhere.
15724         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15725         created in fundamental mode.
15727         * ediff.el (ediff-version): Revert the change of interactive-p to
15728         called-interactively-p.
15730 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
15732         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15733         generation from word-movement command names.
15735 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
15737         * cus-start.el (all): Add native condition for font-use-system-font.
15739 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
15741         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15742         Correct the patch from 2009-11-18.  (Bug#3910)
15744 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
15746         * progmodes/subword.el: Rename from lisp/subword.el.
15748         * subword.el: Rename to progmodes/subword.el.
15750         * Makefile.in (ELCFILES): Adapt to subword.el move.
15752 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15753             Stefan Monnier  <monnier@iro.umontreal.ca>
15755         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15756         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15757         (bookmark-bmenu-show-filenames): Use push.
15758         (bookmark-bmenu-hide-filenames): Use local var instead of
15759         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
15760         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15761         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15762         filenames now that the bookmark names are always available.
15764 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15766         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15767         (bookmark-search-pattern): Move and leave unbound.
15768         (bookmark-bmenu-mode-map): Change binding.
15769         (bookmark-read-search-input): Simplify.
15770         Don't use text-char-description.  Don't error on non-char events.
15771         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15772         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15773         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15774         Use a local var for the timer.
15775         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15776         (i.e. bookmark-bmenu-search).
15778 2009-11-21  Glenn Morris  <rgm@gnu.org>
15780         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
15782 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15784         * net/browse-url.el (browse-url-default-windows-browser):
15785         Use cygstart for cygwin.
15787 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
15789         * bookmark.el: Formatting and doc fixes only:
15790         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15791         (bookmark-bmenu-search): Wrap to fit within 80 columns.
15792         Minor grammar and punctuation fixes in doc string.
15793         (bookmark-read-search-input): Adjust to fit within 80 columns.
15795 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15797         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15798         (c-backward-into-nomenclature): Adapt to subword renaming.
15800         * subword.el (subword-forward, subword-backward, subword-mark)
15801         (subword-kill, subword-backward-kill, subword-transpose)
15802         (subword-downcase, subword-upcase, subword-capitalize)
15803         (subword-forward-internal, subword-backward-internal):
15804         Rename from forward-subword, backward-subword, mark-subword,
15805         kill-subword, backward-kill-subword, transpose-subwords,
15806         downcase-subword, upcase-subword, capitalize-subword,
15807         forward-subword-internal, backward-subword-internal.
15809 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15811         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15812         New options.
15813         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15814         New vars.
15815         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15816         (bookmark-bmenu-filter-alist-by-regexp)
15817         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15818         (bookmark-bmenu-search): New command.
15819         (bookmark-bmenu-mode-map): Bind it.
15821 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15823         * progmodes/cc-cmds.el: declare-functioned forward-subword and
15824         backward-subword to quit the byte-compiler.
15826         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15828         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15830         * progmodes/cc-cmds.el (c-update-modeline)
15831         (c-forward-into-nomenclature, c-backward-into-nomenclature):
15832         Refer to subword.el functions instead of cc-subword.el.
15834         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15835         subword.el functions instead of cc-subword.el.
15837         * progmodes/cc-subword.el: Rename to subword.el.
15838         * subword.el: Rename from progmodes/cc-subword.el.
15839         (subword-mode-map): Rename from c-subword-mode-map.
15840         (subword-mode): Rename from c-subword-mode.
15841         (global-subword-mode): New global minor mode.
15842         (forward-subword): Rename from c-forward-subword.
15843         (backward-subword): Rename from c-backward-subword.
15844         (mark-subword): Rename from c-mark-subword.
15845         (kill-subword): Rename from c-kill-subword.
15846         (backward-kill-subword): Rename from c-backward-kill-subword.
15847         (transpose-subwords): Rename from c-tranpose-subword.
15848         (downcase-subword): Rename from c-downcase-subword.
15849         (capitalize-subword): Rename from c-capitalize-subword.
15850         (forward-subword-internal): Rename from c-forward-subword-internal.
15851         (backward-subword-internal): Rename from c-backward-subword-internal.
15853 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
15855         * vc.el (vc-deduce-fileset): Allow non-state changing operations
15856         from a dired buffer.
15857         (vc-dired-deduce-fileset): New function.
15858         (vc-root-diff, vc-print-root-log): Use it.
15860         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15861         nil LIMIT argument to vc-print-log-internal.
15863 2009-11-20  Glenn Morris  <rgm@gnu.org>
15865         * Makefile.in (ELCFILES): Regenerate.
15867 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
15869         * calc/calc.el (calc-set-mode-line):
15870         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15871         (math-format-number): Rename `math-format-complement-signed' to
15872         `math-format-twos-complement'.
15874         * calc/calc-bin.el (math-format-twos-complement): Rename from
15875         math-format-complement-signed.
15876         (calc-radix): Rename `calc-complement-signed-mode' to
15877         `calc-twos-complement-mode'.
15878         (calc-octal-radix, calc-hex-radix): Add an argument for
15879         two's complement.
15881         * calc/calc-embed.el (calc-embedded-mode-vars):
15882         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15884         * calc/calc-ext.el (calc-init-extensions):
15885         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15886         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15888         * calc/calc-units.el (math-build-units-table-buffer):
15889         Let `calc-twos-complement-mode' be nil.
15891         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15892         entries.
15894         * calc/calc-vec.el (calcFunc-vunpack):
15895         * calc/calc-aent.el (calc-do-calc-eval):
15896         * calc/calc-forms.el (math-format-date):
15897         * calc/calc-graph.el (calc-graph-plot):
15898         * calc/calc-math.el (math-use-emacs-fn):
15899         * calc/calccomp.el (math-compose-expr):
15900         Let `calc-twos-complement-mode' be nil.
15902 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15904         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15905         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
15906         * minibuffer.el (completion-in-region-functions): New hook.
15907         (completion-in-region): New function.
15908         * emacs-lisp/lisp.el (lisp-complete-symbol):
15909         * pcomplete.el (pcomplete-std-complete): Use it.
15911 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15913         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15914         (latex-complete-alist): New vars.
15915         (latex-string-prefix-p, latex-complete-bibtex-keys)
15916         (latex-complete-envnames, latex-complete-refkeys)
15917         (latex-complete-data): New functions.
15918         (latex-complete, latex-indent-or-complete): New commands.
15920         * window.el (display-buffer-mark-dedicated): New var.
15921         (display-buffer): Obey it.
15922         * minibuffer.el (minibuffer-completion-help): Use it.
15924         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15926         * filecache.el (file-cache-add-file): Use push and cons.
15927         (file-cache-delete-file-regexp): Use push.
15928         (file-cache-complete): Use completion-in-region.
15930         * simple.el (with-wrapper-hook): Fix thinko.
15932         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15933         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15934         Use with-current-buffer and string-to-number.
15935         (hfy-fallback-colour-values): Use assoc-string.
15936         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15937         (hfy-face-at): Remove unused var `found-face'.
15938         (hfy-compile-stylesheet): Remove unused var `css'.
15939         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15940         and `orig-buffer'.
15941         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15942         Use with-current-buffer.
15943         (hfy-text-p): Use expand-file-name and fewer setq.
15945 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
15947         * htmlfontify.el, hfy-cmap.el: New files.
15949 2009-11-19  Juri Linkov  <juri@jurta.org>
15951         * minibuffer.el (completions-format): New defcustom.
15952         (completion--insert-strings): Implement vertical format.
15954         * simple.el (switch-to-completions): Move point to the first
15955         completion when point was at the beginning of the buffer.
15957 2009-11-19  Juri Linkov  <juri@jurta.org>
15959         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
15961         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15963 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
15965         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15966         (mail-signature): Change default to t.
15967         (mail-from-style): Deprecate `system-default' value.
15968         (mail-insert-from-field): For default value of mail-from-style,
15969         default to `angles' unless `angles' needs quoting and `parens'
15970         does not.
15971         (mail-citation-prefix-regexp): Use citation regexp from
15972         message-mode.
15974 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
15976         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15977         Set variables for computing the prompt for reading password.
15979 2009-11-19  Glenn Morris  <rgm@gnu.org>
15981         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
15983         * textmodes/flyspell.el (sgml-lexical-context): Declare.
15985         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15986         (newsticker-treeview-listwindow-height): Fix custom type.
15988 2009-11-19  Kenichi Handa  <handa@m17n.org>
15990         * descr-text.el (describe-char-padded-string): Compose with TAB
15991         only if there's a font for CH.
15992         (describe-char): Fix the condition for detecting a trivial composition.
15994 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
15996         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15997         more accurate version of the regexp.  (Bug#3910)
15999 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
16001         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16003 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
16005         * font-setting.el (font-use-system-font): Declare for byte-compiler.
16006         (font-setting-change-default-font): Fix typo in docstring.
16008 2009-11-18  Alan Mackenzie  <acm@muc.de>
16010         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16012 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
16014         * font-setting.el (font-use-system-font): Move ...
16016         * cus-start.el (all): ... to here.
16018 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
16020         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16021         Don't set `ad-return-value' if `ad-do-it' doesn't.
16023         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16024         modification time.
16026 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
16028         * menu-bar.el: Put "Use system font" in Option-menu.
16029         (menu-bar-options-save): Add font-use-system-font.
16031         * loadup.el: If feature system-font-setting or font-render-setting is
16032         there, load font-setting.
16034         * Makefile.in (ELCFILES): Add font-settings.el.
16035         * font-setting.el: New file.
16037 2009-11-17  Glenn Morris  <rgm@gnu.org>
16039         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16041         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16042         Preserve point in the list buffer.  (Bug#4939)
16043         Use point-at-eol.
16044         (newsticker--treeview-list-update-highlight)
16045         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16047 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
16049         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16050         Remove.
16052         * calc/calc-ext.el (calc-init-extensions): Remove references to
16053         symclip.
16055         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16057         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16058         * calc/calc-help.el (calc-b-prefix-help): Remove references to
16059         `calc-symclip'.
16061 2009-11-16  Kevin Ryde  <user42@zip.com.au>
16063         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16064         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16066         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16067         (lm-keywords-list): Allow comma-only separator like "foo,bar".
16068         Ignore trailing spaces by omit-nulls to split-string (fixing
16069         regression from Emacs 21 due to the incompatible split-string
16070         change).  (Bug #4928.)
16072 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
16074         * vc.el (vc-log-show-limit): Default to 2000.
16075         (vc-print-log-internal): Insert buttons to request more entries
16076         when limiting the output.
16078         * vc-sccs.el (vc-sccs-print-log):
16079         * vc-rcs.el (vc-rcs-print-log):
16080         * vc-cvs.el (vc-cvs-print-log):
16081         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16082         LIMIT is non-nil.
16084 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
16086         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16087         error when `tramp-gvfs-dbus-event-vector' is set.
16088         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16090 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16092         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16094 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
16096         * net/dbus.el (dbus-unregister-service): New defun.
16097         (dbus-register-property): Register the handlers of
16098         "org.freedesktop.DBus.Properties" for SERVICE.
16099         (dbus-property-handler): Fix docstring.
16101 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16103         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16104         Quote doc string reference in defvaralias as it is not in special form.
16105         (byte-compile-output-docform): Doc fix.
16107 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
16109         * calc/calc.el (math-2-word-size, math-half-2-word-size)
16110         (calc-complement-signed-mode): New variables.
16111         (calc-set-mode-line): Add indicator for twos-complements.
16112         (math-format-number): Format twos-complement notation.
16114         * calc/calc-bin.el (calc-word-size): Reset the variables
16115         `math-2-word-size' and `math-half-2-word-size'.
16116         (math-format-complement-signed, math-symclip, calcFunc-symclip)
16117         (calc-symclip): New functions.
16119         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16121         * calc/calc-embed.el (calc-embedded-mode-vars):
16122         Add `calc-complement-signed-mode' to the list of modes.
16124         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16125         (calc-b-oper-keys): Add `calc-symclip' to list.
16127         * calc/calc-ext.el (math-read-number-fancy): Read complement
16128         signed numbers.
16129         (calc-init-extensions): Add binding for `calc-symclip'.
16130         Add autoload for `calcFunc-symclip' and `calc-symclip'.
16132         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16133         `calc-symclip'.
16134         (calc-modes-menu): Add item for twos complement mode.
16136         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16138 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16140         * register.el (jump-to-register, insert-register): Handle Semantic
16141         tags.  From commented-out advice in semantic/senator.el.
16143 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
16145         * vc.el (vc-log-show-limit): New variable.
16146         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
16147         when using a prefix argument.
16148         (vc-print-log-internal): Add new argument LIMIT.
16150         * vc-svn.el (vc-svn-print-log):
16151         * vc-mtn.el (vc-mtn-print-log):
16152         * vc-hg.el (vc-hg-print-log):
16153         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16154         pass it to the log command when set.  Make the BUFFER argument
16155         non-optional.
16157         * vc-sccs.el (vc-sccs-print-log):
16158         * vc-rcs.el (vc-rcs-print-log):
16159         * vc-git.el (vc-git-print-log):
16160         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16161         ignore it.  Make the BUFFER argument non-optional.
16163         * bindings.el (mode-line-buffer-identification): Do not purecopy.
16165 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16167         * dired.el (dired-mode-map): Move encryption items to "Operate"
16168         menu (Bug#4703).
16170         * strokes.el (strokes-update-window-configuration): Make strokes
16171         buffer current before erasing (Bug#4906).
16173 2009-11-15  Juri Linkov  <juri@jurta.org>
16175         * simple.el (set-mark-default-inactive): Add :type, :group
16176         and :version.  (Bug#4876)
16178 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
16180         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16181         (archive-unique-fname): ... here.  (Bug#4929)
16183 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16185         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16186         with a real fix.
16188         * novice.el (disabled-command-function): Add useful args.
16189         Setup the help buffer so that [back] works.
16190         Remove redundant call to help-mode.
16191         (disabled-command-function): Use `case'.
16192         (en/disable-command): New function extracted from enable-command.
16193         (enable-command, disable-command): Use it.
16195 2009-11-14  Glenn Morris  <rgm@gnu.org>
16197         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16198         constants.  (Bug#4913)
16200         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16202 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
16204         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16205         defined in C that have no doc-strings.  (Bug#1063)
16207 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
16209         * cus-edit.el (data, files):
16210         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
16212 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
16214         * simple.el (shell-command): Doc fix (Bug#4891).
16216         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16218 2009-11-14  Glenn Morris  <rgm@gnu.org>
16220         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16221         statements for vc-diff, emerge-quit, and rmail-cease-edit.
16222         If they are already loaded, eval-after-load will do the right thing.
16224         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16225         compiling.
16227         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16229         * simple.el (x-selection-owner-p): Declare.
16230         (read-mail-command): Use custom radio type rather than choice.
16231         (completion-no-auto-exit): Doc fix.
16233         * custom.el (defgroup):
16234         * epg-config.el (epg): Doc fixes.
16236 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
16238         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16239         * international/ccl.el (define-ccl-program): Do not purecopy the
16240         docstring, defconst does it anyway.
16242 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16244         * add-log.el (add-change-log-entry): Avoid displaying the changelog
16245         a second time.
16247         * x-dnd.el (x-dnd-maybe-call-test-function):
16248         * window.el (split-window-vertically):
16249         * whitespace.el (whitespace-help-on):
16250         * vc-rcs.el (vc-rcs-consult-headers):
16251         * userlock.el (ask-user-about-lock-help)
16252         (ask-user-about-supersession-help):
16253         * type-break.el (type-break-force-mode-line-update):
16254         * time-stamp.el (time-stamp-conv-warn):
16255         * terminal.el (te-set-output-log, te-more-break, te-filter)
16256         (te-sentinel, terminal-emulator):
16257         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16258         (term-write-input-ring, term-check-source, term-start-output-log):
16259         (term-display-buffer-line, term-dynamic-list-completions):
16260         (term-ansi-make-term, serial-term):
16261         * subr.el (selective-display):
16262         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16263         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16264         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16265         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16266         (speedbar-remove-localized-speedbar-support)
16267         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16268         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16269         (speedbar-buffers-line-directory):
16270         * simple.el (shell-command-on-region, append-to-buffer)
16271         (prepend-to-buffer):
16272         * shadowfile.el (shadow-save-todo-file):
16273         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16274         (scroll-bar-maybe-set-window-start):
16275         * sb-image.el (speedbar-image-dump):
16276         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16277         (load-save-place-alist-from-file):
16278         * ps-samp.el (ps-print-message-from-summary):
16279         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16280         (ps-background-image, ps-begin-job, ps-do-despool):
16281         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16282         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16283         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16284         (pr-call-process, pr-file-list, pr-interface-save):
16285         * novice.el (disabled-command-function)
16286         (enable-command, disable-command):
16287         * mouse.el (mouse-buffer-menu-alist):
16288         * mouse-copy.el (mouse-kill-preserving-secondary):
16289         * macros.el (kbd-macro-query):
16290         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16291         * informat.el (batch-info-validate):
16292         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16293         * hippie-exp.el (try-expand-dabbrev-visible):
16294         * help-mode.el (help-make-xrefs):
16295         * help-fns.el (describe-variable):
16296         * generic-x.el (bat-generic-mode-run-as-comint):
16297         * finder.el (finder-mouse-select):
16298         * find-dired.el (find-dired-sentinel):
16299         * filesets.el (filesets-file-close):
16300         * files.el (list-directory):
16301         * faces.el (list-faces-display, describe-face):
16302         * facemenu.el (list-colors-display):
16303         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16304         * epg.el (epg--process-filter, epg-cancel):
16305         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16306         (epa--read-signature-type):
16307         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16308         (emerge-file-names):
16309         * ehelp.el (electric-helpify):
16310         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16311         * ediff-vers.el (rcs-ediff-view-revision):
16312         * ediff-util.el (ediff-setup):
16313         * ediff-mult.el (ediff-append-custom-diff):
16314         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16315         (ediff-wordify):
16316         * echistory.el (Electric-command-history-redo-expression):
16317         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16318         * disp-table.el (describe-display-table):
16319         * dired.el (dired-find-buffer-nocreate):
16320         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16321         * dabbrev.el (dabbrev--same-major-mode-p):
16322         * chistory.el (list-command-history):
16323         * apropos.el (apropos-documentation):
16324         * allout.el (allout-obtain-passphrase):
16325         (allout-copy-exposed-to-buffer):
16326         (allout-verify-passphrase): Use with-current-buffer.
16328 2009-11-13  Glenn Morris  <rgm@gnu.org>
16330         * Makefile.in (ELCFILES): Regenerate.
16332 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
16334         * net/dbus.el (dbus-registered-objects-table): Rename from
16335         `dbus-registered-functions-table', because it contains also properties.
16336         (dbus-unregister-object): Unregister also properties.
16337         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16338         Use a timeout of 500 msec, in order to not block.
16339         (dbus-register-property, dbus-property-handler): New defuns.
16341 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16343         * simple.el (minibuffer-default-add-completions): Drop deprecated
16344         4th arg.
16346 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
16348         * textmodes/artist.el (artist-mouse-choose-operation):
16349         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16350         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16351         (artist-compute-up-event-key): New function.
16352         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16354 2009-11-13  Kenichi Handa  <handa@m17n.org>
16356         * language/japan-util.el: Make sure that the value of jisx0208
16357         property is jisx0208 character.
16359 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
16361         * international/mule.el (auto-coding-regexp-alist): Only purecopy
16362         car or each item, not the whole list.
16364 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16366         * minibuffer.el (minibuffer-completion-help):
16367         Use minibuffer-hide-completions.
16369 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
16371         * dired.el (dired-save-positions, dired-restore-positions): New funs.
16372         (dired-revert): Use them (bug#4880).
16374 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16376         * tooltip.el (tooltip-frame-parameters): Undo previous change.
16378 2009-11-12  Juri Linkov  <juri@jurta.org>
16380         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16381         New functions.
16382         (find-file-literally-at-point): Alias of `ffap-literally'.
16384 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16386         * textmodes/ispell.el (ispell-skip-region-alist):
16387         * textmodes/css-mode.el (auto-mode-alist):
16388         * progmodes/compile.el (auto-mode-alist):
16389         * international/mule.el (ctext-non-standard-encodings-alist)
16390         (ctext-non-standard-encodings-regexp):
16391         * simple.el (shell-command-switch, text-read-only):
16392         * replace.el (occur-mode-map):
16393         * paths.el (rmail-file-name):
16394         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16395         * find-file.el (ff-special-constructs):
16396         * files.el (file-name-handler-alist):
16397         * composite.el: Purecopy strings.
16399         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16401 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16403         * widget.el (define-widget): Purecopy the docstring.
16404         * international/mule-cmds.el (charset): Do not purecopy the
16405         docstring here, define-widget does it.
16407         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16408         * textmodes/bibtex-style.el (auto-mode-alist):
16409         * progmodes/inf-lisp.el (inferior-lisp-prompt):
16410         * progmodes/compile.el (compile-command):
16411         * language/korea-util.el (default-korean-keyboard):
16412         * international/mule-conf.el (file-coding-system-alist):
16413         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16414         * tooltip.el (tooltip-frame-parameters):
16415         * newcomment.el (comment-end, comment-padding):
16416         * dired.el (dired-trivial-filenames):
16417         * comint.el (comint-file-name-prefix): Purecopy initial values.
16419 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
16421         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16422         (tramp-advice-minibuffer-electric-tilde): Unload advices via
16423         `tramp-unload'.
16424         (tramp-advice-make-auto-save-file-name)
16425         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16426         after removing the advice.
16428 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16430         * progmodes/grep.el (grep-regexp-alist):
16431         * international/mule-cmds.el (iso-2022-control-alist):
16432         * emacs-lisp/timer.el (timer-duration-words):
16433         * subr.el (version-separator, version-regexp-alist):
16434         * minibuffer.el (completion-styles-alist):
16435         * faces.el (face-attribute-name-alist, list-faces-sample-text):
16436         Change defvars to defconsts.
16438         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16439         * loadup.el ("international/mule-conf"): Load the byte compiled version.
16440         * international/mule-conf.el: Allow to be byte compiled.
16442         * international/mule.el (define-charset): Purecopy props.
16443         (load-with-code-conversion): Purecopy doc string and file name.
16444         (put-charset-property): Purecopy strings.
16445         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16447         * international/mule-cmds.el (register-input-method): Purecopy arguments.
16448         (define-char-code-property): Correctly purecopy the table.
16450         * international/ccl.el (define-ccl-program): Purecopy the docstring.
16452         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16454         * subr.el (add-hook): Purecopy strings.
16455         (eval-after-load): Purecopy load-history-regexp and the form.
16457         * custom.el (custom-declare-group): Purecopy load-file-name.
16459         * subr.el (menu-bar-separator): New defconst.
16460         * net/eudc.el (eudc-tools-menu):
16461         * international/mule-cmds.el (set-coding-system-map)
16462         (mule-menu-keymap):
16463         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16464         * vc-hooks.el (vc-menu-map):
16465         * replace.el (occur-mode-map):
16466         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16467         (menu-bar-edit-menu, menu-bar-goto-menu)
16468         (menu-bar-custom-menu, menu-bar-showhide-menu)
16469         (menu-bar-options-menu, menu-bar-tools-menu)
16470         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16471         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16472         (menu-bar-help-menu):
16473         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16474         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16476         * term/x-win.el (x-gtk-stock-map):
16477         * progmodes/vera-mode.el (auto-mode-alist):
16478         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16479         (inferior-lisp-program, inferior-lisp-load-command):
16480         * progmodes/hideshow.el (hs-special-modes-alist):
16481         * progmodes/gud.el (same-window-regexps):
16482         * progmodes/grep.el (grep-program, find-program, xargs-program):
16483         * net/telnet.el (same-window-regexps):
16484         * net/rlogin.el (same-window-regexps):
16485         * language/ethiopic.el (font-ccl-encoder-alist):
16486         * vc-sccs.el (vc-sccs-master-templates):
16487         * vc-rcs.el (vc-rcs-master-templates):
16488         * subr.el (cl-assertion-failed):
16489         * simple.el (next-error-overlay-arrow-position):
16490         * lpr.el (lpr-command):
16491         * locate.el (locate-ls-subdir-switches):
16492         * info.el (same-window-regexps, info)
16493         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16494         * image-mode.el (image-mode, auto-mode-alist):
16495         * hippie-exp.el (hippie-expand-ignore-buffers):
16496         * format.el (format-alist):
16497         * find-dired.el (find-ls-subdir-switches, find-grep-options)
16498         (find-name-arg):
16499         * facemenu.el (facemenu-keybindings):
16500         * dired.el (dired-listing-switches, dired-chown-program):
16501         * diff.el (diff-switches, diff-command):
16502         * cus-edit.el (same-window-regexps):
16503         * bindings.el (mode-line-mule-info)
16504         (mode-line-buffer-identification): Purecopy strings.
16506 2009-11-11  Juri Linkov  <juri@jurta.org>
16508         * simple.el (dired-get-filename) <declare-function>:
16509         Tell the byte-compiler about dired-get-filename.
16510         (shell-command): In Dired mode, get filename from the current line
16511         as the default value.
16513 2009-11-10  Glenn Morris  <rgm@gnu.org>
16515         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16516         * calendar/holidays.el, progmodes/cperl-mode.el:
16517         Update x-popup-menu declarations.
16519         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16520         (list-load-path-shadows): Use dolist.
16521         (list-load-path-shadows): Use with-current-buffer.
16523 2009-11-10  Juri Linkov  <juri@jurta.org>
16525         * minibuffer.el (read-file-name): Support a list of default values
16526         in `default-filename'.  Use the first file name where only one
16527         element is required.  Doc fix.
16529 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
16531         * net/dbus.el (dbus-unregister-object): Release service, if no
16532         other method is registered for it.
16534 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
16536         * bookmark.el (bookmark-completing-read): Sort bookmark names if
16537         bookmark-sort-flag is non-nil (Bug#4653).
16539 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16541         * emulation/cua-base.el: Add CUA property to some CC mode commands
16542         (Bug#4100).
16544 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16546         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16547         at end of sentence (Bug#4818).
16549 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
16551         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16552         Handle "see declaration of" MSFT statements (Bug#4100).
16554 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
16556         * net/tramp.el (tramp-advice-make-auto-save-file-name)
16557         (tramp-advice-file-expand-wildcards): Unload via
16558         `ad-remove-advice'.
16560         * net/trampver.el: Update release number.
16562 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16564         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16565         `ad-do-it'.
16567 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
16569         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16570         in order to keep context in SELinux.
16572 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16574         * dired-aux.el (dired-query): Place cursor in echo area and allow
16575         C-g.
16577         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16578         menu item if not on a directory (Bug#4701).
16580 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
16582         Sync with Tramp 2.1.17.
16584         * net/tramp.el (tramp-handle-copy-directory): Don't use
16585         `file-remote-p' (due to compatibility).
16587         * net/tramp-compat.el (tramp-compat-copy-directory)
16588         (tramp-compat-delete-directory): New defuns.
16590         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16591         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16592         Use `tramp-compat-delete-directory'.
16594         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16595         (tramp-smb-handle-delete-directory):
16596         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16598         * net/trampver.el: Update release number.
16600 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
16602         * tar-mode.el (tar-copy): Call write-region on the right buffer
16603         (Bug#4857).
16605         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16606         by hand, if necessary (Bug#4878).
16608 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
16610         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16611         align size column (Bug#4839).
16613         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16614         statement.
16616 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16618         * progmodes/ld-script.el (auto-mode-alist):
16619         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16621         * cus-face.el (custom-declare-face): Purecopy face spec.
16623 2009-11-06  Kenichi Handa  <handa@m17n.org>
16625         * international/uni-bidi.el: Re-generated.
16626         * international/uni-category.el: Re-generated.
16627         * international/uni-combining.el: Re-generated.
16628         * international/uni-mirrored.el: Re-generated.
16630 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16632         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16633         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16634         (tex-start-options, slitex-run-command, latex-run-command)
16635         (tex-run-command, tex-directory):
16636         * textmodes/ispell.el (ispell-html-skip-alists)
16637         (ispell-tex-skip-alists, ispell-tex-skip-alists):
16638         * textmodes/fill.el (adaptive-fill-first-line-regexp):
16639         (adaptive-fill-regexp):
16640         * textmodes/dns-mode.el (auto-mode-alist):
16641         * progmodes/python.el (interpreter-mode-alist):
16642         * progmodes/etags.el (tags-compression-info-list):
16643         * progmodes/etags.el (tags-file-name):
16644         * net/browse-url.el (browse-url-galeon-program)
16645         (browse-url-firefox-program):
16646         * mail/sendmail.el (mail-signature-file)
16647         (mail-citation-prefix-regexp):
16648         * international/mule-conf.el (eight-bit):
16649         * international/latexenc.el (latex-inputenc-coding-alist):
16650         * international/fontset.el (x-pixel-size-width-font-regexp):
16651         * emacs-lisp/warnings.el (warning-type-format):
16652         * emacs-lisp/trace.el (trace-buffer):
16653         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16654         (emacs-lisp-mode-map):
16655         * calendar/holidays.el (holiday-solar-holidays)
16656         (holiday-bahai-holidays, holiday-islamic-holidays)
16657         (holiday-christian-holidays, holiday-hebrew-holidays)
16658         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16659         (hebrew-holidays-1, holiday-oriental-holidays)
16660         (holiday-general-holidays):
16661         * x-dnd.el (x-dnd-known-types):
16662         * tool-bar.el (tool-bar):
16663         * startup.el (site-run-file):
16664         * shell.el (shell-dumb-shell-regexp):
16665         * rfn-eshadow.el (file-name-shadow-tty-properties)
16666         (file-name-shadow-properties):
16667         * paths.el (remote-shell-program, news-directory):
16668         * mouse.el ([C-down-mouse-3]):
16669         * menu-bar.el (menu-bar-tools-menu):
16670         * jka-cmpr-hook.el (jka-compr-load-suffixes)
16671         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16672         (jka-compr-compression-info-list):
16673         * isearch.el (search-whitespace-regexp):
16674         * image-file.el (image-file-name-extensions):
16675         * find-dired.el (find-ls-option):
16676         * files.el (directory-listing-before-filename-regexp)
16677         (directory-free-space-args, insert-directory-program)
16678         (list-directory-brief-switches, magic-fallback-mode-alist)
16679         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16680         (automount-dir-prefix):
16681         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16682         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16683         (face-font-registry-alternatives, face-font-registry-alternatives)
16684         (face-font-family-alternatives):
16685         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16686         (facemenu-foreground-menu, facemenu-face-menu):
16687         * epa-hook.el (epa-file-name-regexp):
16688         * dnd.el (dnd-protocol-alist):
16689         * textmodes/rst.el (auto-mode-alist):
16690         * button.el (default-button): Purecopy strings.
16692 2009-11-06  Glenn Morris  <rgm@gnu.org>
16694         * Makefile.in (ELCFILES): Update.
16696 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16698         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16699         * emacs-lisp/levents.el: Move to obsolete/levents.el.
16701         * nxml/xsd-regexp.el (xsdre-gen-categories):
16702         * nxml/xmltok.el (xmltok-parse-entity):
16703         * nxml/rng-parse.el (rng-parse-validate-file):
16704         * nxml/rng-maint.el (rng-format-manual)
16705         (rng-manual-output-force-new-line):
16706         * nxml/rng-loc.el (rng-save-schema-location-1):
16707         * nxml/rng-cmpct.el (rng-c-parse-file):
16708         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16709         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16711 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
16713         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16714         Remove extra save-excursions and make-variable-buffer-local's.
16715         Suggested by Stefan Monnier.
16717         (verilog-getopt-file, verilog-module-inside-filename-p)
16718         (verilog-set-define): Merge GNU 1.35 and repair changes from
16719         switching to using with-current-buffer.
16721         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16722         being treated as a number and confusing AUTORESET.
16723         Reported by Dan Dever.
16725         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16726         Add verilog-auto-ignore-concat to fix backward compatibility with
16727         older verilog-modes.  Reported by Dan Katz.
16729         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16730         containing closing anchors "...$".
16732         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16733         Reported by Wade Smith.
16735         (verilog-batch-execute-func): Comment on function usage.
16737 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
16739         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16740         for labels.
16742         (verilog-label-re, verilog-calc-1): Support proper indent of named
16743         asserts.
16745         (verilog-backward-token, verilog-basic-complete-re)
16746         (verilog-beg-of-statement, verilog-indent-re): Support proper
16747         indent of the assert statement at the beginning of a block of text.
16749         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16750         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16751         tokens as begins.
16753 2009-11-05  Glenn Morris  <rgm@gnu.org>
16755         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16756         Emacs 19.  (Bug#1531)
16757         (byte-compile-fix-header): Update for the above change.
16758         Drop test for epoch::version.
16760         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16761         * cus-dep.el (custom-make-dependencies):
16762         * finder.el (finder-compile-keywords):
16763         Use autoload-rubric's feature argument.
16765         * calendar/diary-lib.el (top-level): Make load behave more like require.
16767         * vc-git.el (vc-git-stash-map): Move definition before use.
16769 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
16771         * custom.el (custom-declare-group): Purecopy standard-value.
16772         (custom-declare-group): Purecopy custom-prefix.
16774         * international/mule.el (load-with-code-conversion):
16775         Call do-after-load-evaluation unconditionally.
16777         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16779 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16781         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16783 2009-11-04  Glenn Morris  <rgm@gnu.org>
16785         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16786         (byte-compile-compatibility): Remove option.
16787         (byte-compile-close-variables, byte-compile-fix-header)
16788         (byte-compile-insert-header, byte-compile-output-docform)
16789         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16790         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16791         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16792         (byte-compile-insert, byte-compile-defun):
16793         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
16794         (byte-defop-compiler19): Remove.
16795         Without byte-compile-compatibility, the 'emacs19-opcode property is not
16796         used by anything.  Replace all calls with byte-defop-compiler.
16798 2009-11-04  Juri Linkov  <juri@jurta.org>
16800         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16801         (menu-bar-options-menu): Don't quote the `prop' arg of
16802         `menu-bar-make-mm-toggle'.
16804 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
16806         * calendar/calendar.el (cal-loaddefs):
16807         * calendar/diary-lib.el (diary-loaddefs):
16808         * calendar/holidays.el (hol-loaddefs):
16809         * eshell/esh-module.el (esh-groups): Load rather than require.
16811 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16813         * calendar/todo-mode.el (todo-add-category): Don't hardcode
16814         point-min==1.
16815         (todo-top-priorities): Only display-buffer when called interactively.
16816         (todo-item-start): Don't save excursion point.
16817         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
16818         (todo-insert-item-here, todo-file-item, todo-remove-item):
16819         Adjust uses of todo-item-start and todo-item-end.
16821         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16822         (autoload-rubric): Don't use any more.
16824         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16825         and only put a prop if it is non-nil.
16827 2009-11-03  Juri Linkov  <juri@jurta.org>
16829         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16830         (menu-bar-options-menu): Fix list quoting (Bug#4429).
16832         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16833         and "Menu" to make top-level menu item visually one unit (like
16834         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16835         multi-word menu items).  Fix :help string for quit-window.
16837 2009-11-03  Glenn Morris  <rgm@gnu.org>
16839         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16840         (byte-compile-file-form-define-abbrev-table)
16841         (byte-compile-file-form-custom-declare-variable)
16842         (byte-compile-variable-ref, byte-compile-defvar):
16843         Whether or not a warning is enabled should only affect whether we issue
16844         the warning, not whether or not we collect the relevant data.
16845         Eg warnings can be turned on and off throughout the course of a file.
16847         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16848         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16850 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16852         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16853         * play/mpuz.el (mpuz-create-buffer):
16854         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16855         (lm-print-y,s,noise, lm-print-w0, lm-init):
16856         * play/gomoku.el (gomoku-prompt-for-move):
16857         * play/fortune.el (fortune-in-buffer):
16858         * play/dissociate.el (dissociated-press):
16859         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16860         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16861         * mail/supercite.el (sc-eref-show):
16862         * mail/smtpmail.el (smtpmail-send-it):
16863         * mail/rmailsum.el (rmail-summary-next-labeled-message)
16864         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16865         (rmail-summary-undelete-many, rmail-summary-rmail-update)
16866         (rmail-summary-goto-msg, rmail-summary-expunge)
16867         (rmail-summary-get-new-mail, rmail-summary-search-backward)
16868         (rmail-summary-add-label, rmail-summary-output-menu)
16869         (rmail-summary-output-body):
16870         * mail/rfc822.el (rfc822-addresses):
16871         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16872         * mail/mailpost.el (post-mail-send-it):
16873         * mail/hashcash.el (hashcash-generate-payment):
16874         * mail/feedmail.el (feedmail-run-the-queue)
16875         (feedmail-queue-send-edit-prompt-help-first)
16876         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16877         (feedmail-deduce-address-list):
16878         * eshell/esh-ext.el (eshell-remote-command):
16879         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16880         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16881         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16882         (viper-save-string-in-file, viper-valid-marker):
16883         * emulation/viper-keym.el (viper-toggle-key):
16884         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16885         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16886         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16887         * emulation/viper-cmd.el (viper-exec-form-in-vi)
16888         (viper-exec-form-in-emacs, viper-brac-function):
16889         * emulation/viper.el (viper-delocalize-var):
16890         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16891         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16892         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16893         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16894         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16895         * emulation/edt.el (edt-electric-helpify):
16896         * emulation/cua-rect.el (cua--rectangle-aux-replace):
16897         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16898         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16899         (cua-indent-to-global-mark-column):
16900         * calendar/diary-lib.el (calendar-mark-1):
16901         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16902         Use with-current-buffer.
16903         * emulation/viper.el (viper-delocalize-var): Use dolist.
16905 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
16907         * comint.el (comint-replace-by-expanded-history-before-point):
16908         Replace !! with the previous input string literally (Bug#1795).
16910 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
16912         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16913         to be made up of whitespace.
16915 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
16917         * minibuffer.el (read-file-name): Don't use file dialogs for
16918         remote directories (Bug#99).
16920 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
16922         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16924 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16926         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16927         instead of deleting the window or frame.
16929 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16931         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16932         Support face colors.
16934         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16935         New function.  Support face colors (Bug#1168).
16936         (tex-common-initialization): Use it.
16938         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16939         mode allows it (Bug#1168).
16941 2009-10-31  Juri Linkov  <juri@jurta.org>
16943         * facemenu.el (list-colors-display): Don't mark buffer as
16944         modified (Bug#3948).
16946 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16948         * international/mule-diag.el (list-character-sets-1):
16949         Minor message fix (Bug#3526).
16951         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16952         Fix face property (Bug#4834).
16953         (etags-list-tags, etags-tags-apropos-additional)
16954         (etags-tags-apropos, tags-select-tags-table): Add follow-link
16955         property.
16957         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16958         items.
16960 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16962         * textmodes/two-column.el (2C-split):
16963         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16964         * textmodes/tex-mode.el (tex-set-buffer-directory):
16965         * textmodes/spell.el (spell-region, spell-string):
16966         * textmodes/reftex.el (reftex-erase-buffer):
16967         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16968         * textmodes/reftex-toc.el (reftex-toc-promote-action):
16969         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16970         (reftex-select-item):
16971         * textmodes/reftex-ref.el (reftex-label-info-update)
16972         (reftex-offer-label-menu):
16973         * textmodes/reftex-index.el (reftex-index-change-entry)
16974         (reftex-index-phrases-info):
16975         * textmodes/reftex-global.el (reftex-create-tags-file)
16976         (reftex-save-all-document-buffers, reftex-ensure-write-access):
16977         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16978         (reftex-view-crossref-from-bibtex):
16979         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16980         (reftex-extract-bib-entries-from-thebibliography)
16981         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16982         * textmodes/refbib.el (r2b-capitalize-title):
16983         (r2b-convert-buffer, r2b-help):
16984         * textmodes/page-ext.el (pages-directory)
16985         (pages-directory-goto-with-mouse):
16986         * textmodes/bibtex.el (bibtex-validate-globally):
16987         * textmodes/bib-mode.el (bib-capitalize-title):
16988         * textmodes/artist.el (artist-clear-buffer, artist-system):
16989         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16990         (local-set-scheme-interaction-buffer, xscheme-process-filter)
16991         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16992         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16993         (xscheme-send-control-g-interrupt, xscheme-start-process)
16994         (xscheme-process-sentinel, xscheme-cd):
16995         * progmodes/verilog-mode.el (verilog-read-always-signals)
16996         (verilog-set-define, verilog-getopt-file)
16997         (verilog-module-inside-filename-p):
16998         * progmodes/sh-script.el:
16999         * progmodes/python.el (python-pdbtrack-get-source-buffer)
17000         (python-pdbtrack-grub-for-buffer, python-execute-file):
17001         * progmodes/octave-inf.el (inferior-octave):
17002         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17003         (idlwave-shell-compile-helper-routines, idlwave-set-local)
17004         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17005         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17006         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17007         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17008         (idlwave-shell-filter, idlwave-shell-examine-highlight)
17009         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17010         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17011         (idlwave-shell-examine-display, idlwave-shell-run-region)
17012         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17013         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17014         * progmodes/idlw-help.el (idlwave-help-get-special-help)
17015         (idlwave-help-get-help-buffer):
17016         * progmodes/gud.el (gud-basic-call, gud-find-class)
17017         (gud-tooltip-activate-mouse-motions-if-enabled):
17018         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17019         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17020         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17021         (ebrowse-tags-next-file):
17022         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17023         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17024         (ebnf-eps-finish-and-write):
17025         * progmodes/cpp.el (cpp-edit-save):
17026         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17027         * progmodes/cc-defs.el (c-emacs-features):
17028         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17029         (antlr-directory-dependencies):
17030         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17031         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17032         (ada-find-any-references, ada-make-filename-from-adaname)
17033         (ada-make-body-gnatstub):
17034         * obsolete/rnews.el (news-list-news-groups):
17035         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17036         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17037         * net/rcirc.el (rcirc-debug):
17038         * net/newst-treeview.el (newsticker--treeview-list-add-item)
17039         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17040         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17041         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17042         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17043         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17044         (newsticker--treeview-list-clear-highlight)
17045         (newsticker--treeview-list-update-highlight)
17046         (newsticker--treeview-list-highlight-start)
17047         (newsticker--treeview-tree-update-highlight)
17048         (newsticker--treeview-get-selected-item)
17049         (newsticker-treeview-mark-list-items-old)
17050         (newsticker--treeview-set-current-node):
17051         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17052         * net/newst-backend.el (newsticker--get-news-by-funcall)
17053         (newsticker--get-news-by-wget, newsticker--image-get)
17054         (newsticker--image-sentinel):
17055         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17056         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17057         (eudc-ph-close-session):
17058         * net/eudc.el (eudc-save-options):
17059         * language/thai-word.el (thai-update-word-table):
17060         * language/japan-util.el (japanese-string-conversion):
17061         * international/titdic-cnv.el (tsang-quick-converter)
17062         (ziranma-converter, ctlau-converter):
17063         * international/mule-cmds.el (describe-language-environment):
17064         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17065         (skkdic-convert-postfix, skkdic-convert-prefix):
17066         (skkdic-convert-okuri-nasi, skkdic-convert):
17067         * emacs-lisp/re-builder.el (reb-update-overlays):
17068         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17069         * emacs-lisp/gulp.el (gulp-send-requests):
17070         * emacs-lisp/find-gc.el (trace-call-tree):
17071         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17072         (eieio-describe-generic):
17073         * emacs-lisp/eieio-base.el (eieio-persistent-read):
17074         * emacs-lisp/edebug.el (edebug-outside-excursion):
17075         * emacs-lisp/debug.el (debugger-make-xrefs):
17076         * emacs-lisp/cust-print.el (custom-prin1-to-string):
17077         * emacs-lisp/chart.el (chart-new-buffer):
17078         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17079         Use with-current-buffer.
17080         * textmodes/artist.el (artist-system): Don't call
17081         copy-sequence on a fresh string.
17082         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17084 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
17086         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17087         is no item to edit.  (Bug#4820)
17088         (todo-top-priorities): Restore point and restore narrowing in Todo
17089         buffer.  (Bug#4820)
17091 2009-10-31  Glenn Morris  <rgm@gnu.org>
17093         * net/ange-ftp.el (top-level): Don't require dired when compiling.
17094         (comint-last-output-start, comint-last-input-start)
17095         (comint-last-input-end): Don't defvar when compiling.
17096         (ange-ftp-process-file): Use bound-and-true-p.
17098         * pcmpl-rpm.el (top-level): Move provide statement to end.
17099         (pcmpl-rpm): Remove unused custom group.
17101         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17103         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17105         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17106         (byte-compile-warnings): Add `constants' as an option.
17107         (byte-compile-callargs-warn, byte-compile-arglist-warn)
17108         (display-call-tree): Update for byte-compile-fdefinition possibly
17109         returning `(macro lambda ...)'.  (Bug#4778)
17110         (byte-compile-variable-ref, byte-compile-setq-default):
17111         Respect `constants' member of byte-compile-warnings.
17113 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17115         * vc-bzr.el (vc-bzr-revision-keywords): New var.
17116         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17117         to "submit:".
17119 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
17121         * textmodes/ispell.el (ispell-skip-region-alist):
17122         * international/mule-conf.el (eight-bit):
17123         * international/fontset.el (font-encoding-alist):
17124         * startup.el (pure-space-overflow-message):
17125         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17126         * paths.el (gnus-nntp-service, rmail-spool-directory)
17127         (term-file-prefix):
17128         * files.el (save-some-buffers-action-alist):
17129         * cmuscheme.el (same-window-buffer-names):
17130         * ielm.el (same-window-buffer-names):
17131         * shell.el (same-window-buffer-names):
17132         * mail/sendmail.el (same-window-buffer-names):
17133         * progmodes/inf-lisp.el (same-window-buffer-names):
17134         * bindings.el (mode-line-client)
17135         (mode-line-column-line-number-mode-map):
17136         * language/tibetan.el (tibetan-precomposition-rule-regexp)
17137         (tibetan-precomposed-regexp): Purecopy string arguments.
17139 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17141         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17142         (calcDigit-nondigit):
17143         * calc/calc-yank.el (calc-copy-to-buffer):
17144         * calc/calc-units.el (calc-invalidate-units-table):
17145         * calc/calc-trail.el (calc-trail-yank):
17146         * calc/calc-store.el (calc-insert-variables):
17147         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17148         * calc/calc-prog.el (calc-read-parse-table):
17149         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17150         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17151         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17152         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17153         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17154         (calc-graph-name, calc-graph-find-command, calc-graph-view)
17155         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17156         * calc/calc-ext.el (calc-realign):
17157         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17158         (calc-embedded-finish-edit, calc-embedded-make-info)
17159         (calc-embedded-finish-command, calc-embedded-stack-change):
17160         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17162         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17163         shell-dynamic-complete-filename in preference to
17164         comint-dynamic-complete-filename.
17166         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17167         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17168         Don't consider whether the display supports colors.
17169         (bookmark-import-new-list): Use dolist.
17170         (bookmark-bmenu-mode-map): Move initialization into declaration.
17171         (bookmark-bmenu-list): Use dolist, simplify.
17172         (bookmark-show-all-annotations): Use save-selected-window and dolist.
17173         (menu-bar-final-items): Use push.
17175 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
17177         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17178         it works on remote files.
17179         (vc-hg-diff): Don't pass any `--cwd' argument.
17181 2009-10-27  Kevin Ryde  <user42@zip.com.au>
17183         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17184         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17185         (Further to Bug#3921).
17187 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
17189         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17190         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17191         calling `tramp-imap-put-file'.  Add file size to the call.
17192         (tramp-imap-get-file-entries): Compute also user name, file size,
17193         and date.
17194         (tramp-imap-handle-insert-directory): Insert uid and gid.
17195         (tramp-imap-handle-file-attributes): Transform uid and gid
17196         according to `id-format'.
17197         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
17198         size in header X-Size.
17200 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
17202         * simple.el (transpose-subr): Give clearer error when the mark
17203         is not set.  (Bug#4807)
17205 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
17207         * net/tramp.el (tramp-perl-file-truename): New defconst.
17208         Perl code contributed by yary <not.com@gmail.com> (tiny change).
17209         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17210         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17211         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17213         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17214         Ignore `dired-call-process'.
17215         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17217 2009-10-26  Julian Scheid  <julians37@gmail.com>
17219         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17220         (tramp-get-remote-readlink): New defun.
17221         (tramp-handle-file-truename): Use it.
17222         (tramp-handle-file-exists-p): Check file-attributes cache, assume
17223         file exists if cache value present.
17224         (tramp-check-cached-permissions): New defun.
17225         (tramp-handle-file-readable-p): Use it.
17226         (tramp-handle-file-writable-p): Likewise.
17227         (tramp-handle-file-executable-p): Likewise.
17228         (tramp-handle-file-name-all-completions): Try using Perl to get
17229         partial completions.  When perl not available, combine `cd' and
17230         `ls' into single remote operation and use shell expansion to get
17231         partial remote directory contents.  Set `file-exists-p' cache for
17232         directory and any files returned by ls.  Change cache handling to
17233         support partial directory contents.  Use error message emitted by
17234         remote `cd' or Perl code for local tramp-error.
17235         (tramp-do-copy-or-rename-file-directly): Avoid separate
17236         tramp-send-command-and-check call.
17237         (tramp-handle-process-file): Merge three remote ops into one.
17238         Do not flush all caches when `process-file-side-effects' is set.
17239         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17240         file-attributes shows uid/gid to be set already.
17242 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
17244         * textmodes/tex-mode.el (tex-dvi-view-command)
17245         (tex-show-queue-command, tex-open-quote):
17246         * progmodes/ruby-mode.el (auto-mode-alist)
17247         (interpreter-mode-alist): Purecopy strings.
17249         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17251         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17252         string for the hook, keymap and abbrev table.
17254         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17256         * x-dnd.el (x-dnd-xdnd-to-action):
17257         * startup.el (fancy-startup-text, fancy-about-text): Change to
17258         defconst from defvar.
17260         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17262         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17263         Purecopy initialization strings.
17265         * mail/sendmail.el (mail-header-separator)
17266         (mail-personal-alias-file):
17267         * mail/rmail.el (rmail-default-dont-reply-to-names)
17268         (rmail-ignored-headers, rmail-retry-ignored-headers)
17269         (rmail-highlighted-headers, rmail-secondary-file-directory)
17270         (rmail-secondary-file-regexp):
17271         * files.el (null-device, file-name-invalid-regexp)
17272         (locate-dominating-stop-dir-regexp)
17273         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17274         (interpreter-mode-alist): Use mapcar instead of mapc.
17276         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17278         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17279         (completion-ignored-extensions):
17280         (debug-ignored-errors): Purecopy strings.
17282 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17284         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17285         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17286         (pcomplete--here): Use push.
17288         * subr.el (all-completions): Declare the 4th arg obsolete.
17290 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17292         * pcomplete.el (pcomplete-unquote-argument-function): New var.
17293         (pcomplete-unquote-argument): New function.
17294         (pcomplete--common-suffix): Always pay attention to case.
17295         (pcomplete--table-subvert): Quote and unquote the text.
17296         (pcomplete--common-quoted-suffix): New function.
17297         (pcomplete-std-complete): Use it and pcomplete-begin.
17299         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17300         we're inside a dedicated or minibuffer window.
17302 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
17304         * bookmark.el: Update documentation, especially documentation
17305         of `bookmark-alist' and of the bookmark file format.
17306         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
17308 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
17310         * mail/emacsbug.el (report-emacs-bug): Clarify that the
17311         keybindings apply to the mail buffer (Bug#4003).  Shrink help
17312         window to buffer.
17314         * whitespace.el (whitespace-mode, whitespace-newline-mode)
17315         (global-whitespace-mode, global-whitespace-newline-mode)
17316         (whitespace-toggle-options, global-whitespace-toggle-options):
17317         Doc fix (Bug#3660).
17319         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17320         of xmltok-start before the end tag was inserted (Bug#2840).
17322         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17323         patterns that are preceded by an open-paren (Bug#1320).
17325 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
17327         * files.el (delete-directory): Delete symlinks to directories with
17328         delete-file (Bug#4739).
17330 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
17332         * vc.el (vc-backend-for-registration): Rename from
17333         vc-get-backend-for-registration.  Update callers.
17335         * international/mule-cmds.el (set-language-info-alist):
17336         Purecopy lang-env.
17337         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17338         (charset): Purecopy the name.
17339         (define-char-code-property): Purecopy string arguments.
17341         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17342         Purecopy string arguments.
17344         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17345         * ediff-hook.el (menu-bar-ediff-menu):
17346         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17347         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17349 2009-10-24  Glenn Morris  <rgm@gnu.org>
17351         * comint.el (comint-dynamic-list-completions):
17352         * term.el (term-dynamic-list-completions): Use choose-completion rather
17353         than obsolete alias mouse-choose-completion.
17355         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17356         file-cache-choose-completion.
17357         (file-cache-choose-completion): Handle an optional event argument.
17358         (file-cache-mouse-choose-completion): Make it an obsolete alias.
17360         * progmodes/octave-mod.el (octave-complete-symbol):
17361         Use choose-completion if mouse-choose-completion is ever removed.
17363         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17364         use.
17366         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17367         compiler.
17369         * vc-hooks.el (vc-responsible-backend): Fix declaration.
17371 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17373         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17374         Ignore `pred' now that we receive one.
17375         Handle test-completion specially.
17377 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17379         * vc.el (vc-responsible-backend): Throw an error if not backend is
17380         found.  Remove the REGISTER argument.  Move the code dealing with
17381         REGISTER ...
17382         (vc-get-backend-for-registration): ... here.  New function.
17383         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17384         of vc-responsible-backend, pass the file name instead of the
17385         directory name.
17387 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17389         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17390         New funs.
17391         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
17392         (pcomplete-comint-setup): Don't modify a global var via
17393         accidental side-effects.
17394         (pcomplete-shell-setup): Adjust call accordingly.
17395         (pcomplete-parse-comint-arguments): Use push.
17397 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
17399         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17400         Allow uncapitalized info node names (Bug#3921).
17402         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17403         to the DEBUG file (Bug#3781).
17405 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
17407         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17408         dictionary entry (Bug#4579).
17410 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
17412         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17413         from `rfn-eshadow-update-overlay-hook' when unloading.
17414         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17415         "rsyncc".  Adjust doc string.
17416         (tramp-temp-buffer-file-name): New buffer-local defvar.
17417         (tramp-handle-insert-file-contents, tramp-handle-write-region):
17418         Keep temporary file when indicated by method ("rsync" and
17419         "rsyncc").
17420         (tramp-handle-write-region): Handle APPEND.
17421         (tramp-delete-temp-file-function): New defun.  Added to
17422         `kill-buffer-hook'.
17424 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
17426         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17428 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17430         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17431         (color-name-rgb-alist, tty-standard-colors)
17432         (tty-color-mode-alist): Change to defconst.
17434         * simple.el (mark-inactive): Purecopy message.
17436         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17437         (global-map, yank-menu):
17438         * textmodes/ispell.el (ispell-menu-map):
17439         * net/eudc.el (eudc-tools-menu):
17440         * international/mule-cmds.el (describe-language-environment-map)
17441         (setup-language-environment-map, set-coding-system-map)
17442         (mule-menu-keymap):
17443         * vc-hooks.el (vc-menu-entry, vc-menu-map):
17444         * replace.el (occur-mode-map):
17445         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17447 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
17449         * calc/calc.el (math-read-number, math-read-number-simple):
17450         Use `save-match-data'.
17452 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17454         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17455         rather than fiddling with global-map bindings, since it should only
17456         affect per-terminal settings.
17457         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17459         * minibuffer.el (completion-table-with-terminator): Allow to specify
17460         the terminator-regexp.
17462         * simple.el (switch-to-completions): Look for *Completions* in other
17463         frames as well.
17465         * pcomplete.el: Allow the use of completion-tables.
17466         (pcomplete-std-complete): New command.
17467         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17468         (pcomplete--here): Use a function for `form' rather than an expression,
17469         so it can be byte-compiled.
17470         (pcomplete-here, pcomplete-here*): Adjust accordingly.
17471         Add edebug declaration.
17472         (pcomplete-show-completions): Remove unused var `curbuf'.
17473         (pcomplete-do-complete, pcomplete-stub):
17474         Don't assume `completions' is a list of strings any more.
17476 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
17478         * find-dired.el (find-name-arg): Fix typo in docstring.
17480 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17482         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17483         (pcmpl-linux-fs-types): Same, and update to new modules layout.
17485         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17486         pcomplete-entries.
17488         * comint.el (comint-read-input-ring, comint-write-input-ring)
17489         (comint-substitute-in-file-name)
17490         (comint-dynamic-complete-as-filename)
17491         (comint-dynamic-simple-complete)
17492         (comint-dynamic-list-filename-completions)
17493         (comint-dynamic-list-completions)
17494         (comint-redirect-results-list-from-process): Minor simplifications.
17496 2009-10-21  Kevin Ryde  <user42@zip.com.au>
17498         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17499         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17500         the first form.  And insert a blank line after ";;; Code" since
17501         that's usual style.  (Bug#4612)
17503         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17505 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17507         * minibuffer.el (completion-table-with-terminator): Properly implement
17508         boundaries, in case `terminator' appears in the suffix.
17509         (completion--embedded-envvar-table): Don't return boundaries if
17510         there's no valid completion.  Simplify.
17511         (completion-file-name-table): New completion table extracted from
17512         completion--file-name-table.
17513         (completion--file-name-table): Use it.
17514         (read-file-name-predicate): Declare obsolete.
17515         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17516         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17517         completion-file-name-table, and use the `pred' argument.
17518         * files.el (locate-file-completion-table): Use the `pred' arg rather
17519         than read-file-name-predicate.
17520         (abbreviate-file-name): Use \` rather than ^ for BOS.
17522 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
17524         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17525         vc-responsible-backend to register, it causes problems.
17527 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17529         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17531 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
17533         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17534         (tramp-smb-handle-file-attributes): Use it.
17535         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17536         (tramp-smb-handle-insert-directory): Use `mapc' rather than
17537         `mapcar'.  Use `tramp-smb-get-stat-capability'.
17538         Add `dired-filename' text properties.
17539         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17540         (tramp-smb-maybe-open-connection): Simplify check for smbclient
17541         version.
17543 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17545         * subr.el (read-key-delay): Reduce to 0.01.
17546         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17547         (bug#4751).
17549 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17551         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17553         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17554         (Info-menu): Remove unused vars `last' and `completions'.
17555         (Info-index-nodes): Remove unused var `node'.
17557         * info.el (Info-complete-menu-item): Use complete-with-action.
17559 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
17561         Make vc-annotate work through copies and renames.
17562         * vc-annotate.el (vc-annotate-extract-revision-at-line):
17563         Return the file name too.
17564         (vc-annotate-revision-at-line)
17565         (vc-annotate-find-revision-at-line)
17566         (vc-annotate-revision-previous-to-line)
17567         (vc-annotate-show-log-revision-at-line): Update to get the file
17568         name from vc-annotate-extract-revision-at-line.
17569         (vc-annotate-show-diff-revision-at-line-internal): Change the
17570         argument to mean whether to show a file diff or not.  Get the file
17571         name from vc-annotate-extract-revision-at-line.
17572         (vc-annotate-show-diff-revision-at-line):
17573         Update vc-annotate-show-diff-revision-at-line call.
17574         (vc-annotate-warp-revision): Add an optional file argument.
17576         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17577         (vc-git-annotate-extract-revision-at-line): Also return the file
17578         name if found.
17580         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17581         command.  Remove unused code.
17582         (vc-hg-annotate-re): Update to match --follow output.
17583         (vc-hg-annotate-extract-revision-at-line): Also return the file
17584         name if found.
17586         * vc.el: Update annotate-extract-revision-at-line documentation.
17588 2009-10-18  Kevin Ryde  <user42@zip.com.au>
17590         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17591         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17593         * net/browse-url.el (browse-url): Identify alist with "consp and
17594         not functionp" and let all other things go down the `apply' leg,
17595         as suggested by Stefan.  (Further to bug#4531.)
17597 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
17599         * minibuffer.el (read-file-name): Check for repeat before putting
17600         a default argument in file-name-history (Bug#4657).
17602         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17603         read syntax (Bug#4737).
17605         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17607 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
17609         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17610         (html-tag-alist, html-tag-help): Add descriptions for undocumented
17611         entries and make note of obsolete tags.
17613 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17615         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17617 2009-10-18  Glenn Morris  <rgm@gnu.org>
17619         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17620         grep, so that binary files (eg international/uni-bidi.el) can match.
17621         Remove test for "UnicodeData" files, since it is hopefully unnecessary
17622         now, and in any case the file header format has changed.
17624 2009-10-17  Glenn Morris  <rgm@gnu.org>
17626         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17627         (flyspell-get-word, flyspell-large-region)
17628         (flyspell-auto-correct-previous-word): Doc/error message fixes.
17630 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
17632         * Makefile.in (ELCFILES): Add ede/shell.
17634 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
17636         * term/common-win.el (x-colors): Purecopy it.
17638 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17640         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17641         permissive for when the buffer is empty.
17642         (tar-header-block-tokenize): Decode the username and groupname.
17643         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17645 2009-10-17  Eric Ludlam  <zappo@gnu.org>
17647         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17648         contains multibyte characters, choose first applicable coding
17649         system automatically.
17651 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17653         * international/mule-cmds.el (select-safe-coding-system): If the file
17654         has a coding cookie, use it regardless of any other setting (bug#4712).
17656 2009-10-17  Glenn Morris  <rgm@gnu.org>
17658         * foldout.el (foldout-mouse-swallow-events):
17659         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17661         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17662         (dired-keep-marker-copy, dired-keep-marker-hardlink)
17663         (dired-keep-marker-symlink, dired-dwim-target)
17664         (dired-copy-preserve-time): Do not autoload these defcustoms.
17666         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17667         messages from messing up the file coding.  (Bug#4623)
17669 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
17671         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17672         if no match is found for the current dictionary.  (Bug#4578)
17674         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17675         optional, since that is how it is documented, and this is often called
17676         with a nil argument.  (Bug#4577)
17677         (flyspell-external-point-words, flyspell-auto-correct-word)
17678         (flyspell-correct-word-before-point, flyspell-word-search-forward)
17679         (flyspell-word-search-backward): Remove nil argument in calls to
17680         flyspell-get-word, since it is not needed now.
17682 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
17684         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
17686 2009-10-16  Glenn Morris  <rgm@gnu.org>
17688         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17690 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
17692         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17693         (ange-ftp-file-size): New function.
17694         (ange-ftp-file-attributes): Use it.
17696 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
17698         * net/tramp-smb.el (tramp-smb-version): New defvar.
17699         (tramp-smb-maybe-open-connection): Use it, in order to avoid
17700         repeated checks.
17702 2009-10-16  Glenn Morris  <rgm@gnu.org>
17704         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17705         Maybe copy some custom properties from old to new name.  (Bug#4706)
17707 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
17709         * subr.el (error, sit-for, start-process-shell-command)
17710         (start-file-process-shell-command): Set the calling convention
17711         after the function definition.
17713 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17715         * subr.el (error, sit-for, start-process-shell-command)
17716         (start-file-process-shell-command): Use the new
17717         set-advertised-calling-convention feature.
17719 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
17721         * international/ucs-normalize.el (ucs-normalize-version):
17722         Change to 1.2.
17723         (check-range): Adjust for Unicode 5.2.
17725 2009-10-15  Juri Linkov  <juri@jurta.org>
17727         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17728         to the `menu-item' format.
17730 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
17732         * net/tramp.el (tramp-replace-environment-variables): Do not fail
17733         if the environment variable does not exist.
17735         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17736         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17737         parameter.
17738         (tramp-smb-handle-add-name-to-file)
17739         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17740         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17741         (tramp-smb-handle-file-attributes)
17742         (tramp-smb-do-file-attributes-with-stat)
17743         (tramp-smb-handle-file-local-copy)
17744         (tramp-smb-handle-insert-directory)
17745         (tramp-smb-handle-make-directory)
17746         (tramp-smb-handle-make-directory-internal)
17747         (tramp-smb-handle-make-symbolic-link)
17748         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17749         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17750         (tramp-smb-maybe-open-connection): Apply the changed parameters.
17751         (tramp-smb-read-file-entry): Read Disk names in compressed format.
17752         Handle long file names.
17753         (tramp-smb-get-cifs-capabilities): Check, whether the connection
17754         process is running.
17755         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17756         Read share names with "-g" option.
17758 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
17760         * net/rcirc.el (rcirc-view-log-file): New command.
17761         (rcirc-track-minor-mode-map): Remove C-c ` binding.
17762         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17763         specified.
17765 2009-10-15  Glenn Morris  <rgm@gnu.org>
17767         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17768         from the second command-line argument.
17769         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17770         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17771         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17772         w32-batch-update-autoloads.
17773         * emacs-lisp/autoload.el (autoload-make-program): New variable.
17774         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17776         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17777         the headers cannot be located.  Simplify, subtracting superflous
17778         save-excursions.
17780 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17782         Replace completion-base-size by completion-base-position to fix bugs
17783         such as (bug#4699).
17784         * simple.el (completion-base-position): New var.
17785         (completion-base-size): Mark as obsolete.
17786         (choose-completion): Make it work for mouse events as well.
17787         Pass the new base-position to choose-completion-string.
17788         (choose-completion-guess-base-position): New function, extracted from
17789         choose-completion-delete-max-match.
17790         (choose-completion-delete-max-match): Use it.  Make obsolete.
17791         (choose-completion-string): Use the new base-position info.
17792         (completion-root-regexp): Delete.
17793         (completion-setup-function): Preserve completion-base-position.
17794         Eliminate obsolete base-size manipulation.
17795         * minibuffer.el (display-completion-list): Don't mess with base-size.
17796         (minibuffer-completion-help): Set completion-base-position instead.
17797         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17798         choose-completion.
17799         * textmodes/bibtex.el (bibtex-complete):
17800         * emacs-lisp/crm.el (crm--choose-completion-string):
17801         Adjust to new calling convention.
17802         * complete.el (partial-completion-mode): Use minibufferp to avoid
17803         bumping into incompatible change to choose-completion-string-functions.
17804         * ido.el (ido-choose-completion-string): Make its calling convention
17805         more permissive.
17806         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17807         base-size manipulation.
17808         (comint-dynamic-list-input-ring): Use dotimes and push.
17809         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17810         fundamental-mode.  Use `or'.
17812 2009-10-14  Juri Linkov  <juri@jurta.org>
17814         * misearch.el (multi-isearch-next-buffer-from-list)
17815         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
17817 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17819         * Makefile.in (compile-onefile): Load `bytecomp' rather than
17820         `bytecomp.el'.
17822         * minibuffer.el (completion-pcm--merge-completions): Make sure the
17823         string we return is all made up of text from the completions rather
17824         than part from the completions and part from the input (bug#4219).
17826         * ido.el (ido-everywhere): Use define-minor-mode.
17828         * buff-menu.el (list-buffers, ctl-x-map):
17829         Mark the entry points with ;;;###autoload cookies.
17831 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
17833         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17834         correctly in the detached head case.
17835         (vc-git-print-log): Remove unused binding.
17837         * vc.el (vc-responsible-backend): When a directory is passed for
17838         for registration create a VC repository if no backend is
17839         responsible for the directory argument.
17840         (vc-deduce-fileset): Tell vc-responsible-backend to register.
17842         * vc.el: Move comments about RCS and SCCS ...
17843         * vc-rcs.el:
17844         * vc-sccs.el: ... here, respectively.
17846 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17848         * minibuffer.el (completion--file-name-table): Return nil if there's
17849         no file completion, even if substitute-in-file-name changed
17850         the string (bug#4708).
17852 2009-10-13  Juri Linkov  <juri@jurta.org>
17854         * files-x.el (read-file-local-variable-value): Don't filter out
17855         minor modes from mode name completion (bug#4664).
17857 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17859         * international/mule-cmds.el (ucs-names): Remove exclusion of
17860         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17862 2009-10-13  Kenichi Handa  <handa@m17n.org>
17864         * international/uni-name.el: Regenerated.
17866 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17868         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
17869         should be automatically buffer-local, but isn't.)
17871 2009-10-12  Sam Steingold  <sds@gnu.org>
17873         * progmodes/compile.el (compilation-next-error-function): Fix the
17874         timestamps if the buffer has been visited before.
17875         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17876         non-anchored patterns, like the perl one (bug#3928).
17878 2009-10-12  Glenn Morris  <rgm@gnu.org>
17880         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17881         Let-bind `size'.
17883 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
17885         * proced.el (proced-unload-function): New function.
17887         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17888         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17889         Doc fix.
17891         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17893 2009-10-11  Juri Linkov  <juri@jurta.org>
17895         * files-x.el (read-file-local-variable-value):
17896         Provide default value only for bound variables (bug#4664).
17898 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
17900         * net/tramp.el (tramp-local-host-p): Function shall return nil for
17901         connection methods like smb.
17903         * net/tramp-cache.el (tramp-flush-connection-property): The hash
17904         can be empty.
17906         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17907         (tramp-smb-file-name-handler-alist): Add handlers for
17908         `add-name-to-file', `make-symbolic-link'.
17909         (tramp-smb-handle-add-name-to-file)
17910         (tramp-smb-do-file-attributes-with-stat)
17911         (tramp-smb-handle-make-symbolic-link)
17912         (tramp-smb-get-cifs-capabilities): New defuns.
17913         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17914         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17915         (tramp-smb-handle-file-local-copy)
17916         (tramp-smb-handle-make-directory-internal)
17917         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17918         The file name syntax depends on cifs capabilities.
17919         (tramp-smb-handle-file-attributes):
17920         Call `tramp-smb-do-file-attributes-with-stat' if possible.
17921         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17922         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17924 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
17926         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17927         (eieio-defclass): Apply deftype handler and setf-method properties
17928         directly.
17929         (eieio-add-new-slot): Avoid union function from cl library.
17930         (eieio--typep): New function.
17931         (eieio-perform-slot-validation): Use it.
17933 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17935         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17936         Update documentation to refer to the variables documented in r1.135.
17937         (Bug#4188)
17939 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17941         * bookmark.el (Info-suffix-list): Remove this unused variable.
17942         (bookmark-current-point): Remove this obsolete variable.
17943         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17944         Adjust for removal of bookmark-current-point.
17946         (bookmarks-already-loaded, bookmark-current-buffer)
17947         (bookmark-yank-point): Document.  (Bug#4188)
17949 2009-10-10  Glenn Morris  <rgm@gnu.org>
17951         * frame.el (frame-height): Doc fix.
17953         * calendar/calendar.el (calendar-split-width-threshold): New option.
17954         (calendar-basic-setup): Use calendar-split-width-threshold.
17956 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
17958         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17959         Ideographic Supplement" range (U+1F200..U+1F2FF).
17961 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17963         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17964         since the list will have been rebuilt anyway.  (Bug#4349)
17966 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17968         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17969         (bookmark-bmenu-execute-deletions): Don't save here, as
17970         bookmark-delete will now do so if necessary.
17971         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17972         (Bug#4348)
17974 2009-10-09  Glenn Morris  <rgm@gnu.org>
17976         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17978 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17980         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17981         (bookmark-jump-other-window): Just invoke bookmark-jump with new
17982         argument now, so the two function's behaviors will match.  (Bug#3645)
17984 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
17986         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17987         (tramp-file-name-real-host, tramp-file-name-port):
17988         Apply `save-match-data'.
17990         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17991         case both directories are remote.
17992         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17993         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17995 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17997         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17999 2009-10-07  Glenn Morris  <rgm@gnu.org>
18001         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18002         of concat.
18004 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18006         * files-x.el (read-file-local-variable): Include some
18007         non-user-variables in the completion table (bug#4664).
18009 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
18011         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18012         message.
18014         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18015         (tramp-smb-file-name-handler-alist): Add handler for
18016         `copy-directory', `expand-file-name', `set-file-modes'.
18017         (tramp-smb-handle-copy-directory)
18018         (tramp-smb-handle-expand-file-name)
18019         (tramp-smb-handle-set-file-modes): New defuns.
18020         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18021         (tramp-smb-handle-file-attributes): Simplify check for retrieving
18022         entry.
18023         (tramp-smb-handle-insert-directory): Don't flush the cache.
18024         (tramp-smb-maybe-open-connection): Check for samba client and
18025         server versions.
18027 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
18029         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18030         to not error out of search for "^lisp=" fails.
18032 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
18034         * makefile.w32-in (WINS_UPDATES): New macro.
18035         (custom-deps, finder-data, autoloads): Use it.
18037 2009-10-07  Glenn Morris  <rgm@gnu.org>
18039         * Makefile.in (autoloads): Revert previous change.
18040         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18041         the list of preloaded files passed on the command-line, get
18042         it from src/Makefile.
18044         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18045         show the original buffer rather than a random one.
18047 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
18049         * help.el (describe-no-warranty): Place point in a slightly better
18050         position in the GPLv3 text.
18052 2009-10-06  Sam Steingold  <sds@gnu.org>
18054         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18055         the comm attribute is present before calling regexp-quote.
18057 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
18059         * play/animate.el (animate-string): For good effect, make sure
18060         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18062         * play/animate.el (animate-sequence, animate-birthday-present):
18063         * misc.el (butterfly): Don't set `indent-tabs-mode'.
18065 2009-10-06  Glenn Morris  <rgm@gnu.org>
18067         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18069         * emacs-lisp/autoload.el (autoload-excludes): New variable.
18070         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18071         (batch-update-autoloads): Process a string value of autoload-excludes,
18072         set during the build process.
18073         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
18075         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18076         inside with-parsed...  macro so that `v' is defined.
18078         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18079         * progmodes/fortran.el (fortran-end-of-block)
18080         (fortran-beginning-of-block):
18081         Also push mark in the macro case.
18083         * emerge.el (emerge-show-file-name):
18084         * calc/calc.el (calc-quit):
18085         * calc/calc-misc.el (calc-big-or-small):
18086         * calc/calc-graph.el (calc-graph-view):
18087         * calc/calc-ext.el (calc-reset):
18088         * calendar/calendar.el (calendar-basic-setup):
18089         Use window-full-height-p.
18091         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18092         header we don't understand, don't insert another.  (Bug#4624)
18093         If changing mime charset, insert the new one in the right place.
18095 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
18097         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18098         (cal-tex-cursor-month): Correctly increment the end date for diary and
18099         holiday listing.  (Bug#4626)
18101 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18103         * help-fns.el (describe-function-1): Don't burp if the function is not
18104         a symbol.
18106 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
18108         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18109         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18110         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18111         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18113         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18114         (eieio-default-superclass): Reflow docstrings.
18115         (this, class-option-assoc, defclass, eieio-class-un-autoload)
18116         (eieio-unbind-method-implementations, defmethod)
18117         (eieio-validate-slot-value, eieio-validate-class-slot-value)
18118         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18119         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18120         (eieio-slot-originating-class-p, eieio-slot-name-index)
18121         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18122         (constructor, initialize-instance, no-next-method, object-print)
18123         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18124         Fix typos in docstrings.
18125         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18126         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18127         (next-method-p): Doc fixes.
18128         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18129         Fix typos in error messages.
18130         (eieio-defmethod): Fix typo in description of generic method.
18132         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18133         (eieio-persistent-save-interactive, slot-missing):
18134         Fix typos in docstrings.
18135         (eieio-instance-inheritor-slot-boundp): Doc fix.
18137         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18138         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18140         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18141         (eieio-custom-object-apply-reset):
18142         Fix typos in docstrings and error messages.
18144         * emacs-lisp/eieio-datadebug.el (data-debug-show):
18145         Fix typo in docstring.
18147         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18148         (eieio-browse-tree): Doc fix.
18149         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18150         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18151         Fix typos in docstrings.
18153         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18154         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18155         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18156         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18157         Reflow docstrings.
18159 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
18161         * vc-hg.el (log-view-vc-backend): Declare for compiler.
18162         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18163         Set log-view-vc-backend so that diff can work.
18165         * log-view.el (log-view-diff): Use vc-diff-internal instead of
18166         vc-version-diff.
18167         (vc-diff-internal): Autoload this instead of vc-version-diff.
18169 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
18171         * simple.el (eval-expression): Doc fix.
18173         * progmodes/cwarn.el (cwarn-mode): Doc fix.
18175 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
18177         * files.el (directory-files-no-dot-files-regexp): New defconst.
18178         (delete-directory): Use it.
18179         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
18181         * net/tramp.el (tramp-verbose): Fix docstring.
18182         (tramp-methods): Add recursive option to `tramp-copy-args'.
18183         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
18184         "scp1_old", "scp2_old", "rsync", "rsyncc".
18185         (tramp-default-method): Check also for `auth-source-user-or-password'.
18186         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18187         Add handler for `copy-directory'.
18188         (tramp-handle-copy-directory): New defun.
18189         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18190         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18191         Optimize sent command.
18193 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18195         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18196         window if necessary.
18198         * calendar/calendar.el (calendar-basic-setup): Don't call
18199         switch-to-buffer in a dedicated window.
18201 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
18203         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18204         don't do anything related to relocating, just return nil.
18205         (bookmark-error-no-filename): New error.
18206         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18207         bookmark has no file.  Don't even attempt to handle things that
18208         are not files; the whole point of custom handlers is to keep that
18209         knowledge elsewhere anyway.  Tighten some comments.
18210         (bookmark-file-or-variation-thereof): Remove now-unused function.
18211         (bookmark-location): Doc string fix.
18212         (Bug#4250)
18214 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18216         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18217         don't use a file dialog, because they usually don't know how to read
18218         a directory target from the user.  (Bug#4230)
18219         Also, make sure the prompt can display directories as well as files.
18221 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18223         * bookmark.el (bookmark-set, bookmark-buffer-name):
18224         Improve doc strings.  (Bug#1193)
18226 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18228         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18229         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18230         (bookmark-get-annotation, bookmark-set-annotation)
18231         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18232         (bookmark-set-position, bookmark-get-front-context-string)
18233         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18234         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18235         (bookmark-jump-other-window, bookmark-handle-bookmark)
18236         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18237         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18238         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18239         Improve doc strings to say whether bookmark can be a string or
18240         a record or both, and make other consistency and clarity fixes.
18241         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18242         (bookmark-default-annotation-text, bookmark-yank-word)
18243         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18244         (bookmark-import-new-list, bookmark-maybe-rename)
18245         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18246         (bookmark-bmenu-bookmark): Give these doc strings.
18247         (bookmark-bmenu-check-position): Give this a doc string, but also
18248         add a FIXME comment about how the function may be pointless.
18249         (bookmark-default-handler): Rework doc string and change a
18250         parameter name, to clarify that this takes a bookmark record
18251         not a bookmark name.
18252         (bookmark-set): Change a parameter name to indicate its meaning,
18253         and improve the doc string a bit.
18254         (Bug#4188)
18256 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18258         * bookmark.el (bookmark-alist): Document the new `handler' element
18259         in the param alist.
18260         (bookmark-make-record-function): Adjust documentation for above.
18261         (Bug#4193)
18263 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18265         * info.el (Info-bookmark-make-record): Document this function.
18266         (Info-bookmark-jump): Document with a doc string, not just a comment.
18267         (Bug#4203)
18269 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
18271         * files.el (copy-directory): New defun.
18273         * dired-aux.el (dired-copy-file-recursive): Use it.
18275 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
18277         * files-x.el (modify-dir-local-variable)
18278         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18279         docstrings.
18281         * recentf.el (recentf-unload-function): New function.
18283 2009-10-04  Glenn Morris  <rgm@gnu.org>
18285         * window.el (window-full-height-p): Add doc string.
18287 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
18289         * window.el (window-full-height-p): New function.  (Bug#4543)
18291 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
18293         * vc.el: Remove commented out code.
18294         (vc-derived-from-dir-mode): Remove, unused.
18295         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18297 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
18299         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18300         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
18301         there could be recursive loading when `default-directory' is a
18302         remote file name.  (Bug#4614)
18304 2009-10-03  Glenn Morris  <rgm@gnu.org>
18306         * calendar/calendar.el (calendar-basic-setup): Handle the case where
18307         the frame is wide.
18308         (calendar-generate-window): Test for shrinkability rather than width.
18310         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18311         reusing existing buffers, in case we happen to visit two files with the
18312         same basename.  (Bug#4593)
18314 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18316         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18317         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18318         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18319         subdirs of cedet as well.
18320         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18322 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18324         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18325         Obey advertised-signature-table.
18327         * help-fns.el (help-function-arglist): Don't check
18328         advertised-signature-table.
18329         (describe-function-1): Do it here instead so it also applies to subrs.
18331 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
18333         * simple.el (start-file-process): Say in the doc-string, that file
18334         handlers might not support pty association, if PROGRAM is nil.
18336         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18337         HOST and USER are strings.  They are nil, when there are
18338         incomplete entries in ~/.netrc, for example.
18339         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
18340         root directory ("device busy" error otherwise).
18342         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18343         Flush file properties of created directory.
18345 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18347         * makefile.w32-in (WINS_BASIC): Remove cedet.
18348         (WINS_CEDET): Add cedet.
18349         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18351 2009-10-02  Kevin Ryde  <user42@zip.com.au>
18353         * net/browse-url.el (browse-url): Pass any symbol in
18354         browse-url-browser-function to `apply', since if you've mistakenly put
18355         an unbound symbol then the error is clearer.  (Bug#4531)
18357 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18359         * allout.el (allout-init, allout-back-to-current-heading)
18360         (allout-beginning-of-current-entry, allout-ascend-to-depth)
18361         (allout-ascend, allout-up-current-level, allout-end-of-level)
18362         (allout-previous-visible-heading, allout-forward-current-level)
18363         (allout-backward-current-level, allout-show-children):
18364         * apropos.el (apropos-describe-plist):
18365         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18366         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18367         * completion.el (add-completion, add-permanent-completion):
18368         * descr-text.el (describe-text-category, describe-char):
18369         * desktop.el (desktop-lazy-abort):
18370         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18371         * dired.el (dired-build-subdir-alist):
18372         * ediff.el (ediff-version):
18373         * elide-head.el (elide-head, elide-head-show):
18374         * emerge.el (emerge-version):
18375         * env.el (getenv):
18376         * face-remap.el (variable-pitch-mode):
18377         * faces.el (describe-face):
18378         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18379         (dired-at-point):
18380         * files.el (find-file-existing, auto-save-mode):
18381         * font-lock.el (font-lock-fontify-buffer):
18382         * help-fns.el (describe-function, describe-variable)
18383         (describe-syntax, describe-categories):
18384         * help.el (view-lossage, describe-bindings, describe-key)
18385         (describe-mode):
18386         * hexl.el (hexl-current-address):
18387         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18388         * info.el (Info-goto-emacs-key-command-node):
18389         * log-edit.el (log-edit-insert-cvs-template)
18390         (log-edit-insert-cvs-rcstemplate):
18391         * menu-bar.el (menu-bar-mode):
18392         * mouse.el (mouse-appearance-menu):
18393         * newcomment.el (comment-indent-new-line):
18394         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18395         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18396         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18397         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18398         * recentf.el (recentf-mode):
18399         * savehist.el (savehist-mode, savehist-save):
18400         * shadowfile.el (shadow-copy-files):
18401         * simple.el (kill-ring-save, next-line, previous-line)
18402         (normal-erase-is-backspace-mode):
18403         * strokes.el (strokes-update-window-configuration)
18404         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18405         (strokes-xpm-for-stroke):
18406         * time.el (emacs-uptime, emacs-init-time):
18407         * tutorial.el (tutorial--describe-nonstandard-key)
18408         (tutorial--detailed-help):
18409         * type-break.el (type-break-mode)
18410         (type-break-mode-line-message-mode, type-break-query-mode)
18411         (type-break-guesstimate-keystroke-threshold):
18412         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18413         * version.el (emacs-version):
18414         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18415         * winner.el (winner-mode):
18416         * calendar/timeclock.el (timeclock-in, timeclock-out)
18417         (timeclock-status-string, timeclock-change)
18418         (timeclock-workday-remaining-string)
18419         (timeclock-workday-elapsed-string)
18420         (timeclock-when-to-leave-string):
18421         * calendar/todo-mode.el (todo-add-category):
18422         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18423         * emacs-lisp/autoload.el (update-file-autoloads):
18424         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18425         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18426         (checkdoc-message-text, checkdoc-defun):
18427         * emacs-lisp/debug.el (debugger-list-functions):
18428         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18429         * emacs-lisp/eieio-opt.el (eieio-describe-class)
18430         (eieio-describe-generic):
18431         * emacs-lisp/lisp-mnt.el (lm-synopsis):
18432         * emacs-lisp/shadow.el (list-load-path-shadows):
18433         * emulation/cua-base.el (cua-mode):
18434         * emulation/edt.el (edt-set-scroll-margins):
18435         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18436         (tpu-toggle-regexp, tpu-toggle-search-direction)
18437         (tpu-toggle-rectangle, tpu-toggle-control-keys):
18438         * emulation/tpu-extras.el (tpu-set-scroll-margins):
18439         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18440         (viper-set-parsing-style-toggling-macro)
18441         (viper-set-emacs-state-searchstyle-macros):
18442         * emulation/viper.el (viper-set-hooks):
18443         * eshell/esh-mode.el (eshell-truncate-buffer):
18444         * international/mule-cmds.el (prefer-coding-system)
18445         (describe-input-method, describe-language-environment):
18446         * international/mule-diag.el (list-character-sets)
18447         (describe-character-set, describe-coding-system)
18448         (describe-fontset, list-fontsets, list-input-methods):
18449         * mail/sendmail.el (mail-signature):
18450         * net/ange-ftp.el (ange-ftp-copy-file):
18451         * net/browse-url.el (browse-url):
18452         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18453         * net/quickurl.el (quickurl-add-url):
18454         * net/rcirc.el (names, topic):
18455         * net/xesam.el (xesam-mode):
18456         * play/5x5.el (5x5-new-game):
18457         * play/yow.el (apropos-zippy):
18458         * progmodes/ada-mode.el (ada-mode-version):
18459         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18460         (f90-end-of-block)
18461         (f90-beginning-of-block):
18462         * progmodes/fortran.el (fortran-end-of-block)
18463         (fortran-beginning-of-block):
18464         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18465         * progmodes/python.el (python-describe-symbol, python-shell):
18466         * term/ns-win.el (ns-print-buffer):
18467         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18468         * textmodes/flyspell.el (flyspell-mode-on):
18469         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18470         (pages-directory-for-addresses):
18471         * textmodes/table.el (table-recognize-cell)
18472         (table-query-dimension, table-generate-source)
18473         (table-insert-sequence, table--warn-incompatibility):
18474         * textmodes/tex-mode.el (tex-validate-buffer):
18475         * textmodes/texinfmt.el (texinfmt-version)
18476         (texinfo-format-buffer):
18477         Use `called-interactively-p' instead of `interactive-p'.
18479 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18481         * image-mode.el (image-toggle-display):
18482         * emacs-lisp/elp.el (elp-instrument-function):
18483         * emacs-lisp/advice.el (ad-make-advised-definition):
18484         * emacs-lisp/easy-mmode.el (define-minor-mode):
18485         * net/browse-url.el (browse-url-maybe-new-window):
18486         * progmodes/sh-script.el (sh-learn-buffer-indent):
18487         Pass new argument 'any to `called-interactively-p'.
18489 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
18491         * international/uni-bidi.el:
18492         * international/uni-category.el:
18493         * international/uni-combining.el:
18494         * international/uni-comment.el:
18495         * international/uni-decimal.el:
18496         * international/uni-decomposition.el:
18497         * international/uni-digit.el:
18498         * international/uni-lowercase.el:
18499         * international/uni-mirrored.el:
18500         * international/uni-name.el:
18501         * international/uni-numeric.el:
18502         * international/uni-old-name.el:
18503         * international/uni-titlecase.el:
18504         * international/uni-uppercase.el:
18505         Regenerate from Unicode 5.2.0 data.
18507 2009-10-01  Glenn Morris  <rgm@gnu.org>
18509         * Makefile.in (ELCFILES): Regenerate.
18511 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18513         * subr.el (interactive-p): Mark obsolete.
18514         (called-interactively-p): Make the optional-ness of `kind' obsolete.
18515         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18516         advertised-signature-table for subroutines as well.
18518         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18519         (set-advertised-calling-convention): New function.
18520         (make-obsolete, define-obsolete-function-alias)
18521         (make-obsolete-variable, define-obsolete-variable-alias):
18522         Make the optional-ness of `when' obsolete.
18523         (define-obsolete-face-alias): Make `when' non-optional.
18524         * help-fns.el (help-function-arglist):
18525         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18526         Use advertised-signature-table.
18528 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
18530         * files.el (delete-directory): New defun.  The original function
18531         in fileio.c has been renamed to `delete-directory-internal'.
18533         * dired.el (dired-delete-file): Call `delete-directory' with
18534         RECURSIVE parameter.
18536         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18537         parameter RECURSIVE.  Implementation is missing.
18539         * net/tramp.el (tramp-handle-make-directory): Flush upper
18540         directory's file properties.
18541         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18542         (tramp-handle-dired-recursive-delete-directory): Flush directory
18543         properties after the remove command only.
18545         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18546         Handle optional parameter RECURSIVE.
18548         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18549         Handle optional parameter RECURSIVE.
18551         * net/tramp-smb.el (tramp-smb-errors): Add error message for
18552         connection timeout.
18553         (tramp-smb-handle-delete-directory): Handle optional parameter
18554         RECURSIVE.
18556 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18558         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18559         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18560         (byte-compile-defmacro): Use backquotes.
18562         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18564         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18565         has no associated file.
18566         (vc-resynch-buffer): Use vc-dir-buffers.
18568 2009-10-01  Glenn Morris  <rgm@gnu.org>
18570         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18571         (chart-file-count):
18572         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18573         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18574         * emacs-lisp/eieio-opt.el (eieio-describe-class):
18575         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18576         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18577         (eieio-copy-parents-into-subclass, make-instance, class-children)
18578         (eieio-generic-form):
18580         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18581         match-data.  (Bug#4555).
18583         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18584         rather than parsing it as a regexp.  This relaxes the layout
18585         requirements and makes errors easier to detect.
18586         (check-declare-verify): Check file is regular.
18587         (check-declare-directory): Doc fix.
18588         * subr.el (declare-function): Doc fix.
18590         * ibuffer.el (ibuffer-format-qualifier):
18591         * isearch.el (hi-lock-regexp-okay):
18592         * calc/calc.el (math-zerop):
18593         * mail/uce.el (rmail-msgbeg, rmail-msgend):
18594         * term/w32-win.el (setup-default-fontset, set-fontset-font):
18595         Remove unused declarations.
18597 2009-09-30  Eric Ludlam  <zappo@gnu.org>
18599         * emacs-lisp/eieio.el (boolean-p): Delete.
18601 2009-09-30  Glenn Morris  <rgm@gnu.org>
18603         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18605         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18606         filename is not a string.
18608 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
18610         * files.el (safe-local-eval-forms): Fix typo.
18612 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18614         * vc-hooks.el (vc-dir-buffers): New var.
18615         (vc-state-refresh): New function.
18616         (vc-state): Use it.
18617         (vc-after-save): Always ask the backend to recompute the new state.
18618         Always call vc-dir if necessary, using vc-dir-buffers.
18619         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18620         Use vc-dir-buffers.
18621         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18622         (vc-dir-prepare-status-buffer, vc-dir-update)
18623         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18624         Don't call expand-file-name on default-directory.
18626 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18628         * speedbar.el (speedbar-item-delete):
18629         * calc/calc-prog.el (calc-kbd-if):
18630         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18632         * epa.el (epa-key-list-mode-map):
18633         * hi-lock.el (hi-lock-menu): Fix typos in menus.
18635         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18636         (hs-show-hook): Fix typo in docstring.
18638 2009-09-29  Glenn Morris  <rgm@gnu.org>
18640         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18641         file-name-nondirectory call preventing location of cedet files.
18642         (check-declare-verify): Use literal search rather than re-search.
18643         Add basic defmethod and defclass, and define-overloadable-function.
18645         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18646         Use tramp-compat-file-attributes rather than nonexistent
18647         tramp-compat-handle-file-attributes.
18649         * Makefile.in (lisptagsfiles4): New.
18650         (AUTOGENEL): Add cedet loaddefs files.
18651         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18652         (update-elclist, compile-always, backup-compiled-files)
18653         (bootstrap-clean): Add yet another directory level.
18654         (update-elclist): Use LC_COLLATE rather than COLLATE.
18655         (ELCFILES): Update, via `make update-elclist'.
18657 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18659         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18660         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18661         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18663 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18665         * Makefile.in (lisptagsfiles3): Define.
18666         (TAGS, TAGS-LISP): Use it.
18667         (update-elclist): Add third directory level to look for elc files.
18668         (compile-always): Likewise.
18669         (backup-compiled-files): Likewise.
18670         (bootstrap-clean): Likewise.
18671         (ELCFILES): Update.
18673 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
18675         * Makefile.in (ELCFILES): Add CEDET files.
18677 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
18679         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18681         * net/tramp.el (top): Require tramp-imap.
18683         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18684         Use `tramp-compat-handle-file-attributes'.
18686 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
18688         * net/tramp-imap.el: New package.
18690 2009-09-28  Eric Ludlam  <zappo@gnu.org>
18692         * emacs-lisp/chart.el:
18693         * emacs-lisp/eieio-base.el:
18694         * emacs-lisp/eieio-comp.el:
18695         * emacs-lisp/eieio-custom.el:
18696         * emacs-lisp/eieio-datadebug.el:
18697         * emacs-lisp/eieio-opt.el:
18698         * emacs-lisp/eieio-speedbar.el:
18699         * emacs-lisp/eieio.el: New files.
18701 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18703         * whitespace.el (whitespace-trailing-regexp)
18704         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18705         Fix doc string.
18707 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
18709         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18710         menu.
18712         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18713         menu-bar-ediff-menu.
18715         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18716         define-overloadable-function.
18718         * progmodes/autoconf.el: Provide autoconf as well, so that this
18719         file can be `require'd.
18721         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18723         * emacs-lisp/autoload.el (generated-autoload-feature)
18724         (generated-autoload-load-name): New vars.
18725         (autoload-rubric, autoload-generate-file-autoloads): Use them.
18726         (make-autoload): Recognize define-overloadable-function and
18727         defclass forms (for EIEIO).
18729         * Makefile.in (update-subdirs): Exclude cedet directory.
18731 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
18733         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
18735         * faces.el: Default light-background background for region face to
18736         ns_selection_color under NS.
18738 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
18740         * net/imap-hash.el: New library, see NEWS.
18742         * Makefile.in (ELCFILES): Add imap-hash.el.
18744 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18746         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18747         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18748         * help-macro.el (make-help-screen): Avoid using an ambiguous function
18749         definition where the docstring could be taken for the return value.
18751 2009-09-26  Glenn Morris  <rgm@gnu.org>
18753         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18754         Add option to only show images below a certain size.
18755         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18756         save-excursion calls.
18758 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
18760         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18761         subdirectories) and eieio.
18763 2009-09-26  Alan Mackenzie  <acm@muc.de>
18765         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18766         Correct buggy bracketing.  (Bug#4289)
18768         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18769         character constants (as case labels).  (Bug#4289)
18771 2009-09-25  Juri Linkov  <juri@jurta.org>
18773         * files.el (safe-local-eval-forms): Allow time-stamp in
18774         before-save-hook (Bug#4554).
18776 2009-09-25  Drew Adams  <drew.adams@oracle.com>
18778         * menu-bar.el (list-buffers-directory): Doc fix.
18780 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18782         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18783         Try and avoid copying twice the same paragraph.
18784         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18785         Remove save-excursion.
18786         (log-edit-changelog-entry): Do it here instead.
18788 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
18790         * bs.el (bs--get-file-name): Use `list-buffers-directory'
18791         when available, instead of hardcoding mode names.  Doc fix.
18793         * menu-bar.el (list-buffers-directory): Add docstring.
18794         Make automatically buffer-local.
18796         * dired.el (dired-mode):
18797         * files.el (cd-absolute):
18798         * pcvs.el (cvs-temp-buffer):
18799         * pcvs-util.el (cvs-get-buffer-create):
18800         * shell.el (shell-mode):
18801         * vc-dir.el (vc-dir-mode):
18802         Don't make `list-buffers-directory' buffer local.
18804 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
18806         * comint.el (comint-exec, comint-run, make-comint):
18807         Doc fixes (Bug#4542).
18809 2009-09-25  Glenn Morris  <rgm@gnu.org>
18811         * mail/rmailmm.el (rmail-mime): New custom group.
18812         Move all defcustoms in this file into this group.
18813         (rmail-mime-media-type-handlers-alist): Revert previous change.
18814         (rmail-mime-show-images): New option.
18815         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18816         references to it, since it wasn't actually used for anything.
18817         (rmail-mime-insert-image): New function.
18818         (rmail-mime-image): Use rmail-mime-insert-image.
18819         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18820         obey the value of `rmail-mime-show-images' option.  Print the size of
18821         attachments.
18823 2009-09-25  David Engster  <deng@randomsample.de>
18825         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
18827 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18829         * whitespace.el: Does not highlight trailing spaces While point is
18830         at end of line.  Does not highligt spaces at beginning of buffer
18831         while point is at beginning of buffer.  Does not highlight spaces
18832         at end of buffer while point is at end of buffer.  (Bug#4177)
18833         New version 12.0.
18834         (whitespace-display-mappings): Adjust initialization.
18835         (whitespace-point, whitespace-font-lock-refontify): New vars.
18836         (whitespace-color-on, whitespace-color-off): Adjust code.
18837         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18838         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18839         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18841 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
18843         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18845         * textmodes/sgml-mode.el: Remove xml-mode alias.
18847         * files.el (auto-mode-alist, conf-mode-maybe)
18848         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18850 2009-09-24  Alan Mackenzie  <acm@muc.de>
18852         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18853         c-forward-conditionals, but it doesn't move point and doesn't set
18854         the mark.
18855         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18856         (c-down-conditional-with-else, c-backward-conditional)
18857         (c-forward-conditional): Refactor to use c-scan-conditionals.
18859 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18861         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18862         (help-default-arg-highlight): Remove.
18863         (help-highlight-arg): New function.
18864         (help-do-arg-highlight): Use it.
18865         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
18867 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18869         * term.el (term-set-scroll-region, term-handle-ansi-escape):
18870         Undo last change, which didn't fix the problem and introduced others.
18872 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
18874         * progmodes/gdb-mi.el: Don't require speedbar.
18875         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18877 2009-09-24  Glenn Morris  <rgm@gnu.org>
18879         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18881         * term/ns-win.el (ns-reg-to-script): Define for compiler.
18883         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18884         there is no newline after the final mime boundary.  (Bug#4539)
18885         Move markers on insertion so that any buttons inserted don't end up in
18886         the next part of a multipart message.
18887         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
18888         (rmail-mime-bulk-handler): Optionally handle images.
18889         (rmail-mime-image): New button action.
18890         (rmail-mime-image-handler): New function.
18891         (rmail-mime-mode): New mode.
18892         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
18894 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18896         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18897         than just dropping elements from it (bug#4504).
18899         * term.el (term-set-scroll-region): Don't move cursor any more.
18900         (term-handle-ansi-escape): Call term-goto here instead.
18901         Suggested by Ivan Kanis <apple@kanis.eu>.
18903         * term.el: Require CL.
18904         (term-ansi-reset): New function.
18905         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18906         (term-handle-colors-array): Simplify.
18908 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18910         * allout.el (allout-overlay-interior-modification-handler)
18911         (allout-obtain-passphrase):
18912         * epa-file.el (epa-file-write-region):
18913         * ps-print.el (ps-begin-job):
18914         * vc-hooks.el (vc-toggle-read-only):
18915         * vc-rcs.el (vc-rcs-rollback):
18916         * vc-sccs.el (vc-sccs-rollback):
18917         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18918         (vc-version-diff, vc-revert, vc-rollback):
18919         * wdired.el (wdired-check-kill-buffer):
18920         * emacs-lisp/authors.el (authors):
18921         * net/socks.el (socks-open-connection):
18922         * net/zeroconf.el (zeroconf-service-add-hook):
18923         * obsolete/vc-mcvs.el (vc-mcvs-register):
18924         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18925         (gdb-select-frame):
18926         * progmodes/grep.el (lgrep, rgrep):
18927         * progmodes/idlw-help.el (idlwave-help-check-locations)
18928         (idlwave-help-html-link, idlwave-help-assistant-open-link):
18929         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18930         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18931         (reftex-toc-rename-label): Fix typos in error messages.
18933         * dired-aux.el (dired-do-shell-command): Reflow docstring.
18934         (dired-copy-how-to-fn): Doc fix.
18935         (dired-files-attributes, dired-read-shell-command):
18936         Fix typos in docstrings.
18938         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18939         (dired-x-find-file-other-window): Reflow docstrings.
18940         (dired-omit-marker-char, dired-read-shell-command)
18941         (dired-x-submit-report): Fix typos in docstrings.
18943         * shell.el (shell-mode-hook):
18944         * view.el (View-scroll-line-forward):
18945         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18946         Fix typos in docstrings.
18948         * net/dig.el (dig-invoke): Fix typo in docstring.
18949         (query-dig): Reflow docstring.
18951         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18952         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18953         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18954         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18955         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18956         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18957         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18958         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18959         (idlwave-completion-map, idlwave-current-indent)
18960         (idlwave-custom-ampersand-surround, idlwave-customize)
18961         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18962         (idlwave-define-abbrev, idlwave-determine-class-special)
18963         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18964         (idlwave-end-block-reg, idlwave-end-of-statement)
18965         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18966         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18967         (idlwave-explicit-class-listed, idlwave-file-header)
18968         (idlwave-fill-paragraph, idlwave-find-class-definition)
18969         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18970         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18971         (idlwave-in-quote, idlwave-indent-action-table)
18972         (idlwave-indent-expand-table, idlwave-indent-line)
18973         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18974         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18975         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18976         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18977         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18978         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18979         (idlwave-outlawed-buffers, idlwave-popup-select)
18980         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18981         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18982         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18983         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18984         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18985         (idlwave-statement-type, idlwave-struct-skip)
18986         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18987         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18988         (idlwave-what-module-find-class): Fix typos in docstrings.
18989         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18990         (idlwave-calculate-cont-indent, idlwave-expand-equal)
18991         (idlwave-find-module, idlwave-find-structure-definition)
18992         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18993         (idlwave-list-load-path-shadows, idlwave-next-statement)
18994         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18995         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18996         (idlwave-template): Reflow docstrings.
18998         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18999         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19000         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19001         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19002         (idlwave-shell-display-line, idlwave-shell-display-wframe)
19003         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19004         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19005         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19006         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19007         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19008         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19009         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19010         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19011         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19012         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19013         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19014         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19015         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19016         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19017         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19018         Fix typos in docstrings.
19019         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19020         (idlwave-shell-hide-output, idlwave-shell-mode)
19021         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19022         Reflow docstrings.
19024         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19026 2009-09-24  Ivan Kanis  <apple@kanis.eu>
19028         * term.el (term-bold-attribute): New var.
19029         (term-handle-colors-array): Use it.
19031 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
19033         * progmodes/gdb-mi.el (gdb-version): New variable.
19034         (gdb-non-stop-handler): Set gdb-version.
19035         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19036         Condition "--thread" option on gdb-version.
19037         (gdb-invalidate-threads): Remove unused argument.
19039 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19041         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19042         to looking-back to avoid ridiculous slow down in large files (bug#4511).
19044 2009-09-23  Glenn Morris  <rgm@gnu.org>
19046         * mail/rmail.el (rmail-reply): Don't try to add a References header when
19047         replying to mail without References or Message-Id.  (Bug#4525)
19049 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
19051         * term/ns-win.el (ns-reg-to-script): New variable.
19053 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
19055         * epg.el (epg-wait-for-status): Preserve existing 'error results.
19057 2009-09-22  Sam Steingold  <sds@gnu.org>
19059         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19060         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19061         to 1 because hg returns status 1 when nothing is found.
19062         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19064 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19066         * textmodes/fill.el: Convert to utf-8 encoding.
19067         (fill-french-nobreak-p): Remove redundant » and « inherited from our
19068         pre-Unicode days.
19070         * add-log.el (change-log-fill-forward-paragraph): New function.
19071         (change-log-mode): Use it so fill-region DTRT.
19072         Set fill-indent-according-to-mode here rather than in
19073         change-log-fill-paragraph.
19074         (change-log-fill-paragraph): Remove.
19076 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
19078         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19079         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
19081 2009-09-22  Glenn Morris  <rgm@gnu.org>
19083         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19084         the scroll-bar scroll the calendar window rather than the buffer.
19086         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19087         commands that move point (as opposed to scrolling).
19089         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19091         * emacs-lisp/elint.el (elint): New custom group.
19092         (elint-log-buffer): Make it a defcustom.
19093         (elint-scan-preloaded, elint-ignored-warnings)
19094         (elint-directory-skip-re): New options.
19095         (elint-builtin-variables): Doc fix.
19096         (elint-preloaded-env): New variable.
19097         (elint-unknown-builtin-args): Add an entry for encode-time.
19098         (elint-extra-errors): Make it a variable rather than a constant.
19099         (elint-preloaded-skip-re): New constant.
19100         (elint-directory): Skip files matching elint-directory-skip-re.
19101         (elint-features): New variable, local to linted buffers.
19102         (elint-update-env): Initialize elint-features.  Possibly add
19103         elint-preloaded-env to the buffer's environment.
19104         (elint-get-top-forms): Bind elint-current-pos, for log messages.
19105         Skip quoted forms.
19106         (elint-init-form): New function, extracted from elint-init-env.
19107         Make non-list forms a warning rather than an error.
19108         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
19109         easy-menu-define, put that adds an error-condition, and provide.
19110         When requiring cl, also require cl-macs.  Really require cl, to handle
19111         some cl macros.  Store required libraries in the list elint-features,
19112         so as not to re-load them.  Treat cc-require like require.
19113         (elint-init-env): Call elint-init-form to do the work.
19114         Handle eval-and-compile and such like.
19115         (elint-add-required-env): Do not clear messages.
19116         (elint-special-forms): Add handlers for function, defalias, if, when,
19117         unless, and, or.
19118         (elint-form): Add optional argument to ignore elint-special-forms,
19119         useful to prevent recursive calls from handlers.  Doc fix.
19120         Respect elint-ignored-warnings.
19121         (elint-form): Respect elint-ignored-warnings.
19122         (elint-bound-variable, elint-bound-function): New variables.
19123         (elint-unbound-variable): Respect elint-bound-variable.
19124         (elint-get-args): Respect elint-bound-function.
19125         (elint-check-cond-form): Add some simple handling for (f)boundp and
19126         featurep tests.
19127         (elint-check-defalias-form): New handler.
19128         (elint-check-let-form): Make an empty let a warning rather than an
19129         error.
19130         (elint-check-setq-form): Make an empty setq a warning rather than an
19131         error.  Respect elint-ignored-warnings.
19132         (elint-check-defvar-form): Accept null doc-strings.
19133         (elint-check-conditional-form): New handler.  Does some simple-minded
19134         checking of featurep and (f)boundp tests.
19135         (elint-put-function-args): New function.
19136         (elint-initialize): Use elint-scan-doc-file rather than
19137         elint-find-builtin-variables.  Use elint-put-function-args.
19138         Possibly scan preloaded-file-list.
19139         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19140         extend to handle functions as well.
19142 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
19144         * linum.el (linum-delete-overlays, linum-update-window):
19145         Do not modify the right margin.  (Bug#3971)
19147 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
19149         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19150         Use nxml-mode instead of xml-mode.
19152 2009-09-21  Kevin Ryde  <user42@zip.com.au>
19154         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
19156 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19158         * net/dig.el (dig-mode): Use define-derived-mode.
19160 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
19162         * vc-dispatcher.el (vc-do-command): Return the process object in
19163         the asynchronous case.  Use when instead of if.  Do not run
19164         vc-exec-after to display a message if not enabled.  (Bug#4463)
19166         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19167         properties to the stash strings.
19168         (vc-git-stash-list): Return a list of strings.
19169         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19170         (vc-git-stash-show-at-point): New functions.
19171         (vc-git-stash-map): New keymap.
19173         * register.el (ctl-x-r-map): Define the keys here instead of
19174         using autoload.
19176 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
19178         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19179         list, to workaround performance problem (bug#4485).
19181 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
19183         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19185 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
19187         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19188         Document that this option is not recommended to use.
19190 2009-09-19  Glenn Morris  <rgm@gnu.org>
19192         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19193         variable `var'.
19195         * calc/calc-alg.el (var):
19196         * calc/calcalg2.el (var): Define for compiler.
19198 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
19200         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19201         Doc fix (Bug#3932).
19203         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19205         * time-stamp.el (time-stamp-month-dd-yyyy)
19206         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19207         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19208         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19209         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19210         Remove functions that have been obsolete since 1995 (Bug#4436).
19212         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19213         indent buffer only if called interactively (Bug#4452).
19215 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
19216             Eli Zaretskii  <eliz@gnu.org>
19218         This fixes bug#4197 (merged to bug#865, though not identical).
19219         * server.el (server-auth-dir): Add docstring note about FAT32.
19220         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19221         but warn against using them.
19223 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
19225         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19226         older GDB where there is no has_more field.
19228 2009-09-19  Glenn Morris  <rgm@gnu.org>
19230         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19232 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
19234         * files.el (auto-mode-alist): Change default for XML files to nXML
19235         mode (Bug#4169).
19237 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
19239         * server.el (server-ensure-safe-dir): Pass 'integer
19240         to `file-attributes', as suggested.
19242 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19244         * dired-aux.el (dired-query-alist): Remove spurious backslash.
19245         (dired-query): Use read-key.
19247 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
19249         * cus-start.el (ns-use-qd-smoothing): Remove.
19251 2009-09-18  Glenn Morris  <rgm@gnu.org>
19253         * allout.el (top-level): Remove unnecessary progn.
19255         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19257         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19258         definition of abbrev table.
19260         * speedbar.el (speedbar-track-mouse):
19261         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19262         * net/eudc.el (eudc-expand-inline):
19263         * net/newst-backend.el (newsticker--cache-read-feed):
19264         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19265         condition-case handlers.
19267 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
19269         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19270         (gdb-var-list): Add an element for has_more field.
19271         (gdb-non-stop-handler): Enable pretty printing for STL containers.
19272         (gdb-var-create-handler, gdb-var-list-children-handler-1)
19273         (gdb-var-update-handler-1): Parse output of dynamic variable
19274         objects (STL containers).
19275         (gdb-var-delete-1): Pass var1 as an explicit second argument.
19276         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
19278         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19279         gdb-var-list.
19280         (gud-speedbar-buttons): Make node expandable if expression "has more"
19281         children.
19283 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
19285         * startup.el (emacs-quick-startup): Remove variable and all uses.
19286         (command-line): Set `inhibit-x-resources' instead.
19287         (command-line-1): Use `inhibit-x-resources' instead.
19289 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
19291         * subr.el: Fix last change to avoid using the `unless' macro,
19292         which breaks bootstrapping.
19294 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19296         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19297         extended definitions, in case we reload subr.el after having
19298         loaded CL.
19299         (eval-next-after-load): Mark as obsolete.
19301 2009-09-17  Juri Linkov  <juri@jurta.org>
19303         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19304         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19305         (menu-bar-showhide-menu, menu-bar-tools-menu)
19306         (menu-bar-describe-menu, menu-bar-help-menu)
19307         (minibuffer-local-completion-map, minibuffer-local-map):
19308         Fix list quoting.
19310 2009-09-17  Glenn Morris  <rgm@gnu.org>
19312         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19313         arguments, whether or not it has a handler.
19315         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19317         * simple.el (hard-newline): Give it a doc-string.
19319         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19320         (lisp-mode-syntax-table): Give them doc-strings.
19322 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
19324         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19325         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19326         (menu-bar-options-menu, menu-bar-showhide-menu)
19327         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19328         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19329         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19330         (menu-bar-options-menu, menu-bar-tools-menu)
19331         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19332         (menu-bar-help-menu):
19333         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19334         string arguments.
19336         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19337         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19338         calls for the menu names and :help.
19340 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19342         * mouse.el (minor-mode-menu-from-indicator): Pay attention
19343         to :minor-mode-function (bug#4455).
19345 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19347         * startup.el (command-line): Initialize the window-system after
19348         processing the command-line.
19350         * textmodes/page.el (what-page): Make sure we don't inf-loop if
19351         page-delimiter matches the empty string.
19353 2009-09-16  Glenn Morris  <rgm@gnu.org>
19355         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19356         byte-compile-not-obsolete-var.  It's a list now.
19357         (byte-compile-not-obsolete-funcs): New variable.
19358         (byte-compile-warn-obsolete): Don't warn about functions if they are in
19359         byte-compile-not-obsolete-funcs.
19360         (byte-compile-variable-ref, byte-compile-defvar): Update for
19361         byte-compile-not-obsolete-vars name-change and list nature.
19362         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19363         and variables behind (f)boundp tests.
19364         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19366 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19368         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19370 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19372         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19373         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19374         Don't autoload.
19376 2009-09-15  Stephen Eglen  <stephen@gnu.org>
19378         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19379         the virtual-buffers, use the name of the buffer specified by
19380         find-file-noselect, as the match may be a symlink.  (This was a
19381         problem if the target and the symlink had different names.)
19383 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19385         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19387         * desktop.el (desktop-path): Check user-emacs-directory.
19389         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19391         * loadup.el: Use after-load-functions to GC after loading each file.
19392         Remove the explicit GC calls that used to be sprinkled around.
19394         * subr.el (after-load-functions): New hook.
19395         (do-after-load-evaluation): Run it.  Use string-match-p to detect
19396         `obsolete' packages, rather than painfully extracting the relevant
19397         directory name.
19399 2009-09-15  Glenn Morris  <rgm@gnu.org>
19401         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19402         free variable `doc'.
19404         * dired.el (dired-mode-map): Add menu entry for async shell command.
19406         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19407         variables, also consider the .elc files, since the .el files are
19408         normally gzipped (subsequent code locates the .el.gz from the .elc).
19410         * calc/calc-prog.el (arglist): Define for compiler.
19412         * calendar/diary-lib.el (diary-display-function): Change the default to
19413         fancy display.
19414         (body): Define for compiler.
19416         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19417         (byte-compile-file-form, byte-compile-lambda)
19418         (byte-compile-top-level-body, byte-compile-form)
19419         (byte-compile-variable-ref, byte-compile-setq)
19420         (byte-compile-setq-default, byte-compile-body)
19421         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19422         (batch-byte-compile): Give some more local variables with common names
19423         a "bytecomp-" prefix to avoid masking warnings about free variables.
19425         * startup.el (command-line-1): Give local variables with common names a
19426         distinguishing prefix, so as not to hide free variable warnings during
19427         bootstrap.
19429         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19430         clever and add a suffix to make a unique name, just let the user decide
19431         whether or not to overwrite it.  If the input is a directory, write the
19432         default filename to that directory.  (Bug#4388)
19433         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19434         is a filename-as-a-directory.
19436 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19438         * textmodes/page.el (what-page): Don't move to beginning of line.
19439         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19441 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19443         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19445 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
19447         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19448         * help.el (help-for-help-internal): Add purecopy calls for text.
19450         * vc.el (top): print-log method now takes an optional SHORTLOG
19451         argument.  Add a new method: root.
19452         (vc-root-diff, vc-print-root-log): New functions.
19453         (vc-log-short-style): New variable.
19454         (vc-print-log-internal): Add support for showing short logs.
19456         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19457         vc-print-root-log and vc-print-root-diff.
19459         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19460         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19461         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19462         short logs.
19464         * vc-cvs.el (vc-cvs-print-log):
19465         * vc-mtn.el (vc-mtn-print-log):
19466         * vc-rcs.el (vc-rcs-print-log):
19467         * vc-sccs.el (vc-sccs-print-log):
19468         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19469         that is ignored for now.
19471         * vc-mtn.el (vc-mtn-annotate-command):
19472         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19474 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19476         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19477         to function-key-map, and give them ascii-character property.
19478         * term/x-win.el (x-alternatives-map):
19479         * term/ns-win.el (ns-alternatives-map):
19480         * term/internal.el (msdos-key-remapping-map):
19481         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19483 2009-09-14  Glenn Morris  <rgm@gnu.org>
19485         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19486         temp-buffers (2009-09-12).
19488 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19490         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19491         the new read-key function.
19493 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19495         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19496         is defined (Bug#4405).
19498 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
19500         * recentf.el (recentf-cleanup): Use a hash table to find
19501         duplicates (Bug#4407).
19503 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
19505         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19506         kp-0 to ascii equivalents (Bug#4325).
19508 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19510         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19512         * eshell/em-hist.el:
19513         * eshell/em-dirs.el (eshell-complete-user-reference):
19514         Declare pcomplete functions and variables to avoid compiler warnings.
19516 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
19518         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19519         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19520         * eshell/em-alias.el (eshell-aliases-file):
19521         * eshell/em-hist.el (eshell-history-file-name):
19522         Use expand-file-name instead of concat to make file names (Bug#4308).
19524 2009-09-13  Glenn Morris  <rgm@gnu.org>
19526         * ediff-merg.el (ediff-do-merge):
19527         * filesets.el (filesets-run-cmd):
19528         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19529         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19530         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19531         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19532         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19533         Replace empty `let's with `progn'.
19535 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19537         * mail/sendmail.el (send-mail-function):
19538         * tooltip.el (tooltip-mode):
19539         * simple.el (transient-mark-mode):
19540         * rfn-eshadow.el (file-name-shadow-mode):
19541         * frame.el (blink-cursor-mode):
19542         * font-core.el (global-font-lock-mode):
19543         * files.el (temporary-file-directory)
19544         (small-temporary-file-directory, auto-save-file-name-transforms):
19545         * epa-hook.el (auto-encryption-mode):
19546         * composite.el (global-auto-composition-mode):
19547         Use custom-initialize-delay.
19548         * startup.el (command-line): Don't explicitly call
19549         custom-reevaluate-setting for all the above vars.
19550         * custom.el (custom-initialize-safe-set)
19551         (custom-initialize-safe-default): Delete.
19553 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19555         * term/x-win.el (x-initialize-window-system):
19556         * term/w32-win.el (w32-initialize-window-system):
19557         * term/ns-win.el (ns-initialize-window-system): Don't call
19558         mouse-wheel-mode since it's enabled globally by default already.
19560         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19561         actually define the variable, but only silences the byte-compiler.
19562         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19563         before looking it up.
19564         (mouse-wheel-scroll-amount): Also reset the bindings if this value
19565         is changed.
19567 2009-09-12  Glenn Morris  <rgm@gnu.org>
19569         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19570         1000.
19571         (elint-add-required-env): Don't beep on error.
19572         (elint-forms): In case of error, return ENV unchanged.
19573         (elint-init-env): Skip non-list forms.
19574         (elint-log): Handle unknown file positions.
19576 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
19578         * epg.el (epg-make-context): Add autoload cookie.
19579         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19580         (epg-decrypt-string, epg-start-verify, epg-verify-file)
19581         (epg-verify-string, epg-start-sign, epg-sign-file)
19582         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19583         (epg-encrypt-string, epg-start-export-keys)
19584         (epg-export-keys-to-file, epg-export-keys-to-string)
19585         (epg-start-import-keys, epg-import-keys-from-file)
19586         (epg-import-keys-from-string, epg-start-receive-keys)
19587         (epg-receive-keys, epg-import-keys-from-server)
19588         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19589         (epg-sign-keys, epg-start-generate-key)
19590         (epg-generate-key-from-file, epg-generate-key-from-string):
19591         Remove autoload cookie.
19593 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
19595         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19596         reevaluation of trash-directory.
19598         * mwheel.el: Fix last change.
19599         (mouse-wheel-mode): New defvar.
19600         (mouse-wheel-mode): Remove autoload cookie.
19602 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19604         * mwheel.el (mwheel-installed-bindings): New var.
19605         (mouse-wheel-mode): Use it, so as to make sure we really remove all
19606         the bindings we set last time.  Use custom-initialize-delay.
19607         * loadup.el: Load mwheel after term/*-win.el.
19608         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19609         and mouse-wheel-up-event now that their first evaluation is done
19610         sufficiently late to be correct.
19612         * startup.el (tutorial-directory): Make it a defcustom.
19613         Use custom-initialize-delay rather than eval-at-startup to set it.
19614         * image.el (image-load-path): Make it a defcustom.
19615         Use custom-initialize-delay rather than eval-at-startup to set it.
19616         * subr.el (eval-at-startup): Remove.
19617         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19619         * subr.el (do-after-load-evaluation): Warn the user after loading an
19620         obsolete package.
19622 2009-09-12  Glenn Morris  <rgm@gnu.org>
19624         * proced.el (proced-mark-alt): Remove alias.
19625         (proced-mode-map): Remove proced-mark-alt.
19627         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19628         Elint file and directory.  Remove initialization entry.
19630         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19631         commands.
19632         (elint-current-buffer): Set mode-line-process.
19633         (elint-init-env): Handle define-derived-mode.
19634         Fix declare-function with unspecified arglist.  Guard against odd
19635         defalias statements (eg iso-insert's 8859-1-map).
19636         (elint-add-required-env): Use a temp buffer.
19637         (elint-form): Just print the function/macro name, not the whole form.
19638         Return env unchanged if we fail to parse a macro.
19639         (elint-forms): Guard against parse errors.
19640         (elint-output): New function, to handle batch mode.
19641         (elint-log-message): Add optional argument.  Use elint-output.
19642         (elint-set-mode-line): New function.
19644 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
19646         * emacs-lisp/elp.el (elp-not-profilable): Add more
19647         functions (Bug#4233).
19649 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
19651         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19652         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19654 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19656         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19657         (gdb-var-list-children): Use json parsing.
19659 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
19661         * progmodes/js.el (js--proper-indentation): Handle the case where
19662         char-before is null.  Reported by Deniz Dogan.
19664 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19666         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19668 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
19670         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19671         (epg-digest-algorithm-alist): Add SHA224.
19672         (epg-context-set-passphrase-callback)
19673         (epg-context-set-progress-callback): Add description about
19674         callback function.
19676 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19678         * custom.el (custom-delayed-init-variables): New var.
19679         (custom-initialize-delay): New function.
19680         * startup.el (command-line): "Re"evaluate all vars in
19681         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
19682         explicitly any more.
19683         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19684         to avoid creating a ~/.emacs.d at build-time (bug#4347).
19686         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19688 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19690         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19691         (gdb-var-update-handler): Use json parsing.
19693 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19695         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19696         decode annotated text, regardless of language environment.  (Bug#2741)
19698 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19700         * Makefile.in (autoloads): Make rmail.el writable as well.
19702 2009-09-11  Glenn Morris  <rgm@gnu.org>
19704         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19705         loaddefs.el.
19706         * dired.el: Regenerate with extracted autoloads.
19707         * Makefile.in (autoloads): Make dired.el writable.
19709         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19710         * ibuffer.el: Regenerate with extracted autoloads.
19711         * Makefile.in (autoloads): Make ibuffer.el writable.
19713         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19714         * version.el (emacs-copyright, emacs-major-version)
19715         (emacs-minor-version): Reformat doc-strings for make-docfile.
19717         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19718         functions and variables, since they must be stuff specific to some other
19719         platform.
19720         (apropos-print): Make mouse-click message less specific about button.
19722         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19723         that records where a macro was defined.
19724         * help-fns.el (describe-function-1): Mention if a function has a
19725         compiler-macro.
19726         * help-mode.el (help-function-cmacro): New button.
19728         * locate.el (top-level): Always require dired.
19729         (locate-mode-map): Initialize inside the defvar.
19731         * net/ange-ftp.el (dired-compress-file): Declare.
19732         (ange-ftp-dired-compress-file): Add doc string.
19734         * term/ns-win.el (x-display-name, x-setup-function-keys):
19735         Unify doc-strings with X versions.
19737 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19739         * emulation/crisp.el (crisp-mode-map): Move initialization
19740         into declaration.
19741         (crisp-mode): Use define-minor-mode.
19743         * progmodes/xscheme.el (xscheme-evaluation-commands):
19744         Put a :advertised-binding property rather than using
19745         advertised-xscheme-send-previous-expression.
19746         (advertised-xscheme-send-previous-expression): Declare obsolete.
19747         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19748         `advertised-undo'.
19749         (crisp-mode): Add corresponding bindings to
19750         undo's :advertised-binding instead.
19751         * dired.el (dired-mode-map): Put a :advertised-binding property rather
19752         than using dired-advertised-find-file.
19753         (dired-advertised-find-file):
19754         * simple.el (advertised-undo):
19755         * wid-edit.el (advertised-widget-backward): Declare obsolete.
19756         (widget-keymap): Put a :advertised-binding property rather
19757         than using advertised-widget-backward.
19758         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19759         than using advertised-undo.
19760         * tutorial.el (tutorial--default-keys): Adjust accordingly.
19762 2009-09-10  Simon South  <ssouth@slowcomputing.org>
19764         * progmodes/delphi.el (delphi-tab): Indent region when Transient
19765         Mark mode is enabled and region is active; otherwise indent or
19766         insert TAB as usual.
19767         (delphi-mode): Update description of TAB-key binding.
19769 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19771         * subr.el (define-key-rebound-commands): Mark obsolete.
19772         * startup.el (precompute-menubar-bindings): Remove.
19773         (normal-top-level): Remove obsolete code that tried to precompute
19774         menubar bindings.
19775         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19776         define-key-rebound-commands and precompute-menubar-bindings.
19778 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
19780         * net/imap.el (imap-interactive-login): Better messages.
19781         (imap-open): Fix bug with renamed buffer on reconnect.
19782         (imap-authenticate): Add buffer-local imap-last-authenticator variable
19783         for easier debugging and cleaner code.  On successful (guessed based on
19784         server capabilities) secondary authentication, set imap-state
19785         correctly.
19786         (imap-last-authenticator): Define imap-last-authenticator as a variable
19787         to avoid warnings.
19789 2009-09-10  Glenn Morris  <rgm@gnu.org>
19791         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19793         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19794         (byte-compile-file-form-autoload): Don't warn about unknown functions
19795         where the autoload statement comes after the use.
19796         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19797         that any handlers inside the body (eg require) are in turn respected.
19799         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19800         effects.
19802         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19803         and syntax and abbrev tables basic docs, if they don't have any.
19805         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19807         * international/mule-cmds.el (top-level): Require cl when compiling.
19808         (view-hello-file): Use default-value rather than
19809         default-enable-multibyte-characters.
19811         * progmodes/fortran.el: Move all safe and risky properties into the
19812         defcustoms.
19814         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19815         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19816         * mail/undigest.el:
19817         Put autoloads in rmail.el rather than loaddefs.el.
19818         * mail/rmail.el: Regenerate with extracted autoloads.
19820         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19821         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19823 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
19825         Reported in thread for Bug#4375.
19826         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19827         "-data-evaluate-expression" instead of print.
19828         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19829         (gdb-tooltip-print): Parse output from above MI command.
19830         (gdb): Revert 2009-08-11 change.  User should detach inferior
19831         manually.
19833         Remove the word "separate" from IO functions as inferior
19834         output is now never displayed in the GUD buffer.
19836 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
19838         * startup.el (command-line-normalize-file-name): On Windows and
19839         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19841 2009-09-10  Juri Linkov  <juri@jurta.org>
19843         * isearch.el (isearch-text-char-description): Propertize escape
19844         character sequences with the `escape-glyph' face.  (Bug#4344)
19846         * simple.el (shell-command): Set asynchronous process filter to
19847         `comint-output-filter'.  (Bug#4343)
19849         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19850         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
19851         the list.  Move "asm" to the bottom.
19852         (grep-find-ignored-directories): Add `choice' with nil value
19853         to empty the list easily.
19854         (grep-find-ignored-files): New option.
19855         (grep-files-history): Set to nil by default instead of '("ch" "el").
19856         (grep-compute-defaults): Add "<X>" to `grep-template'.
19857         (grep-read-files): Bind new local variables `default-alias' and
19858         `default-extension'.  Use a list of default values for the file prompt.
19859         (lgrep): Add `--exclude=' command line options composed from
19860         `grep-find-ignored-files'.
19861         (rgrep): Add `-name' command line options composed from
19862         `grep-find-ignored-files'.  (Bug#4301)
19864 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19866         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19867         (bug#4368).
19869 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
19871         * calendar/time-date.el (autoload):
19872         Expand define-obsolete-function-alias into defalias and make-obsolete
19873         for old Emacsen that Gnus supports.
19874         (with-no-warnings): Define it for old Emacsen.
19875         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19876         is available.
19877         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19878         float-time is available; suppress compile warning for time-to-seconds.
19880 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
19882         * net/imap.el (imap-message-map): Docstring fix.
19884 2009-09-09  Glenn Morris  <rgm@gnu.org>
19886         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19887         line numbers too.  (Bug#4374)
19889 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19891         * smerge-mode.el (smerge-remove-props, smerge-refine):
19892         Use with-silent-modifications (bug#4342).
19894         * subr.el (with-silent-modifications): New macro.
19896 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
19898         * files.el (top-level): Require `cl' when compiling.
19900 2009-09-07  Glenn Morris  <rgm@gnu.org>
19902         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19904         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19905         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
19907 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
19909         * vc-git.el (vc-git-annotate-command): Use separator to parse
19910         arguments correctly.
19912 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
19914         * proced.el (proced-mode): Doc fix.
19916 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
19918         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19919         lstat fails.
19920         (tramp-do-file-attributes-with-ls): Check for file existence at
19921         remote end.
19922         (tramp-do-file-attributes-with-stat): Likewise.
19923         (tramp-convert-file-attributes): Return nil when attr is nil.
19925 2009-09-05  Glenn Morris  <rgm@gnu.org>
19927         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19928         properties to this button.
19929         (diary-fancy-display): Don't extend the button to the final newline.
19930         (diary-fancy-display-mode): Continue to define "q" as a local key.
19932         * calendar/cal-china.el (holiday-chinese): Make it slightly more
19933         efficient.
19935         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19937         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19938         (byte-compile-dest-file-function): New option.
19939         (byte-compile-dest-file): Doc fix.
19940         Obey byte-compile-dest-file-function.
19941         (byte-compile-cl-file-p): New function.
19942         (byte-compile-eval): Only suppress noruntime warnings about cl functions
19943         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
19944         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19945         than for file being previously loaded.
19946         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19947         (byte-compile-file-form-require): Handle the case where requiring a file
19948         indirectly causes CL to be loaded.
19950 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19952         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19953         before killing the old buffer, since by the time `kill-buffer' is
19954         run so many buffer variables have been set to nil that it may not
19955         behave as expected.  (Bug#4061)
19957 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19959         * files.el (find-alternate-file): If the old buffer is modified
19960         and visiting a file, behave similarly to `kill-buffer' when
19961         killing it, thus reverting to the pre-1.878 behavior; see
19962         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19963         for discussion.  Also, consult `buffer-file-name' as a variable
19964         not as a function, for consistency with the rest of the code.
19966 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
19968         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19969         also when adding a new directory.
19971         * net/tramp-compat.el (tramp-compat-line-beginning-position):
19972         New defun.
19974 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19976         * files.el (locate-file-completion-table): Make it provide boundary
19977         information, so partial-completion works better.
19979 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
19981         * mail/footnote.el (Footnote-text-under-cursor):
19982         Check footnote-text-marker-alist before using it (bug#4324).
19984 2009-09-04  Glenn Morris  <rgm@gnu.org>
19986         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19987         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19988         * play/solitaire.el, play/tetris.el:
19989         Remove leading * from defcustom and defface docs.
19991         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19992         necessary.
19993         (diary-fancy-overriding-map): New variable.
19994         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19995         Use view-mode.
19997         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19998         goto-line.
20000 2009-09-03  Glenn Morris  <rgm@gnu.org>
20002         * arc-mode.el (archive-mode):
20003         * dos-fns.el (set-default-process-coding-system):
20004         * man.el (Man-getpage-in-background):
20005         * menu-bar.el (menu-bar-describe-menu):
20006         * server.el (server-process-filter):
20007         * startup.el (command-line):
20008         * tar-mode.el (tar-header-block-tokenize, tar-extract):
20009         * w32-fns.el (set-default-process-coding-system):
20010         * x-dnd.el (x-dnd-handle-file-name):
20011         * international/mule-cmds.el (mule-menu-keymap)
20012         (set-default-coding-systems, language-info-alist, set-language-info)
20013         (set-language-environment, standard-display-european-internal)
20014         (set-locale-environment):
20015         * international/mule-diag.el (mule-diag):
20016         * mail/emacsbug.el (report-emacs-bug):
20017         * mail/rmail.el (rmail-mode):
20018         * mail/sendmail.el (mail-setup):
20019         Use default-value rather than default-enable-multibyte-characters.
20021         * progmodes/f90.el: Move all safe properties into the defcustoms.
20022         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20024         * calendar/appt.el (appt-check):
20025         * calendar/diary-lib.el (diary-set-header, diary-live-p)
20026         (diary-check-diary-file, diary-list-entries)
20027         (diary-include-other-diary-files, diary-simple-display)
20028         (diary-fancy-display, diary-print-entries)
20029         (diary-mark-included-diary-files, diary-make-entry):
20030         Don't call substitute-in-file-name on diary-file.
20032 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
20033             Stefan Monnier  <monnier@iro.umontreal.ca>
20035         * mail/footnote.el (footnote-prefix): Make it a defcustom.
20036         (footnote-mode-map): Move initialization into the declaration.
20037         (footnote-minor-mode-map): Define it rather than changing global-map.
20038         (footnote-mode): Use define-minor-mode.
20040 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
20042         * net/tramp.el (tramp-handle-file-attributes-with-ls)
20043         (tramp-do-file-attributes-with-perl)
20044         (tramp-do-file-attributes-with-stat): Rename from
20045         `tramp-handle-file-attributes-with-*'.
20046         (tramp-handle-file-attributes): Use them.
20047         (tramp-do-directory-files-and-attributes-with-perl)
20048         (tramp-do-directory-files-and-attributes-with-stat): Rename from
20049         `tramp-handle-directory-files-and-attributes-with-*'.
20050         (tramp-handle-directory-files-and-attributes): Use them.
20051         (tramp-method-out-of-band-p): Additional parameter SIZE.
20052         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20053         (tramp-handle-write-region): Use it.
20054         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20055         (tramp-handle-vc-registered): Check, whether the first run did
20056         return files to be tested.
20057         (tramp-advice-make-auto-save-file-name): Do not call directly
20058         `tramp-handle-make-auto-save-file-name', because this would bypass
20059         the locking mechanism.
20061         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20062         (file-remote-p, process-file, start-file-process, set-file-times)
20063         (tramp-compat-file-attributes): Compatibility functions shall not
20064         call directly `tramp-handle-*', because this would bypass the
20065         locking mechanism.
20066         (tramp-compat-number-sequence): New defun.
20068 2009-09-02  Glenn Morris  <rgm@gnu.org>
20070         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20071         alias for float-time.
20072         (time-to-number-of-days): In Emacs, use float-time.
20073         * net/newst-backend.el (time-add): Suppress warnings from compat
20074         function.
20075         * time.el (emacs-uptime, emacs-init-time):
20076         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20077         Use float-time rather than time-to-seconds.
20079         * minibuffer.el (completion-initials-expand): Fix typo.
20081         * faces.el (modeline, modeline-inactive, modeline-highlight)
20082         (modeline-buffer-id):
20083         * info.el (info-menu-5): Mark these face aliases as obsolete.
20085 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
20087         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20088         space ...
20089         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20090         no "--thread" option.
20091         (gdb-stopped): Don't print "Switched to thread" message when it is
20092         unchanged.
20094 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20096         * minibuffer.el (completion-try-completion)
20097         (completion-all-completions): Remove ill-defined (and
20098         mistakenly installed and luckily never used nor documented)
20099         `completion-styles' property.
20100         (completion-initials-expand, completion-initials-all-completions)
20101         (completion-initials-try-completion): New functions.
20102         (completion-styles-alist): Add doc to each entry.
20103         Add new `initials' entry.
20105 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
20107         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20108         MI command -var-evaluate-expression.
20109         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20110         and tweak for case of string child.
20111         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20113 2009-09-01  Glenn Morris  <rgm@gnu.org>
20115         * add-log.el (change-log-date-face, change-log-name-face)
20116         (change-log-email-face, change-log-file-face, change-log-list-face)
20117         (change-log-conditionals-face, change-log-function-face)
20118         (change-log-acknowledgement-face):
20119         * cus-edit.el (custom-invalid-face, custom-rogue-face)
20120         (custom-modified-face, custom-set-face, custom-changed-face)
20121         (custom-saved-face, custom-button-face, custom-button-pressed-face)
20122         (custom-documentation-face, custom-state-face, custom-comment-face)
20123         (custom-comment-tag-face, custom-variable-tag-face)
20124         (custom-variable-button-face, custom-face-tag-face)
20125         (custom-group-tag-face-1, custom-group-tag-face):
20126         * diff-mode.el (diff-header-face, diff-file-header-face)
20127         (diff-index-face, diff-hunk-header-face, diff-removed-face)
20128         (diff-added-face, diff-changed-face, diff-function-face)
20129         (diff-context-face, diff-nonexistent-face):
20130         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20131         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20132         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20133         (Info-title-4-face):
20134         * isearch.el (isearch-lazy-highlight-face):
20135         * log-view.el (log-view-file-face, log-view-message-face):
20136         * paren.el (show-paren-match-face, show-paren-mismatch-face):
20137         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20138         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20139         (cvs-msg-face):
20140         * smerge-mode.el (smerge-mine-face, smerge-other-face)
20141         (smerge-base-face, smerge-markers-face):
20142         * wid-edit.el (widget-documentation-face, widget-button-face)
20143         (widget-field-face, widget-single-line-field-face)
20144         (widget-inactive-face, widget-button-pressed-face):
20145         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20146         (woman-addition-face):
20147         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20148         (eshell-ls-executable-face, eshell-ls-readonly-face)
20149         (eshell-ls-unreadable-face, eshell-ls-special-face)
20150         (eshell-ls-missing-face, eshell-ls-archive-face)
20151         (eshell-ls-backup-face, eshell-ls-product-face)
20152         (eshell-ls-clutter-face):
20153         * eshell/em-prompt.el (eshell-prompt-face):
20154         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20155         * obsolete/old-whitespace.el (whitespace-highlight-face):
20156         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20157         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20158         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20159         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20160         (antlr-font-lock-literal-face):
20161         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20162         (ebrowse-root-class-face, ebrowse-file-name-face)
20163         (ebrowse-default-face, ebrowse-member-attribute-face)
20164         (ebrowse-member-class-face, ebrowse-progress-face):
20165         * progmodes/make-mode.el (makefile-space-face):
20166         * progmodes/sh-script.el (sh-heredoc-face):
20167         * textmodes/flyspell.el (flyspell-incorrect-face)
20168         (flyspell-duplicate-face):
20169         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20170         * textmodes/texinfo.el (texinfo-heading-face):
20171         Mark face aliases with "-face" suffix as obsolete.
20173         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20174         compiler.
20176         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20177         (eudc-bob-sound-menu): Use defvar rather than defconst, since
20178         easy-menu-define wants to modify these.
20180         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20182         * net/browse-url.el (browse-url-file-url):
20183         * term/internal.el (dos-codepage-setup):
20184         Use default-value rather than default-enable-multibyte-characters.
20186         * progmodes/etags.el (etags-goto-tag-location):
20187         * progmodes/flymake.el (flymake-highlight-line)
20188         (flymake-goto-file-and-line, flymake-goto-line):
20189         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20190         (gdb-goto-breakpoint):
20191         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20192         * progmodes/python.el (python-find-function)
20193         (python-pdbtrack-track-stack-file):
20194         * progmodes/verilog-mode.el (verilog-surelint-off):
20195         * term/ns-win.el (ns-open-file-select-line):
20196         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20197         Use forward-line rather than goto-line.
20199         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20200         * textmodes/reftex-index.el (reftex-display-index):
20201         * textmodes/reftex-ref.el (reftex-offer-label-menu):
20202         * textmodes/reftex-toc.el (reftex-toc):
20203         Remove unnecessary bindings of default-major-mode (all are followed by
20204         major-mode check and possible mode switch).
20206 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20208         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20209         Handle watchpoints (bug#4282).
20210         (def-gdb-thread-buffer-command): Enable thread to be selected by
20211         clicking without selecting threads buffer first.
20212         (gdb-current-context-command): Use selected frame so that "up",
20213         "down" etc work in the GUD buffer.
20214         (gdb-update): Find selected frame before rendering stack buffer.
20215         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20217 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20219         * progmodes/sym-comp.el (displayed-completions): Remove.
20220         (symbol-complete): Use minibuffer-complete.
20222 2009-08-31  Glenn Morris  <rgm@gnu.org>
20224         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20226         * apropos.el (apropos-symbols-internal):
20227         Handle (obsolete) face aliases.
20229         * faces.el (describe-face): Adjust the output format to be more like
20230         describe-variable, and to mention (obsolete) face aliases.
20231         Adjust the whitespace so that help-setup-xref works.
20233         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20234         * calendar/diary-lib.el (diary-button-face):
20235         Mark these face aliases as obsolete.
20237         * calendar/calendar.el (calendar-today): Doc fix.
20239 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20241         * progmodes/gdb-mi.el (gdb-control-all-threads)
20242         (gdb-control-current-thread): Force tool bar update.
20243         (gdb-non-stop-handler): New function.
20244         (gdb-init-1): Use it to test if non-stop mode is supported.
20245         Remove unused gdbmi buffer type.
20247 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
20249         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20250         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
20252 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
20254         * comint.el (comint-exec-1): Check command is non-null first.
20255         Part of gdb-mi.el change (2009-08-28).
20257 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20259         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20261 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
20263         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20264         instead of `dolist' to avoid a recursive require when bootstrapping.
20266 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20268         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20270         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20272         * net/imap.el (imap-send-command): Simplify.
20273         (imap-wait-for-tag): point-max -> buffer-size.
20275         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20277         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20278         with constant argument.
20280         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20282         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20284         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20285         Change default, since most of our files don't have a history.
20286         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20287         the user.
20289         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20290         Add comint-run.
20292         * calc/calc.el: Improve commenting convention.
20293         (calc-digit-map, toplevel): Simplify.
20295         * comint.el (comint-insert-input): Be careful to only set point if we
20296         don't delegate to some other command.
20298         * proced.el (proced-signal-list): Make it an alist.
20299         (proced-grammar-alist): Capitalize names.
20300         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20301         Disable undo manually and make it read-only.
20302         Use completion-annotate-function.
20304         * minibuffer.el (minibuffer-message): If the current buffer is not
20305         a minibuffer, insert the message in the echo area rather than at the
20306         end of the buffer.
20307         (completion-annotate-function): New variable.
20308         (minibuffer-completion-help): Use it.
20309         (completion--embedded-envvar-table): Environment vars are
20310         always case-sensitive.
20312 2009-08-30  Glenn Morris  <rgm@gnu.org>
20314         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20315         from fortran-current-defun.
20316         (fortran-beginning-of-subprogram): Be more precise about finding the
20317         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
20318         (fortran-end-of-subprogram): Simplify.
20319         (fortran-current-defun): Use fortran-start-prog-re.
20321 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
20323         * subr.el (do-after-load-evaluation): Simplify.
20325 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
20327         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20329         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
20330         (vc-rcs-print-log): Use it.
20332         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20334 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20336         * paths.el (abbrev-file-name): Move to abbrev.el.
20337         * abbrev.el (abbrev-file-name): Move from paths.el.
20338         Obey user-emacs-directory.
20339         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20340         user-emacs-directory.
20341         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20342         abbrev-file-name and calc-settings-file any more.
20343         * startup.el (command-line): Recompute abbrev-file-name and
20344         abbreviated-home-dir.
20345         (normal-no-mouse-startup-screen): Improve the generic code and get rid
20346         of the special code for when C-h bindings haven't been changed.
20347         (display-startup-echo-area-message): Use with-current-buffer.
20348         (command-line-1): Use a list of strings, rather than a list of lists
20349         of strings for longopts.
20351         * files.el (get-free-disk-space): Use / for default-directory.
20353         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20354         Use with-current-buffer.
20356         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20357         Recognize immutable variables like most-positive-fixnum.
20358         (byte-compile-setq-default): Check and warn if trying to assign
20359         to an immutable variable, or a non-variable.
20361         * progmodes/cc-vars.el (c-comment-continuation-stars):
20362         * progmodes/cc-engine.el (c-looking-at-bos):
20363         * progmodes/cc-cmds.el (c-toggle-auto-state)
20364         (c-forward-into-nomenclature, c-backward-into-nomenclature)
20365         (c-comment-line-break-function): Add version of obsolescence.
20367 2009-08-28  Juri Linkov  <juri@jurta.org>
20369         * files.el (magic-fallback-mode-alist): Add ZIP magic number
20370         associated with `archive-mode'.
20372         * image.el (image-type-header-regexps): Use only JPEG magic number
20373         to determine JPEG images, and don't use `image-jpeg-p' because
20374         Emacs can display non-JFIF non-Exif JPEG images.
20376 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20378         * arc-mode.el (archive-mode):
20379         * emacs-lisp/re-builder.el (re-builder-unload-function):
20380         Protect against the default value of `major-mode' being nil.
20382 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20384         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20385         Fix typos in docstrings.
20387         * progmodes/js.el (js--macro-decl-re): Doc fix.
20388         (js--plain-method-re, js--split-name): Refloc docstring.
20389         (js--class-styles, js--make-merged-item, js--splice-into-items):
20390         Fix typos in docstrings; reflow docstrings.
20391         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20392         (js--variable-decl-matcher, js--inside-pitem-p)
20393         (js--parse-state-at-point, js--get-all-known-symbols)
20394         (js--symbol-history, js-find-symbol, js--js-references)
20395         (js--moz-interactor, js--js-encode-value, js--read-tab):
20396         Fix typos in docstrings.
20398 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20400         * textmodes/reftex.el (reftex-get-file-buffer-force):
20401         * progmodes/verilog-mode.el (verilog-batch-execute-func):
20402         * emulation/viper.el (viper-go-away, viper-set-hooks):
20403         * emacs-lisp/re-builder.el (re-builder-unload-function):
20404         * emacs-lisp/bytecomp.el (byte-compile-file):
20405         * ses.el (ses-unload-function):
20406         * hexl.el (hexl-find-file):
20407         * files.el (normal-mode):
20408         * ehelp.el (with-electric-help):
20409         * autoinsert.el (auto-insert-alist):
20410         * arc-mode.el (archive-mode):
20411         Use (default-value 'major-mode) instead of default-major-mode.
20413         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20414         * international/mule.el (load-with-code-conversion):
20415         * emacs-lisp/debug.el (debug):
20416         * ediff-vers.el (ediff-rcs-get-output-buffer):
20417         * dired.el (dired-internal-noselect): Don't let-bind
20418         default-major-mode around code that doesn't use it.
20419         E.g. buffer creation via get-buffer-create doesn't use it.
20421 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
20423         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20424         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20425         when writing the temp file.  Otherwise, epa-file gets confused.
20426         (tramp-register-file-name-handlers): Make it a defun.  Move also
20427         `epa-file-handler' to the front of `file-name-handler-alist'.
20429 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20431         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20432         start right after a ^M.
20433         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20434         (tramp-completion-file-name-regexp-separate)
20435         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20436         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20437         Don't modify last-coding-system-used by accident.
20438         (tramp-completion-file-name-handler): Apply the checks here,
20439         instead during registration.
20440         (tramp-register-file-name-handlers): Rename from
20441         `tramp-register-file-name-handler'.  Register both
20442         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20443         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
20445 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
20447         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20448         Remove variable ...
20449         (gdb-init-1, gdb-display-separate-io-buffer)
20450         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20451         references to it.
20452         (gdb-inferior-io-mode): Use make-comint-in-buffer.
20453         (gdb-inferior-filter): Use comint-output-filter to stop
20454         echoing and remove ^M characters.
20456 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20458         * emulation/viper-init.el (viper-restore-cursor-type):
20459         * emulation/cua-base.el (cua--update-indications):
20460         Replace default-cursor-type with (default-value 'cursor-type).
20462         * mail/sendmail.el (mail-recover-1):
20463         * international/mule-diag.el (describe-current-coding-system-briefly)
20464         (describe-current-coding-system):
20465         * international/mule-cmds.el (select-safe-coding-system)
20466         (select-message-coding-system)
20467         (set-language-environment-coding-systems, set-locale-environment):
20468         * hexl.el (hexl-insert-multibyte-char):
20469         * dos-w32.el (find-buffer-file-type-coding-system):
20470         * simple.el (what-cursor-position):
20471         Replace uses of default-buffer-file-coding-system
20472         with (default-value 'buffer-file-coding-system).
20474         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20475         Replace uses of default-cursor-in-non-selected-windows
20476         with (default-value 'cursor-in-non-selected-windows).
20477         Use with-current-buffer.
20479         * mail/feedmail.el: Use CL macros.
20480         (feedmail-run-the-queue, feedmail-send-it-immediately):
20481         * dos-w32.el (find-buffer-file-type): Replace uses of
20482         default-buffer-file-type with (default-value 'buffer-file-type).
20484 2009-08-28  Glenn Morris  <rgm@gnu.org>
20486         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20487         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20488         Use default-value of major-mode rather than default-major-mode.
20490 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20492         * Makefile.in (update-elcfiles): Report left over elc files.
20494         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20495         expand-file-name and with-current-buffer.
20496         (mail-get-names, mail-directory): Use with-current-buffer.
20498         * vc.el (vc-read-revision): New function.
20499         (vc-version-diff, vc-merge): Use it.
20501 2009-08-27  Sam Steingold  <sds@gnu.org>
20503         * simple.el (kill-do-not-save-duplicates): New user option.
20504         (kill-new): When it is non-nil, and the new string is the same as
20505         the latest kill, set replace to t to avoid duplicates in kill-ring.
20507 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
20509         * net/tramp.el (tramp-handle-process-file): Do not flush all
20510         caches when `process-file-side-effects' is set.
20511         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20512         instead of `tramp-find-file-exists-command'.
20513         Unset `process-file-side-effects'.
20515 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
20517         * net/tramp.el (tramp-methods): New method "rsyncc".
20518         (top): Add completion function for "rsyncc".
20519         (tramp-message-show-message): New defvar.
20520         (tramp-message, tramp-error): Use it.
20521         (tramp-do-copy-or-rename-file-directly): Extend check for direct
20522         remote copying.
20523         (tramp-do-copy-or-rename-file-out-of-band): Handle new
20524         `tramp-methods' entry `copy-env' of "rsyncc".
20525         (tramp-vc-registered-read-file-names): New defconst.
20526         (tramp-vc-registered-file-names): New defvar.
20527         (tramp-handle-vc-registered): Implement optimization strategy.
20528         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20529         (tramp-vc-file-name-handler): New defun.
20530         (tramp-get-ls-command, tramp-get-test-command)
20531         (tramp-get-file-exists-command, tramp-get-remote-ln)
20532         (tramp-get-remote-perl, tramp-get-remote-stat)
20533         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20535         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20536         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
20537         timestamps.
20538         (tramp-get-file-property): Check for timestamps in
20539         `tramp-cache-inhibit-cache'.
20540         (tramp-set-file-property): Write timestamp.
20542 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20544         * language/japan-util.el (japanese-symbol-table): Add entries for
20545         cp932-2-byte.
20547         * international/characters.el: Add category `j' to cp932-2-byte.
20549 2009-08-27  Kenichi Handa  <handa@m17n.org>
20551         * international/fontset.el (build-default-fontset-data): New macro.
20552         (setup-default-fontset): Use build-default-fontset-data for CJK,
20553         tibetan, ethiopic, and ipa.
20555 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20557         * cus-start.el (default-major-mode): Customize `major-mode' instead.
20558         (enable-multibyte-characters): Not customizable any more.
20560         * subr.el (default-mode-line-format, default-header-line-format)
20561         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20562         (default-direction-reversed, default-truncate-lines)
20563         (default-left-margin, default-tab-width, default-case-fold-search)
20564         (default-left-margin-width, default-right-margin-width)
20565         (default-left-fringe-width, default-right-fringe-width)
20566         (default-fringes-outside-margins, default-scroll-bar-width)
20567         (default-vertical-scroll-bar, default-indicate-empty-lines)
20568         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20569         (default-fringe-cursor-alist, default-scroll-up-aggressively)
20570         (default-scroll-down-aggressively, default-fill-column)
20571         (default-cursor-type, default-buffer-file-type)
20572         (default-cursor-in-non-selected-windows)
20573         (default-buffer-file-coding-system, default-major-mode)
20574         (default-enable-multibyte-characters): Mark as obsolete.
20576 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
20578         * vc-dir.el (vc-dir-update): Remove debug helper.
20580         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20582 2009-08-26  Sam Steingold  <sds@gnu.org>
20584         * simple.el (save-interprogram-paste-before-kill): New user option.
20585         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20586         save the interprogram-paste into kill-ring before overriding it
20587         with the Emacs kill.
20589 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20591         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20592         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20593         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20594         and move to vc-rcs.el.
20595         (vc-default-next-revision): Rename to vc-rcs-next-revision and
20596         move to vc-rcs.el.
20597         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20598         (vc-rcs-update-changelog): Remove.
20599         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20600         and move to vc-rcs.el.
20602         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20603         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20604         renaming.
20605         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20606         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20607         vc.el, renamed to be RCS specific.
20609         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20610         New functions.
20611         (vc-cvs-update-changelog): Move here from vc.el.
20613         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20614         New functions.
20616 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20618         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20620 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20622         * vc-git.el (vc-git-register): Use "git add" for directories.
20623         (vc-git-stash, vc-git-stash-show): New functions.
20624         (vc-git-extra-menu-map): Bind them.
20626         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20627         directory correctly in case the item is a directory itself.
20629         * vc.el: Document the desired behavior for reverted files in the
20630         `added' state.
20631         (vc-default-prettify-state-info): Remove function, unused.
20633         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20635 2009-08-26  Glenn Morris  <rgm@gnu.org>
20637         * bindings.el (standard-mode-line-format): Reposition dashes in
20638         which-func entry.  (Bug#4217)
20640         * files.el (enable-local-variables, enable-local-eval)
20641         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20642         the defcustoms.
20643         (auto-mode-alist, ignored-local-variables)
20644         (save-some-buffers-action-alist): Move risky declarations to the
20645         definitions.
20646         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20647         (font-lock-defaults, format-alist, imenu--index-alist)
20648         (imenu-generic-expression, input-method-alist, minor-mode-alist)
20649         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20650         (mode-line-modified, mode-line-mule-info, mode-line-position)
20651         (mode-line-process, mode-line-remote, outline-level)
20652         (parse-time-rules, rmail-output-file-alist)
20653         (special-display-buffer-names, vc-mode):
20654         Move risky declarations to the relevant files.
20655         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20656         (mode-line-modified, mode-line-process, mode-line-position)
20657         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20658         * font-core.el (font-lock-defaults):
20659         * format.el (format-alist):
20660         * vc-hooks.el (vc-mode):
20661         * window.el (special-display-buffer-names):
20662         * international/mule-cmds.el (input-method-alist):
20663         Define riskiness here (dumped file) rather than in files.el.
20664         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20665         * imenu.el (imenu-generic-expression, imenu--index-alist):
20666         * outline.el (outline-level):
20667         * time.el (display-time-string):
20668         * calendar/parse-time.el (parse-time-rules):
20669         * mail/rmailout.el (rmail-output-file-alist):
20670         Autoload riskiness here, rather than placing in files.el.
20672 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
20674         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20676 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
20678         * simple.el (process-file-side-effects): New defvar.
20680         * dired-aux.el (dired-show-file-type):
20681         * vc.el (vc-diff-internal):
20682         * vc-arch.el (vc-arch-diff):
20683         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20684         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20685         * vc-git.el (vc-git-registered, vc-git-working-revision)
20686         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20687         (vc-git--empty-db-p):
20688         * vc-hooks.el (vc-user-login-name):
20689         * vc-svn.el (vc-svn-registered, vc-svn-state)
20690         (vc-svn-dir-extra-headers, vc-svn-find-revision):
20691         * progmodes/grep.el (grep-probe): Let-bind
20692         `process-file-side-effects' with nil.
20694         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20696         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20697         daemon.  Replace ping by checking for running service for bluez
20698         and zeroconf.  (Bug#4239)
20700 2009-08-25  Kevin Ryde  <user42@zip.com.au>
20702         * net/dig.el (dig): Add autoload cookie.
20704 2009-08-25  Glenn Morris  <rgm@gnu.org>
20706         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20707         load-history for absolute file-names.
20708         (byte-compile-file-form-require): Warn about use of the cl package.
20710         * format.el (format-alist): Doc fix.
20712         * play/bubbles.el (top-level): Don't require cl at run-time.
20714         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20715         run-time cl).
20717 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
20719         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20720         from cl package.
20721         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20723 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
20725         * calc/calc-alg.el (math-trig-rewrite)
20726         (math-hyperbolic-trig-rewrite): New functions.
20727         (calc-simplify): Simplify trig functions when asked.
20729 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20731         * diff-mode.el (diff-find-source-location): Avoid goto-line.
20733 2009-08-24  Kenichi Handa  <handa@m17n.org>
20735         * language/ind-util.el (mapthread): Delete it.
20736         (combinatorial): New function.
20737         (indian--puthash-cv): Use combinatorial instead of mapthread.
20739 2009-08-22  Kevin Ryde  <user42@zip.com.au>
20741         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20742         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20743         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20744         Clarify docstring that the value is strings not symbols.
20745         (checkdoc-list-of-strings-p): New function.
20747 2009-08-22  Glenn Morris  <rgm@gnu.org>
20749         * files.el (auto-mode-alist):
20750         * hippie-exp.el (he-concat-directory-file-name):
20751         * lpr.el (lpr-windows-system, printer-name):
20752         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20753         * ps-print.el (ps-windows-system):
20754         * startup.el (command-line):
20755         * emulation/viper-ex.el (viper-glob-function):
20756         * international/mule-cmds.el (set-language-environment-coding-systems):
20757         * net/ange-ftp.el (ange-ftp-write-region):
20758         * obsolete/fast-lock.el (fast-lock-cache-name):
20759         Remove code for defunct system-types emx, macos, mswindows, next-mach,
20760         unisoft-unix, vax-vms, win32, w32.
20762         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20763         given name if the pattern is not more specific.
20765         * calendar/lunar.el (lunar-phase-names): New option.
20766         (lunar-phase): Doc fix.
20767         (lunar-cycles-per-year): New constant.
20768         (lunar-index): New function.
20769         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20770         (lunar-phase-name): Use lunar-phase-names.
20771         (calendar-lunar-phases): Use format.
20772         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20774         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20775         Copy imenu-example--name-and-position function here for own use.
20776         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20778         * bs.el (bs--redisplay):
20779         * cus-edit.el (custom-redraw):
20780         * ibuffer.el (ibuffer-bury-buffer):
20781         * server.el (server-goto-line-column):
20782         * startup.el (command-line-1):
20783         * strokes.el (strokes-xpm-for-stroke):
20784         * term.el (term-display-buffer-line):
20785         * view.el (View-goto-line):
20786         * calc/calc.el (calc-do, calc-trail-buffer):
20787         * play/gamegrid.el (gamegrid-add-score-insecure):
20788         * progmodes/ada-mode.el (ada-compile-goto-error):
20789         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20790         (ebrowse-select-1st-to-9nth):
20791         * progmodes/cperl-mode.el (cperl-time-fontification):
20792         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20793         * progmodes/gud.el (gud-display-line):
20794         (idlwave-shell-display-line):
20795         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20796         * progmodes/make-mode.el (makefile-browser-toggle):
20797         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20798         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20799         * textmodes/picture.el (picture-draw-rectangle):
20800         * textmodes/reftex-index.el (reftex-index-goto-letter):
20801         (reftex-select-jump-to-previous):
20802         * textmodes/reftex-sel.el (reftex-find-start-point)
20803         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20804         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20805         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20806         * textmodes/tex-mode.el (tex-compilation-parse-errors):
20807         * textmodes/two-column.el (2C-associated-buffer):
20808         Use forward-line rather than goto-line.
20810         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20811         goto-line.
20813         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20814         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20815         (quick-check-list-to-regexp): Declare.
20817         * progmodes/make-mode.el (makefile-browser-insert-selection):
20818         Use goto-char rather than goto-line.
20820         * progmodes/prolog.el (compilation-error-regexp-alist)
20821         (compilation-forget-errors): Declare.
20823 2009-08-22  Juri Linkov  <juri@jurta.org>
20825         * progmodes/grep.el (lgrep, rgrep): At the beginning
20826         set `dir' to `default-directory' unless `dir' is a non-nil
20827         readable directory.  (Bug#4052)
20828         (lgrep, rgrep): Change a weird way to report an error
20829         from using `read-string' to using `error'.
20830         Instead of using interactive arguments in the function body,
20831         add new argument `confirm'.
20833 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20835         * textmodes/remember.el (remember-buffer):
20836         * progmodes/cperl-mode.el (cperl-vc-header-alist):
20837         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20838         (icalendar-extract-ical-from-buffer):
20839         * net/newst-treeview.el (newsticker-groups-filename):
20840         * net/newst-backend.el (newsticker-cache-filename):
20841         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20842         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20843         (speedbar-add-ignored-path-regexp, speedbar-line-path)
20844         (speedbar-buffers-line-path, speedbar-path-line)
20845         (speedbar-buffers-line-path):
20846         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20847         (epg-sign-keys):
20848         * epa.el (epa-display-verify-result):
20849         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20851 2009-08-21  Glenn Morris  <rgm@gnu.org>
20853         * progmodes/js.el (inferior-moz-process): Fix declaration.
20855         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20857         * obsolete/rnewspost.el (news-mail-reply):
20858         Use goto-char rather than goto-line.
20860         * term/ns-win.el (ns-open-file-select-line):
20861         Use line-beginning-position rather than goto-line.
20863         * apropos.el (apropos-command):
20864         * ehelp.el (electric-helpify):
20865         * printing.el (pr-show-setup):
20866         * strokes.el (strokes-help):
20867         * tutorial.el (tutorial--describe-nonstandard-key)
20868         (tutorial--detailed-help):
20869         * woman.el (woman-mini-help, woman-display-extended-fonts):
20870         * calc/calc-help.el (calc-describe-key):
20871         * emulation/edt.el (edt-electric-helpify):
20872         * international/mule-diag.el (mule-diag):
20873         * play/yow.el (apropos-zippy):
20874         * progmodes/python.el (python-describe-symbol):
20875         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20876         * textmodes/table.el (*table--cell-describe-mode)
20877         (*table--cell-describe-bindings):
20878         Use help-print-return-message rather than the now obsolete alias.
20880         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20881         (calendar-cursor-to-visible-date):
20882         * play/5x5.el (5x5-position-cursor):
20883         * play/decipher.el (decipher):
20884         * play/gomoku.el (gomoku-goto-xy):
20885         * play/landmark.el (lm-goto-xy):
20886         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20887         (mpuz-paint-digit):
20888         Use forward-line, not goto-line.
20890         * mail/rmail.el (rmail-obsolete): Delete custom group.
20891         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20892         (rmail-remote-password, rmail-remote-password-required):
20893         Remove unneeded :set-after and :set properties.
20895 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
20897         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20899 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
20901         * loadup.el: Remove leftover macos code.
20903         * vc-git.el (vc-git-annotate-command): Run asynchronously.
20904         Explicitly pass the date format to git blame so that user local
20905         so that the output format can be parsed.
20907 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
20909         * net/dbus.el (top): Don't check for (getenv
20910         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
20912 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
20914         * log-edit.el (log-edit-strip-single-file-name): New var.
20915         (log-edit-insert-changelog): Use it.  Bug#3571.
20917 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20919         * subr.el (read-passwd): Use read-key so keypad keys work as well.
20920         Bug#3287.
20922         * help.el (help-print-return-message): Rename from
20923         print-help-return-message.
20925         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20926         cvs-mode-map parent hack.
20927         (log-view-mode): Derive from special-mode.
20929         * linum.el (linum-mode): window-size-change-functions is redundant.
20930         Adapt to new window-configuration-change-hook behavior.
20931         (linum-after-size, linum-after-config): Remove.
20933         * imenu.el (imenu-example--name-and-position)
20934         (imenu-example--lisp-extract-index-name)
20935         (imenu-example--create-lisp-index, imenu-example--create-c-index):
20936         Mark as obsolete.
20938         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20939         (inferior-prolog-mode): Use it.
20940         (inferior-prolog-load-file): Reset list of errors.
20942 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20944         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20946         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20948 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
20950         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20951         is running already.
20953 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20955         * subr.el (listify-key-sequence-1): Use normal syntax since those
20956         integers are nowadays always represented by the same (positive) number
20957         on all platforms.
20958         (read-key-empty-map): New const.
20959         (read-key-delay): New var.
20960         (read-key): New function.
20961         (force-mode-line-update): Use with-current-buffer.
20962         (locate-user-emacs-file): Don't forget to abbreviate the file name.
20963         (start-process-shell-command, start-file-process-shell-command):
20964         Discourage the use of command-args.
20966 2009-08-19  Glenn Morris  <rgm@gnu.org>
20968         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20970 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20972         * simple.el (choose-completion-string): Don't rely on
20973         minibuffer-completing-file-name and ad-hoc checks to decide whether
20974         to continue completion or not.
20976         * minibuffer.el (minibuffer-hide-completions): New function.
20977         (completion--do-completion): Use it.
20978         (completions-annotations): New face.
20979         (completion--insert-strings): Use it.
20980         (completion-pcm--delim-wild-regex): Add docstring.
20981         (completion-pcm--string->pattern): Add support for 0-width delimiters
20982         in completion-pcm--delim-wild-regex.
20984 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20986         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20987         Remove unused var `buffer-modified-p'.
20989         * minibuffer.el (completion--do-completion): Move point for the #b001
20990         case as well (bug#4176).
20991         (minibuffer-complete, minibuffer-complete-word): Don't move point.
20993 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
20995         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
20996         and :session buses.
20998 2009-08-18  Kenichi Handa  <handa@m17n.org>
21000         * international/ucs-normalize.el (ucs-normalize-version):
21001         Change to 1.1.
21002         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21003         (utf-8-hfs): Make it perform normalization on encoding too.
21005         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
21006         (sentence-end-without-space): Delete duplicated chars.
21007         (sentence-end-base): Likewise.
21009         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
21010         (html-mode): Delete duplicated chars from sentence-end-base.
21012         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
21013         (texinfo-mode): Delete duplicated chars from sentence-end-base.
21015 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
21017         * files.el (hack-one-local-variable): If the mode function is for
21018         a minor mode, pass it an argument (Bug#4148).
21020 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
21022         * net/tramp.el (tramp-register-completion-file-name-handler):
21023         Check also for (member 'partial-completion completion-styles).
21025 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21027         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21028         abbrev (Bug#3943).
21030 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
21032         * progmodes/cperl-mode.el: Merge upstream 6.2.
21033         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21034         (cperl-forward-re): Check cperl-brace-recursing.
21035         (cperl-highlight-charclass): New function.
21036         (cperl-find-pods-heres): Use it.
21037         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21038         (cperl-beautify-regexp-piece): Fix column calculation.
21039         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21040         (cperl-beautify-level): Don't process entire regexp.
21041         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21042         calling man.
21043         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21044         (cperl-init-faces): Build a list in the normal way.
21046 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21048         * calendar/parse-time.el (parse-time-string-chars): Save match
21049         data.
21051 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21053         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21054         (sql-product): Use it.
21055         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21056         (sql-set-product): Add completion.
21057         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21058         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21059         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21060         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21061         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21062         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21063         (sql-highlight-db2-keywords): Remove.
21064         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21065         (sql-highlight-product): Use derived-mode-p.
21066         (sql-set-sqli-buffer): Use with-current-buffer.
21067         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21068         Simplify.
21070         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21072         * term.el: Fix commenting convention, turn comments into docstrings.
21074 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
21076         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21078 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
21080         * calendar/parse-time.el (parse-time-string-chars): Compute using
21081         character classes, to handle non-ascii characters (Bug#3190).
21083 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21085         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21086         another heredoc if the user adds another < (Bug#3226).
21088         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21089         Don't initialize based on window-system (Bug#4124).
21091         * facemenu.el (facemenu-read-color): Use a completion function
21092         that accepts any defined color, such as RGB triplets (Bug#3677).
21094         * files.el (get-free-disk-space): Change fallback default
21095         directory to /.  Expand DIR argument before switching to fallback.
21096         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21098 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
21100         * files.el (load-library): Doc fix.
21102 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
21104         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21105         (viper-if-string): Redefine C-s in the minibuffer to insert the last
21106         incremental search string.
21108         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21109         XEmacs.
21111         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21112         (ediff-merge-region-is-non-clash)
21113         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21114         Also check if the job is really a merge job.
21116         * ediff.el (ediff-current-file): New function.
21118 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
21120         * progmodes/js.el: Edit docstrings throughout to follow Emacs
21121         conventions.
21122         (js-insert-and-indent): Delete function.
21123         (js-mode-map): Don't bind keys to js-insert-and-indent.
21124         (js-beginning-of-defun): Rename from js--beginning-of-defun.
21125         (js-end-of-defun): Rename from js--end-of-defun.
21126         (js-auto-indent-flag): Delete variable.
21128 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
21130         * progmodes/js.el: Remove proclaim statement.
21131         Defvar which-func-imenu-joiner-function to silence compiler.
21133         * files.el (auto-mode-alist): Use js-mode for .js files.
21135         * progmodes/js2-mode.el: Remove file.
21137         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21139         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21141         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21143 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
21144             Karl Landstrom  <karl.landstrom@brgeight.se>
21146         * progmodes/js.el: New file.
21148 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
21150         * timezone.el (timezone-parse-date): Add ability to understand ISO
21151         basic format (minimal separators) dates in addition to the
21152         already-supported extended format dates.
21154 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
21156         * international/ucs-normalize.el: Add a `coding' file variable.
21158         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21160 2009-08-14  Sam Steingold  <sds@gnu.org>
21162         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21164 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
21166         * faces.el (help-argument-name): Define it here instead of
21167         help-fns.el, because in daemon mode help-fns.el may be loaded when
21168         faces are still uninitialized (Bug#1078).
21170         * help-fns.el (help-argument-name): Move defface to faces.el.
21172 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
21174         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21175         create buffer with a pty but no process so that GDB can make the
21176         inferior the controlling process.
21178 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
21180         * international/ucs-normalize.el: New file.
21182 2009-08-13  Richard Stallman  <rms@gnu.org>
21184         * mail/rmail.el (rmail-get-attr-names):
21185         Accept an attribute header that is too short.
21187         * mail/rmail.el (rmail-forget-messages):
21188         Ignore nil elt in rmail-message-vector.  Use dotimes.
21190         * progmodes/compile.el (compilation-goto-locus):
21191         Use next-error-move-function.
21193         * simple.el (next-error-move-function): New variable.
21195 2009-08-12  Juri Linkov  <juri@jurta.org>
21197         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21198         always non-nil.  (Bug#4052)
21200         * replace.el (read-regexp): Return empty string when
21201         `default-value' is nil.
21202         (keep-lines-read-args): Don't use empty string as the
21203         default value for `read-regexp'.  (Bug#2495)
21205 2009-08-12  Juri Linkov  <juri@jurta.org>
21207         * international/mule-cmds.el (ucs-insert): Change arguments
21208         from `arg' to `character', `count', `inherit' to be the same
21209         as in `insert-char'.  Doc fix.  (Bug#4039)
21211         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21213 2009-08-12  Juri Linkov  <juri@jurta.org>
21215         * files-x.el: New file.
21217         * files.el: Move code that deals with adding/deleting
21218         file/directory-local variables to files-x.el.
21220         * Makefile.in (ELCFILES): Add files-x.elc.
21222 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
21224         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21225         to use `goto-line'.
21226         (gdb-place-breakpoints, gdb-get-location): Rewritten without
21227         `goto-line'.
21228         (gdb-invalidate-disassembly): Do not refresh upon receiving
21229         'update signal.  Instead, update all disassembly buffers only after
21230         threads list.
21231         (gdb): Send -target-detach when buffer is killed (Bug#3794).
21232         (gdb-starting): Move -data-list-register-names...
21233         (gdb-stopped): ...here so it's sent when first thread stops.
21234         (gdb-registers-handler-custom): Do nothing if register names are
21235         unknown yet.
21237         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21238         from `gdb-mi.el' to avoid extra tangling.
21240         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21241         change which breaks `gud-def' definitions used in `gdb'.
21242         (gdb-update-gud-running): No extra fuss for updating frame number.
21244 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
21246         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21247         (describe-language-environment-map, setup-language-environment-map)
21248         (set-coding-system-map): Move initialization into declaration.
21249         (set-language-info-alist): Last arg to define-key-after can be skipped.
21251         * international/quail.el (quail-completion-1): Simplify.
21252         (quail-define-rules): Use slightly more compact code.
21253         (quail-insert-decode-map): Propertize keys, compact columns.
21255         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21256         Add goto-line.
21258 2009-08-10  Miles Bader  <miles@gnu.org>
21260         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21261         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21262         (js2-instance-member, js2-private-member, js2-private-function-call)
21263         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21264         (js2-magic-paren, js2-external-variable):
21265         Remove "-face" suffix from face names.
21266         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21267         (js2-highlight-undeclared-vars, js2-peek-token)
21268         (js2-parse-function-params, js2-mode-show-errors)
21269         (js2-mode-show-warnings, js2-make-magic-delimiter)
21270         (js2-mode-highlight-magic-parens): Update to use new face names.
21272 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
21274         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21275         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
21277 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
21279         * subr.el: Provide hashtable-print-readable.
21281         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21282         hs-c-like-adjust-block-beginning.
21283         (hs-hide-block-at-point): Stop hiding at the beginning of
21284         hs-block-end-regexp (Bug#700).
21286 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
21288         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21289         a macro.
21290         (gdb-registers-handler-custom): Do not fail when register names
21291         are unavailable.
21293 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21295         * progmodes/gdb-mi.el (gdb-control-all-threads)
21296         (gdb-control-current-thread): Interactive setters for
21297         `gdb-gud-control-all-threads' to use in menu.
21298         (gdb-show-run-p): Show «Go» when process is not active.
21299         (gud-tool-bar-map): Add non-stop/A,T indicator.
21300         Uses gud/thread.xpm and gud/all.xpm.
21302 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
21304         * net/net-utils.el (net-utils-font-lock-keywords): New var.
21305         (nslookup-font-lock-keywords): Make it a variable.
21306         (net-utils-mode): New mode for viewing diagnostic network output.
21307         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21308         (net-utils-run-simple): New function.
21309         (ifconfig, iwconfig, netstat, arp, route): Use it.
21311 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21313         * progmodes/gdb-mi.el (gdb-read-memory-custom)
21314         (gdb-memory-set-address, def-gdb-set-positive-number)
21315         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21316         after changing settings.
21317         (gdb-invalidate-disassembly): Update when first shown.
21318         (gdb-edit-locals-value): Fix.
21319         (gdb-registers-handler-custom): Print registers in right order and
21320         allow changing register values (only for current thread yet).
21321         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21322         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21323         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21324         (gdb-locals-handler-custom, gdb-registers-handler-custom):
21325         Thread info in mode name.
21326         (gdb-registers-mode-map): TAB to switch to locals.
21328 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
21330         * mail/rmail.el (rmail-add-mbox-headers)
21331         (rmail-set-message-counters-counter): Search for
21332         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
21334 2009-08-08  Glenn Morris  <rgm@gnu.org>
21336         * Makefile.in (ELCFILES): Update.
21338 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21340         * mail/sendmail.el (mail-yank-original):
21341         Set buffer-file-coding-system from the one used by the message whose
21342         text is yanked.
21344         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21345         to "windows" when "pgnuplot" is used.
21346         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21347         Don't call accept-process-output if "pgnuplot" is used.
21348         (calc-graph-init): Don't send -display and -geometry to
21349         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
21350         running "pgnuplot -V" with shell-command-to-string.
21352         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21353         the default.
21355 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21357         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21358         org/org-latex.elc.
21360 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
21362         * vc-dispatcher.el (vc-resynch-window): Update comment.
21364         * term.el (term-handle-ansi-escape): Add comments with the
21365         terminfo capabilities implemented.
21367 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
21369         * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21370         (gdb-var-create-handler): Rewritten using JSON parser.
21371         (gdb-propertize-header): Move earlier.
21372         (gdb-set-header): Remove to avoid duplication.
21373         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21374         Refresh disassembly buffers only after threads list have been
21375         update.
21376         (gdb-threads-header, gdb-registers-header): Per-buffer header line
21377         variables.
21379 2009-08-04  Juri Linkov  <juri@jurta.org>
21381         * files.el: Commands to add/delete file/directory-local variables.
21382         (read-file-local-variable, read-file-local-variable-value)
21383         (read-file-local-variable-mode, modify-file-local-variable)
21384         (modify-file-local-variable-prop-line)
21385         (modify-dir-local-variable): New functions.
21386         (add-file-local-variable, delete-file-local-variable)
21387         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21388         (add-dir-local-variable, delete-dir-local-variable)
21389         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21390         (copy-dir-locals-to-file-locals-prop-line): New commands.
21392 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
21394         * abbrev.el (insert-abbrev-table-description): Prettify output.
21395         Suggested by Karl Chen.
21397 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
21399         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21400         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21401         (gdb-overlay-arrow-position, gdb-thread-position)
21402         (gdb-disassembly-position): Declare variables.
21403         (gdb-wait-for-pending): Function now.
21404         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21405         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21406         compilation goes smoothly.
21407         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21408         (gdb-non-stop-setting): New customization setting which replaces
21409         `gdb-non-stop' so changing it doesn't break active GDB session.
21410         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21411         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21412         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21413         (gdb-show-threads-by-default): New customization options.
21414         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21415         routines.
21416         (gdb-get-buffer-create): Send buffers update signal when they are
21417         created.
21418         (gdb-invalidate-locals, gdb-invalidate-registers)
21419         (gdb-invalidate-breakpoints)
21420         (gdb-invalidate-threads, gdb-invalidate-disassembly)
21421         (gdb-invalidate-memory): Accept update signal.
21422         (gdb-current-context-command): Use --frame option.
21423         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21424         Implement `gdb-frame-number' selection logic.
21425         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21426         whether to show GUD toolbar buttons.
21427         (gdb-thread-exited): Unselect current thread when it exits.
21428         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21429         (gdb-mark-line): Routine which sets overlay arrow or inverses
21430         video on fringeless displays.
21431         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21432         to build aligned columns of data in GDB buffers and set text
21433         properties line-by-line.
21434         (gdb-invalidate-breakpoints)
21435         (gdb-breakpoints-list-handler-custom)
21436         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21437         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21438         (gdb-registers-handler-custom): Align data columns.
21439         (gdb-locals-handler-custom): Now prints data like in variable
21440         declarations.
21441         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21442         Remove confusing buttons.
21443         (gdb-invalidate-threads): Append --frame.
21444         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21445         between breakpoints/threads buffers.
21446         (gdb-set-window-buffer): Now can ignore dedicated windows.
21447         (gdb-propertize-header): Use `gdb-set-window-buffer'.
21448         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21449         (def-gdb-thread-buffer-gud-command): Replaces
21450         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21451         for fine thread control.
21452         (gdb-preempt-existing-or-display-buffer): New function used to
21453         display bound buffers without breaking window layout.
21454         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21455         (gdb-select-frame): New version of `gdb-frames-select' which now
21456         sets `gdb-frame-number' so commands may use --frame option instead
21457         of inner debugger state.
21458         (gdb-frame-handler): Do not set `gdb-frame-number'.
21459         (gdb-threads-mode-map): Select threads with mouse.
21461         * progmodes/gud.el (gdb-gud-context-call): Declare function to
21462         avoid compilation warning.
21463         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21464         `gdb-show-stop-p`.
21466         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21467         Argument `key' renamed to `buffer-type'.
21468         (gdb-current-context-buffer-name): Do not add thread info to
21469         buffer name when no thread is selected.
21470         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21471         command (bug 3794).
21472         (gdb-thread-selected): Handle `=thread-selected' notification.
21473         (gdb-wait-for-pending): New macro to deal with congestion problems.
21474         (gdb-breakpoints-list-handler-custom): Don't fail on pending
21475         breakpoints.
21476         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21477         This fixes problem similar to one described in bug 3947.
21478         (gud-menu-map): More menu items.
21479         (gdb-init-1): Reset `gdb-thread-number' to nil.
21481         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21482         non-stop settings.
21484         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21485         (gdb-current-context-command): Do not append --thread if
21486         `gdb-thread-number' is nil.
21487         (gdb-running-threads-count, gdb-stopped-threads-count):
21488         New variables.
21489         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21490         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21491         New customization options.
21492         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21493         GUD commands.
21494         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21495         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21496         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21497         set `gdb-thread-number' and update `gud-running' properly.
21498         (gdb-running): Update threads list when new threads appear.
21499         (gdb-stopped): Support non-stop operation and new thread switching
21500         logic.
21501         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21502         (gdb-json-partial-output): New set of JSON routines.
21503         (def-gdb-auto-update-trigger): New `signal-list' optional
21504         argument.
21505         (gdb-thread-list-handler-custom): Update `gud-running',
21506         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21507         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21508         (gdb-continue-thread, gdb-step-thread): New commands for fine
21509         thread execution control.
21510         (gud-menu-map): New menu items to switch non-stop options.
21511         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21512         (gdb-send): Mimic RET properly (bug 3794).
21514         * progmodes/gdb-mi.el (gdb-rules-name-maker)
21515         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21516         gdb-buffer-rules.
21517         (def-gdb-auto-update-handler): New nopreserve optional argument.
21518         (gdb-stack-list-frames-custom): Print stack from top to bottom.
21520         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21521         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21522         (gdb-parent-mode): New mode to derive other GDB modes from.
21523         (gdb-display-disassembly-for-thread)
21524         (gdb-frame-disassembly-for-thread): New commands for threads
21525         buffer.
21527         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21528         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21529         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21530         (gdb-update): We now store all GDB buffers in a list so that they
21531         can be updated by traversing a list instead of calling invalidate
21532         triggers explicitly.
21533         (def-gdb-trigger-and-handler): New macro to define trigger-handler
21534         pair for GDB buffer.
21535         (gdb-stack-buffer-name): Add thread information.
21536         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21537         handle pending triggers.
21538         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21539         (def-gdb-thread-buffer-simple-command)
21540         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21541         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21542         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21543         New commands which show buffers bound to thread.
21544         (gdb-stack-list-locals-regexp): Remove unused regexp.
21546         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21547         (gdb-locals-buffer-name, gdb-registers-buffer-name)
21548         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21549         to (gud-comint-buffer) in *-buffer-name functions
21550         because (gdb-get-target-string) already does that.
21551         (gdb-locals-handler-custom, gdb-registers-handler-custom)
21552         (gdb-changed-registers-handler): Rewritten without regexps.
21554         * progmodes/gdb-mi.el: Basic thread selection support.
21555         (gdb-thread-number): New variable.
21556         (gdb-current-context-command): New macro which adds --thread
21557         option to command.
21558         (gdb-threads-mode-map): Select thread with SPC.
21559         (gdb-thread-list-handler-custom): Mark current thread with overlay
21560         arrow.  Synchronize GDB thread and Emacs thread.
21561         (gdb-select-thread): New command which selects current thread.
21562         (gdb-invalidate-frames, gdb-invalidate-locals)
21563         (gdb-invalidate-registers): Use --thread option.
21565 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
21567         * net/tramp.el (top): Make check for tramp-gvfs loading more
21568         robust.  (Bug#3977)
21569         (tramp-handle-insert-file-contents): `unwind-protect' must be
21570         inside `with-parsed-tramp-file-name'.
21572         * net/tramp-gvfs.el (top): Remove superfluous message when loading
21573         fails.
21575 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
21577         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21578         directory if CLASSPATH is not set.
21580 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
21582         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21583         New defconst.
21584         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
21586 2009-08-02  Kevin Ryde  <user42@zip.com.au>
21588         * net/newst-backend.el (newsticker--raw-url-list-defaults):
21589         Update freshmeat link.  Delete newsforge.com as it seems gone.
21591 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21593         * select.el (x-set-selection): Doc fix (Bug#4021).
21595         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21597         * help-fns.el (describe-variable): Treat list return values from
21598         dir-locals-find-file properly (Bug#4005).
21600 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
21602         * net/tramp.el (tramp-debug-message): Print also microseconds.
21604 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
21606         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21607         or END is non-nil.
21608         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21609         (tramp-get-debug-buffer): Change `outline-regexp' according to new
21610         format.
21612         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21613         (tramp-get-file-property): Use it.
21615         * autorevert.el (auto-revert-handler):
21616         Allow `auto-revert-tail-mode' for remote files.
21618 2009-08-02  Jason Rumney  <jasonr@gnu.org>
21620         * minibuffer.el (read-file-name): Treat confirm options to
21621         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
21623 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21625         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21626         (font-lock-variable-name-face, font-lock-constant-face):
21627         Darken the colors for light backgrounds.
21629 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
21631         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21632         month names.  (Bug#3987)
21634 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
21636         * simple.el (line-move-finish): Pass whole number to
21637         line-move-to-column.
21638         (line-move-visual): Perform hscroll to the recorded position.
21640 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
21642         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21644 2009-07-29  Alan Mackenzie  <acm@muc.de>
21646         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21648 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
21650         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21651         (gdb-place-breakpoints): Use full path when setting breakpoints.
21653 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
21655         * calc/calc.el (calc-mode-map): Add keybinding for
21656         `calc-transpose-lines'.
21658 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
21660         * calc/calc-misc.el (calc-transpose-lines): New function.
21662 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
21664         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21665         Simplify check for out-of-band methods.
21666         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21667         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
21669 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
21671         * vc-git.el (vc-git-checkin): Fix typo.
21673 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
21675         * progmodes/js2-mode.el: New file.
21677 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
21679         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21680         (gud-menu-map): Adjust tooltip accordingly.
21682 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
21684         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21685         (vc-bzr-log-view-mode): Adjust log-view-file-re.
21687         * add-log.el (change-log-mode-map): Add a menu.
21689 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
21691         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21692         function returns nil.
21693         (dbus-handle-event): Handle special return value :ignore.
21694         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21696 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
21698         * view.el (view-mode-enable): Don't define Helper-return-blurb if
21699         it's not needed.
21701 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
21703         Fix Bug#3888:
21705         * w32-vars.el (x-select-enable-clipboard): Doc fix.
21707         * term/pc-win.el (x-display-name, x-colors)
21708         (x-select-enable-clipboard, x-select-text): Doc fix.
21710         * term/common-win.el (x-display-name, x-colors): Doc fix.
21712         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21713         (xw-defined-colors): Doc fix.
21715         * w32-fns.el (x-select-text, x-setup-function-keys)
21716         (x-get-selection, x-set-selection): Doc fix.
21718         * term/x-win.el (x-select-text, x-setup-function-keys)
21719         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21721         * select.el (x-set-selection): Doc fix.
21723 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
21725         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21726         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
21727         "IsNSSSupportAvailable" method is not available.
21728         Reported by Steve Youngs <steve@sxemacs.org>.
21730 2009-07-24  Kenichi Handa  <handa@m17n.org>
21732         * international/characters.el: Fix setting of category ?C, ?|, ?K,
21733         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
21734         (build-unicode-category-table): Fix range checks.
21736 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
21738         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21739         the buffer we try to sync is current when calling
21740         vc-resynch-buffer.
21742         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21743         not show up to date files.
21745 2009-07-24  Glenn Morris  <rgm@gnu.org>
21747         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21748         Add autoload cookies.  If necessary, initialize.
21749         (elint-log): Handle non-file buffers.
21750         (elint-initialize): Add optional argument to reinitialize.
21751         (elint-find-builtin-variables): Save excursion.
21753 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
21755         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21756         for Lint.
21758 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
21760         * vc.el (vc-print-log-internal): New function, split out from ...
21761         (vc-print-log): ... here.
21762         (vc-dir-move-to-goal-column): Declare.
21764         * vc-git.el (vc-git-add-signoff): New variable.
21765         (vc-git-checkin): Use it.
21766         (vc-git-toggle-signoff): New function.
21767         (vc-git-extra-menu-map): Bind it to menu.
21768         (vc-git--run-command-string): Accept a nil FILE argument.
21769         (vc-git-stash-list): New function.
21770         (vc-git-dir-extra-headers): Use it.
21772 2009-07-23  Glenn Morris  <rgm@gnu.org>
21774         * help-fns.el (describe-variable): Describe ignored and risky local
21775         variables in a similar way to that in which we describe safe ones.
21777         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21778         (byte-compile-output-file-form, byte-compile-output-docform)
21779         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21780         Give some more local variables with common names a "bytecomp-" prefix,
21781         so as not to shadow things during compilation.
21782         * emacs-lisp/cl-macs.el (load-time-value)
21783         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21784         `outbuffer' to `bytecomp-outbuffer'.
21786         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21787         since the next two variables cover them automatically now.
21788         (elint-builtin-variables, elint-autoloaded-variables): New.
21789         (elint-unknown-builtin-args): Remove all members, since they can be
21790         parsed automatically now.
21791         (elint-extra-errors): New.
21792         (elint-env-add-env, elint-env-add-macro): Use cadr.
21793         (elint-current-buffer): Use or.  Change final message.
21794         (elint-get-top-forms): Use line-end-position.
21795         (elint-init-env): Use cadr.  Handle autoload, declare-function,
21796         and defalias.
21797         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
21798         (regexp-assoc): Remove unused function.
21799         (elint-top-form): Set elint-current-pos, to record the start of the
21800         top-level form, for compilation-mode.
21801         (elint-form): Trap errors in macro expansion.  Use dolist.
21802         (elint-unbound-variable): Use elint-builtin-variables and
21803         elint-autoloaded-variables.
21804         (elint-get-args): Use cadr, or.
21805         (elint-check-cond-form): Use dolist, cadr.
21806         (elint-check-condition-case-form): Doc fix.  Use cadr.
21807         Use elint-extra-errors.
21808         (elint-log): New function.
21809         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21810         Distinguish errors and warnings.
21811         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
21812         Use a bytecomp-style format.
21813         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
21814         (elint-get-log-buffer): Use compilation mode.  Disable undo.
21815         Don't truncate lines.
21816         (elint-initialize): Set builtin and autoloaded variable lists.
21817         Only process elint-unknown-builtin-args if non-nil.
21818         (elint-find-builtin-variables, elint-find-autoloaded-variables):
21819         New functions.
21820         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
21822 2009-07-22  Kevin Ryde  <user42@zip.com.au>
21824         * net/newst-backend.el (newsticker--parse-atom-1.0)
21825         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21826         (newsticker--parse-rss-1.0):
21827         * progmodes/idlwave.el (idlwave-mode):
21828         * progmodes/idlw-shell.el (idlwave-shell-mode):
21829         * progmodes/vera-mode.el (vera-mode):
21830         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21831         * progmodes/vhdl-mode.el (vhdl-mode):
21832         * textmodes/table.el (table-generate-source)
21833         (table--warn-incompatibility):
21834         Hyperlink urls in docstrings with URL `...'.
21836 2009-07-22  Glenn Morris  <rgm@gnu.org>
21838         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21839         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21840         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21841         Remove leading * from defcustom docs.
21843         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
21845         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21846         defcustom doc.
21847         (list-load-path-shadows): Optionally, just return shadows as a string.
21849         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21851 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
21853         * mail/rmailedit.el (rmail-edit-mode):
21854         Use auto-save-include-big-deletions.
21856         * mail/rmail.el (rmail-variables):
21857         Use auto-save-include-big-deletions.
21859         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21860         changes.
21862 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
21864         * calc/calc.el (calc-undo-length): New variable.
21865         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21867 2009-07-21  Richard Stallman  <rms@gnu.org>
21869         * files.el (auto-save-mode): Handle buffer-save-size = -2
21870         for toggling mode.
21872 2009-07-21  Glenn Morris  <rgm@gnu.org>
21874         * textmodes/ispell.el (ispell-looking-back): Update declaration.
21876         * calendar/todo-mode.el (calendar-current-date): Update declaration.
21878         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21879         silence compiler.  Instead...
21880         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21881         (ps-print-ensure-fontified): Update for above function name changes.
21883         * printing.el (pr-mh-get-msg-num, pr-mh-show)
21884         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21885         silence compiler.  Instead...
21886         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21887         (mh-show-buffer): Only define for compiler.
21888         (pr-mh-current-message): Update for above function name changes.
21890         * files.el (abort-if-file-too-large): Explicitly pass `filename'
21891         as an argument.
21892         (find-file-noselect, insert-file-1): Update for above change.
21894         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21896         * mail/mailclient.el (mailclient-send-it): Fix message.
21898         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21899         (edebug-eval): Check cl-debug-env is bound.
21900         (print-level, print-circle): Don't redefine built-in variables.
21902         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21903         (custom-print-vectors): Remove old comments from doc.
21905         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21906         (emerge-version): Make the variable an obsolete alias for the
21907         emacs-version variable.  Make the function obsolete.
21908         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21909         Emerge options, rather than merging in into the main Options menu.
21910         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
21911         and auto advance modes.  Disable edit/fast items when not relevant.
21913 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
21915         * term/vt420.el (terminal-init-vt420): Fix typo.
21917 2009-07-20  Sam Steingold  <sds@gnu.org>
21919         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21920         variable (removed from compile.el on 2004-03-11).
21922 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
21924         * files.el (hack-local-variables-filter): Fix last change.
21926 2009-07-19  Juri Linkov  <juri@jurta.org>
21928         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21929         (dir-local-variables-alist): New buffer-local variable.
21930         (hack-local-variables-filter): If variable is not dir-local,
21931         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21932         because file-local overrides dir-local.
21933         (c-postprocess-file-styles) <declare-function>:
21934         Remove obsolete declaration.
21935         (hack-dir-local-variables): Add dir-local variable/value pair to
21936         `dir-local-variables-alist' and remove duplicates.  Doc fix.
21938         * help-fns.el (describe-variable): Add information about
21939         file-local and dir-local variables.
21941 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
21943         * files.el (hack-local-variables-filter): Rewrite.
21945 2009-07-19  Glenn Morris  <rgm@gnu.org>
21947         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21948         Silence compiler by only defining on XEmacs.
21950         * international/mule.el (auto-coding-regexp-alist): Only match
21951         BABYL... at the start of buffer, not of lines.  (Bug#3790)
21953         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21954         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
21955         (cal-menu-context-mouse-menu): Doc fix.
21957         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21959         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
21961 2009-07-18  Juri Linkov  <juri@jurta.org>
21963         * info.el: Virtual Info keyword finder.
21964         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21965         (Info-finder-file): New variable.
21966         (Info-finder-find-file): New function.
21967         (finder-known-keywords, finder-package-info)
21968         (find-library-name, lm-commentary): Use defvar and
21969         declare-function to silence compiler warnings.
21970         (Info-finder-find-node): New function.
21971         (info-finder): New command.
21973         * subr.el (process-kill-buffer-query-function): New function.
21974         (add-hook)<kill-buffer-query-functions>: Add hook
21975         `process-kill-buffer-query-function'.
21977 2009-07-18  Alan Mackenzie  <acm@muc.de>
21979         * progmodes/cc-mode.el (c-before-hack-hook)
21980         (c-postprocess-file-styles): Give invocation of `c-set-style'
21981         DONT-OVERRIDE parameter of t.  Already set style variables will
21982         thus not be overridden by style settings given by `c-file-syle'.
21984         * files.el (hack-local-variables-filter): Remove entries with
21985         duplicate keys from `file-local-variables-alist'.
21987 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21989         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21990         x-set-selection if display-selections-p returns nil for the
21991         current frame.
21993 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
21995         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21997 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21999         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22000         Accept nil in addition to a regexp.
22001         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22002         Accept nil in addition to a regexp.
22003         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22004         buffers that have an associated file.  Handle nil values of
22005         desktop-buffers-not-to-save and desktop-files-not-to-save.
22006         (Bug#3833)
22008         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22009         (x-disown-selection-internal): New functions.
22011 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
22013         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22014         warning.
22015         (gdb-breakpoints-header): Move forward to avoid compiler warning.
22016         (gdb-make-header-line-mouse-map): Remove duplicate definition.
22018 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
22020         * simple.el (set-mark): Revert last change.
22022 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
22024         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22025         rendering of pngs is not possible instead of messaging a long
22026         description.
22028 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
22030         * w32-fns.el (x-selection-owner-p): New function.
22032         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22033         (mouse-yank-at-click, mouse-yank-primary):
22034         If select-active-regions is non-nil, deactivate the mark before
22035         insertion.
22037         * simple.el (deactivate-mark, set-mark): Only save selection if we
22038         own it.
22040 2009-07-17  Kenichi Handa  <handa@m17n.org>
22042         * case-table.el (describe-buffer-case-table): Fix for the case
22043         that KEY is a cons.
22045 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
22047         * vc-rcs.el (vc-rcs-find-file-hook):
22048         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22050 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
22052         * net/tramp.el (tramp-wait-for-output): Handle the case when
22053         commands do not return a newline but a null byte before the shell
22054         prompt.  (Bug#3858)
22056 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
22058         * term/ns-win.el (ns-set-alpha): Don't declare.
22059         (ns-set-background-alpha): Remove function.
22061 2009-07-16  Kevin Ryde  <user42@zip.com.au>
22063         * emacs-lisp/copyright.el (copyright-update): Save match-data across
22064         y-or-n-p, for safety.
22066 2009-07-16  Richard Stallman  <rms@gnu.org>
22068         * files.el (auto-save-mode): If buffer-saved-size is -2,
22069         don't clobber it.
22071         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22072         (rmail-retry-ignored-headers): Add more uninteresting fields.
22074 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
22076         * net/rcirc.el (rcirc): Use history variables.
22077         (rcirc-server-name-history, rcirc-nick-name-history)
22078         (rcirc-server-port-history): New variables.
22080 2009-07-15  Kenichi Handa  <handa@m17n.org>
22082         * international/mule-cmds.el (set-language-environment-charset):
22083         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22084         ignore them.
22086         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22087         Delete unibyte-display.
22089 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
22091         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22093 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
22095         * simple.el (deactivate-mark): Optional argument FORCE.
22096         (set-mark): Use deactivate-mark.
22098         * info.el (Info-search): No need to check transient-mark-mode
22099         before calling deactivate-mark.
22101         * select.el (x-set-selection): Doc fix.
22102         (x-valid-simple-selection-p): Allow buffer values.
22103         (xselect--selection-bounds): Handle buffer values.
22104         Suggested by David De La Harpe Golden.
22106         * mouse.el (mouse-set-region, mouse-drag-track):
22107         Call copy-region-as-kill before setting the mark, to let
22108         select-active-regions work.
22110 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
22112         * simple.el (deactivate-mark): If select-active-regions is
22113         non-nil, copy the selection data into a string.
22114         (activate-mark): If select-active-regions is non-nil, set the
22115         selection to the current buffer.
22116         (set-mark): Update selection if select-active-regions is non-nil.
22118         * select.el (x-valid-simple-selection-p): Allow buffer values.
22120 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
22122         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22123         and more featureful message-mode.
22125 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
22127         * select.el (x-set-selection): Doc fix.
22128         (x-valid-simple-selection-p): Disallow selection data consisting
22129         of a list or cons of integers, since that is not used.
22130         (xselect--selection-bounds, xselect--int-to-cons): New functions.
22131         (xselect-convert-to-string, xselect-convert-to-length)
22132         (xselect-convert-to-filename, xselect-convert-to-charpos)
22133         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22135 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
22137         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22138         output in -break-info command (Emacs bug #3794).
22140 2009-07-14  Glenn Morris  <rgm@gnu.org>
22142         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22143         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22144         (edebug-print-length, edebug-print-level, edebug-print-circle)
22145         (edebug-sit-for-seconds, edebug-view-outside)
22146         (edebug-bounce-point, edebug-set-global-break-condition)
22147         (edebug-Go-nonstop-mode, edebug-trace-mode)
22148         (edebug-Trace-fast-mode, edebug-continue-mode)
22149         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22150         (edebug-visit-eval-list): Doc fixes.
22152         * subr.el (def-edebug-spec): Doc fix.
22154 2009-07-14  Kenichi Handa  <handa@m17n.org>
22156         * international/characters.el: Fix setting of category ?C.
22158 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
22160         * term/ns-win.el (x-select-font): defalias x-select-font to
22161         ns-popup-font-panel instead of generate-fontset-menu.
22163 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
22165         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
22167 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
22169         * arc-mode.el (archive-find-type): Allow for a PK00 string before
22170         the PK\003\004 header (Bug#3770).
22172 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
22174         * pcomplete.el (pcomplete-comint-setup): Check for
22175         shell-dynamic-complete-filename too.
22177 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
22179         * simple.el (temporary-goal-column): Change the value for
22180         line-move-visual to a cons cell.
22181         (line-move-visual): Record or set the window hscroll, if
22182         necessary (Bug#3494).
22183         (line-move-1): Handle cons value of temporary-goal-column.
22185 2009-07-11  Kenichi Handa  <handa@m17n.org>
22187         * international/mule-diag.el (describe-character-set): Don't show
22188         width.
22190 2009-07-10  Sam Steingold  <sds@gnu.org>
22192         * progmodes/compile.el (compilation-mode-font-lock-keywords):
22193         Omake sometimes indents the errors it prints, so allow all
22194         regexps to start with spaces.
22196 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
22198         * cus-edit.el (customize-changed-options-previous-release):
22199         Bump value to 22.1.  (Bug#3804)
22201 2009-07-08  Sam Steingold  <sds@gnu.org>
22203         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22204         to be a cons cell (test . ignored-directory) to selectively ignore
22205         some directories depending on the location of the search.
22207 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
22209         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22210         remote user is root, on the local host.
22211         (tramp-local-host-p): Either the local user or the remote user
22212         must be root.  (Bug#3771)
22214 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22216         * progmodes/gdb-mi.el (gdb): Remove description of
22217         gdb-use-separate-io-buffer.
22218         (menu): Don't allow toggling of or enable
22219         gdb-use-separate-io-buffer from menubar.
22221 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
22223         * mail/unrmail.el (unrmail): Make sure the message ends with two
22224         newlines (Bug#3769).
22226 2009-07-08  Glenn Morris  <rgm@gnu.org>
22228         * calendar/calendar.el (calendar-current-date): Rework previous change.
22230 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
22232         * calendar/calendar.el (calendar-current-date):
22233         Add an optional argument giving an offset from today.
22235 2009-07-08  Glenn Morris  <rgm@gnu.org>
22237         * tutorial.el (tutorial--describe-nonstandard-key):
22238         Adjust the message for when a key has been unbound.
22239         (help-with-tutorial): Hide the arch-tag.
22241 2009-07-08  Kenichi Handa  <handa@m17n.org>
22243         * international/fontset.el (setup-default-fontset): For each
22244         script, append (not set) font-specs.
22246         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22247         docstring.
22249 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22251         * progmodes/gdb-mi.el (gdb-init-1): Move sending
22252         -data-list-register-names to ...
22253         (gdb-starting): ... here because GDB 7.0 requires execution to
22254         have started when using this MI command.
22255         (gdb-set-header): New function to distinguish select and
22256         unselected tabs in gdb buffers.
22257         (gdb-propertize-header): New macro that uses gdb-set-header.
22258         (gdb-breakpoints-header, gdb-locals-header): Use it.
22259         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22261 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
22263         * Makefile.in (ELCFILES): Remove fadr.elc.
22265 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
22267         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22268         may contain frame information, so `string-match' should be used.
22269         (gdb-update): Disassembly is invalidated through
22270         `gdb-get-selected-frame'.
22271         (gdb-pad-string): New function to pad string with spaces.
22272         (gdb-invalidate-disassembly): Invalidate only if the buffer
22273         exists.
22274         (gdb-disassembly-handler-custom): Column alignment.
22275         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22276         placing new ones.
22277         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22278         end of line, too.
22279         (gdb-frame-handler): Match convention to for disassembly buffer
22280         mode name.
22281         (gdb-stack-list-frames-handler): Rewritten without regexps.
22282         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22283         not highlight breakpoints without line information.
22284         (gdb-input): Add trailing newline to command.
22286         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22287         buffer properly.
22288         (gdb-breakpoints-list-handler-custom): Replacement for
22289         `gdb-break-list-handler'.  Using real parser instead of regexps
22290         now.
22291         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22292         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22293         to place breakpoints.
22294         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22295         functions.
22296         (gdb-disassembly-handler-custom): Show overlay arrow.
22297         (gdb-disassembly-place-breakpoints): Show breakpoints in
22298         disassembly buffer.
22299         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22300         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22301         instead of parsing breakpoints buffer.  Fixed old menu references
22302         in `gud-menu-map'.
22304         * fadr.el: Remove.
22306         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22307         (gdb-memory-address): New variable which holds top address of
22308         memory page shown in memory buffer.
22309         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22310         New customization variables.
22311         New functions:
22312         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22313         display the memory buffer.
22314         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22315         buffer display parameters.
22316         (def-gdb-memory-format, gdb-memory-format-binary)
22317         (gdb-memory-format-octal, gdb-memory-format-unsigned)
22318         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22319         Functions for setting memory buffer format.
22320         (gdb-memory-unit-word, gdb-memory-unit-halfword)
22321         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22322         unit size used in memory buffer.
22323         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22324         Switch to next/previous page of memory buffer.
22325         Now using (bindat-get-field) instead of fadr functions.
22327 2009-07-07  Sam Steingold  <sds@gnu.org>
22329         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22330         non-top-level files.
22332 2009-07-07  Kenichi Handa  <handa@m17n.org>
22334         * international/mule-cmds.el (reset-language-environment):
22335         Put the highset priority to the charset iso-8859-1.
22337 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22339         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22340         to the end of the line when locating the block (Bug#700).
22342 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
22344         * net/tramp.el (tramp-handle-write-region): Flush file properties
22345         in case of short track.
22347 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
22349         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22350         Coded custom representation of verilog error regular expressions
22351         to work with Emacs-22's new format.
22352         (verilog-error-regexp-xemacs-alist): Coded custom representation
22353         of verilog error regular expressions to work with XEmacs format.
22354         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22355         error recognition into XEmacs.
22356         (verilog-error-regexp-add-emacs): Hook routine to install verilog
22357         error recognition into Emacs-22.
22359 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22361         * woman.el: Remove stand-alone closing parentheses.
22362         (woman-file-name, woman2-format-paragraphs)
22363         (woman-leave-blank-lines): Code cleanup.
22364         (woman-use-own-frame): Change default to nil.
22365         (woman-italic, woman-bold, woman-unknown, woman-addition):
22366         Change defaults to inherit from default faces.
22367         (woman2-process-escapes): Consume the newline after a stand-alone
22368         filler character (Bug#3651).
22370 2009-07-06  Glenn Morris  <rgm@gnu.org>
22372         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22373         (top-level): Move provide to the end.
22374         (ffap): Remove defunct URL from custom group.
22376         * subr.el (eval-after-load): Doc fix.
22378 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
22380         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22381         `calc-embedded-word' is called twice.
22383 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22385         * files.el (find-alternate-file-other-window, find-alternate-file):
22386         Obey confirm-nonexistent-file-or-buffer.
22388 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
22390         * dired-aux.el (dired-show-file-type): Handle remote files.
22392 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
22394         * desktop.el (desktop-globals-to-save):
22395         Add file-name-history (Bug#2750).
22397 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
22399         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22401 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
22403         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22404         property on entire argument since this is what eshell-lisp-command
22405         expects.
22407 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
22409         * net/tramp-gvfs.el (tramp-gvfs-methods)
22410         (tramp-gvfs-zeroconf-domain)
22411         (tramp-bluez-discover-devices-timeout): Add version flag.
22412         (tramp-gvfs-handler-mounted-unmounted)
22413         (tramp-gvfs-connection-mounted-p): Polish handling of
22414         incompatibilities between GVFS 0.2 and 1.0.
22416 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
22418         * cus-start.el (all): Add make-pointer-invisible.
22420 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
22422         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22423         formatted correctly.
22425 2009-07-02  Juri Linkov  <juri@jurta.org>
22427         * info.el: Virtual Info files and nodes.
22428         (Info-virtual-files, Info-virtual-nodes): New variables.
22429         (Info-current-node-virtual): New variable.
22430         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22431         New functions.
22432         (Info-file-supports-index-cookies): Use Info-virtual-file-p
22433         to check for a virtual file instead of checking a fixed list
22434         of node names.
22435         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22436         instead of ad-hoc processing of "dir" and (apropos history toc).
22437         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22438         instead of ad-hoc processing of "dir" and (apropos history toc).
22439         Reread a file when moving from a virtual node.
22440         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22441         (Info-directory-toc-nodes, Info-directory-find-file)
22442         (Info-directory-find-node): New functions.
22443         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22444         (Info-history): Move part of code to
22445         `Info-history-find-node'.
22446         (Info-history-toc-nodes, Info-history-find-file)
22447         (Info-history-find-node): New functions.
22448         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22449         (Info-toc): Move part of code to `Info-toc-find-node'.
22450         (Info-toc-find-node): New function.
22451         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
22452         the current Info file name to references because now the node
22453         "*TOC*" belongs to the same Info manual.
22454         (Info-toc-build): Rename from `Info-build-toc'.
22455         (Info-toc-nodes): Rename input argument `file' to `filename'.
22456         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22457         instead of ad-hoc processing of ("dir" apropos history toc).
22458         (Info-index-nodes): Use Info-virtual-file-p
22459         to check for a virtual file instead of checking a fixed list
22460         of node names.
22461         (Info-index-node): Add check for `Info-current-node-virtual'.
22462         Raise `save-match-data' higher up the tree to contain
22463         `search-forward' too (bug fix).
22464         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22465         (Info-virtual-index-nodes): New variable.
22466         (Info-virtual-index-find-node, Info-virtual-index): New functions.
22467         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22468         (Info-apropos-file, Info-apropos-nodes): New variables.
22469         (Info-apropos-toc-nodes, Info-apropos-find-file)
22470         (Info-apropos-find-node, Info-apropos-matches): New functions.
22471         (info-apropos): Move part of code to `Info-apropos-find-node' and
22472         `Info-apropos-matches'.
22473         (Info-mode-map): Bind "I" to `Info-virtual-index'.
22474         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22475         for a virtual file instead of checking a fixed list of node names.
22477         * simple.el (async-shell-command): New command.
22479         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22481         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22482         instead of `mount-info'.
22484 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
22486         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22487         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22489 2009-07-02  Kenichi Handa  <handa@m17n.org>
22491         * international/mule.el (set-keyboard-coding-system): Force *-unix
22492         coding-system to avoid eol conversion.
22494 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
22496         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22497         Add handler for `process-file', `shell-command' and
22498         `start-file-process'.
22499         (tramp-gvfs-handle-shell-command)
22500         (tramp-gvfs-handle-start-file-process)
22501         (tramp-gvfs-handle-process-file): New defuns.
22502         (tramp-synce-list-devices): Simplify check for existence of property.
22504 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
22506         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22508 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
22510         * language/korean.el (set-language-info-alist): Add korean-cp949,
22511         cp949 to spec.
22513 2009-07-01  Kenichi Handa  <handa@m17n.org>
22515         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22517         * international/encoded-kb.el: Deleted.
22519         * international/mule.el (set-keyboard-coding-system): Perform the
22520         necessary setup here instead of calling encoded-kbd-setup-display.
22522 2009-07-01  Glenn Morris  <rgm@gnu.org>
22524         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22526 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
22528         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
22530 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
22532         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22533         Handle also the 'rename case, when setting file modes.  (Bug#3712)
22534         (tramp-default-file-modes): Remove execute permissions.
22536         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22537         (top): Add a default for "synce" in `tramp-default-user-alist'.
22538         Add completion function for "synce" method.
22539         (tramp-hal-service, tramp-hal-path-manager)
22540         (tramp-hal-interface-manager, tramp-hal-interface-device):
22541         New defconst.
22542         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22543         (tramp-synce-list-devices, tramp-synce-parse-device-names):
22544         New defuns.
22546         * net/trampver.el: Update release number.
22548 2009-06-30  Kenichi Handa  <handa@m17n.org>
22550         * international/fontset.el (setup-default-fontset): Add CJK fonts
22551         for symbols and the other miscellaneous characters.
22553         * language/korea-util.el (setup-korean-environment-internal):
22554         Make char-width-table suitable for Korean environments.
22555         (exit-korean-environment): Cancel above.
22557         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22558         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22559         setup-function to make char-width-table suitable for respective
22560         environments, and an exit-function to cancel that.
22562         * language/japan-util.el (setup-japanese-environment-internal):
22563         Call use-cjk-char-width-table with arg `ja_JP'.
22565         * international/characters.el (cjk-char-width-table): Delete it.
22566         (cjk-char-width-table-list): New variable.
22567         (use-cjk-char-width-table): New arg local-name.
22568         (use-default-char-width-table): Fix for the case that Emacs is
22569         already using the default char-width-table.
22571 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
22573         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22574         modes mandatory.  (Bug#3712)
22576 2009-06-29  Alan Mackenzie  <acm@muc.de>
22578         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22579         correction between the visible width of TABs and their number of bytes.
22581 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
22583         * server.el (server-buffer-done): Prevent kill-buffer from
22584         prompting by clearing the buffer modification flag (Bug#3696).
22586 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
22588         * progmodes/verilog-mode.el (verilog-beg-of-statement)
22589         (verilog-endcomment-reason-re): Support unique case and priority case.
22590         (verilog-basic-complete-re): Support localparam lineup.
22591         (verilog-beg-of-statement-1): Fix for robustness, unique case.
22592         (verilog-set-auto-endcomments): Fix for unique case, always_comb
22593         commenting.
22594         (verilog-leap-to-case-head): Now support *nested* unique &
22595         priority case statements.
22596         (verilog-auto-lineup): Make just declarations the default (as it
22597         had been).
22598         (verilog-leap-to-case-head): Support priority/unique case statements.
22599         (verilog-auto-lineup): Rework to give users radio buttons to
22600         select the various styles of automatic lineup.
22601         (verilog-error-regexp-alist): Rework to support the XEmacs style
22602         of error regular expressions from compilers, lint tools &
22603         simulators.  Note that GNU Emacs has made it impossible for a mode
22604         to load such things.
22605         (electric-verilog-terminate-line, verilog-indent-declaration)
22606         (verilog-auto-wiure): Rework for radio button selection of
22607         auto-lineup selection of specification of auto lineup.
22608         (verilog-beg-of-statement-1): Redesign to support proper operation
22609         in additional code, based on testing with auto-lineup.
22610         (verilog-calculate-indent, assignments & declarations)
22611         (verilog-backward-token): Enhance to support auto-lineup of
22612         assignments & declarations.
22613         (verilog-in-directive-p, verilog-at-struct-p): New function for
22614         easy test of whether we are.
22615         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22616         to support safe execution at almost anyline.
22617         (verilog-calc-1): Properly support indenting deep inside generate
22618         blocks.
22619         (verilog-init-font): Remove definition & use of verilog-init-font,
22620         as it is redundant with font-lock-defaults.
22621         (verilog-mode): Alter the definition of verilog-font-lock-defaults
22622         to avoid circular calls if syntax-ppss is a function (as is the
22623         case now in 22.x GNU Emacs) as that function would sometimes call
22624         itself, leading to (nearly) infinite recursion.
22625         (verilog-ovm-begin-re, verilog-ovm-end-re)
22626         (verilog-ovm-statement-re, verilog-leap-to-head)
22627         (verilog-backward-token): Add support for OVM macros.  Some are
22628         complete statements, and others open and close scopes like begin
22629         and end.
22630         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22631         (verilog-defun-level-generate-only-re): Really fix the defun-list
22632         compilation issue.
22633         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22634         coverpoint, constraint and cross statements.
22635         (verilog-defun-level-list, verilog-generate-defun-level-list)
22636         (verilog-all-defun-level-list): Redo these specifications - it is
22637         too hard to support eval-when compile aggregation of lists also
22638         built at when-compile time.
22639         (verilog-defun-level-list): Place defconsts of variables used in
22640         building regular expressions which are built in eval-when-compile
22641         bodies in the same eval-when-compile body to facilitate compile
22642         without load.
22643         (verilog-beg-block-re-ordered): Support indenting
22644         virtual/protected tasks and functions.
22645         (verilog-defun-level-list, verilog-in-generate-region-p)
22646         (verilog-backward-ws&directives, verilog-calc-1): Speed up
22647         indentation of some module items (generate items).
22648         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22649         across virtual/protected tasks and functions.
22651 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
22653         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22654         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
22655         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22656         in concatenations.  Reported by Yishay Belkind.
22657         (verilog-auto-ascii-enum): Support one-hot state machines in
22658         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
22659         (verilog-auto-inst, verilog-auto-inst-port): Include interface
22660         modport in AUTOINST and add vl-modport for users.
22661         Reported by David Rogoff.
22662         (verilog-auto-inout-module, verilog-auto-inst)
22663         (verilog-decls-get-interfaces, verilog-insert-definition)
22664         (verilog-insert-one-definition, verilog-read-decls)
22665         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22666         (verilog-sig-modport, verilog-signals-combine-bus)
22667         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22668         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22669         Suggested by David Rogoff.
22670         (verilog-repair-open-comma): Fix non-insertion of comma when
22671         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
22672         (verilog-make-width-expression): Simplify [A-1:0] expression
22673         widths to just {A{1'b0}}.
22674         (verilog-mode): Cleanup checkdoc warnings.
22675         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22676         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22677         inputs/outputs or data type.  Suggested by Vasu Kandadi.
22678         (next-error-last-buffer): Fix byte-compiler warning.
22679         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22680         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22681         or shell command text during AUTO expansion.  Suggested by Tad Truex.
22682         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22683         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22684         Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22685         in AUTOINOUT.  Reported by Matthew Lovell.
22686         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22687         causing use of <= assignments.  Reported by Alex Reed.
22688         (verilog-read-decls): Fix triand, trior, wand, wor to be
22689         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
22690         (verilog-extended-complete-re): Support import "DPI-C" functions.
22691         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22692         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
22693         (verilog-insert-date, verilog-insert-year)
22694         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22695         Windows systems.  Reported by Michael Potts.
22696         (verilog-read-module-name): Fix AUTOINST when the child module
22697         declaration's name is a tick define.  Reported by Elliot Mednick.
22698         (verilog-read-decls): Fix V2K parameter bit subscripts getting
22699         passed to next parameter's definition.  Reported by Bruce T.
22700         (verilog-read-decls): Fix detecting "parameter int" when using
22701         AUTOINSTPARAM.  Reported by Bruce T.
22702         (verilog-goto-defun): Fix goto not finding modules unless first
22703         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
22704         (verilog-mode): Expand -f flag arguments on entry to mode so
22705         verilog-goto-defun will work.  Reported by Lawrence Butcher.
22706         (verilog-getopt): Expand environment variables in -f file
22707         arguments.  Suggested by Lawrence Butcher.
22708         (verilog-set-define): Fix "Symbol's value as variable is void"
22709         when reading enumerations.
22710         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22711         Suggested by Stephen Peltan.
22712         (verilog-read-defines): Fix reading of enumerations in include
22713         files.  Reported by Steve Peltan.
22715 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22717         * files.el (trash-directory): Fix defcustom type.
22719 2009-06-28  Juri Linkov  <juri@jurta.org>
22721         * help-fns.el (describe-function-1): Correctly locate adviced
22722         functions in hyperlink (Bug#2438).
22724 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
22726         * files.el (trash-directory): Change default to nil.
22727         (move-file-to-trash): If trash-directory is nil and
22728         system-move-file-to-trash is unbound, perform freedesktop-style
22729         trashing.
22731 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22733         * files.el (move-file-to-trash): Add freedesktop trash
22734         support (Bug#973).
22736 2009-06-28  Glenn Morris  <rgm@gnu.org>
22738         * autorevert.el (global-auto-revert-non-file-buffers)
22739         (global-auto-revert-mode): Doc fixes.
22741 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
22743         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22745 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
22747         * faces.el (x-handle-named-frame-geometry): Ensure that we have
22748         opened an X connection before calling x-get-resource (Bug#3194).
22750         * play/doctor.el: Remove reference to obsolete website.
22751         (make-doctor-variables): Correct grammar mistake (Bug#2633).
22753 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
22755         Remove find-file-not-found-hook VC method.  (Bug#2757)
22756         * vc-hooks.el (vc-file-not-found-hook)
22757         (vc-default-find-file-not-found-hook): Remove functions.
22758         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22759         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22760         * vc.el:
22761         * vc-hg.el:
22762         * vc-git.el: Do not mention find-file-not-found-hook VC method.
22764 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
22766         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22767         compatibility function for `looking-back'.
22769         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22770         Use `ispell-looking-back'.
22772 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
22774         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22775         rather than `filename'.
22777 2009-06-23  Miles Bader  <miles@gnu.org>
22779         * face-remap.el (text-scale-set): New function.
22781 2009-06-23  Glenn Morris  <rgm@gnu.org>
22783         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22785         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22787         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22789         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22791         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22792         Simplify Persian conditionals.
22794         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22795         variable `filename'.
22797         * comint.el (comint-insert-input): Doc fix.
22799         * Makefile.in (ELCFILES): Fix typo in previous change.
22801 2009-06-23  Miles Bader  <miles@gnu.org>
22803         * cus-start.el: Add entry for `recenter-redisplay'.
22805 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22807         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22808         Add an optional argument for the backend, use it instead of
22809         calling vc-backend.
22810         (vc-mode-line): Add an optional argument for the backend.
22811         Pass the backend to vc-state and vc-working-revision.  Move code for
22812         special handling for vc-state being a buffer to ...
22814         * vc-rcs.el (vc-rcs-find-file-hook):
22815         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
22817         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22818         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22819         vc-stay-local-p and vc-mode-line calls.
22821         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22822         (vc-cvs-diff, vc-cvs-annotate-command)
22823         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22824         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22825         vc-mode-line calls.
22827         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22828         direct comparison.
22829         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22830         backend when calling vc-mode-line.
22831         (vc-register): Do not create a closure for calling the vc register
22832         function, call it directly.
22834 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22836         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22837         to make it obvious item can be clicked.
22839         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22841 2009-06-23  Kenichi Handa  <handa@m17n.org>
22843         * language/korea-util.el (korean-key-bindings): Change the binding
22844         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
22845         same command.
22847 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
22849         Sync with Tramp 2.1.16.
22851         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22853         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
22854         when a loading of a package fails.  Completion function for rsync
22855         is `tramp-completion-function-alist-ssh'.
22856         (all): Replace all calls of `split-string' and
22857         `tramp-split-string' by `tramp-compat-split-string'.
22858         (tramp-default-method): Use `tramp-compat-process-running-p'.
22859         (tramp-default-proxies-alist): Allow also Lisp forms.
22860         (tramp-remote-path): Add choice "Private Directories".
22861         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22862         (tramp-domain-regexp): Allow also "-", "_" and ".".
22863         (tramp-end-of-output): Remove newlines, and add "$" at the end.
22864         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22865         (tramp-debug-message): Insert header line in debug buffer.
22866         (tramp-handle-directory-files-and-attributes-with-stat):
22867         Care about filenames with spaces, or starting with "-".
22868         (tramp-handle-dired-uncache): New defun.
22869         (tramp-handle-insert-directory): Don't flush the directory from
22870         cache, this is handled by `dired-uncache' now.
22871         (tramp-handle-insert-file-contents): Improve error handling.
22872         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22873         Quote `tramp-end-of-output'.
22874         (tramp-action-password): Improve trace message.
22875         (tramp-check-for-regexp): Both echoes must be present, before removing.
22876         (tramp-open-connection-setup-interactive-shell): Trace coding system.
22877         (tramp-compute-multi-hops): Eval cons cells of
22878         `tramp-default-proxies-alist'.
22879         (tramp-maybe-open-connection): Use the same command pattern for
22880         first hop and further hops.
22881         (tramp-wait-for-output): Remove handling of newlines.
22882         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22883         (tramp-split-string): Remove function.  It is handled in
22884         tramp-compat now.
22886         * net/tramp-cmds.el (tramp-bug):
22887         Recommend `tramp-cleanup-all-connections' in the bug mail.
22889         * net/tramp-compat.el (tramp-compat-split-string)
22890         (tramp-compat-process-running-p): New defuns.
22892         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22893         for `dired-uncache'.
22895         * net/tramp-gvfs.el: New package.
22897         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22898         Add handler for `dired-uncache'.
22899         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22901         * net/trampver.el: Update release number.  Make version check fit
22902         for SXEmacs 22.
22904 2009-06-22  Jim Meyering  <meyering@redhat.com>
22906         Automatically handle .xz suffix (XZ-compressed files), too.
22907         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22908         XZ is the successor to LZMA: <http://tukaani.org/xz/>
22910 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
22911             Nick Roberts  <nickrob@snap.net.nz>
22913         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22914         repository (http://sphinx.net.ru/hg/gdb-mi/).
22916 2009-06-22  Glenn Morris  <rgm@gnu.org>
22918         * files.el (dir-locals-collect-mode-variables): Allow for any number of
22919         `mode' and `eval' entries.  (Bug#3430)
22921         * Makefile.in (ELCFILES): Add fadr.elc.
22923         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22924         differing behavior of \n and ^ in strings.  (Bug#3385)
22926         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22928         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22929         property.
22930         (lisp-indent-function): Make it a defcustom.
22932 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
22934         * progmodes/gdb-ui.el: Replace with ...
22935         * progmodes/gdb-mi.el: ... this file.
22936         * progmodes/gud.el: Modify for gdb-mi.el.
22938 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
22940         * fadr.el: New file.
22942 See ChangeLog.14 for earlier changes.
22944 ;; Local Variables:
22945 ;; coding: utf-8
22946 ;; End:
22948   Copyright (C) 2009-2011  Free Software Foundation, Inc.
22950   This file is part of GNU Emacs.
22952   GNU Emacs is free software: you can redistribute it and/or modify
22953   it under the terms of the GNU General Public License as published by
22954   the Free Software Foundation, either version 3 of the License, or
22955   (at your option) any later version.
22957   GNU Emacs is distributed in the hope that it will be useful,
22958   but WITHOUT ANY WARRANTY; without even the implied warranty of
22959   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22960   GNU General Public License for more details.
22962   You should have received a copy of the GNU General Public License
22963   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.