* shell.el (shell): When called interactively, offer to change the
[emacs.git] / lisp / ChangeLog
blobb36be6f3a094fd04072bbe0f89031764a73f5d4d
1 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
3         * shell.el (shell): When called interactively, offer to change the
4         shell file name on remote hosts.
6 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
8         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
9         integration for LDAP parameters.  The host, base, user or binddn,
10         and secret tokens can be specified in a netrc file, for instance.
11         This is optional because an `auth-source' parameter must be
12         specified in the search attributes.
14 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
16         * help.el (describe-mode): Link to the mode's definition (bug#8185).
18 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21         into declaration.  Remove redundant and harmful binding.
23 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
25         * files.el (file-ownership-preserved-p): Pass `integer' as an
26         explicit 2nd argument to `file-attributes'.  If the file's owner
27         is the Administrators group on Windows, and the current user is
28         Administrator, consider that a match.
30         * server.el (server-ensure-safe-dir): Consider server directory
31         safe on MS-Windows if its owner is the Administrators group while
32         the current Emacs user is Administrator.  Use `=' to compare
33         numerical UIDs, since they could be integers or floats.
35 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
37         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
39 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
41         Sync with Tramp 2.2.1.
43         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
45         * net/trampver.el: Update release number.
47 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
49         * progmodes/compile.el (compilation--previous-directory): Fix up
50         various nil/dead-marker mismatches (bug#8014).
51         (compilation-directory-properties, compilation-error-properties):
52         Don't call it at a position past the one we're about to change.
54         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
55         Disable obsolescence warnings in the file that declares it.
57 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
59         * allout-widgets.el (allout-widgets-tally): Initialize
60         allout-widgets-tally as a hash table rather than nil to prevent
61         mode-line redisplay warnings.
62         Also, clarify the module description and fix a comment typo.
64 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
66         * help-fns.el (describe-variable): Don't complete keywords.
67         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
69 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
71         * emacs-lisp/package.el (package-version-join): Impose a standard
72         string representation for pre/alpha/beta version lists.
73         (package-unpack-single): Standardize the directory name by passing
74         it through package-version-join.
75         (package-strip-rcs-id): Accept any version string that does not
76         signal an error in version-to-list.
78 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
80         * simple.el (delete-trailing-whitespace): Return nil for the
81         benefit of `write-file-functions'.
83 2011-03-10  Glenn Morris  <rgm@gnu.org>
85         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
87         * vc/vc-git.el (vc-git-program): New option.
88         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
89         (vc-git--call): Use it.
91         * eshell/esh-util.el (eshell-condition-case): Doc fix.
93         * cus-edit.el (Custom-newline): If no button at point, look
94         for a subgroup button at start-of-line.  (Bug#2298)
96         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
98 2011-03-10  Julien Danjou  <julien@danjou.info>
100         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
101         `cursor-type' is nil.
103 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
105         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
107 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
109         * allout.el Summary: Change so yank of distinctive-bullet items
110         preserves the existing header prefix, rebulleting it if necessary,
111         rather than replacing it.  This is necessary for proper operation
112         of cooperative addons like allout-widgets.
113         (allout-make-topic-prefix, allout-rebullet-heading): Change
114         SOLICIT arg to INSTEAD, and interpret additionally a string value
115         as alternate bullet to be used, instead of prompting the user for
116         a bullet character.
118 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
120         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
121         not use `tramp-file-name-port', because this returns also
122         `tramp-default-port'.
124 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
126         * net/rcirc.el (rcirc-handler-001): Remove useless
127         with-rcirc-process-buffer.
128         (rcirc-check-auth-status): Swap arguments to string-match.
130 2011-03-09  Glenn Morris  <rgm@gnu.org>
132         * shell.el (shell-mode):
133         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
135         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
136         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
138 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
140         * emacs-lisp/package.el (package-refresh-contents)
141         (package-menu-execute): Use condition-case-no-debug.
143 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
145         * simple.el (shell-command-to-string): Use `process-file'.
147         * emacs-lisp/package.el (package-tar-file-info): Handle also
148         remote files.
150         * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
151         `equal' for upload base check.
153 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
155         * textmodes/texinfo.el (texinfo-environments):
156         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
158 2011-03-08  Glenn Morris  <rgm@gnu.org>
160         * cus-start.el (cursor-in-non-selected-windows):
161         Fix :set quoting oddness.  (Bug#8192)
163         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
164         in some setf expressions.  (Bug#2159)
166 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
168         * custom.el (custom-available-themes): Return themes in
169         alphabetical order.
171 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
173         * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
174         application of patch from Alan Mackenzie (Bug#7595).
176 2011-03-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
178         * net/rcirc.el (rcirc-connect): Fix PASS bug.
180 2011-03-07  Glenn Morris  <rgm@gnu.org>
182         * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
183         Give an explicit error if failed to make writable.  (Bug#6146)
185 2011-03-07  Ed Reingold  <reingold@emr.cs.iit.edu>
187         * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
188         Add optional `after-sunset' argument.  (Bug#8190)
190 2011-03-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
192         * play/morse.el (nato-alphabet, nato-region, denato-region):
193         New variable and functions.  (Bug#2288)
194         (morse-region, unmorse-region): Barf if read-only.
196 2011-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
198         * progmodes/gud.el (gdb-script-syntax-propertize-function):
199         Don't change the syntax of a \n that closes a comment (bug#8169).
201 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
203         * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
204         defcustom.
205         (package--update-file): Doc fix.  Accept relative file names.
206         (package--archive-contents-from-file): Remove the argument, since
207         it's necessarily always "archive-contents".
208         (package-maint-add-news-item): Pass relative file name args to
209         package--update-file.
210         (package-upload-buffer-internal): Prompt for a destination if
211         package-archive-upload-base is invalid.  Create the directory if
212         it does not exist.
213         (package-upload-buffer, package-upload-file): Doc fix.
215 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
217         * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
218         and move isearch-yank-line to M-s C-e (Bug#8183).
220 2011-03-06  Alan Mackenzie  <acm@muc.de>
222         * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
223         (c-guess-basic-syntax): Move CASE 19 to a different place,
224         correctly to process template-args-cont lines.
226 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
228         * calc/calc-ext.el (calc-init-extensions):
229         Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
230         and calc-nplevel, respectively.  Add keybindings for calc-spn,
231         calc-midi and calc-freq.  Add autoloads for calcFunc-spn,
232         calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
234         * calc/calc-units.el (calc-dblevel): Rename from
235         calc-logunits-dblevel.
236         (calc-nplevel): Rename from calc-logunits-nplevel.
237         (math-midi-round, math-freqp, math-midip, math-spnp)
238         (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
239         (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
240         (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
241         (math-notes): New variable.
243         * calc/calc.el (calc-note-threshold): New variable.
245 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
247         * emacs-lisp/package.el (package-archives): Accept either ordinary
248         directory names, in addition to HTTP URLs.
249         (package--with-work-buffer): New macro.   Handle normal directories.
250         (package-handle-response): Don't display the failing buffer.
251         (package-download-single, package-download-tar)
252         (package--download-one-archive): Use package--with-work-buffer.
253         (package-archive-base): Rename from package-archive-url.
255 2011-03-06  Glenn Morris  <rgm@gnu.org>
257         * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
258         (xmodmap-generic-mode): Respect generic-extras-enable-list.
260 2011-03-06  Daniel Clemente  <dcl441-bugs@yahoo.com>  (tiny change)
262         * generic-x.el (xmodmap-generic-mode): New.  (Bug#2065)
264 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
266         * allout.el (allout-init, allout-prefixed-keybindings)
267         (allout-unprefixed-keybindings):
268         * progmodes/prolog.el (prolog-find-term):
269         Fix typos in docstrings.
271 2011-03-06  Nikolaj Schumacher  <me@nschum.de>  (tiny change)
273         * emacs-lisp/elp.el (elp-results): Fix off-by-one in header.  (Bug#2746)
275 2011-03-06  Kevin Ryde  <user42@zip.com.au>
277         * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc.  (Bug#5326)
279 2011-03-06  Michael Shields  <shields@msrl.com>  (tiny change)
281         * window.el (one-window-p, walk-windows, display-buffer):
282         Doc fixes.  (Bug#5567)
284 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
286         * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
287         of the variable if it exists.
289 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
291         * bookmark.el:
292         * desktop.el:
293         * emacs-lock.el:
294         * ps-print.el:
295         * saveplace.el:
296         * net/tramp-cache.el:
297         * obsolete/fast-lock.el:
298         * textmodes/reftex.el:
299         Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
301 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
303         * files.el (delete-directory, copy-directory, list-directory):
304         Use read-directory-name.
306         * find-file.el (ff-find-the-other-file):
307         * net/ange-ftp.el (ange-ftp-make-directory):
308         * printing.el (pr-interactive-dir):
309         * progmodes/ada-prj.el (ada-prj-load-directory):
310         * progmodes/ebnf2ps.el (ebnf-print-directory)
311         (ebnf-spool-directory, ebnf-eps-directory)
312         (ebnf-syntax-directory):
313         * shell.el (shell):
314         * speedbar.el (speedbar-create-directory):
315         * vc/emerge.el (emerge-merge-directories):
316         * vc/vc-dir.el (vc-dir):
317         * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
319 2011-03-05  Chong Yidong  <cyd@stupidchicken.com>
321         * help-mode.el (help-buffer): If we are to return the current
322         buffer, signal an error if it's not in Help mode (Bug#8147).
324 2011-03-05  Reuben Thomas  <rrt@sc3d.org>
326         * files.el (file-name-version-regexp): Handle backup files of the
327         form `foo.js.~HEAD~1~' (Bug#8159).
329 2011-03-05  Glenn Morris  <rgm@gnu.org>
331         * eshell/esh-var.el: Don't require esh-test when compiling.
332         * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
333         * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
334         * eshell/esh-test.el: Move to ../../test/eshell.el.
336 2011-03-05  David Engster  <deng@randomsample.de>
338         * files.el (save-some-buffers): Report the names of buffers saved
339         automatically due to buffer-save-without-query (Bug#8134).
341 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
343         * net/rcirc.el: Add QuakeNet authentication support.
344         (rcirc-authinfo, rcirc-check-auth-status)
345         (rcirc-authenticate): Support QuakeNet.
347 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
349         * net/rcirc.el: Add functionality to authenticate before
350         autojoining channels.
351         (rcirc-authenticate-before-join): New option.
352         (rcirc-authenticated-hook): New variable.
353         (rcirc-connect): Make local variable rcirc-user-authenticated.
354         (rcirc-handler-001): Respect rcirc-authenticate-before-join.
355         (rcirc-check-auth-status, rcirc-join-channels-post-auth):
356         New functions.
357         (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
358         Call rcirc-check-auth-status.
360 2011-03-05  Alex Harsanyi  <AlexHarsanyi@gmail.com>
362         * net/soap-client.el (soap-namespace-put-link): Check if the target
363         name is fully qualified -- use only the name part.
364         (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
365         types, treated the same as xsd:sequence.  (Bug#8166)
367 2011-03-05  Eli Zaretskii  <eliz@gnu.org>
369         * files.el (find-file-noselect): Don't ask about re-visiting
370         non-literally if the file is already visited in image-mode.
371         (Bug#8177)
373 2011-03-05  Glenn Morris  <rgm@gnu.org>
375         * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
376         (eshell-mode): Use eshell-kill-buffer-function.
377         Run the -initialize functions independently of the -load-hooks.
378         * eshell/esh-proc.el (eshell-kill-process-function): New function.
379         (eshell-gather-process-output, eshell-sentinel)
380         (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
381         Use eshell-kill-process-function.
382         * eshell/em-alias.el (eshell-alias-load-hook):
383         * eshell/em-banner.el (eshell-banner-load-hook):
384         * eshell/em-cmpl.el (eshell-cmpl-load-hook):
385         * eshell/em-dirs.el (eshell-dirs-load-hook):
386         * eshell/em-glob.el (eshell-glob-load-hook):
387         * eshell/em-hist.el (eshell-hist-load-hook):
388         * eshell/em-pred.el (eshell-pred-load-hook):
389         * eshell/em-prompt.el (eshell-prompt-load-hook):
390         * eshell/em-rebind.el (eshell-rebind-load-hook):
391         * eshell/em-script.el (eshell-script-load-hook):
392         * eshell/em-smart.el (eshell-smart-load-hook):
393         * eshell/em-term.el (eshell-term-load-hook):
394         * eshell/em-unix.el (eshell-unix-load-hook):
395         * eshell/esh-arg.el (eshell-arg-load-hook):
396         * eshell/esh-cmd.el (eshell-cmd-load-hook):
397         * eshell/esh-ext.el (eshell-ext-load-hook):
398         * eshell/esh-io.el (eshell-io-load-hook):
399         * eshell/esh-mode.el (eshell-exit-hook):
400         * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
401         * eshell/esh-var.el (eshell-var-load-hook):
402         Set default hook values to nil.  (Bug#5375)
404         * eshell/esh-module.el (eshell-module-unload-hook)
405         (eshell-modules-list): Remove leading * from defcustom docs.
407         * eshell/esh-util.el (eshell-for): Make it obsolete.
408         * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
409         * eshell/em-dirs.el (eshell-save-some-last-dir):
410         * eshell/em-hist.el (eshell-save-some-history)
411         (eshell-hist-parse-modifier):
412         * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
413         (eshell-ls-entries):
414         * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
415         * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
416         (eshell/which):
417         * eshell/esh-ext.el (eshell-find-interpreter):
418         * eshell/esh-mode.el (eshell-mode):
419         * eshell/esh-module.el (eshell-unload-extension-modules):
420         * eshell/esh-proc.el (eshell-process-interact):
421         * eshell/esh-test.el (eshell-test):
422         * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
423         * eshell/esh-var.el (eshell/env, eshell-environment-variables)
424         (eshell-variables-list):
425         * eshell/eshell.el (eshell-unload-all-modules):
426         Replace eshell-for with dolist.
428 2011-03-04  Glenn Morris  <rgm@gnu.org>
430         * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0.  (Bug#8170)
432 2011-03-04  Tom Tromey  <tromey@redhat.com>
434         * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
436 2011-03-04  Glenn Morris  <rgm@gnu.org>
438         * outline.el (outline-regexp): No longer allow nil.
439         (outline-heading-end-regexp): Add safety predicate.  (Bug#7619)
441         * net/browse-url.el (browse-url):
442         Handle deleted default-directory.  (Bug#6077)
444         * recentf.el (recentf-include-p): In case of a buggy predicate,
445         err on the side of including, not excluding.  (Bug#5843)
447 2011-03-04  Jay Belanger  <jay.p.belanger@gmail.com>
449         * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
450         variables as units.
452 2011-03-04  Bob Rogers  <rogers@rgrjr.dyndns.org>
454         * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
455         if there is no node.  (Bug#3261)
457 2011-03-04  Leo  <sdl.web@gmail.com>
459         * vc/diff-mode.el (diff-mode): Fix whitespace-style.  (Bug#8139)
461         * time.el (display-time-world-list): Fix typo.  (Bug#7571)
463 2011-03-04  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
465         * cus-edit.el (custom-buffer-create-internal):
466         Split search string before passing it to `customize-apropos' (bug#8136).
468 2011-03-04  Drew Adams  <drew.adams@oracle.com>
470         * image-dired.el (image-dired-cmd-read-exif-data-options):
471         Fix typo in docstring (bug#8156).
473 2011-03-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
475         * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
477 2011-03-03  Christian Ohler  <ohler@gnu.org>
479         * emacs-lisp/ert.el (ert--explain-equal): New function.
480         (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
481         All callers changed.
482         (ert--explain-equal-including-properties): Renamed from
483         `ert--explain-not-equal-including-properties'.  All callers
484         changed.
486 2011-03-03  Christian Ohler  <ohler@gnu.org>
488         * emacs-lisp/ert.el (ert--stats-set-test-and-result)
489         (ert-char-for-test-result, ert-string-for-test-result)
490         (ert-run-tests-batch, ert--print-test-for-ewoc):
491         Handle `ert-test-quit'.
493 2011-03-03  David Abrahams  <dave@boostpro.com>  (tiny change)
495         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
496         Move ediff-defvar-local calls after defcustoms.  (Bug#1821)
498 2011-03-03  Glenn Morris  <rgm@gnu.org>
500         * files.el (file-truename): Doc fix.  (Bug#2341)
502 2011-03-03  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
504         * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
506 2011-03-03  Vagn Johansen  <gonz808@hotmail.com>  (tiny change)
508         * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
509         programs output backslashes.  (Bug#7663)
511 2011-03-03  Glenn Morris  <rgm@gnu.org>
513         * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
514         (mail-mode): Remove mail-sent-via from the doc.
515         (mail-sent-via): Make it obsolete.  (Bug#1776)
517         * progmodes/grep.el (grep-highlight-matches): Doc fix.
518         (grep-process-setup): No highlighting without font-lock.  (Bug#8084)
520         * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
521         with no parents.  (Bug#8025)
523 2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>
525         * password-cache.el (password-in-cache-p): Add autoload.
527 2011-03-02  Glenn Morris  <rgm@gnu.org>
529         * man.el (Man-support-local-filenames): Also handle Red Hat's man.
530         * dired-x.el (Man-support-local-filenames): Autoload it.
531         (dired-guess-shell-alist-default): Also handle Red Hat's man.
533         * dired-x.el (dired-default-directory-alist, dired-default-directory):
534         Mark as obsolete.
535         (dired-smart-shell-command): Just call dired-current-directory.
537         * dired-x.el (dired-jump-other-window): Add autoload.
538         (dired-default-directory-alist, dired-default-directory): Doc fixes.
539         (dired-default-directory-alist): Mark as risky.
541         * dired-x.el (dired-omit-here-always): Make it obsolete.
543 2011-03-02  Chong Yidong  <cyd@stupidchicken.com>
545         * textmodes/artist.el (artist-curr-go): Default to pen-line.
546         (artist-select-op-pen-line): New function.
547         (artist-menu-map): New variable.
548         (artist-mode-map): Add a menu to the menu-bar.
550 2011-03-02  Jay Belanger  <jay.p.belanger@gmail.com>
552         * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
553         when evaluating.
555         * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
556         New function.
557         (math-logunits-add, math-logunits-mul, math-logunits-divide):
558         (math-logunits-quant, math-logunits-level):
559         Use `math-conditional-apply' and `math-conditional-pow' to evaluate
560         functions.
561         (math-logunits-level): Extract units from ratio.
563 2011-03-01  Juanma Barranquero  <lekktu@gmail.com>
565         * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
567 2011-03-01  Glenn Morris  <rgm@gnu.org>
569         * calendar/cal-hebrew.el (calendar-hebrew-birthday)
570         (diary-hebrew-birthday): Rename and rework functions added
571         in previous change.
573 2011-03-01  Ed Reingold  <reingold@emr.cs.iit.edu>
575         * calendar/cal-hebrew.el (hebrew-calendar-birthday)
576         (diary-hebrew-birthday): New functions.
578 2011-03-01  Glenn Morris  <rgm@gnu.org>
580         * dired.el (dired-safe-switches-p): Beef it up.
581         (dired-actual-switches): Use it for the safe-local prop.  (Bug#3230)
583 2011-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
585         * dired.el (dired-safe-switches-p): New function.
587 2011-03-01  Glenn Morris  <rgm@gnu.org>
589         * files.el (dir-locals-collect-variables):
590         Add the ability to exclude subdirectories.  (Bug#8100)
592         * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
594 2011-02-28  Christoph Scholtes  <cschol2112@googlemail.com>
596         * ido.el (ido-everywhere): Doc fix.
597         (ido-mode): Doc fix.
599 2011-02-28  Glenn Morris  <rgm@gnu.org>
601         * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
603 2011-02-28  Michael Albinus  <michael.albinus@gmx.de>
605         * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
606         shadows.
608 2011-02-28  Antoine Levitt  <antoine.levitt@gmail.com>
610         * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
612 2011-02-28  Juanma Barranquero  <lekktu@gmail.com>
614         * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
615         Fix typos in docstrings.
617 2011-02-28  Stephen Berman  <stephen.berman@gmx.net>
619         * dired-aux.el (dired-update-file-line):
620         Fix 2010-11-09 change.  (Bug#8131)
622 2011-02-28  Eli Zaretskii  <eliz@gnu.org>
624         * international/mule-cmds.el (set-default-coding-systems): Use the
625         -unix variant of encoding in default-keyboard-coding-system.
626         (Bug#8122)
628 2011-02-27  Chong Yidong  <cyd@stupidchicken.com>
630         * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
632 2011-02-27  Prestoo Ten  <prestooten@gmail.com>  (tiny change)
634         * term/screen.el: New file (Bug#2650).
636 2011-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
638         * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
639         (pcase-mutually-exclusive-predicates): New var.
640         (pcase--split-consp, pcase--split-pred): Use it.
641         (pcase--split-equal, pcase--split-member): When splitting against
642         a pure predicate, run it to know the outcome.
643         (pcase--u1): Mark vars that are actually used.
644         (pcase--q1): Avoid introducing unused vars.
646 2011-02-27  Jay Belanger  <jay.p.belanger@gmail.com>
648         * calc/calc-ext.el (calc-init-extensions):
649         Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
651         * calc/calc-math.el (calcFunc-log10): Don't signal an error in
652         symbolic mode.
654         * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
655         argument is a variable.
657 2011-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
659         * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
660         (aput, adelete, amake): Replace `eval' -> `symbol-value'.
661         Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
663 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
665         * password-cache.el (password-in-cache-p): Convenience function to
666         check if a key is in the cache, even if the value is nil.
668 2011-02-25  Jambunathan K  <kjambunathan@gmail.com>
670         * emacs-lisp/package-x.el (package--archive-contents-from-url)
671         (package--archive-contents-from-file): New functions.
672         (package-update-news-on-upload): New var.
673         (package-upload-buffer-internal): Extract archive-contents from
674         package-archive-upload-base if it is not found at archive-url.
675         Obey package-update-news-on-upload.
676         (package-upload-buffer, package-upload-file): Doc fix.
678 2011-02-24  Glenn Morris  <rgm@gnu.org>
680         * files-x.el (modify-dir-local-variable): Handle dir-locals from
681         the cache, and from non-file sources.
683         * help-fns.el (describe-variable): Return consistent results when a
684         dir-local from a file came from the cache or did not.  (Bug#8095)
685         If a dir-local has no associated file, say it came from a "directory".
687         * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
688         (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
690         * files.el (dir-locals-find-file): Doc fix.
691         Fix the check for cache elements that have no associated file,
692         and the mtime check for those that do.  (Bug#8095)
694         * dired-x.el (dired-hack-local-variables):
695         Handle interrupts during hacking local variables.  (Bug#5216)
697         * emacs-lisp/autoload.el (autoload-save-buffers)
698         (autoload-find-destination, update-directory-autoloads):
699         Avoid prompts when updating autoloads.
701 2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
703         * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
705 2011-02-23  Kenichi Handa  <handa@m17n.org>
707         * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
708         error when a multipart boundary in the nested multipart is found.
710         * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
711         header components.
713 2011-02-23  Glenn Morris  <rgm@gnu.org>
715         * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
716         * dired-x.el (dired-omit-mode): Safe if boolean.
717         (dired-enable-local-variables): Fix doc and custom type.
718         (dired-enable-local-variables, dired-local-variables-file)
719         (dired-hack-local-variables): Make obsolete.
720         (dired-omit-here-always): Use dir-locals.el instead.
722         * files.el (safe-local-eval-forms): Add the write-file-hooks version.
724 2011-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
726         * help-fns.el (describe-function-1): Don't signal an error just because
727         the DOC file disappeared.
729 2011-02-22  Seppo Sade  <sepposade1@gmail.com>  (tiny change)
731         * eshell/esh-ext.el (eshell-external-command): Do not restrict
732         remote check to "ftp".  (Bug#8089)
734 2011-02-21  Alan Mackenzie  <acm@muc.de>
736         Fix bug #7930.
737         * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
738         in macros finding their way into c-state-nonlit-pos-cache.
739         Strengthen the comments.
740         (c-state-dump): New commented out diagnostic routine.
742 2011-02-21  Michael Albinus  <michael.albinus@gmx.de>
744         * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
745         `field' property of `rfn-eshadow-overlay'.
747 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
749         * net/netrc.el (netrc-parse): Comment fix.
751 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
753         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
754         Autoload.  Add optional arg FRAME, and pass it to color-values.
755         (color-complement): Caller changed.  Doc fix.
756         (color-gradient): Rewrite for better clarity and efficiency.
758         * faces.el (color-values): Use cond for clarity.  Doc fix.
760         * facemenu.el (color-rgb-to-hsv): Delete; use the version in
761         color.el instead.
762         (list-colors-sort-key, list-colors-print):
763         Use color-normalized-values.
765 2011-02-20  Drew Adams  <drew.adams@oracle.com>
767         * color.el: First part of merge from hexrgb.el.
768         (color-rgb-to-hex): Rename from color-rgb->hex.
769         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
770         saturation to zero if the value is too small.
771         (color-rgb-to-hsl): Rename from color-rgb->hsl.
772         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
773         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
774         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
775         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
776         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
777         (color-cie-de2000): Doc fix.
779 2011-02-20  Alan Mackenzie  <acm@muc.de>
781         * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
782         locating the beginning of a macro.  (Bug#7595)
784 2011-02-20  Glenn Morris  <rgm@gnu.org>
786         * edmacro.el (edmacro-eight-bits): Make it a defcustom.
787         Don't autoload it.
789         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
790         (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
792 2011-02-19  Dmitry Bolshakov  <dmitry.bolshakov@bridge-quest.com>
793             Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
795         * progmodes/hideshow.el (hs-find-block-beginning)
796         (hs-hide-level-recursive): Ignore comments when parsing braces
797         (Bug#8036).
799 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
801         * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
802         (vc-bzr-pull): Use it.
804 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
806         * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
807         (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
808         but returning an alist.  Ignore comments in bzr conffile.
809         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
810         (vc-bzr-error-regex-alist): New var.
811         (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
813         * vc/vc-dispatcher.el (vc-do-async-command):
814         Bind inhibit-read-only to t.
816         * progmodes/compile.el (compilation--flush-directory-cache):
817         Handle the case where cdr of compilation--flush-directory-cache
818         points to no buffer, which can occur if we previously switched to
819         compilation-mode in a pregenerated buffer.
821 2011-02-19  Kenichi Handa  <handa@m17n.org>
823         * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
824         get the header copy into the temporary buffer.
825         (rmail-mime-insert-decoded-text): Ignore us-ascii.
826         (rmail-show-mime): When rmail-mime-coding-system is nil, set
827         buffer-file-coding-system to undecided.
829 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
831         * international/mule-cmds.el (read-char-by-name, ucs-insert):
832         Document completion with asterisk and a substring.
834 2011-02-19  Glenn Morris  <rgm@gnu.org>
836         * files.el (find-file-literally): Doc fix.
838         * simple.el (rfc822-goto-eoh): Give it a doc-string.
840         * log-edit.el (log-edit-insert-changelog):
841         Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
843 2011-02-19  Glenn Morris  <rgm@gnu.org>
845         * dired-x.el: Don't require dired-aux.
846         (dired-do-create-files, dired-mark-read-regexp)
847         (dired-do-create-files-regexp): Autoload from dired-aux.
849         * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
850         * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
852         * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
853         * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
855         * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
856         * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
857         (dired-clean-up-buffers-too): Declare.
859         * dired-x.el (dired-initial-position): Merge into dired.el's version.
860         * dired.el (dired-initial-position): Merge dired-x's version here.
861         (dired-find-subdir): Declare.
863         * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
864         * dired-aux.el (dired-add-entry): Give it a doc-string.
865         Merge dired-x's dired-omit handling here.
866         (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
868         * international/mule-diag.el (list-input-methods-1):
869         Indent all lines of multi-line doc-strings.  (Bug#8066)
871 2011-02-18  Chong Yidong  <cyd@stupidchicken.com>
873         Fix 2011-02-02 changes.
875         * apropos.el (apropos-print): Call apropos-mode before setting up
876         buffer variables.  Use inhibit-read-only.
878         * emacs-lisp/package.el (package--list-packages):
879         Call package-menu-mode before setting up buffer variables.
881         * play/solitaire.el (solitaire): Call solitaire-mode before
882         setting up buffer variables.  Use inhibit-read-only.
884 2011-02-18  Lawrence Mitchell  <wence@gmx.li>
886         * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
887         Bind case-fold-search to nil when looking for end of here-doc.
889 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
891         * image-mode.el (image-toggle-display-image):
892         Set find-file-literally non-nil in buffers visiting binary image
893         files.  (Bug#8047)
895 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
897         * files.el (cd): Make completion obey cd-path (bug#7924).
899 2011-02-18  Glenn Morris  <rgm@gnu.org>
901         * progmodes/prolog.el: Don't require compile when compiling.
902         (compilation-shell-minor-mode, compilation-error-regexp-alist)
903         (compilation-forget-errors, compilation-fake-loc)
904         (compilation-parse-errors-function, compilation-error-list): Declare.
905         (prolog-inferior-mode): Require 'compile.
907         * emulation/cua-base.el (pc-selection-mode): Declare.
909         * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
910         (customize-object): Add autoload cookie.
911         * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
912         (eieio-browse, describe-class, eieio-describe-class)
913         (eieio-describe-constructor, describe-generic, eieio-describe-generic)
914         (eieio-help-mode-augmentation-maybee): Add autoload cookies.
915         * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
916         * Makefile.in (autoloads): Make eieio.el writable.
918         * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
919         (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
920         (dired-hack-local-variables): Use inhibit-read-only.
921         (dired-guess-default): Simplify.
922         (dired-make-relative-symlink): Use dotimes.
923         (dired-simultaneous-find-file): Use dolist.
924         (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
925         (dired-x-hands-off-my-keys): Doc fix.
926         (dired-x-bind-find-file): Doc fix.  Use remapping.
927         (after-init-hook): No need to add dired-x-bind-find-file.
928         (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
929         No need to call expand-file-name.
930         (dired-filename-at-point): Remove unused locals `end', `filename'.
932 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
934         * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
936 2011-02-18  Christian Ohler  <ohler@gnu.org>
938         * emacs-lisp/ert.el (ert--setup-results-buffer)
939         (ert-results-pop-to-backtrace-for-test-at-point)
940         (ert-results-pop-to-messages-for-test-at-point)
941         (ert-results-pop-to-should-forms-for-test-at-point)
942         (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
943         were incorrect and unnecessary.  This should make `make check'
944         pass again.
946 2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
948         * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
949         (allout-widgets-icons-dark-subdir): Track relocations of icons.
950         * lisp/allout.el: Remove commentary about remove encryption
951         passphrase mnemonic support and verification.
952         (allout-encrypt-string): Recognize epg failure to decrypt gpg2
953         armored text using gpg1, and indicate that the gpg version *might*
954         be the problem in the error message.
956 2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
958         * net/rcirc.el (rcirc-float-time): New function.
959         (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
960         (rcirc-ctcp-sender-PING): Use it.
962 2011-02-17  Glenn Morris  <rgm@gnu.org>
964         * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
965         (speedbar-update-flag, speedbar-fetch-etags-command)
966         (speedbar-fetch-etags-arguments):
967         * term.el (term-buffer-maximum-size, term-input-chunk-size)
968         (term-completion-autolist, term-completion-addsuffix)
969         (term-completion-recexact, term-completion-fignore):
970         * term/sup-mouse.el (sup-mouse-fast-select-window):
971         * term/x-win.el (x-select-request-type):
972         Convert some defvars with "*" to defcustoms.
974         * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
976         * vc/vc.el (vc-default-previous-version):
977         Remove alias that points nowhere.  (Bug#4496)
979         * dired-x.el (dired-clean-up-after-deletion):
980         kill-buffer does not need save-excursion.
981         (dired-do-run-mail): Doc fix.
982         (dired-filename-at-point): Doc fix.
983         Use looking-at, and skip-chars rather than re search.
985         * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
987 2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
989         * allout-widgets.el: New allout extension that shows allout
990         outline structure with graphical widgets.  'allout-widgets'
991         customize group is an 'allout' subgroup, for easy discovery.
993         * allout.el: Include PGP and GnuPG in Keywords, and other
994         commentary refinements.
995         (allout-abbreviate-flattened-numbering): Rename to
996         allout-flattened-numbering-abbreviation, and
997         define-obsolete-variable-alias the old name.
998         (allout-flattened-numbering-abbreviation): Rename from
999         allout-abbreviate-flattened-numbering.
1000         (allout-mode-p): Include among autoloads, for use by other modes
1001         with impunity.
1002         (allout-listify-exposed):
1003         Use allout-flattened-numbering-abbreviation.
1004         (allout-encrypt-string): Use set-buffer-multibyte directly.
1005         (allout-set-buffer-multibyte): Remove.
1007 2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1009         * simple.el (just-one-space): Remove useless `or' call.
1011 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
1013         * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1014         (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1015         (soap-decoded-multi-refs, soap-current-wsdl)
1016         (soap-encoded-namespaces): Rename CL-style *...* variables.
1018 2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
1020         * net/soap-client.el: Add "comm" and "hypermedia" to the
1021         keywords.  Reflow too long lines.
1023         * net/soap-inspect.el: Ditto.  Require 'cl.
1025 2011-02-16  Bastien Guerry  <bzg@altern.org>
1027         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1028         in a `doctor-type' argument.
1030 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
1032         * net/soap-client.el:
1033         * net/soap-inspect.el: New files.
1035 2011-02-16  Leo  <sdl.web@gmail.com>
1037         * dired-x.el (dired-mode-map, dired-extra-startup):
1038         Remove dired-copy-filename-as-kill since it's already in dired.el.
1040 2011-02-16  Glenn Morris  <rgm@gnu.org>
1042         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1043         Doc fixes.  Add :set property, replacing top-level calls.
1044         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1045         (dired-guess-shell-gnutar): Test tar version rather than system-type.
1046         (dired-extra-startup, dired-man, dired-info): Doc fixes.
1047         (dired-clean-up-after-deletion): Use when and dolist.
1048         (dired-jump): Use unless and when.
1049         (dired-virtual): Use line-end-position.
1050         (dired-default-directory-alist): Rename from default-directory-alist.
1051         (dired-default-directory): Update for above name change.
1052         (dired-vm): Drop VM < 5 and simplify.
1053         (dired-buffer-more-recently-used-p): Rewrite.
1054         (dired-filename-at-point): Use when and or.
1055         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1056         Update callers.
1058 2011-02-15  Glenn Morris  <rgm@gnu.org>
1060         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
1062 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
1064         * vc/vc-git.el (vc-git-root-log-format): New option for
1065         customizing log format.
1066         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1067         (vc-git-log-view-mode): Use it.
1068         (vc-git-expanded-log-entry): New function.
1069         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
1071         * vc/vc-hg.el (vc-hg-root-log-template): New option for
1072         customizing log format.
1073         (vc-hg-print-log): Use it.
1074         (vc-hg-expanded-log-entry): New function.
1075         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1076         vc-hg-expanded-log-entry.  Truncate lines in root log.
1078         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1080         * vc/log-view.el (log-view-mode-menu):
1081         Add log-view-toggle-entry-display.
1083 2011-02-14  Glenn Morris  <rgm@gnu.org>
1085         * dired-x.el: Don't require man when compiling.
1086         (dired-omit-extensions, dired-local-variables-file)
1087         (dired-x-hands-off-my-keys): Make them defcustoms.
1088         (Man-support-local-filenames, Man-getpage-in-background): Declare.
1089         (vm-visit-folder): Declare rather than defining.
1090         (dired-x-help-address, dired-x-variable-list): Remove.
1091         (dired-x-submit-report): Make it an obsolete alias.
1093 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
1095         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1097 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1099         * net/imap.el: Bring it back.
1101 2011-02-13  Alan Mackenzie  <acm@muc.de>
1103         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1104         narrow-to-region call that cuts context off the end (Bug#7722).
1106         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1107         Refactor nested if-forms with a simple cond.
1108         (c-forward-<>-arglist): Revert 2011-01-31 change.
1110 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
1112         * vc/log-view.el: New command log-view-toggle-entry-display for
1113         toggling log entries between concise and detailed forms.
1114         (log-view-toggle-entry-display): New command.
1115         (log-view-mode-map): Bind RET to it.
1116         (log-view-expanded-log-entry-function): New variable.
1117         (log-view-current-entry, log-view-inside-comment-p)
1118         (log-view-current-tag): New functions.
1119         (log-view-toggle-mark-entry): Use log-view-current-entry and
1120         log-view-end-of-defun instead of searching directly with
1121         log-view-message-re.
1122         (log-view-end-of-defun): Likewise.  Add optional ARG for
1123         compatibility with end-of-defun.
1124         (log-view-end-of-defun): Ignore comments and VC buttons.
1126         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1127         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1129 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1131         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
1133         * net/imap-hash.el: Remove file.
1135 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
1137         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1139         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1140         call.
1142         * net/tramp-imap.el: Remove file.
1144 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
1146         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1147         widget library for buttons, just use button.el.
1149         * vc/log-view.el (log-view-mode-map): Don't inherit from
1150         widget-keymap.
1152 2011-02-12  Glenn Morris  <rgm@gnu.org>
1154         * emacs-lisp/cl-seq.el (union, nunion, intersection)
1155         (nintersection, set-difference, nset-difference)
1156         (set-exclusive-or, nset-exclusive-or): Doc fix.
1158         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1160         * faces.el (face-attr-match-p): Handle the obsolete :bold and
1161         :italic props, so that frame-set-background-mode works.  (Bug#7966)
1163         * simple.el (next-error): Doc fix.
1165 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1167         * dired-aux.el (dired-create-files): Adapt destination name to
1168         match the new behavior of copy-directory.
1170 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
1172         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1173         from rmail-dont-reply-to-names.  Callers changed.
1174         (mail-dont-reply-to): Rename from mail-dont-reply-to.
1175         (rmail-dont-reply-to): Make it an obsolete alias.
1177         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1178         nil, and make obsolete (Bug#7888).
1179         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1181         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1183         * mail/rmailsort.el (rmail-sort-by-correspondent)
1184         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
1186         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1188 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1190         * files.el (copy-directory): New argument COPY-CONTENTS for
1191         copying directory contents into another existing directory.
1193 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
1195         * minibuffer.el (completion-table-case-fold): New function for
1196         creating a case-insensitive completion table.
1198 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
1200         * net/tramp.el (tramp-default-method): Also check if
1201         `auth-source-search' is bound.
1202         (tramp-read-passwd): Use `auth-source-search' instead of
1203         `auto-source-user-or-password'.
1205         * net/tramp-imap.el: Autoload `auto-source-search' instead of
1206         `auto-source-user-or-password.
1207         (tramp-imap-passphrase-callback-function): Use it.
1209         * net/imap-hash.el: Autoload `auto-source-search' instead of
1210         `auto-source-user-or-password.
1211         (imap-hash-open-connection): Use it.
1213         * mail/smtpmail.el: Autoload `auto-source-search' instead of
1214         `auto-source-user-or-password.
1215         (smtpmail-try-auth-methods): Use it.
1217 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
1219         * emacs-lisp/package.el: Allow packages to be reinstalled.
1220         (package--write-file-no-coding): Remove EXCL arg.
1221         (package-unpack-single): Don't use it.
1223 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
1225         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1226         in each sub directory.
1227         (vc-svn-registered): Use vc-svn-root.
1228         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
1229         (vc-svn-repository-hostname): Use "svn info".
1231 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1233         * simple.el (delete-trailing-whitespace): New optional buffer
1234         bound parameters.
1236 2011-02-11  Bastien Guerry  <bzg@altern.org>
1238         * files.el (basic-save-buffer): save unmodified buffers when
1239         the file pointed by buffer-file-name doesn't exist.
1241 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1243         * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1245 2011-02-11  Glenn Morris  <rgm@gnu.org>
1247         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1249 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
1251         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1253 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1255         * server.el (server-process-filter): Use pcase.
1257         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1258         conflicting ways.
1259         (smie-indent--parent): Extend to "parent of arg".
1260         (smie-indent-inside-string): New function.
1261         (smie-indent-functions): Use it.
1263         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1264         bzr locking race condition.
1266         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1267         still valid before using it.
1269         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1270         `message' -> `compilation-message' rename (bug#8004).
1272         Move keymap initialization into declaration.
1273         * textmodes/enriched.el (enriched-mode-map):
1274         * textmodes/bib-mode.el (bib-mode-map):
1275         * term/lk201.el (lk201-function-map):
1276         * tar-mode.el (tar-mode-map):
1277         * replace.el (occur-mode-map):
1278         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1279         * progmodes/idlw-help.el (idlwave-help-mode-map):
1280         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1281         * play/solitaire.el (solitaire-mode-map):
1282         * play/snake.el (snake-mode-map, snake-null-map):
1283         * play/pong.el (pong-mode-map):
1284         * play/handwrite.el (menu-bar-handwrite-map):
1285         * play/gametree.el (gametree-mode-map):
1286         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1287         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1288         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1289         (newsticker--url-keymap):
1290         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1291         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1292         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1293         (menu-bar-edit-menu, menu-bar-custom-menu)
1294         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1295         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1296         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1297         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1298         (menu-bar-tools-menu, menu-bar-describe-menu)
1299         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1300         (menu-bar-help-menu):
1301         * mail/rmailsum.el (rmail-summary-mode-map):
1302         * kmacro.el (kmacro-step-edit-map):
1303         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1304         (ibuffer-mode-operate-map):
1305         * hi-lock.el (hi-lock-menu, hi-lock-map):
1306         * emulation/vip.el (vip-mode-map):
1307         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1308         * bookmark.el (bookmark-bmenu-mode-map):
1309         * help-mode.el (help-mode-map): Move initialization into declaration.
1311 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1313         * net/rcirc.el: Add PRIVMSG and CTCP functions.
1314         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1315         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1316         (rcirc-cmd-me, rcirc-authenticate): Use them.
1318 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
1320         * allout.el: Synopsis: Change allout user configuration so
1321         auto-activation is controlled solely by customization
1322         `allout-auto-activation'.
1324         (allout-auto-activation-helper, allout-setup): New autoloads
1325         implement new custom set procedure for allout-auto-activation.
1326         Also, explicitly invoke (allout-setup) after allout-auto-activation
1327         is custom-defined, to affect the settings in emacs sessions besides
1328         the few where allout-auto-activation customization is done.
1329         (allout-auto-activation): Use allout-auto-activation-helper to
1330         :set.  Revise the docstring.
1331         (allout-init): Reduce functionality to just customizing
1332         allout-auto-activation, and mark obsolete.
1333         (allout-mode): Respect string values for allout-auto-activation.
1334         Run allout-after-copy-or-kill-hook without any args.
1335         (allout-mode, allout-layout, allout-default-layout)
1336         (outlineify-sticky): Adjust docstring for new scheme.
1337         (allout-after-copy-or-kill-hook): No arguments - hook implementers
1338         should concentrate on the kill ring.
1340 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
1342         * password-cache.el (password-cache-remove): Accept secrets that are
1343         not strings.
1345 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1347         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1348         of here-doc that immediately follows a comment.
1350 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1352         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1354         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1355         available.
1356         (rcirc-ctcp-sender-PING): New function.
1358 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1360         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1361         Remove the mark/nomark handling, and activate shift-select-mode instead.
1363         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1365 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
1367         * calc/calc-units.el (math-logunits-quant): Add support for
1368         non-logarithmic units.
1370 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
1372         * allout.el (allout-after-copy-or-kill-hook): New hook for
1373         extension-specific processing of killed text.
1374         (allout-mode): Include new allout-after-copy-or-kill-hook among
1375         mentioned hooks.
1376         (allout-kill-line, allout-kill-topic): Ensure that processing
1377         after kill happens even if barf-if-buffer-read-only is raised.
1378         Include new allout-after-copy-or-kill-hook among that subsequent
1379         processing.
1380         (allout-deannotate-hidden): Actually remove the annotation text
1381         properties.
1383         * allout.el (allout-listify-exposed): Copy text sans text properties.
1385 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
1387         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1389 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1391         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1393 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
1395         * calc/calc.el (calc-logunits-field-reference): Rename from
1396         `calc-default-field-reference-level'.
1397         (calc-logunits-power-reference): Rename from
1398         `calc-default-power-reference-level'.
1400         * calc/calc-units.el (math-logunits-quant): Rename from
1401         `math-logunits-level'
1402         (math-logunits-plus): Rename from math-logcombine.
1403         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1404         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1405         (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1406         New functions.
1407         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1408         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1409         (calc-logunits-quantity): Rename from `calc-level'.
1410         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1411         (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1412         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1413         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1414         (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1415         New functions.
1417         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1418         (calc-ul-prefix-help): Remove.
1419         (calc-l-prefix-help): New function.
1420         (calc-full-help): Add reference to `calc-l-prefix-help'.
1422         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1424         * calc/README: Mention logarithmic units.
1426 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
1428         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1429         non-ASCII characters (Bug#7925).
1431 2011-02-05  Glenn Morris  <rgm@gnu.org>
1433         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1435         * calendar/diary-lib.el (diary-font-lock-keywords):
1436         Tweak diary-time-regexp match.  (Bug#7891)
1438         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
1439         (f90-mode): Use it for mode's `find-tag-default-function' property.
1441         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
1443         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
1445 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1447         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1448         (Bug#6386).
1450 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1452         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1453         font-lock-syntax-table remappings.
1454         (sh-here-doc-markers, sh-here-doc-re): Remove.
1455         (sh-font-lock-close-heredoc): Remove.
1456         (sh-syntax-propertize-here-doc): New function.
1457         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1458         instead of the sh-here-doc-re.
1459         (sh-font-lock-paren): Don't do anything in comments or strings.
1460         Handle line continuations.  Accept a few more chars.
1461         Don't rely on the font-lock-syntax-table remappings.
1462         `esac' is not a valid pattern.
1463         (sh-syntax-propertize-function): Handle here-docs differently, so we
1464         don't bother syntax-propertizing the insides.
1466         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1467         Handle new bashisms ";&" and ";;&" (bug#7947).
1469 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
1471         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1472         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1474 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
1476         * net/tramp.el (tramp-postfix-method-format)
1477         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1478         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1479         (tramp-postfix-user-regexp, tramp-prefix-port-format)
1480         (tramp-prefix-port-regexp, tramp-postfix-host-format)
1481         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1482         Doc fix.
1484 2011-02-04  Sam Steingold  <sds@gnu.org>
1486         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1488 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
1490         * international/mule-util.el (with-coding-priority): Doc fix.
1492 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1494         * arc-mode.el (archive-mode-map): Fix a typo in last change.
1496 2011-02-03  Sam Steingold  <sds@gnu.org>
1498         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1499         Do not error out when `func' is nil.
1501 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
1503         * net/tramp-sh.el (tramp-remote-path): Add default settings for
1504         `tramp-default-remote-path' to the docstring.
1505         (tramp-get-remote-path): Suppress error message when `getconf
1506         PATH' fails.
1508         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1510 2011-02-03  Glenn Morris  <rgm@gnu.org>
1512         * vc/vc-hg.el (vc-hg-command): Doc fix.
1514         * term/w32-win.el (libpng-version): Declare for compiler.
1516         * msb.el: No need to load dired while compiling.
1518         * emacs-lisp/elint.el (elint-standard-variables):
1519         Remove a couple of built-ins that now have doc-strings.
1521         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1522         `require' is automatically `eval-and-compile'd.
1524         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1525         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1527         * strokes.el (strokes-fill-current-buffer-with-whitespace):
1528         Move definition before use.
1529         (strokes-report-bug): Make it obsolete.
1531 2011-02-02  Sam Steingold  <sds@gnu.org>
1533         * apropos.el (apropos-print): Now that `apropos-mode' inherits
1534         from `special-mode', entering it makes the buffer read-only, so
1535         call it only when everything has been already inserted.
1536         * emacs-lisp/ert.el (ert--setup-results-buffer)
1537         (ert-results-pop-to-backtrace-for-test-at-point)
1538         (ert-results-pop-to-messages-for-test-at-point)
1539         (ert-results-pop-to-timings): Ditto.
1540         * emacs-lisp/package.el (package--list-packages): Ditto.
1541         * play/solitaire.el (solitaire): Ditto.
1543 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
1545         * progmodes/compile.el: Make all faces inherit.
1546         (compilation-warning): Inherit from font-lock-variable-name-face.
1547         (compilation-info): Inherit from font-lock-type-face.
1548         (compilation-line-number): Reassign to font-lock-keyword-face.
1549         (compilation-column-number): Reassign to font-lock-doc-face.
1550         (compilation-leave-directory-face): Reassign to
1551         font-lock-builtin-face.
1553 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
1555         * dired.el (dired-insert-directory): Don't invoke `ls' when
1556         ls-lisp.el is used to emulate it.
1558 2011-02-01  Julien Danjou  <julien@danjou.info>
1560         * color.el (color-gradient): Add a color-gradient function.
1562 2011-02-01  Sam Steingold  <sds@gnu.org>
1564         * simple.el (special-mode-map): Bind "h" to `describe-mode';
1565         bind "z" to `kill-this-buffer'.
1566         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1567         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1568         (apropos-mode): Inherit from `special-mode'.
1569         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1570         * bookmark.el (bookmark-bmenu-mode): Define using
1571         `define-derived-mode' inheriting from `special-mode'.
1572         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1573         * image-mode.el (image-mode-map): Ditto.
1574         * replace.el (occur-mode): Define using
1575         `define-derived-mode' inheriting from `special-mode'.
1576         * tar-mode.el (tar-mode): Inherit from `special-mode'.
1577         * calendar/diary-lib.el (diary-fancy-display-mode):
1578         Inherit from `special-mode-map'.
1579         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1580         Inherit from `special-mode'.
1581         * emacs-lisp/package.el (package-menu-mode-map): Copy from
1582         `special-mode-map'.
1583         (package-menu-mode): Define using `define-derived-mode'
1584         inheriting from `special-mode'.
1585         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1586         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1587         (xesam-mode-map): Define separately.
1588         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1589         * progmodes/compile.el (compilation-minor-mode-map)
1590         (compilation-mode-map): Inherit from `special-mode-map'.
1591         * vc/diff-mode.el (diff-mode-shared-map):
1592         Inherit from `special-mode-map'.
1593         * vc/log-view.el (log-view-mode-map): Add a comment.
1595 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
1597         * custom.el (load-theme): Define return value.  Drop use of
1598         unsafep; call custom-theme-load-confirm for non-known-safe themes.
1599         (custom-theme-load-confirm): Scroll in the correct window.
1600         (custom-enabled-themes): Add custom-safe-themes to :set-after.
1602         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1603         checkbox if load-theme fails.
1605 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1607         * progmodes/compile.el (compilation-next-error): Check there's
1608         a message before using it (bug#7941).
1610 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
1612         * calc/calc-mtx.el (math-lud-pivot-check): New function.
1613         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1614         of potential pivots.
1616 2011-01-31  Alan Mackenzie  <acm@muc.de>
1618         * progmodes/cc-cmds.el (c-forward-over-illiterals):
1619         Continue parsing if we encounter a naked # (Bug#7595).
1620         (c-beginning-of-statement): Avoid loop in locating the beginning
1621         of a macro.  (Not actually committed until 2011-02-20, see above).
1623 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1625         * files.el (copy-directory): Fix arguments to recursive call.
1627 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1629         * files.el (copy-directory): If destination is an existing
1630         directory, copy into a subdirectory there.
1632 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
1634         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1635         files.
1637 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1639         * image-dired.el (image-dired-mouse-display-image): No-op if no
1640         file is found (Bug#7817).
1642         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1644 2011-01-31  Kenichi Handa  <handa@m17n.org>
1646         * international/quail.el (quail-keyboard-layout-alist):
1647         Remove superfluous SPC for "pc105-uk" (bug#7927).
1649 2011-01-31  Glenn Morris  <rgm@gnu.org>
1651         * msb.el (msb-menu-bar-update-buffers): Update for changed
1652         argument handling of menu-bar-select-frame.  (Bug#7902)
1654 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1656         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1657         to the recursion depth (Bug#7722).
1659 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
1661         * term/ns-win.el (ns-find-file): Expand ns-input-file with
1662         command-line-default-directory (Bug#7872).
1664 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1666         * progmodes/compile.el (compilation--flush-directory-cache):
1667         New function, extracted from compilation--remove-properties.
1668         (compilation--remove-properties, compilation--parse-region): Use it.
1669         (compilation--previous-directory): Handle one more case.
1670         (compilation-enable-debug-messages): Remove.
1671         (compilation-parse-errors, compilation--flush-parse): Just remove the
1672         left over debug messages.
1674 2011-01-31  Sam Steingold  <sds@gnu.org>
1676         * progmodes/compile.el (compilation-enable-debug-messages):
1677         Add a variable to make the parsing messages introduced in
1678         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1679         (compilation-parse-errors, compilation--flush-parse): Use it.
1681 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1683         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
1684         (rcirc-nick-completion-format): New defcustom.
1685         (rcirc-complete): Use it.
1687 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1689         * net/rcirc.el: Clean log filenames (Bug#7933).
1690         (rcirc-log-write): Use convert-standard-filename.
1691         (rcirc-log-filename-function): Documentation updates.
1693 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
1695         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1696         Check report-emacs-bug-can-use-osx-open and use that if t.
1697         (report-emacs-bug-can-use-osx-open): New function.
1698         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1699         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1701 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1703         * vc/vc-dispatcher.el (vc-set-async-update): New function for
1704         updating Dired or VC-dir buffers after async command completes.
1706         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1707         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1709         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1710         completions if it exists.  Use vc-set-async-update.
1711         (vc-git-pull): Use vc-set-async-update.
1713         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1714         read-shell-command.  Use vc-set-async-update.
1715         (vc-hg-merge-branch): Use vc-set-async-update.
1717 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
1719         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1720         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1721         (Bug#7931).
1723 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1725         * progmodes/compile.el: Avoid an N² behavior in grep.
1726         (compilation--previous-directory): New fun.
1727         (compilation--previous-directory-cache): New var.
1728         (compilation--remove-properties): Flush it.
1729         (compilation-directory-properties, compilation-error-properties):
1730         Use the new fun to speed up looking for the current directory.
1732 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1734         * vc/vc-hg.el (vc-hg-history): New var.
1735         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1736         (vc-hg-merge-branch): New function.
1738         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1739         the other way around.
1741         * vc/vc-git.el (vc-git-branches, vc-git-pull)
1742         (vc-git-merge-branch): New functions.
1743         (vc-git-history): New var.
1745 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1747         * vc/vc-dispatcher.el (vc-do-async-command): New function.
1749         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1750         vc-do-async-command.
1752         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1753         Callers changed.
1755 2011-01-28  Leo  <sdl.web@gmail.com>
1757         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1758         highlighting to the "this function is advised" message.
1760         * help-mode.el (help-mode-finish): Apply highlighting here, to
1761         avoid clobbering by substitute-command-keys (Bug#6304).
1763 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1765         * woman.el (woman0-roff-buffer): Process roff escape sequences
1766         occurring prior to the first request (Bug#7843).
1768 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1770         * progmodes/compile.el: Don't use font-lock any more.
1771         (compilation-error-regexp-alist-alist): Change handling of makepp
1772         so it preserves the warning/error distinction on subsequent files.
1773         Simplify various rules.
1774         (compilation-directory-properties): Use font-lock-face.
1775         Add a compilation-message property.
1776         (compilation-internal-error-properties): Use font-lock-face.
1777         Don't set the compilation-debug property here.
1778         (compilation--put-prop, compilation--remove-properties)
1779         (compilation--parse-region, compilation--ensure-parse)
1780         (compilation--ensure-parse): New functions.
1781         (compilation-parse-errors): New function, largely inspired of
1782         compilation-mode-font-lock-keywords.  Set compilation-debug here.
1783         (compilation--parsed): New var.
1784         (compilation--flush-parse): Use compilation--ensure-parse.
1785         (compilation-start): Don't call font-lock.
1786         (compilation-turn-on-font-lock): Remove.
1787         (compilation-setup): Don't set font-lock-extra-managed-props not change
1788         other font-lock settings, other than keywords.
1789         Don't activate font-lock-mode.
1790         Set change-major-mode-hook and before-change-functions.
1791         (compilation--unsetup): Remove properties and hooks.
1792         (compilation-next-single-property-change): New function.
1793         (compilation-next-error): Use it to parse when needed.
1794         (compile-goto-error): Parse buffer as needed.
1795         (compilation--compat-error-properties): Don't need a dummy `face'
1796         property any more.
1798 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1800         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1801         (compilation-process-setup-function): Fix docstring's false promises.
1802         (compilation-error-regexp-alist-alist): Catch omake's continuous
1803         recompilation message and avoid reuse of old markers.
1804         (compilation-parse-errors-function): Declare obsolete.
1805         (compilation-buffer-modtime): Remove.
1806         (compilation--make-cdrloc, compilation--loc->col)
1807         (compilation--loc->line, compilation--loc->file-struct)
1808         (compilation--loc->marker, compilation--loc->visited)
1809         (compilation--make-file-struct, compilation--file-struct->file-spec)
1810         (compilation--file-struct->formats)
1811         (compilation--file-struct->loc-tree): New macros.  Use them.
1812         (compilation--message): New defstruct.  Use them.
1813         (compilation-next-error-function): Don't mess with timestamps to try
1814         and guess when to reparse.
1816 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1818         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1819         (tex-old-error-file-name): New function,
1820         extracted from tex-compilation-parse-errors.
1821         (tex-compilation-parse-errors): Remove.
1822         (tex-error-regexp-alist): New var.
1823         (tex-shell): Use it to avoid compilation-parse-errors-function.
1825         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1826         (grep-mode-font-lock-keywords): Remove regexp that seems like
1827         a left-over from before we used compile.el.
1828         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1829         modifying the buffer within with-silent-modifications.
1831         * progmodes/compile.el: Cleanup text-properties namespace by using
1832         `compilation-message' instead of `message', `compilation-directory'
1833         instead of `directory', and `compilation-debug' instead of `debug'.
1834         (compilation-last-buffer, compilation-parsing-end)
1835         (compilation-error-list, compilation-old-error-list): Move to the
1836         compatibility part of the code.
1837         (compilation-error-properties): If `file' is a function, let it return
1838         a file name.
1839         (compilation-mode-font-lock-keywords): Be more conservative with the
1840         omake "^ *" pattern prefix, to try and minimize the risk of
1841         pathologically slow regexp matching.
1842         (compilation-start): Use inhibit-read-only.
1843         (compilation--unsetup): New function.
1844         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1845         (compilation-filter): Minor tweaks.
1846         (compilation-next-error-function): Try and avoid abusing variables.
1847         (compilation--flush-file-structure): New fun.
1848         (compilation-fake-loc): Use it to improve behavior when file is reused.
1849         (debug-ignored-errors): Add "Moved past last ...".
1850         (compilation--compat-error-properties)
1851         (compilation--compat-parse-errors): Rename by doubling the "-".
1853         Port features from the previous prolog.el to the new one.
1854         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1855         (prolog-program-name, prolog-program-switches, prolog-consult-string)
1856         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1857         variable and use a function to compute the value dynamically.
1858         (prolog-prompt-regexp): Add regexp for GNU Prolog.
1859         (prolog-continued-prompt-regexp): Remove, unused.
1860         (prolog-find-value-by-system): Try and use the value of prolog-system
1861         in the *prolog* buffer if it helps.
1862         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1863         (prolog-zip-on): ..and check prolog-system and version here instead.
1864         (prolog-inferior-self-insert-command): New command.
1865         (prolog-inferior-mode-map): Use it.
1866         (prolog-inferior-error-regexp-alist): New var.
1867         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1868         (prolog-input-filter): Use derived-mode-p.
1869         (prolog-inferior-guess-flavor): New function.
1870         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
1871         make-comint to avoid running comint-mode twice.
1872         (prolog-inferior-buffer): New fun.
1873         (prolog-old-process-region, prolog-old-process-file):
1874         Don't call prolog-bsts here...
1875         (prolog-build-prolog-command): ...do it here instead.
1876         (prolog-old-process-region, prolog-old-process-file):
1877         Use compilation-fake-loc and compilation-forget-errors.
1878         (prolog-consult-compile-region): Use bolp.
1880 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1882         * image-mode.el (image-display-size): Doc fix (Bug#7820).
1884 2011-01-27  Sam Steingold  <sds@gnu.org>
1886         * midnight.el (clean-buffer-list-kill-never-buffer-names):
1887         Remove "*server*" which is never created by emacs server.
1889 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1891         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1892         there are some diff switches.
1894 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1896         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1897         Copy change made to ruby-font-lock-syntactic-keywords.
1899         * htmlfontify.el: Make it obey the font-lock-face text property.
1900         Miscellaneous cleanup such as:
1901         - Don't hide expressions after a closing paren.
1902         - Move initial setq into let.
1903         - Hoist common parts out of ifs.
1904         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1905         (hfy-face-at): Use get-text-property instead.
1906         (hfy-prop-invisible-p): Use invisible-p if available.
1907         (htmlfontify-manual): Use \\[...].
1908         (hfy-html-quote-regex): Use [...].
1909         (hfy-combined-face-spec): Simplify.
1910         (hfy-compile-face-map): Don't presume point-min==1.
1911         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1912         match end of string.
1913         (hfy-text-p): η-reduce.
1914         (hfy-tags-for-file): Receive cache-hash directly.
1915         (hfy-mark-tag-names): Adjust call.
1917 2011-01-27  Glenn Morris  <rgm@gnu.org>
1919         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1920         (msb-after-load-hook): Remove eval-after-load wackiness.
1922 2011-01-25  Sam Steingold  <sds@gnu.org>
1924         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1925         literal "diff" (important for windows-nt).
1927 2011-01-25  Glenn Morris  <rgm@gnu.org>
1929         * emacs-lisp/copyright.el (copyright-at-end-flag)
1930         (copyright-names-regexp): Add safety properties.
1931         (copyright-year-ranges): New option.
1932         (copyright-find-end): New function, split from copyright-update-year.
1933         (copyright-update-year): Use copyright-find-end.
1934         (copyright-fix-years): Optionally, convert years to ranges.
1935         Handle years continued over comment lines.
1936         Do not mess with the fill-prefix.
1937         Do not call copyright-update.
1938         (copyright-update-directory): Optionally, fix years rather than update.
1939         Skip directories.  Find files with only safe local vars.
1941 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1943         * files.el (file-name-non-special): Only change buffer-file-name after
1944         insert-file-contents if it's `visit'ing the file (bug#7854).
1946 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
1948         * dired.el (dired-revert): Doc fix (Bug#7758).
1950         * simple.el (line-move-visual): Doc fix (Bug#7594).
1952 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1954         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1955         here-doc which ends with an underscore.
1956         (ruby-mode-set-encoding): Skip shebang line always.
1957         (ruby-mode-map): Bind C-c C-c to comment-region.
1958         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1959         (ruby-forward-sexp): Stop after literal hash key labels.
1960         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1961         bracket.
1963 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
1965         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1966         the correct buffer (Bug#7650).
1968 2011-01-25  Glenn Morris  <rgm@gnu.org>
1970         * comint.el (comint-mode): Doc fix.  (Bug#7897)
1972         * simple.el (do-auto-fill): Give it a doc string.
1974         * button.el (make-text-button): Doc fix.  (See bug#7881)
1976 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1978         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1979         Don't move backward, so as not to fall in an inf-loop (bug#7736).
1981         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1982         Handle ?" and friends differently (e.g. don't use backrefs).
1984 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
1986         * calc/calc.el (calc-default-power-reference-level)
1987         (calc-default-field-reference-level): New variables.
1988         * calc/calc-units.el (math-standard-units): Add dB and Np.
1989         (math-logunits): New variable.
1990         (math-extract-logunits, math-logcombine, calcFunc-luplus)
1991         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1992         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1993         New functions.
1994         (math-find-base-units-rec): Add entry for ln(10).
1995         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1996         (calc-ul-prefix-help): New function.
1997         * calc/calc-ext.el (calc-init-extensions): Autoload new units
1998         functions.  Add keybindings for new units functions.
2000 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
2002         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2003         rcirc buffers.  (Bug#4940)
2005 2011-01-22  Glenn Morris  <rgm@gnu.org>
2007         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2008         split out from copyright-update-year.
2009         (copyright-update): Don't mess with the GPL version if we don't own the
2010         copyright.  Update license regexp, and remove no longer needed
2011         Esperanto stuff.
2012         (copyright-fix-years): Use copyright-find-copyright.
2014 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2016         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2018 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
2020         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2021         (lm): Rename to landmark.
2022         (lm-test-run): Rename to landmark-test-run.
2024 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2026         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2027         "Case sensitive" menu item.
2029 2011-01-22  Roland McGrath  <roland@frob.com>
2031         * comint.el (comint-replace-by-expanded-history-before-point): Fix
2032         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2034 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2036         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2038 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
2040         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2041         Assume foo(bar) is a manpage reference rather than some unquoted
2042         symbol (bug#7705).
2044 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2046         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2047         Suggested by Flo <sensorflo@gmail.com>.
2049 2011-01-22  Glenn Morris  <rgm@gnu.org>
2051         * progmodes/compile.el (compilation-error-regexp-alist):
2052         Fix custom type.  (Bug#7812)
2054 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
2056         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2057         allout-number-siblings, in keeping with what obtained due to
2058         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
2059         (prefixed) ?i.
2060         (allout-before-change-handler): Better expose spots affected by
2061         undo.
2063 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2065         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2067 2011-01-22  Phil Hagelberg  <phil@evri.com>
2069         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2070         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2071         (pcmpl-ssh-config-hosts): New function.
2072         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2073         pcmpl-ssh-known-hosts.
2075 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
2077         * calc/calc-undo.el (calc-undo): Autoload it.
2078         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2079         and autoload for `calc-undo'.
2080         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2081         * calc/calc-prog.el:
2082         * calc/calc-graph.el:
2083         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2085 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
2087         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2088         keybindings to `calc-undo'.
2090 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2092         Don't mess with *temp*.
2093         * obsolete/spell.el: Move from textmodes/spell.el.
2094         (spell-string):
2095         * term.el (term-read-input-ring):
2096         * startup.el (display-startup-echo-area-message):
2097         * progmodes/antlr-mode.el (antlr-directory-dependencies):
2098         * comint.el (comint-read-input-ring): Use with-temp-buffer.
2099         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2100         point-min==1.
2102 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
2104         * allout.el (allout-institute-keymap): Use fset instead of
2105         reapplying defalias.
2107         (allout-hotspot-key-handler): Check for non-control-modified
2108         bindings for hotspot characters if there are no control-modified
2109         versions.
2111         * allout.el: Summary - migrate to defining allout mode using
2112         define-minor-mode instead of defun.  Significantly clean-up
2113         internal keymap provisions, refactoring and, in the process,
2114         removing a lot of accumulated cruft.
2116         allout-mode-map is now a keymap by virtue of being a defalias to
2117         allout-mode-map-value, which contains the actual keymap structure.
2119         (allout-mode): Use define-minor-mode rather than defun.
2120         Remove now-unnecessary minor-mode setup activities from the body.
2121         Specify :keymap as allout-mode-map so the minor-mode-map-alist
2122         entry will be '(allout-mode . allout-mode-map) - see
2123         allout-mode-map-value, below.  Adjust docstring to track changes.
2124         (allout-minor-mode): Remove this defalias, now that we're using
2125         define-minor-mode.
2126         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
2127         keymap is allout-mode-map-value, via defalias.
2128         (allout-mode-map-value): The variable holding the actual mode
2129         keymap structure, by virtue of defalias from allout-mode-map.
2130         (allout-compose-and-institute-keymap): Rename from
2131         allout-bind-keys, and including the binding-composition
2132         functionality of the former produce-allout-mode-map and
2133         allout-setup-mode-map.
2134         (allout-institute-keymap): Take over the "setup" part of the former
2135         allout-setup-mode-map.  Reassign allout-mode-map-value value and
2136         update the defalias.
2137         (allout-command-prefix, allout-prefixed-keybindings)
2138         (allout-unprefixed-keybindings):
2139         Use allout-compose-and-institute-keymap to process the bindings.
2140         (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2141         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2142         user can customize if they want to use that binding.
2143         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2144         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
2145         elided that, previously, instead of the one for \C-h.)
2146         (allout-hotspot-key-handler): Remove attempt to resolve the key
2147         through the literal key-string lookup on allout-keybindings-list.
2148         That probably hasn't worked for a Long Time, and removal of
2149         allout-keybindings-list further simplifies the keybindings situation.
2150         (allout-pre-command-business): Use allout-mode-map-value instead
2151         of allout-mode-map.
2152         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
2153         the bindings if they want to use a keybinding having a trailing
2154         \C-h.  No deprecation needed since this feature was never in a release.
2155         (allout-keybindings-list): Remove.  It's not been useful for a
2156         while.  (See allout-hotspot-key-handler changes, above.)
2157         (produce-allout-mode-map): Remove.  Consolidate into
2158         allout-compose-and-institute-keymap.
2159         (allout-mode-map-adjustments): Remove.  No longer necessary with
2160         removal of allout-preempt-trailing-ctrl-h.
2161         (allout-setup-mode-map): Remove.  Consolidate into
2162         allout-compose-and-institute-keymap and allout-institute-keymap.
2164 2011-01-20  Glenn Morris  <rgm@gnu.org>
2166         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2168         * simple.el (read-expression-history): Remove, it's in minibuf.c.
2170 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
2172         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2174         * files.el (find-alternate-file, basic-save-buffer)
2175         (basic-save-buffer-2, revert-buffer, recover-file)
2176         (kill-buffer-ask, abort-if-file-too-large)
2177         (set-visited-file-name, write-file, backup-buffer)
2178         (basic-save-buffer, save-some-buffers):
2179         * dired-aux.el (dired-compress-file): Callers changed.
2181 2011-01-19  Glenn Morris  <rgm@gnu.org>
2183         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2184         Also check the property status.  (Bug#7861)
2186 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
2188         * net/tramp.el (tramp-debug-message): Extend function exclude
2189         list.  Use `regexp-opt'.
2191 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2193         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2194         highlighting doesn't spill over subsequent lines.
2196         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2197         keymap expression.  Improve docstring.
2199         * electric.el (electric-indent-post-self-insert-function):
2200         Don't auto-indent for indent-to-left-margin, it's too often
2201         counter-productive.
2203 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
2205         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2206         spaces if the frame was resized, so that the full visible buffer
2207         serves as canvas for strokes.
2209 2011-01-16  Glenn Morris  <rgm@gnu.org>
2211         * info-xref.el (info-xref-docstrings): Replace cl function.
2212         Also skip directories.
2214 2011-01-16  Kevin Ryde  <user42@zip.com.au>
2216         * info-xref.el: Version 3.
2217         (info-xref-check, info-xref-check-all): Move commentary details
2218         into docstrings for better visibility.
2219         Use compilation-mode for the results buffer.
2220         (info-xref-output, info-xref-output-error, info-xref-with-output)
2221         (info-xref-filename, info-xref-in-progress):
2222         New internals for this.
2223         (info-xref-check-list, info-xref-check-buffer)
2224         (info-xref-check-all-custom): Use those.
2225         (info-xref-output-buffer): Rename from info-xref-results-buffer.
2226         (info-xref-output-heading): Rename from info-xref-filename-heading.
2227         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2228         (info-xref-filename-heading): Move to output managing section.
2229         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2230         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2231         (info-xref-subfile-p): Move to generic section with those two.
2232         (info-xref-check-node): New function split from
2233         info-xref-check-buffer, shared by info-xref-docstrings.
2234         (info-xref-goto-node-p): Move to a checking section with that func.
2235         (info-xref-unavail): New counter.
2236         (info-xref-check-node): Use it.
2237         (info-xref-with-output): Show count of unavailables at end of output.
2238         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
2239         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
2240         (info-xref-check-all-custom): Fix quietening viper-mode and
2241         gnus-registry-install -- use setq not let so as not to unbind
2242         after load.
2244 2011-01-16  Juri Linkov  <juri@jurta.org>
2246         * isearch.el (isearch-abort): Don't quit if search has
2247         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
2249 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
2251         * files.el (backup-buffer): Make last-resort backup file in
2252         .emacs.d (Bug#6953).
2254         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2255         make it with permission 700.
2257 2011-01-15  Kenichi Handa  <handa@m17n.org>
2259         * mail/rmailmm.el (rmail-mime-insert-header):
2260         Set rmail-mime-coding-system to a cons whose car is the last coding
2261         system used to decode the header.
2262         (rmail-mime-find-header-encoding): New function.
2263         (rmail-mime-insert-decoded-text):
2264         Override rmail-mime-coding-system if it is a cons.
2265         (rmail-show-mime): If only a header part was decoded, find the
2266         coding system while ignoring mm-charset-override-alist.
2268 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
2270         * subr.el (event-start, event-end): Doc fix (Bug#7826).
2272 2011-01-15  Kenichi Handa  <handa@m17n.org>
2274         * mail/rmailmm.el (rmail-mime-next-item)
2275         (rmail-mime-previous-item): Delete them.
2276         (rmail-mime-shown-mode): Recursively call for children.
2277         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2278         Callers changed.
2279         (rmail-mime-raw-mode): Recursively call for children.
2280         (rmail-mode-map): Change mapping of tab and backtab to
2281         forward-button and backward-button respectively.
2282         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2283         button.
2284         (rmail-mime-update-tagline): New function.
2285         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2286         body display is changed.
2287         (rmail-mime-toggle-button): Rename from rmail-mime-image.
2288         (rmail-mime-image): Delete this button type.
2289         (rmail-mime-toggle): New button type.
2290         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2291         body display is changed.  Change the save button label to "Save".
2292         Don't process show/hide button here.
2293         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2294         the body display is changed.  Unconditionally call
2295         rmail-mime-insert for children.
2296         (rmail-mime-handle): Update `display' vector of the just inserted
2297         entity.
2298         (rmail-mime-process): If mail-header-parse-content-type returns
2299         nil, use "text/plain" as the fallback type.
2300         (rmail-mime-insert): For raw-mode, recursively call
2301         rmail-mim-insert for children.
2302         (rmail-mime): Handle the case that the current buffer is not rmail
2303         buffer (e.g. in summary buffer).
2305 2011-01-15  Kenichi Handa  <handa@m17n.org>
2307         * mail/rmailmm.el (rmail-mime-next-item)
2308         (rmail-mime-previous-item): Skip the body of a non-multipart
2309         entity if a tagline is shown.
2311 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2313         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2314         (tmm-prompt): Simplify.
2315         (tmm-add-prompt): Remove unused var `win'.
2317         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2318         to minor mode which used nil accidentally to mean "turn off".
2320 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2322         * net/tramp-sh.el (tramp-find-inline-compress)
2323         (tramp-get-inline-coding): Quote command after pipe symbol for
2324         local calls under W32.  (Bug#6784)
2326 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2328         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2329         only when running under W32.
2331 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2333         * progmodes/grep.el (grep-compute-defaults): Quote the program
2334         file name after the pipe symbol in Grep templates.  (Bug#6784)
2335         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2337 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
2339         * buff-menu.el (Buffer-menu-buffer-list): New var.
2340         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2341         restricted buffer list is not lost on revert (Bug#7749).
2343 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
2345         * net/ldap.el (ldap-search-internal): Discard stderr output.
2347 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2349         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
2351 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2353         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2355 2011-01-15  Kenichi Handa  <handa@m17n.org>
2357         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2358         part as a plain text.
2359         (rmail-mime-process-multipart): Set the default content-type to
2360         nil for unknown multipart subtypes (bug#7651).
2362 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2364         * hexl.el (hexl-mode-old-*): Remove.
2365         (hexl-mode--old-var-vals): New var to replace them.
2366         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2367         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2368         Use them to set local vars (bug#7846).
2369         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2370         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2371         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2373         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2374         (smerge-resolve--normalize-re): New var.
2375         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2376         (smerge-resolve): Use them.
2377         * newcomment.el (comment-only-p): New function.
2378         (comment-or-uncomment-region): Use it.
2380 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
2382         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2383         table, get the value before switching to the output buffer.  (Bug#7733)
2385 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2387         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2389 2011-01-14  Kim F. Storm  <storm@cua.dk>
2391         * emulation/cua-base.el (cua--init-keymaps):
2392         Remap exchange-point-and-mark in cua-global-keymap.
2394 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
2396         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2397         loop keyword.
2399 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2401         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2402         Require CL.
2403         (easy-menu-create-menu, easy-menu-convert-item-1):
2404         Use :label rather than nil for labels.  Use `case'.
2405         Add :enable as alias for :active.
2406         (easy-menu-binding): Obey :label.
2408 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2410         Use run-mode-hooks for major mode hooks (bug#513).
2411         * textmodes/reftex-toc.el (reftex-toc-mode-map):
2412         Rename from reftex-toc-map.
2413         (reftex-toc-mode): Use define-derived-mode.
2414         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2415         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2416         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
2417         (reftex-select-label-mode, reftex-select-bib-mode):
2418         Use define-derived-mode.
2419         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2420         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2421         Move init into delcaration.
2422         (reftex-index-mode, reftex-index-phrases-mode):
2423         Use define-derived-mode.
2424         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2425         speedbar-syntax-table.  Move init into declaration.
2426         (speedbar-mode-map): Rename from speedbar-key-map.
2427         Move init into declaration.
2428         (speedbar-file-key-map): Move init into declaration.
2429         (speedbar-mode): Use define-derived-mode.
2430         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2431         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2432         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2433         (chart-face-list): Move initialization into declaration.
2434         (chart-mode): Use define-derived-mode.
2435         * calculator.el (calculator-mode-map): Move init into declaration.
2436         (calculator-mode): Use define-derived-mode.
2438         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2439         work for nested comments.
2441         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
2442         (prolog-use-prolog-tokenizer-flag): Change default when
2443         syntax-propertize can be used.
2444         (prolog-syntax-propertize-function): New var.
2445         (prolog-mode-variables): Move make-local-variable into `set'.
2446         Don't make comment-column local since we don't set it.
2447         Set comment-add (as it was in previous prolog.el).  Use dolist.
2448         Set syntax-propertize-function.
2449         (prolog-mode, prolog-inferior-mode):
2450         Call prolog(-inferior)-menu directly, not through the mode-hook.
2451         (prolog-buffer-module, prolog-indent-level)
2452         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2453         (prolog-comment-limits, prolog-goto-comment-column):
2454         Use line-(end|beginning)-position.
2455         (prolog-build-prolog-command): Tighten up regexp.
2456         (prolog-consult-compile): Move make-local-variable into `set'.
2457         (prolog-consult-compile-filter, prolog-goto-next-paren)
2458         (prolog-help-on-predicate, prolog-clause-info)
2459         (prolog-mark-predicate): Don't let+setq.
2460         (prolog-indent-line): Use indent-line-to.
2461         Only call prolog-goto-comment-column if necessary.
2462         (prolog-indent-level): Use bobp.
2463         (prolog-first-pos-on-line): Remove, not used any more.
2464         (prolog-in-string-or-comment): Use syntax-ppss if available.
2465         (prolog-help-on-predicate): Use read-string.
2466         (prolog-goto-predicate-info): Simplify.
2467         (prolog-read-predicate): Use `default' rather than `initial'.
2468         (prolog-temporary-file): Use make-temp-file to close a security hole.
2469         (prolog-toggle-sicstus-sd): New command.
2470         (prolog-electric-underscore, prolog-variables-to-anonymous):
2471         Use dynamic-scoping as it was meant.
2472         (prolog-menu): Move menu definitions to top-level.
2473         Use a toggle-button for Sicstus's source debugger.
2474         Change "Code" to the more usual "Prolog", and hence change "Prolog"
2475         to "System".
2476         (prolog-inferior-menu): Reuse prolog-menu's help menu.
2477         Move other menu definition to top-level.
2479 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2481         * doc-view.el (doc-view-open-text): Use meaningful text buffer
2482         name.  Keep original document's directory as default-directory
2483         (bug#6446).
2484         (doc-view-initiate-display): Fall back to normal mode when
2485         doc-view-mode cannot be enabled, also when extracting the document
2486         text into a separate buffer (bug#6446).
2488         * simple.el (shell-command): Don't error out if shell command
2489         buffer contains text with non-nil read-only property when erasing
2490         the buffer.
2492 2011-01-13  Kim F. Storm  <storm@cua.dk>
2494         * ido.el (ido-may-cache-directory): Move "too-big" check later.
2495         (ido-next-match, ido-prev-match): Fix stray reordering of matching
2496         items when cycling through the matches.
2498 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2500         * dired-x.el (dired-omit-verbose): New defcustom that allows
2501         disabling the omit messages.
2502         (dired-omit-expunge): Use it.
2504 2011-01-13  Christian Ohler  <ohler@gnu.org>
2506         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2508 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2510         * font-lock.el (font-lock-verbose): Default to nil.
2512 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2514         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2515         (compose-mail): New arg RETURN-ACTION.
2516         (compose-mail-other-window, compose-mail-other-frame): Likewise.
2518         * mail/sendmail.el (mail-return-action): New var.
2519         (mail-mode): Make it buffer-local.
2520         (mail-bury): Obey it.  Move special Rmail window handling to
2521         rmail-mail-return.
2522         (mail, mail-setup): New arg RETURN-ACTION.
2523         (sendmail-user-agent-compose): Move from simple.el.
2525         * mail/rmail.el (rmail-mail-return): New function.
2526         (rmail-start-mail): Pass it to compose-mail.
2528 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
2530         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2531         menus.  Add menu item for customize-themes.
2533         * cus-theme.el (customize-themes):
2534         * emacs-lisp/package.el (package--list-packages):
2535         Use switch-to-buffer.
2537 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
2539         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2541 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2543         * progmodes/prolog.el: Fix up coding convention and such.
2544         (prolog-indent-width): Use the same default as in
2545         previous prolog.el rather than tab-width which depends on which buffer
2546         is current when the file is loaded.
2547         (prolog-electric-newline-flag): Only enable if electric-indent-mode
2548         is not available.
2549         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
2550         (prolog-known-systems): Remove.
2551         (prolog-mode-syntax-table, prolog-inferior-mode-map):
2552         Move initialization into declaration.
2553         (prolog-mode-map): Move initialization into declaration.
2554         Remove system-specific mode-map vars, since they referred to the same
2555         keymap anyway.
2556         (prolog-mode-variables): Obey the user's preference w.r.t
2557         adaptive-fill-mode.  Prefer symbol-value to `eval'.
2558         (prolog-mode-keybindings-edit): Add compatibility bindings.
2559         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
2560         (mercury-mode-map): New var.
2561         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2562         (prolog-ensure-process, prolog-process-insert-string)
2563         (prolog-consult-compile): Use with-current-buffer.
2564         (prolog-guess-fill-prefix): Simplify data flow.
2565         (prolog-replace-in-string): New function to use instead of
2566         replace-in-string.
2567         (prolog-enable-sicstus-sd): Don't abuse `eval'.
2568         (prolog-uncomment-region): Use `uncomment-region' when available.
2569         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2570         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2571         of int-to-char and char-to-int.
2572         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2574 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
2576         * progmodes/prolog.el: Replace by a whole new file.
2578 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2580         * subr.el (eval-after-load): Fix timing for features (bug#7769).
2581         (declare-function, undefined, insert-for-yank)
2582         (replace-regexp-in-string): Follow checkdoc's recommendations.
2584 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2586         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2587         refreshing the diary buffer.
2589 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
2591         * allout.el: Add 2011 to the file copyright.
2592         (allout-encrypt-string): Prevent encryption from adding an extra
2593         newline at the end of the topic body.
2594         (allout-version): Increment to 2.3.
2596 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
2598         * net/dbus.el (dbus-unregister-service): Complete doc.
2599         Fix call of dbus-error signal.
2600         (dbus-register-property): Use `dont-register' keyword.
2602 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2604         * net/dbus.el (dbus-unregister-service): Translate returned
2605         integer into a symbol.
2606         (dbus-register-property): Use `dbus-register-service' to do the
2607         name registration.
2609 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2611         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2612         Suggested by Joakim Verona.
2614         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2616         * wid-edit.el (visibility): Replace :on-image and :off-image
2617         widget properties with :on-glyph and :off-glyph, for consistency
2618         with the `visibility' widget.
2619         (widget-toggle-value-create, widget-visibility-value-create):
2620         Merge into a single function `widget-toggle-value-create'.
2622         * cus-edit.el (custom-variable-value-create, custom-visibility)
2623         (custom-face-edit-value-create, custom-face-value-create):
2624         Replace :on-image and :off-image widget properties with :on-glyph and
2625         :off-glyph, for consistency with the `visibility' widget.
2627 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
2629         * net/ldap.el (ldap-search-internal): Don't use eval.
2631 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2633         * subr.el (read-char-choice): Use read-key.
2635         * custom.el (custom-safe-themes): Rename from
2636         custom-safe-theme-files.  Add :risky tag.
2637         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2638         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
2640 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2642         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
2643         from Search and add a label to Undo.
2645         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2646         inappropriate buttons and adding :vert-only tags.
2648         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2649         removal of Help tool-bar button.  Remove Undo button for space.
2651         * info.el (info-tool-bar-map): Add :vert-only tags.
2653 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
2655         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2656         image backend support.  Either of them is fine.
2658 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
2660         * subr.el (y-or-n-p): Doc fix.
2662         * custom.el (custom-safe-theme-files): New defcustom.
2663         (custom-theme-load-confirm): New function.
2664         (load-theme): Load theme using `load', confirming with
2665         custom-theme-load-confirm if necessary.
2667         * subr.el (read-char-choice): New function, factored out from
2668         dired-query and hack-local-variables-confirm.
2670         * dired-aux.el (dired-query):
2671         * files.el (hack-local-variables-confirm): Use it.
2673         * dired-aux.el (dired-compress-file):
2674         * files.el (abort-if-file-too-large, find-alternate-file)
2675         (set-visited-file-name, write-file, backup-buffer)
2676         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2677         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2678         Use new format string args for y-or-n-p and yes-or-no-p.
2680 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
2682         * progmodes/compile.el (compilation-error-regexp-alist-alist)
2683         [gcc-include]: Tighten file name match, add match for column
2684         number.  (Bug#7806)
2685         [gnu]: Remove unused group.
2687 2011-01-08  Glenn Morris  <rgm@gnu.org>
2689         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2691         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2693 2011-01-07  Sam Steingold  <sds@gnu.org>
2695         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2696         the `explicit-shell-file-name' because that is the
2697         non-interactive shell.
2699 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
2701         * subr.el (y-or-n-p): Accept format string args.
2703 2011-01-07  Glenn Morris  <rgm@gnu.org>
2705         * Makefile.in (EMACSOPT): Add --no-site-lisp.
2707 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
2709         * allout.el (allout-back-to-current-heading): Ensure return to
2710         the visible containing topic, rather than a collapsed one.
2711         (allout-view-change-hook): Remove hook that was deprecated long ago.
2712         (allout-exposure-change-hook): Remove documentation remarks
2713         concerning removed allout-view-change-hook.
2714         (allout-flag-region): Remove invocation of and documentation
2715         remarks concerning allout-view-change-hook.
2717 2011-01-06  Glenn Morris  <rgm@gnu.org>
2719         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2720         (vc-bzr-annotate-extract-revision-at-line):
2721         Handle authors with embedded spaces.  (Bug#7792)
2723 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
2725         * doc-view.el (doc-view-image-width): New variable.
2726         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2727         backend for PNG images, and do dynamic rescaling instead of
2728         reconverting the whole doc.
2730 2011-01-05  Glenn Morris  <rgm@gnu.org>
2732         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2734 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
2736         * allout.el: Reconcile with changes in line movement behavior for
2737         long text lines that cross more than a single physical window
2738         line, ie when truncate-lines is nil.
2739         (allout-next-visible-heading): Provide for change in line-move
2740         behavior on long lines when truncate-lines is nil.  In that case,
2741         line-move can wind up on the same textual line when it moves to
2742         the next window line, and moving to the bullet position after the
2743         move yields zero advancement.  Add logic to detect and compensate
2744         for the lack of progress.
2745         (allout-current-topic-collapsed-p): move-end-of-line respect for
2746         field boundaries is different when operating with body lines
2747         shorter than window width versus ones greater than window width,
2748         which can yield false negatives in this function.  Avoid
2749         difference by applying move-end-of-line while field-text-motion is
2750         inhibited.
2752 2011-01-04  Glenn Morris  <rgm@gnu.org>
2754         * textmodes/rst.el (rst-compile-toolsets):
2755         Add pdf and s5 to option alist.
2757 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2759         * net/dbus.el (dbus-register-property): Add optional parameter
2760         dont-register-service.  Updated docstring accordingly.
2762 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2764         * textmodes/rst.el (rst-compile-pdf-preview)
2765         (rst-compile-slides-preview): Remove extra line.
2767 2011-01-04  Glenn Morris  <rgm@gnu.org>
2769         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2770         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
2771         default to `prog' without a .py extension.
2772         (rst-compile-pdf-preview, rst-compile-slides-preview):
2773         Use program names from rst-compile-toolsets, rather than hard-coding.
2774         (rst-portable-mark-active-p): Fix presumed typo.
2776 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2778         * term/w32-win.el (dynamic-library-alist): Set up correctly for
2779         libpng versions both before and after 1.4.0.  (Bug#7716)
2781 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2783         * time.el (display-time-mode): Mention display-time-interval in
2784         the doc string.  (Bug#7713)
2786 2011-01-02  Kenichi Handa  <handa@m17n.org>
2788         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2789         condition-case and return an error message string if something
2790         goes wrong.
2791         (rmail-show-mime): Adjust for the above change.  Insert the
2792         header by rmail-mime-insert-header.
2794 2011-01-02  Kenichi Handa  <handa@m17n.org>
2796         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2797         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2798         (rmail-mime-mbox-buffer)
2799         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2800         (rmail-mime-entity): Argument changed.  All codes handling an
2801         entity object are changed.
2802         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2803         the above change.
2804         (rmail-mime-entity-children, rmail-mime-entity-handler)
2805         (rmail-mime-entity-tagline): New functions.
2806         (rmail-mime-message-p): New function.
2807         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2808         (rmail-mime-entity-segment, rmail-mime-next-item)
2809         (rmail-mime-previous-item, rmail-mime-shown-mode)
2810         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2811         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2812         (rmail-mime-insert-tagline, rmail-mime-insert-header):
2813         New functions.
2814         (rmail-mime-text-handler): Call rmail-mime-insert-text.
2815         (rmail-mime-insert-decoded-text): New function.
2816         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2817         (rmail-mime-insert-image): Argument changed.  Caller changed.
2818         (rmail-mime-image): Call rmail-mime-toggle-hidden.
2819         (rmail-mime-set-bulk-data): New function.
2820         (rmail-mime-insert-bulk): Argument changed.
2821         (rmail-mime-multipart-handler): Return t.
2822         (rmail-mime-process-multipart): Argument changed.
2823         Handle "multipart/alternative" here.
2824         (rmail-mime-process): Argument changed.
2825         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2826         (rmail-mime-insert): Argument changed.  Handle raw display mode.
2827         (rmail-mime): Argument changed.  Handle toggling of raw display
2828         mode.
2829         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2830         rmail-mime-view-buffer.
2831         (rmail-insert-mime-forwarded-message): Likewise.
2832         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
2834         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2835         non-nil, handle the header in rmail-show-mime-function.
2837 2011-01-02  Leo  <sdl.web@gmail.com>
2839         * help-fns.el (describe-variable): Fix previous change.
2841 2011-01-02  Juri Linkov  <juri@jurta.org>
2843         * isearch.el (isearch-lazy-highlight-error): New variable.
2844         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2845         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
2846         to the current value of `isearch-error' (Bug#7468).
2848 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2850         * help-fns.el (describe-variable): Don't emit trailing whitespace
2851         (Bug#7511).
2853 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2855         * textmodes/rst.el (rst-compile-pdf-preview)
2856         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2858 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
2860         * emulation/edt-mapper.el: Override mapping of function keys so
2861         that the later call to read-key-sequence works.
2863 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2865         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2866         Unix EOLs.  (Bug#7589)
2868 2011-01-02  Leo  <sdl.web@gmail.com>
2870         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2871         if point is not behind eshell-last-output-end (Bug#7585).
2873 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2875         * files.el (file-local-variables-alist):
2876         Make permanent-local (bug#7767).
2878 2011-01-02  Glenn Morris  <rgm@gnu.org>
2880         * version.el (emacs-copyright): Set short copyright year to 2011.
2882 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2884         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2885         an existing temp buffer.  (Bug#7746)
2887 2011-01-02  Glenn Morris  <rgm@gnu.org>
2889         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2890         multiple addresses.  (Bug#7760)
2892 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
2894         * allout.el (allout-auto-fill): Do not infinitely recurse - use
2895         do-auto-fill if everything points back to allout-auto-fill.
2896         (allout-mode-deactivate-hook): Declare obsolete, in favor of
2897         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2899 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
2901         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2902         and "scpx".
2904 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2906         * doc-view.el (doc-view-set-doc-type): New function refactored
2907         from doc-view-mode.
2908         (doc-view-fallback-mode): New function.
2909         (doc-view-mode): Use it.
2910         (doc-view-mode-maybe): New function that checks if doc-view-mode
2911         can be used and falls back to the next best mode otherwise.
2913         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2914         DVI, OpenDocument, and MS Office files.
2916 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
2918         * emacs-lisp/rx.el (rx-syntax): Fix typo.
2920 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2922         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2923         on a copy of auto-mode-alist, because that deletes with side
2924         effects.
2926 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2928         * doc-view.el (doc-view-mode, doc-view-toggle-display):
2929         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2930         fallback instead of hard coding fundamental mode.
2932 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2934         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2935         Office) files also for searching.
2937 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2939         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2940         Office) files.  Not yet enabled via auto-mode-list.
2941         (doc-view-unoconv-program): New custom variable.
2942         (doc-view-mode-p): Handle new odf document type.
2943         (doc-view-odf->pdf): New conversion function.
2944         (doc-view-convert-current-doc): Call it for odf files.
2945         (doc-view-mode): Recognize newly supported file extensions.
2947 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
2949         * net/tramp.el (tramp-default-method-alist)
2950         (tramp-default-user-alist)
2951         (tramp-local-host-regexp, tramp-prefix-domain-format)
2952         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2954         * net/tramp-ftp.el:
2955         * net/tramp-gvfs.el:
2956         * net/tramp-gw.el:
2957         * net/tramp-imap.el:
2958         * net/tramp-sh.el:
2959         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2960         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2962 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
2964         * saveplace.el (save-place-alist-to-file): Save list sorted and
2965         pretty-printed, so that it is mergeable by line-based text merging,
2966         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2968 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
2970         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2971         (allout-mode): Argument "toggle" => "force".
2972         Refine the docstring.
2973         Remove special provisions for reactivation, besides the 'force'
2974         argument.
2975         Consolidate layout provisions coce directly into the activation
2976         condition branch, now that we've removed those provisions.
2977         (allout-unload-function): Explicitly activate the mode before
2978         deactivating, if it's initially deactivated.
2979         (allout-set-buffer-multibyte): Properly prevent byte-compiler
2980         warnings for version of function used only where
2981         set-buffer-multibyte is unavailable.
2983 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
2985         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2986         are handled by the menu-bar entries.  As before, don't use
2987         :visibile to avoid changing the tool-bar.
2989 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2991         * net/secrets.el (secrets-delete-alias): New defun.
2993 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2995         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2996         methods, otherwise ~/.ssh/config would be ignored.
2998 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3000         * emacs-lisp/rx.el: Make it a superset of sregex.
3001         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3002         of args, add `regex' alias.
3003         (rx-info): Add arg to distinguish head and standalone forms.
3004         (rx-check, rx-form): Pass the corresponding arg.
3005         (rx-**): Simplify.
3006         (rx-repeat): Make it work for any number of args.
3007         (rx-syntax): Make it accept syntax chars as is.
3008         * obsolete/sregex.el: Move from emacs-lisp/.
3009         * emacs-lisp/re-builder.el: Remove sregex support.
3010         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3012 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
3014         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3015         PRIMARY first, then the clipboard.  (Bug#7699)
3017 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3019         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3020         print-number-table.
3022 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
3024         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3025         .emacs.elc (Bug#7530).
3027         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3028         image spec (Bug#7480).
3030 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
3032         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3033         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3034         Move from lisp/.
3036 2010-12-20  Leo  <sdl.web@gmail.com>
3038         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3039         always be performed (Bug#7680).
3041 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
3043         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3044         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
3045         mouse-region-match.
3047         * color.el: Move from gnus/.
3049         * vc/diff.el (diff-better-file-name): Function deleted.
3050         abbreviating file names causes problems with shell-quote-argument.
3051         (diff-no-select): Just use expand-file-name.
3053         * tool-bar.el (tool-bar--image-expression): New function.
3054         (tool-bar-local-item, tool-bar--image-exp): Use it.
3055         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3056         Use :enable instead of :visible to avoid changing the tool-bar
3057         configuration unnecessarily.
3059         * info.el (info-tool-bar-map): Add separators.
3061 2010-12-17  Ken Brown  <kbrown@cornell.edu>
3063         * loadup.el: Use version numbers in Cygwin build.
3065 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
3067         * ido.el (ido-file-internal): Ask for confirmation before
3068         overwriting an existing file (Bug#1238).
3070 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
3072         * tool-bar.el (tool-bar-setup): Add separators.
3074         * menu-bar.el (featurep): Use menu-bar-separator.
3076 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
3078         Migrate allout encryption provisions from pgg to epg.
3080         * allout.el (allout-toggle-current-subtree-encryption)
3081         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3082         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
3083         for simpler universal argument interpretation.
3084         (allout-toggle-subtree-encryption): Adjust docstring to describe
3085         changed encryption provisions.  Change fetch-pass to keymode-cue, for
3086         simpler universal argument interpretation.  Remove provisions for
3087         handling key type and identity - they'll all be within
3088         allout-encrypt-string or epg/epg or even contained all the way in gpg.
3089         (allout-encrypt-string): Include keymode-cue, for optionally prompting
3090         for keypair recipients (universal argument > 1) and, in addition,
3091         associating the specified recipients with the outline (universal
3092         argument > 4) using a file local variable setting for
3093         'epa-file-encrypt-to'.
3094         Require epa, for recipients handling.
3095         Change how regexp filtering elements are named.
3096         Describe the problem with caching of incorrect symmetric-decryption
3097         keys.
3098         Use the epa-passphrase-callback-function, in case the user is using
3099         GnuPG v1.
3100         Support saving of the selected keypair recipients when invoked with a
3101         keymode-cue > 4.
3102         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3103         Require 'epa.
3104         Establish epg-context with armoring and default epg-protocol.
3105         Remove all passphrase cache, verification, and hinting code.
3106         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3107         No longer used, delete.
3108         (allout-mode): Adjust docstring to describe changed encryption
3109         provisions.  Describe the problem with caching of incorrect
3110         symmetric-decryption keys.
3111         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3112         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3113         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3114         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3115         Obsolete, remove.
3117 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
3119         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3120         key selection prompt; make 'silent as default (Bug#7487).
3122 2010-12-16  Leo  <sdl.web@gmail.com>
3124         * eshell/eshell.el (eshell-directory-name):
3125         Use locate-user-emacs-file (Bug#7578).
3127 2010-12-15  Glenn Morris  <rgm@gnu.org>
3129         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3131 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
3132             Scott Evans  <gse@antisleep.com>
3134         * rect.el (rectange--default-line-number-format)
3135         (rectangle-number-line-callback): New functions.
3136         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3138 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
3140         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3141         Delete unused variables.
3142         (move-to-column-force): Remove function obsolete since 21.2.
3144 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
3146         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3147         (tramp-handle-insert-file-contents): Do not set permanent-local
3148         property.
3150         * net/tramp-cache.el (tramp-persistency-file-name):
3151         Use `locate-user-emacs-file' if fboundp.
3153         * net/tramp-sh.el (tramp-methods): Add "ksu".
3154         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
3155         method list.
3157 2010-12-14  Glenn Morris  <rgm@gnu.org>
3159         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3160         (find-tag-marker-ring): Declare.
3161         (js-find-symbol): Require etags.
3163         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3164         Require mail-utils.
3165         (mail-alias-file): Don't autoload.  Doc fix.
3166         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3167         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
3168         Mark as obsolete, and risky.
3169         (mail-setup): Simplify.
3171         * mail/mailalias.el (build-mail-aliases): Make it interactive.
3172         * mail/sendmail.el (build-mail-aliases): Update autoload.
3174         * dired.el (dired-trivial-filenames, dired-chown-program)
3175         (dired-auto-revert-buffer): Remove autoload cookies.
3176         * mail/sendmail.el (mail-recover-1): Require 'dired.
3178         * dired.el (dired-subdir-switches, dired-chown-program)
3179         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3180         Make into defcustoms.
3181         (dired-chown-program): Simplify initialization.
3183         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3185 2010-12-13  Romain Francoise  <romain@orebokech.com>
3187         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3189 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3191         * net/netrc.el (netrc-point-at-eol): Remove the unused
3192         netrc-point-at-old and netrc-bound-and-true-p bindings.
3193         (netrc-parse): Cache the netrc contents.
3195 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3197         * subr.el (posn-col-row): Evaluate header-line-format in the
3198         context of the POSITION window's buffer.
3200 2010-12-13  Glenn Morris  <rgm@gnu.org>
3202         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3203         (with-silent-modifications): Doc fixes.
3205 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3207         * net/tramp.el (tramp-action-password, tramp-process-actions):
3208         Revert previous from.  Use `save-restriction'.
3210 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
3212         * calendar/diary-lib.el (diary-list-sexp-entries):
3213         Handle case of no newline at end of file.  (Bug#7536)
3215 2010-12-13  Glenn Morris  <rgm@gnu.org>
3217         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3219 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3221         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3222         (tramp-process-actions): Do not widen.
3224         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3225         Protect buffer-modified value.  (Bug#7557)
3227 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
3229         * log-edit.el (log-edit-changelog-entries):
3230         Regexp quote filename.  (Bug#7505)
3232 2010-12-13  Tom Breton  <tehom@panix.com>
3234         * cus-edit.el (custom-save-all):
3235         Bind print-length and print-level to nil.  (Bug#7581)
3237 2010-12-13  Glenn Morris  <rgm@gnu.org>
3239         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3240         Run hooks to update menu contents.  (Bug#7586)
3242         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3243         file names, for the sake of MS Windows.  (Bug#7588)
3245 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3247         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3248         empty lines without a leading space.
3250 2010-12-13  Leo  <sdl.web@gmail.com>
3252         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3253         while mapping over marks (Bug#6810).
3255 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3257         * image-dired.el (image-dired-db-file)
3258         (image-dired-temp-image-file, image-dired-gallery-dir)
3259         (image-dired-temp-rotate-image-file): Set default values relative
3260         to image-dired-dir (Bug#7518).
3262 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
3264         * format.el (format-decode-run-method): Pass args FROM and TO, not
3265         point-min and point-max, to shell-command-on-region (Bug#7488).
3267 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
3269         * frame.el (blink-cursor-mode): Make default t for ns.
3271 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3273         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3275 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3277         * comint.el (comint-dynamic-list-input-ring)
3278         (comint-dynamic-complete-filename)
3279         (comint-replace-by-expanded-filename)
3280         (comint-dynamic-simple-complete)
3281         (comint-dynamic-list-filename-completions)
3282         (comint-dynamic-list-completions): Doc fix (Bug#7499).
3284         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3285         Doc fix (Bug#7471).
3287 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
3289         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3290         (Bug#7533).
3292 2010-12-13  W. Martin Borgert  <debacle@debian.org>  (tiny change)
3294         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3295         (Bug#7491).
3297 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3299         * files.el (file-relative-name): Handle UNC file names on
3300         DOS/Windows.  (Bug#4674)
3302 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
3304         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3305         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3306         (epg-context-set-passphrase-callback): Mention that the callback
3307         is not called when used with GnuPG 2.x.
3309 2010-12-13  Glenn Morris  <rgm@gnu.org>
3311         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3312         Ensure ps-footer-font-size-internal is initialized.
3313         Call ps-get-page-dimensions before trying to use ps-font-for-text.
3315 2010-12-13  Kenichi Handa  <handa@m17n.org>
3317         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3318         within condition-case.
3319         (rmail-show-mime): Don't use condition-case.
3320         (rmail-search-mime-message): New function.
3321         (rmail-search-mime-message-function): Set to
3322         rmail-search-mime-message.
3324 2010-12-13  Leo  <sdl.web@gmail.com>
3326         * ido.el (ido-common-initialization): New function.  (bug#3274)
3327         (ido-mode): Use it.
3328         (ido-completing-read): Call it.
3330 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
3332         * bookmark.el (bookmark-name-from-full-record): Rename back to
3333         this original name from `bookmark-name-from-record' reverting part
3334         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3335         As Drew Adams pointed out, there was no reason to cause churn for
3336         third-party callers.  (Bug#7609)
3338 2010-12-12  Alan Mackenzie  <acm@muc.de>
3340         * progmodes/cc-engine.el (c-forward-type): Before scanning a
3341         template arglist, check that the current language supports this.
3343 2010-12-11  Glenn Morris  <rgm@gnu.org>
3345         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3346         state of the file matches.  (Bug#7544)
3347         (vc-bzr-register, vc-bzr-checkin)
3348         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3349         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3351         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3353 2010-12-11  Karel Klíč  <kklic@redhat.com>
3355         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
3357 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3359         Derive from prog-mode, use derived-mode-p, and fix up various
3360         minor style issues in lisp/progmodes.
3362         * progmodes/vhdl-mode.el (vhdl-mode):
3363         * progmodes/verilog-mode.el (verilog-mode):
3364         * progmodes/vera-mode.el (vera-mode):
3365         * progmodes/sql.el (sql-mode):
3366         * progmodes/scheme.el (scheme-mode):
3367         * progmodes/perl-mode.el (perl-mode):
3368         * progmodes/octave-inf.el (inferior-octave-mode):
3369         * progmodes/autoconf.el (autoconf-mode):
3370         * progmodes/m4-mode.el (m4-mode):
3371         * progmodes/inf-lisp.el (inferior-lisp-mode):
3372         * progmodes/idlwave.el (idlwave-mode):
3373         * progmodes/icon.el (icon-mode):
3374         * progmodes/idlw-help.el (idlwave-help-mode):
3375         * progmodes/dcl-mode.el (dcl-mode):
3376         * progmodes/idlw-shell.el (idlwave-shell-mode):
3377         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3378         (ebrowse-member-mode, ebrowse-electric-position-mode):
3379         Use define-derived-mode.
3381         * progmodes/xscheme.el (exit-scheme-interaction-mode)
3382         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3383         (xscheme-debugger-mode-p, xscheme-send-string-1):
3384         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3385         (tcl-load-file, tcl-restart-with-file):
3386         * progmodes/ps-mode.el (ps-run-running):
3387         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3388         * progmodes/js.el (js--get-all-known-symbols):
3389         * progmodes/inf-lisp.el (inferior-lisp-proc):
3390         * progmodes/idlwave.el (idlwave-beginning-of-statement)
3391         (idlwave-template, idlwave-update-buffer-routine-info)
3392         (idlwave-update-current-buffer-info)
3393         (idlwave-get-routine-info-from-buffers, idlwave-choose)
3394         (idlwave-scan-class-info, idlwave-fix-keywords)
3395         (idlwave-list-buffer-load-path-shadows):
3396         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3397         (idlwave-toolbar-remove):
3398         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3399         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3400         (idlwave-shell-menu-def):
3401         * progmodes/idlw-complete-structtag.el
3402         (idlwave-prepare-structure-tag-completion):
3403         * progmodes/gud.el (gud-set-buffer):
3404         * progmodes/f90.el (f90-backslash-not-special):
3405         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3407         * progmodes/xscheme.el (xscheme-start)
3408         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3409         * progmodes/which-func.el (which-function):
3410         * progmodes/vhdl-mode.el (vhdl-set-style):
3411         * progmodes/verilog-mode.el (verilog-set-compile-command)
3412         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3413         (verilog-set-define, verilog-auto-reeval-locals):
3414         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3415         * progmodes/simula.el (simula-mode):
3416         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3417         * progmodes/python.el (python-check, python-mode):
3418         * progmodes/prolog.el (prolog-mode-variables):
3419         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3420         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3421         * progmodes/delphi.el (delphi-mode):
3422         * progmodes/cc-styles.el (c-setup-paragraph-variables):
3423         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3424         (c-font-lock-init): Move make-local-variable to their setq.
3426         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3427         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3428         make-local-hook.
3429         * progmodes/sh-script.el (sh-require-final-newline): Remove.
3430         (sh-set-shell): Don't set require-final-newline since it's already done
3431         by prog-mode.
3432         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3433         since we never set it.
3434         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3435         Use read-string and standard prompt.
3436         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3437         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3438         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3439         (meta-common-mode-map): Rename from meta-mode-map.
3440         Remove C-m binding, which is a user preference, not mode specific.
3441         (meta-common-mode): New major mode; replace meta-common-initialization.
3442         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3443         around with font-lock.
3444         * progmodes/etags.el (select-tags-table-mode):
3445         Derive from special-mode.
3446         * progmodes/octave-mod.el (octave-mode):
3447         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3448         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3449         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3450         Let define-derived-mode do its job.
3451         * progmodes/cpp.el (cpp-edit-mode-map):
3452         Move initialization into declaration.
3453         (cpp-edit-mode): Use define-derived-mode.
3454         (cpp-edit-load): Use derived-mode-p.
3455         * progmodes/mixal-mode.el (mixal-mode):
3456         * progmodes/f90.el (f90-mode):
3457         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3458         require-final-newline since prog-mode does it already.
3459         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3460         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3461         * progmodes/antlr-mode.el: Require cc-mode upfront.
3462         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3463         the declaration.
3464         (antlr-directory-dependencies, antlr-show-makefile-rules):
3465         Use derived-mode-p.
3466         (antlr-language-option): Don't assume point-min==1.
3467         (antlr-mode): Use define-derived-mode.
3468         * progmodes/ada-mode.el: Use derived-mode-p.
3469         (ada-mode): Use define-derived-mode.
3470         Use hack-local-variables-hook.
3472 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3474         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3475         (texinfo-mode): Don't disable adaptive-fill-mode.
3476         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3477         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3478         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3479         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3480         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3481         (texinfo-insert-@quotation, texinfo-insert-@samp)
3482         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3483         (texinfo-insert-@uref): Use define-skeleton.
3484         (texinfo-insert-@-with-arg): Delete.
3486 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
3488         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3489         nil, do quote archive member names.  (Bug#6144)
3491 2010-12-10  Glenn Morris  <rgm@gnu.org>
3493         * files.el (diff-no-select): Declare.
3495         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3496         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3498         * comint.el (comint-input-ring-file-name): Doc fix.
3500 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
3502         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3503         New functions.
3504         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3505         Use them instead of `nil' and `>', respectively.
3506         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3507         instead of `nil'.
3508         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3509         and menu-bar-positive-p instead of `nil' and `>', respectively.
3510         (Bug#1077)
3512 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3514         * whitespace.el (whitespace-newline-mode): Code fix.
3516 2010-12-09  Glenn Morris  <rgm@gnu.org>
3518         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3519         Rename functions without commas, update callers.
3521 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
3523         * whitespace.el (whitespace-cleanup-region):
3524         Clean up spaces before tabs.  (Bug#7582)
3526 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
3528         * bookmark.el: Adjust parameter names and doc strings to resolve
3529         confusion over whether "bookmark" meant a bookmark name or a
3530         bookmark record.  Along the way, shorten one function's name for
3531         similar reasons.  (Issue #7548)
3532         (bookmark-name-from-record): New name for
3533         `bookmark-name-from-full-record'.  All callers changed.
3534         (bookmark-get-bookmark, bookmark-get-bookmark-record)
3535         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3536         (bookmark-get-annotation, bookmark-set-annotation)
3537         (bookmark-get-filename, bookmark-set-filename)
3538         (bookmark-get-position, bookmark-set-position)
3539         (bookmark-get-front-context-string, bookmark-set-front-context-string)
3540         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3541         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3542         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3543         Rename `bookmark' parameter to `bookmark-name-or-record', to
3544         clearly show its role, and shorten or adjust doc strings accordingly.
3545         (bookmark-set-name): Same, and pass the parameter directly to
3546         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3547         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3548         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3549         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3550         and in some cases shorten doc string accordingly.
3551         (bookmark-rename): Change `old' and `new' parameters to `old-name'
3552         and `new-name', and adjust an internal variable to avoid confusion.
3553         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3554         parameter in doc string.
3556 2010-12-08  Glenn Morris  <rgm@gnu.org>
3558         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3559         from gdb's history file.  (Bug#7575)
3561         * mail/emacsbug.el (report-emacs-bug):
3562         Try to handle some other mail clients.
3564 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3566         * files.el (dir-locals-collect-variables): Don't let errors stop us.
3567         Use string-prefix-p.
3568         (file-name-version-regexp): New var.
3569         (file-name-sans-versions):
3570         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3571         (jka-compr-get-compression-info): Use dolist.
3572         (jka-compr-compression-info-list): Don't bother specifying
3573         version/backup regexps.
3575 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
3577         * simple.el (just-one-space): Make argument n default to 1 if
3578         omitted.
3580 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3582         * electric.el (electric-indent-post-self-insert-function):
3583         Delete trailing newlines even if we don't reindent.
3585 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3587         * minibuffer.el (completion-at-point): Remove the `arg'.
3588         * bindings.el (complete-symbol): Move back from minibuffer.el.
3590 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3592         * simple.el (just-one-space): Delete newlines for negative arg.
3594 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3596         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3597         (ansi-color-filter-apply): Simplify.
3598         (ansi-color-apply): Use `font-lock-face' rather than `face'.
3600 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3602         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3604 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
3606         * dired.el (dired-use-ls-dired): Set default to a special
3607         "unspecified" value.
3608         (dired-insert-directory): When called the first time, check
3609         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3611 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
3613         * replace.el: Add "collect" feature to occur.
3614         (occur-collect-regexp-history): New var.
3615         (occur-read-primary-args): Return a replace string for nlines,
3616         if needed.
3617         (occur): Extend the meaning of nlines.
3619 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3621         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3622         (which-func-update-1): Distinguish symbols from strings.
3623         (which-function): Stay within 80 columns.
3625 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3627         * subr.el (with-demoted-errors): Distinguish symbols from strings.
3629         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3630         Improve docstring.
3631         (comment-style): Use comment-styles's docs to describe values.
3633 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
3635         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3636         and ns-show-prefs (Bug#7535).
3638         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3639         bindings (Bug#7535).
3641 2010-12-03  Glenn Morris  <rgm@gnu.org>
3643         * nxml/nxml-mode.el: Require rng-nxml.
3644         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3645         Remove declarations.
3647         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3648         * nxml/rng-nxml.el, nxml/rng-valid.el:
3649         Remove leading `*' from defcustom docs.
3651         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3652         (normal-top-level-add-to-load-path, tty-handle-args):
3653         Convert comments to basic doc-strings.
3655         * net/browse-url.el (browse-url-url-at-point)
3656         (browse-url-default-browser): Remove autoload cookies.
3658         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3659         Remove more undefined cl functions.
3661         * vc/diff.el (diff-sentinel): Make new arguments optional.
3662         * ibuf-ext.el (diff-sentinel): Update declaration.
3664 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
3666         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3667         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3668         (epg-context-set-passphrase-callback): Mention that the callback
3669         is not called when used with GnuPG 2.x.
3671 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
3673         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3674         (tramp-file-name-port): Check also for `tramp-default-port'.
3675         (tramp-get-connection-name): New defun.
3676         (tramp-get-connection-process): Use it.
3677         (tramp-debug-message): Extend function exclude list.
3678         (tramp-drop-volume-letter): Fix doc string.
3680         * net/tramp-cmds.el: Remove solved todo item.
3682         * net/tramp-ftp.el:
3683         * net/tramp-gvfs.el:
3684         * net/tramp-gw.el:
3685         * net/tramp-imap.el:
3686         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3687         and `tramp-default-user-alist', respectively.
3689         * net/tramp-gw.el (tramp-gw-open-connection):
3690         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3692         * net/tramp-imap.el (tramp-imap-make-iht): Use just
3693         `tramp-file-name-port'.
3695         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3696         and "psftp".  Exchange "%k" marker with options.
3697         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3698         Compute size of link target.
3699         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3700         `tramp-current-*' up due to gateway methods.  Optimize computing of
3701         copy arguments.  Use `tramp-get-connection-name' and
3702         `tramp-get-connection-buffer'.  Improve debug messages.
3703         (tramp-compute-multi-hops): Remove port determination.
3704         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3706         * net/trampver.el: Update release number.
3708 2010-12-02  Glenn Morris  <rgm@gnu.org>
3710         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3711         Avoid infinite loop over windows.  (Bug#7492)
3713         * progmodes/flymake.el (flymake-check-file-limit):
3714         Allow nil to mean "no limit".
3715         (flymake-check-patch-master-file-buffer): Update for above change.
3716         Allow a .tex file-name extension to be optional.
3717         (flymake-master-tex-init): Also match \include statements.
3719 2010-11-30  Sam Steingold  <sds@gnu.org>
3721         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3722         (nxml-parent-document-set): A function to set `nxml-parent-document'.
3723         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3724         (nxml-mode-hook): Remove `defcustom' (auto-defined by
3725         define-derived-mode').
3726         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3727         users who want to call `nxml-parent-document-set'.
3729 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3731         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3732         stand-alone lines, since that is handled by log-edit-match-to-eoh
3733         (Bug#6465).
3735 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
3737         * dired.el (dired-get-filename): Replace backslashes with slashes
3738         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
3739         * locate.el (locate-default-make-command-line): Don't consider
3740         drive letter and root directory part of
3741         `directory-listing-before-filename-regexp'.  (Bug#7308)
3742         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3744 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3746         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3747         of :smie-open/close-alist.
3748         (smie-next-sexp): Make it accept a "start token" as argument.
3749         (smie-indent-keyword): Be careful not to misidentify tokens that span
3750         more than one line, as empty lines.  Add argument `token'.
3752 2010-11-27  Kenichi Handa  <handa@m17n.org>
3754         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3755         multipart subtypes, insert all as usual.
3757         * mail/rmail.el: Require rfc2047.
3759 2010-11-27  Kenichi Handa  <handa@m17n.org>
3761         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3762         (rmail-mime-entity-disposition)
3763         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3764         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3765         (rmail-mime-save): Handle the case that the button's `data' is a
3766         MIME entity.
3767         (rmail-mime-insert-text): New function.
3768         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3769         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3770         (rmail-mime-insert-bulk): New function mostly copied from the old
3771         rmail-mime-bulk-handler.
3772         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3773         (rmail-mime-process-multipart): New function mostly copied from
3774         the old rmail-mime-multipart-handler.
3775         (rmail-mime-show): Just call rmail-mime-process.
3776         (rmail-mime-process): New function mostly copied from the old
3777         rmail-mime-show.
3778         (rmail-mime-insert-multipart, rmail-mime-parse)
3779         (rmail-mime-insert, rmail-show-mime)
3780         (rmail-insert-mime-forwarded-message)
3781         (rmail-insert-mime-resent-message): New functions.
3782         (rmail-insert-mime-forwarded-message-function): Set to
3783         rmail-insert-mime-forwarded-message.
3784         (rmail-insert-mime-resent-message-function): Set to
3785         rmail-insert-mime-resent-message.
3787         * mail/rmailsum.el: Require rfc2047.
3788         (rmail-header-summary): Handle multiline Subject: field.
3789         (rmail-summary-line-decoder): Change the default to
3790         rfc2047-decode-string.
3792         * mail/rmail.el (rmail-enable-mime): Change the default to t.
3793         (rmail-mime-feature): Change the default to `rmailmm'.
3794         (rmail-quit): Delete the specifal code for rmail-enable-mime.
3795         (rmail-display-labels): Likewise.
3796         (rmail-show-message-1): Check rmail-enable-mime, and use
3797         rmail-show-mime-function for a MIME message.  Decode the headers
3798         according to RFC2047.
3800 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3802         * progmodes/which-func.el (which-func-imenu-joiner-function):
3803         Return a string, as expected.
3804         (which-function-mode): Make sure we stop any previous timer before
3805         starting a new one.
3807 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
3809         * net/tramp.el (tramp-default-method-alist)
3810         (tramp-default-user-alist, tramp-default-proxies-alist):
3811         Adapt custom options type.  (Bug#7445)
3813 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3815         * progmodes/python.el: Add Ipython support (Bug#5390).
3816         (python-shell-prompt-alist)
3817         (python-shell-continuation-prompt-alist): New options.
3818         (python--set-prompt-regexp): New function.
3819         (inferior-python-mode, run-python, python-shell):
3820         Require ansi-color.  Use python--set-prompt-regexp to set the comint
3821         prompt based on the Python interpreter.
3822         (python--prompt-regexp): New var.
3823         (python-check-comint-prompt)
3824         (python-comint-output-filter-function): Use it.
3825         (run-python): Use a pipe (Bug#5694).
3827 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3829         * progmodes/python.el (run-python): Doc fix.
3830         (python-keep-current-directory-in-path): New var (Bug#7454).
3832 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3834         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3835         Prompt user before actually printing.
3837 2010-11-27  Glenn Morris  <rgm@gnu.org>
3839         * startup.el (package-enable-at-startup, package-initialize):
3840         Remove unnecessary declarations.
3842 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
3844         * international/characters.el (glyphless-char-display-control):
3845         Exclude newline and TAB from the c0-control group.
3847 2010-11-27  Glenn Morris  <rgm@gnu.org>
3849         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3850         (expand-mail-aliases): Remove unnecessary autoload.
3852         * allout.el (allout-command-prefix, allout-mode-map): Declare.
3854         * shell.el (shell-dir-cookie-re): Move definition before use.
3856         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3857         Replace undefined CL functions.
3859 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
3861         * simple.el (prog-mode): Set bidi-paragraph-direction to
3862         left-to-right.
3864         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3866 2010-11-26  Glenn Morris  <rgm@gnu.org>
3868         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3869         diary-outlook-formats can be sensitive to calendar-date-style.
3870         (diary-outlook-formats): Simplify the default setting.
3871         (diary-from-outlook-internal): Pass subject and body as arguments.
3872         Use dolist rather than dotimes.  Don't save the diary buffer.
3873         (diary-from-outlook-gnus, diary-from-outlook-rmail):
3874         Pass subject and body as explicit arguments to the -internal function.
3876 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3878         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3879         parsing them.  This makes mailto:...?subject=foo\nbar work.
3881 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3883         * vc/diff.el (diff): Fix last change.
3885 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3887         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
3888         (pcase--dontcare-upats): New var.
3889         (pcase-let, pcase-let*): Generate better code.
3890         Accept the same bodies as `let'.
3891         (pcase-dolist): New macro.
3892         (pcase--trivial-upat-p): New helper function.
3893         (pcase--expand): Strip leading "(let nil" if any.
3895 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3897         * mail/mailclient.el (browse-url): Require.
3898         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3899         use the external browser function to send the mail (bug#7469).
3901         * net/browse-url.el (browse-url-browser-function): Revert the
3902         default back to the previous value, since the new value broke
3903         mailclient.el.
3904         (browse-url-mailto-function): New variable for mailto: URLs.
3905         (browse-url): Use the new variable for mailto: URLs.
3907 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3909         * eshell/esh-cmd.el (eshell-parse-command):
3910         * eshell/esh-arg.el (eshell-parse-arguments):
3911         * eshell/em-script.el (eshell-source-file):
3912         Use with-silent-modifications.
3914 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3916         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
3917         for a merge location.
3919         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3920         (vc-bzr-merge-branch): Always prompt.
3921         (vc-bzr-async-command): Use the full branch filename.
3923 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3925         * shell.el (shell): Use current-buffer by default if it's already
3926         a shell mode buffer and its process is dead.
3927         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3929 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
3931         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3932         Mention that the keywords should be comma separated.
3934 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3936         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3937         Accept optional prefix arg meaning to prompt for a command.
3938         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
3939         prefix arg meaning to prompt for a command.
3940         (vc-pull): Alias for vc-update.
3942         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3943         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3944         (vc-bzr-merge-branch): New functions, implementing merge-branch
3945         and pull operations.
3947 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3949         * Makefile.in: Fix up last merge.
3951         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3952         (diff-sentinel): Get them as arguments instead.
3953         (diff-old-file, diff-new-file, diff-extra-args): Remove.
3954         (diff-file-local-copy, diff-better-file-name): New funs.
3955         (diff-no-select): Rename from diff-into-buffer.
3956         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
3957         Prefer closures to buffer-local variables.
3958         (diff): Adjust accordingly.
3959         (diff-buffer-with-file): Move from files.el.
3960         * files.el (diff-buffer-with-file): Move to vc/diff.el.
3961         (diff-buffer-internal): Remove.
3962         (diff-buffer-buffer): Remove.
3963         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3964         the buffer name used, and so as not to mess up windows and frames.
3966 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3968         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3969         (diff-buffer-internal): New function extracted from diff-buffer-with-file
3970         (diff-buffer-with-file): Use it.
3971         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3972         (diff): Use it.
3974 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
3976         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3977         \ref's or \pageref's value as default instead of initial input.
3979 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
3981         * files.el (backup-by-copying-when-mismatch): The default value is
3982         now t.
3984         * startup.el (normal-top-level):
3985         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3986         `backup-by-copying-when-mismatch'.
3988 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3990         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3992 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3994         * progmodes/python.el (python-font-lock-keywords):
3995         Highlight top-level augmented assignments (Bug#6445).
3997 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3999         * term/ns-win.el (ns-right-control-modifier)
4000         (ns-right-command-modifier): Defvar them.
4002         * cus-start.el (all): Add ns-right-control-modifier and
4003         ns-right-command-modifier (Bug#7458).
4005 2010-11-20  Glenn Morris  <rgm@gnu.org>
4007         * emacs-lisp/authors.el (authors-ignored-files)
4008         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4010 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
4012         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4013         (report-emacs-bug-parse-query-results)
4014         (report-emacs-bug-create-existing-bugs-buffer): Pass through
4015         keywords used for querying the bug database to show them in the
4016         existing bugs buffer.
4018 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
4020         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4022         * info.el (info-tool-bar-map): Add some :vert-only keywords.
4024 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
4026         * international/characters.el (glyphless-char-display-control):
4027         Make it a defcustom, with update-glyphless-char-display as its
4028         :set attribute.
4029         (top level): Don't call update-glyphless-char-display.
4031 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
4033         Sync with Tramp 2.2.0.
4035         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4036         `file-remote-p' (due to compatibility).
4038         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4039         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4041         * net/trampver.el: Update release number.
4043 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
4045         * faces.el (glyphless-char): Define value for `pc'.
4047 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
4049         Implemented a bug querying mechanism.
4050         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4051         (report-emacs-bug-create-existing-bugs-buffer)
4052         (report-emacs-bug-parse-query-results)
4053         (report-emacs-bug-query-existing-bugs): New functions.
4055 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
4057         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4058         a \ref{} or \pageref{} macro, then use its value as initial input.
4060 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
4062         * calc/calc-units.el (math-build-units-table-buffer):
4063         calc/README: Mention that the TeX specific units won't use the
4064         `tex' prefix in TeX mode.
4065         calc/calc-lang.el (math-variable-table): Don't use the `tex'
4066         prefix for units in TeX mode.
4068 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4070         * simple.el (kill-new, kill-append, kill-region):
4071         * comint.el (comint-kill-region): Make the yank-handler argument
4072         obsolete.
4074 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4076         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4077         that are both openers (resp. closers) and something else.
4078         (smie-grammar): Loosen definition of valid values.
4079         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4080         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4081         (smie-indent-after-keyword): Adjust users.
4082         (smie-indent-keyword): Don't indent empty lines.
4084         * vc-hg.el (vc-hg-program): New var.
4085         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4086         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4088 2010-11-18  Glenn Morris  <rgm@gnu.org>
4090         * emacs-lisp/autoload.el (autoload-find-destination): The function
4091         coding-system-eol-type may return non-numeric values.  (Bug#7414)
4093 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
4095         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4097 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
4099         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
4101 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
4103         * textmodes/picture.el (picture-mouse-set-point): Don't use
4104         posn-col-row; explicitly compute the motion based on the posn at
4105         the window-start (Bug#7390).
4107 2010-11-18  Glenn Morris  <rgm@gnu.org>
4109         * novice.el (disabled-command-function):
4110         Fix 2009-11-15 change.  (Bug#7384)
4112 2010-11-18  Glenn Morris  <rgm@gnu.org>
4114         * calendar/calendar.el (diary-iso-date-forms): Make elements
4115         mutually exclusive.  (Bug#7377)
4117 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4119         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4120         when filling the remaining "unconstrained" values.
4122 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4124         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4125         safety predicate.
4127         * files.el (safe-local-variable-p): Gracefully handle errors.
4129         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4130         Use smie-indent-virtual when indenting relative to an opener.
4131         (smie-rule-separator): Use smie-rule-parent.
4132         (smie-indent-keyword): Consult rules, even for openers at bol.
4133         (smie-indent-comment-close): Try to align closer's content.
4135 2010-11-18  Glenn Morris  <rgm@gnu.org>
4137         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4139 2010-11-18  Glenn Morris  <rgm@gnu.org>
4141         * printing.el (pr-menu-bind): Doc fix.
4143         * speedbar.el (speedbar-toggle-images): Doc fix.
4145         * progmodes/python.el (python-shell): Doc fix.
4147         * wid-edit.el (widget-field-use-before-change)
4148         (widget-use-overlay-change): Doc fixes.
4150 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4152         Minor cleanup to improve style.
4153         * textmodes/rst.el (rst-update-section): Use point-marker.
4154         (rst-get-decoration): Eliminate unneeded assignment.
4155         (rst-promote-region, rst-straighten-decorations)
4156         (rst-section-tree, rst-adjust): Use point-marker.
4157         (rst-toc-mode-mouse-goto): Avoid setq.
4158         (rst-shift-region-guts, rst-shift-region-left)
4159         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4160         (rst-convert-bullets-to-enumeration): Use copy-marker.
4162         * minibuffer.el (completion-fail-discreetly): New var.
4163         (completion--do-completion): Use it.
4165         * electric.el (electric-pair-pairs): New var.
4166         (electric-pair-post-self-insert-function): Use it.
4167         (electric-layout-post-self-insert-function): Don't insert a before
4168         newline unless it's actually needed.
4170 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4172         * progmodes/python.el (run-python): Explain why we remove the current
4173         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
4175         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4177 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4179         * progmodes/octave-mod.el: Rely on elecric-*-modes.
4180         (octave-mode-map): Don't bind ;, SPC, and LF.
4181         (octave-auto-indent, octave-auto-newline): Remove.
4182         (electric-layout-rules): Declare.
4183         (octave-mode): Set electric-layout-rules.
4184         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4185         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4186         (octave-electric-space): Remove.
4188         * electric.el (electric-layout-mode): New minor mode.
4189         (electric--after-char-pos): New function.
4190         (electric-indent-post-self-insert-function): Use it.
4191         (electric-layout-rules): New var.
4192         (electric-layout-post-self-insert-function): New function.
4193         (electric-indent-mode): Make them interact better.
4195 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4197         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4198         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4199         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4201 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
4203         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4204         Make sure to check inside the word (Bug#6761).
4206 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
4208         * startup.el (command-line): If the cursorColor resource is set,
4209         change the cursor face-spec (Bug#7392).
4211 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
4213         The main features of the following allout.el changes are:
4214         - implement user customization for the allout key bindings
4215         - add a customization control by which the user can inhibit use of
4216           a trailing Ctrl-H, so by default it's reserved for use with
4217           describe-prefix-bindings
4218         - adapt to new version of called-interactively-p, while
4219           maintaining backwards compatibility with old version
4220         - fix hotspot navigation so i works properly with meta-modified keys.
4222         * allout.el (allout-keybindings, allout-bind-keys)
4223         (allout-keybindings-binding, allout-prefixed-keybindings)
4224         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4225         (allout-keybindings-list, allout-mode-map-adjustments)
4226         (allout-setup-mode-map): Establish allout-mode keymaps as user
4227         customizable settings, and also establish a customizable setting which
4228         regulates whether or not a trailing control-h is reserved for use with
4229         describe-prefix-bindings - and inhibit it by default, so that control-h
4230         *is* reserved for describe-prefix-bindings unless the user changes it.
4232         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4233         and accurately between modified and unmodified events, and handle
4234         modified events more comprehensively.
4236         * allout.el (allout-substring-no-properties):
4237         Alias to use or provide version of `substring-no-properties'.
4238         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4240         * allout.el (allout-next-single-char-property-change):
4241         Alias to use or provide version of `next-single-char-property-change'.
4242         (allout-annotate-hidden, allout-hide-by-annotation):
4243         Use `allout-next-single-char-property-change'.
4245         * allout.el (allout-select-safe-coding-system):
4246         Alias to use or provide version of `select-safe-coding-system'.
4247         (allout-toggle-subtree-encryption):
4248         Use `allout-select-safe-coding-system'.
4250         * allout.el (allout-set-buffer-multibyte):
4251         Alias to use or provide version of `set-buffer-multibyte'.
4252         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4254         * allout.el (allout-called-interactively-p): Macro for using the
4255         different versions of called-interactively-p identically, depending on
4256         the subroutine's argument signature.
4257         (allout-back-to-current-heading, allout-beginning-of-current-entry):
4258         Use `(interactive "p")' instead of `(called-interactively-p)'.
4260         * allout.el (allout-init, allout-ascend, allout-end-of-level)
4261         (allout-previous-visible-heading, allout-forward-current-level)
4262         (allout-backward-current-level, allout-show-children):
4263         Use `allout-called-interactively-p' instead of `called-interactively-p'.
4265         * allout.el (allout-before-change-handler):
4266         Exempt edits to the (overlaid) character after the allout outline
4267         bullet from edit confirmation prompt.
4269         * allout.el (allout-add-resumptions):
4270         Ensure that it respects correct buffer for keybindings.
4272         * allout.el (allout-beginning-of-line):
4273         Use `allout-previous-single-char-property-change' alias for the sake of
4274         diverse compatibility.
4276         * allout.el (allout-end-of-line):
4277         Use `allout-mark-active-p' to encapsulate respect for mark activity.
4279 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
4281         * frame.el (frame-notice-user-settings): Don't clobber other
4282         user-set parameters when calling face-set-after-frame-default in
4283         response to background-color parameter (Bug#7373).
4285 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
4287         * international/characters.el (glyphless-char-display-control):
4288         Rename from glyphless-char-control; all users changed.  Doc fix.
4289         Signal an error if display method is not one of the recognized
4290         symbols.
4292 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
4294         * net/tramp-compat.el (tramp-compat-line-beginning-position)
4295         (tramp-compat-line-end-position): Remove them.
4297         * net/tramp.el (tramp-parse-rhosts-group)
4298         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4299         (tramp-parse-hosts-group, tramp-parse-passwd-group)
4300         (tramp-parse-netrc-group, tramp-parse-putty-group)
4301         * net/tramp-cmds.el (tramp-append-tramp-buffers)
4302         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4303         (tramp-sh-handle-file-selinux-context)
4304         (tramp-sh-handle-file-name-all-completions)
4305         (tramp-sh-handle-insert-directory)
4306         (tramp-sh-handle-expand-file-name, tramp-find-executable)
4307         (tramp-wait-for-output, tramp-send-command-and-read)
4308         * net/tramp-smb.el (tramp-smb-read-file-entry)
4309         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4311         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4312         `point-at-bol'.
4313         (tramp-remote-coding-commands): Add an alternative using "base64
4314         -d -i".  This is needed for older base64 versions from GNU
4315         coreutils.  Reported by Klaus Reichl
4316         <Klaus.Reichl@thalesgroup.com>.
4318 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
4320         * simple.el (count-words-region): New function.
4322 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4324         * shell.el (shell-dir-cookie-re): New custom variable.
4325         (shell-dir-cookie-watcher): New function.
4327         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4328         and compilation-mode (bug#7350).
4330         * vc/smerge-mode.el (smerge-refine): Choose better default part to
4331         highlight when one of them is empty.
4333         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4334         trailing space.
4335         (skeleton-newline): New function.
4336         (skeleton-internal-1): Use it.
4338         * simple.el (open-line): `newline' may strip trailing space.
4340 2010-11-12  Kevin Ryde  <user42@zip.com.au>
4342         * international/mule-cmds.el (princ-list): Use mapc.
4344 2010-11-12  Glenn Morris  <rgm@gnu.org>
4346         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4347         Use it to replace all instances of "*Compile-Log*".
4349 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4351         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4352         indentation specs.
4354 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4356         * progmodes/modula2.el: Use SMIE and skeleton.
4357         (m2-mode-syntax-table): (*..*) can be nested.
4358         Add //...\n.  Fix paren syntax.
4359         (m2-mode-map): Remove LF and TAB bindings.
4360         (m2-indent): Add safety property.
4361         (m2-smie-grammar): New var.
4362         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4363         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4364         (m2-mode): Use define-derived-mode.
4365         (m2-newline, m2-tab): Remove.
4366         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4367         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4368         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4369         (m2-import): Use define-skeleton.
4371 2010-11-11  Glenn Morris  <rgm@gnu.org>
4373         * obsolete/lucid.el: Don't warn about any CL functions in this file.
4375         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4376         (ls-lisp-verbosity): Add custom :set-after property.
4377         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4378         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4379         (ls-lisp-insert-directory): Update caller.
4380         (ls-lisp-set-options): New function.
4381         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4382         Doc fix.
4384         * play/landmark.el (lm-prompt-for-move):
4385         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4387         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4389         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4390         (idlwave-study-twins): Prefix dynamic local variable `name'.
4391         (idlwave-routine-twin-compare): Update for above change.
4393         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4394         Prefix dynamic local variables `name', `kwd', and `link'.
4395         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4396         * progmodes/idlw-complete-structtag.el
4397         (idlwave-complete-structure-tag-help):
4398         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4399         (idlwave-complete-sysvar-tag-help)
4400         (idlwave-complete-class-structure-tag-help):
4401         Update for above name changes.
4403 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4405         * net/browse-url.el (browse-url-browser-function): Change the
4406         default to use `browse-url-mail' on mailto: URLs.
4408 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
4410         * emacs-lisp/package.el (package-read-all-archive-contents):
4411         Reset package-archive-contents to nil before re-reading.
4413 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
4415         * textmodes/flyspell.el (flyspell-word): Do not re-check words
4416         already found as misspellings by (flyspell-large-region), just
4417         do highlighting (bug#7322).
4419 2010-11-10  Glenn Morris  <rgm@gnu.org>
4421         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4423         * emulation/edt.el (edt-with-position): New macro.
4424         (edt-find-forward, edt-find-backward, edt-find-next-forward)
4425         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4426         (edt-paragraph-forward, edt-paragraph-backward): Use it.
4428         * emulation/tpu-extras.el (tpu-with-position): New macro.
4429         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4431         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4433         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4434         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4435         (texinfo-master-menu, texinfo-insert-node-lines)
4436         (texinfo-multiple-files-update):
4437         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4438         Use line-beginning-position.
4440         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4441         No recent Emacs supports system-type `emx'.
4443         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4444         (ada-command-separator, ada-default-prj-properties)
4445         (ada-find-any-references): Update for above name change.
4447         * dirtrack.el (dirtrack-directory-function)
4448         (dirtrack-canonicalize-function):
4449         * filecache.el (file-cache-completion-ignore-case)
4450         (file-cache-case-fold-search, file-cache-ignore-case):
4451         * term.el (serial-port-is-file-p): Cosmetic change.
4453         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4454         Remove non-existent `windows-95' system-type.
4455         * dired.el (dired-chown-program): Remove non-existent `linux'
4456         system-type.
4458         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4459         (ping-program-options): Remove non-existent `linux' system-type.
4461         * startup.el (package-initialize): Update declaration.
4463         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4464         (ls-lisp-handle-switches): Use time-less-p.
4465         (ls-lisp-format-time): Use float-time.
4467         * textmodes/remember.el (remember-time-to-seconds): Remove.
4468         (remember-store-in-mailbox): Use float-time.
4470         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4472         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4473         never a real function.
4474         (with-no-warnings): Remove compat stub, now unused.
4475         (time-less-p): Doc fix.
4476         (time-to-number-of-days): Simplify.
4478         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4479         Remove.
4480         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4481         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4482         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4483         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4484         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4486         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4487         (eshell-shuffle-files, eshell-shorthand-tar-command)
4488         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4489         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4490         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4491         Prefix dynamic local variable `matches'.
4493         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4494         Prefix dynamic local variable `skeleton'.
4496 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4498         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4499         in mail buffer; make yank-action always a command that yanks original
4500         buffer.
4502 2010-11-09  Glenn Morris  <rgm@gnu.org>
4504         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4506 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4508         * minibuffer.el (minibuffer-completion-help): Specify the end of the
4509         completion field (bug#7211).
4511         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4512         Fix handling of backslash escapes.
4513         (python-quote-syntax): Adjust accordingly.
4515 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
4517         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4518         (vc-mtn-workfile-branch): Adjust to new output format.
4520 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4522         * international/mule-cmds.el (princ-list): Mark as obsolete.
4524 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4526         * emacs-lisp/smie.el: New package.
4528 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
4530         * files.el (backup-by-copying-when-mismatch):
4531         Set `permanent-local' property.
4533         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4534         `permanent-local' property for `backup-by-copying-when-mismatch'.
4536 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
4538         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
4540 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
4542         * progmodes/verilog-mode.el (verilog-insert-one-definition)
4543         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4544         AUTOINOUT for SV style multidimensional arrays, bug294.
4545         Reported by Eric Mastromarchi.
4546         (verilog-preprocess): Use with-current-buffer and
4547         font-lock-fontify-buffer to cleanup style issues.
4549 2010-11-09  Glenn Morris  <rgm@gnu.org>
4551         * locate.el (locate, locate-mode): Doc fixes.
4553 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
4555         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4556         user for confirmation.
4557         (server-force-stop): Use it.
4558         (server-start): Use server-force-stop for kill-emacs-hook, to
4559         avoid user interaction while killing Emacs.
4561 2010-11-09  Glenn Morris  <rgm@gnu.org>
4563         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4564         (meta-indent-line): Simplify.
4566         * vc/emerge.el (emerge-line-number-in-buf):
4567         * textmodes/ispell.el (ispell-region):
4568         * textmodes/fill.el (current-fill-column):
4569         * progmodes/xscheme.el (xscheme-send-current-line):
4570         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4571         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4572         * progmodes/sh-script.el (sh-handle-prev-do):
4573         * progmodes/meta-mode.el (meta-indent-line):
4574         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4575         (idlwave-in-quote):
4576         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4577         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4578         * progmodes/fortran.el (fortran-looking-at-if-then):
4579         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4580         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4581         (cperl-find-pods-heres):
4582         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4583         * net/quickurl.el (quickurl-list-insert):
4584         * net/ldap.el (ldap-search-internal):
4585         * net/eudc.el (eudc-expand-inline):
4586         * mail/sendmail.el (sendmail-send-it):
4587         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4588         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4589         (viper-brac-function):
4590         * calc/calc-yank.el (calc-do-grab-region):
4591         * calc/calc-keypd.el (calc-keypad-press):
4592         * term.el (term-move-columns, term-insert-spaces):
4593         * speedbar.el (speedbar-highlight-one-tag-line):
4594         * simple.el (current-word):
4595         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4596         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4597         (Info-scroll-down):
4598         * hippie-exp.el (he-line-beg):
4599         * epa.el (epa--marked-keys):
4600         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4601         (dired-update-file-line, dired-add-entry, dired-remove-entry)
4602         (dired-relist-entry):
4603         * buff-menu.el (Buffer-menu-buffer):
4604         * array.el (current-line):
4605         * allout.el (allout-resolve-xref)
4606         (allout-latex-verbatim-quote-curr-line):
4607         Replace yet more uses of end-of-line etc with line-end-position, etc.
4609 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4611         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4612         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4613         (checkdoc-syntax-table): Initialize in the declaration.
4614         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4615         the mode on unconditionally.
4617         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4618         (extent-end-position, extent-start-position): Remove setf method for
4619         non-existing functions (bug#7319).
4621 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4623         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4624         (smie-precs->prec2): Rename from smie-precs-precedence-table.
4625         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4626         (smie-prec2->grammar): Rename from smie-prec2-levels.
4627         (smie-grammar): Rename from smie-op-levels.
4628         (smie-indent--hanging-p): Rename from smie-hanging-p.
4629         (smie-rule-hanging-p): New alias.
4630         (smie-indent--bolp): Rename from smie-bolp.
4631         (smie-indent--hanging-p): New alias.
4632         (smie--token): New dynamically bound variable.
4633         (smie-indent--parent): New function.
4634         (smie-rule-parent-p): Use it; rename from smie-parent-p.
4635         (smie-rule-next-p): Rename from smie-next-p.
4636         (smie-rule-prev-p): Rename from smie-prev-p.
4637         (smie-rule-sibling-p, smie-rule-parent)
4638         (smie-indent--separator-outdent, smie-rule-separator): New functions.
4639         (smie-rule-separator-outdent): New var.
4640         (smie-indent--rule): Merge with smie-indent--column.
4641         (smie-indent-forward-token, smie-indent-backward-token):
4642         Also recognize close parens.
4643         (smie-indent-keyword): Don't use smie-indent--column any more.
4644         (smie-indent-after-keyword): Ignore closers by default.
4645         (smie-indent-line): Use with-demoted-errors.
4646         * progmodes/octave-mod.el (octave-smie-grammar):
4647         Rename from octave-smie-op-levels.
4648         (octave-smie-rules): Adjust to new behavior.
4649         * progmodes/prolog.el (prolog-smie-grammar):
4650         Rename from prolog-smie-op-levels.
4652 2010-11-07  Glenn Morris  <rgm@gnu.org>
4654         * eshell/esh-util.el (subst-char-in-string)
4655         (directory-files-and-attributes): These compatibility definitions are
4656         not needed on any version of Emacs since at least 21.4.
4658         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4659         (verilog-get-end-of-line): Remove.
4660         (verilog-within-string, verilog-re-search-forward-substr)
4661         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4662         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4663         Use point-at-bol, point-at-eol.
4664         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4665         Remove.
4666         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4667         (electric-pascal-terminate-line, pascal-set-auto-comments)
4668         (pascal-indent-paramlist, pascal-indent-declaration)
4669         (pascal-get-lineup-indent, pascal-func-completion)
4670         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4671         Use point-at-bol, point-at-eol.
4672         * progmodes/flymake.el (flymake-line-beginning-position)
4673         (flymake-line-end-position): Remove.
4674         (flymake-highlight-line): Use point-at-bol, point-at-eol.
4675         * eshell/esh-util.el (line-end-position, line-beginning-position):
4676         Remove compat definitions.
4678         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4679         Use end-of-line N.
4680         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4681         Use line-end-position.
4683         * emacs-lisp/chart.el (chart-zap-chars):
4684         * play/decipher.el (decipher-set-map):
4685         * progmodes/ada-mode.el (ada-get-current-indent)
4686         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4687         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4688         * progmodes/ada-xref.el (ada-initialize-runtime-library)
4689         (ada-get-all-references):
4690         * progmodes/cperl-mode.el (cperl-electric-paren)
4691         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4692         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4693         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4694         (cperl-word-at-point-hard):
4695         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4696         (idlwave-shell-filename-string, idlwave-shell-batch-command)
4697         (idlwave-shell-display-line):
4698         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4699         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4700         * progmodes/js.el (js--re-search-forward-inner)
4701         (js--re-search-backward-inner):
4702         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4703         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4704         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4705         * textmodes/flyspell.el (flyspell-process-localwords):
4706         * textmodes/ispell.el (ispell-buffer-local-parsing)
4707         (ispell-buffer-local-dict, ispell-buffer-local-words):
4708         Use point-at-bol and point-at-eol.
4710         * speedbar.el (speedbar-generic-item-info)
4711         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4712         (speedbar-add-indicator, speedbar-check-vc-this-line)
4713         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4714         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4715         Replace more uses of end-of-line etc with line-end-position.
4717 2010-11-06  Glenn Morris  <rgm@gnu.org>
4719         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4720         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4721         (texinfo-delete-existing-pointers, texinfo-find-pointer)
4722         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4723         (texinfo-multiple-files-update):
4724         * textmodes/table.el (table--probe-cell-left-up)
4725         (table--probe-cell-right-bottom):
4726         * textmodes/picture.el (picture-tab-search):
4727         * textmodes/page-ext.el (pages-copy-header-and-position)
4728         (pages-directory-for-addresses):
4729         * progmodes/vera-mode.el (vera-get-offset):
4730         * progmodes/simula.el (simula-calculate-indent):
4731         * progmodes/python.el (python-pdbtrack-overlay-arrow):
4732         * progmodes/prolog.el (end-of-prolog-clause):
4733         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4734         * progmodes/icon.el (indent-icon-exp):
4735         * progmodes/etags.el (tag-re-match-p):
4736         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4737         * progmodes/ebnf2ps.el (ebnf-begin-file):
4738         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4739         (dcl-save-local-variable):
4740         * play/life.el (life-setup):
4741         * play/gametree.el (gametree-looking-at-ply):
4742         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4743         * mail/sendmail.el (mail-mode-auto-fill):
4744         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4745         * emacs-lisp/edebug.el (edebug-overlay-arrow):
4746         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4747         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4748         (woman-tab-to-tab-stop, WoMan-warn-ignored):
4749         * type-break.el (type-break-file-keystroke-count):
4750         * term.el (term-replace-by-expanded-history-before-point)
4751         (term-skip-prompt, term-extract-string):
4752         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4753         (speedbar-contract-line, speedbar-toggle-line-expansion)
4754         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4755         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4756         * sort.el (sort-skip-fields):
4757         * skeleton.el (skeleton-internal-list):
4758         * simple.el (line-move-finish, line-move-to-column):
4759         * shell.el (shell-forward-command):
4760         * misc.el (copy-from-above-command):
4761         * makesum.el (double-column):
4762         * ebuff-menu.el (electric-buffer-update-highlight):
4763         * dired.el (dired-move-to-end-of-filename):
4764         * dframe.el (dframe-popup-kludge):
4765         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4766         * arc-mode.el (archive-get-lineno):
4767         Use line-end-position and line-beginning-position.
4769         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4770         (idlwave-study-twins): Prefix dynamic local `class'.
4771         (idlwave-routine-twin-compare): Update for above name change.
4773         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4774         Use boundp tests to silence compiler.  Update for changed name of
4775         bytecomp-filename variable.
4777         * emulation/viper-cmd.el (viper-read-string-with-history):
4778         Prefix dynamic local `initial'.
4779         (viper-minibuffer-standard-hook): Update for above name change.
4781         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4782         (elint-init-form): Update for above name change.
4784         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4785         local variables `cbeg' and `cend' a prefix.
4786         (mail-extr-voodoo): Update for above name change.
4788         * textmodes/reftex-toc.el (reftex-toc-do-promote)
4789         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4790         (reftex-toc-promote-action): Doc fix.
4792         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4793         `prompt', `data' a prefix.
4794         (reftex-select-post-command-hook, reftex-select-callback)
4795         (reftex-select-mouse-accept, reftex-select-read-cite):
4796         Update for above name changes.
4798         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4799         `refstyle' to reftex-refstyle.
4800         (reftex-offer-label-menu): Update for above name change.
4801         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4802         `refstyle' name change.
4804         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4805         with with-current-buffer.
4806         (diff, template): Give dynamic local variables a prefix.
4807         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4808         (emerge-line-number-in-buf): Update for above name change.
4809         (emerge-combine-versions-internal): Rename local `template' to
4810         emerge-combine-template.
4811         (emerge-combine-versions-edit): Update for above name change.
4813 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
4815         * textmodes/reftex-cite.el
4816         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4817         entries with whitespace after \bibitem.
4818         (reftex-create-bibtex-file): Match entries containing numbers and
4819         symbol constituents.  Make sure that entries with whitespace at
4820         various places are found.
4822 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
4824         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4826 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
4828         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4830 2010-11-05  Glenn Morris  <rgm@gnu.org>
4832         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4833         (woman2-roff-buffer): Give local variable `request' a prefix.
4834         (woman0-macro): Rename argument `request' in the same way.
4835         (woman-request): New name for `request' dynamic variable.
4836         (woman-unquote, woman-forward-arg): Update for above name change.
4837         (woman1-roff-buffer): Give local variable `unquote' a prefix.
4838         (woman1-unquote): New name for `unquote' dynamic variable.
4839         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4840         (woman-translations): Rename from `translations'.  No longer global.
4841         (woman2-tr, woman-translate): Update for above name change.
4842         (woman-translate): Check for bound variable.
4843         (woman2-roff-buffer): Give local variable `translations' a prefix.
4845         * play/doctor.el: Give all local variables a prefix.  Update callers.
4846         (doc$, doctor-put-meaning): Use backquote.
4848         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4849         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4851         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4852         variables bytes, ptr, op a prefix.
4853         (disassemble-offset): Update for above change.
4855 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4857         * emacs-lisp/package.el (package-unpack): Remove no-op.
4858         (package--builtins, package--dir): Doc fix.
4859         (package-activate-1, package-activate, package-install)
4860         (package-compute-transaction): Fix error message.
4861         (package-delete): Use delete-directory.  Omit system packages.
4862         (package-initialize): Set package-alist to nil first.
4863         (package-menu-mark-delete, package-menu-mark-install): Don't add
4864         symbols that are inconsistent with the package state.
4865         (package-menu-execute): Perform deletions and installations as
4866         single batch operations.
4868 2010-11-03  Glenn Morris  <rgm@gnu.org>
4870         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4871         (props): Remove unnecessary declaration.
4873         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4874         set-process-query-on-exit-flag.
4876         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4877         (reftex-toc-do-promote): Remove unused local `mpos'.
4878         (reftex-toc-restore-region): Make `mpos' local to this function.
4880         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4882         * play/landmark.el (lm-losing-threshold): Correct spelling.
4883         (lm-human-plays): Use new name.
4885         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4886         (gomoku-human-plays): Use new name.
4888         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4889         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4890         (gomoku-score-trans-table, gomoku-winning-threshold)
4891         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4893 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4895         * emacs-lisp/package.el: Don't put built-in packages in
4896         package-alist, to avoid loading inefficiencies.
4897         (package-built-in-p): Make VERSION optional, and treat it as a
4898         minimum acceptable version.
4899         (package-activate): Search separately for built-in packages.
4900         Emit a warning if a dependency fails.
4901         (define-package): Handle most common case, where there is no
4902         obsolete package, first.
4903         (package-compute-transaction): Print required version in error.
4904         (package--initialized): New variable.
4905         (list-packages): Use it.
4906         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
4907         built-in packages in packages-alist; keep it separate.
4908         Set package--initialized.
4909         (describe-package): Avoid activating packages as a side-effect.
4910         Search separately for built-in packages.
4911         (describe-package-1): Handle the case where an elpa package is
4912         simultaneously built-in and available/installed.
4913         (package-installed-p, package--generate-package-list):
4914         Search separately for built-in packages.
4915         (package-load-descriptor): Doc fix.
4917 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4919         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4920         Handle __DATA__ and __END__.
4922 2010-11-02  Noah Friedman  <friedman@splode.com>
4924         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4925         nil, do not ask to recompile files that are not already compiled,
4926         and do not recompile them.
4928 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
4930         * emacs-lisp/package.el (package-initialize): Ensure that
4931         obsoleted built-in packages are not in package-activated-list
4932         during activation.
4933         (describe-package-1): Make the "installed" status override
4934         "built-in".
4936 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4938         * subr.el (version-separator, version-regexp-alist): Remove '*'
4939         from docstring.
4940         (version-list-<=, version<=, version=): Doc fix.
4942 2010-11-01  Kenichi Handa  <handa@m17n.org>
4944         * faces.el (glyphless-char): Inherit underline for tty.
4946 2010-11-01  Kenichi Handa  <handa@m17n.org>
4948         Implement various display methods for glyphless characters.
4950         * international/characters.el (char-acronym-table): New variable.
4951         (glyphless-char-control): New variable.
4952         (update-glyphless-char-display): New function.
4954         * faces.el (glyphless-char): New face.
4956 2010-11-01  Glenn Morris  <rgm@gnu.org>
4958         * calendar/holidays.el (general-holidays, oriental-holidays)
4959         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4960         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4961         the definitions of their targets.
4963         * emacs-lisp/smie.el (smie): New custom group.
4964         (smie-blink-matching-inners, smie-indent-basic): Add :group.
4966         * faces.el (xw-defined-colors, x-setup-function-keys):
4967         * mouse-sel.el (x-select-text):
4968         * term/w32console.el (x-setup-function-keys): Update declarations.
4970         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4972         * textmodes/ispell.el (comment-add): Declare.
4974         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4975         Declare.
4977         * info.el (finder-keywords-hash, package-alist): Declare.
4979 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4981         * finder.el (finder-compile-keywords): Don't use intern-soft,
4982         since package names may not yet exist in the obarray.
4984 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4986         * vc/vc-arch.el (vc-arch-checkin):
4987         * vc/vc-cvs.el (vc-cvs-checkin):
4988         * vc/vc-mtn.el (vc-mtn-checkin):
4989         * vc/vc-rcs.el (vc-rcs-checkin):
4990         * vc/vc-sccs.el (vc-sccs-checkin):
4991         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4992         since 2010-04-21 commit by Stefan Monnier.
4994 2010-11-01  Glenn Morris  <rgm@gnu.org>
4996         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4998         * startup.el (package-enable-at-startup, package-initialize):
4999         Silence compiler.
5001         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5002         Silence compiler.
5004 2010-10-31  Julien Danjou  <julien@danjou.info>
5006         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5007         (byte-recompile-directory):
5008         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5009         Use `byte-recompile-file'.
5011 2010-10-31  Glenn Morris  <rgm@gnu.org>
5013         * cus-start.el: Handle standard values via a keyword.
5014         Only set version property if specified.
5015         (cursor-in-non-selected-windows, menu-bar-mode)
5016         (tool-bar-mode, show-trailing-whitespace):
5017         Do not specify standard values.
5018         (transient-mark-mode, temporary-file-directory): Use :standard.
5020 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
5022         * term/x-win.el (x-get-selection-value): New function that gets
5023         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
5025 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
5027         * net/tramp.el (tramp-handle-insert-file-contents): For root,
5028         preserve owner and group when editing files.  (Bug#7289)
5030 2010-10-31  Glenn Morris  <rgm@gnu.org>
5032         * speedbar.el (speedbar-mode):
5033         * play/fortune.el (fortune-in-buffer, fortune):
5034         * play/gomoku.el (gomoku-mode):
5035         * play/landmark.el (lm-mode):
5036         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5037         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
5039         * select.el (x-selection): Mark it as an obsolete alias.
5041 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5043         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5044         major-mode (bug#7284).
5046 2010-10-31  Glenn Morris  <rgm@gnu.org>
5048         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5049         rather than just an unused variable that inherits from the real one.
5051 2010-10-31  Alan Mackenzie  <acm@muc.de>
5053         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5054         This fixes bug #7185.
5056 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
5058         * startup.el (command-line): Search for package directories, and
5059         don't load package.el if none are found.
5061         * emacs-lisp/package.el (describe-package, list-packages):
5062         Call package-initialize if it has not been called yet.
5064 2010-10-30  Alan Mackenzie  <acm@muc.de>
5066         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5067         which fontifies the tail of an enum.
5068         (c-basic-matchers-after): Insert a call to the above new function.
5069         This fixes bug #7264.
5071 2010-10-30  Glenn Morris  <rgm@gnu.org>
5073         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5074         tool-bar-mode, transient-mark-mode.  (Bug#7306)
5075         Include the :set property in the dumped Emacs.
5077 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5079         SMIE: change indent rules format, improve smie-setup.
5080         * emacs-lisp/smie.el (smie-precs-precedence-table)
5081         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5082         Mark them pure so the tables gets built at compile time.
5083         (smie-bnf-precedence-table): Store the closer-alist in the table.
5084         (smie-prec2-levels): Preserve the closer-alist.
5085         (smie-blink-matching-open): Be more forgiving in case of indentation.
5086         (smie-hanging-p): Rename from smie-indent--hanging-p.
5087         (smie-bolp): Rename from smie-indent--bolp.
5088         (smie--parent, smie--after): New dynamic vars.
5089         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5090         (smie-indent-rules): Remove.
5091         (smie-indent--offset-rule): Remove fun.
5092         (smie-rules-function): New var.
5093         (smie-indent--rule): New fun.
5094         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5095         (smie-indent-exps): Use it.
5096         (smie-setup): Setup paren blinking; add keyword args for token
5097         functions; extract closer-alist from op-levels.
5098         (smie-indent-debug-log): Remove var.
5099         (smie-indent-debug): Remove fun.
5100         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5101         (prolog-smie-rules): New fun to replace it.
5102         (prolog-mode-variables): Simplify.
5103         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5104         it's setup automatically.
5105         (octave-smie-indent-rules): Remove.
5106         (octave-smie-rules): New fun to replace it.
5107         (octave-mode): Simplify.
5109 2010-10-29  Glenn Morris  <rgm@gnu.org>
5111         * files.el (temporary-file-directory): Remove (already defined in C).
5112         * cus-start.el: Add temporary-file-directory.
5114         * abbrev.el (abbrev-mode):
5115         * composite.el (auto-composition-mode):
5116         * menu-bar.el (menu-bar-mode):
5117         * simple.el (transient-mark-mode):
5118         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5119         that they do not define the associated variables twice.
5120         * simple.el (transient-mark-mode): Remove defvar.
5121         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5122         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5123         Handle multiple groups, and also custom-delayed-init-variables.
5124         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5126 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5128         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5129         (pcase-if): Add one minor optimization.
5130         (pcase-split-equal): Rename from pcase-split-eq.
5131         (pcase-split-member): Rename from pcase-split-memq.
5132         (pcase-u1): Add strings to the member optimization.
5133         Add `guard' variant of predicates.
5134         (pcase-q1): Add string patterns.
5136 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5138         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5140 2010-10-28  Glenn Morris  <rgm@gnu.org>
5142         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5143         Move menu-bar related settings to ../menu-bar.el.
5144         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5145         Move ns-specific settings here from term/ns-win.el.
5147         * simple.el (x-selection-owner-p): Remove unused declaration.
5149 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5151         * minibuffer.el (completion-cycling): New var (bug#7266).
5152         (minibuffer-complete, completion--do-completion):
5153         Use completion--flush-all-sorted-completions.
5154         (minibuffer-complete): Only cycle if completion-cycling is set.
5155         (completion--flush-all-sorted-completions): Unset completion-cycling.
5156         (minibuffer-force-complete): Set completion-cycling.
5157         (completion-all-sorted-completions): Move declaration before first use.
5159 2010-10-28  Leo  <sdl.web@gmail.com>
5161         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5162         which changes the order of matches seen by users (bug#7231).
5164 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
5166         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5167         Don't confuse -omega as "-o mega".
5169 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5171         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5172         (log-edit-author): New dynamic var.
5173         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5174         to return the author if different from committer.
5175         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5177         * play/landmark.el: Adjust commenting convention.
5178         (lm-nil-score): Rename from nil-score.
5179         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5180         (OOOOscore): Move into a let in lm-score-trans-table.
5181         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5183         * electric.el (electric-indent-chars): Autoload.
5184         * progmodes/octave-mod.el (octave-mode):
5185         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5186         (ruby-mode-abbrev-table): Merge initialization and declaration.
5188 2010-10-27  Glenn Morris  <rgm@gnu.org>
5190         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5191         variable.
5193         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5195         * term/ns-win.el: Restore require of cl when compiling.
5196         (menu-bar-final-items): Remove non-existent `windows' menu.
5197         (ns-handle-nxopen): Optionally handle the temp-case.
5198         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5199         (ns-insert-file, ns-find-file): Use `pop'.
5201 2010-10-26  Glenn Morris  <rgm@gnu.org>
5203         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5205 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
5207         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5208         global map.
5209         * term/common-win.el (x-setup-function-keys): Remove most of the
5210         keymappings.  Comment on the remaining ones.
5212 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
5214         * server.el (server-port): New option.  (Bug#854)
5215         (server-start): Use server-port.
5217 2010-10-26  Glenn Morris  <rgm@gnu.org>
5219         * term/ns-win.el (ns-version-string): Remove unused declaration.
5220         (ns-invocation-args): Change to x-invocation-args.
5221         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5222         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5223         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5224         Use x-invocation-args instead of ns-invocation-args.
5225         (ns-initialize-window-system, handle-args-function-alist):
5226         Use x-handle-args instead of ns-handle-args.
5227         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5228         * startup.el (command-line-ns-option-alist): Replace
5229         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5230         ns-handle-iconic with the x- equivalents.
5232         * term/common-win.el (x-select-enable-clipboard):
5233         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5235         * term/ns-win.el: No need to require cl when compiling.
5236         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5237         (xw-defined-colors): Use the common-win definitions.
5238         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5239         (ns-handle-iconic): Make it an alias for x-handle-iconic.
5240         * term/common-win.el (x-select-text, x-alternatives-map)
5241         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5242         * loadup.el [ns]: Load common-win.
5244 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
5246         * epa-mail.el (epa-mail-encrypt): Handle local-part only
5247         recipients; expand mail aliases (Bug#7280).
5249 2010-10-25  Glenn Morris  <rgm@gnu.org>
5251         * term/common-win.el (x-handle-switch): Simplify with pop.
5252         Optionally handle numeric switches.
5253         (x-handle-numeric-switch): Just call x-handle-switch.
5254         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5255         (x-handle-name-switch, x-handle-display, x-handle-args):
5256         Simplify with pop.
5258         * term/ns-win.el: Do not require easymenu.
5259         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5260         <spell>: Move adjustments to menu-bar.el.
5261         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5262         <separator-undo, spell>: Move ns-win's adjustments here.
5263         * loadup.el [ns]: Do not load easymenu.
5265 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5267         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5268         Delete (Bug#7222).
5270         * startup.el (fancy-startup-tail): Instead of using inline images,
5271         refer to image files from etc/.
5273         * wid-edit.el (checkbox): Likewise.
5274         (widget-image-find): Center image specs.
5276 2010-10-24  Glenn Morris  <rgm@gnu.org>
5278         * term/ns-win.el (x-select-text): Doc fix.
5279         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5280         (x-select-text): Move to term/common-win.
5281         * term/w32-win.el (xw-defined-colors): Move to common-win.
5282         * term/x-win.el (xw-defined-colors, x-alternatives-map)
5283         (x-setup-function-keys, x-select-text): Move to common-win.
5284         * term/common-win.el (x-select-text, x-alternatives-map)
5285         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5286         definitions here.
5288 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
5290         * net/mairix.el (mairix-searches-mode-map):
5291         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5293 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
5295         * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5296         auto-built for efficiency of execution and updating.
5297         (verilog-extended-complete-re): Support 'pure' fucntion & task
5298         declarations (these have no bodies).
5299         (verilog-beg-of-statement): General cleanup to enable support of
5300         'pure' fucntion & task declarations (these have no bodies).
5301         These efforts together fix Verilog bug210 from veripool; which was also
5302         noticed by Steve Pearlmutter.
5303         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5304         (verilog-directive-nest-re, verilog-set-auto-endcomments):
5305         Support `elsif.  Reported by Shankar Giri.
5306         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5307         attribute handling for lining up declarations and assignments.
5308         (verilog-beg-of-statement-1): Fix issue where continued declaration
5309         is indented differently if it is after a begin..end clock.
5310         (verilog-in-attribute-p, verilog-skip-backward-comments)
5311         (verilog-skip-forward-comment-p): Support proper treatment of
5312         attributes by indent code.  Reported by Jeff Steele.
5313         (verilog-in-directive-p): Fix comment to correctly describe function.
5314         (verilog-backward-up-list, verilog-in-struct-region-p)
5315         (verilog-backward-token, verilog-in-struct-p)
5316         (verilog-in-coverage-p, verilog-do-indent)
5317         (verilog-pretty-declarations): Use verilog-backward-up-list as
5318         wrapper around backward-up-list inorder to properly skip comments.
5319         Reported by David Rogoff.
5320         (verilog-property-re, verilog-endcomment-reason-re)
5321         (verilog-beg-of-statement, verilog-set-auto-endcomments)
5322         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5323         of if).  Reported by Max Bjurling and
5324         (verilog-calc-1): Fix for clocking block in modport
5325         declaration.  Reported by Brian Hunter.
5327 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
5329         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5330         (verilog-gate-keywords, verilog-read-sub-decls)
5331         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5332         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5333         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
5334         (verilog-read-decls): Fix spaces in V2K module parameters causing
5335         mis-identification as interfaces, bug287.
5336         (verilog-read-decls): Fix not treating "parameter string" as a
5337         parameter in AUTOINSTPARAM.
5338         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5339         treating `elsif similar to `endif inside AUTOSENSE.
5340         (verilog-do-indent): Implement correct automatic or static task or
5341         function end comment highlight.  Reported by Steve Pearlmutter.
5342         (verilog-font-lock-keywords-2): Fix highlighting of single
5343         character pins, bug264.  Reported by Michael Laajanen.
5344         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5345         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5346         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5347         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
5348         (verilog-pretty-expr): Fix interactive arguments, bug272.
5349         Reported by Mark Johnson.
5350         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5351         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5352         bug269.  Suggested by Gary Delp.
5353         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5354         (verilog-preprocessor, verilog-set-compile-command):
5355         Create verilog-preprocess and verilog-preprocessor to show
5356         preprocessed output.
5357         (verilog-get-beg-of-line, verilog-get-end-of-line)
5358         (verilog-modi-file-or-buffer, verilog-modi-name)
5359         (verilog-modi-point, verilog-within-string): Move defmacro's
5360         before first use to avoid warning.  Reported by Steve Pearlmutter.
5361         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5362         (verilog-colorize-region, verilog-highlight-buffer)
5363         (verilog-highlight-includes, verilog-highlight-modules)
5364         (verilog-highlight-region, verilog-mode): Rename colorize to
5365         highlight to match other packages.  Disable module highlighting,
5366         as received speed complaints, reenable for experimentation only
5367         using new verilog-highlight-modules.
5368         (verilog-read-decls): Fix regexp stack overflow in very large
5369         AUTO_TEMPLATEs, bug250.
5370         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5371         (verilog-scan): Create verilog-save-buffer-state to standardize
5372         making insignificant changes that shouldn't call hooks.
5373         (verilog-save-no-change-functions, verilog-save-scan-cache)
5374         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5375         Create verilog-save-no-change-functions to wrap verilog-scan
5376         preservation, and fix to work with nested preserved calls.
5377         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5378         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5379         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
5380         (verilog-submit-bug-report): Update variable list to be complete.
5381         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5382         breaking on-the-fly font-locking.
5383         (verilog-colorize-buffer, verilog-colorize-include-files)
5384         (verilog-colorize-include-files-buffer, verilog-colorize-region)
5385         (verilog-load-file-at-mouse, verilog-load-file-at-point)
5386         (verilog-mode, verilog-read-inst-module-matcher): With point on a
5387         AUTOINST cell instance name, middle mouse button now finds-file on
5388         it.  Suggested by Brad Dobbie.
5389         (verilog-alw-get-temps, verilog-auto-reset)
5390         (verilog-auto-sense-sigs, verilog-read-always-signals)
5391         (verilog-read-always-signals-recurse): Fix loop indexes being
5392         AUTORESET.  AUTORESET now assumes any variables in the
5393         initialization section of a for() should be ignored.
5394         Reported by Dan Dever.
5395         (verilog-error-font-lock-keywords)
5396         (verilog-error-regexp-emacs-alist)
5397         (verilog-error-regexp-xemacs-alist): Fix error detection of
5398         Cadence HAL, reported by David Asher.  Repair drift between the
5399         three similar error variables.
5400         (verilog-modi-lookup, verilog-modi-lookup-cache)
5401         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5402         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5403         Fix slow verilog-auto expansion on very large files.
5404         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5405         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5406         "{1*2{...".  Broke in last revision.
5407         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5408         submodule connections with replications "{#{a},#{b}}".
5410 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
5412         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5413         Fix typo in docstring.
5415 2010-10-24  Kenichi Handa  <handa@m17n.org>
5417         * face-remap.el (text-scale-adjust): Call read-event with a proper
5418         prompt.
5420 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5422         * emacs-lisp/unsafep.el: Don't mark functions that display
5423         messages as safe.  Suggested by Johan Bockgård.
5425 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5427         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5428         Turn comments into docstrings.
5430         * minibuffer.el (completion--replace): Move point where it belongs
5431         when there's a common suffix (bug#7215).
5433 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5435         Merge read-color and facemenu-read-color (Bug#7242).
5437         * faces.el (read-color): Use the completion code from
5438         facemenu-read-color.  Require match in completion.  Doc fix.
5440         * facemenu.el (facemenu-read-color): Alias for read-color.
5441         (facemenu-set-foreground, facemenu-set-background):
5442         Use read-color.
5444         * frame.el (set-background-color, set-foreground-color)
5445         (set-cursor-color, set-mouse-color, set-border-color):
5446         Use read-color.
5448 2010-10-24  Leo  <sdl.web@gmail.com>
5450         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5451         argument of delete-file and delete-directory (Bug#7011).
5453 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5455         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5456         button-buffer-map.
5458 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
5460         * emacs-lisp/package.el (package--generate-package-list): Make the
5461         *Packages* buffer read-only.
5463 2010-10-24  Alan Mackenzie  <acm@muc.de>
5465         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5466         result of `c-beginning-of-decl-1' between invocations of a lambda
5467         function (Bug #7265).
5469 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
5471         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5472         executable is not available on the system (Bug#7268).
5474 2010-10-24  Glenn Morris  <rgm@gnu.org>
5476         * select.el (selection-coding-system, next-selection-coding-system):
5477         Sync doc with C versions.
5479         * w32-vars.el (x-select-enable-clipboard):
5480         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5481         * term/common-win.el (x-select-enable-clipboard): Move here.
5483         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5484         definition of C variable.
5486         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5487         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5488         Don't redefine things that are defined in C.
5489         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5490         (show-trailing-whitespace, auto-hscroll-mode)
5491         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5492         Set up the appropriate custom properties.
5494 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5496         Bind "C-c ]" to ...
5497         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5498         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5499         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5500         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5502 2010-10-23  Glenn Morris  <rgm@gnu.org>
5504         * textmodes/flyspell.el (flyspell-mode): If there was an error,
5505         say what it was.
5507         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5508         Sync docs with C version.
5510         * term/ns-win.el (xw-defined-colors):
5511         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5513         * term/pc-win.el (x-select-enable-clipboard):
5514         * term/x-win.el (x-select-enable-clipboard):
5515         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5517         * comint.el (comint-password-prompt-regexp): Make it less vague.
5518         Bump version.
5520         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5522         * help.el (finder-by-keyword): Remove unnecessary autoload.
5524 2010-10-22  Glenn Morris  <rgm@gnu.org>
5526         * loadup.el: Unconditionally load float-sup.
5527         * paren.el (show-paren-delay):
5528         * emacs-lisp/float-sup.el:
5529         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5530         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5531         (lazy-lock-stealth-verbose): Assume float support.
5532         * ps-print.el: Assume float support on Emacs.
5533         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5534         Remove non-float branch.
5536         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5537         src/Makefile no longer being pre-processed.
5539 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5541         * emacs-lisp/find-func.el (find-library): Use test-completion.
5543 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5545         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5547 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
5549         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5550         space in stat format string.
5551         (tramp-send-command): Unset $PS1 when using here documents, in
5552         order not to get several prompts.
5553         (tramp-get-inline-coding): Return `nil' in case of errors.
5555 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
5557         * hexl.el (hexl-mode, hexl-mode-exit):
5558         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5559         (hexl-revert-buffer-function): New function.
5560         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5562 2010-10-19  Alan Mackenzie  <acm@muc.de>
5564         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5565         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5566         that these keywords aren't wrongly matched as identifiers.
5568         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5569         setting of c-new-BEG and c-new-END from c-before-change to
5570         c-after-change.  (Bug#7181)
5572 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5574         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5575         Don't mark as safe.
5577         * custom.el (custom-theme-set-variables): Likewise.
5578         (load-theme): Add custom-theme-set-faces and
5579         custom-theme-set-variables to safe-functions while loading.
5580         (custom-enabled-themes): Mark as risky.
5582 2010-10-18  Julien Danjou  <julien@danjou.info>
5584         * bindings.el: Remove end dashes in default mode-line-format.
5586 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5588         * bindings.el (global-map): Bind C-d to delete-char and deletechar
5589         to delete-forward-char.
5591         * simple.el (normal-erase-is-backspace-mode): Remap delete to
5592         deletechar, and hence delete-forward-char.
5594 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5596         * repeat.el (repeat): Use read-key (bug#6256).
5598 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5600         * emacs-lisp/unsafep.el: Don't mark functions that display
5601         messages as safe.  Suggested by Johan Bockgård.
5603 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5605         * minibuffer.el (completion--replace): Move point where it belongs
5606         when there's a common suffix (bug#7215).
5608 2010-10-19  Kenichi Handa  <handa@m17n.org>
5610         * international/characters.el: Add category '|' (word breakable)
5611         to fullwidth characters.
5613 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
5615         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5616         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5617         order to make stat results a float.  Patch by Andreas Schwab
5618         <schwab@linux-m68k.org>.
5620 2010-10-18  Julien Danjou  <julien@danjou.info>
5622         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5623         hidden by `make-pointer-invisible'.
5625 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5627         * files.el (locate-file-completion-table): Strip non-matching elements
5628         before checking length of list (bug#7238).
5630 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
5632         * custom.el (custom-theme-set-variables): Mark as a safe function.
5633         (load-theme): Check forms using unsafep.
5635         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5637 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
5639         * textmodes/ispell.el (ispell-aspell-find-dictionary):
5640         Fix aspell data file searching (bug#7230).
5642 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5644         * cus-theme.el (custom-theme--migrate-settings): New var.
5645         (customize-create-theme): Allow editing the `user' theme.
5646         (custom-theme-add-variable, custom-theme-add-var-1)
5647         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5648         to the front of each variable or face widget.
5649         (custom-theme-write): Save theme settings in the correct order.
5650         Optionally, remove saved settings from user customizations.
5651         (custom-theme-write-variables, custom-theme-write-faces):
5652         Save only the checked widgets.
5653         (customize-themes): Add a link for migrating custom settings.
5655         * custom.el (custom-declare-theme, provide-theme):
5656         Use custom-theme-name-valid-p.
5657         (custom-theme-name-valid-p): Remove checks that are now
5658         unnecessary since themes no longer obey load-path.
5660         * cus-edit.el (custom-variable-value-create): For the simple
5661         style, hide documentation string when hidden.
5663 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5665         * cus-edit.el (custom-variable, custom-face): Combine the
5666         :inhibit-magic and :display-style properties into a single
5667         :custom-style property.
5668         (custom-toggle-hide-variable, custom-toggle-hide-face):
5669         New functions.  If hiding an edited value, save it to :shown-value.
5670         (custom-variable-value-create, custom-face-value-create): Use them.
5671         (custom-magic-reset): Allow magic property to be unset.
5673         * custom.el: Custom themes no longer use load-path.
5674         (custom-theme-load-path): New option.  Change built-in theme
5675         directory to etc/.
5676         (custom-enabled-themes): Add custom-theme-load-path dependency.
5677         (custom-theme--load-path): New function.
5678         (load-theme, custom-available-themes): Use it.
5680         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5681         (customize-themes): Link to custom-theme-load-path variable.
5682         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5683         :custom-style property.
5685         * themes/*.el: Moved to etc/.
5687 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
5689         * textmodes/reftex-cite.el
5690         (reftex-extract-bib-entries-from-thebibliography): Do not move
5691         point when searching for \bibitem entries.  Match entries with
5692         spaces or tabs in front of arguments.
5694 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5696         * cus-theme.el (customize-create-theme): Delete overlays after
5697         erasing.  If given a THEME arg, display only the faces of that arg
5698         instead of custom-theme--listed-faces.
5699         (custom-theme-variable-menu, custom-theme-variable-action)
5700         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5701         (custom-theme-add-variable, custom-theme-add-face): Apply value
5702         from the theme settings, instead of the current value.
5703         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5704         (custom-theme-visit-theme): Allow calling outside theme buffers.
5705         (custom-theme-merge-theme): Don't enable the theme when merging.
5706         (custom-theme-write-variables, custom-theme-write-faces): Use the
5707         :shown-value properties to save buffer values, not global ones.
5708         (customize-themes): Display a warning about user customizations.
5710         * cus-edit.el (custom-variable-value-create)
5711         (custom-face-value-create): Obey new special properties
5712         :shown-value and :inhibit-magic.
5714 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
5716         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5717         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
5718         <dale@codefu.org>.
5720 2010-10-14  Kenichi Handa  <handa@m17n.org>
5722         * mail/rmail.el (rmail-show-message-1): Catch an error of
5723         base64-decode-region and just show an error message (bug#7165).
5725         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
5726         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5727         a font-spec (bug#7197).
5729 2010-10-14  Glenn Morris  <rgm@gnu.org>
5731         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5733 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
5735         * international/mule.el (define-coding-system):
5736         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5737         * composite.el (compose-region): Fix typo in docstring.
5739 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
5741         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5742         only after checking the theme-face property.
5744         * faces.el (face-spec-reset-face): Reset all attributes in one
5745         single call to set-face-attribute.
5746         (face-spec-match-p): Make it a defsubst.
5747         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5748         (x-create-frame-with-faces, tty-create-frame-with-faces)
5749         (tty-set-up-initial-frame-faces): Don't recompute face specs in
5750         frame-set-background-mode, since they are recomputed immediately
5751         afterwards in face-set-after-frame-default.
5752         (face-set-after-frame-default): Minor optimization.
5753         (cursor): Provide non-trivial defface spec.
5755         * custom.el (custom-theme-recalc-face): Simplify.
5757 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
5759         * calc/calc-alg.el (math-var): Rename from `var'.
5760         (math-is-polynomial, math-is-poly-rec): Replace `var'
5761         with `math-var'.
5763         * calc/calcalg2.el (math-var): Rename from `var'.
5764         (calcFunc-table, math-scan-for-limits): Replace `var'
5765         with `math-var'.
5767 2010-10-13  Glenn Morris  <rgm@gnu.org>
5769         * subr.el (last): Deal with dotted lists (reported in bug#7174).
5771 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
5773         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5775 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5777         * net/tls.el (tls-program): Remove spurious %s from openssl.
5778         (tls-starttls-switches): Remove starttls hack.
5779         (open-tls-stream): Ditto.
5780         (tls-find-starttls-argument): Ditto.
5782 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
5784         * image.el (image-library-alist): Declare as obsolete alias.
5785         (image-type-available-p): Use `dynamic-library-alist'.
5787         * term/w32-win.el (dynamic-library-alist):
5788         Use instead of `image-library-alist'.
5790 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
5792         * subr.el (last): Make it faster.  (Bug#7174)
5794 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
5796         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
5798 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5800         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5801         (describe-theme-1): Extract doc from unloaded themes.
5803         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5805         * themes/tango-theme.el:
5806         * themes/tango-dark-theme.el:
5807         * themes/wheatgrass-theme.el: New files.
5809 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5811         * cus-theme.el (describe-theme, customize-themes)
5812         (custom-theme-save): New commands.
5813         (custom-new-theme-mode-map): Bind C-x C-s.
5814         (custom-new-theme-mode): Use custom--initialize-widget-variables.
5815         (customize-create-theme): New optional arg THEME.
5816         (custom-theme-revert): Use it.
5817         (custom-theme-visit-theme): Remove dead code.
5818         (custom-theme-merge-theme): Use custom-available-themes.
5819         (custom-theme-write): Make interactive.
5820         (custom-theme-write): Use custom-theme-name-valid-p.
5821         (describe-theme-1, custom-theme-choose-revert)
5822         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5823         New funs.
5824         (custom-theme-allow-multiple-selections): New option.
5825         (custom-theme-choose-mode): New major mode.
5827         * custom.el (custom-theme-set-variables): Remove dead code.
5828         Obey custom--inhibit-theme-enable.
5829         (custom--inhibit-theme-enable): New var.
5830         (provide-theme): Obey it.
5831         (load-theme): Replace load with manual read/eval, in order to
5832         check for correctness.  Use custom-theme-name-valid-p.
5833         (custom-theme-name-valid-p): New function.
5834         (custom-available-themes): Use it.
5836         * cus-edit.el (custom--initialize-widget-variables): New function.
5837         (Custom-mode): Use it.
5839         * cus-face.el (custom-theme-set-faces): Remove dead code.
5840         Obey custom--inhibit-theme-enable.
5842         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5844 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
5846         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5848 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
5850         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5851         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5852         (mac-right-option-modifier): New alias for ns-right-option-modifier.
5854         * cus-start.el (all): ns-right-alternate-modifier is new.
5856 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5858         * emacs-lisp/lisp.el (lisp-completion-at-point):
5859         Use emacs-lisp-mode-syntax-table for the whole function.
5861 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
5863         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5864         instead of font-lock-mode before adding keywords.
5865         Remove hi-lock-mode off code.  Remove inhibit hack.
5866         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5867         non-nil; removed hook inhibit hack.
5869 2010-10-12  Glenn Morris  <rgm@gnu.org>
5871         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5872         (load-path-shadows-find): ... to this.
5873         (list-load-path-shadows): Update for above change.
5875         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5877 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
5879         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5880         Fix comment for declare-function.
5882 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
5884         * custom.el (custom-fix-face-spec): New function; code moved from
5885         custom-face-edit-fix-value.
5886         (custom-push-theme): Use it when checking if a face has been
5887         changed outside customize.
5888         (custom-available-themes): New function.
5889         (load-theme): Use it.
5891         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5893         * custom.el (custom-push-theme): Cleanup (use cond).
5894         (disable-theme): Recompute the saved-face property.
5895         (custom-theme-recalc-face): Follow face alias before setting prop.
5897         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5898         New variables, containing checkbox images.
5900         * startup.el (fancy-startup-tail):
5901         * wid-edit.el (checkbox): Use them.
5903 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
5905         * shell.el (shell-mode-map):
5906         * progmodes/modula2.el (m2-mode-map):
5907         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5908         * play/mpuz.el (mpuz-mode-map):
5909         * play/landmark.el (lm-mode-map):
5910         * play/decipher.el (decipher-mode-map):
5911         * play/5x5.el (5x5-mode-map):
5912         * net/telnet.el (telnet-mode-map):
5913         * net/quickurl.el (quickurl-list-mode-map):
5914         * net/mairix.el (mairix-searches-mode-map):
5915         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5916         * net/dig.el (dig-mode-map):
5917         * mail/mspools.el (mspools-mode-map):
5918         * hexl.el (hexl-mode-map):
5919         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5920         (wordstar-C-o-map, wordstar-C-q-map):
5921         * emacs-lisp/edebug.el (edebug-eval-mode-map):
5922         * emacs-lisp/chart.el (chart-map):
5923         * edmacro.el (edmacro-mode-map):
5924         * erc/erc-list.el (erc-list-menu-mode-map):
5925         * array.el (array-mode-map): Declare and define in one step.
5927         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5929 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
5931         * epa.el (epa-passphrase-callback-function): Display filename
5932         passed as the 3rd arg.
5933         * epa-file.el (epa-file-passphrase-callback-function):
5934         Pass filename to epa-passphrase-callback-function.
5936 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
5938         * cus-edit.el (custom-face-widget-to-spec)
5939         (custom-face-get-current-spec, custom-face-state): New functions.
5940         (custom-face-set, custom-face-mark-to-save)
5941         (custom-face-value-create, custom-face-state-set): Use them.
5943         * cus-theme.el (custom-theme--listed-faces): New var.
5944         (customize-create-theme): Use *Custom Theme* as the buffer name.
5945         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
5946         faces listed in custom-theme--listed-faces.
5947         (custom-theme-revert): New function.
5948         (custom-theme-add-variable, custom-theme-add-face): Insert at the
5949         bottom of the list.
5950         (custom-theme-write): Prompt for theme name if empty.
5951         (custom-theme-write-variables): Use dolist.
5952         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5954 2010-10-09  Alan Mackenzie  <acm@muc.de>
5956         Enhance fontification of declarators to take account of the
5957         presence/absence of "typedef".
5959         * cc-engine.el (c-forward-type): New &optional param
5960         "brace-block-too".
5961         (c-forward-decl-or-cast-1): cdr of return value now indicates the
5962         presence of either or both of a "struct"-like keyword and "typedef".
5964         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5965         fontification of declarators which follow a "}".
5966         (c-font-lock-declarations): Fontify declarators according to the
5967         presence/absence of "typedef".
5969         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5970         for "typedef".
5971         (c-typedef-decl-key): New lang variable built from
5972         c-typedef-decl-kwds.
5974 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5976         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5977         since that's too annoying.  Move the filter groups commands to
5978         TAB/backtab.
5980         * epa.el (epa-passphrase-callback-function): Say what we're
5981         querying the password for.
5983         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5984         behaviour, don't bury the ibuffer buffer when visiting other buffers.
5986 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5988         * cus-edit.el (custom-commands, custom-buffer-create-internal)
5989         (custom-magic-value-create): Pad button tags with spaces.
5990         (custom-face-edit): New variable.
5991         (custom-face-value-create): Determine whether to use the usual
5992         face editor here, instead of using custom-face-selected.
5993         Pass face defaults to custom-face-edit widget.
5994         (custom-face-selected, custom-display-unselected): Delete widgets.
5995         (custom-display-unselected-match): Function removed.
5996         (custom-face-set, custom-face-mark-to-save):
5997         Accept custom-face-edit widgets as the direct widget child.
5999         * wid-edit.el (widget--completing-widget): New var.
6000         (widget-default-complete): Bind it when doing completion.
6001         (widget-string-complete, widget-file-complete): Use it.
6003 2010-10-09  Glenn Morris  <rgm@gnu.org>
6005         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6006         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6007         (holiday-hebrew-misc): Small simplifications.
6009         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6011         * net/browse-url.el: Don't require thingatpt, term, dired,
6012         executable, or w3-auto when compiling.
6013         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6014         Declare.
6015         (browse-url-text-emacs): Require term.
6017 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
6019         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6021 2010-10-08  Glenn Morris  <rgm@gnu.org>
6023         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6025         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6026         (shadows-compare-text-p): Make it an obsolete alias for...
6027         (load-path-shadows-compare-text): ... new name.
6028         (find-emacs-lisp-shadows): Update for above name change.
6029         (load-path-shadows-same-file-or-nonexistent): New name for the old
6030         shadow-same-file-or-nonexistent.
6032 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
6034         * minibuffer.el (completion--some, completion--do-completion)
6035         (minibuffer-complete-and-exit, minibuffer-completion-help)
6036         (completion-basic-try-completion)
6037         (completion-basic-all-completions)
6038         (completion-pcm--find-all-completions): Use lexical-let to
6039         avoid some false matches in variable completion (Bug#7056)
6041 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
6043         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
6045 2010-10-08  Leo  <sdl.web@gmail.com>
6047         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6048         return non-nil if the file exists (Bug#7090).
6050 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6052         * minibuffer.el (completion--replace):
6053         Better preserve markers (bug#7138).
6055 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
6057         * server.el (server-process-filter): Doc fix.
6059 2010-10-08  Drew Adams  <drew.adams@oracle.com>
6061         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
6063 2010-10-08  Glenn Morris  <rgm@gnu.org>
6065         * vc/ediff-wind.el (ediff-setup-control-frame):
6066         * vc/ediff-ptch.el (ediff-default-backup-extension):
6067         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6068         (ediff-exec-process): Remove system-types emx, windows-95.
6070         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
6072 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
6074         * cus-edit.el (custom-variable, custom-face): Doc fix.
6075         (custom-face-edit): Add value-create attribute.
6076         (custom-face-edit-value-create)
6077         (custom-face-edit-value-visibility-action): New functions.
6078         Hide unused face attributes by default, and add a visibility toggle.
6079         (custom-face-edit-deactivate): Show empty values with shadow face.
6080         (custom-face-selected): Only use this for face specs with default
6081         attributes.
6082         (custom-face-value-create): Cleanup.
6084         * wid-edit.el (widget-checklist-value-create): Use dolist.
6085         (widget-checklist-match-find): Make second arg optional.
6087 2010-10-07  Glenn Morris  <rgm@gnu.org>
6089         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6090         Prefix things.
6092         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6093         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6094         load-path-shadows-mode, update references.
6095         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6096         Rename variable and button.
6097         (list-load-path-shadows): Update button caller.
6099 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6101         * emacs-lisp/smie.el (smie-bnf-classify): New function.
6102         (smie-bnf-precedence-table): Use it to remember the closers/openers.
6103         (smie-merge-prec2s): Handle those new entries.
6104         (smie-prec2-levels): Only set precedence to nil for actual
6105         openers/closers.
6106         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6107         that is now unnecessary.
6109 2010-10-07  Miles Bader  <miles@gnu.org>
6111         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6113 2010-10-07  Glenn Morris  <rgm@gnu.org>
6115         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6116         (mail-position-on-field): Remove declarations.
6117         (mail-position-on-field): Autoload it.
6118         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6119         and mail-header-end.  Don't require sendmail.
6121         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6122         (shadow-mode): New mode.
6123         (shadow-find-file): New button.
6124         (list-load-path-shadows): Use shadow-mode and buttons.
6126         * iimage.el (iimage-version): Remove.
6127         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6128         Turn into defcustoms.
6129         (iimage-mode-map): Give it a doc string.
6131         * calendar/appt.el (appt-activate): Give a warning rather than an error
6132         if there is no diary-file.
6134 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
6136         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6137         Use `tramp-handle-find-backup-file-name'.
6139 2010-10-06  Glenn Morris  <rgm@gnu.org>
6141         * font-core.el (font-lock-defaults-alist): Remove variable.
6142         (font-lock-mode): Doc fix.
6143         (font-lock-default-function): Do not consult font-lock-defaults-alist.
6144         * font-lock.el (font-lock-refresh-defaults): Doc fix.
6145         (font-lock-set-defaults): Doc fix.
6146         Do not consult font-lock-defaults-alist.
6148         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6150         * emacs-lisp/cl.el: No longer provide cl-19.
6152 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
6154         * net/tramp.el (tramp-handle-directory-files-and-attributes)
6155         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6156         New defuns, taken from tramp-smb.el.
6157         (tramp-coding-system-change-eol-conversion)
6158         (tramp-set-process-query-on-exit-flag): Remove.
6160         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6161         (tramp-compat-coding-system-change-eol-conversion)
6162         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6163         from tramp.el.
6165         * net/tramp-gvfs.el:
6166         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6167         by `tramp-compat-set-process-query-on-exit-flag'.
6169         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6170         Use `tramp-handle-directory-files-and-attributes',
6171         `tramp-handle-file-exists-p' and
6172         `tramp-handle-file-newer-than-file-p'.
6173         (tramp-imap-handle-file-exists-p)
6174         (tramp-imap-handle-file-executable-p)
6175         (tramp-imap-handle-file-readable-p)
6176         (tramp-imap-handle-directory-files-and-attributes)
6177         (tramp-imap-handle-file-newer-than-file-p): Remove.
6179         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6180         by `tramp-compat-set-process-query-on-exit-flag' and
6181         `tramp-coding-system-change-eol-conversion' by
6182         `tramp-compat-coding-system-change-eol-conversion'.
6184         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6185         Use `tramp-handle-directory-files-and-attributes',
6186         `tramp-handle-file-exists-p' and
6187         `tramp-handle-file-newer-than-file-p'.
6188         (tramp-smb-handle-directory-files-and-attributes)
6189         (tramp-smb-handle-file-exists-p)
6190         (tramp-smb-handle-file-newer-than-file-p): Remove.
6191         (tramp-smb-maybe-open-connection):
6192         Replace `tramp-set-process-query-on-exit-flag' by
6193         `tramp-compat-set-process-query-on-exit-flag'.
6195 2010-10-05  Glenn Morris  <rgm@gnu.org>
6197         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6199 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
6201         Continue reorganization of load dependencies.  (Bug#7156)
6203         * net/tramp.el (tramp-handle-file-local-copy-hook)
6204         (tramp-delete-temp-file-function): Move down.
6205         (tramp-exists-file-name-handler): Move up.
6206         (tramp-register-file-name-handlers): Simplify autoload.
6207         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6208         (tramp-handle-directory-files, tramp-handle-dired-uncache)
6209         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6210         (tramp-handle-file-name-completion)
6211         (tramp-handle-file-name-directory)
6212         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6213         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6214         (tramp-handle-find-backup-file-name)
6215         (tramp-handle-insert-file-contents, tramp-handle-load)
6216         (tramp-handle-substitute-in-file-name)
6217         (tramp-handle-unhandled-file-name-directory)
6218         (tramp-mode-string-to-int, tramp-local-host-p)
6219         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6221         * net/tramp-gvfs.el (top):
6222         * net/tramp-smb.el (top): Do not require 'tramp-sh.
6224         * net/tramp-sh.el (all): Move several objects to tramp.el, see
6225         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6227 2010-10-04  Glenn Morris  <rgm@gnu.org>
6229         * calendar/appt.el (appt-add): Ensure reminders are enabled.
6230         (appt-activate): Give status messages.
6232 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6234         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
6235         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6236         `gnutls-negotiate' (formerly `starttls-negotiate').
6237         Remove trivial wrapper `starttls-open-stream'.
6239 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
6241         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6242         log-outgoing commands.
6243         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6244         to create a buffer local revert-buffer-function variable.
6245         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6246         revert-buffer-function lambda.
6248 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6250         * net/gnutls.el (starttls-negotiate): Use the plist interface to
6251         `gnutls-boot'.  Make TYPE the only required parameter.
6252         Allow TRUSTFILES and KEYFILES to be lists.
6253         (open-ssl-stream): Use it.
6255 2010-10-03  Glenn Morris  <rgm@gnu.org>
6257         * subr.el (directory-sep-char): Remove obsolete variable.
6258         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6259         it is "necessary".
6261         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6262         * vc/vc.el (vc-static-header-alist): Doc fix.
6263         * vc/vc-cvs.el (vc-cvs-header):
6264         * vc/vc-rcs.el (vc-rcs-header):
6265         * vc/vc-sccs.el (vc-sccs-header):
6266         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6267         * obsolete/vc-mcvs.el (vc-mcvs-header):
6268         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6269         on XEmacs.
6271 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6273         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6274         Remove obsolete use of binary-overwrite-mode (Bug#7001).
6276 2010-10-03  Glenn Morris  <rgm@gnu.org>
6278         * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6280         * textmodes/rst.el (rst-font-lock-keywords-function):
6281         Drop Emacs 20 code.
6283         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6285         * printing.el: Drop Emacs 20 code.
6287         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6288         without having used appt.el already).
6290         * subr.el (make-local-hook): Remove function obsolete since 21.1.
6291         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6292         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6293         XEmacs.
6294         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6295         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6297         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6298         (charset-width, find-charset-region, chars-in-region, forward-point)
6299         (encode-coding-string, coding-system-p, ccl-execute-on-string)
6300         (define-ccl-program, multibyte-string-p, string-make-multibyte):
6301         Remove compatibility cruft (none of these are used by ps*.el).
6303 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
6305         * subr.el (booleanp): Return t instead of a list (Bug#7086).
6307 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6309         * server.el (server-process-filter, server-return-error):
6310         Give emacsclient time to shut down after receiving an error string.
6312 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
6314         * files.el (remote-file-name-inhibit-cache): New defcustom.
6316         * time.el (display-time-file-nonempty-p):
6317         Use `remote-file-name-inhibit-cache'.
6319         * net/tramp.el (tramp-completion-reread-directory-timeout):
6320         Fix docstring.
6322         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6323         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6324         `remote-file-name-inhibit-cache'.  Check also for an integer
6325         value.  Add/increase counter when `tramp-verbose' >= 10.
6326         (tramp-set-file-property): Add/increase counter when
6327         `tramp-verbose' >= 10.
6329         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6330         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6331         (tramp-bug): Set tramp-autoload cookie.  Report all interned
6332         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
6333         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
6334         characters only in strings.
6336         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6337         to backward compatibility.
6339         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6340         (tramp-handle-file-name-all-completions)
6341         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6342         (tramp-open-connection-setup-interactive-shell):
6343         Call `tramp-cleanup-connection' directly.
6345 2010-10-02  Glenn Morris  <rgm@gnu.org>
6347         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6349         * subr.el (char-bytes): Remove obsolete function.
6351         * isearch.el (isearch-return-char): Remove obsolete function.
6353         * mouse.el: No longer provide mldrag.
6354         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6355         Remove obsolete aliases.
6357         * comint.el (comint-kill-output): Remove obsolete alias.
6359         * composite.el (decompose-composite-char): Remove obsolete function.
6360         * ps-def.el (decompose-composite-char): Remove unused function.
6362         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6364         * outline.el (outline-visible): Remove obsolete function.
6366         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6367         * faces.el (internal-find-face, internal-get-face)
6368         (frame-update-faces, frame-update-face-colors)
6369         (x-frob-font-weight, x-frob-font-slant)
6370         (internal-frob-font-weight, internal-frob-font-slant)
6371         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6372         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6373         (x-make-font-bold-italic): Remove functions and aliases, obsolete
6374         since Emacs 21.1.
6375         * emulation/viper-util.el (viper-get-face):
6376         * obsolete/lucid.el (find-face, get-face): Use facep.
6377         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6378         Remove unused functions.
6379         * vc/ediff-util.el (ediff-submit-report): Doc fix.
6381         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6382         delete tempfile if interrupted during compilation.
6384 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6386         * net/tls.el (tls-starttls-switches): Give up on using starttls with
6387         gnutls-cli.
6388         (tls-program): Add --insecure to be consistent with the defaults from
6389         openssl s_client.  Now all three commands are insecure.
6391 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
6393         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6394         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6395         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6397 2010-10-01  Glenn Morris  <rgm@gnu.org>
6399         * obsolete/sc.el: Remove file.
6401         * files.el (temporary-file-directory): On darwin, also try
6402         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6404 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
6406         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6407         Let's not break compatibility gratuitously, shall we?
6409 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6411         * net/tls.el (tls-starttls-switches): New variable.
6412         (tls-find-starttls-argument): Use it.
6413         (open-tls-stream): Ditto.
6415         * net/netrc.el (netrc-credentials): Return the value of the "default"
6416         entry.
6417         (netrc-machine): Ditto.
6419 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
6421         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6423 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
6425         * server.el (server-start): Don't write pid to the authentication file.
6426         (server-create-tty-frame): Don't send pid.
6427         (server-process-filter): Send pid at the start of every connection.
6429 2010-09-30  Glenn Morris  <rgm@gnu.org>
6431         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6432         (show-all-diary-entries): Remove obsolete function aliases.
6434         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6435         Remove options, obsolete since 22.1.
6436         (appt-display-format, appt-display-message):
6437         Remove backwards-compatibility code.
6438         (appt-check): No longer check appt-issue-message.
6439         (appt-make-list): No longer autoload it.  Doc fix.  No longer
6440         activate the package.
6442 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6444         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6445         (starttls-negotiate): Just call boot, and let the handshake be
6446         triggered from the read loop.
6448 2010-09-29  Glenn Morris  <rgm@gnu.org>
6450         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6451         not displaying the diary.
6452         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6453         * calendar/appt.el (appt-check): No longer need to kill diary.
6455         * calendar/diary-lib.el (diary-list-entries): Move the
6456         "Preparing..." message entirely here.
6457         (diary-simple-display, diary-fancy-display): Move "Preparing..."
6458         messages to diary-list-entries.
6459         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6460         diary-display-function.
6462         * calendar/diary-lib.el (diary-include-other-diary-files):
6463         Trap some recursive includes.
6465         * calendar/appt.el (appt-activate): Check diary file.
6467 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
6469         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6470         construction.
6472         * calendar/time-date.el: No need to require cl for Emacs 21.
6474 2010-09-28  Glenn Morris  <rgm@gnu.org>
6476         * calendar/appt.el (appt-check): Minor simplification.
6478 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
6480         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6481         citation prefix.
6483 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
6485         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6486         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
6488 2010-09-27  Kenichi Handa  <handa@m17n.org>
6490         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6491         "ustar" format.
6493 2010-09-27  Kenichi Handa  <handa@m17n.org>
6495         * international/mule.el (define-coding-system): Docstring fixed.
6497         * international/mule-diag.el (describe-character-set): Use princ
6498         with proper print-length and print-level instead of insert.
6500 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
6502         * window.el (walk-windows): Doc fix (bug#7105).
6504 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6506         * emacs-lisp/float-sup.el (e): Remove.
6508 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
6510         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6511         variable.
6512         (starttls-negotiate): Use it.
6514 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6516         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6517         back.
6519 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6521         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6523 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6525         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6527         * net/netrc.el (netrc-store-data): New function.
6529 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
6531         * net/gnutls.el: GnuTLS glue code to set up a connection.
6533 2010-09-25  Julien Danjou  <julien@danjou.info>
6535         * notifications.el: Call dbus-register-signal only if it is bound.
6537 2010-09-25  Glenn Morris  <rgm@gnu.org>
6539         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6540         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6541         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6542         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6543         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6544         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6545         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6546         * eshell/esh-util.el, eshell/esh-var.el:
6547         Remove leading `*' from docs of faces and defcustoms.
6549 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
6551         * eshell/em-ls.el (eshell-ls-archive-regexp):
6552         * eshell/esh-util.el (eshell-tar-regexp):
6553         * ibuffer.el (ibuffer-compressed-file-name-regexp):
6554         * info.el (Info-suffix-list):
6555         * international/mule.el (auto-coding-alist):
6556         * woman.el (woman-file-regexp, woman-file-compression-regexp):
6557         * progmodes/etags.el (tags-compression-info-list):
6558         Support xz compression.
6560 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
6562         * files.el (get-free-disk-space): Don't assume the "df" output
6563         columns line up (Bug#6995).
6565 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6567         * finder.el (finder-unknown-keywords):
6568         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6569         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6571 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6573         * server.el (server-start): Revert part of 2010-08-08 change.  Using
6574         address 127.0.0.1 for local host is now done in Fmake_network_process.
6576 2010-09-24  Glenn Morris  <rgm@gnu.org>
6578         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6579         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6580         * textmodes/css-mode.el, textmodes/dns-mode.el:
6581         Move autoloaded auto-mode-alist entries to files.el.
6582         * files.el (auto-mode-alist): Move entries here.
6584 2010-09-23  Glenn Morris  <rgm@gnu.org>
6586         * isearch.el (isearch-lazy-highlight-cleanup)
6587         (isearch-lazy-highlight-initial-delay)
6588         (isearch-lazy-highlight-interval)
6589         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6590         * net/net-utils.el (ipconfig-program-options):
6591         Move aliases to options before the associated definitions.
6593 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6595         * newcomment.el (comment-normalize-vars): Better test validity of
6596         comment-end-skip.
6598 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6600         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6601         (float-e): New name for `e'.
6602         (degrees-to-radians, radians-to-degrees):
6603         * calendar/solar.el (solar-longitude):
6604         * calculator.el (calculator-registers, calculator-funcall):
6605         * textmodes/artist.el (artist-spray-random-points):
6606         * play/bubbles.el (bubbles--initialize-images): Use new names.
6608 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
6610         Update to CEDET 1.0's version of EIEIO.
6612         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6613         New function.
6614         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6615         (eieio-default-eval-maybe): Eval val instead of unquoting only.
6616         (class-precedence-list): If class is nil, return nil.
6617         (eieio-generic-call): If class of first input arg is nil, don't
6618         look up static methods, and do check for primary methods.
6619         (initialize-instance): See if the default needs to be evaluated
6620         during the constructor.
6621         (eieio-perform-slot-validation-for-default): Don't do the check
6622         for values that will eventually be evaluated.
6623         (eieio-eval-default-p): New function.
6624         (eieio-default-eval-maybe): Use it.
6626 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6628         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6629         method-invocation-order.
6630         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6631         (eieio-class-precedence-dfs): Compute class precedence list using
6632         dfs algorithm.
6633         (eieio-class-precedence-bfs): Compute class precedence list using
6634         bfs algorithm.
6635         (eieio-class-precedence-c3): Compute class precedence list using
6636         c3 algorithm.
6637         (class-precedence-list): New function.
6638         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6639         (inconsistent-class-hierarchy): New error symbol.
6640         (call-next-method): Stow the replacement argument list for future
6641         call-next-method invocations.
6643 2010-09-23  Glenn Morris  <rgm@gnu.org>
6645         * calendar/appt.el (appt-check): If not displaying the diary,
6646         use (diary 1) to only get the entries we need.
6647         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6648         that it is in day order.  (Bug#7019)
6650         * calendar/appt.el (appt-check): Rather than showing the diary,
6651         just turn off invisible display, and only if needed.
6653         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
6655 2010-09-23  Glenn Morris  <rgm@gnu.org>
6657         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6658         (byte-compile-defvar, byte-compile-cl-warn):
6659         Start warnings with lower-case, like the majority.
6661         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6663         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
6665         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6666         * files.el (auto-mode-alist): Move ld-script entries here, further down
6667         the list.
6669         * vc/add-log.el: Don't require timezone when compiling.
6670         (timezone-make-date-sortable): Autoload it.
6671         (change-log-sortable-date-at): Don't require timezone.
6672         Use `ignore-errors'.
6674         * comint.el (comint-use-prompt-regexp-instead-of-fields):
6675         Move alias before definition, so it does not need autoloading.
6677         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6678         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6679         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6680         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6681         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6682         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6683         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6684         * textmodes/tex-mode.el, textmodes/two-column.el:
6685         Remove leading `*' from docs of defcustoms etc.
6687 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
6689         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6691 2010-09-22  Dan Christensen  <jdc@uwo.ca>
6693         * calendar/time-date.el (date-to-time): Try using parse-time-string
6694         first before using the slower timezone-make-date-arpa-standard.
6696 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
6698         * calendar/time-date.el (format-seconds): Comment fix.
6700 2010-09-22  Glenn Morris  <rgm@gnu.org>
6702         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6703         is not automatically buffer-local.
6705 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6707         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6708         (smie-indent-comment): Be more careful with comment-start-skip.
6709         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6710         (smie-indent-functions): Use them.
6712 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
6714         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6716 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
6718         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6719         tool-bar-position.  Don't modify frame parameters here.
6720         (menu-bar-options-save): Add tool-bar-position.
6722         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6724 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6726         * textmodes/reftex-parse.el (reftex-what-macro)
6727         (reftex-context-substring): Let-bind forward-sexp-function to nil
6728         since we don't need/want to treat \begin...\end as a block (bug#7053).
6730         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6732         * simple.el (blink-matching-open): Use syntax-class.
6734         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6735         Set invisibility spec for pascal's outline mode.
6736         (pascal-outline-change): Clean up calling convention.
6737         (pascal-show-all, pascal-hide-other-defuns): Update callers.
6739         * progmodes/prolog.el (prolog-smie-forward-token)
6740         (prolog-smie-backward-token): New functions.
6741         (prolog-mode-variables): Use them to parse "!," correctly.
6742         Set up smie-blink-matching for ".".
6744         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6745         and `end'.
6746         (ispell-region, ispell-process-line): Update users.
6748         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6749         point-min==1.
6751         * textmodes/ispell.el: Fix commenting convention.
6752         (ispell-parse-output): Simplify, use push.
6753         (ispell-region): Use match-string-no-properties.
6754         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6755         (ispell-minor-mode): Use define-minor-mode.
6756         (ispell-message): Remove unused var `skip-regexp'.
6757         (ispell-add-per-file-word-list): Use dynamic let-binding.
6758         Try and use the proper comment marker.
6760         * mail/sendmail.el: Fix commenting convention.
6761         (sendmail-send-it): Use line-beginning-position.
6763         * help-fns.el (describe-variable): Add original value, if applicable.
6765 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
6767         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6769         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6771 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6773         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6774         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6775         (smie-prec2-levels): Use them to better diagnose precedence cycles.
6776         (smie-blink-matching-check): Don't signal a mismatch if car is t.
6777         (smie-blink-matching-open): Rewrite to remove assumptions, so that
6778         something like "." can also be a closer.
6779         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6780         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6781         Rename internal functions to use "--".  Update callers.
6783         * frame.el (make-frame-names-alist): Don't list frames on other displays.
6785         * fringe.el (fringe-styles): New var.
6786         (fringe-mode, fringe-query-style): Use it.
6788 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
6790         * progmodes/sql.el: Version 2.8
6791         (sql-login-params): Update widget structure; changes still needed.
6792         (sql-product-alist): Add :list-all and :list-table features for
6793         SQLite, Postgres and MySQL products.
6794         (sql-redirect): Handle default value.
6795         (sql-execute, sql-execute-feature): New functions.
6796         (sql-read-table-name): New function.
6797         (sql-list-all, sql-list-table): New functions.  User API.
6798         (sql-mode-map, sql-interactive-mode-map): Add key definitions
6799         for above functions.
6800         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6801         for above functions.
6802         (sql-postgres-login-params): Add user and database defaults.
6803         (sql-buffer-live-p): Bug fix.
6804         (sql-product-history): New variable.
6805         (sql-read-product): New function.  Use it.
6806         (sql-set-product, sql-product-interactive): Use it.
6807         (sql-connection-history): New variable.
6808         (sql-read-connection): New function.  Use it.
6809         (sql-connect): New function.
6810         (sql-for-each-login): Redesign function interface.
6811         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6812         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
6813         (sql-comint): Check for program.  Existing live buffer.
6814         (sql-comint-postgres): Add port parameter.
6816 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6818         * emacs-lisp/warnings.el: Fix commenting convention.
6819         (display-warning): Use special mode and make the buffer read-only.
6821 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
6823         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6824         empty string when it follows a repeated or optional pattern.
6826 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6828         * indent.el (indent-according-to-mode): Apply syntax-propertize.
6829         (indent-region): Use indent-according-to-mode.
6831 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
6833         * fringe.el (fringe-mode): Doc fix.
6835 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
6837         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6838         refreshing the preview buffer.
6840 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6842         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6843         (latex-syntax-propertize-rules): New consts; replace
6844         tex-font-lock-syntactic-keywords.
6845         (tex-env-mark, latex-env-before-change): New functions.
6846         (latex-electric-env-pair-mode): New minor mode.
6847         (tex-font-lock-verb): Change arguments; do move point.
6848         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6849         representation as a form of comment.
6850         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6851         (doctex-syntax-propertize-rules): New const; replaces
6852         doctex-font-lock-syntactic-keywords.
6853         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6855         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6856         (fortran-make-syntax-propertize-function): New function; replaces
6857         fortran-font-lock-syntactic-keywords.
6858         (fortran-mode): Use it.
6859         (fortran-line-length): Use it.  Improve interactive spec.
6861         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6862         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
6863         when adding surrounding \(..\).
6865         * progmodes/js.el (js-mode): Fix last change (bug#7054).
6867 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6869         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6870         Use with-current-buffer.
6872         * isearch.el (isearch-face): Rename from `isearch'.
6873         (isearch-highlight): Use new name.
6875 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
6877         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6878         5, for `half' width fringes.  (Bug#6933)
6880 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6882         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6883         (byte-compile-defvar): "foo/bar" does not lack a prefix.
6885         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6887 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
6889         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6890         in calculating new frame position.  Add more space between new and
6891         parent on the left (Bug#7048).
6893 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
6895         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6896         defmacro.
6898 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
6900         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6902         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6903         obsolete alias for x-selection-value.
6905         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6907 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
6909         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6910         cookie.
6912 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
6914         * net/tramp-compat.el (tramp-compat-with-temp-message)
6915         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6916         (tramp-compat-process-put): New defuns.
6918         * net/tramp.el (top):
6919         * net/tramp-gvfs.el (top):
6920         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6922         * net/tramp.el (tramp-progress-reporter-update):
6923         Use `tramp-compat-funcall'.
6925         * net/tramp.el (tramp-process-actions):
6926         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6927         * net/tramp-sh.el (tramp-handle-vc-registered)
6928         (tramp-get-remote-stat, tramp-get-remote-readlink):
6929         Use `tramp-compat-with-temp-message'.
6931         * net/tramp-sh.el (top): Require 'cl.
6932         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6933         (tramp-open-connection-setup-interactive-shell):
6934         Use `tramp-compat-process-put'.
6936 2010-09-15  Alan Mackenzie  <acm@muc.de>
6938         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6939         indentation.
6940         (c-forward-<>-arglist-recur): Fix an infinite recursion.
6942 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6944         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6945         `lexical' for warnings related to lexical scoping.
6946         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6947         global vars which don't have a prefix and could hence affect lexical
6948         scoping in unrelated files.
6950 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6952         * net/imap.el: Revert back to version
6953         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6954         seem problematic.
6956 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
6958         * obsolete/old-whitespace.el (whitespace-unload-function):
6959         Explicitly pass `obarray' to `unintern' to avoid a warning.
6961 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6963         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6964         Add `when' argument.  Update callers.
6966         * subr.el (unintern): Declare the obarray arg mandatory.
6968 2010-09-14  Glenn Morris  <rgm@gnu.org>
6970         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6971         Doc fixes.
6973         * calendar/diary-lib.el (diary-included-files): New variable.
6974         (diary-list-entries): Maybe initialize diary-included-files.
6975         (diary-include-other-diary-files): Append to diary-included-files.
6976         * calendar/appt.el (appt-update-list): Also check the members of
6977         diary-included-files.  (Bug#6999)
6978         (appt-check): Doc fix.
6980 2010-09-14  David Reitter  <david.reitter@gmail.com>
6982         * simple.el (line-move-visual): Do not truncate goal column to
6983         integer size.  (Bug#7020)
6985 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6987         * repeat.el (repeat): Allow repeating when the last event is a click.
6988         Suggested by Drew Adams (bug#6256).
6990 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
6992         * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
6993         Replace setting HGRCPATH to "" by some less invasive --config options.
6995 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6997         * font-lock.el (font-lock-beginning-of-syntax-function):
6998         Mark as obsolete.
7000 2010-09-14  Glenn Morris  <rgm@gnu.org>
7002         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7003         and tool-bar modes.  (Bug#6211)
7004         (menu-bar-mode): Move setting of standard-value after the
7005         minor-mode definition, otherwise it seems to have no effect.
7007 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
7009         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7010         Fix typo.  (Bug#6976)
7012 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7014         * whitespace.el: Allow cleaning up blanks without blank
7015         visualization (Bug#6651).  Adjust help window for
7016         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7017         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
7018         (whitespace-style): Add new value 'face.  Adjust docstring.
7019         (whitespace-space, whitespace-hspace, whitespace-tab):
7020         Adjust foreground property face.
7021         (whitespace-line-column): Adjust docstring and type declaration.
7022         (whitespace-style-value-list, whitespace-toggle-option-alist)
7023         (whitespace-help-text): Adjust const initialization.
7024         (whitespace-toggle-options, global-whitespace-toggle-options):
7025         Adjust docstring.
7026         (whitespace-display-window, whitespace-interactive-char)
7027         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7028         (whitespace-help-scroll): New fun.
7030 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
7032         * calendar/time-date.el (format-seconds): Comment fix.
7034 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
7036         * progmodes/sql.el: Version 2.7.
7037         (sql-buffer-live-p): Improve detection.
7038         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7039         (sql-set-sqli-buffer): Use it.
7040         (sql-product-interactive): Run `sql-set-sqli-hook'.
7041         (sql-rename-buffer): Code cleanup.
7042         (sql-redirect, sql-redirect-value): New functions.  More to come.
7044 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
7046         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.
7047         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7048         (TRAMP_SRC): New macro.
7049         ($(lisp)/net/tramp-loaddefs.el): New target.
7051 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
7053         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
7055         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
7057         * net/tramp.el (top): Don't show loading message.  Require just
7058         'tramp-compat, everything else is required there.
7059         Use `ignore-errors' where appropriate.
7060         (tramp-inline-compress-start-size, tramp-copy-size-limit)
7061         (tramp-terminal-type, tramp-end-of-output)
7062         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7063         (tramp-completion-function-alist-ssh)
7064         (tramp-completion-function-alist-telnet)
7065         (tramp-completion-function-alist-su)
7066         (tramp-completion-function-alist-putty, tramp-remote-path)
7067         (tramp-remote-process-environment, tramp-sh-extra-args)
7068         (tramp-actions-before-shell, tramp-uudecode)
7069         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7070         (tramp-perl-file-attributes)
7071         (tramp-perl-directory-files-and-attributes)
7072         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7073         (tramp-perl-encode, tramp-perl-decode)
7074         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7075         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7076         (tramp-handle-make-symbolic-link, tramp-handle-load)
7077         (tramp-handle-file-name-as-directory)
7078         (tramp-handle-file-name-directory)
7079         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7080         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7081         (tramp-do-file-attributes-with-ls)
7082         (tramp-do-file-attributes-with-perl)
7083         (tramp-do-file-attributes-with-stat)
7084         (tramp-handle-set-visited-file-modtime)
7085         (tramp-handle-verify-visited-file-modtime)
7086         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7087         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7088         (tramp-handle-file-selinux-context)
7089         (tramp-handle-set-file-selinux-context)
7090         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7091         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7092         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7093         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7094         (tramp-handle-file-ownership-preserved-p)
7095         (tramp-handle-directory-file-name, tramp-handle-directory-files)
7096         (tramp-handle-directory-files-and-attributes)
7097         (tramp-do-directory-files-and-attributes-with-perl)
7098         (tramp-do-directory-files-and-attributes-with-stat)
7099         (tramp-handle-file-name-all-completions)
7100         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7101         (tramp-handle-copy-file, tramp-handle-copy-directory)
7102         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7103         (tramp-do-copy-or-rename-file-via-buffer)
7104         (tramp-do-copy-or-rename-file-directly)
7105         (tramp-do-copy-or-rename-file-out-of-band)
7106         (tramp-handle-make-directory, tramp-handle-delete-directory)
7107         (tramp-handle-delete-file)
7108         (tramp-handle-dired-recursive-delete-directory)
7109         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7110         (tramp-handle-insert-directory)
7111         (tramp-handle-unhandled-file-name-directory)
7112         (tramp-handle-expand-file-name)
7113         (tramp-handle-substitute-in-file-name)
7114         (tramp-handle-executable-find, tramp-process-sentinel)
7115         (tramp-handle-start-file-process, tramp-handle-process-file)
7116         (tramp-handle-call-process-region, tramp-handle-shell-command)
7117         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7118         (tramp-handle-insert-file-contents)
7119         (tramp-handle-insert-file-contents-literally)
7120         (tramp-handle-find-backup-file-name)
7121         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7122         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7123         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7124         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7125         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7126         (tramp-find-file-exists-command, tramp-open-shell)
7127         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7128         (tramp-open-connection-setup-interactive-shell)
7129         (tramp-local-coding-commands, tramp-remote-coding-commands)
7130         (tramp-find-inline-encoding, tramp-call-local-coding-command)
7131         (tramp-inline-compress-commands, tramp-find-inline-compress)
7132         (tramp-compute-multi-hops, tramp-maybe-open-connection)
7133         (tramp-send-command, tramp-wait-for-output)
7134         (tramp-send-command-and-check, tramp-barf-unless-okay)
7135         (tramp-send-command-and-read, tramp-mode-string-to-int)
7136         (tramp-convert-file-attributes, tramp-check-cached-permissions)
7137         (tramp-file-mode-from-int, tramp-file-mode-permissions)
7138         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7139         (tramp-method-out-of-band-p, tramp-local-host-p)
7140         (tramp-get-remote-path, tramp-get-remote-tmpdir)
7141         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7142         (tramp-get-test-command, tramp-get-test-nt-command)
7143         (tramp-get-file-exists-command, tramp-get-remote-ln)
7144         (tramp-get-remote-perl, tramp-get-remote-stat)
7145         (tramp-get-remote-readlink, tramp-get-remote-trash)
7146         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7147         (tramp-get-local-uid, tramp-get-local-gid)
7148         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7149         tramp-sh.el.
7150         (tramp-methods, tramp-default-method-alist)
7151         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7152         Move initialization to tramp-sh.el.
7153         (tramp-temp-name-prefix): Make it a defconst.
7154         (tramp-dissect-file-name): Don't check anymore for multi-hop
7155         methods.
7156         (tramp-debug-outline-regexp): Add a docstring.
7157         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7158         (tramp-get-debug-buffer): Use it.
7160         * net/tramp-cache.el (top): Set tramp-autoload cookie for
7161         initialization forms.
7162         (tramp-set-connection-property): Don't protect `tramp-message'
7163         call, it isn't necessary any longer.
7164         (tramp-dump-connection-properties): Use `ignore-errors'.
7166         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7167         'password-cache and 'auth-source.
7169         * net/tramp-gvfs.el (top):
7170         * net/tramp-smb.el (top): Require 'tramp-sh.
7172         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7174         * net/tramp-sh.el: New file, derived from tramp.el.
7175         (top): Initialize `tramp-methods', `tramp-default-method-alist',
7176         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7177         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7178         Use `ignore-errors' where appropriate.
7179         (tramp-sh-file-name-handler-alist): Rename from
7180         `tramp-file-name-handler-alist'.
7181         (tramp-send-command-and-check): Return t or nil.  Remove all
7182         `zerop' checks, where called.
7183         (tramp-handle-set-file-modes)
7184         (tramp-do-copy-or-rename-file-directly)
7185         (tramp-handle-delete-directory, tramp-handle-delete-file)
7186         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7187         (tramp-sh-file-name-handler, tramp-send-command-and-check)
7188         (tramp-get-remote-ln): Set tramp-autoload cookie.
7190         * net/tramp-fish.el: Remove file.
7192 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
7194         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7195         buffer-file-name to avoid file-locking.  (Bug#7026)
7197 2010-09-13  Julien Danjou  <julien@danjou.info>
7199         * notifications.el (notifications-notify): Add support for
7200         image-path and sound-name.
7201         (notifications-specification-version): Add this variable.
7203 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7205         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7207 2010-09-12  Leo  <sdl.web@gmail.com>
7209         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7210         (rcirc-completion-start): New variables.
7211         (rcirc-nick-completions): Rename to rcirc-completions.
7212         (rcirc-nick-completion-start-offset): Delete.
7213         (rcirc-completion-at-point): New function for constructing
7214         completion data for both nicks and irc commands.  Add to
7215         completion-at-point-functions in rcirc mode.
7216         (rcirc-complete): Rename from rcirc-nick-complete; use
7217         rcirc-completion-at-point.
7218         (defun-rcirc-command): Update rcirc-client-commands.
7220 2010-09-11  Glenn Morris  <rgm@gnu.org>
7222         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7223         atomically, to avoid parallel build errors.  (Bug#4196)
7225 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
7227         * progmodes/sql.el: Version 2.6
7228         (sql-dialect): Synonym for "sql-product".
7229         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7230         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7231         Set "sql-buffer" to buffer name not buffer object so multiple sql
7232         interactive buffers work properly.  Reverts misguided changes in
7233         earlier work.
7234         (sql-comint): Make sure different buffer name is used if "*SQL*"
7235         buffer is for a different product.
7236         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7237         login param.
7238         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7239         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7240         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7241         Accept new buffer name or prompt for one.
7242         (sql-port): Default to zero.
7243         (sql-comint-mysql): Handle "sql-port" as a numeric.
7244         (sql-port-history): Delete unused variable.
7245         (sql-get-login): Default "sql-port" to a number.
7246         (sql-product-alist): Correct Postgres prompt and terminator regexp.
7247         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7248         "sqlite3" executables.
7249         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7250         (sql-buffer-live-p): New function.
7251         (sql-mode-menu, sql-send-string): Use it.
7252         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7253         syntax pattern.
7254         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7255         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7257 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7259         * net/netrc.el (netrc-credentials): New convenience function.
7261 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7263         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7264         to replace texinfo-font-lock-syntactic-keywords.
7265         (texinfo-mode): Use it.
7267         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7268         Use syntax-propertize-function.
7270         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7271         replace sgml-font-lock-syntactic-keywords.
7272         (sgml-mode): Use it.
7274         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7275         since we don't use it.
7277         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7279         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7280         if available.
7281         (vhdl-fontify-buffer): Adjust.
7283         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7284         replace tcl-font-lock-syntactic-keywords.
7285         (tcl-mode): Use it.
7287         * progmodes/simula.el (simula-syntax-propertize-function): New var to
7288         replace simula-font-lock-syntactic-keywords.
7289         (simula-mode): Use it.
7291         * progmodes/sh-script.el (sh-st-symbol): Remove.
7292         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7293         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7294         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7295         (sh-font-lock-paren): Set syntax-multiline.
7296         (sh-font-lock-syntactic-keywords): Remove.
7297         (sh-syntax-propertize-function): New function to replace it.
7298         (sh-mode): Use it.
7300         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7301         Define while compiling.
7302         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7303         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7304         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7305         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7306         (ruby-here-doc-end-syntax): Only define when
7307         syntax-propertize is not available.
7308         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7309         New functions.
7310         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7311         (electric-indent-chars): Silence bytecompiler.
7312         (ruby-mode): Use prog-mode, syntax-propertize-function, and
7313         electric-indent-chars.
7315         * progmodes/python.el (python-syntax-propertize-function): New var to
7316         replace python-font-lock-syntactic-keywords.
7317         (python-mode): Use it.
7318         (python-quote-syntax): Simplify and adjust to new use.
7320         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7321         replace perl-font-lock-syntactic-keywords.
7322         (perl-syntax-propertize-special-constructs): New fun to replace
7323         perl-font-lock-special-syntactic-constructs.
7324         (perl-font-lock-syntactic-face-function): New fun.
7325         (perl-mode): Use it.
7327         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7328         to replace octave-font-lock-close-quotes.
7329         (octave-syntax-propertize-function): New function to replace
7330         octave-font-lock-syntactic-keywords.
7331         (octave-mode): Use it.
7333         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7334         replaces mixal-font-lock-syntactic-keywords.
7335         (mixal-mode): Use it.
7337         * progmodes/make-mode.el (makefile-syntax-propertize-function):
7338         New var; replaces makefile-font-lock-syntactic-keywords.
7339         (makefile-mode): Use it.
7340         (makefile-imake-mode): Adjust.
7342         * progmodes/js.el (js--regexp-literal): Define while compiling.
7343         (js-syntax-propertize-function): New var; replaces
7344         js-font-lock-syntactic-keywords.
7345         (js-mode): Use it.
7347         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7348         replaces gdb-script-font-lock-syntactic-keywords.
7349         (gdb-script-mode): Use it.
7351         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7352         (fortran--font-lock-syntactic-keywords): New var.
7353         (fortran-line-length): Update syntax-propertize-function and
7354         fortran--font-lock-syntactic-keywords.
7356         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7358         * progmodes/cfengine.el (cfengine-mode):
7359         Use syntax-propertize-function.
7360         (cfengine-font-lock-syntactic-keywords): Remove.
7362         * progmodes/autoconf.el (autoconf-mode):
7363         Use syntax-propertize-function.
7364         (autoconf-font-lock-syntactic-keywords): Remove.
7366         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7367         (ada-after-change-function, ada-initialize-syntax-table-properties)
7368         (ada-handle-syntax-table-properties): Only define when
7369         syntax-propertize is not available.
7370         (ada-mode): Use syntax-propertize-function.
7372         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7373         (font-lock-fontify-syntactic-keywords-region): Move handling of
7374         font-lock-syntactically-fontified to...
7375         (font-lock-default-fontify-region): ...here.
7376         Let syntax-propertize-function take precedence.
7377         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7379         * emacs-lisp/syntax.el (syntax-propertize-function)
7380         (syntax-propertize-chunk-size, syntax-propertize--done)
7381         (syntax-propertize-extend-region-functions): New vars.
7382         (syntax-propertize-wholelines, syntax-propertize-multiline)
7383         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7384         (syntax-propertize): New functions.
7385         (syntax-propertize-rules): New macro.
7386         (syntax-ppss-flush-cache): Set syntax-propertize--done.
7387         (syntax-ppss): Call syntax-propertize.
7389         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7391 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
7393         * textmodes/ispell.el (ispell-init-process): Improve comments.
7394         XEmacs compatibility changes regarding (add-hook) 'local option
7395         and (set-process-query-on-exit-flag).
7397 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
7399         * net/tramp-cache.el (tramp-parse-connection-properties):
7400         Set tramp-autoload cookie.
7402 2010-09-09  Glenn Morris  <rgm@gnu.org>
7404         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7405         (imagemagick-register-types): Doc fix.
7407 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7409         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7411         * progmodes/js.el (require): Require is already "eval-and-compile".
7412         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
7413         (js--re-search-backward): Use js--re-search-forward.
7415         * progmodes/fortran.el (fortran-line-length): Don't recompute
7416         syntactic keywords redundantly a second time.
7418         * progmodes/ada-mode.el: Replace "(set '" with setq.
7419         (ada-mode): Simplify.
7420         (ada-create-case-exception, ada-adjust-case-interactive)
7421         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7422         (ada-search-ignore-string-comment, ada-move-to-start)
7423         (ada-move-to-end): Use with-syntax-table.
7425         * font-lock.el (save-buffer-state): Remove `varlist' arg.
7426         (font-lock-unfontify-region, font-lock-default-fontify-region):
7427         Update usage correspondingly.
7428         (font-lock-fontify-syntactic-keywords-region):
7429         Set parse-sexp-lookup-properties buffer-locally here.
7430         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7432         * simple.el (blink-matching-open): Don't burp if we can't find a match.
7434 2010-09-08  Glenn Morris  <rgm@gnu.org>
7436         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7437         Error if not compiled with -DBYTE_CODE_METER.
7439         * emacs-lisp/bytecomp.el (byte-recompile-directory):
7440         Ignore dir-locals-file.
7442 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7444         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7445         Not a const.
7446         (compilation-error-regexp-alist-alist): Rule out ": " in file names
7447         for the `gnu' messages.
7448         (compilation-set-skip-threshold): New command.
7449         (compilation-start): Use \' rather than $.
7450         (compilation-forget-errors): Use clrhash.
7452 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
7454         * textmodes/ispell.el (ispell-valid-dictionary-list):
7455         Simplify logic.
7457 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
7459         Migrate to Tramp 2.2.  Rearrange load dependencies.
7460         (Bug#1529, Bug#5448, Bug#5705)
7462         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7463         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7464         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7466         * net/tramp.el (top): Remove all other tramp-* loads except
7467         tramp-compat.el.  Remove all changes to tramp-unload-hook for
7468         other tramp-* packages.  Rearrange defun order.  Change calls of
7469         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7470         `tramp-compat-octal-to-decimal' to new function names.
7471         (tramp-terminal-type, tramp-initial-end-of-output)
7472         (tramp-methods, tramp-foreign-file-name-handler-alist)
7473         (tramp-tramp-file-p, tramp-completion-mode-p)
7474         (tramp-send-command-and-check, tramp-get-remote-path)
7475         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7476         (tramp-shell-quote-argument): Set tramp-autoload cookie.
7477         (with-file-property, with-connection-property): Move to
7478         tramp-cache.el.
7479         (tramp-local-call-process, tramp-decimal-to-octal)
7480         (tramp-octal-to-decimal): Move to tramp-compat.el.
7481         (tramp-handle-shell-command): Do not require 'shell.
7482         (tramp-compute-multi-hops): No special handling for tramp-gw-*
7483         symbols.
7484         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7486         * net/tramp-cache.el (top): Require 'tramp.  Add to
7487         `tramp-unload-hook'.
7488         (tramp-cache-data, tramp-get-file-property)
7489         (tramp-set-file-property, tramp-flush-file-property)
7490         (tramp-flush-directory-property, tramp-get-connection-property)
7491         (tramp-set-connection-property, tramp-flush-connection-property)
7492         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7493         cookie.
7494         (with-file-property, with-connection-property): New defuns, moved
7495         from tramp.el.
7496         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7497         macro.
7499         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7500         (tramp-version): Set tramp-autoload cookie.
7502         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
7503         changes to tramp-unload-hook for other tramp-* packages.  Add to
7504         `tramp-unload-hook'.
7505         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7506         (tramp-compat-call-process): New defuns, moved from tramp.el.
7508         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
7509         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7510         Add to `tramp-unload-hook'.  Change call of
7511         `tramp-compat-decimal-to-octal' to new function name.
7512         (tramp-fish-method): Make it a defconst.
7513         (tramp-fish-file-name-p): Make it a defsubst.
7514         (tramp-fish-method, tramp-fish-file-name-handler)
7515         (tramp-fish-file-name-p): Set tramp-autoload cookie.
7517         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7518         `tramp-foreign-file-name-handler-alist'.  Add to
7519         `tramp-unload-hook'.
7520         (tramp-ftp-method): Make it a defconst.
7521         (tramp-ftp-file-name-p): Make it a defsubst.
7522         (tramp-ftp-method, tramp-ftp-file-name-handler)
7523         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7525         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7526         `tramp-foreign-file-name-handler-alist'.  Add to
7527         `tramp-unload-hook'.  Change checks, whether package can be
7528         loaded.
7529         (tramp-gvfs-file-name-p): Make it a defsubst.
7530         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7531         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7532         (tramp-gvfs-handle-file-directory-p): New defun.
7533         (tramp-gvfs-file-name-handler-alist): Use it.
7535         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7536         `tramp-foreign-file-name-handler-alist'.  Add to
7537         `tramp-unload-hook'.
7538         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7539         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7540         defconst.
7541         (tramp-gw-tunnel-method, tramp-gw-socks-method)
7542         (tramp-gw-open-connection): Set tramp-autoload cookie.
7544         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
7545         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7546         Add to `tramp-unload-hook'.  Change checks, whether package can be
7547         loaded.
7548         (tramp-imap-file-name-p): Make it a defsubst.
7549         (tramp-imap-method, tramp-imaps-method)
7550         (tramp-imap-file-name-handler)
7551         (tramp-imap-file-name-p): Set tramp-autoload cookie.
7553         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
7554         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7555         Add to `tramp-unload-hook'.  Change checks, whether package can be
7556         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
7557         function name.
7558         (tramp-smb-tunnel-method): Make it a defconst.
7559         (tramp-smb-file-name-p): Make it a defsubst.
7560         (tramp-smb-method, tramp-smb-file-name-handler)
7561         (tramp-smb-file-name-p): Set tramp-autoload cookie.
7563         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7564         (tramp-uuencode-region): Set tramp-autoload cookie.
7566         * net/trampver.el (top) Add to `tramp-unload-hook'.
7567         (tramp-version, tramp-bug-report-address): Set tramp-autoload
7568         cookie.  Update release number.
7570 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
7572         * textmodes/ispell.el (ispell-start-process): Make sure original
7573         arg list is properly initialized (Bug#6993, Bug#6994).
7575 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7577         * files.el (directory-abbrev-alist): Use \` as default regexp.
7579         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7580         chars like - or ] (bug#6984).
7581         (rx-any-condense-range): Explode 2-char ranges.
7583 2010-09-06  Glenn Morris  <rgm@gnu.org>
7585         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7587 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7589         * textmodes/bibtex.el:
7590         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7592 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7594         * net/imap.el (imap-message-map): Remove optional buffer parameter,
7595         since no callers use it.
7596         (imap-message-get): Ditto.
7597         (imap-message-put): Ditto.
7598         (imap-mailbox-map): Ditto.
7599         (imap-mailbox-put): Ditto.
7600         (imap-mailbox-get): Ditto.
7601         (imap-mailbox-get): Revert last change for this function.
7603 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7605         * net/imap.el (imap-fetch-safe): Remove function, and alter all
7606         callers to use `imap-fetch' instead.  According to the comments, this
7607         should be safe, since all other IMAP clients use the 1:* syntax.
7608         (imap-enable-exchange-bug-workaround): Remove.
7609         (imap-debug): Remove -- doesn't seem very useful.
7611 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7613         * net/imap.el (imap-log): New convenience function used throughout
7614         instead of repeating the same code all over the place.
7616 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
7618         * mouse.el (mouse-save-then-kill): Save region to kill-ring
7619         when mouse-drag-copy-region is non-nil (Bug#6956).
7621 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
7623         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7624         Improve regexps (Bug#6987).
7625         (dired-sort-toggle): Search more robustly for -t flag.
7627         * files.el (get-free-disk-space): Search more robustly for
7628         "available" column.  Suggested by Ehud Karni
7629         <ehud@unix.mvs.co.il>.
7631 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
7633         * international/uni-bidi.el:
7634         * international/uni-category.el:
7635         * international/uni-combining.el:
7636         * international/uni-decimal.el:
7637         * international/uni-mirrored.el:
7638         * international/uni-name.el: Regenerate.
7640 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7642         * electric.el (electric-indent-post-self-insert-function):
7643         Don't reindent with a sloppy indentation function.
7645         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7646         border case in change-log-mode.
7648 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
7650         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7651         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7652         Recognize leading tab in gcc-include regexp.  Ignore names with
7653         leading "from" or "in" in gnu regexp (Bug#6937).
7655 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7657         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7658         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7659         (ispell-start-process): Avoid setq and simplify logic.
7660         (ispell-init-process): Setup kill-buffer-hook locally when needed.
7661         (kill-buffer-hook): Don't use it globally with code that uses
7662         expand-file-name since that may call kill-buffer via
7663         code_conversion_restore.
7665 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
7667         * emacs-lisp/package.el (package-directory-list): Only call
7668         file-name-nondirectory on a string.
7670 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7672         * emacs-lisp/package.el (package--download-one-archive):
7673         Ensure that archive-contents is valid before saving it.
7674         (package-activate-1, package-mark-obsolete, define-package)
7675         (package-compute-transaction, package-list-maybe-add): Use push.
7677 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7679         Use SMIE's blink-paren for octave-mode.
7680         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7681         Backslashes do not escape single-quotes, single-quotes do.
7682         (octave-block-else-regexp, octave-block-end-regexp)
7683         (octave-block-match-alist): Remove.
7684         (octave-smie-bnf-table): New var, with old content.
7685         (octave-smie-op-levels): Use it.
7686         (octave-smie-closer-alist): New var.
7687         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
7688         (octave-blink-matching-block-open): Remove.
7689         (octave-reindent-then-newline-and-indent, octave-electric-semi)
7690         (octave-electric-space): Let self-insert-command run expand-abbrev and
7691         blink parens.
7693         * electric.el (electricity): New group.
7694         (electric-indent-chars): New var.
7695         (electric-indent-post-self-insert-function): New fun.
7696         (electric-indent-mode): New minor mode.
7697         (electric-pair-skip-self): New custom.
7698         (electric-pair-post-self-insert-function): New function.
7699         (electric-pair-mode): New minor mode.
7701         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7702         calcAlg-blink-matching-open.
7703         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7704         (calc-do-alg-entry): Only touch the part of the keymap that varies.
7705         Use the new blink-matching-check-function.
7707         Provide blink-matching support to SMIE.
7708         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7709         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7710         (smie-blink-matching-check, smie-blink-matching-open): New functions.
7712         * simple.el (newline): Fix last change to properly remove itself from
7713         the hook.
7715 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7717         * simple.el (newline): Eliminate optimization.
7718         Use post-self-insert-hook to set hard-newline and things before
7719         running post-self-insert-hook.
7720         (blink-matching-check-mismatch): New function.
7721         (blink-matching-check-function): New variable.
7722         (blink-matching-open): Use them.
7723         Skip back forward over prefix chars skipped by forward-sexp.
7724         Don't check if the parens are backslash escaped.
7725         (blink-paren-post-self-insert-function): Check backslash escaping here.
7727 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7729         * emacs-lisp/package.el (package-menu-mode-map):
7730         Change package-menu-revert bindings to revert-buffer.
7731         (package-menu-mode): Set revert-buffer-function.
7732         (package-menu-revert): Doc fix.
7734 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
7736         * textmodes/ispell.el (ispell-init-process): Use "~/" as
7737         `default-directory' unless using Ispell per-directory personal
7738         dictionaries and not in a mini-buffer under XEmacs.
7739         (kill-buffer-hook): Do not kill ispell process on exit when
7740         `ispell-process-directory' is "~/".  (Bug#6143)
7742 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
7744         * simple.el (kill-new): Call interprogram-cut-function with only
7745         one argument.
7747         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7748         Remove cut buffer from error message.
7750         * term/x-win.el (x-select-text):
7751         * term/pc-win.el (x-selection-value):
7752         * term/ns-win.el (x-selection-value):
7753         * eshell/em-term.el:
7754         * w32-fns.el (x-get-selection-value):
7755         * mouse-sel.el (mouse-sel-set-selection-function):
7756         * frame.el (display-selections-p): Remove cut-buffer in documentation.
7758         * term/x-win.el: Update documentation for x-last-selected-text-*.
7759         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7760         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7761         (x-select-text): Remove argument PUSH, update documentation.
7762         Remove cut-buffer code.
7763         (x-selection-value-internal): Was previously x-selection-value.
7764         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7765         Update documentation, remove cut-buffer code.
7766         Call x-selection-value-internal.
7767         (x-clipboard-yank): Call x-selection-value-internal.
7768         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7770         * term/pc-win.el (x-last-selected-text):
7771         x-cut-buffer-or-selection-value renamed to x-selection-value
7772         (x-select-text): Remove argument PUSH, update documentation.
7774         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7775         x-cut-buffer-or-selection-value renamed to x-selection-value
7776         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7777         (x-select-text): Remove argument PUSH, update documentation.
7779         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7781         * w32-fns.el (x-last-selected-text):
7782         x-cut-buffer-or-selection-value renamed to x-selection-value.
7783         (x-cut-buffer-max): Remove.
7784         (x-select-text): Remove argument PUSH, update documentation.
7786         * simple.el (interprogram-cut-function): Remove mention of PUSH.
7788         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7790         * mouse-sel.el (mouse-sel-get-selection-function):
7791         x-cut-buffer-or-selection-value renamed to x-selection-value.
7792         (x-select-text): Remove optional push.
7794 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7796         * simple.el (blink-paren-function): Move from C to here.
7797         (blink-paren-post-self-insert-function): New function.
7798         (post-self-insert-hook): Use it.
7800         * emacs-lisp/pcase.el (pcase-split-memq):
7801         Fix overenthusiastic optimisation.
7802         (pcase-u1): Handle the case of a lambda pred.
7804 2010-08-31  Kenichi Handa  <handa@m17n.org>
7806         * international/mule-cmds.el (standard-display-european-internal):
7807         Setup standard-display-table for 8-bit characters by storing 8-bit
7808         characters in the element vector.
7810         * disp-table.el (standard-display-8bit):
7811         Setup standard-display-table for 8-bit characters by storing 8-bit
7812         characters in the element vector.
7813         (standard-display-european): Likewise.
7815 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
7817         * textmodes/nroff-mode.el (nroff-view): New command.
7818         (nroff-mode-map): Bind it to C-c C-c.
7820 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7822         * emacs-lisp/smie.el (smie-down-list): New command.
7824         Remove old indentation and navigation code on octave-mode.
7825         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7826         smie-down-list rather than add a binding for octave-down-block.
7827         (octave-mark-block, octave-blink-matching-block-open):
7828         Rely on forward-sexp-function.
7829         (octave-fill-paragraph): Don't narrow, so you can use
7830         indent-according-to-mode.
7831         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7832         (octave-in-block-p, octave-re-search-forward-kw)
7833         (octave-re-search-backward-kw, octave-indent-calculate)
7834         (octave-end-as-array-index-p, octave-block-end-offset)
7835         (octave-scan-blocks, octave-forward-block, octave-backward-block)
7836         (octave-down-block, octave-backward-up-block, octave-up-block)
7837         (octave-before-magic-comment-p, octave-indent-line): Remove.
7839 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
7841         * emacs-lisp/package.el (package--read-archive-file): Just use
7842         `read', to avoid copying an additional string.
7843         (package-menu-mode): Set header-line-format here.
7844         (package-menu-refresh, package-menu-revert): Signal an error if
7845         not in the Package Menu.
7846         (package-menu-package-list): New var.
7847         (package--generate-package-list): Operate on the current buffer;
7848         don't assume that it is *Packages*, since the user may rename it.
7849         Allow persistent package listings and sort keys using
7850         package-menu-package-list and package-menu-package-sort-key.
7851         (package-menu--version-predicate): Fix version calculation.
7852         (package-menu-sort-by-column): Don't select the window.
7853         (package--list-packages): Create the *Packages* buffer.
7854         Set package-menu-package-list-key.
7855         (list-packages): Sorting by status is now the default.
7856         (package-buffer-info): Use match-string-no-properties.
7857         (define-package): Add a &rest argument for future proofing, but
7858         don't use it yet.
7859         (package-install-from-buffer, package-install-buffer-internal):
7860         Merge into a single function, package-install-from-buffer.
7861         (package-install-file): Change caller.
7863         * finder.el: Load finder-inf using `require'.
7864         (finder-list-matches): Sorting by status is now the default.
7865         (finder-compile-keywords): Simpify printing.
7867 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7869         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7870         (octave-mode-map): Remove special bindings for forward/backward-block
7871         and octave-backward-up-block.  Use smie-close-block.
7872         (octave-continuation-marker-regexp): New var.
7873         (octave-continuation-regexp): Use it.
7874         (octave-operator-table, octave-smie-op-levels)
7875         (octave-operator-regexp, octave-smie-indent-rules): New vars.
7876         (octave-smie-backward-token, octave-smie-forward-token): New funs.
7877         (octave-mode): Use SMIE.
7878         (octave-close-block): Delete.
7880 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
7882         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7883         CLIPBOARD, not in PRIMARY.  (Bug#6944)
7885 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7887         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7888         a list of parents.
7889         (smie-indent-column): Allow indirection through variables.
7891         * composite.el (save-buffer-state): Delete, unused.
7892         * font-lock.el (save-buffer-state): Use with-silent-modifications.
7893         (font-lock-default-fontify-region): Use with-syntax-table.
7894         * jit-lock.el (with-buffer-unmodified): Remove.
7895         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7897         Use `declare' in defmacros.
7898         * window.el (save-selected-window):
7899         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7900         * progmodes/python.el (def-python-skeleton):
7901         * net/dbus.el (dbus-ignore-errors):
7902         * jka-cmpr-hook.el (with-auto-compression-mode):
7903         * international/mule.el (with-category-table):
7904         * emacs-lisp/timer.el (with-timeout):
7905         * emacs-lisp/lisp-mnt.el (lm-with-file):
7906         * emacs-lisp/eieio.el (with-slots):
7907         * emacs-lisp/easymenu.el (easy-menu-define):
7908         * emacs-lisp/debug.el (debugger-env-macro):
7909         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7910         (Multiple-value-call, Multiple-value-prog1):
7911         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7912         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7913         edebug rule to definition.
7914         * emacs-lisp/lisp-mode.el (save-selected-window)
7915         (with-current-buffer, combine-after-change-calls)
7916         (with-output-to-string, with-temp-file, with-temp-buffer)
7917         (with-temp-message, with-syntax-table, read-if, eval-after-load)
7918         (dolist, dotimes, when, unless):
7919         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7921 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7923         * finder.el: Require `package'.
7924         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
7925         (finder-package-info): Var deleted.
7926         (finder-keywords-hash, finder--builtins-alist): New vars.
7927         (finder-compile-keywords): Compute package--builtins and
7928         finder-keywords-hash instead of finder-keywords-hash, respecting
7929         the "Package" header.
7930         (finder-unknown-keywords, finder-list-matches):
7931         Use finder-keywords-hash and package--list-packages.
7932         (finder-mode): Don't set font-lock-defaults.
7933         (finder-exit): We don't use "*Finder-package*" and "*Finder
7934         Category*" buffers anymore.
7936         * emacs-lisp/package.el (package--builtins-base): Var deleted.
7937         (package--builtins): Set default value to nil.
7938         (package-initialize): Load precomputed value of package--builtins
7939         from finder-inf.el.
7940         (package-alist, package-compute-transaction)
7941         (package-download-transaction): Improve docstring.
7942         (package-read-all-archive-contents): Do not change
7943         package--builtins here.
7944         (list-packages): Make package-list-packages an alias for this.
7945         Sort by status by default.
7946         (package--list-packages): Add optional PACKAGES arg.
7947         (describe-package-1): Use font-lock-face property.  For built-in
7948         packages, insert file commentary.
7949         (package--generate-package-list): Rename from
7950         package-list-packages-internal; all callers changed.  Add optional
7951         PACKAGES arg.  Add alphabetical sort fallbacks.
7952         (package-menu--version-predicate, package-menu--status-predicate)
7953         (package-menu--description-predicate)
7954         (package-menu--name-predicate): New functions.
7956         * info.el (Info-finder-find-node): Search package-alist instead of
7957         finder-package-info.
7959 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7961         * subr.el (version-regexp-alist): Don't use "a" and "b" for
7962         "alpha" and "beta".
7963         (version-to-list): Handle versions like "10.3d".
7965 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7967         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7968         (macroexp-accumulate): Use `declare'.
7970 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7972         * whitespace.el (whitespace-style): Adjust type declaration.
7974 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
7976         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7978 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7980         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7981         (Bug#6907).
7983 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
7985         * progmodes/js.el: Make indentation more customizable (Bug#6914).
7986         (js-paren-indent-offset, js-square-indent-offset)
7987         (js-curly-indent-offset): New options.
7988         (js--proper-indentation): Use them.
7990 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
7992         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7993         instead of inspecting font-lock properties (Bug#6916).
7995 2010-08-26  David Reitter  <david.reitter@gmail.com>
7997         * server.el (server-visit-files): Run pre-command-hook and
7998         post-command-hook for each buffer while it is current (Bug#6910).
7999         (server-execute): Do not run hooks here.
8001 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
8003         Sync with Tramp 2.1.19.
8005         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
8006         deleting tmpfile.
8007         (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8009         * net/tramp.el (tramp-handle-expand-file-name)
8010         (tramp-completion-handle-file-name-all-completions)
8011         (tramp-completion-handle-file-name-completion):
8012         Use `tramp-connectable-p'.
8014         * net/trampver.el: Update release number.
8016 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
8018         * help.el (help-map): Bind `C-h P' to describe-package.
8020         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8022         * emacs-lisp/package.el (package-refresh-contents): Catch errors
8023         when downloading archives.
8024         (describe-package-1): Add package commentary.
8025         (package-install-button-action): New function.
8026         (package-menu-mode-map): Bind ? to package-menu-describe-package.
8027         (package-menu-view-commentary): Function removed.
8028         (package-list-packages-internal): Hide the `package' package too.
8030 2010-08-25  Kenichi Handa  <handa@m17n.org>
8032         * language/misc-lang.el ("Arabic"): New language environment.
8033         Setup composition-function-table for Arabic characters.
8035         * international/fontset.el (setup-default-fontset): Fix typo for
8036         arabic OTF spec (fini->fina).
8038 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
8040         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8041         on all frames.
8043 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8045         * whitespace.el: Allow cleaning up blanks without blank
8046         visualization (Bug#6651).  Adjust help window for
8047         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
8048         instead of whitespace-line-column (from EmacsWiki).  New version
8049         13.1.
8050         (whitespace-style): Add new value 'face.  Adjust docstring.
8051         (whitespace-space, whitespace-hspace, whitespace-tab):
8052         Adjust foreground property face.
8053         (whitespace-line-column): Adjust docstring and type declaration.
8054         (whitespace-style-value-list, whitespace-toggle-option-alist)
8055         (whitespace-help-text): Adjust const initialization.
8056         (whitespace-toggle-options, global-whitespace-toggle-options):
8057         Adjust docstring.
8058         (whitespace-display-window, whitespace-interactive-char)
8059         (whitespace-style-face-p, whitespace-color-on): Adjust code.
8060         (whitespace-help-scroll): New fun.
8062 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8064         * emacs-lisp/package.el (list-packages): Alias for
8065         package-list-packages.
8067 2010-08-24  Kevin Ryde  <user42@zip.com.au>
8069         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8070         (Bug#5651).
8072         * progmodes/ruby-mode.el (ruby): Add defgroup.
8074 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8076         * progmodes/python.el: Add Ipython support (Bug#5390).
8077         (python-shell-prompt-alist)
8078         (python-shell-continuation-prompt-alist): New options.
8079         (python--set-prompt-regexp): New function.
8080         (inferior-python-mode, run-python, python-shell):
8081         Require ansi-color.  Use python--set-prompt-regexp to set the comint
8082         prompt based on the Python interpreter.
8083         (python--prompt-regexp): New var.
8084         (python-check-comint-prompt)
8085         (python-comint-output-filter-function): Use it.
8086         (run-python): Use a pipe (Bug#5694).
8088 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
8090         * progmodes/python.el (python-send-region): Send a different
8091         Python command if Ipython is in use.
8092         (python-check-version): Use a Python command to find the version.
8094 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8096         * mouse.el (mouse-yank-primary): Avoid setting primary when
8097         deactivating the mark (Bug#6872).
8099 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
8101         * progmodes/python.el (python-block-pairs): Allow use of "finally"
8102         with "else" (Bug#3991).
8104 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
8106         * net/dbus.el: Accept UNIX domain sockets as bus address.
8107         (top): Don't initialize `dbus-registered-objects-table' anymore,
8108         this is done in dbusbind.c.
8109         (dbus-check-event): Adapt test for bus.
8110         (dbus-return-values-table, dbus-unregister-service)
8111         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8112         Adapt doc string.
8114 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
8116         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8118 2010-08-22  Juri Linkov  <juri@jurta.org>
8120         * simple.el (read-extended-command): New function with the logic
8121         for `completing-read' moved to Elisp from `execute-extended-command'.
8122         Use `function-called-at-point' in `minibuffer-default-add-function'
8123         to get a command name for M-n (bug#5364, bug#5214).
8125 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8127         * startup.el (command-line-1): Issue warning for ignored arguments
8128         --unibyte, etc (Bug#6886).
8130 2010-08-22  Leo  <sdl.web@gmail.com>
8132         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8133         (ignore, bright, dim, keyword): Split list of nicknames before
8134         passing to rcirc-add-or-remove (Bug#6894).
8136 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8138         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8140 2010-08-22  Leo  <sdl.web@gmail.com>
8142         Fix buffer-list rename&refresh after killing a buffer in ido.
8143         * ido.el: Revert Óscar's.
8144         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8145         Remember the buffers at head, rather than their name.
8146         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8148 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
8149             Stefan Monnier  <monnier@iro.umontreal.ca>
8151         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8152         extra backslash added to each line (bug#6890).
8154 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8156         * subr.el (read-key): Don't echo keystrokes (bug#6883).
8158 2010-08-22  Glenn Morris  <rgm@gnu.org>
8160         * menu-bar.el (menu-bar-games-menu): Add landmark.
8162 2010-08-22  Glenn Morris  <rgm@gnu.org>
8164         * align.el (align-regexp): Make group and spacing arguments
8165         use the interactive defaults when non-interactive.  (Bug#6698)
8167         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8168         expansion, so as not to need sendmail.
8169         (mail-text-start): Remove declaration.
8170         (rmail-retry-failure): Require sendmail.
8172 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8174         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8176 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
8178         * progmodes/flymake.el (flymake-start-syntax-check-process):
8179         Use `start-file-process' in order to let it run also on remote hosts.
8181 2010-08-22  Kenichi Handa  <handa@m17n.org>
8183         * files.el: Add `word-wrap' as safe local variable.
8185 2010-08-22  Glenn Morris  <rgm@gnu.org>
8187         * woman.el (woman-translate): Case matters.  (Bug#6849)
8189 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8191         * simple.el (kill-region): Doc fix (Bug#6787).
8193 2010-08-22  Glenn Morris  <rgm@gnu.org>
8195         * calendar/diary-lib.el (diary-header-line-format):
8196         Fit it to the window, not the frame.
8198 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
8200         * subr.el (ignore-errors): Add debug declaration.
8202 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
8204         * whitespace.el (whitespace-color-off): Remove post-command-hook
8205         locally.
8207 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8209         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8211 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8213         * cus-edit.el (custom-group-value-create): Add extra newline
8214         before end line (Bug#6876).
8216 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8218         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8219         when extending it.  Before killing on the second click, check if
8220         the buffer is the correct one.  Doc fix.
8221         (mouse-secondary-save-then-kill): Allow usage without first
8222         calling mouse-start-secondary, by defaulting to point.  Don't save
8223         an empty secondary selection.  Doc fix.
8225 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8227         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
8228         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8229         New version 13.0.
8230         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8231         Adjust initialization.
8232         (whitespace-bob-marker, whitespace-eob-marker)
8233         (whitespace-buffer-changed): New vars.
8234         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8235         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8236         (whitespace-post-command-hook, whitespace-display-char-on):
8237         Adjust code.
8238         (whitespace-looking-back, whitespace-buffer-changed): New funs.
8239         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8241 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8243         * files.el (locate-file-completion-table): Only list the .el and .elc
8244         extensions if there's no other choice (bug#5955).
8246         * facemenu.el (facemenu-self-insert-data): New var.
8247         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8248         New functions.
8249         (facemenu-add-face): Use them.
8251         * simple.el (blink-matching-open): Obey forward-sexp-function.
8253 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8255         * simple.el (prog-mode-map): New var.
8256         (prog-indent-sexp): New command.
8258         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8260         * progmodes/prolog.el (smie): Require.
8262         * emacs-lisp/smie.el (smie-default-backward-token)
8263         (smie-default-forward-token): Strip properties.
8264         (smie-next-sexp): Be more careful with associative operators.
8265         (smie-forward-sexp-command): Generalize.
8266         (smie-backward-sexp-command): Simplify.
8267         (smie-closer-alist): New var.
8268         (smie-close-block): New command.
8269         (smie-indent-debug-log): New var.
8270         (smie-indent-offset-rule): Add a few more cases.
8271         (smie-indent-column): New function.
8272         (smie-indent-after-keyword): Use it.
8273         (smie-indent-keyword): Use it.
8274         Fix up the opener code's point position.
8275         (smie-indent-comment): Only applies at BOL.
8276         (smie-indent-debug): New command.
8278         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8279         declarations that are useful before running the macro.
8281 2010-08-18  Joakim Verona  <joakim@verona.se>
8283         * image.el (imagemagick-types-inhibit): New variable.
8284         (imagemagick-register-types): New function.
8285         * image-mode.el (image-transform-properties): New function.
8286         (image-transform-set-scale, image-transform-fit-to-height)
8287         (image-transform-set-rotation, image-transform-set-resize)
8288         (image-transform-fit-to-width, image-transform-fit-to-height):
8289         New functions.
8290         (image-toggle-display-image): Support image transforms.
8292 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
8294         * image.el (create-animated-image): Don't add heuristic mask to image
8295         (Bug#6839).
8297 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
8299         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8300         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8302 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8304         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8306         Font-lock '...' strings, plus various simplifications and fixes.
8307         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8308         (octave-font-lock-close-quotes): New function.
8309         (octave-font-lock-syntactic-keywords): New var.
8310         (octave-mode): Use it.  Set beginning-of-defun-function.
8311         (octave-mode-map): Don't override the <foo>-defun commands.
8312         (octave-mode-menu): Pass it directly to easy-menu-define;
8313         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8314         (octave-block-match-alist): Fix up last change so that
8315         octave-close-block uses the more specific keyword.
8316         (info-lookup-mode): Silence byte-compiler.
8317         (octave-beginning-of-defun): Not interactive any more.
8318         Optimize slightly.
8319         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8320         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8321         (octave-completion-at-point-function): Make sure point is within
8322         beg..end.
8323         (octave-reindent-then-newline-and-indent):
8324         Use reindent-then-newline-and-indent.
8325         (octave-add-octave-menu): Remove.
8327 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
8329         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8330         (report-emacs-bug-can-use-xdg-email): New functions.
8331         (report-emacs-bug): Set can-xdg-email to result of
8332         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
8333         \C-cm to report-emacs-bug-insert-to-mailer and add help text
8334         about it.
8336         * net/browse-url.el (browse-url-default-browser): Add cond
8337         for browse-url-xdg-open.
8338         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8340 2010-08-17  Glenn Morris  <rgm@gnu.org>
8342         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8343         (c-fontify-recorded-types-and-refs): Define for compiler.
8344         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8345         before use.
8347         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8348         Fix format call.
8350 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
8352         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8353         properties.
8354         (tramp-handle-process-file): Call the program in a subshell, in
8355         order to preserve working directory.
8356         (tramp-action-password): Hide password prompt before next run.
8357         (tramp-process-actions): Widen connection buffer for the trace.
8359 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8361         * net/rcirc.el (rcirc-log-process-buffers): New option.
8362         (rcirc-print): Use it.
8363         (rcirc-generate-log-filename): New function.
8364         (rcirc-log-filename-function): Change default to
8365         rcirc-generate-log-filename (Bug#6828).
8367 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
8369         * simple.el (deactivate-mark): If select-active-regions is `only',
8370         only set selection for temporarily active regions.
8372         * cus-start.el: Change defcustom for select-active-regions.
8374 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8376         * mouse.el (mouse--drag-set-mark-and-point): New function.
8377         (mouse-drag-track): Use LOCATION arg to push-mark.
8378         Use mouse--drag-set-mark-and-point to take click-count into
8379         consideration when updating point and mark (Bug#6840).
8381 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8383         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8384         Give the Ruby rule a lower priority than Gnu (Bug#6778).
8386 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8388         * font-lock.el (lisp-font-lock-keywords-2):
8389         Add combine-after-change-calls, condition-case-no-debug,
8390         with-demoted-errors, and with-silent-modifications (Bug#6025).
8392 2010-08-14  Kevin Ryde  <user42@zip.com.au>
8394         * emacs-lisp/copyright.el (copyright-update-year)
8395         (copyright-update): Temporary switch-to-buffer to ensure the
8396         buffer change being queried is visible (Bug#5394).
8398 2010-08-14  Tom Tromey  <tromey@redhat.com>
8400         * progmodes/etags.el (tags-file-name): Mark safe if stringp
8401         (Bug#6733).
8403 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
8405         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8406         MS-DOS.  (Bug#6689)
8408 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
8410         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8411         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8412         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8413         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8414         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8415         Call menu-bar-set-tool-bar-position.
8417 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8419         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8420         comment style (bug#6834).
8421         * progmodes/scheme.el (scheme-mode-syntax-table):
8422         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8423         "b" flag in "' 14b" syntax.
8425         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8426         for (un)commenting the region and performing completion.
8427         (octave-mode-menu): Use standard commands for help and completion.
8428         (octave-mode-syntax-table): Support %{..%} comments (sort of).
8429         (octave-mode): Use define-derived-mode.
8430         Set completion-at-point-functions and don't set columns.
8431         Don't disable adaptive-fill-regexp.
8432         (octave-describe-major-mode, octave-comment-region)
8433         (octave-uncomment-region, octave-comment-indent)
8434         (octave-indent-for-comment): Remove.
8435         (octave-indent-calculate): Rename from calculate-octave-indent.
8436         (octave-indent-line, octave-fill-paragraph): Update caller.
8437         (octave-initialize-completions): No need to make an alist.
8438         (octave-completion-at-point-function): New function.
8439         (octave-complete-symbol): Use it.
8440         (octave-insert-defun): Use define-skeleton.
8442         * progmodes/octave-mod.el (octave-mode): Set comment-add.
8443         (octave-mode-map): Use comment-dwim (bug#6829).
8445 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>
8447         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8448         indentation of inserted comment.
8450 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
8452         * faces.el (region): Add type gtk that uses gtk colors.
8454         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8455         Handle theme-name change.
8457 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
8459         * progmodes/sql.el: Version 2.5
8460         (sql-product-alist): Add :prompt-cont-regexp property for several
8461         database products.
8462         (sql-prompt-cont-regexp): New variable.
8463         (sql-output-newline-count, sql-output-by-send):
8464         New variables.  Record number of newlines in input text.
8465         (sql-send-string): Handle multiple filters and count newlines.
8466         (sql-send-magic-terminator): Count terminator newline.
8467         (sql-interactive-remove-continuation-prompt): Filters output to
8468         remove continuation prompts; one for each newline.
8469         (sql-interactive-mode): Set up new variables, prompt regexp and
8470         output filter.
8471         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8472         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8474 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8476         * emacs-lisp/pcase.el: New file.
8478 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
8480         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8481         as here-document, otherwise the command could exceed maximum
8482         length of command line.
8483         (tramp-handle-vc-registered): Call script accordingly.
8484         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8486 2010-08-10  Kenichi Handa  <handa@m17n.org>
8488         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8489         composable pattern.
8491 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
8493         * emacs-lisp/package.el (package-version-split)
8494         (package--version-first-nonzero, package-version-compare):
8495         Functions removed.
8496         (package-directory-list, package-load-all-descriptors)
8497         (package--built-in, package-activate, define-package)
8498         (package-installed-p, package-compute-transaction)
8499         (package-read-all-archive-contents)
8500         (package--add-to-archive-contents, package-buffer-info)
8501         (package-tar-file-info, package-list-packages-internal):
8502         Use version-to-list and version-list-*.
8504         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8505         Use version-to-list.
8506         (package-upload-buffer-internal): Use version-list-<=.
8508 2010-08-09  Kenichi Handa  <handa@m17n.org>
8510         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8511         composable pattern.
8513 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
8515         * tutorial.el (tutorial--default-keys): C-d is now bound to
8516         delete-forward-char (Bug#6826).
8518         * mouse.el (mouse-drag-track): Remove accidentally-removed check
8519         for `double' value of mouse-1-click-follows-link (Bug#6807).
8521 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
8523         * replace.el (replace-highlight): Bind isearch-forward and
8524         isearch-error, ensuring that highlighting is updated if the user
8525         switches the search direction (Bug#6808).
8527         * isearch.el (isearch-lazy-highlight-forward): New var.
8528         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8529         (isearch-lazy-highlight-update): Use it.
8531 2010-08-08  Kenichi Handa  <handa@m17n.org>
8533         * international/mule.el (define-charset): Store NAME as :base property.
8534         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8535         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8536         current priority.  Force using the designation of the specific
8537         charset by adding `charset' text property.  Improve the whole algorithm.
8539 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8541         * emulation/pc-select.el (pc-selection-mode-hook)
8542         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8543         (pc-selection-mode): Fix typos in docstrings.
8545 2010-08-08  Kenichi Handa  <handa@m17n.org>
8547         * language/cyrillic.el: Don't add "microsoft-cp1251" to
8548         ctext-non-standard-encodings-alist here.
8550         * international/mule.el (ctext-non-standard-encodings-alist):
8551         Add "koi8-r" and "microsoft-cp1251".
8552         (ctext-standard-encodings): New variable.
8553         (ctext-non-standard-encodings-table): List only elements for
8554         non-standard encodings.
8555         (ctext-pre-write-conversion): Adjust for the above change.
8556         Check ctext-standard-encodings.
8558         * international/mule-conf.el (compound-text): Doc fix.
8559         (ctext-no-compositions): Doc fix.
8560         (compound-text-with-extensions): Doc fix.
8562 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8564         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8566 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8568         * progmodes/which-func.el (which-func-format): Split help-echo text
8569         into lines, like other mode-line tooltips.
8571         * server.el (server-start): When using TCP sockets, force IPv4
8572         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
8574 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8576         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8578 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8580         * term.el (term-delimiter-argument-list): Reflow docstring.
8581         (term-read-input-ring, term-write-input-ring, term-send-input)
8582         (term-bol, term-erase-in-display, serial-supported-or-barf):
8583         Fix typos in docstrings.
8585 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8587         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8589 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8591         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8593 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
8595         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8596         Fix typo in docstring (bug#6747).
8598 2010-08-08  Leo  <sdl.web@gmail.com>
8600         * eshell/esh-io.el (eshell-get-target): Better detection of
8601         read-only file (Bug#6762).
8603 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8605         * align.el (align-default-spacing): Doc fix.
8606         (align-region-heuristic, align-regexp): Fix typos in docstrings.
8608 2010-08-08  Stephen Peters  <speters@itasoftware.com>
8610         * calendar/icalendar.el
8611         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
8612         (icalendar--get-weekday-numbers): New.
8613         (icalendar--convert-recurring-to-diary): Handle multiple byday
8614         values in weekly rules.  (Bug#6766)
8616 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
8618         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8619         (icalendar--create-uid, icalendar-export-region)
8620         (icalendar--parse-summary-and-rest): Code formatting.
8622 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
8624         * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8625         to italicize headers.
8626         (calc-highlight-selections-with-faces): New variable.
8627         (calc-selected-face, calc-nonselected-face): New faces.
8629         * calc/calccomp.el (math-comp-highlight-string): Use
8630         `calc-highlight-selections-with-faces' to determine how to highlight
8631         sub-formulas.
8633         * calc/calc-sel.el (calc-show-selections): Change message to when
8634         using faces to highlight selections.
8636 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
8638         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8639         Add SQLite 3 keywords, functions and datatypes.
8640         (sql-interactive-mode): Remove `comint-process-echoes' set to t
8641         (Bug#6686).
8643 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
8645         * simple.el (select-active-regions): Move to keyboard.c.
8646         (deactivate-mark): Used saved-region-selection.
8647         (select-active-region): Function removed.
8648         (activate-mark, set-mark, push-mark-command)
8649         (handle-shift-selection): Don't call it.
8650         (keyboard-quit): Avoid adding the region to the window selection.
8652         * mouse.el (mouse-drag-track): Remove hacks to deal with old
8653         select-active-regions implementation.
8654         (mouse-yank-at-click): Doc fix.
8656         * cus-start.el: Add custom declaration for select-active-regions.
8658 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
8660         * simple.el (delete-forward-char): Doc fix.
8662         * tutorial.el (help-with-tutorial): Hack safe file-local variables
8663         after reading the tutorial.
8665 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
8667         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8668         Fix for the case that a C style comment has its delimiters alone on
8669         their respective lines.  (Bug#193)
8671 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
8673         * net/tramp.el (tramp-handle-start-file-process): Set connection
8674         property "vec".
8675         (tramp-process-sentinel): Use it for flushing the cache.
8676         We cannot do it via the process buffer, the buffer could be deleted
8677         already when running the sentinel.
8679 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
8681         * comint.el (comint-mode): Make directory tracking functions
8682         functional on remote files.  (Bug#6764)
8684 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
8686         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8688 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
8690         * emacs-lisp/find-gc.el (find-gc-source-files):
8691         Rename unexec.c => unexcoff.c.
8693         * emacs-lisp/authors.el (authors-fixed-entries):
8694         Rename unexec.c => unexcoff.c.
8696 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
8698         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8699         cache, not only file cache.
8700         (tramp-process-sentinel): New defun.
8701         (tramp-handle-start-file-process): Use it, in order to invalidate
8702         file caches.
8704 2010-08-03  Leo  <sdl.web@gmail.com>
8706         * server.el (server-start): Simplify loop.
8708 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8710         * frame.el (screen-height, screen-width, set-screen-width)
8711         (set-screen-height): Remove ancient compatibility aliases.
8713         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8714         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
8716         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8717         that change current buffer.
8719 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8721         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8722         beginning of the string.  Use `string-match-p'.  (Bug#6765)
8724 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
8726         * cus-start.el (x-gtk-use-system-tooltips): New variable.
8728 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
8730         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8731         (package--builtins): Tweak descriptions.
8732         (package-print-package): Upcase descriptions if necessary.
8733         Show all built-in packages in font-lock-builtin-face.
8734         (package-list-packages-internal): Omit "emacs" package.
8735         Show status of built-in packages as "built-in".
8737 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
8739         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
8740         before killing to preserve the primary selection (Bug#6701).
8742         * term/x-win.el (x-select-text): Doc fix.
8744 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
8746         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8747         (objc-font-lock-extra-types):
8748         * progmodes/cc-mode.el (c-basic-common-init):
8749         * progmodes/cc-langs.el (c-make-mode-syntax-table)
8750         (c++-make-template-syntax-table)
8751         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8752         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8753         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8754         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8755         * progmodes/cc-fonts.el (c-make-inverse-face)
8756         (c-basic-matchers-after):
8757         * progmodes/cc-engine.el (c-forward-keyword-clause)
8758         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8759         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8760         (c-guess-continued-construct, c-guess-basic-syntax):
8761         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8762         The above functions were modified or created.
8764 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
8766         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8768 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
8770         * files.el (bidi-paragraph-direction): Define safe local values.
8772         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8773         language-info-alist.  Remove outdated FIXME in a comment.
8775 2010-07-31  Alan Mackenzie  <acm@muc.de>
8777         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8778         Auto-fill broken in C/C++ modes.
8780 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
8782         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8783         (menu-bar-showhide-tool-bar-menu-customize-disable)
8784         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8785         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8786         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8787         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8788         make a menu for Options => toolbar that can move it.
8790 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
8792         * emacs-lisp/package-x.el (package--make-rss-entry):
8793         (package-maint-add-news-item, package--update-news)
8794         (package-upload-buffer-internal): New arg ARCHIVE-URL.
8796         * emacs-lisp/package.el (package-archive-url): Rename from
8797         package-archive-id.
8798         (package-install): Doc fix.
8799         (package-download-single, package-download-tar, package-install)
8800         (package-menu-view-commentary): Callers changed.
8802 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
8804         * net/tramp.el (tramp-handle-start-file-process): Check only for
8805         `remote-tty' process property.
8806         (tramp-open-shell): Don't check for tty.
8807         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8808         process property.
8810         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8811         host.
8813 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
8815         * emacs-lisp/package.el (package-load-list, package-archives)
8816         (package-archive-contents, package-user-dir)
8817         (package-directory-list, package--builtins, package-alist)
8818         (package-activated-list, package-obsolete-alist): Mark as risky.
8820 2010-07-28  Phil Hagelberg  <phil@evri.com>
8822         Add support for non-default package repositories.
8823         * emacs-lisp/package.el (package-archive-base): Var deleted.
8824         (package-archives): New variable.
8825         (package-archive-contents): Doc fix.
8826         (package-load-descriptor): Do nothing if descriptor file is missing.
8827         (package--write-file-no-coding): New function.
8828         (package-unpack-single): Use it.
8829         (package-archive-id): New function.
8830         (package-download-single, package-download-tar)
8831         (package-menu-view-commentary): Use it.
8832         (package-installed-p): Make second argument optional.
8833         (package-read-all-archive-contents): New function.
8834         (package-initialize): Use it.
8835         (package-read-archive-contents): Add ARCHIVE argument.
8836         (package--add-to-archive-contents): New function.
8837         (package-install): Don't call package-read-archive-contents.
8838         (package--download-one-archive): Store archive file in a
8839         subdirectory of package-user-dir.
8840         (package-menu-execute): Remove spurious line movement.
8842 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
8844         * cus-start.el (tool-bar-style): Add text-image-horiz.
8846 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8848         * progmodes/gud.el (gud-common-init): Check for remoteness of
8849         `file', and not of `default-directory'.
8851 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8853         * net/tramp.el (tramp-methods): Move hostname to the end in all
8854         ssh `tramp-login-args'.
8855         (tramp-verbose): Describe verbose level 9.
8856         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8857         (tramp-open-connection-setup-interactive-shell): Trace stty
8858         settings if `tramp-verbose' >= 9.
8859         (tramp-handle-start-file-process): Implement tty setting.
8860         (Bug#4604, Bug#6360)
8862         * net/tramp-cmds.el (tramp-bug): Recommend setting of
8863         `tramp-verbose' to 9.
8865 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
8867         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8868         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8869         Remove references to package `lisp-re' (bug#4369).
8871 2010-07-27  Tom Tromey  <tromey@redhat.com>
8873         * progmodes/js.el (js-mode):
8874         * progmodes/make-mode.el (makefile-mode):
8875         * progmodes/simula.el (simula-mode):
8876         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8878 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
8880         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8882         * time.el (display-time-day-and-date): Remove spurious * in docstring.
8883         (display-time-world-buffer-name, display-time-world-mode-map):
8884         Fix typos in docstrings.
8886 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
8888         * image-mode.el (image-display-size): New function.
8889         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8890         (image-mode-fit-frame): Use it (Bug#6639).
8892 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
8894         * dired.el (dired-buffers-for-dir): Handle list values of
8895         dired-directory (Bug#6636).
8897 2010-07-26  Sam Steingold  <sds@gnu.org>
8899         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8900         Do not call `x-get-selection' the second time, reuse the value.
8902 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
8904         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8905         which consist of control chars only.  Suggested by Richard Stallman.
8907 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
8909         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8910         exists before passing an error to find-file-not-found-functions
8911         (bug#6723).
8913 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
8915         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8916         Remove leading nil element, adjust values.
8917         (tetris-shapes, tetris-shape-scores):
8918         Change representation of shapes and remove some redundancy.
8919         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8920         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8921         Adjust for working with new representation of shapes.
8922         (tetris-shape-rotations): New function.
8923         (tetris-move-bottom, tetris-move-left, tetris-move-right)
8924         (tetris-rotate-prev, tetris-rotate-next):
8925         Adjust for working with the new version of tetris-test-shape.
8927 2010-07-23  Markus Triska  <markus.triska@gmx.at>
8929         * progmodes/ps-mode.el: Use comint (bug#5954).
8930         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8931         (ps-mode-other-newline): Simplify.
8932         (ps-run-mode): Derive from comint-mode instead of
8933         fundamental-mode, yielding input history etc.
8934         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8935         (ps-run-send-string): Adapt for comint-mode.
8936         (ps-run-newline): Remove now unneeded function.
8938 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8940         * net/tramp.el (tramp-methods): Move hostname to the end in all
8941         plink `tramp-login-args'.
8943 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8945         * net/tramp.el (tramp-open-shell): New defun.
8946         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8947         Use it.
8949 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8951         * net/tramp.el (tramp-file-name-regexp-unified)
8952         (tramp-completion-file-name-regexp-unified): On W32 systems, do
8953         not regard the volume letter as remote filename.  (Bug#5447)
8955 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
8957         * custom.el (custom-declare-variable): Give a clearer error message
8958         when the docstring is missing (bug#6476).
8960 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
8962         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
8963         (sql-login-params): New widget definition.
8964         (sql-oracle-login-params, sql-mysql-login-params)
8965         (sql-solid-login-params, sql-sybase-login-params)
8966         (sql-informix-login-params, sql-ingres-login-params)
8967         (sql-ms-login-params, sql-postgres-login-params)
8968         (sql-interbase-login-params, sql-db2-login-params)
8969         (sql-linter-login-params): Use it.
8970         (sql-sqlite-login-params): Use it; Define "database" parameter as
8971         a file name.
8972         (sql-sqlite-program): Change to "sqlite3".
8973         (sql-comint-sqlite): Make sure database name is complete.
8974         (sql-for-each-login): New function.
8975         (sql-connect, sql-save-connection): Use it.
8976         (sql-get-login-ext): New function.
8977         (sql-get-login): Use it.
8978         (sql-make-alternate-buffer-name): Handle :file parameters.
8980 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
8982         * dired.el (dired-no-confirm): Document value t and fix defcustom to
8983         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
8985 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
8987         * dired.el (dired-mode-map): Use command remapping (bug#6632).
8989 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
8991         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8993 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
8995         * net/tramp.el (tramp-get-ls-command)
8996         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8997         instead of "/".
8999 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
9001         * progmodes/sql.el: Version 2.3.
9002         (sql-connection-alist): Change keys from symbols to strings;
9003         enhanced the widget definition.
9004         (sql-mode-menu): Add submenu to select connections.
9005         (sql-interactive-mode-menu): Add "Save Connection" item.
9006         (sql-add-product): Fix menu item.
9007         (sql-get-product-feature): Improved error handling.
9008         (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9009         (sql-make-alternate-buffer-name): Simplified.
9010         (sql-product-interactive): Handle missing product.
9011         (sql-connect): Support string keys, minor improvements.
9012         (sql-save-connection): New function.
9013         (sql-connection-menu-filter): New function.
9015 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
9017         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9018         (tramp-open-connection-setup-interactive-shell):
9019         Apply workaround for IRIX64 bug.  Move argument of last
9020         `tramp-send-command' where it belongs to.
9022 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
9024         * net/tramp.el (tramp-perl-file-attributes)
9025         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9026         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9027         front of `login-args'.
9029 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
9031         * time.el (display-time-world-mode): Define with `define-derived-mode'.
9032         Set `show-trailing-whitespace' to nil.
9033         (display-time-world-display): Simplify.
9035 2010-07-18  Alan Mackenzie  <acm@muc.de>
9037         Enhance `c-file-style' in file/directory local variables.
9038         * progmodes/cc-mode.el (c-count-cfss): New function.
9039         (c-before-hack-hook): Call `c-set-style' differently according to
9040         whether c-file-style was set in file or directory local
9041         variables.
9043 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
9045         * progmodes/sql.el: Version 2.2.
9046         (sql-product, sql-user, sql-database, sql-server, sql-port):
9047         Use defcustom :safe keyword rather than putting safe-local-variable
9048         property.
9049         (sql-password): Use defcustom :risky keyword rather than putting
9050         risky-local-variable property.
9051         (sql-oracle-login-params, sql-sqlite-login-params)
9052         (sql-solid-login-params, sql-sybase-login-params)
9053         (sql-informix-login-params, sql-ingres-login-params)
9054         (sql-ms-login-params, sql-postgres-login-params)
9055         (sql-interbase-login-params, sql-db2-login-params)
9056         (sql-linter-login-params): Add `port' option.
9057         (sql-get-product-feature): Add NO-INDIRECT parameter.
9058         (sql-comint-oracle, sql-comint-sybase)
9059         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9060         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9061         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9062         (sql-comint-linter): Rename sql-connect-* functions to
9063         sql-comint-*.
9064         (sql-product-alist, sql-mode-menu): Rename as above and
9065         :sqli-connect-func to :sqli-comint-func.
9066         (sql-connection): New variable.
9067         (sql-interactive-mode): Set it.
9068         (sql-connection-alist): New variable.
9069         (sql-connect): New function.
9070         (sql--alt-buffer-part, sql--alt-if-not-empty)
9071         (sql-make-alternate-buffer-name): Improved alternative buffer name.
9073 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9075         * image-mode.el (image-bookmark-make-record): Do not set context
9076         in an image (Bug#6650).
9078 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
9080         * simple.el (select-active-region): New function.
9081         (push-mark-command, set-mark, activate-mark)
9082         (handle-shift-selection): Use it.
9083         (deactivate-mark): Don't check for size of region.
9085         * mouse.el (mouse-drag-track): Use select-active-region.
9087 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
9089         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9090         "--dired" stronger.
9092 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
9094         * term/x-win.el (x-select-enable-primary): Change default to nil.
9095         (x-select-enable-clipboard): Add :version keyword.
9097         * mouse.el (mouse-drag-copy-region):
9098         * simple.el (select-active-regions): Likewise.
9100 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
9102         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9103         (vc-coding-system-for-diff): Use it to decide whether to inherit
9104         from the file the EOL format for reading the diffs of that file.
9105         (Bug#4451)
9107 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
9109         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9110         unibyte, so compressed attachments are not compressed again.
9112 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
9114         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9115         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9116         (tramp-find-shell): Simplify setting connection property.
9117         (tramp-get-ls-command): Make test for "--color=never" stronger.
9119 2010-07-15  Simon South  <ssouth@member.fsf.org>
9121         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9122         blocks within record declarations (i.e. variant parts) correctly.
9124 2010-07-15  Simon South  <ssouth@member.fsf.org>
9126         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9127         over literal tokens when parsing so newlines aren't "absorbed" by
9128         single-line comments.  Corrects the indentation of case blocks
9129         that have a comment on the first line.
9131 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
9133         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9134         by Drew Adams (Bug#5504).
9136 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
9138         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9139         now that Unicode is used (Bug#6594).
9141 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
9143         * term/x-win.el (x-select-enable-clipboard): Default to t.
9144         (x-initialize-window-system): Don't overwrite Paste menu item.
9146         * simple.el (select-active-regions): Default to t.
9147         (push-mark-command): Don't overwrite primary with empty string.
9149         * mouse.el: Bind mouse-2 to mouse-yank-primary.
9150         (mouse-drag-copy-region): Default to nil.
9152         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9153         Cut/Copy/Paste menu bar items.
9155 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9157         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9158         Patch applied by Karl Fogel.
9160         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9161         and `bookmark-current-buffer' if they have been already set in
9162         another buffer (e.g gnus-art).
9164 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9165             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9167         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9169         * bookmark.el (bookmark-make-record-default): Allow unneeded
9170         information to be omitted from the record.
9172         Adjust declarations and calls:
9174         * info.el (bookmark-make-record-default): Adjust declaration.
9175         (Info-bookmark-make-record): Adjust call.
9177         * woman.el (bookmark-make-record-default): Adjust declaration.
9178         (woman-bookmark-make-record): Adjust call.
9180         * man.el (bookmark-make-record-default): Adjust declaration.
9181         (Man-bookmark-make-record): Adjust call.
9183         * image-mode.el (bookmark-make-record-default): Adjust declaration.
9185         * doc-view.el (bookmark-make-record-default): Adjust declaration.
9187 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9189         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9190         This is also from Thierry Volpiatto's patch in bug #6444.  However,
9191         because it was extraneous to the functional change in that patch,
9192         and causes a re-indendation, I am committing it separately.
9194 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9196         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9197         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9198         Patch applied by Karl Fogel (Bug#6444).
9200 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
9202         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9204 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
9206         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9207         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
9208         (ns-alternatives-map): Change S-tab binding to backtab
9209         (bug#6616).
9211         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9212         under ns.
9214 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
9216         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9217         (Bug#5806)
9219         * language/tv-util.el (tai-viet-re): Remove format.
9221 2010-07-12  Kenichi Handa  <handa@m17n.org>
9223         * language/hebrew.el: Remove no-byte-compile declaration.
9224         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
9225         composition-function-table for 3-character looking back.
9226         (hebrew-font-get-precomposed): New function.
9227         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9229 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
9231         * mouse.el (mouse-drag-track): Handle select-active-regions
9232         (Bug#6612).
9234 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
9236         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9237         empty argument to gvfs-copy.
9239 2010-07-10  Glenn Morris  <rgm@gnu.org>
9241         * calendar/calendar.el (calendar-week-end-day): New function.
9242         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9243         Respect calendar-week-start-day.  (Bug#6606)
9244         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9245         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9246         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9247         respect calendar-week-start-day.
9249 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
9251         * simple.el (use-region-p): Doc fix (Bug#6607).
9253 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
9255         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9256         Add regexps for cucumber and ruby.
9258 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
9260         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9261         (epa-file-insert-file-contents): Hack to prevent
9262         find-file from opening empty buffer when decryption failed
9263         (bug#6568).
9265 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
9267         * textmodes/ispell.el (ispell-alternate-dictionary):
9268         Use file-readable-p.
9269         Return nil if no word-list is found at default locations.
9270         (ispell-complete-word-dict): Default to nil.
9271         (ispell-command-loop): Use 'word-list' when using lookup-words.
9272         (lookup-words): Use ispell-complete-word-dict or
9273         ispell-alternate-dictionary.  Check for word-list availability
9274         and handle errors if needed with better messages (Bug#6539).
9275         (ispell-complete-word): Use ispell-complete-word-dict or
9276         ispell-alternate-dictionary.
9278 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
9280         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9281         builtins (BufferError, BytesWarning, WindowsError; callables
9282         bin, bytearray, bytes, format, memoryview, next, print; __package__).
9284 2010-07-07  Glenn Morris  <rgm@gnu.org>
9286         * play/zone.el (top-level): Do not require timer, tabify, or cl.
9287         (zone-shift-left): Ignore intangibility, and any errors from
9288         forward-char.
9289         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
9290         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9291         deleting, and copying text properties.
9292         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9293         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9294         to point-max is hard.
9295         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9296         (zone-fill-out-screen): Ignore intangibility.
9298 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
9300         * menu-bar.el (menu-bar-mode):
9301         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9302         if it has been set.
9304         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9305         word/line selection (Bug#6565).
9307 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
9309         * net/dbus.el (dbus-send-signal): Declare function.
9311 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
9313         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9314         (dbus-register-property): New optional argument EMITS-SIGNAL.
9315         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9317 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
9319         * mouse.el (mouse-drag-overlay): Variable deleted.
9320         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9321         (mouse--remap-link-click-p): New function.
9322         (mouse-drag-track): Handle dragging by using temporary Transient
9323         Mark mode, instead of a special overlay.
9324         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9325         mouse-show-mark.
9327         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9328         deleted.
9330 2010-07-02  Juri Linkov  <juri@jurta.org>
9332         * autoinsert.el (auto-insert-alist): Fix readability
9333         by using dotted pair notation for lambda.
9335 2010-07-02  Juri Linkov  <juri@jurta.org>
9337         * faces.el (read-face-name): Rename arg `string-describing-default'
9338         to `default'.  Doc fix.  Display the default value in quotes
9339         in the prompt.  With empty input, return the `default' arg,
9340         unless the default value is a string (in which case return nil).
9341         (describe-face): Replace the string `default' arg of `read-face-name'
9342         with the symbol `default'.
9344 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
9346         * emulation/viper-cmd.el (viper-delete-backward-char)
9347         (viper-del-backward-char-in-insert)
9348         (viper-del-backward-char-in-replace, viper-change)
9349         (viper-backward-indent): Replace delete-backward-char with
9350         delete-char (Bug#6552).
9352 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
9354         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9356 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9358         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9359         argument passed to frame-creation-function (Bug#5378).
9361         * faces.el (x-handle-named-frame-geometry)
9362         (x-handle-reverse-video, x-create-frame-with-faces)
9363         (face-set-after-frame-default, tty-create-frame-with-faces):
9364         Don't separately consult default-frame-alist.  It is now passed as the
9365         PARAMETER argument.
9367 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
9369         * startup.el (command-line): Don't call tool-bar-setup in a
9370         tty-only build.
9372 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9374         * ruler-mode.el (ruler--save-header-line-format): New fun.
9375         (ruler-mode): Use it as a setter function, so as not to overwrite
9376         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9378 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
9380         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
9381         (vc-root-diff, vc-print-root-log, vc-log-incoming)
9382         (vc-log-outgoing): Use it.
9383         (vc-diff-internal): Set diff-vc-backend.
9385         * vc/diff-mode.el (diff-vc-backend): New var.
9387 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
9389         * dynamic-setting.el (font-setting-change-default-font):
9390         Remove call to message.
9392 2010-06-28  Kenichi Handa  <handa@m17n.org>
9394         * international/quail.el (quail-insert-kbd-layout): Fix the
9395         showing of untranslated characters.
9397 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
9399         * simple.el (delete-active-region): New option.
9400         (delete-backward-char): Implement in Lisp.
9401         (delete-forward-char): New command.
9403         * mouse.el (mouse-region-delete-keys): Delete.
9404         (mouse-show-mark): Simplify.
9406         * bindings.el (global-map): Bind delete and DEL, the former to
9407         delete-forward-char.
9409 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
9411         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9412         (ruby-mode): Bind indent-line-function (Bug#5119).
9414 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9416         * startup.el (command-line): Recognize "0" X resource value.
9418 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9420         * startup.el (command-line): Use X resources to set the value of
9421         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9423         * menu-bar.el (menu-bar-mode):
9424         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9425         Set init-value to t.
9427         * frame.el (frame-notice-user-settings): Don't change
9428         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9429         vice versa (Bug#2249).
9431 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
9433         * w32-fns.el (w32-convert-standard-filename): Doc fix.
9435 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
9437         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9438         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9440         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9441         default directories are expanded (Bug#6143).
9443 2010-06-24  Juri Linkov  <juri@jurta.org>
9445         * minibuffer.el (completions-format): Change default from nil to
9446         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
9448 2010-06-24  Juri Linkov  <juri@jurta.org>
9450         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9451         buffer-locally to lambda that re-runs the vc diff command.
9452         (Bug#6447)
9454 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
9456         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9457         echo area is in use (Bug#3412).
9459 2010-06-22  Glenn Morris  <rgm@gnu.org>
9461         * textmodes/texinfmt.el (texinfo-format-region)
9462         (texinfo-raise-lower-sections, texinfo-format-separate-node)
9463         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9464         (texinfo-format-option, texinfo-noindent):
9465         Use line-beginning-position and line-end-position.
9467         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9468         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9469         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9470         utf-8 characters.
9472 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
9474         * play/zone.el (zone-fall-through-ws): Fix next-line ->
9475         forward-line fallout.
9477 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
9479         * mouse.el (mouse-appearance-menu): Add docstring.
9481         * help.el (describe-key): Print up-event using key-description.
9483 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
9485         * net/zeroconf.el (zeroconf-resolve-service)
9486         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9487         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9489 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
9491         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9493 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
9495         Avoid displaying files with a nil state in vc-dir.
9496         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9497         cases that cause insertion.
9498         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9499         with a nil state.
9501 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9503         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9505 2010-06-29  Leo  <sdl.web@gmail.com>
9507         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
9509 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9511         * generic-x.el (bat-generic-mode): Fix regexp for command line
9512         switches (Bug#5719).
9514 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
9516         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9517         of nconc to avoid pure storage error (Bug#6239).
9519 2010-06-27  Christoph Scholtes  <cschol2112@googlemail.com>
9521         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9522         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9523         bindings of bookmark-automatically-show-annotations (Bug#6515).
9525 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
9527         * arc-mode.el (archive-zip-extract): Don't quote the file name on
9528         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
9530 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9532         * comint.el (make-comint, make-comint-in-buffer): Mention return
9533         value in the docstrings.  (Bug#6498)
9535 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
9537         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9538         since it is not present when using some non-default switches.
9540 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
9542         * simple.el (compose-mail): Fix doc string to refer to
9543         `compose-mail-user-agent-warnings', instead of to the
9544         nonexistent `compose-mail-check-user-agent'.
9546 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
9548         Fix an indentation bug:
9550         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9551         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9552         of existing values.
9554         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9555         (c-clear->-pair-props-if-match-before): now return t when they've
9556         cleared properties, nil otherwise.
9557         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9558         by taking account of the existing value.
9560         * progmodes/cc-defs.el
9561         (c-clear-char-property-with-value-function): Fix this to clear the
9562         property rather than overwriting it with nil.
9564 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
9566         * emacs-lisp/package.el (package-print-package): Add link to
9567         package description via describe-package.
9568         (describe-package-1): List package requirements.  Add button to
9569         perform installation.
9570         (package-menu-describe-package): New command.
9572         * help-mode.el (help-package): New button type.
9574 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
9576         * emacs-lisp/package.el: Move package-list-packages binding to
9577         menu-bar.el.
9578         (describe-package, describe-package-1, package--dir): New funs.
9579         (package-activate-1): Use package--dir.
9581         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9583         * help-mode.el (help-package-def): New button type.
9585         * menu-bar.el: Move package-list-packages binding here from
9586         package.el.
9588 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
9590         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
9592 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9594         * emacs-lisp/edebug.el (edebug-read-list):
9595         Phase out old-style backquotes.
9597 2010-06-17  Juri Linkov  <juri@jurta.org>
9599         * help-mode.el (help-mode): Set buffer-local variable
9600         revert-buffer-function to help-mode-revert-buffer.
9601         (help-mode-revert-buffer): New function.
9603         * info.el (Info-revert-find-node): Check for major-mode Info-mode
9604         before popping to "*info*" (like in other Info functions).
9605         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
9606         old-history-forward.  Pop to old-buffer-name or "*info*" to
9607         recreate the killed buffer.  Set Info-history-forward from
9608         old-history-forward.
9609         (Info-breadcrumbs-depth): Add :group and :version.
9611 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
9613         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9615 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
9617         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9618         for languages like Portuguese with pt_{BR,PT} and no plain pt.
9620 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
9622         * emacs-lisp/package.el (package-menu-mode-map):
9623         Move initialization into declaration.
9625         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9627 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
9629         * emacs-lisp/package.el (package-archive-base): Point to
9630         elpa.gnu.org.
9631         (package-enable, package-load-list): New defcustoms.
9632         (package-user-dir, package-directory-list): Turn into defcustoms.
9633         Don't include package-user-dir in package-directory-list.
9634         (package--builtins-base): Don't include Emacs as a "package".
9635         (package-subdirectory-regexp): New var.
9636         (package-load-all-descriptors, package-compute-transaction)
9637         (package-download-transaction): Obey package-load-list.
9638         (package-activate-1): Rename from package-do-activate.
9639         (package-list-packages-internal): Check package-load-list.
9640         (package-load-descriptor, package-generate-autoloads)
9641         (package-unpack, package-unpack-single)
9642         (package--read-archive-file, package-delete):
9643         Use expand-file-name.
9645         * emacs-lisp/package-x.el: New file.  Package uploading
9646         functionality split out from package.el.
9648         * startup.el (command-line): Load packages after reading init file.
9650 2010-06-17  Tom Tromey  <tromey@redhat.com>
9652         * emacs-lisp/package.el: New file.
9654 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9656         Fix vc-annotate for renamed files when using Git.
9657         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9658         ls-files.  Doe not pass the object as a file name to cat-file, it
9659         is not a file name.
9660         (vc-git-annotate-command): Pass the file name using -- to avoid
9661         ambiguity with the revision.
9662         (vc-git-previous-revision): Pass a relative file name.
9664 2010-06-22  Glenn Morris  <rgm@gnu.org>
9666         * progmodes/js.el (js-mode-map): Use standard capitalization and
9667         ellipses for menu entries.
9669         * wid-edit.el (widget-complete): Doc fix.
9671 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
9673         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9675 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9677         Fix annotating other revisions for renamed files in vc-annotate.
9678         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9679         VC backend.  Use it when non-nil.
9680         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9681         (Bug#6487).
9683         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9684         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9685         Do not pass the file name to the 'previous-revision call when we
9686         don't want a file diff.  (Bug#6489)
9688 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9690         Fix finding revisions for renamed files in vc-annotate.
9691         * vc/vc.el (vc-find-revision): Add an optional argument for
9692         the VC backend.  Use it when non-nil.
9693         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9694         backend to vc-find-revision.  (Bug#6487)
9696 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9698         Fix reading file names in Git annotate buffers.
9699         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9700         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
9702 2010-06-20  Alan Mackenzie  <acm@muc.de>
9704         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9705         in file local variables, set it first.
9707 2010-06-19  Glenn Morris  <rgm@gnu.org>
9709         * descr-text.el (describe-char-unicode-data): Insert separating
9710         space when needed.  (Bug#6422)
9712         * progmodes/idlwave.el (idlwave-action-and-binding):
9713         Fix typo in 2009-12-03 change.  (Bug#6450)
9715 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9717         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9718         handling for `lambda' (misunderstanding).
9720 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
9722         * calc/calc-poly.el (math-accum-factors): Make sure that
9723         constants aren't distributed after they are factored out.
9725 2010-06-16  Juri Linkov  <juri@jurta.org>
9727         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9728         `list-colors-print'.  (Bug#6332)
9730         * subr.el (read-quoted-char): Fix up last change (bug#6290).
9732 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9734         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9735         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
9737         * font-lock.el (font-lock-major-mode): Rename from
9738         font-lock-mode-major-mode to distinguish it from
9739         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9740         (font-lock-set-defaults):
9741         * font-core.el (font-lock-default-function): Adjust users.
9742         (font-lock-mode): Don't set it at all.
9744 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9746         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9748 2010-06-16  Glenn Morris  <rgm@gnu.org>
9750         * calendar/appt.el (appt-time-msg-list): Doc fix.
9751         (appt-check): Let-bind appt-warn-time.
9752         (appt-add): Make the 3rd argument optional.
9753         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
9754         Only add WARNTIME to the output list if non-nil.
9756 2010-06-16  Ivan Kanis  <apple@kanis.eu>
9758         * calendar/appt.el (appt-check): Let the 3rd element of
9759         appt-time-msg-list specify the warning time.
9760         (appt-add): Add new argument with the warning time.  (Bug#5176)
9762 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9764         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9765         older than version 1.6.  (Bug#6361)
9767 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
9769         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9770         used by cl-do-arglist.  (Bug#6408)
9772 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
9774         * textmodes/ispell.el (ispell-dictionary-base-alist):
9775         Fix portuguese casechars/not-casechars for missing 'çÇ'.
9776         Suggested by Rolando Pereira (bug#6434).
9778 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
9780         * facemenu.el (list-colors-sort): Doc fix.
9782 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9784         * progmodes/sql.el (sql-connect-mysql): Fix typo.
9786 2010-06-14  Juri Linkov  <juri@jurta.org>
9788         Add sort option `list-colors-sort'.  (Bug#6332)
9789         * facemenu.el (color-rgb-to-hsv): New function.
9790         (list-colors-sort): New defcustom.
9791         (list-colors-sort-key): New function.
9792         (list-colors-display): Doc fix.  Sort list according to the option
9793         `list-colors-sort'.
9794         (list-colors-print): Add HSV values to `help-echo' property of
9795         RGB strings.
9797 2010-06-14  Juri Linkov  <juri@jurta.org>
9799         * compare-w.el: Move to the "vc" subdirectory.
9801 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9803         * image-mode.el (image-mode-map): Remap left-char and right-char.
9805         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9807 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
9809         * term/common-win.el (x-colors): Add all the color names defined
9810         in rgb.txt (Bug#6332).
9812         * facemenu.el (list-colors-print): Don't print extra names if it
9813         will overflow the window width.
9815         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9816         change (Bug#6343).
9818 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
9820         * files.el (make-directory): Doc fix (bug#6396).
9822 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
9824         * net/tramp.el (tramp-remote-process-environment): Protect version
9825         string by apostroph.
9826         (tramp-shell-prompt-pattern): Do not use a shy group in case of
9827         XEmacs.
9828         (tramp-file-name-for-operation): Add `call-process-region'.
9829         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9831         * net/tramp-compat.el (top): Do not autoload
9832         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
9833         only when `start-file-process' is not bound.
9834         (tramp-advice-file-expand-wildcards): Do not use
9835         `tramp-handle-file-remote-p'.
9836         (tramp-compat-make-temp-file): Handle the case, that
9837         `make-temp-file' has no third argument EXTENSION.
9839 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
9841         * makefile.w32-in (WINS_BASIC): Include new directory vc.
9843         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9845 2010-06-11  Juri Linkov  <juri@jurta.org>
9847         * finder.el (finder-known-keywords): Add keyword "vc"
9848         for version control.
9850         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9851         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9852         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9853         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9855 2010-06-11  Juri Linkov  <juri@jurta.org>
9857         Move version control related files to the "vc" subdirectory.
9858         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9859         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9860         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9861         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9862         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9863         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9864         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9865         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9866         Move files to the "vc" subdirectory.
9868 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
9870         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9871         (Bug#6367).
9873 2010-06-11  Stephen Eglen  <stephen@gnu.org>
9875         * shell.el: Bind `shell-resync-dirs' to M-RET.
9877 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
9879         * notifications.el: Move file from lisp/net, because it is
9880         supposed to talk locally to the user.
9882 2010-06-10  Julien Danjou  <julien@danjou.info>
9884         * net/notifications.el (notifications-on-action-signal)
9885         (notifications-on-closed-signal): Pass notification id as first
9886         argument to the callback functions.  Add docstrings.
9887         (notifications-notify): Fix docstring.
9889 2010-06-10  Glenn Morris  <rgm@gnu.org>
9891         * emacs-lisp/authors.el (authors-ignored-files)
9892         (authors-valid-file-names): Add some files.
9894 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9896         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9897         merge conflict, giving preference to the emacs-23 version of the code.
9899 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9901         * emacs-lisp/advice.el (ad-compile-function):
9902         Define warning-suppress-types before we let-bind it (bug#6275).
9904         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9905         declare it, make it buffer-local and permanent-local (bug#6324).
9906         (vc-resynch-window): Adjust name.
9907         * vc-hooks.el (vc-find-file-hook): Adjust name.
9909 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
9911         * net/notifications.el (notifications-notify): Fix docstring.
9913 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9915         Update to Unicode 6.0.0 beta.
9916         * international/charprop.el: Update copyright.
9917         * international/mule-cmds.el (ucs-names): Update character ranges.
9918         * international/uni-bidi.el:
9919         * international/uni-category.el:
9920         * international/uni-combining.el:
9921         * international/uni-comment.el:
9922         * international/uni-decimal.el:
9923         * international/uni-decomposition.el:
9924         * international/uni-digit.el:
9925         * international/uni-lowercase.el:
9926         * international/uni-mirrored.el:
9927         * international/uni-name.el:
9928         * international/uni-numeric.el:
9929         * international/uni-old-name.el:
9930         * international/uni-titlecase.el:
9931         * international/uni-uppercase.el: Regenerate.
9933 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9935         * emacs-lisp/smie.el (comment-string-strip): Declare function.
9936         (smie-precs-precedence-table): Fix typo in docstring.
9938         * vc-mtn.el (log-edit-extract-headers): Declare function.
9940         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9942         * net/notifications.el (dbus-register-signal): Declare function.
9943         (notifications-notify): Fix typos and reflow docstring.
9945 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9947         Improve VC create/retrieve tag/branch.
9948         * vc.el (vc-create-tag): Do not read the directory name for VCs
9949         with repository revision granularity.  Adjust the tag/branch
9950         prompt.  Reset VC properties.
9951         (vc-retrieve-tag): Do not read the directory name for VCs
9952         with repository revision granularity.  Reset VC properties.
9954 2010-06-09  Julien Danjou  <julien@danjou.info>
9956         * net/notifications.el: New file.
9958 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9960         Add optional support for resetting VC properties.
9961         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9962         call vc-file-clearprops when true.
9963         (vc-resynch-buffer): Add new optional argument, pass it down.
9964         (vc-resynch-buffers-in-directory): Likewise.
9966         Improve support for special markup in the VC commit message.
9967         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9968         * vc-hg.el (vc-hg-checkin): Add support for Date:.
9969         * vc-git.el (vc-git-checkin):
9970         * vc-bzr.el (vc-bzr-checkin): Likewise.
9972 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9974         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9975         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9977 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
9979         * iimage.el: Remove images as soon as the underlying text is modified.
9980         (iimage-modification-hook): New function.
9981         (iimage-mode-buffer): Use it.
9983 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9985         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9986         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
9987         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
9988         (smie-indent-keyword): Add handling of open-paren keywords.
9989         (smie-indent-comment-continue): Don't assume comment-continue.
9991 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
9993         * window.el (pop-to-buffer): Remove the conditional that
9994         compares new-window and old-window, so it will reselect
9995         the selected window unconditionally.
9996         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9998 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10000         * emacs-lisp/smie.el (smie-indent-offset-after)
10001         (smie-indent-forward-token, smie-indent-backward-token): New functions.
10002         (smie-indent-after-keyword): Use them.
10003         (smie-indent-fixindent): Only applies to the indentation of the BOL.
10004         (smie-indent-keyword): Tweak the black magic.
10005         (smie-indent-comment-continue): Strip comment-continue before use.
10006         (smie-indent-functions): Indent comments before keywords.
10008 2010-06-06  Juri Linkov  <juri@jurta.org>
10010         * isearch.el (isearch-lazy-highlight-search): Fix looping
10011         by checking for empty match.  This syncs this loop with the
10012         similar loop in `isearch-search'.  (Bug#6362)
10014 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
10016         * net/dbus.el (dbus-register-method): Declare function.
10017         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10018         (dbus-introspect): Doc fix.
10019         (dbus-event-bus-name, dbus-introspect-get-interface)
10020         (dbus-introspect-get-argument): Reflow docstrings.
10022 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
10024         vc-log-incoming/vc-log-outgoing fixes for Git.
10025         * vc-git.el (vc-git-log-view-mode): Fix font lock for
10026         incoming/outgoing logs.
10027         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10028         instead of vc-git-compute-remote.
10029         (vc-git-compute-remote): Remove.
10031 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
10033         * term/common-win.el (x-colors): Add "dark green" and "dark
10034         turquoise" (Bug#6332).
10036 2010-06-04  Juri Linkov  <juri@jurta.org>
10038         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10039         Instead of setting `replace' to t and replacing the same string
10040         with itself, don't do certain actions when
10041         kill-do-not-save-duplicates is non-nil and string is equal to car
10042         of kill-ring: don't call menu-bar-update-yank-menu, don't push
10043         interprogram-paste strings to kill-ring, and don't push the input
10044         argument `string' to kill-ring.
10045         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10047 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
10049         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10051 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
10053         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10054         (tramp-gvfs-handler-mounted-unmounted)
10055         (tramp-gvfs-connection-mounted-p): Handle default-location.
10057         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10058         move files to trash.
10060 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
10062         * international/mule-cmds.el (nonascii-insert-offset)
10063         (nonascii-translation-table): Add obsolescence information.
10065         * international/mule.el (make-translation-table-from-vector): Doc fix.
10067 2010-06-03  Glenn Morris  <rgm@gnu.org>
10069         * desktop.el (desktop-clear-preserve-buffers):
10070         Add "*Warnings*" buffer.  (Bug#6336)
10072 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
10074         vc-log-incoming/vc-log-outgoing improvements for Git.
10075         * vc-git.el (vc-git-log-outgoing): Use the same format as the
10076         short log.
10077         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
10079         Add bindings for vc-log-incoming and vc-log-outgoing.
10080         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10081         and vc-log-outgoing.
10082         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10083         and vc-log-outgoing.
10085 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
10087         * net/rcirc.el (rcirc-sort-nicknames): Remove.
10088         (rcirc-handler-366): Always sort nicknames.
10090 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
10092         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10094 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
10096         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10098 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10100         * net/rcirc.el (rcirc-sort-nicknames): Change default.
10101         (rcirc-sort-nicknames-join): Avoid setq.
10103 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
10105         * net/rcirc.el (rcirc-sort-nicknames): New custom.
10106         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10107         (rcirc-handler-366): Use them.
10109 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10111         Split smie-indent-calculate into more manageable chunks.
10112         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10113         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10114         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10115         (smie-indent-exps): Extract from smie-indent-calculate.
10116         (smie-indent-functions): New var.
10117         (smie-indent-functions): Use them.
10119 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10121         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10122         (smie-indent-calculate): Simplify and cleanup.
10124 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
10126         * net/tramp-gvfs.el (top): Require url-util.
10127         (tramp-gvfs-mount-point): Remove.
10128         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10129         New defuns.
10130         (with-tramp-dbus-call-method): Format trace message.
10131         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10132         Implement backup call, when operation on local files fails.
10133         Use progress reporter.  Flush properties of changed files.
10134         (tramp-gvfs-handle-make-directory): Make more traces.
10135         (tramp-gvfs-url-file-name): Hexify file name in url.
10136         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10137         into account for the resulting file name.
10138         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10139         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
10140         (tramp-gvfs-handler-mounted-unmounted)
10141         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10142         attribute "default_location".  Set "prefix" property.
10143         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10144         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10145         exists.  Raise an error, if not (due to a corresponding answer
10146         "no" in interactive questions, for example).
10148 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
10150         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10152 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
10154         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10155         right-*.  (Bug#6265)
10157 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
10159         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10160         * vc-git.el (vc-git-compute-remote): New function.
10161         (vc-git-log-outgoing): Use it instead of hard coding a value.
10162         (vc-git-log-incoming): New function.
10164         Improve state updating for VC tag commands.
10165         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10166         to update the state of all buffers in the directory.
10168         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10170 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10172         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10173         `file-directory-p' to the filename part rather than to the whole text.
10175 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10177         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10179 2010-05-31  Drew Adams  <drew.adams@oracle.com>
10181         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10183 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
10185         * subr.el (momentary-string-display): Just use read-event to read
10186         the exit event (Bug#6238).
10188 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
10190         * international/mule.el (define-coding-system): Doc fix (bug#6313).
10192 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10194         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10195         Suggested by Eli Zaretskii <eliz@gnu.org>.
10197 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10199         * minibuffer.el (completion-file-name-table): Don't return a boundary
10200         past the end of `string' (bug#6299).
10201         (completion--file-name-table): Delegate to completion-file-name-table
10202         for the `boundaries' case.
10204 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10206         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10207         movement commands.
10209         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10210         `path-separator', but maintain compatibility with Emacs 20.2.
10212 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10214         * server.el (server-process-filter): Receive parent-id argument
10215         from emacsclient.
10216         (server-create-window-system-frame): New arg.  Pass parent-id as
10217         frame parameter.
10219 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
10221         Bidi-sensitive word movement with arrow keys.
10222         * subr.el (right-arrow-command, left-arrow-command): Move to
10223         bindings.el.
10225         * bindings.el (right-char, left-char): Move from subr.el and
10226         rename from right-arrow-command and left-arrow-command.
10227         (right-word, left-word): New functions.
10228         (global-map) <right>: Bind to right-char.
10229         (global-map) <left>: Bind to left-char.
10230         (global-map) <C-right>: Bind to right-word.
10231         (global-map) <C-left>: Bind to left-word.
10233         * ls-lisp.el (ls-lisp-classify-file): New function.
10234         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10235         (ls-lisp-classify): Call ls-lisp-classify-file.
10236         (insert-directory): Remove blanks from switches.
10238 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10240         * ansi-color.el: Delete unused escape sequences (Bug#6085).
10241         (ansi-color-drop-regexp): New constant.
10242         (ansi-color-apply, ansi-color-filter-region)
10243         (ansi-color-apply-on-region): Delete unrecognized control sequences.
10244         (ansi-color-apply): Build string list before calling concat.
10246 2010-05-28  Juri Linkov  <juri@jurta.org>
10248         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10249         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10250         (Bug#5270)
10252 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10254         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10255         to ignored backtrace functions.
10256         (with-progress-reporter): Expand docstring.
10257         (tramp-handle-delete-file): Implement TRASH argument.
10258         (tramp-get-remote-trash): New defun.
10260 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10262         * net/tramp-compat.el (tramp-compat-delete-file):
10263         Use `symbol-value' for backward compatibility.
10265         * net/tramp.el (tramp-handle-make-symbolic-link)
10266         (tramp-handle-load)
10267         (tramp-do-copy-or-rename-file-via-buffer)
10268         (tramp-do-copy-or-rename-file-directly)
10269         (tramp-do-copy-or-rename-file-out-of-band)
10270         (tramp-handle-process-file, tramp-handle-call-process-region)
10271         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10272         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10273         (tramp-delete-temp-file-function): Use `delete-file' instead
10274         of `tramp-compat-delete-file'.
10276         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10277         (tramp-fish-handle-make-symbolic-link)
10278         (tramp-fish-handle-process-file): Use `delete-file' instead
10279         of `tramp-compat-delete-file'.
10281         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10282         Use `delete-file' instead of `tramp-compat-delete-file'.
10284         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10285         `delete-file' instead of `tramp-compat-delete-file'.
10287         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10288         Use `delete-file' instead of `tramp-compat-delete-file'.
10290         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10291         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10292         (tramp-smb-handle-write-region): Use `delete-file' instead of
10293         `tramp-compat-delete-file'.
10294         (tramp-smb-handle-delete-directory): Use 'trash as arg.
10296 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10298         * dired.el (dired-delete-file): New arg TRASH.
10299         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
10300         (dired-do-flagged-delete, dired-do-delete): Use trash.
10302         * speedbar.el (speedbar-item-delete): Allow trashing.
10304         * files.el (delete-directory): New arg TRASH.
10306         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10307         (ange-ftp-rename-remote-to-remote)
10308         (ange-ftp-rename-local-to-remote)
10309         (ange-ftp-rename-remote-to-local, ange-ftp-load)
10310         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10311         `delete-file'.
10312         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10313         allow trashing.
10315         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10316         handle new TRASH arg of `delete-file'.
10318         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10319         (tramp-handle-make-symbolic-link, tramp-handle-load)
10320         (tramp-do-copy-or-rename-file-via-buffer)
10321         (tramp-do-copy-or-rename-file-directly)
10322         (tramp-do-copy-or-rename-file-out-of-band)
10323         (tramp-handle-process-file, tramp-handle-call-process-region)
10324         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10325         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10326         (tramp-delete-temp-file-function): Use null TRASH arg in
10327         tramp-compat-delete-file call.
10329         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10330         (tramp-fish-handle-delete-file)
10331         (tramp-fish-handle-make-symbolic-link)
10332         (tramp-fish-handle-process-file): Use null TRASH arg in
10333         `tramp-compat-delete-file' call.
10335         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10336         arg in `tramp-compat-delete-file' call.
10338         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10339         (tramp-gvfs-handle-write-region): Use null TRASH arg in
10340         `tramp-compat-delete-file' call.
10342         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10343         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10344         `tramp-compat-delete-file' call.
10346         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10347         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10348         (tramp-smb-handle-write-region): Use null TRASH arg in
10349         tramp-compat-delete-file call.
10350         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10351         (tramp-smb-handle-delete-file): Rename arg.
10353         * diff.el (diff-sentinel):
10354         * epg.el (epg--make-temp-file, epg-decrypt-string)
10355         (epg-verify-string, epg-sign-string, epg-encrypt-string):
10356         * jka-compr.el (jka-compr-partial-uncompress)
10357         (jka-compr-call-process, jka-compr-write-region):
10358         * server.el (server-sentinel): Remove optional arg from
10359         delete-file, reverting 2010-05-03 change.
10361 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10363         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10364         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10366 2010-05-27  Kenichi Handa  <handa@m17n.org>
10368         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10369         element of GSTRING is nil.
10371 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10373         * emacs-lisp/smie.el (smie-forward-token-function)
10374         (smie-backward-token-function): New vars.
10375         (smie-backward-sexp, smie-forward-sexp)
10376         (smie-indent-hanging-p, smie-indent-calculate): Use them.
10377         (smie-default-backward-token): Rename from smie-backward-token and
10378         skip comments.
10379         (smie-default-forward-token): Rename from smie-forward-token and
10380         skip comments.
10381         (smie-next-sexp): Handle nil results from next-token.
10382         (smie-indent-calculate): Add a new case for special `fixindent' comments.
10384 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10386         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10387         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10389 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
10391         * htmlfontify.el (hfy-face-resolve-face): New function.
10392         (hfy-face-to-style): Use it (Bug#6279).
10394 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10396         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10397         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10399 2010-05-26  Glenn Morris  <rgm@gnu.org>
10401         * emulation/edt.el (edt-load-keys): Use locate-library.
10403 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
10405         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10406         (log-edit-changelog-entries): Doc fix.
10407         (log-edit-changelog-insert-entries): Args changed.
10408         Rename relative filenames in ChangeLog entries.  Delete tabs.
10409         (log-edit-insert-changelog-entries): Reorganize return value of
10410         `log-edit-changelog-entries' to pass filenames to
10411         log-edit-changelog-insert-entries.
10413 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10415         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10416         `image-dired-dired-insert-marked-thumbs' to
10417         `image-dired-dired-toggle-marked-thumbs'.
10419         * image-dired.el: Require cl when compiling.
10420         (image-dired-dired-toggle-marked-thumbs): Rename from
10421         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
10422         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
10423         to 'no-dir.  Skip files whose names don't match
10424         `image-file-name-regexp'.  When file has a thumbnail overlay,
10425         delete it.  (Bug#5270)
10427 2010-05-25  Juri Linkov  <juri@jurta.org>
10429         * image-mode.el (image-mode): Add image-after-revert-hook to
10430         after-revert-hook.
10431         (image-after-revert-hook): New function.  (Bug#5669)
10433 2010-05-25  Juri Linkov  <juri@jurta.org>
10435         * image.el (image-animated-p): When delay between animated images
10436         is 0, set it to 10 (0.1 sec).  (Bug#6258)
10438 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
10440         * net/tramp.el (tramp-handle-insert-directory): Don't use
10441         `forward-word', its default syntax could be changed.
10443 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
10445         * net/tramp.el (tramp-progress-reporter-update): New defun.
10446         (with-progress-reporter): Use it.
10447         (tramp-process-actions):
10448         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10449         Preserve current message, in order to let progress reporter continue
10450         afterwards.  (Bug#6257)
10452 2010-05-25  Glenn Morris  <rgm@gnu.org>
10454         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10455         Add :version.
10457 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10459         * net/rcirc.el (rcirc-default-user-name): Change to "user".
10460         (rcirc-default-full-name): Change to "unknown".
10461         (rcirc-user-name-history): Add variable.
10463 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10464             Jonathan Rockway  <jon@jrock.us>
10466         * net/rcirc.el (rcirc-server-alist): Add :pass.
10467         (rcirc): When prompting for connection parameters, also prompt for
10468         username and password.
10469         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
10470         value to server when connecting.
10472 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10474         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10475         (smie-merge-prec2s): Pass the tables as separate args.
10476         (smie-bnf-precedence-table): Adjust call accordingly.
10477         (smie-prec2-levels): Set levels at the end.
10479         Replace Lisp calls to delete-backward-char by delete-char.
10480         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10481         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10482         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10483         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10484         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10485         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10486         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10487         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10488         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10489         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10490         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10491         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10492         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10493         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10494         delete-backward-char by calls to delete-char.
10496 2010-05-25  Kenichi Handa  <handa@m17n.org>
10498         * language/hebrew.el (hebrew-shape-gstring): New function.
10499         Register it in composition-function-table for all Hebrew combining
10500         characters.
10502 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10504         * epa.el (epa--select-keys): Don't explicitly delete the window since
10505         that can fail (e.g. sole window in frame).  Use dedication instead.
10507 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10509         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10511 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
10513         * image.el (image-refresh): Define as an alias for image-flush.
10515         * image-mode.el (image-toggle-display-image): Caller changed.
10517 2010-05-21  Juri Linkov  <juri@jurta.org>
10519         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10520         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
10521         whitespace, call wildcard-to-regexp on substrings and concat them
10522         with "\\|".  (Bug#6114)
10524 2010-05-21  Alan Mackenzie  <acm@muc.de>
10526         * progmodes/cc-engine.el (c-parse-state-get-strategy):
10527         Replace parameter `here' with `here-' and `here-plus', which sandwich
10528         any pertinent CPP construct.
10529         (c-remove-stale-state-cache-backwards): Fix a bug which happens
10530         when doing (c-parse-state) in a CPP construct: Exclude any "new"
10531         CPP construct from taking part in the scanning.
10533 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
10535         * net/tramp.el (tramp-do-copy-or-rename-file)
10536         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10537         Tune `with-progress-reporter' messages.
10538         (tramp-handle-vc-registered):
10539         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10540         (tramp-fish-handle-insert-file-contents)
10541         (tramp-fish-maybe-open-connection):
10542         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10543         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10544         (tramp-imap-handle-insert-file-contents)
10545         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10547 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
10549         * add-log.el (change-log-font-lock-keywords):
10550         Highlight all authors in multi-author entries.
10552         * smerge-mode.el (smerge-refine-ignore-whitespace)
10553         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10554         Fix typos in docstrings.
10555         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10557 2010-05-21  Glenn Morris  <rgm@gnu.org>
10559         * progmodes/fortran.el (fortran-mode):
10560         * progmodes/f90.el (f90-mode): Derive from prog-mode.
10562         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10563         having a relative path in src/Makefile.in.
10565 2010-05-20  Kevin Ryde  <user42@zip.com.au>
10567         * help-mode.el (help-make-xrefs): For Info node links turn
10568         newlines into spaces.  Link node names with newlines are matched
10569         by help-xref-info-regexp and buttonized, this change ensures they
10570         can be followed successfully with RET.  (Bug#6206)
10572 2010-05-20  Juri Linkov  <juri@jurta.org>
10574         * locate.el (locate): Use pop-to-buffer instead of
10575         switch-to-buffer-other-window.  (Bug#6204)
10577 2010-05-20  Juri Linkov  <juri@jurta.org>
10579         * replace.el (replace-highlight): Fix lazy-highlighting
10580         for `M-s w str M-% str RET'.
10582 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
10584         * isearch.el (isearch-yank-word-or-char): Pull next subword
10585         when `subword-mode' is activated.  (Bug#6220)
10587 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
10589         * isearch.el (isearch-update-post-hook): New hook.
10590         (isearch-update): Use the new hook.  (Bug#6225)
10592 2010-05-20  Juri Linkov  <juri@jurta.org>
10594         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10595         [f1], [help], and (char-to-string help-char) instead of "\C-h".
10596         (Bug#6222)
10598 2010-05-20  Juri Linkov  <juri@jurta.org>
10600         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10601         (Bug#6223)
10603 2010-05-20  Juri Linkov  <juri@jurta.org>
10605         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10606         FILE-NAME to read from the minibuffer when called interactively
10607         with prefix argument instead of using buffer-file-name.
10608         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10610         * dired.el: Update autoloads.
10612 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
10614         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10615         nxml-finish-element, for consistency with SGML mode.
10617         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10618         octave-close-block.
10620 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
10622         * composite.el: Require cl when compiling.
10623         (reference-point-alist, compose-gstring-for-graphic)
10624         (compose-gstring-for-terminal): Fix typos in docstrings.
10626 2010-05-19  Juri Linkov  <juri@jurta.org>
10628         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10629         set-window-parameter.
10631 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10633         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10634         where appropriate.
10635         (tramp-maybe-open-connection): Use it.
10637 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
10639         * simple.el (move-end-of-line): Make sure we are at line beginning
10640         before backing up to end of previous line.
10642 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10644         * password-cache.el (password-cache-remove): Fix docstring.
10646         * net/secrets.el: Autoload the widget functions.
10647         (secrets-search-items, secrets-create-item)
10648         (secrets-get-attributes, secrets-expand-item): Attributes will be
10649         stored on the password database without leading ":", as all other
10650         clients do as well.
10651         (secrets-mode): Fix docstring.
10652         (secrets-show-secrets): Provide it as autoloaded command only when
10653         D-Bus support is available.  Check existence of Secret Service API.
10655 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10657         * indent.el (indent-region): Deactivate region (bug#6200).
10659 2010-05-19  Glenn Morris  <rgm@gnu.org>
10661         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
10663 2010-05-19  Kenichi Handa  <handa@m17n.org>
10665         * composite.el: Register compose-gstring-for-graphic in
10666         composition-function-table only for combining characters (Mn, Mc, Me).
10668 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
10670         * calc/calc-trail.el (calc-trail-isearch-forward)
10671         (calc-trail-isearch-backward): Ensure that the new window
10672         point is set correctly.
10674 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10676         * subr.el (read-quoted-char): Resolve modifiers after key
10677         remapping (bug#6212).
10679 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
10681         Add visualization code for secrets.
10682         * net/secrets.el (secrets-mode): New major mode.
10683         (secrets-show-secrets, secrets-show-collections)
10684         (secrets-expand-collection, secrets-expand-item)
10685         (secrets-tree-widget-after-toggle-function)
10686         (secrets-tree-widget-show-password): New defuns.
10688 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10690         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10691         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10692         handled in smie-next-sexp.
10693         (smie-indent-calculate): Provide a starting indentation (so the
10694         recursion is well-founded ;-).
10696         Fix handling of non-associative equal levels.
10697         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10698         when it's not needed.
10699         (smie-op-left, smie-op-right): New functions.
10700         (smie-next-sexp): New function, extracted from smie-backward-sexp.
10701         Better handle equal levels to distinguish the associative case from
10702         the "multi-keyword construct" case.
10703         (smie-backward-sexp, smie-forward-sexp): Use it.
10705 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
10707         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10709         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10710         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10712 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10714         Provide a simple generic indentation engine and use it for Prolog.
10715         * emacs-lisp/smie.el: New file.
10716         * progmodes/prolog.el (prolog-smie-op-levels)
10717         (prolog-smie-indent-rules): New var.
10718         (prolog-mode-variables): Use them to configure SMIE.
10719         (prolog-indent-line, prolog-indent-level): Remove.
10721 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10723         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10724         order before computing the averages.
10726 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
10728         * calc/calc-vec.el (calc-histogram):
10729         (calcFunc-histogram): Allow vectors as inputs.
10730         (math-vector-avg): New function.
10732         * calc/calc-ext.el (math-group-float): Have the number of digits
10733         being grouped depend on the radix (Bug#6189).
10735 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
10737         * version.el (emacs-copyright, emacs-version): Don't define here,
10738         now that emacs.c defines it.
10740 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
10742         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10743         "Describe Language Environment" menu item.
10745         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10747         Bidi-sensitive movement with arrow keys.
10748         * subr.el (right-arrow-command, left-arrow-command): New functions.
10750         * bindings.el (global-map): Bind them to right and left arrow keys.
10752         Don't override standard definition of convert-standard-filename.
10753         * files.el (convert-standard-filename):
10754         Call w32-convert-standard-filename and dos-convert-standard-filename on
10755         the corresponding systems.
10757         * w32-fns.el (w32-convert-standard-filename): Rename from
10758         convert-standard-filename.  Doc fix.
10760         * dos-fns.el (dos-convert-standard-filename): Doc fix.
10761         (convert-standard-filename): Don't defalias.
10762         (register-name-alist, make-register, register-value)
10763         (set-register-value, intdos): Obsolete aliases for the
10764         corresponding dos-* functions and variables.
10765         (dos-intdos): Add a doc string.
10767 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
10769         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10770         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10771         (math-compose-tex-func):
10772         * calc/calccomp.el (math-compose-expr):
10773         * calc/calc-ext.el (math-format-flat-expr-fancy):
10774         * calc/calc-store.el (calc-read-var-name):
10775         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10777         * calc/calc.el (var-π, var-φ, var-γ): New variables.
10778         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10779         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10780         (math-standard-units): Add units.
10782 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10784         * progmodes/asm-mode.el (asm-mode):
10785         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10787         * pcomplete.el (pcomplete-completions-at-point): New function,
10788         extracted from pcomplete-std-complete.
10789         (pcomplete-std-complete): Use it.
10791 2010-05-15  Glenn Morris  <rgm@gnu.org>
10793         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10794         Remove references to CVS, RCS and Old directories.
10796 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
10798         * calc/calc-bin.el (math-format-twos-complement): Group digits when
10799         appropriate.
10801 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10803         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10804         (sh-mode-syntax-table): Give it a default value instead.
10805         (sh-header-marker): Make buffer-local.
10806         (sh-mode): Move make-local-variable to the corresponding setq.
10807         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10808         Use complete-with-action.
10810         * simple.el (prog-mode): New (abstract) major mode.
10811         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10812         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10814 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
10816         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10817         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10818         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10819         (sql-make-alternate-buffer-name, sql-placeholders-filter)
10820         (sql-escape-newlines-filter, sql-input-sender)
10821         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10823 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
10825         Add TeX open-block and close-block keybindings to SGML, and vice versa.
10827         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10828         latex-open-block and C-c / to latex-close-block.
10830         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10831         and C-c C-e to sgml-close-tag.
10833 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
10835         * net/tramp.el (with-progress-reporter): Create reporter object
10836         only when the message would be displayed.  Handle nested calls.
10837         (tramp-handle-load, tramp-handle-file-local-copy)
10838         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10839         (tramp-maybe-send-script, tramp-find-shell):
10840         Use `with-progress-reporter'.
10841         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10842         Fix message text.
10844         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10845         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10846         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10847         Use `with-progress-reporter'.
10849 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
10851         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10852         process everytime when spellchecking from the minibuffer (bug#6143).
10854 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10856         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10858         * dos-fns.el: Add "dos-" prefix for namespace control.
10859         (convert-standard-filename): Define as alias for
10860         dos-convert-standard-filename but only if applicable.
10862 2010-05-12  Alan Mackenzie  <acm@muc.de>
10864         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10865         Push the mark at the start of these functions when appropriate.
10867 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10869         * minibuffer.el (completion-cycle-threshold): New custom var.
10870         (completion--do-completion): Use it.
10871         (minibuffer-complete): Use cycling if appropriate.
10873 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
10875         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10876         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10878 2010-05-11  Juri Linkov  <juri@jurta.org>
10880         * scroll-all.el (scroll-all-check-to-scroll):
10881         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10883 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10885         * iimage.el (iimage-mode-map): Move initialization into declaration.
10886         (iimage-mode-buffer): Use with-silent-modifications.
10887         Simplify calling convention.  Adjust callers.
10888         (iimage-mode): Don't run hook redundantly.
10890         * minibuffer.el (completion-pcm--pattern->regex):
10891         Fix last change (bug#6160).
10893 2010-05-10  Juri Linkov  <juri@jurta.org>
10895         Remove nodes visited during Isearch from the Info history.
10896         * info.el (Info-isearch-initial-history)
10897         (Info-isearch-initial-history-list): New variables.
10898         (Info-isearch-start): Record initial values of
10899         Info-isearch-initial-history and Info-isearch-initial-history-list.
10900         Add Info-isearch-end to isearch-mode-end-hook.
10901         (Info-isearch-end): New function.
10903 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
10905         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10906         format string, in order to work around a bug in pdksh.
10907         Reported by Gilles Pion <gpion@lfdj.com>.
10908         (tramp-handle-verify-visited-file-modtime): Do not send a command
10909         when the connection is not established.
10910         (tramp-handle-set-file-times): Simplify the check for utc.
10912 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
10914         Fix use of `filter-buffer-substring' (rework previous change).
10915         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10916         (cua-repeat-replace-region):
10917         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10918         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10919         (cua-cut-region-to-global-mark): Use it.
10921 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
10923         * progmodes/sql.el: Version 2.1.
10924         (sql-product-alist): Redesign structure of product info.
10925         (sql-product, sql-user, sql-server, sql-database): Safe variables.
10926         (sql-port, sql-port-history): New variables.
10927         (sql-interactive-product): New variable.
10928         (sql-send-terminator): New variable.
10929         (sql-imenu-generic-expression): Add "Types" imenu entry.
10930         (sql-oracle-login-params, sql-sqlite-login-params)
10931         (sql-mysql-login-params, sql-solid-login-params)
10932         (sql-sybase-login-params, sql-informix-login-params)
10933         (sql-ingres-login-params, sql-ms-login-params)
10934         (sql-postgres-login-params, sql-interbase-login-params)
10935         (sql-db2-login-params, sql-linter-login-params)
10936         (sql-oracle-scan-on): New variables.
10937         (sql-mode-map): Add C-c C-i to start interactive mode.
10938         (sql-mode-menu): Update existing menu entries.
10939         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10940         (sql-mode-oracle-font-lock-keywords)
10941         (sql-mode-postgres-font-lock-keywords)
10942         (sql-mode-ms-font-lock-keywords)
10943         (sql-mode-sybase-font-lock-keywords)
10944         (sql-mode-informix-font-lock-keywords)
10945         (sql-mode-interbase-font-lock-keywords)
10946         (sql-mode-ingres-font-lock-keywords)
10947         (sql-mode-solid-font-lock-keywords)
10948         (sql-mode-mysql-font-lock-keywords)
10949         (sql-mode-sqlite-font-lock-keywords)
10950         (sql-mode-db2-font-lock-keywords)
10951         (sql-mode-linter-font-lock-keywords): Update initialization to
10952         reduce run-time complexity.
10953         (sql-add-product, sql-del-product): New functions.
10954         (sql-set-product-feature, sql-get-product-feature): New functions.
10955         (sql-product-font-lock): Update product API.
10956         (sql-add-product-keywords): New function.
10957         (sql-highlight-product): Update product API.
10958         (sql-help-list-products): New function.
10959         (sql-help): Dynamically lists free and non-free products.
10960         (sql-get-login): Correct bug in handling history and added
10961         prompt for port.
10962         (sql-copy-column): Copy without properties.
10963         (sqli-input-sender): Apply filters to SQLi input.
10964         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10965         Implement as a filter.
10966         (sql-escape-newlines-filter): Implement as a filter.
10967         (sql-remove-tabs-filter): New function.
10968         (sql-send-magic-terminator): New function.
10969         (sql-send-string): Implement magic terminator.
10970         (sql-send-region): Use `sql-send-string'.
10971         (sql-interactive-mode): Use product API.
10972         (sql-product-interactive): Use product API.
10973         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10974         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10975         (sql-db2, sql-linter): Use `sql-product-interactive'.
10976         (sql-connect): New function.
10977         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10978         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10979         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10980         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10981         Use `sql-connect'.
10983 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10985         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10986         New custom variable.
10987         (completion-pcm--string->pattern): Use it.
10988         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10989         Make it handle any symbol as `any'.
10990         (completion-pcm--merge-completions): Extract common suffix for the new
10991         `prefix' symbol as well.
10992         (completion-substring--all-completions): Use the new `prefix' symbol.
10994 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
10996         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10997         not bound.
10998         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10999         (tramp-compat-funcall): New defmacro.
11000         (tramp-compat-line-beginning-position)
11001         (tramp-compat-line-end-position)
11002         (tramp-compat-temporary-file-directory)
11003         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11004         (tramp-compat-copy-file, tramp-compat-copy-directory)
11005         (tramp-compat-delete-file, tramp-compat-delete-directory)
11006         (tramp-compat-number-sequence, tramp-compat-process-running-p)
11007         * net/tramp.el (top, with-progress-reporter)
11008         (tramp-rfn-eshadow-setup-minibuffer)
11009         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11010         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11011         (tramp-completion-mode-p, tramp-check-for-regexp)
11012         (tramp-open-connection-setup-interactive-shell)
11013         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11014         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11015         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11016         * net/tramp-cmds.el (tramp-cleanup-all-connections)
11017         (tramp-reporter-dump-variable, tramp-load-report-modules)
11018         (tramp-append-tramp-buffers)
11019         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11021         * net/tramp-imap.el (top): Autoload `epg-make-context'.
11023 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11025         * progmodes/compile.el (compilation-buffer-modtime): Rename from
11026         buffer-modtime.  Adjust users.
11028 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11030         * international/mule.el (auto-coding-alist): Only purecopy
11031         car of each item, not the whole list (Bug#6083).
11033 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11035         * progmodes/js.el (js-mode): Make paragraph variables local before
11036         calling c-setup-paragraph-variables (Bug#6071).
11038 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
11040         * composite.el (compose-region, reference-point-alist): Fix typos
11041         in the doc strings.
11043 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
11045         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11046         gnuplot's "set" command.
11048 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11050         * abbrev.el (last-abbrev-text): Doc fix.
11051         (abbrev-prefix-mark): Don't escape parenthesis.
11053 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
11055         * composite.el (find-composition): Doc fix.
11057 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11059         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11060         (sql-oracle-program, sql-sqlite-options)
11061         (sql-query-placeholders-and-send): Doc fixes.
11062         (sql-set-product, sql-interactive-mode): Reflow docstrings.
11063         (sql-imenu-generic-expression, sql-buffer)
11064         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11065         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11066         (sql-mode-sybase-font-lock-keywords)
11067         (sql-mode-informix-font-lock-keywords)
11068         (sql-mode-interbase-font-lock-keywords)
11069         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11070         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11071         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11072         (sql-product-feature, sql-highlight-product)
11073         (comint-line-beginning-position, sql-rename-buffer)
11074         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11075         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11076         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11077         Fix typos in docstrings.
11079 2010-05-08  Juri Linkov  <juri@jurta.org>
11081         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11082         property instead of `invisible' and `after-string' (bug#5998).
11084 2010-05-08  Juri Linkov  <juri@jurta.org>
11086         * image-mode.el (image-mode-as-text): Fix typo in docstring.
11088 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11090         * filecache.el (file-cache-add-directory-list)
11091         (file-cache-add-directory-recursively): Fix typos in docstrings.
11093 2010-05-08  Kenichi Handa  <handa@m17n.org>
11095         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11096         (gujarati-composable-pattern): Fix typo.
11098 2010-05-08  Kenichi Handa  <handa@m17n.org>
11100         * language/indian.el (oriya-composable-pattern)
11101         (tamil-composable-pattern, malayalam-composable-pattern):
11102         Add two-part vowels to "v" (vowel sign).
11104 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11106         * files.el (copy-directory): Handle symlinks (Bug#5982).
11108 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
11110         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11111         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
11112         (Bug#5846).
11114 2010-05-08  Glenn Morris  <rgm@gnu.org>
11116         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11118         * minibuffer.el (completion-at-point): Doc fix.
11120 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11122         * electric.el (Electric-command-loop): Minor tweak.
11124         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11125         better with dedicated windows.
11127 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
11129         * Version 23.2 released.
11131 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
11132             Stefan Monnier  <monnier@iro.umontreal.ca>
11134         Highlight vendor specific properties.
11135         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11136         (css-proprietary-property): New face.
11137         (css-font-lock-keywords): Use them.
11139 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
11141         * cus-start.el (all): Add native condition for tool-bar-* symbols.
11143 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11145         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11146         * files.el (auto-mode-alist): Remove redundant entries.
11148         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11149         * simple.el (auto-save-mode): Move from files.el.
11150         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11152 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
11154         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11156 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
11158         * mail/binhex.el (binhex-decode-region-internal)
11159         * mail/uudecode.el (uudecode-decode-region-internal)
11160         * net/dns.el (dns-read-string-name, dns-write, dns-read)
11161         (dns-read-type, dns-query)
11162         * pgg-parse.el (pgg-parse-armor)
11163         * pgg.el (pgg-verify-region)
11164         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11165         XEmacs.
11167         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11169 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
11171         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11173         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11174         * emulation/cua-base.el (cua-repeat-replace-region):
11175         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11176         (cua-cut-region-to-global-mark):
11177         Remove text properties with `set-text-properties'.
11179 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
11181         * net/tramp.el (top, with-progress-reporter):
11182         Use `symbol-function' inside `funcall'.
11184         * net/tramp-compat.el (tramp-compat-file-attributes)
11185         (tramp-compat-delete-file, tramp-compat-delete-directory):
11186         Handle only `wrong-number-of-arguments' error.
11188         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11189         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11190         inside `funcall'.
11192 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11194         * minibuffer.el (completion--sreverse, completion--common-suffix):
11195         New functions.
11196         (completion-pcm--merge-completions): Extract common suffix when safe.
11198         * emacs-lisp/easy-mmode.el (define-minor-mode):
11199         Make :variable more flexible.
11200         * files.el (auto-save-mode): Use it to define using define-minor-mode.
11202 2010-05-05  Juri Linkov  <juri@jurta.org>
11204         Add `slow' and `history' tags to the desktop data.
11206         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11207         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11208         (Info-finder-find-node): Require `finder.el' to be able
11209         to restore node from the desktop.
11210         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
11211         data `Info-history' and `slow' tag in the assoc list.
11212         (Info-restore-desktop-buffer): Don't restore nodes with the
11213         `slow' tag.  Restore `Info-history'.
11215 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
11217         Add FORCE argument to `delete-file'.
11219         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11220         forcing to delete the temporary file.
11221         (ange-ftp-delete-file): Add FORCE arg.
11222         (ange-ftp-rename-remote-to-remote)
11223         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11224         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11225         Force file deletion.
11227         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11229         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11230         (tramp-handle-make-symbolic-link, tramp-handle-load)
11231         (tramp-do-copy-or-rename-file-via-buffer)
11232         (tramp-do-copy-or-rename-file-directly)
11233         (tramp-do-copy-or-rename-file-out-of-band)
11234         (tramp-handle-process-file, tramp-handle-call-process-region)
11235         (tramp-handle-shell-command, tramp-handle-file-local-copy)
11236         (tramp-handle-insert-file-contents, tramp-handle-write-region)
11237         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11239         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11240         (tramp-fish-handle-make-symbolic-link)
11241         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11243         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11244         Use `tramp-compat-delete-file'.
11246         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11247         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11249         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11250         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11252         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11253         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11254         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11255         Use `tramp-compat-delete-file'.
11257 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11259         Minor cleanups.
11260         * subr.el (add-minor-mode): Use push.
11261         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11262         * emulation/edt.el (edt-select-mode): Simplify.
11264         Use define-minor-mode in more cases.
11265         * term/tvi970.el (tvi970-set-keypad-mode):
11266         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11267         (normal-erase-is-backspace-mode):
11268         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11269         (set-scroll-bar-mode-1): (Re)move to its sole caller.
11270         (get-scroll-bar-mode): New function.
11271         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11273         Use define-minor-mode for less obvious cases.
11274         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11275         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11276         * international/iso-ascii.el (iso-ascii-mode):
11277         * frame.el (auto-raise-mode, auto-lower-mode):
11278         * composite.el (global-auto-composition-mode): Use define-minor-mode.
11280 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
11282         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11283         in order to see error messages for failed logins.
11285 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
11287         * diff.el (diff-sentinel):
11289         * epg.el (epg--make-temp-file, epg-decrypt-string)
11290         (epg-verify-string, epg-sign-string, epg-encrypt-string):
11292         * jka-compr.el (jka-compr-partial-uncompress)
11293         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11295         * server.el (server-sentinel): Use delete-file's new FORCE arg
11296         (Bug#6070).
11298 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11300         Use define-minor-mode where applicable.
11301         * view.el (view-mode):
11302         * type-break.el (type-break-query-mode)
11303         (type-break-mode-line-message-mode):
11304         * textmodes/reftex.el (reftex-mode):
11305         * term/vt100.el (vt100-wide-mode):
11306         * tar-mode.el (tar-subfile-mode):
11307         * savehist.el (savehist-mode):
11308         * ibuf-ext.el (ibuffer-auto-mode):
11309         * composite.el (auto-composition-mode):
11310         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11311         Use define-minor-mode.
11312         (vhdl-mode): Use static mode-line format.
11313         (vhdl-mode-line-update): Delete.
11314         (vhdl-create-mode-menu, vhdl-activate-customizations)
11315         (vhdl-hs-minor-mode): Don't bother calling it.
11317 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11319         * simple.el (with-wrapper-hook): Move.
11320         (buffer-substring-filters): Mark obsolete.
11321         (filter-buffer-substring-functions): New variable.
11322         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
11324 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
11325             Michael Albinus  <michael.albinus@gmx.de>
11327         Implement compression for inline methods.
11329         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11330         (tramp-copy-size-limit): Allow also nil.
11331         (tramp-inline-compress-commands): New defconst.
11332         (tramp-find-inline-compress, tramp-get-inline-compress)
11333         (tramp-get-inline-coding): New defuns.
11334         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11335         replaced by `tramp-get-inline-coding'.
11336         (tramp-handle-file-local-copy, tramp-handle-write-region)
11337         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11339 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11341         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11342         Remove unused functions.
11344         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11345         Set find-tag-default-function as a variable rather than a property.
11347         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11348         * progmodes/etags.el (tags-completion-at-point-function):
11349         Remove left over interactive spec.  Add autoloading stub.
11350         (complete-tag): Use tags-completion-at-point-function.
11352 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
11354         * minibuffer.el (tags-completion-at-point-function): Fix return value.
11356 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11358         * ido.el (ido-init-completion-maps): Remove C-v binding.
11359         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11361 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11363         * minibuffer.el (tags-completion-at-point-function): New function.
11364         (completion-at-point-functions): Use it.
11366         * progmodes/etags.el (complete-tag): Revert last change.
11368 2010-04-29  Alan Mackenzie  <acm@muc.de>
11370         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11371         off-by-one error (in end of macro position).
11373 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11375         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11376         firefox is absent.  Don't autoload.
11377         (browse-url-galeon-program): Don't autoload.
11379 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11381         * bindings.el (complete-symbol): Move into minibuffer.el.
11383         * minibuffer.el (complete-tag): Move from etags.el.  If tags
11384         completion cannot be performed, return nil instead of signalling
11385         an error.
11386         (completion-at-point): Make it an alias for complete-symbol.
11387         (complete-symbol): Move from bindings.el, and replace with the
11388         body of completion-at-point.
11390         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11392 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
11394         * net/tramp.el (tramp-remote-selinux-p): New defun.
11395         (tramp-handle-file-selinux-context)
11396         (tramp-handle-set-file-selinux-context): Use it.
11398 2010-04-28  Sam Steingold  <sds@gnu.org>
11400         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11401         `safe-local-variable' if the value is a string or a symbol with
11402         the property `bug-reference-url-format'.
11404 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11406         * progmodes/bug-reference.el (bug-reference-url-format):
11407         Revert 2010-04-27 change due to security risk.
11409 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11411         Make it possible to locally disable a globally enabled mode.
11412         * simple.el (fundamental-mode): Run fundamental-mode-hook.
11413         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11414         rather than kill-all-local-variables so it runs fundamental-mode-hook.
11415         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11416         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11417         that subsequent hooks get a chance to disable it.
11419 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11421         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11422         Avoid re-enabling a minor mode after the user turned the minor mode
11423         off if MODE-enable-in-buffers is run twice (typically once from
11424         fundamental-mode's after-change-major-mode-hook and a second time from
11425         run-mode-hook's own after-change-major-mode-hook).
11427         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11429 2010-04-27  Sam Steingold  <sds@gnu.org>
11431         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11432         `safe-local-variable' if the value is a string or a function, as
11433         documented and implemented on 2010-04-02.
11435 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
11437         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11438         when method is 'kill.
11440 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
11442         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11443         condition in default directory check.
11444         (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11445         Kill ispell process when killing its associated buffer.
11447 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
11449         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11450         but we aren't using it.
11452 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
11454         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11455         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11457 2010-04-24  Glenn Morris  <rgm@gnu.org>
11459         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11460         Ignore VCS-ignore files, and deleted nextstep preferences files.
11461         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11462         (authors-ambiguous-files): New list.
11463         (authors-valid-file-names): Add some deleted files.
11464         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11465         (authors-disambiguate-file-name): New function.  (Bug#5501)
11466         (authors-canonical-file-name): Doc fix.
11467         Don't warn about obsolete files.
11468         (authors-canonical-file-name, authors-scan-el):
11469         Use authors-disambiguate-file-name.
11471         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11472         Add autoload cookies.
11473         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11474         (generated-autoload-file): Set file-local value to "htmlfontify.el".
11475         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11476         They have definitions / compiler macros in cl.el.
11477         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11478         Replace manual autoloads with generated ones.
11479         (htmlfontify-unload-rgb-file): Remove autoload.
11480         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11482 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11484         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11485         (byte-compile-setq-default): Optimize for the
11486         single-var case and don't call byte-compile-form in this case to avoid
11487         inf-loop with byte-compile-set-default.
11489         * progmodes/compile.el (compilation-start): Abbreviate default directory.
11491 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
11493         Implement SELINUX backends.
11495         * net/tramp.el (tramp-file-name-handler-alist):
11496         Add `file-selinux-context' and `set-file-selinux-context'.
11497         (tramp-handle-file-selinux-context)
11498         (tramp-handle-set-file-selinux-context): New defuns.
11499         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11500         Handle PRESERVE-SELINUX-CONTEXT.
11502         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11503         Add `file-selinux-context' and `set-file-selinux-context'.
11504         (tramp-gvfs-handle-file-selinux-context)
11505         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11506         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11508         * net/ange-ftp.el (ange-ftp-copy-file):
11509         * net/tramp-fish.el (tramp-fish-handle-copy-file):
11510         * net/tramp-imap.el (tramp-imap-handle-copy-file):
11511         * net/tramp-smb.el (tramp-smb-handle-copy-file):
11512         Add PRESERVE-SELINUX-CONTEXT.
11514 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11516         Synchronize with Tramp repository.
11518         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11519         (tramp-action-process-alive, tramp-action-out-of-band)
11520         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11521         (tramp-exists-file-name-handler): Fix docstring.
11522         (with-progress-reporter): New defmacro.
11523         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11524         (tramp-maybe-open-connection): Use it.
11526 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
11528         Detect ssh 'ControlMaster' argument automatically in some cases.
11530         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11531         (tramp-default-method): Use it.
11533 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11535         * net/tramp.el (tramp-handle-copy-file): Add new optional
11536         parameter `preserve-selinux-context'.
11537         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11539 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11541         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11542         Ensure, that non remote files are still checked.  Oops.
11544 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
11546         Fix Bug#5840.
11548         * icomplete.el (icomplete-completions): Use `non-essential'.
11550         * net/tramp.el (tramp-connectable-p): New defun.
11551         (tramp-handle-expand-file-name)
11552         (tramp-completion-handle-file-name-all-completions)
11553         (tramp-completion-handle-file-name-completion): Use it.
11555 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11557         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11559 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
11561         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11563         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11565         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11566         is present.
11568         * info.el (info-tool-bar-map): Add labels.
11570         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11572         * cus-edit.el (custom-commands): Add labels for tool bar.
11573         (custom-buffer-create-internal, Custom-mode): Adjust for
11574         labels in custom-commands.
11576         * dynamic-setting.el: Renamed from font-setting.el.
11578 2010-04-21  John Wiegley  <jwiegley@gmail.com>
11580         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11581         toggles the use of virtual buffers.
11582         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11583         (ido-toggle-virtual-buffers): New function.
11585 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
11587         Use `define-derived-mode'; fix window selection; doc fixes.
11588         * play/tetris.el (tetris, tetris-update-speed-function)
11589         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11590         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11591         (tetris-rotate-next, tetris-end-game, tetris-start-game)
11592         (tetris-pause-game): Fix typos in docstrings.
11593         (tetris-mode-map, tetris-null-map):
11594         Move initialization into declaration.
11595         (tetris-mode): Define with `define-derived-mode';
11596         set show-trailing-whitespace to nil.
11597         (tetris): Prefer window already displaying the "*Tetris*" buffer.
11599 2010-04-21  Karel Klíč  <kklic@redhat.com>
11601         * files.el (backup-buffer): Handle SELinux context, and return it
11602         if a backup was made by renaming.
11603         (backup-buffer-copy): Set SELinux context to the target file.
11604         (basic-save-buffer): Set SELinux context of the newly written file.
11605         (basic-save-buffer-1): Now it also returns any SELinux context.
11606         (basic-save-buffer-2): Set SELinux context of the newly created file,
11607         and return it.
11608         * net/tramp.el (tramp-file-name-for-operation):
11609         Add file-selinux-context.
11611 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11613         Make the log-edit comments use RFC822 format throughout.
11615         * vc.el (vc-checkin, vc-modify-change-comment):
11616         Adjust to new vc-start/finish-logentry.
11617         (vc-find-conflicted-file): New command.
11618         (vc-transfer-file): Adjust to new vc-checkin.
11619         (vc-next-action): Improve scoping.
11621         * vc-hg.el (vc-hg-log-edit-mode): Remove.
11622         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
11624         * vc-git.el (vc-git-log-edit-mode): Remove.
11625         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
11626         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11628         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11629         (vc-start-logentry): Remove argument `extra'.
11630         (vc-finish-logentry): Remove extra args.
11632         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11633         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
11634         (vc-bzr-conflicted-files): New function.
11636         * log-edit.el (log-edit-extra-flags)
11637         (log-edit-before-checkin-process): Remove.
11638         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11639         (log-edit-headers-alist): New var.
11640         (log-edit-header-contents-regexp): New const.
11641         (log-edit-match-to-eoh): New function.
11642         (log-edit-font-lock-keywords): Use them.
11643         (log-edit): Insert a "Summary:" header as default.
11644         (log-edit-mode): Mark font-lock rules as case-insensitive.
11645         (log-edit-done): Cleanup headers.
11646         (log-view-process-buffer): Remove.
11647         (log-edit-extract-headers): New function to replace it.
11649 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
11651         * subr.el (default-direction-reversed): Remove obsolescence info.
11653 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11655         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11656         windows/frames.
11658         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11659         I.e. include text after point in the completion region.
11660         Also, return nil when we're not after/in a symbol.
11662         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11663         default enable-multibyte-characters.
11665 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11667         * international/mule.el: Help the user choose a valid coding-system.
11668         (read-buffer-file-coding-system): New function.
11669         (set-buffer-file-coding-system): Use it.  Prompt the user if the
11670         coding-system cannot encode all the chars.
11672         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11673         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11674         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11675         Don't use *vc-bzr-shelve*.
11677 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
11679         Fix the version number for added files.
11680         * vc-hg.el (vc-hg-working-revision): Check if the file is
11681         registered after hg parent fails (Bug#5961).
11683 2010-04-19  Glenn Morris  <rgm@gnu.org>
11685         * htmlfontify.el (htmlfontify-buffer)
11686         (htmlfontify-copy-and-link-dir): Autoload entry points.
11688 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
11690         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11691         name relative to the project root (Bug#5960).
11693 2010-04-19  Glenn Morris  <rgm@gnu.org>
11695         * vc-git.el (vc-git-print-log): Doc fix.
11697 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
11699         * ido.el (ido-file-internal): Fix 2009-12-02 change.
11701 2010-04-19  Christoph Scholtes  <cschol2112@googlemail.com>
11703         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11704         default settings (Bug#5928).
11706 2010-04-19  Glenn Morris  <rgm@gnu.org>
11708         * progmodes/fortran.el (fortran-match-and-skip-declaration):
11709         New function.
11710         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
11712 2010-04-19  Kenichi Handa  <handa@m17n.org>
11714         * language/indian.el (malayalam-composable-pattern): Fix previous
11715         change (add U+0D4D "SIGN VIRAMA").
11716         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11717         (tamil-composable-pattern): Fix typo in the regexp.
11718         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11719         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11720         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11722 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11724         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11725         paragraph-separate (Bug#5821).
11727 2010-04-19  Juri Linkov  <juri@jurta.org>
11729         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11731         * info.el (Info-find-node-2): Comment out code that skips
11732         breadcrumbs line.
11733         (Info-mouse-follow-link): New command.
11734         (Info-link-keymap): New keymap.
11735         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11736         Return a string with links instead of inserting breadcrumbs
11737         to the Info buffer.
11738         (Info-fontify-node): Comment out code that inserts breadcrumbs.
11739         Instead of putting the `invisible' text property over the Info
11740         header, make an overlay over the Info header with the `invisible'
11741         property and `after-string' set to the string returned by
11742         `Info-breadcrumbs'.
11744 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11746         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11747         Reported by monkey@sandpframing.com.
11749 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11751         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11752         (tmm-get-keymap): Add key-binding shortcuts now that they're not
11753         available in the "keyseq cache" any more.
11755         * custom.el (defcustom): Add edebug spec.
11757 2010-04-18  Juri Linkov  <juri@jurta.org>
11759         Test for special mode-class in view-buffer instead of view-file (bug#5513).
11761         * view.el (view-file, view-buffer): Move test for special mode-class
11762         from view-file to view-buffer.
11764         * tar-mode.el (tar-extract): Turn if's into one cond
11765         like in arc-mode.el.
11767 2010-04-18  Juri Linkov  <juri@jurta.org>
11769         Add 7z archive format support (bug#5475).
11771         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11772         (archive-7z-extract): New defcustom.
11773         (archive-find-type): Add magic string for 7z.
11774         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11775         If `stderr-file' is non-nil, use `(t stderr-file)' for the
11776         `buffer' arg of `call-process'.
11777         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11778         call the function `archive-7z-extract' with the variable
11779         `archive-7z-extract' let-bound to `archive-zip-extract'.
11780         (archive-7z-summarize, archive-7z-extract): New functions.
11782         * international/mule.el (auto-coding-alist):
11783         * files.el (auto-mode-alist): Add 7z file extension.
11785 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11787         * loadup.el: Setup hash-cons for pure data.
11789         Fix duplicate entries in cedet's loaddefs.el files.
11790         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11791         Should make most file-local generated-autoload-file unnecessary.
11792         (print-readably): Silence warnings.
11793         (autoload-find-destination): Take load-name as an arg to make sure
11794         it's the same as the one that will be in the file.
11795         (autoload-generate-file-autoloads): Adjust to above changes.
11796         Try to make the dataflow a bit simpler.
11798         * cvs-status.el (cvs-refontify): Remove unused.
11800 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
11802         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11804         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11805         twos-complement mode.
11807 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
11809         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11810         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
11811         (calc-inverse): Add "Option" to message, as appropriate.
11812         (calc-hyperbolic): Add "Option" to message, as appropriate.
11813         (calc-option, calc-is-option): New functions.
11815         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11816         (calc-option-prefix-help): New function.
11818         * calc/calc-misc.el (calc-help): Add "Option" entry.
11820         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11821         (calc-option-flag): New variable.
11822         (calc-do): Set `calc-option-flag to nil.
11823         (calc-set-mode-line): Add "Opt " as appropriate.
11825 2010-04-16  Juri Linkov  <juri@jurta.org>
11827         Move scrolling commands from simple.el to window.el
11828         because their primitives are implemented in window.c.
11830         * simple.el (scroll-error-top-bottom)
11831         (scroll-up-command, scroll-down-command, scroll-up-line)
11832         (scroll-down-line, scroll-other-window-down)
11833         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11834         * window.el (scroll-error-top-bottom)
11835         (scroll-up-command, scroll-down-command, scroll-up-line)
11836         (scroll-down-line, scroll-other-window-down)
11837         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11838         Move from simple.el to window.el because their primitives are
11839         implemented in window.c.
11841 2010-04-16  Juri Linkov  <juri@jurta.org>
11843         * isearch.el (isearch-lookup-scroll-key): Check both
11844         `isearch-scroll' and `scroll-command' properties.
11845         (scroll-up, scroll-down): Remove `isearch-scroll' property.
11847         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11849         * simple.el (scroll-up-command, scroll-down-command)
11850         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11852 2010-04-15  Juri Linkov  <juri@jurta.org>
11854         * simple.el (scroll-up-command, scroll-down-command)
11855         (scroll-up-line, scroll-down-line): Put `scroll-command'
11856         property on the these symbols.  Remove them from
11857         `scroll-preserve-screen-position-commands'.
11859         * mwheel.el (mwheel-scroll): Put `scroll-command' and
11860         `isearch-scroll' properties on the `mwheel-scroll' symbol.
11861         Remove it from `scroll-preserve-screen-position-commands'.
11863         * isearch.el (isearch-allow-scroll): Doc fix.
11865 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
11867         * net/tramp.el (tramp-error-with-buffer): Don't show the
11868         connection buffer when we are in completion mode.
11869         (tramp-file-name-handler): Catch the error for some operations
11870         when we are in completion mode.  This gives the user the chance to
11871         correct the file name in the minibuffer.
11873 2010-04-15  Glenn Morris  <rgm@gnu.org>
11875         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11877 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
11879         Simplify by using `define-derived-mode'.
11880         * info.el (Info-mode):
11881         * calendar/todo-mode.el (todo-mode):
11882         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11883         (gomoku-mode-map): Move initialization into declaration.
11885 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
11887         Fix Bug#5840.
11888         * ido.el (ido-file-name-all-completions-1):
11889         * minibuffer.el (minibuffer-completion-help):
11890         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11892 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11894         * simple.el (non-essential): New var.
11896         Add a new field `location' to bookmarks for non-file bookmarks.
11897         * bookmark.el (bookmark-location): Use the new field, if present.
11898         (bookmark-insert-location): Undo last change, not needed any more.
11899         * man.el (Man-bookmark-make-record):
11900         * woman.el (woman-bookmark-make-record): Add `location' field.
11902 2010-04-14  Juri Linkov  <juri@jurta.org>
11904         * simple.el (scroll-error-top-bottom): New defcustom.
11905         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
11907         * emulation/pc-select.el (pc-select-override-scroll-error):
11908         Obsolete in favor of `scroll-error-top-bottom'.
11910 2010-04-14  Juri Linkov  <juri@jurta.org>
11912         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11913         `scroll-up-command' and `M-v' to `scroll-down-command'.
11915         * emulation/cua-rect.el (cua--init-rectangles):
11916         * forms.el (forms--change-commands):
11917         * image-mode.el (image-mode-map):
11918         Remap scroll-down-command and scroll-up-command
11919         in addition to scroll-down and scroll-up.
11921 2010-04-14  Juri Linkov  <juri@jurta.org>
11923         * mwheel.el (scroll-preserve-screen-position-commands):
11924         Add mwheel-scroll to this list of commands.
11926         * simple.el (scroll-preserve-screen-position-commands):
11927         Add scroll-up-command, scroll-down-command, scroll-up-line,
11928         scroll-down-line to this list of commands.
11930 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11932         * obsolete/complete.el: Move from lisp/complete.el.
11934         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11936         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11937         to the minor mode function now turns the mode ON unconditionally.
11939 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11941         * vc-dir.el (vc-dir-kill-line): New command.
11942         (vc-dir-mode-map): Bind it to C-k.
11944         * bookmark.el (bookmark-insert-location): Handle a nil filename.
11946         * woman.el: Add bookmark declarations to silence the compiler.
11947         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11948         step to compatibility between man and woman bookmarks.
11949         Adjust for Man-default-bookmark-title renaming.
11950         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
11952         * man.el: Add bookmark declarations to silence the compiler.
11953         (Man-name-local-regexp): Make it match NAME as well.
11954         (Man-getpage-in-background): Return the buffer.
11955         (Man-notify-when-ready): Use `case'.
11956         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11957         Don't hardcode "NAME".  Simplify.
11958         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11959         Rename from Man-bookmark-make-record.
11960         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
11961         we have the actual man-args.  Use Man-getpage-in-background rather
11962         than `man' since the arg is already processed.  Let bookmark.el do the
11963         window handling.  Only wait for the relevant process.
11964         Don't forget to autoload.
11966         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11968 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11970         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11971         New functions.
11972         (woman-mode): Setup bookmark support.
11974         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11975         (man-bookmark-jump): New functions.
11976         (Man-mode): Setup bookmark support.
11978 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
11980         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11981         recognize ssh-keygen prompt (Bug#2817).
11983 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11985         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11987 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11989         Synchronize with Tramp repository.
11991         * net/tramp.el (tramp-completion-function-alist)
11992         (tramp-file-name-regexp, tramp-chunksize)
11993         (tramp-local-coding-commands, tramp-remote-coding-commands):
11994         Fix docstring.
11995         (tramp-remote-process-environment): Use `format' instead of `concat'.
11996         (tramp-handle-directory-files-and-attributes)
11997         (tramp-get-remote-path): Use `copy-tree'.
11998         (tramp-handle-file-name-all-completions): Backward/ XEmacs
11999         compatibility: Use `completion-ignore-case' if
12000         `read-file-name-completion-ignore-case' does not exist.
12001         (tramp-do-copy-or-rename-file-directly): Do not use
12002         `tramp-handle-file-remote-p'.
12003         (tramp-do-copy-or-rename-file-out-of-band):
12004         Use `tramp-compat-delete-directory'.
12005         (tramp-do-copy-or-rename-file-out-of-band)
12006         (tramp-compute-multi-hops, tramp-maybe-open-connection):
12007         Use `format-spec-make'.
12008         (tramp-find-foreign-file-name-handler)
12009         (tramp-advice-make-auto-save-file-name)
12010         (tramp-set-auto-save-file-modes): Remove superfluous check for
12011         `stringp'.  This is done inside `tramp-tramp-file-p'.
12012         (tramp-debug-outline-regexp): New defconst.
12013         (tramp-get-debug-buffer): Use it.
12014         (tramp-check-for-regexp): Use (forward-line 1).
12015         (tramp-set-auto-save-file-modes): Adapt version check.
12017         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12018         Wrap call of `featurep' for 2nd argument.
12019         (tramp-compat-make-temp-file): Simplify fallback implementation.
12020         (tramp-compat-copy-tree): Remove function.
12021         (tramp-compat-delete-directory): Provide implementation for older
12022         Emacsen.
12024         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12025         Do not use `tramp-fish-handle-file-attributes.
12027         * net/trampver.el: Update release number.
12029 2010-04-10  Glenn Morris  <rgm@gnu.org>
12031         * progmodes/compile.el (compilation-save-buffers-predicate):
12032         Add missing :version tag.
12034 2010-04-09  Sam Steingold  <sds@gnu.org>
12036         * progmodes/compile.el (compilation-save-buffers-predicate):
12037         Remove the "autoload" cookie.
12039         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12040         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12041         and `bug-reference-prog-mode' can be used in hooks directly.
12043 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
12045         Add --author support to git commit.
12046         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12047         (vc-git-log-edit-mode): New minor mode.
12048         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12049         New declarations.
12051 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
12053         * vc-hooks.el, vc-git.el: Improve documentation comments.
12055 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12057         Fix some of the problems in defsubst* (bug#5728).
12058         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12059         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12061 2010-04-07  Sam Steingold  <sds@gnu.org>
12063         * progmodes/compile.el (compilation-save-buffers-predicate):
12064         New custom variable.
12065         (compile, recompile): Pass it to `save-some-buffers'.
12067 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
12069         * wid-edit.el (widget-choose): Move cursor to the second line of
12070         the buffer (Bug#5695).
12072 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
12074         Add new VC methods: vc-log-incoming and vc-log-outgoing.
12075         * vc.el (vc-print-log-setup-buttons): New function split out from
12076         vc-print-log-internal.
12077         (vc-log-internal-common): New function, a parametrized version of
12078         vc-print-log-internal.
12079         (vc-print-log-internal): Just call vc-log-internal-common with the
12080         right arguments.
12081         (vc-incoming-outgoing-internal):
12082         (vc-log-incoming, vc-log-outgoing): New functions.
12083         (vc-log-view-type): New permanent local variable.
12085         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12087         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12088         of the dynamic bound vc-short-log.
12089         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12091         * vc-git.el (vc-git-log-outgoing): New function.
12092         (vc-git-log-view-mode): Use vc-log-view-type instead
12093         of the dynamic bound vc-short-log.
12095         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12096         of the dynamic bound vc-short-log.  Highlight the tag.
12097         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12098         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12099         (vc-hg-incoming-mode): Remove.
12100         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12102 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
12104         Fix default-directory for vc-root-diff.
12105         * vc.el (vc-root-diff): Bind default-directory to the root
12106         directory for the diff command.
12108 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
12110         * progmodes/verilog-mode.el (verilog-forward-sexp):
12111         (verilog-calc-1): Support "disable fork" and "fork wait" multi
12112         word keywords, suggested by Steve Pearlmutter.
12113         (verilog-pretty-declarations): Support lineup of declarations in
12114         port lists.
12115         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12116         fix bug for /* / comments.
12117         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12118         Speed up and simplfy as this is never called with a bound.
12119         (verilog-pretty-declarations): Enhance to line up declarations
12120         inside a parameter list, suggested by Alan Morgan.
12121         (verilog-pretty-expr): Tune assignment regular expression match
12122         string for corner cases; also use markers instead of character
12123         number as indent changes the later.
12125 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
12127         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12128         as missing keyword.
12129         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12130         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
12131         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12132         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
12133         Tennant.
12134         (verilog-keywords):
12135         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12136         1800-2009 keywords, including "global.".
12138 2010-04-06  John Wiegley  <jwiegley@gmail.com>
12140         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12141         appearing in buffer list (if a live buffer name matched a recentf
12142         file basename).  Should use uniquify to offer a real solution.
12144 2010-04-06  John Wiegley  <jwiegley@gmail.com>
12146         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12147         comment to code, and add a :version tag.
12148         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12150 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
12152         Enable recentf-mode if using virtual buffers.
12153         * ido.el (recentf-list): Declare for byte-compiler.
12154         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
12155         (ido-make-buffer-list): Simplify.
12156         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
12158 2010-04-05  Juri Linkov  <juri@jurta.org>
12160         Scrolling commands which scroll a line instead of full screen.
12161         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12163         * simple.el (scroll-up-line, scroll-down-line): New commands.
12164         Put property isearch-scroll=t on them.
12166         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12167         Remove commands.
12169 2010-04-05  Juri Linkov  <juri@jurta.org>
12171         Scrolling commands which do not signal errors at top/bottom.
12172         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12174         * simple.el (scroll-up-command, scroll-down-command): New commands.
12175         Put property isearch-scroll=t on them.
12177         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12178         `scroll-down-command' and [next] from `scroll-up' to
12179         `scroll-up-command'.
12181         * emulation/cua-base.el: Put property CUA=move on
12182         `scroll-up-command' and `scroll-down-command'.
12183         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12184         and `scroll-down-command' to `cua-scroll-down'.
12186 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
12188         * help.el (describe-mode): Return nil.
12190 2010-04-04  John Wiegley  <jwiegley@gmail.com>
12192         * ido.el (ido-use-virtual-buffers): New variable to indicate
12193         whether "virtual buffer" support is enabled for IDO.
12194         (ido-virtual): Face used to indicate virtual buffers in the list.
12195         (ido-buffer-internal): If a buffer is chosen, and no such buffer
12196         exists, but a virtual buffer of that name does (which would be why
12197         it was in the list), recreate the buffer by reopening the file.
12198         (ido-make-buffer-list): If virtual buffers are being used, call
12199         `ido-add-virtual-buffers-to-list' before the make list hook.
12200         (ido-virtual-buffers): New variable which contains a copy of the
12201         current contents of the `recentf-list', albeit pared down for the
12202         sake of speed, and with proper faces applied.
12203         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12204         create a list of "virtual buffers" to present to the user in
12205         addition to the currently open set.  Note that this logic could
12206         get rather slow if that list is too large.  With the default
12207         `recentf-max-saved-items' of 200, there is little speed penalty.
12209 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12211         * font-lock.el: Require CL when compiling.
12212         (font-lock-turn-on-thing-lock): Use `case'.
12214 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
12216         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12217         Zaretskii.
12219 2010-04-02  Juri Linkov  <juri@jurta.org>
12221         * ehelp.el (electric-help-orig-major-mode):
12222         New buffer-local variable.
12223         (electric-help-mode): Set it to original major-mode.  Doc fix.
12224         (with-electric-help): Use `electric-help-orig-major-mode' instead
12225         of (default-value 'major-mode).  Doc fix.
12226         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12228 2010-04-02  Sam Steingold  <sds@gnu.org>
12230         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12231         `vc-hg-command' with a list of flags.
12233         * progmodes/bug-reference.el (bug-reference-bug-regexp):
12234         Also accept "patch" and "RFE".
12235         (bug-reference-fontify): `bug-reference-url-format' can also be a
12236         function to be able to handle the bug kind.
12237         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12239 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
12241         * tmm.el (tmm-get-keymap): Check with symbolp before passing
12242         value to fboundp, it may not be a symbol.
12244 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12246         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12248 2010-03-31  Juri Linkov  <juri@jurta.org>
12250         * simple.el (next-line, previous-line): Re-throw a signal
12251         with `signal' instead of using `ding'.
12252         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12254 2010-03-31  Juri Linkov  <juri@jurta.org>
12256         * simple.el (keyboard-escape-quit): Raise deselecting the active
12257         region higher than exiting the minibuffer.
12258         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12260 2010-03-31  Juri Linkov  <juri@jurta.org>
12262         * image.el (image-animated-p): Use `image-metadata' instead of
12263         `image-extension-data'.  Get GIF extenstion data from metadata
12264         property `extension-data'.
12266 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12268         * simple.el (append-to-buffer): Simplify.
12270 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
12272         * textmodes/artist.el (artist-mode): Fix typo in docstring.
12273         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
12275 2010-03-31  Kenichi Handa  <handa@m17n.org>
12277         * language/sinhala.el (composition-function-table): Fix regexp for
12278         the new Unicode specification.
12280         * language/indian.el (devanagari-composable-pattern)
12281         (tamil-composable-pattern, kannada-composable-pattern)
12282         (malayalam-composable-pattern): Adjust for the new Unicode
12283         specification.
12284         (bengali-composable-pattern, gurmukhi-composable-pattern)
12285         (gujarati-composable-pattern, oriya-composable-pattern)
12286         (telugu-composable-pattern): New variables to cope with the new
12287         Unicode specification.  Use them in composition-function-table.
12289 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12291         Make tmm-menubar work for the Buffers menu again (bug#5726).
12292         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12293         vectors rather than cons cells, as used in menu-bar-update-buffers.
12295 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12297         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12298         (js-insert-and-indent): Revert 2009-08-15 change, restoring
12299         electric punctuation for "{}();,:" (Bug#5586).
12301         * mail/sendmail.el (mail-default-directory): Doc fix.
12303 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12305         * mail/sendmail.el (mail-default-directory): Doc fix.
12307 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
12309         * subr.el (version-regexp-alist, version-to-list)
12310         (version-list-<, version-list-=, version-list-<=)
12311         (version-list-not-zero, version<, version<=, version=): Doc fix.
12312         (Bug#5744).
12314 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
12316         * vc.el (vc-root-diff): Doc fix.
12318 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12320         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12322         * simple.el (append-to-buffer): Fix last change.
12324 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12326         * simple.el (append-to-buffer): Ensure that point is preserved if
12327         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
12328         (Bug#5749)
12330 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12332         * files.el (auto-mode-case-fold): Change default to t.
12334 2010-03-30  Juri Linkov  <juri@jurta.org>
12336         * dired-x.el (dired-omit-mode): Doc fix.
12338 2010-03-30  Juri Linkov  <juri@jurta.org>
12340         * replace.el (occur-accumulate-lines): Move occur-engine related
12341         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12342         to be located after `occur-engine'.
12344 2010-03-30  Juri Linkov  <juri@jurta.org>
12346         Make occur handle multi-line matches cleanly with context.
12347         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12349         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12350         (occur-engine): Add local variables `ret', `prev-after-lines',
12351         `prev-lines'.  Use more arguments for `occur-context-lines'.
12352         Set first elem of its returned list to `data', and the second elem
12353         to `prev-after-lines'.  Don't print the separator line.
12354         In the end, print remaining context after-lines.
12355         (occur-context-lines): Add new arguments `begpt', `endpt',
12356         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
12357         after-lines of the previous match with before-lines of the
12358         current match and not overlap them.  Return a list with two
12359         values: the output line and the list of context after-lines.
12361 2010-03-30  Juri Linkov  <juri@jurta.org>
12363         * replace.el (occur-accumulate-lines): Fix a bug where the first
12364         context line at the beginning of the buffer was missing.
12366 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
12368         * files.el: Make bidi-display-reordering safe variable for boolean
12369         values.
12371 2010-03-29  Phil Hagelberg  <phil@evri.com>
12372             Chong Yidong  <cyd@stupidchicken.com>
12374         * subr.el: Extend progress reporters to perform "spinning".
12375         (progress-reporter-update, progress-reporter-do-update):
12376         Handle non-numeric value arguments.
12377         (progress-reporter--pulse-characters): New var.
12379 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
12381         * progmodes/compile.el (compilation-start): Fix regexp detection
12382         of initial cd command (Bug#5771).
12384 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
12386         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12388 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
12390         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12391         * progmodes/gdb-mi.el: Restore.
12392         * progmodes/gdb-ui.el: Remove.
12393         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12395 2010-03-25  Glenn Morris  <rgm@gnu.org>
12397         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12398         all dired buffers, even tramp ones.  (Bug#5755)
12400 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12402         Add "union tags" in mpc.el.
12403         * mpc.el: Remove backward compatibility code.
12404         (mpc-browser-tags): Change default.
12405         (mpc--find-memoize-union-tags): New var.
12406         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12407         (mpc-cmd-find): Handle the case where the playlist does not exist.
12408         Handle union-tags.
12409         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
12410         (mpc-cmd-add): Use mpc-cmd-flush.
12411         (mpc-tagbrowser-tag-name): New fun.
12412         (mpc-tagbrowser-buf): Use it.
12413         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
12415 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12417         Misc cleanup.
12418         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12419         Use replace-regexp-in-string.
12420         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12421         (makefile-imake-mode-syntax-table): Move init into defvar.
12422         (makefile-mode): Use define-derived-mode.
12424         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12425         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12426         not be present any more.
12428 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12430         * faces.el (set-face-attribute): Fix typo in docstring.
12431         (face-valid-attribute-values): Reflow docstring.
12433 2010-03-24  Glenn Morris  <rgm@gnu.org>
12435         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12437 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12439         * indent.el (indent-for-tab-command): Doc fix.
12441 2010-03-24  Alan Mackenzie  <acm@muc.de>
12443         * progmodes/cc-engine.el (c-remove-stale-state-cache):
12444         Fix off-by-one error.  Fixes bug #5747.
12446 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12448         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12449         (image-dired-read-comment): Doc fix.
12451         * json.el (json-object-type, json-array-type, json-key-type)
12452         (json-false, json-null, json-read-number):
12453         * minibuffer.el (completion-in-region-functions):
12454         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12455         (cal-tex-cursor-week):
12456         * emacs-lisp/trace.el (trace-function):
12457         * eshell/em-basic.el (eshell/printnl):
12458         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12459         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12460         * obsolete/levents.el (allocate-event, event-key, event-object)
12461         (event-point, event-process, event-timestamp, event-to-character)
12462         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12463         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12464         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12465         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12466         (reftex-highlight-selection): Fix typos in docstrings.
12468 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12470         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12472 2010-03-24  Glenn Morris  <rgm@gnu.org>
12474         * mail/rmail.el (rmail-highlight-face): Restore option deleted
12475         2008-02-13 without comment; mark it obsolete.
12476         (rmail-highlight-headers): Use rmail-highlight-face once more.
12478 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12480         * woman.el (woman2-process-escapes): Only consume the newline if
12481         the filler character is on a line by itself (Bug#5729).
12483 2010-03-24  Kenichi Handa  <handa@m17n.org>
12485         * language/indian.el (devanagari-composable-pattern): Add more
12486         consonants.
12488 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12490         * net/trampver.el: Update release number.
12492 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12494         * net/tramp.el (tramp-find-executable):
12495         Use `tramp-get-connection-buffer'.  Make the regexp for checking
12496         output of "wc -l" more robust.
12497         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12498         (tramp-open-connection-setup-interactive-shell): Remove workaround
12499         for OpenSolaris bug, it is not needed anymore.
12501 2010-03-24  Glenn Morris  <rgm@gnu.org>
12503         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
12505 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
12507         * files.el (auto-mode-alist): Accept more verilog file patterns.
12509 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12511         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12513 2010-03-24  Glenn Morris  <rgm@gnu.org>
12515         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12516         log-edit-before-checkin-process.
12518         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12520         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12522         * vc-dispatcher.el (vc-start-logentry): Doc fix.
12523         (log-view-process-buffer, log-edit-extra-flags): Declare.
12525         * log-edit.el (log-edit-before-checkin-process): Doc fix.
12527 2010-03-23  Sam Steingold  <sds@gnu.org>
12529         Fix bug#5620: recalculate all markers on compilation buffer
12530         modifications, not on file modifications.
12531         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12532         variable: the buffer modification time, for buffers not associated with
12533         files.
12534         (compilation-mode): Create it.
12535         (compilation-filter): Update it.
12536         (compilation-next-error-function): Use it instead of
12537         `visited-file-modtime' for timestamp.
12539 2010-03-23  Juri Linkov  <juri@jurta.org>
12541         Implement Occur multi-line matches.
12542         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12544         * replace.el (occur): Doc fix.
12545         (occur-engine): Set `begpt' to the beginning of the first line.
12546         Set `endpt' to the end of the last match line.  At first, count
12547         line numbers between `origpt' and `begpt'.  Split out code from
12548         `out-line' variable to new let-bindings `match-prefix' and
12549         `match-str'.  In `out-line' add non-numeric prefix to all
12550         non-first lines of multi-line matches.  Finally, count lines
12551         between `begpt' and `endpt' and add to `lines'.
12553 2010-03-23  Juri Linkov  <juri@jurta.org>
12555         * replace.el (occur-accumulate-lines, occur-engine):
12556         Use `occur-engine-line' instead of duplicate code.
12557         (occur-engine-line): New function created from duplicate code
12558         in `occur-accumulate-lines' and `occur-engine'.
12560         * replace.el (occur-engine-line): Add optional arg `keep-props'.
12561         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12563 2010-03-23  Juri Linkov  <juri@jurta.org>
12565         * finder.el: Remove TODO tasks.
12567         * info.el (Info-finder-find-node): Add node "all"
12568         with all package info.  Handle a list of multiple keywords
12569         separated by comma.
12570         (info-finder): In interactive use with a prefix argument,
12571         use `completing-read-multiple' to read a list of keywords
12572         separated by comma.
12574 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12576         Add a new completion style `substring'.
12577         * minibuffer.el (completion-basic--pattern): New function.
12578         (completion-basic-try-completion, completion-basic-all-completions):
12579         Use it.
12580         (completion-substring--all-completions)
12581         (completion-substring-try-completion)
12582         (completion-substring-all-completions): New functions.
12583         (completion-styles-alist): New style `substring'.
12585 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12587         Get rid of .elc files after removal of the corresponding .el.
12588         * Makefile.in (compile-clean): New target.
12589         (compile-main): Use it.
12591 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
12593         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12594         don't do make there.  When compiling with separate object dir, there
12595         is no Makefile there.
12597 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12599         Get rid of the ELCFILES abomination, again.
12600         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12601         (all, compile): Don't call compile-last.
12602         (compile-main): Build the "elcfiles" list dynamically.
12603         (compile-targets): New (internal) target.
12605 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12607         * Makefile.in (top_srcdir): Define.
12608         (abs_top_builddir): Define.
12609         (srcdir): Don't append `/..'.
12610         (EMACS): Use ${abs_top_builddir}.
12611         (all, compile, compile-always, compile-last): Don't set emacswd.
12612         (update-subdirs, update-authors): Use $(top_srcdir) instead of
12613         $(srcdir).
12614         (lisp): Use $(srcdir) instead of @srcdir@.
12616 2010-03-21  Juri Linkov  <juri@jurta.org>
12618         Fix message of multi-line occur regexps and multi-buffer header lines.
12619         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12621         * replace.el (occur-1): Don't display regexp if it is longer
12622         than window-width.  Use `query-replace-descr' to display regexp.
12623         (occur-engine): Don't display regexp in the buffer header for
12624         multi-buffer occur.  Display a separate header line with total
12625         match count and regexp for multi-buffer occur.
12626         Use `query-replace-descr' to display regexp.
12628 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
12630         * net/secrets.el: Fix parenthesis.
12631         (secrets-enabled): Fix parenthesis.
12633 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12635         Use more relative file and directory names.
12636         * Makefile.in (EMACS): Arrange for it to work when we chdir.
12637         (setwins, setwins_almost, setwins_for_subdirs):
12638         Don't `cd'; output relative names.
12639         (all, compile, compile-always, compile-last): Set emacswd.
12640         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12641         Just cd to the lisp source dir so we can use relative file names.
12643         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12645 2010-03-20  Glenn Morris  <rgm@gnu.org>
12647         * textmodes/rst.el: Use faces for font-lock customization, and make the
12648         old -face variables obsolete.
12649         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12650         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12651         (rst-block-face, rst-external-face, rst-definition-face)
12652         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12653         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12654         Make obsolete.
12655         (rst-font-lock-keywords-function): Update for above changes.
12657 2010-03-20  Juri Linkov  <juri@jurta.org>
12659         * s-region.el:
12660         * obsolete/s-region.el: Move to obsolete.
12662 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
12664         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12666 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12668         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12670 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12672         Add special markup processing for commit logs.
12673         * log-edit.el (log-edit-extra-flags): New variable.
12674         (log-edit): Add new argument MODE.  Use that mode when non-nil
12675         instead of the log-view-mode.
12676         (log-view-process-buffer): New function.
12678         * vc.el: Document that the checkin method takes optional
12679         arguments.  Document new backend specific method: log-view-mode.
12680         (vc-default-log-edit-mode): New function.
12681         (vc-checkin): Use a backend specific log-view-mode.
12682         Pass extra arguments to the checkin method.
12683         (vc-modify-change-comment): Pass a dummy extra argument.
12685         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12686         log-edit.
12687         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12688         (vc-finish-logentry): Process the log buffer before passing it
12689         down.  Pass log-edit-extra-flags.
12691         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12692         command.
12693         (log-edit-extra-flags, log-edit-before-checkin-process):
12694         New declarations.
12696         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12697         command.
12698         (log-edit-extra-flags, log-edit-before-checkin-process):
12699         New declarations.
12700         (vc-hg-log-edit-mode): New derived mode.
12702         * vc-arch.el (vc-arch-checkin):
12703         * vc-cvs.el (vc-cvs-checkin):
12704         * vc-git.el (vc-git-checkin):
12705         * vc-mtn.el (vc-mtn-checkin):
12706         * vc-rcs.el (vc-rcs-checkin):
12707         * vc-sccs.el (vc-sccs-checkin):
12708         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12710 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12712         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12713         parent typo).
12715 2010-03-19  Glenn Morris  <rgm@gnu.org>
12717         * password-cache.el (password-cache, password-cache-expiry): Autoload.
12719 2010-03-18  Glenn Morris  <rgm@gnu.org>
12721         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12723         * replace.el (query-replace-history): Give it a doc string.
12724         (map-query-replace-regexp): Use query-replace-from-history-variable
12725         and query-replace-to-history-variable.
12727         * mail/hashcash.el (declare-function): Remove duplicate definition.
12729         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12730         Make it an obsolete alias for report-emacs-bug-address.
12731         (message-strip-special-text-properties): Declare.
12732         (report-emacs-bug): Remove test for a pretest bug address.
12733         Combine message-mode-specific code.
12735         * mail/supercite.el: Don't require sendmail.
12736         (mh-in-header-p): Declare rather than using with-no-warnings.
12737         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12738         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
12740         * calendar/cal-french.el: Convert to utf-8.
12742         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12743         Emacs scripts.
12745 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
12747         * net/secrets.el (secrets-enabled): New variable.  Use it instead
12748         of a subfeature.
12750 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
12752         * net/secrets.el (top): Register the D-Bus signals only when the
12753         service "org.freedesktop.secrets" can be pinged.
12754         Provide subfeature `enabled'.
12756 2010-03-14  Juri Linkov  <juri@jurta.org>
12758         Add finder unknown keywords.
12760         * finder.el (finder-unknown-keywords): New function.
12762         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12763         to create a Finder node with unknown keywords.
12765 2010-03-14  Juri Linkov  <juri@jurta.org>
12767         * finder.el (finder-compile-keywords): Replace `princ' with
12768         `prin1' on a list of symbols interned from keyword strings.
12770         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12771         a comma, then split keywords using a comma and optional whitespace.
12772         Otherwise, split by whitespace.
12774         * complete.el:
12775         * face-remap.el:
12776         * log-view.el:
12777         * net/hmac-def.el:
12778         * net/hmac-md5.el:
12779         * net/netrc.el:
12780         * progmodes/mixal-mode.el: Fix keywords.
12782 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
12784         * Makefile.in (ELCFILES): Add net/secrets.elc.
12786         * net/secrets.el: New file.
12788 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12790         * facemenu.el (list-colors-display, list-colors-print): New arg
12791         callback.  Use it to allow selecting colors.
12793         * wid-edit.el (widget-image-insert): Insert image prop even if the
12794         current display is non-graphic.
12795         (widget-field-value-set): New fun.
12796         (editable-field): Use it.
12797         (widget-field-value-get): Clean up unused var.
12798         (widget-color-value-create, widget-color--choose-action):
12799         New funs.  Allow using list-colors-display to choose color.
12801 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12803         * cus-edit.el: Resort topmost custom groups.
12804         (custom-buffer-sort-alphabetically): Default to t.
12805         (customize-apropos): Use apropos-parse-pattern.
12806         (custom-search-field): New var.
12807         (custom-buffer-create-internal): Add custom-apropos search field.
12808         (custom-add-parent-links): Don't display parent doc.
12809         (custom-group-value-create): Don't sort top-level custom group.
12810         (custom-magic-value-create): Show visibility button before option name.
12812         (custom-variable-state): New fun, from custom-variable-state-set.
12813         (custom-variable-state-set): Use it.
12814         (custom-group-value-create): Hide options with standard values
12815         using the :hidden-states property.  Use progress reporter.
12817         (custom-show): Simplify.
12818         (custom-visibility): Disable images by default.
12819         (custom-variable): New property :hidden-states.
12820         (custom-variable-value-create): Enable images for
12821         custom-visibility widgets.  Use :hidden-states property to
12822         determine initial visibility.
12824         * wid-edit.el (widget-image-find): Give images center ascent.
12825         (visibility): Add :on-image and :off-image properties.
12826         (widget-visibility-value-create): Use them.
12828 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12830         * cus-edit.el (processes): Remove from development group.
12831         (oop, hypermedia): Delete group.
12832         (comm): Promote to top-level group.
12834         * net/browse-url.el (browse-url):
12835         * net/xesam.el (xesam):
12836         * net/tramp.el (tramp):
12837         * net/goto-addr.el (goto-address):
12838         * net/ange-ftp.el (ange-ftp): Put in comm group.
12840         * view.el (view): Remove from editing group.
12842         * uniquify.el (uniquify): Put in files group.
12844         * net/browse-url.el (browse-url):
12845         * ps-print.el (postscript): Put in external group.
12847         * cus-edit.el (outlines):
12848         * textmodes/text-mode.el (text-mode-hook):
12849         * textmodes/table.el (table):
12850         * textmodes/picture.el (picture):
12851         * outline.el (outlines): Put in wp group.
12853         * nxml/nxml-mode.el (nxml): Remove from wp group.
12855         * net/tramp-imap.el (tramp-imap): Put in tramp group.
12857         * mail/metamail.el (metamail): Remove from hypermedia group.
12859         * cus-edit.el (abbrev):
12860         * whitespace.el (whitespace):
12861         * vcursor.el (vcursor):
12862         * reveal.el (reveal):
12863         * hl-line.el (hl-line): Put in convenience group.
12865         * epg-config.el (epg): Put in data group.
12867         * emulation/pc-select.el (pc-select): Put in emulations group.
12869         * calculator.el (calculator): Put in applications group.
12871 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12873         Add .dir-locals.el support for file-less buffers.
12874         * files.el (hack-local-variables): Split out code to apply local
12875         variable settings ...
12876         (hack-local-variables-apply): ... here.  New function.
12877         (hack-dir-local-variables): Use the default directory for when the
12878         buffer does not have an associated file.
12879         (hack-dir-local-variables-non-file-buffer): New function.
12880         * diff-mode.el (diff-mode):
12881         * vc-annotate.el (vc-annotate-mode):
12882         * vc-dir.el (vc-dir-mode):
12883         * log-edit.el (log-edit-mode):
12884         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12886 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12888         Add support for shelving snapshots and for showing shelves.
12889         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12890         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12891         New functions.
12892         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12893         (vc-bzr-extra-menu-map): Map them.
12895 2010-03-11  Glenn Morris  <rgm@gnu.org>
12897         * cus-edit.el (customize-changed-options-previous-release):
12898         Bump to 23.1.
12900         * image.el (image-animate-max-time): Fix :version tag.
12902 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
12904         * Branch for 23.2.
12906 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12908         * vc-git.el (vc-git-revision-table): Include remote branches.
12910 2010-03-10  Kim F. Storm  <storm@cua.dk>
12912         Animated image API.
12913         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12915         * image.el (image-animate-max-time): New defcustom.
12916         (image-animated-types): New defconst.
12917         (create-animated-image, image-animate-timer)
12918         (image-animate-start, image-animate-stop, image-animate-timeout)
12919         (image-animated-p): New functions.
12921         * image-mode.el (image-toggle-display-image):
12922         Replace `create-image' with `create-animated-image'.
12924 2010-03-09  Miles Bader  <miles@gnu.org>
12926         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12927         instead of "format:"; this ensures that the output is
12928         newline-terminated.
12930 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
12932         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12933         that all errors are caught, and that the return value is always a
12934         list (Bug#5692).
12936 2010-03-08  Kenichi Handa  <handa@m17n.org>
12938         * language/misc-lang.el (windows-1256): New coding system.
12939         (cp1256): New alias of windows-1256 (bug#5690).
12941 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
12943         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12944         call to rfc822-bad-address.  (Bug#5692)
12946 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12948         * vc-git.el (vc-git-annotate-extract-revision-at-line):
12949         Use vc-git-root as default directory for revision path (Bug#5657).
12951 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
12953         * calculator.el (calculator): Don't bind split-window-keep-point
12954         (Bug#5674).
12956 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12958         * vc-git.el: Re-flow to fit into 80 columns.
12959         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12960         Remove spurious `quote' element in each case alternative.
12961         (vc-git-show-log-entry): Use prog1.
12962         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12964 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12966         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12968 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
12970         * macros.el (insert-kbd-macro): Look up keyboard macro using the
12971         definition, not the name (Bug#5481).
12973 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12975         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12976         argument with a local variable.  (Bug#5670)
12978 2010-03-02  Juri Linkov  <juri@jurta.org>
12980         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
12982 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
12984         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12985         error when FILENAME and NEWNAME are existing remote directories.
12987         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12988         parameter DIR-FLAG.
12990 2010-03-02  Glenn Morris  <rgm@gnu.org>
12992         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12993         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12995 2010-03-01  Kenichi Handa  <handa@m17n.org>
12997         * language/burmese.el (burmese-composable-pattern): Rename from
12998         myanmar-composable-pattern.
13000         * international/characters.el (script-list):
13001         * international/fontset.el (script-representative-chars):
13002         Change myanmar to burmese.
13003         (otf-script-alist): Likewise.
13004         (setup-default-fontset): Likewise.  Re-fix :otf spec.
13006 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
13008         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13010 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
13012         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13014 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
13016         * net/tramp.el (tramp-handle-write-region): START can be a string.
13017         Take care in the checks.  Reported by Dan Davison
13018         <davison@stats.ox.ac.uk>.
13020 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
13022         * net/dbus.el (dbus-introspect, dbus-get-property)
13023         (dbus-set-property, dbus-get-all-properties):
13024         Use `dbus-call-method' when noninteractive.  (Bug#5645)
13026 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
13028         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13029         * emacs-lisp/elint.el (elint-add-required-env):
13030         * calendar/icalendar.el (icalendar--add-diary-entry):
13031         * calc/calcalg2.el (math-tracing-integral):
13032         * files.el (recover-session-finish): Use with-current-buffer
13033         instead of save-excursion.
13035 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13037         Fix in-buffer completion when after-change-functions modify the buffer.
13038         * minibuffer.el (completion--replace): New function.
13039         (completion--do-completion): Use it and use relative movement.
13041 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
13043         * international/fontset.el (setup-default-fontset): Fix :otf spec.
13045 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
13047         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13048         Allow the characters _<> in the stack entry (Bug#5653).
13050 2010-02-26  Kenichi Handa  <handa@m17n.org>
13052         * language/burmese.el: Fix entries in composition-function-table.
13053         (myanmar-composable-pattern): New variable.
13055         * international/fontset.el (setup-default-fontset): Add an entry
13056         for myanmar.
13058         * international/characters.el (script-list): Add Myanmar
13059         Extended-A.
13061 2010-02-26  Glenn Morris  <rgm@gnu.org>
13063         * custom.el (custom-initialize-delay): Doc fix.
13065         * mail/sendmail.el (send-mail-function): Autoload the call
13066         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13068 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
13070         * files.el (hack-local-variables-filter): For eval forms, also
13071         check safe-local-variable-p (Bug#5636).
13073 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
13075         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13076         setting the modes by `ignore-errors'.  It might fail, for example
13077         if the file is not owned by the user but the group.
13078         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13080 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
13082         * files.el (directory-listing-before-filename-regexp):
13083         Use stricter matching for iso-style dates, to avoid false matches with
13084         date-like filenames (Bug#5597).
13086         * htmlfontify.el (htmlfontify): Doc fix.
13088         * eshell/eshell.el (eshell): Doc fix.
13090         * startup.el (fancy-about-screen): In mode-line, apply
13091         mode-line-buffer-id face only to the buffer name (Bug#5613).
13093 2010-02-20  Kevin Ryde  <user42@zip.com.au>
13095         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13096         In `watcom' anchor regexp to start of line, to avoid slowness
13097         (Bug#5599).
13099 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
13101         * subr.el (remove-yank-excluded-properties): Explain in a comment
13102         why `category' property is removed.
13104 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
13106         * isearch.el (isearch-update-post-hook, isearch-update):
13107         Revert 2010-02-17 change.
13109 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
13111         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13112         (icalendar--convert-weekly-to-ical)
13113         (icalendar--convert-yearly-to-ical)
13114         (icalendar--convert-block-to-ical)
13115         (icalendar--convert-cyclic-to-ical)
13116         (icalendar--convert-anniversary-to-ical): Take care of time
13117         specifications where hour has 1-digit only (Bug#5549).
13119 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
13121         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13122         of disassemble output in GDB 7.1.
13124 2010-02-19  Glenn Morris  <rgm@gnu.org>
13126         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13127         property.  (Bug#5593)
13129 2010-02-18  Sam Steingold  <sds@gnu.org>
13131         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13133 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13135         Use abbreviated file names in bookmarks (bug#5591).
13136         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13137         calls to expand-file-name.
13138         (bookmark-relocate): Use abbreviated file names in bookmarks.
13139         (bookmark-load): Use abbreviated file names in messages.
13141 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
13143         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13144         expand "." and "..".  Reported by Thierry Volpiatto
13145         <thierry.volpiatto@gmail.com>.
13147 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
13149         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13150         permissions of the temporary file to "0600".  In case the remote
13151         file has no read permissions for the owner, there might be
13152         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
13154 22010-02-18  Glenn Morris  <rgm@gnu.org>
13156         * emacs-lisp/authors.el (authors-renamed-files-alist):
13157         Add entries for INSTALL.CVS.
13159 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
13161         * vc-bzr.el: Fix typo in Known Bugs section.
13163         * isearch.el (isearch-update-post-hook): New hook.
13164         (isearch-update): Use the new hook.
13166 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
13168         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13169         Fix errors in copying directories.
13170         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13171         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13172         (tramp-handle-delete-file)
13173         (tramp-handle-dired-recursive-delete-directory)
13174         (tramp-handle-write-region): Flush also the cache for the upper
13175         directory.
13177 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
13179         * simple.el (save-interprogram-paste-before-kill): Doc fix.
13181         * cus-edit.el (hardware): Doc fix.
13183         * man.el (man): Add to external custom group.
13185         * delim-col.el (columns): Move to wp custom group.
13187         * doc-view.el (doc-view): Add to data custom group.
13189         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13191         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13192         by ispell-parse-output (Bug#5575).
13194 2010-02-16  Kenichi Handa  <handa@m17n.org>
13196         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13197         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13198         (skkdic-convert): Use `euc-japan' coding system for writing.
13200 2010-02-16  Glenn Morris  <rgm@gnu.org>
13202         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13203         tex-main-file before using it.  (Bug#5562)
13205 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13207         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13208         warnings, since it is annoying for the user to see them each time he
13209         runs the code.
13211 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
13213         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13214         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13215         instead of PROC for caching "first-password-request".  Otherwise,
13216         new processes would not profit from passwords already entered.
13218         * net/tramp-cache.el (tramp-dump-connection-properties):
13219         Don't save "first-password-request" property.
13221 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
13223         * outline.el (outline-head-from-level):
13224         * simple.el (with-wrapper-hook):
13225         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13226         (elint-defun, elint-buffer-env, elint-top-form-logged)
13227         (elint-unbound-variable):
13228         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13229         Fix typos in docstrings.
13231 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
13233         * files.el (insert-directory): When WILDCARD-REGEXP and
13234         FULL-DIRECTORY-P are nil, insert the file entry instead of the
13235         whole directory.  (Bug#5551)
13237         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
13238         dired's alignment sanity.  (Bug#5516)
13240 2010-02-14  Juri Linkov  <juri@jurta.org>
13242         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13243         Remove remaining ^H with their preceding chars.  (Bug#5566)
13245 2010-02-13  Glenn Morris  <rgm@gnu.org>
13247         * simple.el (transpose-subr): Give it a doc-string.
13249         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13250         Doc fixes.
13252 2010-02-12  Juri Linkov  <juri@jurta.org>
13254         * arc-mode.el (archive-unique-fname): Make directories for nested
13255         archives.  (Bug#5540)
13257 2010-02-12  Juri Linkov  <juri@jurta.org>
13259         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
13261 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13263         * subr.el (copy-overlay): Handle deleted overlays.
13265         * man.el (Man-completion-table): Don't signal an error if we can't run
13266         manual-program (bug#4056).
13268 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
13270         * textmodes/artist.el (artist-mt): Fix typos in docstring.
13272 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13274         * info.el (Info-bookmark-jump): Simplify.
13276         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13277         (bookmark-default-handler): Accept new bookmark field `buffer'.
13279 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
13281         * iswitchb.el (iswitchb-completions): Revert last change.
13283 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
13285         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13286         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13287         This prevents file names like "~/" being listed literally.
13289 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
13291         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13292         Remove dead code.  (Bug#5546)
13294 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
13296         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13297         correctly (Bug#5548).
13299 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
13301         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13302         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13304 2010-02-08  Kenichi Handa  <handa@m17n.org>
13306         * international/mule-util.el (with-coding-priority): Add autoload
13307         cookie for putting `lisp-indent-function'.
13309 2010-02-07  Glenn Morris  <rgm@gnu.org>
13311         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13312         Move F2003 named interfaces from keywords-2 to keywords-1, and
13313         use function-name-face rather than constant-face.
13314         Simplify "abstract interface" regexp.
13316 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
13318         * eshell/esh-util.el (eshell-file-attributes): New optional arg
13319         ID-FORMAT.  Pass it to `file-attributes'.
13321         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13323 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
13325         * faces.el (set-face-attribute): Allow calling
13326         internal-set-lisp-face-attribute with 'unspecified family and
13327         foundry argument (Bug#5536).
13329 2010-02-07  Glenn Morris  <rgm@gnu.org>
13331         * progmodes/f90.el (f90-font-lock-keywords-2)
13332         (f90-looking-at-type-like, f90-looking-at-program-block-end):
13333         Handle F2003 named interfaces.
13335 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
13337         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13338         beg and end before calling c-get-state-before-change-functions.
13340 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
13342         * vc-bzr.el (vc-bzr-dir-extra-headers):
13343         Disable the pending merges header.
13345 2010-02-05  Juri Linkov  <juri@jurta.org>
13347         * doc-view.el (doc-view-mode):
13348         * image-mode.el (image-mode): Put property mode-class=special.
13349         (Bug#4896)
13351 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
13353         * vc-svn.el (vc-svn-revision-table): New function.
13355 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
13357         * net/ange-ftp.el (ange-ftp-insert-directory):
13358         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13359         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13360         Handle also directories.  (Bug#5478)
13362 2010-02-05  Glenn Morris  <rgm@gnu.org>
13364         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13366 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
13368         * startup.el (command-line-1): Convert options beginning with a
13369         single dash as well (Bug#5519).
13371 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13373         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13374         * minibuffer.el (completion-initials-expand): Only check the presence
13375         of delims *within* the boundaries, since otherwise the / delim is
13376         always found for files.
13378         Fix up various corner case problems.
13379         * doc-view.el (doc-view-last-page-number): New function.
13380         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13381         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13382         (doc-view-kill-proc): Avoid inf-loop in freak cases.
13383         (doc-view-reconvert-doc): Use the new recursive delete-directory.
13384         (doc-view-convert-current-doc): Don't create the resolution.el file
13385         here any more.
13386         (doc-view-pdf/ps->png): Do it here instead.
13387         (doc-view-already-converted-p): Check that resolution.el is present.
13388         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13389         windows that are not yet showing images.
13391 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
13393         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13394         `dired-uncache' for every elemnt which is an absolute file name.
13396         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13397         directory, handle its directory component.
13398         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13399         function is called permanently and creates noise, otherwise.
13401         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13402         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13403         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
13405 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
13407         * macros.el (apply-macro-to-region-lines):
13408         Minor simplification.  (Bug#5485)
13410 2010-02-04  Glenn Morris  <rgm@gnu.org>
13412         * mail/rmail.el (rmail-show-message-1): Handle malformed
13413         quoted-printable text.  (Bug#5441)
13415         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13417         * simple.el (visual-line-mode): Capitalize lighter.
13419 2010-02-03  John Wiegley  <jwiegley@gmail.com>
13421         * iswitchb.el (iswitchb-completions): Add bookmark files to the
13422         list of files considered for "virtual buffer" completions.
13424 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
13426         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13427         also in case of (and (not full) (not wildcard)).  This is needed
13428         when dired is called with a list of files, which are not in
13429         `default-directory'.  (Bug#5478)
13431 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13433         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13435 2010-02-02  Juri Linkov  <juri@jurta.org>
13437         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13438         from unidiff to allow function-line after @@.
13440 2010-02-02  Juri Linkov  <juri@jurta.org>
13442         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13443         '(RCS SCCS) with inverted condition.
13445 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
13447         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13448         messages.
13450 2010-02-01  Juri Linkov  <juri@jurta.org>
13452         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13453         compare with "pkunzip" and "pkzip" instead of only "pkzip".
13454         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13455         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
13457 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13459         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13460         (doc-view-revert-buffer): New command.
13461         (doc-view-mode-map): Use it.
13463 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
13465         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13466         pending merge is detected.
13468 2010-01-31  Juri Linkov  <juri@jurta.org>
13470         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13471         beginning of interactive spec like all other grep commands do.
13472         Put "all" in front of "gz".  (Bug#5260)
13474 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
13476         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13478 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
13480         * dirtrack.el (dirtrack): Warn instead of signalling error if the
13481         regexp is incorrect (Bug#5476).
13483 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
13485         * net/tramp.el (tramp-handle-insert-directory): Handle also
13486         symlinks, when FILENAME is not in `default-directory'.
13488 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13490         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13491         FILE is not in `default-directory'.  (Bug#5478)
13493         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13494         of SWITCHES.  Handle the case, FILENAME is not in
13495         `default-directory'.  (Bug#5478)
13496         (tramp-register-file-name-handlers): Add safe-magic property.
13498 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
13500         * arc-mode.el (archive-zip-extract): Quote the argument passed to
13501         unzip (Bug#5475).
13503 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
13505         * progmodes/flymake.el (flymake-allowed-file-name-masks)
13506         (flymake-master-make-header-init): Add other C++ filename masks.
13507         (flymake-find-possible-master-files)
13508         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13510 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13512         Fix some busybox annoyances.
13514         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13515         not responding." string.
13516         (tramp-open-connection-setup-interactive-shell): Dump stty
13517         settings.  Enable "neveropen" arg for all `tramp-send-command'
13518         calls.  Handle "=" in variable values properly.
13519         (tramp-find-inline-encoding): Raise an error, when no encoding is
13520         found.
13521         (tramp-wait-for-output): Check, whether PROC buffer is available.
13522         Remove spurious " ^H" sequences, sent by busybox.
13523         (tramp-get-ls-command): Suppress coloring, if possible.
13525 2010-01-28  Glenn Morris  <rgm@gnu.org>
13527         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
13529         * log-edit.el (log-edit-strip-single-file-name): Add missing
13530         :safe, :group, and :version tags.
13532 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
13534         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13535         buffers.  (Bug#5477)
13537 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
13539         * files.el (delete-directory): Handle moving to trash without
13540         first doing recursion (Bug#5436).
13542 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
13544         * vc-hooks.el (vc-path): Mark as obsolete.
13546 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
13548         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13549         names too.
13551         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13552         for the short log.
13553         (vc-bzr-log-view-mode): Adjust regexp for the above change.
13555 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
13557         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13559         * vc-bzr.el (vc-bzr-revision-table): New function.
13561 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
13563         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13564         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
13566 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
13568         Remove support for adding --signoff on commit.
13569         Future support will use an incompatible generic mechanism.
13570         * vc-git.el (vc-git-add-signoff): Remove variable.
13571         (vc-git-toggle-signoff): Remove function.
13572         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13574         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13575         Rename from xterm-set-background-mode.  Return t if the background mode
13576         was set.
13577         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13578         earlier, call it again in case the background mode has changed.
13580 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
13582         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13583         (Bug#3541).
13585 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
13587         * emacs-lisp/assoc.el (aelement): Doc fix.
13588         (aput, adelete, amake): Use lexical-let (Bug#5450).
13590 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
13592         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13593         is the same as subprogram call, not declaration.  (Bug#5435).
13595 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
13597         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13598         (tramp-smb-maybe-open-connection): Use it.
13600 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
13602         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
13604 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13606         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13607         just because we see "encoding: 8bit".
13608         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13610 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
13612         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13614 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
13616         * jka-compr.el (jka-compr-load): If load-file is not in
13617         load-history, try its file-truename version.  (bug#5447)
13619 2010-01-21  Alan Mackenzie  <acm@muc.de>
13621         Fix a situation where deletion of a cpp construct throws an error.
13622         * progmodes/cc-engine.el (c-invalidate-state-cache):
13623         Before invoking c-with-all-but-one-cpps-commented-out, check that the
13624         special cpp construct is still in the buffer.
13625         (c-parse-state): Record the special cpp with markers, not numbers.
13627 2010-01-21  Kenichi Handa  <handa@m17n.org>
13629         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13630         process last-command-event, as it is now decoded first (Bug#5380).
13632 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
13634         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13636 2010-01-20  Glenn Morris  <rgm@gnu.org>
13638         * indent.el (tab-always-indent): Fix custom-type.
13640 2010-01-19  Alan Mackenzie  <acm@muc.de>
13642         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13643         buffer throws "args out of range".
13644         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13645         playing the role of delimiter.
13647 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
13649         * progmodes/ada-mode.el: Fix bug#5400.
13650         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13651         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13652         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
13653         Improve comments in "is" portion.  Handle null procedure declaration.
13654         (ada-move-to-end): Improve doc string.
13656 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
13658         * ido.el (ido-cur-list): Initialize to nil.
13659         Remove obsolete information from commentary.
13660         (ido-choice-list): Initialize to nil.
13661         (ido-get-bufname): Reject minibuffers.
13662         (ido-make-buffer-list): If "default" is a nonexistent
13663         buffer, ignore it, as per the function's comment.
13664         (ido-kill-buffer-internal): New function.
13665         (ido-kill-buffer-at-head): Use it.
13666         (ido-visit-buffer): Likewise.
13668 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
13670         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13672 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
13674         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13675         Fix typos in chart titles.
13677         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13678         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13679         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13680         (describe-class, eieio-describe-generic, describe-generic):
13681         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13682         (eieio-speedbar-expand):
13683         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13684         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13685         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13686         (viper-del-backward-char-in-replace, viper-backward-indent)
13687         (viper-brac-function, viper-register-to-point, viper-submit-report):
13688         * net/tramp.el (tramp-remote-coding-commands):
13689         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13690         Fix typos in docstrings.
13692 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
13694         * mail/sendmail.el (mail-yank-original): Set the mark if the
13695         specified function for yanking does not do it.
13697 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
13699         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
13701         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13702         resyncing a directory.
13704 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
13706         * progmodes/ada-mode.el: Fix bug#1920.
13707         (ada-ident-re): Delete ., allow multibyte characters.
13708         (ada-goto-label-re): New; matches goto labels.
13709         (ada-block-label-re): New; matches block labels.
13710         (ada-label-re): New; matches both.
13711         (ada-named-block-re): Delete; callers changed to use
13712         `ada-block-label-re' instead.
13713         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13714         Use `ada-block-label-re'.
13715         (ada-indent-on-previous-lines): Improve handling of goto labels.
13716         (ada-get-indent-block-start): Special-case block label.
13717         (ada-get-indent-label): Split into `ada-indent-block-label' and
13718         `ada-indent-goto-label'.
13719         (ada-goto-stmt-start, ada-goto-next-non-ws):
13720         Optionally ignore goto labels.
13721         (ada-goto-next-word): Simplify.
13722         (ada-indent-newline-indent-conditional): Insert newline before
13723         trying to fix indentation; doc fix.
13725 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
13727         * calc/calc.el (calc-command-flags): Give it an initial value.
13729 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
13731         * files.el (minibuffer-with-setup-hook):
13732         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13733         (artist-key-draw-continously, artist-key-do-continously-continously)
13734         (artist-key-set-point-continously, artist-mouse-draw-continously):
13735         Fix typos in docstrings.
13737 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
13739         * nxml/nxml-mode.el (nxml-extend-after-change-region):
13740         Never return t (Bug#3898).
13742 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
13744         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13745         can parse the output of the external commands (Bug#5279).
13747 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
13749         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13751 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
13753         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13755         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13757         * startup.el (command-line): Remove unused --icon-type arg.
13758         Handle --display arg, passing it to command-line-1 (Bug#5392).
13760 2010-01-16  Mario Lang  <mlang@delysid.org>
13762         * emacs-lisp/chart.el (chart-translate-namezone):
13763         * textmodes/artist.el (artist-compute-popup-menu-table):
13764         Remove duplicated words in doc-strings.
13766 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
13768         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13769         to mairix-search to suppress threading (Bug#5342).
13771 2010-01-15  Kenichi Handa  <handa@m17n.org>
13773         * international/mule-cmds.el (canonicalize-coding-system-name):
13774         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13776 2010-01-15  Glenn Morris  <rgm@gnu.org>
13778         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
13780         * wid-edit.el (widget-keymap): Doc fix.
13782         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13783         former seems to be more widely accepted by various svn versions.
13785 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13787         * find-cmd.el (find-constituents):
13788         * vc-arch.el (vc-arch-root):
13789         * window.el (window-body-height, pop-up-frames):
13790         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13791         * progmodes/ada-stmt.el (ada-if):
13792         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13793         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13794         (ispell-encoding8-command, ispell-aspell-supports-utf8)
13795         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13797         * progmodes/flymake.el (flymake-post-syntax-check):
13798         Fix typo in error message.
13800 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13802         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13803         which is always a string.  (Bug#5313)
13805 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13807         * progmodes/ada-xref.el (ada-default-prj-properties):
13808         Simplify previous change.
13810 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13812         * progmodes/ada-xref.el (ada-default-prj-properties):
13813         Default ada_project_path to $ADA_PROJECT_PATH.
13815 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13817         * progmodes/ada-mode.el (ada-create-keymap):
13818         Override `narrow-to-defun' with `ada-narrow-to-defun'.
13820 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13822         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13823         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13824         (ada-get-current-indent, ada-imenu-generic-expression)
13825         (ada-which-function): Check for it.
13827 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13829         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13830         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13832 2010-01-14  Glenn Morris  <rgm@gnu.org>
13834         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
13836 2010-01-14  Kenichi Handa  <handa@m17n.org>
13838         * composite.el (auto-composition-mode): Make it a buffer local
13839         variable (permanent-local).
13840         (auto-composition-function): Set the default value to
13841         auto-compose-chars.
13842         (auto-composition-mode): Make it a simple function, not a minor mode.
13843         (global-auto-composition-mode): Likewise.
13844         (turn-on-auto-composition-if-enabled): Delete it.
13846 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
13848         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13850 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
13852         * files.el (copy-directory): Compute target for recursive
13853         directories with identical names.  (Bug#5343)
13855 2010-01-12  Glenn Morris  <rgm@gnu.org>
13857         * mail/emacsbug.el (report-emacs-bug-pretest-address):
13858         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13860 2010-01-11  Sam Steingold  <sds@gnu.org>
13862         * imenu.el (imenu-default-create-index-function): Detect infinite
13863         loops caused by imenu-prev-index-position-function.
13865 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13867         * htmlfontify.el (htmlfontify-load-rgb-file)
13868         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13869         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13870         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13871         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13872         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13873         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13874         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13875         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13876         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13877         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13878         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13879         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13880         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13881         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13882         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13883         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13884         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13885         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13886         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13887         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13888         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13889         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13890         backslash-quoting from parentheses, etc.
13892 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
13894         * progmodes/js.el: Autoload javascript-mode alias.
13896 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13898         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13899         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13900         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13901         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13902         Fix typos in docstrings.
13903         (ffap-url-regexp): Doc fix.
13904         (ffap-at-mouse): Fix typo in message.
13906 2010-01-11  Glenn Morris  <rgm@gnu.org>
13908         * version.el (emacs-copyright): Set copyright year to 2010.
13910 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13912         * format.el (format-annotate-function): Only set
13913         write-region-post-annotation-function after running to-fn so as not to
13914         affect nested write-region calls (bug#5273).
13916 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
13918         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13919         wisent/python.el.
13921 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13923         * man.el (Man-goto-section): Signal error if the section is not
13924         found (Bug#5317).
13926 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
13928         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13929         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
13931 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13933         * progmodes/compile.el: Don't treat compile-command as safe if
13934         compilation-read-command might be nil (Bug#4218).
13936 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
13938         * startup.el (command-line-1): Use orig-argi to check for ignored X and
13939         NS options.
13941 2010-01-08  Kenichi Handa  <handa@m17n.org>
13943         * international/fontset.el (build-default-fontset-data):
13944         Exclude characters in scripts kana, hangul, han, or cjk-misc.
13946 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
13948         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13949         to `create-file-buffer' as it expects, not just a buffer name.
13950         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13951         to help uniquify.  (Bug#3224)
13953 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
13955         * font-setting.el (font-setting-change-default-font): Use user-spec
13956         instead of name.
13958 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
13960         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13962 2010-01-05  Tom Tromey  <tromey@redhat.com>
13964         * progmodes/python.el (python-font-lock-keywords):
13965         Handle qualified decorators (Bug#881).
13967 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13969         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13970         in a lightweight checkout.
13972 2010-01-05  Kenichi Handa  <handa@m17n.org>
13974         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13976 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13978         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13980 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
13982         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13983         checkouts.  (Bug#618)
13984         (vc-bzr-log-view-mode): Also highlight the author.
13985         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13986         (vc-bzr-shelve-menu-map):
13987         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13988         (vc-bzr-shelve-apply): Make prompt more explicit.
13990 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
13992         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13993         They are valid characters in URL paths (rfc3986), and at least
13994         Firefox does not understand the encoded version (Bug#3166).
13996 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
13998         * progmodes/octave-mod.el (octave-end-keywords)
13999         (octave-block-begin-or-end-regexp, octave-block-match-alist):
14000         Add "end" keyword (Bug#3061).
14001         (octave-end-as-array-index-p): New function.
14002         (calculate-octave-indent): Use it.
14004 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14006         * bookmark.el: Consistently put the text property on the bookmark name.
14007         (bookmark-bmenu-marks-width): Bump back to 2, to include
14008         annotation marks.
14009         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14010         property on the bookmark name, instead of not putting it at all.
14011         (bookmark-bmenu-list): Fix where we put the text property.
14013 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14015         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14016         for showing buffer modified state (as added in the previous change).
14018 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14020         * bookmark.el: Show modified state of bookmark buffer more accurately.
14021         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14022         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14023         (with-buffer-modified-unmodified): New macro.
14024         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14025         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14026         Use new macro to preserve the buffer modified state.
14028 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14030         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14031         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14032         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14033         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14034         (bookmark-bmenu-rename, bookmark-bmenu-locate)
14035         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14036         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14038 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
14040         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14041         Make the lines in the generated doc string shorter.  (Bug#4668)
14043 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
14045         * net/rcirc.el: Add follow-link binding (Bug#4738).
14047 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
14049         * Makefile.in (bzr-update): Rename from cvs-update.
14050         (cvs-update): New target for backward compatibility.
14052         * makefile.w32-in (bzr-update): Rename from cvs-update.
14053         (cvs-update): New target for backward compatibility.
14055 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14057         * bookmark.el: Remove gratuitous gratitude.
14059 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14061         * bookmark.el (bookmark-bmenu-any-marks): New function.
14062         (bookmark-bmenu-save): Clear buffer modification if no marks.
14064 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14066         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14067         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14068         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14069         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14071         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14072         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14073         To: emacs-devel {_AT_} gnu.org
14074         Subject: bookmark.el bug report
14075         Date: Mon, 28 Dec 2009 14:19:16 +0800
14076         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14078 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14080         * bookmark.el: Improvements suggested by Drew Adams:
14081         (bookmark-bmenu-ensure-position): New name for
14082         `bookmark-bmenu-check-position'.  Just ensure the position,
14083         don't return any meaningful value.
14084         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14085         New constants.
14087 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
14089         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14090         (bookmark-yank-point, bookmark-bmenu-check-position):
14091         Fix typos in docstrings.
14092         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14093         (bookmark-name-from-full-record, bookmark-get-position)
14094         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14095         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14096         Remove useless quoting of parenthesis, etc. in docstrings.
14098         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14099         (ediff-append-custom-diff): Fix typo in error message.
14100         (ediff-meta-mark-equal-files): Fix typos in messages.
14102         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14104         * net/imap-hash.el (imap-hash-make): Doc fix.
14105         (imap-hash-test): Fix typo in error message; reflow docstring.
14106         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14107         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14108         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14109         Fix typos in docstrings.
14110         (imap-hash-open-connection): Fix typo in error message.
14112         * play/gomoku.el (gomoku): Fix typos in docstring.
14114         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14115         (gdb-jsonify-buffer): Fix typos in docstring.
14116         (gdb-goto-breakpoint): Fix typo in error message.
14117         ("Display Other Windows"): Fix typo in help message.
14118         (gdb-speedbar-expand-node): Fix typo in question.
14120         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14121         (idlwave-html-system-help-location, idlwave-html-help-location)
14122         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14123         (idlwave-help-browser-generic-args, idlwave-help-directory)
14124         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14125         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14126         (idlwave-online-help, idlwave-help-html-link)
14127         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14128         Fix typos in docstrings.
14129         (idlwave-help-with-source, idlwave-help-find-routine-definition):
14130         Reflow docstrings.
14131         (idlwave-help-assistant-start): Fix typo in error message.
14133         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14134         (octave-electric-space): Fix typos in docstrings.
14136 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
14138         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14140 2010-01-01  Juri Linkov  <juri@jurta.org>
14142         * comint.el (comint-input-ring-size): Make it a defcustom and
14143         increase the default to 500 (Bug#5148).
14145 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
14147         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14148         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14149         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14151 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
14153         Show working revision correctly for mercurial.
14154         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14155         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14157 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
14159         Declare some functions for the byte-compiler.
14160         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14161         (speedbar-timer-fn, speedbar-change-expand-button-char)
14162         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14164 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
14166         This changeset reverts GDB Graphical Interface to use annotations.
14167         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14169 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
14171         Make vc-dir work on subdirectories of the bzr root.
14172         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14173         Return file names relative to it.
14174         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14175         relative directory to vc-bzr-after-dir-status.
14177 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
14179         * font-lock.el (font-lock-refresh-defaults): New function, which
14180         can be used to let font-lock react to external changes in
14181         variables like font-lock-defaults and keywords.
14182         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14184 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
14186         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14188         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14190 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
14192         Supersede color.diff settings in git log (bug#5211).
14194         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14195         escape chars in its output when the user has color.diff set to `always'.
14196         This fix works on git 1.4.2 and newer (released on 2006-08-13).
14198 2009-12-26  Kevin Ryde  <user42@zip.com.au>
14200         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14201         node.  Keep previous "Index" name to work with past coreutils too.
14203         * man.el (man): Revise docstring a bit to show -a and -l as
14204         examples.  Add -k description since support for it has otherwise
14205         been a secret.  (Further to bug#3717.)
14206         (Man-bgproc-sentinel): When "-k foo" produces no output show error
14207         "no matches" rather than "Can't find manpage", as the latter reads
14208         like -k was interpreted as a page name, which is not so.  (Bug#5431)
14210 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
14212         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14213         switches.  Check also for //SUBDIRED// line.
14215 2009-12-25  Kenichi Handa  <handa@m17n.org>
14217         * language/indian.el (devanagari-composable-pattern): Fix to
14218         handle ZWNJ and ZWJ.  Use it in composition-function-table for
14219         Devanagari.
14220         (malayalam-composable-pattern): Fix previous change.
14222 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14224         * ps-print.el (ps-face-attributes): It was not returning the
14225         attribute face for faces specified as string.  Reported by harven
14226         <harven@free.fr>.  (Bug#5254)
14227         (ps-print-version): New version 7.3.5.
14229 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
14231         * calendar/icalendar.el (icalendar--convert-tz-offset):
14232         Fix timezone names.
14233         (icalendar--convert-tz-offset): Fix the "last-day-problem".
14234         (icalendar--add-diary-entry): Remove the trailing blank that
14235         diary-make-entry inserts.
14237 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
14239         Make `file-expand-wildcards' work for remote files.
14241         * files.el (file-expand-wildcards): In case of remote files, check
14242         only local file name part for wildcards.  Provide feature 'files
14243         and subfeature 'remote-wildcards.  (Bug#5198)
14245         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14246         if there is already an established connection.
14247         (tramp-advice-file-expand-wildcards): Remove it.
14249         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14250         (tramp-advice-file-expand-wildcards): Move from tramp.el.
14251         Activate advice for older GNU Emacs versions.  (Bug#5237)
14253 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
14255         Some doc fixes (more needed).
14257         * find-cmd.el (find-constituents): Reflow docstring.
14258         (find-cmd, find-prune, find-command): Fix typos in docstrings.
14259         (find-generic): Doc fix.
14261 2009-12-17  Juri Linkov  <juri@jurta.org>
14263         Fix regression from 23.1 to allow multiple modes in Local Variables.
14265         * files.el (hack-local-variables-filter): While ignoring duplicates,
14266         don't take `mode' into account.
14267         (hack-local-variables-filter, hack-dir-local-variables):
14268         Don't remove duplicate `mode' from local-variables-alist (like `eval').
14270 2009-12-17  Juri Linkov  <juri@jurta.org>
14272         Make `dired-diff' safer.  (Bug#5225)
14274         * dired-aux.el (dired-diff): Signal an error when `file' equals to
14275         `current' or when `file' is a directory of the `current' file.
14277 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
14279         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14280         unconditionally preloaded files.
14282 2009-12-16  Juri Linkov  <juri@jurta.org>
14284         Revert to old 23.1 logic of using the file at the mark as default.
14285         * dired-aux.el (dired-diff): Use the file at the mark as default
14286         if it's not the same as the current file, and the target dir is
14287         the current dir or the mark is active.  Add the current file
14288         as the arg of `dired-dwim-target-defaults'.  Use the default file
14289         in the prompt.  (Bug#5225)
14291 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
14293         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14294         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14295         (tramp-check-for-regexp): Check also, when an echoing shell stops
14296         to echo sent commands.
14298 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14300         * Makefile.in: Revert last change (Bug#5191).
14302 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
14304         * vc-hg.el (vc-hg-print-log): Fix argument order.
14305         (vc-hg-working-revision): Make sure the command is executed in a
14306         known environment so that we can parse the output.  (Bug#4417)
14308 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14310         * progmodes/python.el (python-symbol-completions): Remove text
14311         properties from symbol string before calling python-send-receive.
14313 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
14315         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14316         when there are values for both file and line.  (Bug#5060)
14318 2009-12-14  Juri Linkov  <juri@jurta.org>
14320         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14321         whitespace after the file name of the first line of unified format,
14322         because git-diff doesn't output whitespace and file modification time
14323         after the file name.
14325 2009-12-14  David Kastrup  <dak@gnu.org>
14327         * info.el (Info-hide-cookies-node): Before hiding a cookie,
14328         check if it already has the `display' property added by
14329         `Info-display-images-node', and not put the `invisible' property
14330         in this case.
14332 2009-12-13  Glenn Morris  <rgm@gnu.org>
14334         * mail/emacsbug.el (message-sort-headers): Define for compiler.
14335         (report-emacs-bug): In message-mode, sort manually before storing
14336         original report text.  (Bug#5178)
14337         Remove superfluous save-excursion.
14339 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
14341         * net/dbus.el (dbus-property-handler): Filter lambda forms out
14342         when responding to "GetAll" properties.
14344 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
14346         * simple.el (compose-mail): Remove mail-setup-with-from from
14347         customization checks.
14349 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
14351         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14352         RAR archives created on Unix systems.
14354 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14356         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14357         the varalias that was accidentally removed by the 2009-11-19 change
14358         (bug#5186).
14360 2009-12-12  Kenichi Handa  <handa@m17n.org>
14362         * language/indian.el (indian-compose-regexp): New function.
14363         (malayalam-composable-pattern): Fix the pattern.
14364         (composition-function-table): Set malayalam-composable-pattern for
14365         Malayalam characters.
14367 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
14369         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14370         rather than down-mouse-1, based on follow-link conventions.
14372         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14373         are compiled.
14375 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
14377         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14378         (verilog-vmm-statement-re, verilog-ovm-statement-re)
14379         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14380         (verilog-leap-to-head, verilog-backward-token):
14381         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
14383 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
14385         * progmodes/verilog-mode.el (verilog-auto-lineup)
14386         (verilog-nameable-item-re): Cleanup user-visible spelling and
14387         documentation errors.  One reported by Gary Delp.
14388         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14389         (verilog-read-decls): Fix AUTOWIRE with types declared in a
14390         package, bug195.  Reported by Pierre-David Pfister.
14392 2009-12-11  Glenn Morris  <rgm@gnu.org>
14394         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14396         * mail/emacsbug.el: No longer require sendmail.
14397         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
14398         (report-emacs-bug-orig-text): Doc fix.
14399         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14400         New local variables, to adapt to different mail-user-agents.
14401         (report-emacs-bug): Fix test for a gnu.org address.
14402         Use overlays for emphasis, since font-lock defeats 'face property.
14403         Pretest bugs also end up at the newsgroup these days.
14404         Stop message-mode stripping text properties.
14405         Set and use the new buffer-local variables.
14406         (report-emacs-bug-hook): Add doc-string.
14407         Remove some unnecessary save-excursions and simplify.
14408         Use the appropriate hook and send-command.
14410         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14411         capitalization of some menu entries.
14413 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14415         * whitespace.el (whitespace-display-char-on):
14416         Ensure `buffer-display-table' is unique when two or more windows are
14417         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14418         New version 12.1.
14420 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
14422         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14423         characters in the Attribute field.
14425 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
14427         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
14429 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14431         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14432         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14433         Disregard autoload-excludes.
14434         (update-directory-autoloads): Obey autoload-excludes here instead.
14435         But don't store its contents in no-autoloads and remove entries that
14436         refer to excludes files.
14438 2009-12-10  Glenn Morris  <rgm@gnu.org>
14440         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14441         (expand-mail-aliases): Define for compiler.
14443         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14444         Define for compiler.
14446         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14447         appropriate for the mail-user-agent in use.
14449 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
14451         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14453 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
14455         Fix short log parsing and fontification.
14456         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14457         Fix fontification for the [merge] label.
14459 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
14461         Drop some properties to avoid surprises (bug#5002).
14462         * htmlfontify.el (hfy-ignored-properties): New defcustom.
14463         (hfy-fontify-buffer): Use it.
14465 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14467         Minor cleanup.
14468         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14469         Adjust all callers.
14470         (ffap-locate-file): Remove unused arg `dir-ok' and make other
14471         args compulsory.  Adjust callers.
14472         (ffap-gopher-at-point): Remove unused var `name'.
14474         Get rid of the ELCFILES abomination.
14475         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14476         (compile-elcfiles): New phony target.
14477         (compile-main): Compute ELCFILES dynamically.
14478         (compile-clean): New target to remove left-over elc files.
14479         (compile, all): Use it.
14481 2009-12-09  Kenichi Handa  <handa@etlken>
14483         * international/mule-diag.el: Require help-mode instead of help-fns.
14485 2009-12-09  Kenichi Handa  <handa@m17n.org>
14487         * international/mule-cmds.el (ucs-names): Supply sufficiently
14488         fine ranges instead of pre-calculating accurate ranges.
14489         Iterate with bigger gc-cons-threshold.
14491 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
14493         Add support for stashing a snapshot of the current tree.
14494         * vc-git.el (vc-git-stash-snapshot): New function.
14495         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14497 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
14499         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14500         instead of `(beginning|end)-of-line'.
14502 2009-12-08  Glenn Morris  <rgm@gnu.org>
14504         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14506         * Makefile.in (ELCFILES): Regenerate.
14508 2009-12-07  Juri Linkov  <juri@jurta.org>
14510         Don't lazy-highlight the comint output in history Isearch mode.
14512         * comint.el (comint-history-isearch-search): Instead of
14513         `comint-line-beginning-position', use `comint-after-pmark-p'
14514         to check if point if before the process mark, and go to
14515         `process-mark' in this case.
14517 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14519         * textmodes/tex-mode.el (latex-complete)
14520         (latex-indent-or-complete): Remove.
14521         (latex-mode): Set completion-at-point-functions instead.
14523         Provide a standard completion command and hook it into TAB.
14524         * minibuffer.el (completion-at-point-functions): New var.
14525         (completion-at-point): New command.
14526         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14527         * progmodes/python.el (python-mode-map): Use completion-at-point.
14528         (python-completion-at-point): Rename from python-partial-symbol and
14529         adjust for use in completion-at-point-functions.
14530         (python-mode): Setup completion-at-point for Python completion.
14531         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14532         extracted from lisp-complete-symbol.
14533         (lisp-complete-symbol): Use it.
14534         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14535         setup completion-at-point for Elisp completion.
14536         (emacs-lisp-mode-map, lisp-interaction-mode-map):
14537         Use completion-at-point.
14538         * ielm.el (ielm-map): Use completion-at-point.
14539         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14540         * progmodes/sym-comp.el: Move to...
14541         * obsolete/sym-comp.el: Move from progmodes.
14543 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
14545         Prevent save-buffer in Rmail buffers from using the coding-system
14546         of the current message, and from clobbering the encoding mnemonics
14547         in the mode line (Bug#4623).
14549         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14550         flag, too.
14551         (rmail-message-encoding): New variable.
14552         (rmail-write-region-annotate): Record the encoding of the current
14553         message in rmail-message-encoding.
14554         (rmail-after-save-hook): New function, restores the encoding of
14555         the current message after the message collection is saved.
14557 2009-12-07  Juri Linkov  <juri@jurta.org>
14559         * progmodes/grep.el (grep-read-files): Use `completing-read'
14560         instead of `read-string'.  Set its `collection' arg to
14561         `read-file-name-internal'.  (Bug#4301)
14563 2009-12-07  Juri Linkov  <juri@jurta.org>
14565         Correctly restore original Isearch point.  (Bug#4994)
14567         * isearch.el (isearch-mode): Move `isearch-push-state' after
14568         `(run-hooks 'isearch-mode-hook)'.
14569         (isearch-cancel): When `isearch-push-state-function' is defined,
14570         let-bind `isearch-cmds' to the first state (the last element of
14571         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14572         function and restores the original point).  Otherwise, move point
14573         to `isearch-opoint'.
14575 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14577         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14578         chars that don't have names, so the table can be built much faster at
14579         run-time.
14581 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
14583         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14584         change.  Suggested by David Kastrup.
14586         * simple.el (compose-mail): Check for incompatibilities and warn.
14587         (compose-mail-user-agent-warnings): New option.
14589 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14591         Support showing a single log entry from vc-annotate.
14592         * vc.el (print-log): Add a new argument: START-REVISION.
14593         (vc-print-log-internal): Add a new optional argument and
14594         pass it to the backend.
14595         (vc-print-log, vc-print-root-log): Adjust callers.
14596         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14597         buffer already displays the requested log entry, use it.
14598         Otherwise display only the log entry in question.
14599         * vc-svn.el (vc-svn-print-log):
14600         * vc-mtn.el (vc-mtn-print-log):
14601         * vc-hg.el (vc-hg-state):
14602         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14603         (vc-git-show-log-entry): Return t on success.
14604         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14605         (vc-bzr-show-log-entry): Return t on success.
14606         * vc-rcs.el (vc-rcs-print-log):
14607         * vc-sccs.el (vc-sccs-print-log):
14608         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14610 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14612         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14613         Add menus to the meta mode.  (Bug#5043)
14615 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
14617         * ediff-init.el (ediff-event-key): Use event-to-character instead of
14618         event-key.
14620         * ediff.el (ediff-buffers-internal): Add unwind-protect.
14622 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
14624         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
14625         Berbain <raphael.berbain@gmail.com>.
14627         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
14628         characters.
14629         (tramp-initial-end-of-output): New defconst.
14630         (tramp-methods, tramp-find-shell)
14631         (tramp-open-connection-setup-interactive-shell)
14632         (tramp-maybe-open-connection): Use it.
14633         (tramp-shell-prompt-pattern, tramp-wait-for-output):
14634         Handle existence of `#' and `$'.
14636         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14637         Use `tramp-initial-end-of-output'.
14639 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14641         Get the background mode from the terminal for xterm, and set
14642         faces accordingly.
14643         * term/xterm.el (xterm-set-background-mode): New function.
14644         (terminal-init-xterm): Use it in case xterm supports background
14645         color queries.  Recompute faces after getting the background
14646         color.
14648 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
14650         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14651         number comment back on its own line, for easier parsing.
14653 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14655         Make it work for non-file buffers (bug#5102).
14656         * doc-view.el (doc-view-current-cache-dir):
14657         Use doc-view-buffer-file-name rather than buffer-file-name.
14658         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14660 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
14662         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14663         author field is too short.
14665 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
14667         * vc-git.el (vc-git-print-log): Handle a limit argument.
14668         Display the short log in graph form and with labels.
14669         (vc-git-log-view-mode): Handle labels.
14671         Make vc-revert change VC state from 'added to 'unregistered.
14672         * vc-git.el (vc-git-revert): Call git reset first.
14674 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14676         * net/newst-backend.el, net/newst-plainview.el:
14677         * net/newst-reader.el, net/newst-ticker.el:
14678         * net/newst-treeview.el, net/newsticker.el:
14679         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
14681 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14683         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14685         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14686         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
14687         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14688         Update annotation regexp.
14690         * simple.el (beginning-of-visual-line): Constrain to field
14691         boundaries (Bug#5106).
14693 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14695         * xml.el (xml-substitute-numeric-entities):
14696         Move newsticker--decode-numeric-entities in newst-backend.el to
14697         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14698         * net/newst-backend.el (newsticker--parse-generic-feed)
14699         (newsticker--parse-generic-items)
14700         (newsticker--decode-numeric-entities):
14701         Move newsticker--decode-numeric-entities in newst-backend.el to
14702         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14704 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
14706         * progmodes/js.el (js--js-not): Add null to the list of values.
14708 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14710         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14712 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14714         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14715         delimiter if it is at the end of the current line.
14716         (bibtex-generate-url-list): Fix docstring.
14718 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14720         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14721         minibuffer's content with itself.
14722         Fold the confirm-after-completion case into the `confirm' case.
14723         (completion-pcm-word-delimiters): Add : and / to the delimiters.
14725 2009-12-06  Kevin Ryde  <user42@zip.com.au>
14727         * ffap.el (ffap-rfc-path): Make this a defcustom since
14728         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
14730         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14731         manuals, similar to existing setup for help-mode.  (Bug#3913.)
14733 2009-12-05  Juri Linkov  <juri@jurta.org>
14735         Save and restore dired buffer's point positions too.  (Bug#4880)
14737         * dired.el (dired-save-positions): Return in the first element
14738         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14739         Doc fix.
14740         (dired-restore-positions): First restore buffer's position.
14741         While restoring window's positions, check if window still displays
14742         the original buffer.
14744 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
14746         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14747         if possible.
14749         * shell.el (shell): Require ansi-color (Bug#5113).
14751         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14753         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14755 2009-12-05  Alan Mackenzie  <acm@muc.de>
14757         * progmodes/cc-mode.el (c-before-hack-hook)
14758         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14759         `c-file-style' to work again.  This reversion restores the current
14760         software to its state in Emacs 23.1.  (Bug#4146)
14762 2009-12-05  Kevin Ryde  <user42@zip.com.au>
14764         * textmodes/sgml-mode.el (sgml-lexical-context):
14765         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14767 2009-12-05  Juri Linkov  <juri@jurta.org>
14769         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14770         for virtual nodes.  (Bug#4147)
14771         (Info-find-node-2): Set `Info-current-node-virtual' to nil
14772         when moving from a virtual node.
14773         (Info-mode-menu): Add `Info-virtual-index' to the menu.
14774         (Info-mode): Add `Info-virtual-index' to the docstring.
14776 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14778         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14779         track of the buffer position of the end of a BibTeX entry as this
14780         position may change during reformatting.
14781         (bibtex-format-entry): Remove whitespace before processing
14782         numerical fields so that we recognize the latter properly.
14783         (bibtex-reformat): Do not use push which changes the global value
14784         of bibtex-entry-format.
14785         (bibtex-field-braces-alist, bibtex-field-strings-alist)
14786         (bibtex-field-re-init): Replace only space characters by regexp
14787         for whitespace.
14788         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14789         (bibtex-initialize): Also update bibtex-strings.
14790         (bibtex-kill-field): Preserve white space at end of entry.
14791         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14792         Update bibtex-reference-keys.
14794 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14796         * minibuffer.el (completion-pcm--merge-try): Also consider placing
14797         point after a star, if that's the only place where modifications can
14798         make progress.
14800 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
14802         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14803         in docstrings.
14805 2009-12-04  Juri Linkov  <juri@jurta.org>
14807         * proced.el (proced): Call `(proced-update t)' to update process
14808         information instead of only running proced-post-display-hook.
14809         (proced-send-signal): Add a leading space to the buffer name
14810         " *Marked Processes*" to make this buffer ephemeral.
14812 2009-12-04  Juri Linkov  <juri@jurta.org>
14814         * dired.el (dired-auto-revert-buffer): New defcustom.
14815         (dired-internal-noselect): Use it.
14817 2009-12-04  Juri Linkov  <juri@jurta.org>
14819         Change roles of modes and functions in image-mode.el (Bug#5062).
14821         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14822         in `auto-mode-alist'.
14823         (image-mode-previous-major-mode): New variable.
14824         (image-minor-mode-map): Rename from `image-mode-text-map'.
14825         (image-mode): Move graceful error-handling code from
14826         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
14827         (image-minor-mode): Remove all image-handling code.
14828         Replace `image-mode-text-map' with `image-minor-mode-map'.
14829         Check for `image-type' in mode-line format string.
14830         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14831         (image-mode-as-text): New function with most code from
14832         `image-mode-maybe'.
14833         (image-toggle-display-text): Move code that removes image
14834         properties from `image-toggle-display' to here.
14835         (image-toggle-display-image): New function with code that adds
14836         image properties copied from `image-toggle-display'.
14837         (image-toggle-display): Remove most code with leaving only code
14838         that toggles between `image-mode-as-text' and `image-mode'.
14840 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
14842         * net/newst-treeview.el
14843         (newsticker--treeview-list-highlight-start): Restored call to
14844         save-excursion: Selected item was stuck.
14845         (newsticker--treeview-list-select): New.
14846         (newsticker--treeview-item-show-text)
14847         (newsticker--treeview-item-show)
14848         (newsticker--treeview-item-update): Use new
14849         newsticker-treeview-item-mode.
14850         (newsticker-treeview-update): Keep current item.
14851         (newsticker-treeview-next-new-or-immortal-item): Doc change.
14852         (newsticker--treeview-first-feed): Doc change.
14853         (newsticker-treeview-list-menu)
14854         (newsticker-treeview-item-menu): Add menu entries.
14855         (newsticker-treeview-item-mode): New.
14857         * net/newst-backend.el (newsticker-customize): Delete other
14858         windows.
14860 2009-12-04  Sam Steingold  <sds@gnu.org>
14862         * log-view.el (log-view-mode-map): "q" calls quit-window,
14863         like in all the other non-self-insert buffers.
14865 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14867         Minor cleanup.
14868         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14869         key decoding rather than do it manually via last-input-event +
14870         ascii-character.
14871         (term-exec): Use delete-and-extract-region.
14872         (term-handle-ansi-terminal-messages): Remove unused var `end'.
14873         (term-process-pager): Remove unused var `i'.
14874         (term-dynamic-simple-complete): Make obsolete.
14875         (serial-update-config-menu): Remove unused vars `y' and `str'.
14876         (term-update-mode-line): Remove unused var `temp'.
14878 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14880         Limit the number of log entries displayed by default.
14881         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14882         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14883         using a prefix argument.
14885 2009-12-03  Glenn Morris  <rgm@gnu.org>
14887         * progmodes/idlwave.el (class): Restore still useful declaration.
14889 2009-12-03  Alan Mackenzie  <acm@muc.de>
14891         Enhance `c-parse-state' to run efficiently in "brace deserts".
14893         * progmodes/cc-mode.el (c-basic-common-init):
14894         Call c-state-cache-init.
14895         (c-neutralize-syntax-in-and-mark-CPP): Rename from
14896         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
14897         placing `category' properties value 'c-cpp-delimiter at its boundaries.
14899         * progmodes/cc-langs.el (c-before-font-lock-function):
14900         c-extend-and-neutralize-syntax-in-CPP has been renamed
14901         c-neutralize-syntax-in-and-mark-CPP.
14903         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14904         with `category' properties now, not `syntax-table' ones.
14906         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14907         enhanced (but slower) version of c-end-of-macro that won't land
14908         inside a literal or on another awkward character.
14909         (c-state-cache-too-far, c-state-cache-start)
14910         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14911         (c-state-nonlit-pos-cache-limit, c-state-point-min)
14912         (c-state-point-min-lit-type, c-state-point-min-lit-start)
14913         (c-state-min-scan-pos, c-state-brace-pair-desert)
14914         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14915         buffer local variables.
14916         (c-state-literal-at, c-state-lit-beg)
14917         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14918         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14919         (c-state-cache-top-paren, c-state-cache-after-top-paren)
14920         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14921         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14922         (c-renarrow-state-cache)
14923         (c-append-lower-brace-pair-to-state-cache)
14924         (c-state-push-any-brace-pair, c-append-to-state-cache)
14925         (c-remove-stale-state-cache)
14926         (c-remove-stale-state-cache-backwards, c-state-cache-init)
14927         (c-invalidate-state-cache-1, c-parse-state-1)
14928         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14929         (c-parse-state): Enhance and refactor.
14930         (c-debug-parse-state): Amend to deal with all the new variables.
14932         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14933         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14934         modify to use category text properties rather than syntax-table ones.
14935         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14936         to switch off/on the syntactic paren property of C++ template
14937         delimiters using the category property.
14938         (c-with-<->-as-parens-suppressed): Macro to invoke code with
14939         template delims suppressed.
14940         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14941         New constant/macros which apply category properties to the start
14942         and end of preprocessor constructs.
14943         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14944         "comment out" the syntactic value of characters in preprocessor
14945         constructs.
14946         (c-with-cpps-commented-out)
14947         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14948         with characters in all or all but one preprocessor constructs
14949         "commented out".
14951 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14953         * proced.el (proced-filter-alist): Use regexp-quote.
14955 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
14957         Cleanup.
14958         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14959         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
14960         arguments.  Expand `default-directory'.
14962         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14963         the benefit of returning an expanded localname.
14964         (tramp-tramp-file-p): Handle the case NAME is not a string.
14966 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14968         Add support for bzr shelve/unshelve.
14969         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14970         (vc-bzr-extra-menu-map): New variables.
14971         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14972         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14973         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14974         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14975         (vc-bzr-dir-extra-headers): Display shelves.
14977         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14979 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14981         * textmodes/bibtex.el (bibtex-complete-internal):
14982         Use completion-in-region.
14983         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14985 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14987         Support applying stashes.  Improve UI.
14988         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14989         (vc-git-stash-apply, vc-git-stash-pop)
14990         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14991         (vc-git-stash-menu): New functions.
14992         (vc-git-stash-menu-map): New variable.
14993         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14995 2009-12-03  Glenn Morris  <rgm@gnu.org>
14997         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14998         (vc-print-log-internal): Fix previous change.
14999         (vc-revert): Correct pluralization.
15001 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15003         * progmodes/make-mode.el (makefile-special-targets-list): No need for
15004         it to be an alist any more.
15005         (makefile-complete): Use completion-in-region.
15007         * progmodes/octave-mod.el (octave-complete-symbol):
15008         Use completion-in-region.
15010         Misc cleanup.
15011         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15012         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15013         (idlwave-complete-class): Don't quote lambda.
15014         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15015         (idlwave-mode-map): Move initialization into declaration.
15016         (idlwave-action-and-binding): Use backquotes.
15017         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15018         Simplify.
15019         (idlwave-is-pointer-dereference): Remove unused var `pos'.
15020         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15021         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15022         `parts', and `all-parts'.
15023         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15024         (idlwave-convert-xml-system-routine-info): Remove unused string
15025         `version-string'.
15026         (idlwave-display-user-catalog-widget): Use dolist.
15027         (idlwave-scanning-lib): Declare dynamically-scoped var.
15028         (idlwave-scan-library-catalogs): Remove unused var `flags'.
15029         (completion-highlight-first-word-only): Declare to silence bytecomp.
15030         (idlwave-popup-select): Tighten scope of `resp'.
15031         (idlwave-find-struct-tag): Remove unused var `beg'.
15032         (idlwave-after-load-rinfo-hook): Declare.
15033         (idlwave-sintern-class-info): Remove unused var `taglist'.
15034         (idlwave-find-class-definition): Remove unused var `list'.
15035         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15036         (idlwave-what-module-find-class): Remove unused var `classes'.
15038 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
15040         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15042 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15044         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15045         buffers visited.  Remove redundant current-buffer-saving.
15047 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15049         Use completion-in-buffer and remove uses of dynamic scoping.
15050         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15051         (pascal-buffer-to-use, pascal-flag): Don't declare.
15052         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15053         (pascal-get-completion-decl, pascal-keyword-completion):
15054         Add `pascal-str' argument, save-excursion,
15055         return the found completions, and don't filter with pascal-pred.
15056         (pascal-completion-cache): New var.
15057         (pascal-completion): Don't switch buffer any more (it was never
15058         necessary).  Don't save-excursion any more (it's done by the called
15059         subroutines).  Use a cache to avoid redundant computations.
15060         Use complete-with-action rather than pascal-completion-response and
15061         let it apply the predicate as well.
15062         (pascal-complete-word): Use completion-in-buffer when
15063         pascal-toggle-completions is nil.
15064         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15065         not used any more.
15066         (pascal-comp-defun): Don't change buffer any more.
15067         Use complete-with-action rather than pascal-completion-response and
15068         let it apply the predicate as well.
15069         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15070         when neded.
15072 2009-12-02  Kenichi Handa  <handa@m17n.org>
15074         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15075         shape for all Indic scripts.
15077 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15079         Use completion-in-buffer.
15080         * wid-edit.el (widget-field-text-end): New function.
15081         (widget-field-value-get): Use it.
15082         (widget-string-complete, widget-file-complete)
15083         (widget-color-complete): Use it and completion-in-region.
15084         (widget-complete): Don't narrow the buffer.
15086 2009-12-02  Glenn Morris  <rgm@gnu.org>
15088         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
15089         (rmail-select-summary): Use rmail-pop-to-buffer.
15090         * mail/rmailsum.el: Replace all pop-to-buffer calls with
15091         rmail-pop-to-buffer, to prevent horizontal splits.
15093         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15094         save-excursion with save-current-buffer.
15095         Widen before searching.  (Bug#5093)
15096         (diary-list-sexp-entries): Remove superfluous save-excursion.
15098 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
15100         * woman.el (woman-make-bufname): Handle man-pages with "." in the
15101         name.  (Bug#5038)
15103 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
15105         * ido.el (ido-file-internal): Handle filenames at point that do
15106         not have a directory part.  (Bug#5049)
15108 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
15110         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15111         (mpc-songs-jump-to, mpc-resume): Doc fixes.
15113 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
15115         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15116         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15117         any more.
15119 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15121         * comint.el (comint-insert-input): Ignore clicks to the right of
15122         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15124         * vc.el (vc-print-log-internal): Don't wait for the process to
15125         terminate before setting up the major mode.
15127         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15128         in case.
15130         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15131         the last element.
15133         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15135 2009-12-01  Glenn Morris  <rgm@gnu.org>
15137         * window.el (window--display-buffer-2): Fix previous changes.
15139 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
15141         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15143 2009-12-01  Glenn Morris  <rgm@gnu.org>
15145         * Makefile.in (ELCFILES): Add mpc.elc.
15147 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15149         * mpc.el: New file.
15151 2009-12-01  Glenn Morris  <rgm@gnu.org>
15153         * window.el (window-to-use): Define for compiler.
15155         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15156         consistent with others (no final period).
15158         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15159         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
15161 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
15163         Make vc-print-log buttons work.
15164         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15166 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
15168         * savehist.el (savehist-autosave-interval): Allow setting to nil
15169         through customize.  (Bug#5056)
15171 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
15173         Fix references to jit-lock properties.
15174         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15175         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15176         (perl-font-lock-special-syntactic-constructs):
15177         Quote jit-lock-defer-multiline property.
15179 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
15181         * vc-git.el (vc-git-registered): Call vc-git-root only once.
15183 2009-11-30  Juri Linkov  <juri@jurta.org>
15185         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15186         value `buffer' of `multi-isearch-next-buffer-current-function'.
15187         Use `(current-buffer)' when `buffer' is nil.
15188         (multi-isearch-next-buffer-from-list): Don't fallback to
15189         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
15191 2009-11-30  Juri Linkov  <juri@jurta.org>
15193         * misearch.el (multi-isearch-read-buffers): Move canonicalization
15194         of buffers with `get-buffer' to `multi-isearch-buffers'.
15195         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15196         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
15197         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15198         FILES with `expand-file-name' converting relative file names
15199         to absolute.  Doc fix.  (Bug#4727)
15201 2009-11-30  Juri Linkov  <juri@jurta.org>
15203         * misearch.el (multi-isearch-read-buffers)
15204         (multi-isearch-read-matching-buffers): New functions.
15205         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15206         Use them in the `interactive' spec.  Doc fix.
15207         (multi-isearch-read-files, multi-isearch-read-matching-files):
15208         New functions.
15209         (multi-isearch-files, multi-isearch-files-regexp):
15210         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
15212 2009-11-30  Juri Linkov  <juri@jurta.org>
15214         * doc-view.el (doc-view-continuous):
15215         Rename from `doc-view-continuous-mode'.
15216         (doc-view-menu): Move "Toggle display" to the top.
15217         Add submenu "Continuous" with radio buttons "Off"/"On"
15218         and "Save as Default".
15219         (doc-view-scroll-up-or-next-page)
15220         (doc-view-scroll-down-or-previous-page)
15221         (doc-view-next-line-or-next-page)
15222         (doc-view-previous-line-or-previous-page):
15223         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
15225 2009-11-30  Juri Linkov  <juri@jurta.org>
15227         * comint.el (comint-mode-map): Rebind `M-r' from
15228         `comint-previous-matching-input' to
15229         `comint-history-isearch-backward-regexp'.
15230         Unbind `M-s' to allow global key binding `M-s'.
15231         Add menu items for `comint-history-isearch-backward' and
15232         `comint-history-isearch-backward-regexp'.  (Bug#3746)
15234 2009-11-30  Juri Linkov  <juri@jurta.org>
15236         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15237         For def=recenter, replace `recenter' with `recenter-top-bottom'
15238         that is called with `this-command' and `last-command' let-bound
15239         to `recenter-top-bottom'.  When the last `def' was not `recenter',
15240         set `recenter-last-op' to nil.  (Bug#4981)
15242 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15244         Minor cleanup and simplification.
15245         * filecache.el (file-cache-add-directory)
15246         (file-cache-add-directory-recursively)
15247         (file-cache-add-from-file-cache-buffer)
15248         (file-cache-delete-file-regexp, file-cache-delete-directory)
15249         (file-cache-files-matching-internal, file-cache-display): Use dolist.
15250         (file-cache-temp-minibuffer-message): Delete function.
15251         (file-cache-minibuffer-complete): Use minibuffer-message instead.
15253         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15254         Don't signal an error when bumping into EOB in tr, s, or y.
15256 2009-11-29  Juri Linkov  <juri@jurta.org>
15258         * startup.el (fancy-about-text): Fix wording of Guided Tour.
15259         (Bug#4960)
15261         * descr-text.el (describe-char-unidata-list): Use lowercase name
15262         for "Unicode name" like in other tags.
15264 2009-11-29  Juri Linkov  <juri@jurta.org>
15266         * ediff-util.el (ediff-minibuffer-with-setup-hook):
15267         New compatibility macro.
15268         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15270 2009-11-29  Juri Linkov  <juri@jurta.org>
15272         Add defcustom to define the cycling order of `recenter-top-bottom'.
15273         (Bug#4981)
15275         * window.el (recenter-last-op): Doc fix.
15276         (recenter-positions): New defcustom.
15277         (recenter-top-bottom): Rewrite to use `recenter-positions'.
15278         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15280 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
15282         Improve integration of Tramp and ange-ftp in eshell.
15284         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15285         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
15286         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
15288         * eshell/esh-util.el (top): Require also Tramp when compiling.
15289         (eshell-directory-files-and-attributes): Check for FTP remote
15290         connection.
15291         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15292         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15293         (eshell-file-attributes): Handle ".".  Return `entry'.
15295         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15296         (ange-ftp-directory-files-and-attributes)
15297         (ange-ftp-real-directory-files-and-attributes): New defuns.
15299         * net/tramp.el (tramp-maybe-open-connection): Open the remote
15300         shell with "exec" when possible.  This prevents trailing prompts
15301         in `start-file-process'.
15303 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15305         Try and remove assumptions about point-min==1.
15306         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15307         (rng-compute-mode-line-string): Show the validation percentage in
15308         terms of the narrowed text, not the widened text.
15309         (rng-do-some-validation): Don't catch internal errors when debugging.
15310         (rng-first-error): Simplify.
15311         (rng-after-change-function): Remove work around.  AFAIK the bug has
15312         been fixed a while ago.
15314         * image-mode.el (image-minor-mode): Exit more gracefully when the image
15315         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15317         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15319         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15320         `cd' doesn't always do it for us (bug#5067).
15322         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15323         on 2009-10-25 as part of some other change (bug#5067).
15325 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15327         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15328         `suspicious'.
15329         (byte-compile-warnings): Use byte-compile-warning-types.
15330         (byte-compile-save-excursion): Warn about use of set-buffer right
15331         after save-excursion.
15333         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15334         the excursion as well.
15336 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
15338         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15339         providing a Tramp related implementation of "su" and "sudo".
15340         (eshell-unix-initialize): Add "su" and "sudo".
15342 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
15344         * net/socks.el (socks-send-command): Convert binary request to
15345         unibyte before sending.  This fixes mishandling of some port
15346         numbers such as 129.
15348 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15350         * help.el (describe-bindings-internal): Remove `interactive'.
15352         * man.el (Man-completion-table): Trim a terminating "(".
15353         Remove the space between name page a section.
15354         Add the command's description on the `help-echo' property.
15355         Remove `process-connection-type' binding since it's unused by
15356         call-process.
15357         Provide completion for the "<section> <name>" format as well.
15358         (Man-default-man-entry): Remove spurious var shadowing the argument.
15360 2009-11-26  Kevin Ryde  <user42@zip.com.au>
15362         * log-view.el: Add "Keywords: tools", since its other keywords
15363         aren't in finder-known-keywords, and following vc.el.
15365         * sha1.el (sha1-string-external): default-directory "/" in case
15366         otherwise non-existent.  process-connection-type pipe for touch of
15367         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
15369 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15371         Misc coding convention cleanups.
15372         * htmlfontify.el (hfy-init-kludge-hook): Rename from
15373         hfy-init-kludge-hooks.
15374         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15375         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15376         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15377         and push.
15378         (hfy-slant, hfy-weight): Use tables rather than code.
15379         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15380         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15381         (hfy-face-attr-for-class): Initialize `face-spec' directly.
15382         (hfy-face-to-css): Remove `nconc' with single arg.
15383         (hfy-p-to-face-lennart): Use `or'.
15384         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
15385         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15386         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15387         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15388         (hfy-force-fontification): Use run-hooks.
15390 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
15392         Various minor fixes.
15393         * htmlfontify.el (hfy-default-header): Add toggle_invis since
15394         Javascript belongs in the header, not the body.
15395         (hfy-javascript): Remove.
15396         (hfy-fontify-buffer): Don't insert it any more.
15397         (hfy-face-at): Handle (face0 face1 face2) style face properties.
15398         Fix bug in invis handling when there were no invis props in a chunk.
15400 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15402         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15404 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
15406         * finder.el (finder-mode-map): Add a menu.
15408 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
15410         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15411         "unsigned" structs.
15413         (verilog-leap-to-head, verilog-backward-token): Handle "disable
15414         fork" statement better.
15416 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
15418         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15419         (verilog-delete-auto, verilog-delete-empty-auto-pair)
15420         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15421         Reported by Clay Douglass.
15423         (verilog-auto-inst, verilog-auto-star-safe)
15424         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15425         Fix removing "// Interfaces" when saving .* expansions.
15426         Reported by Pierre-David Pfister.
15428 2009-11-26  Glenn Morris  <rgm@gnu.org>
15430         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15431         the scope.
15433 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
15435         * vc-annotate.el (vc-annotate-revision-previous-to-line):
15436         Really use previous revision.
15438 2009-11-25  Kevin Ryde  <user42@zip.com.au>
15440         * man.el (Man-completion-table): default-directory "/" in case
15441         doesn't otherwise exist.  process-environment COLUMNS=999 so as
15442         not to truncate long names.  process-connection-type pipe to avoid
15443         any chance of hitting the pseudo-tty TIOCGWINSZ.
15444         (man): completion-ignore-case t for friendliness and since man
15445         itself is case-insensitive on the command line.
15446         Further to Bug#3717.
15448         * arc-mode.el: Add "Keywords: files", so the details in its
15449         commentary can be reached from finder-by-keyword.
15450         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
15451         editing mode, but it's comms related and sgml-mode.el has "comm"
15452         on that basis too.
15453         * textmodes/bibtex-style.el: Add "Keywords: tex".
15454         * international/isearch-x.el, international/ja-dic-cnv.el:
15455         * international/ja-dic-utl.el, international/kkc.el:
15456         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15458 2009-11-25  Juri Linkov  <juri@jurta.org>
15460         * man.el (Man-completion-table): Modify regexp to include
15461         section names to completion strings.  (Bug#3717)
15463 2009-11-25  Juri Linkov  <juri@jurta.org>
15465         Search recursively in gzipped files.  (Bug#4982)
15467         * progmodes/grep.el (grep-highlight-matches): Add new options
15468         `always' and `auto'.  Doc fix.
15469         (grep-process-setup): Check `grep-highlight-matches' for
15470         `auto-detect' to determine the need to compute grep defaults.
15471         Move Windows/DOS specific --colors settings handling
15472         to `grep-compute-defaults'.  Check `grep-highlight-matches'
15473         to get the value of "--color=".
15474         (grep-compute-defaults): Compute `grep-highlight-matches' when it
15475         has the value `auto-detect'.  Move Windows/DOS specific settings
15476         from `grep-process-setup'.
15477         (zrgrep): New command with alias `rzgrep'.
15479 2009-11-25  Juri Linkov  <juri@jurta.org>
15481         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15482         to nil instead of switching off view-mode.  (Bug#4896)
15484 2009-11-25  Juri Linkov  <juri@jurta.org>
15486         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
15488         * mwheel.el (mwheel-scroll-up-function)
15489         (mwheel-scroll-down-function): New defvars.
15490         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15491         `scroll-up', and `mwheel-scroll-down-function' instead of
15492         `scroll-down'.
15494         * doc-view.el (doc-view-scroll-up-or-next-page)
15495         (doc-view-scroll-down-or-previous-page): Add optional ARG.
15496         Use this ARG in the call to image-scroll-up/image-scroll-down.
15497         Change `interactive' spec to "P".  Goto next/previous page only
15498         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15499         SPC/DEL case).  Doc fix.
15500         (doc-view-next-line-or-next-page)
15501         (doc-view-previous-line-or-previous-page): Rename arg to ARG
15502         for consistency.
15503         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15504         `doc-view-scroll-up-or-next-page', and buffer-local
15505         `mwheel-scroll-down-function' to
15506         `doc-view-scroll-down-or-previous-page'.
15508 2009-11-25  Juri Linkov  <juri@jurta.org>
15510         Provide additional default values (directories at other Dired
15511         windows) via M-n in the minibuffer of some Dired commands.
15513         * dired-aux.el (dired-diff, dired-compare-directories)
15514         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15515         `minibuffer-default' in `minibuffer-with-setup-hook'.
15516         (dired-dwim-target-directory): Find a window that displays Dired
15517         buffer instead of failing when the next window is not Dired.
15518         Use `get-window-with-predicate' to find for the next Dired window.
15519         (dired-dwim-target-defaults): New function.
15521         * ediff-util.el (ediff-read-file-name):
15522         Use `dired-dwim-target-defaults' to set `minibuffer-default'
15523         in `minibuffer-with-setup-hook'.
15525 2009-11-25  Juri Linkov  <juri@jurta.org>
15527         Provide additional default values (file name at point or at the
15528         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
15530         * minibuffer.el (read-file-name-defaults): New function.
15531         (read-file-name): Reset `minibuffer-default' to nil when
15532         it duplicates initial input `insdef'.
15533         Bind `minibuffer-default-add-function' to lambda that
15534         calls `read-file-name-defaults' in `minibuffer-selected-window'.
15535         (minibuffer-insert-file-name-at-point): New command.
15537         * files.el (file-name-at-point-functions): New defcustom.
15538         (find-file-default): Remove defvar.
15539         (find-file-read-args): Don't use `find-file-default'.
15540         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15541         to `read-file-name'.
15542         (find-file-literally): Use `read-file-name' with
15543         `confirm-nonexistent-file-or-buffer'.
15545         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15547         * dired.el (dired-read-dir-and-switches):
15548         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15549         to `read-file-name'.
15550         (dired-file-name-at-point): New function.
15551         (dired-mode): Add hook `dired-file-name-at-point' to
15552         `file-name-at-point-functions'.
15554 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15556         Really make the *Completions* window soft-dedicated (bug#5030).
15557         * window.el (window--display-buffer-2): Add `dedicated' argument.
15558         (display-buffer): Pass it when needed so the dedicated flag is set
15559         after calling set-window-buffer, which would otherwise reset it.
15561 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15563         * progmodes/meta-mode.el (meta-complete-symbol):
15564         * progmodes/etags.el (complete-tag):
15565         * mail/mailabbrev.el (mail-abbrev-complete-alias):
15566         Use completion-in-region.
15568         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15569         (dabbrev-completion): Use completion-in-region.
15570         (dabbrev--abbrev-at-point): Simplify regexp.
15572         * abbrev.el (abbrev--before-point): Use word-motion functions
15573         if :regexp is not specified (bug#5031).
15575         * subr.el (string-prefix-p): New function.
15577         * man.el (Man-completion-cache): New var.
15578         (Man-completion-table): Use it.
15580         * vc.el (vc-print-log-internal): Make `limit' optional for better
15581         compatibility (e.g. with vc-annotate.el).
15583 2009-11-24  Kevin Ryde  <user42@zip.com.au>
15585         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15586         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
15588         * emacs-lisp/elint.el (elint-add-required-env): Better error message
15589         when .el source file not found or other error.
15591 2009-11-24  Markus Triska  <markus.triska@gmx.at>
15593         * linum.el (linum-update-window): Ignore intangible (bug#4996).
15595 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15597         Handle the [back] button properly (bug#4979).
15598         * descr-text.el (describe-text-properties): Add a `buffer' argument.
15599         Use help-setup-xref, help-buffer, and with-help-window.
15600         (describe-char): Add `buffer' argument.
15601         Pass proper command to help-setup-xref.  Don't meddle with
15602         help-xref-stack-item directly.
15603         (describe-text-category): Use with-help-window and help-buffer.
15605         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15606         for the displayed buffer (bug#4887).
15608         * man.el (Man-completion-table): New function.
15609         (man): Use it.
15611 2009-11-24  David Reitter  <david.reitter@gmail.com>
15613         * vc-git.el (vc-git-registered): Use checkout directory (where
15614         .git is) rather than the file's directory and a relative path spec
15615         to work around a bug in git.
15617 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
15619         Improve handling of processes on remote hosts.
15621         * eshell/esh-util.el (eshell-path-env): New defvar.
15622         (eshell-parse-colon-path): New defun.
15623         (eshell-file-attributes): Use `eshell-parse-colon-path'.
15625         * eshell/esh-ext.el (eshell-search-path):
15626         Use `eshell-parse-colon-path'.
15627         (eshell-remote-command): Remove argument HANDLER.
15628         (eshell-external-command): Check for FTP remote connection.
15630         * eshell/esh-proc.el (eshell-gather-process-output):
15631         Use `file-truename', in order to start also symlinked files.
15632         Apply `start-file-process' instead of `start-process'.
15633         Shorten `command' to the local file name part.
15635         * eshell/em-cmpl.el (eshell-complete-commands-list):
15636         Use `eshell-parse-colon-path'.
15638         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15640         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
15641         to `eshell-directory-change-hook'.
15643 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
15645         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15646         because it could be enabled automatically if view-read-only is non-nil.
15648 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
15650         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15651         made on 2009-11-22.
15653 2009-11-24  Glenn Morris  <rgm@gnu.org>
15655         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15656         deleted variable bookmark-bmenu-bookmark-column.
15658 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15660         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15662 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15664         * net/browse-url.el (browse-url-filename-alist): On Windows, add
15665         two slashes to the "file:" prefix.
15666         (browse-url-file-url): De-munge Cygwin filenames before passing
15667         them to Windows browser.
15668         (browse-url-default-windows-browser): Use call-process.
15670 2009-11-23  Juri Linkov  <juri@jurta.org>
15672         Implement DocView Continuous mode.  (Bug#4896)
15673         * doc-view.el (doc-view-continuous-mode): New defcustom.
15674         (doc-view-mode-map): Bind C-n/<down> to
15675         `doc-view-next-line-or-next-page', C-p/<up> to
15676         `doc-view-previous-line-or-previous-page'.
15677         (doc-view-next-line-or-next-page)
15678         (doc-view-previous-line-or-previous-page): New commands.
15680 2009-11-23  Juri Linkov  <juri@jurta.org>
15682         Implement Isearch in comint input history.  (Bug#3746)
15683         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15684         `isearch-mode-hook'.
15685         (comint-history-isearch): New defcustom.
15686         (comint-history-isearch-backward)
15687         (comint-history-isearch-backward-regexp): New commands.
15688         (comint-history-isearch-message-overlay): New buffer-local variable.
15689         (comint-history-isearch-setup, comint-history-isearch-end)
15690         (comint-goto-input, comint-history-isearch-search)
15691         (comint-history-isearch-message, comint-history-isearch-wrap)
15692         (comint-history-isearch-push-state)
15693         (comint-history-isearch-pop-state): New functions.
15695 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
15697         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15698         return.
15699         (tramp-handle-make-symbolic-link)
15700         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15701         Quote file names.
15702         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15703         (tramp-handle-process-file): Use it.
15705 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15707         * window.el (move-to-window-line-last-op): Remove.
15708         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15710 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
15712         Make M-r mirror the new cycling behavior of C-l.
15713         * window.el (move-to-window-line-last-op): New var.
15714         (move-to-window-line-top-bottom): New command.
15715         (global-map): Bind M-r move-to-window-line-top-bottom.
15717 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
15719         * dired-x.el (dired-guess-shell-alist-default):
15720         Support xz format.  (Bug#4953)
15722 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
15724         * emulation/viper-cmd.el: Use viper-last-command-char instead of
15725         last-command-char/last-command-event.
15726         (viper-prefix-arg-value): Do correct conversion of event-char for
15727         XEmacs.
15729         * emulation/viper-util.el, emulation/viper.el:
15730         Use viper-last-command-char instead of
15731         last-command-char/last-command-event.
15733         * ediff-init.el, ediff-mult.el, ediff-util.el:
15734         Replace last-command-char and last-command-event
15735         with (ediff-last-command-char) everywhere.
15737         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15738         created in fundamental mode.
15740         * ediff.el (ediff-version): Revert the change of interactive-p to
15741         called-interactively-p.
15743 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
15745         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15746         generation from word-movement command names.
15748 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
15750         * cus-start.el (all): Add native condition for font-use-system-font.
15752 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
15754         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15755         Correct the patch from 2009-11-18.  (Bug#3910)
15757 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
15759         * progmodes/subword.el: Rename from lisp/subword.el.
15761         * subword.el: Rename to progmodes/subword.el.
15763         * Makefile.in (ELCFILES): Adapt to subword.el move.
15765 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15766             Stefan Monnier  <monnier@iro.umontreal.ca>
15768         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15769         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15770         (bookmark-bmenu-show-filenames): Use push.
15771         (bookmark-bmenu-hide-filenames): Use local var instead of
15772         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
15773         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15774         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15775         filenames now that the bookmark names are always available.
15777 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15779         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15780         (bookmark-search-pattern): Move and leave unbound.
15781         (bookmark-bmenu-mode-map): Change binding.
15782         (bookmark-read-search-input): Simplify.
15783         Don't use text-char-description.  Don't error on non-char events.
15784         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15785         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15786         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15787         Use a local var for the timer.
15788         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15789         (i.e. bookmark-bmenu-search).
15791 2009-11-21  Glenn Morris  <rgm@gnu.org>
15793         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
15795 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15797         * net/browse-url.el (browse-url-default-windows-browser):
15798         Use cygstart for cygwin.
15800 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
15802         * bookmark.el: Formatting and doc fixes only:
15803         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15804         (bookmark-bmenu-search): Wrap to fit within 80 columns.
15805         Minor grammar and punctuation fixes in doc string.
15806         (bookmark-read-search-input): Adjust to fit within 80 columns.
15808 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15810         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15811         (c-backward-into-nomenclature): Adapt to subword renaming.
15813         * subword.el (subword-forward, subword-backward, subword-mark)
15814         (subword-kill, subword-backward-kill, subword-transpose)
15815         (subword-downcase, subword-upcase, subword-capitalize)
15816         (subword-forward-internal, subword-backward-internal):
15817         Rename from forward-subword, backward-subword, mark-subword,
15818         kill-subword, backward-kill-subword, transpose-subwords,
15819         downcase-subword, upcase-subword, capitalize-subword,
15820         forward-subword-internal, backward-subword-internal.
15822 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15824         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15825         New options.
15826         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15827         New vars.
15828         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15829         (bookmark-bmenu-filter-alist-by-regexp)
15830         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15831         (bookmark-bmenu-search): New command.
15832         (bookmark-bmenu-mode-map): Bind it.
15834 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15836         * progmodes/cc-cmds.el: declare-functioned forward-subword and
15837         backward-subword to quit the byte-compiler.
15839         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15841         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15843         * progmodes/cc-cmds.el (c-update-modeline)
15844         (c-forward-into-nomenclature, c-backward-into-nomenclature):
15845         Refer to subword.el functions instead of cc-subword.el.
15847         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15848         subword.el functions instead of cc-subword.el.
15850         * progmodes/cc-subword.el: Rename to subword.el.
15851         * subword.el: Rename from progmodes/cc-subword.el.
15852         (subword-mode-map): Rename from c-subword-mode-map.
15853         (subword-mode): Rename from c-subword-mode.
15854         (global-subword-mode): New global minor mode.
15855         (forward-subword): Rename from c-forward-subword.
15856         (backward-subword): Rename from c-backward-subword.
15857         (mark-subword): Rename from c-mark-subword.
15858         (kill-subword): Rename from c-kill-subword.
15859         (backward-kill-subword): Rename from c-backward-kill-subword.
15860         (transpose-subwords): Rename from c-tranpose-subword.
15861         (downcase-subword): Rename from c-downcase-subword.
15862         (capitalize-subword): Rename from c-capitalize-subword.
15863         (forward-subword-internal): Rename from c-forward-subword-internal.
15864         (backward-subword-internal): Rename from c-backward-subword-internal.
15866 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
15868         * vc.el (vc-deduce-fileset): Allow non-state changing operations
15869         from a dired buffer.
15870         (vc-dired-deduce-fileset): New function.
15871         (vc-root-diff, vc-print-root-log): Use it.
15873         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15874         nil LIMIT argument to vc-print-log-internal.
15876 2009-11-20  Glenn Morris  <rgm@gnu.org>
15878         * Makefile.in (ELCFILES): Regenerate.
15880 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
15882         * calc/calc.el (calc-set-mode-line):
15883         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15884         (math-format-number): Rename `math-format-complement-signed' to
15885         `math-format-twos-complement'.
15887         * calc/calc-bin.el (math-format-twos-complement): Rename from
15888         math-format-complement-signed.
15889         (calc-radix): Rename `calc-complement-signed-mode' to
15890         `calc-twos-complement-mode'.
15891         (calc-octal-radix, calc-hex-radix): Add an argument for
15892         two's complement.
15894         * calc/calc-embed.el (calc-embedded-mode-vars):
15895         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15897         * calc/calc-ext.el (calc-init-extensions):
15898         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15899         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15901         * calc/calc-units.el (math-build-units-table-buffer):
15902         Let `calc-twos-complement-mode' be nil.
15904         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15905         entries.
15907         * calc/calc-vec.el (calcFunc-vunpack):
15908         * calc/calc-aent.el (calc-do-calc-eval):
15909         * calc/calc-forms.el (math-format-date):
15910         * calc/calc-graph.el (calc-graph-plot):
15911         * calc/calc-math.el (math-use-emacs-fn):
15912         * calc/calccomp.el (math-compose-expr):
15913         Let `calc-twos-complement-mode' be nil.
15915 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15917         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15918         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
15919         * minibuffer.el (completion-in-region-functions): New hook.
15920         (completion-in-region): New function.
15921         * emacs-lisp/lisp.el (lisp-complete-symbol):
15922         * pcomplete.el (pcomplete-std-complete): Use it.
15924 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15926         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15927         (latex-complete-alist): New vars.
15928         (latex-string-prefix-p, latex-complete-bibtex-keys)
15929         (latex-complete-envnames, latex-complete-refkeys)
15930         (latex-complete-data): New functions.
15931         (latex-complete, latex-indent-or-complete): New commands.
15933         * window.el (display-buffer-mark-dedicated): New var.
15934         (display-buffer): Obey it.
15935         * minibuffer.el (minibuffer-completion-help): Use it.
15937         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15939         * filecache.el (file-cache-add-file): Use push and cons.
15940         (file-cache-delete-file-regexp): Use push.
15941         (file-cache-complete): Use completion-in-region.
15943         * simple.el (with-wrapper-hook): Fix thinko.
15945         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15946         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15947         Use with-current-buffer and string-to-number.
15948         (hfy-fallback-colour-values): Use assoc-string.
15949         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15950         (hfy-face-at): Remove unused var `found-face'.
15951         (hfy-compile-stylesheet): Remove unused var `css'.
15952         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15953         and `orig-buffer'.
15954         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15955         Use with-current-buffer.
15956         (hfy-text-p): Use expand-file-name and fewer setq.
15958 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
15960         * htmlfontify.el, hfy-cmap.el: New files.
15962 2009-11-19  Juri Linkov  <juri@jurta.org>
15964         * minibuffer.el (completions-format): New defcustom.
15965         (completion--insert-strings): Implement vertical format.
15967         * simple.el (switch-to-completions): Move point to the first
15968         completion when point was at the beginning of the buffer.
15970 2009-11-19  Juri Linkov  <juri@jurta.org>
15972         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
15974         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15976 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
15978         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15979         (mail-signature): Change default to t.
15980         (mail-from-style): Deprecate `system-default' value.
15981         (mail-insert-from-field): For default value of mail-from-style,
15982         default to `angles' unless `angles' needs quoting and `parens'
15983         does not.
15984         (mail-citation-prefix-regexp): Use citation regexp from
15985         message-mode.
15987 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
15989         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15990         Set variables for computing the prompt for reading password.
15992 2009-11-19  Glenn Morris  <rgm@gnu.org>
15994         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
15996         * textmodes/flyspell.el (sgml-lexical-context): Declare.
15998         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15999         (newsticker-treeview-listwindow-height): Fix custom type.
16001 2009-11-19  Kenichi Handa  <handa@m17n.org>
16003         * descr-text.el (describe-char-padded-string): Compose with TAB
16004         only if there's a font for CH.
16005         (describe-char): Fix the condition for detecting a trivial composition.
16007 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
16009         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16010         more accurate version of the regexp.  (Bug#3910)
16012 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
16014         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16016 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
16018         * font-setting.el (font-use-system-font): Declare for byte-compiler.
16019         (font-setting-change-default-font): Fix typo in docstring.
16021 2009-11-18  Alan Mackenzie  <acm@muc.de>
16023         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16025 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
16027         * font-setting.el (font-use-system-font): Move ...
16029         * cus-start.el (all): ... to here.
16031 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
16033         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16034         Don't set `ad-return-value' if `ad-do-it' doesn't.
16036         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16037         modification time.
16039 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
16041         * menu-bar.el: Put "Use system font" in Option-menu.
16042         (menu-bar-options-save): Add font-use-system-font.
16044         * loadup.el: If feature system-font-setting or font-render-setting is
16045         there, load font-setting.
16047         * Makefile.in (ELCFILES): Add font-settings.el.
16048         * font-setting.el: New file.
16050 2009-11-17  Glenn Morris  <rgm@gnu.org>
16052         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16054         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16055         Preserve point in the list buffer.  (Bug#4939)
16056         Use point-at-eol.
16057         (newsticker--treeview-list-update-highlight)
16058         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16060 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
16062         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16063         Remove.
16065         * calc/calc-ext.el (calc-init-extensions): Remove references to
16066         symclip.
16068         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16070         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16071         * calc/calc-help.el (calc-b-prefix-help): Remove references to
16072         `calc-symclip'.
16074 2009-11-16  Kevin Ryde  <user42@zip.com.au>
16076         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16077         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16079         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16080         (lm-keywords-list): Allow comma-only separator like "foo,bar".
16081         Ignore trailing spaces by omit-nulls to split-string (fixing
16082         regression from Emacs 21 due to the incompatible split-string
16083         change).  (Bug #4928.)
16085 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
16087         * vc.el (vc-log-show-limit): Default to 2000.
16088         (vc-print-log-internal): Insert buttons to request more entries
16089         when limiting the output.
16091         * vc-sccs.el (vc-sccs-print-log):
16092         * vc-rcs.el (vc-rcs-print-log):
16093         * vc-cvs.el (vc-cvs-print-log):
16094         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16095         LIMIT is non-nil.
16097 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
16099         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16100         error when `tramp-gvfs-dbus-event-vector' is set.
16101         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16103 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16105         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16107 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
16109         * net/dbus.el (dbus-unregister-service): New defun.
16110         (dbus-register-property): Register the handlers of
16111         "org.freedesktop.DBus.Properties" for SERVICE.
16112         (dbus-property-handler): Fix docstring.
16114 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16116         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16117         Quote doc string reference in defvaralias as it is not in special form.
16118         (byte-compile-output-docform): Doc fix.
16120 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
16122         * calc/calc.el (math-2-word-size, math-half-2-word-size)
16123         (calc-complement-signed-mode): New variables.
16124         (calc-set-mode-line): Add indicator for twos-complements.
16125         (math-format-number): Format twos-complement notation.
16127         * calc/calc-bin.el (calc-word-size): Reset the variables
16128         `math-2-word-size' and `math-half-2-word-size'.
16129         (math-format-complement-signed, math-symclip, calcFunc-symclip)
16130         (calc-symclip): New functions.
16132         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16134         * calc/calc-embed.el (calc-embedded-mode-vars):
16135         Add `calc-complement-signed-mode' to the list of modes.
16137         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16138         (calc-b-oper-keys): Add `calc-symclip' to list.
16140         * calc/calc-ext.el (math-read-number-fancy): Read complement
16141         signed numbers.
16142         (calc-init-extensions): Add binding for `calc-symclip'.
16143         Add autoload for `calcFunc-symclip' and `calc-symclip'.
16145         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16146         `calc-symclip'.
16147         (calc-modes-menu): Add item for twos complement mode.
16149         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16151 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16153         * register.el (jump-to-register, insert-register): Handle Semantic
16154         tags.  From commented-out advice in semantic/senator.el.
16156 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
16158         * vc.el (vc-log-show-limit): New variable.
16159         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
16160         when using a prefix argument.
16161         (vc-print-log-internal): Add new argument LIMIT.
16163         * vc-svn.el (vc-svn-print-log):
16164         * vc-mtn.el (vc-mtn-print-log):
16165         * vc-hg.el (vc-hg-print-log):
16166         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16167         pass it to the log command when set.  Make the BUFFER argument
16168         non-optional.
16170         * vc-sccs.el (vc-sccs-print-log):
16171         * vc-rcs.el (vc-rcs-print-log):
16172         * vc-git.el (vc-git-print-log):
16173         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16174         ignore it.  Make the BUFFER argument non-optional.
16176         * bindings.el (mode-line-buffer-identification): Do not purecopy.
16178 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16180         * dired.el (dired-mode-map): Move encryption items to "Operate"
16181         menu (Bug#4703).
16183         * strokes.el (strokes-update-window-configuration): Make strokes
16184         buffer current before erasing (Bug#4906).
16186 2009-11-15  Juri Linkov  <juri@jurta.org>
16188         * simple.el (set-mark-default-inactive): Add :type, :group
16189         and :version.  (Bug#4876)
16191 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
16193         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16194         (archive-unique-fname): ... here.  (Bug#4929)
16196 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16198         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16199         with a real fix.
16201         * novice.el (disabled-command-function): Add useful args.
16202         Setup the help buffer so that [back] works.
16203         Remove redundant call to help-mode.
16204         (disabled-command-function): Use `case'.
16205         (en/disable-command): New function extracted from enable-command.
16206         (enable-command, disable-command): Use it.
16208 2009-11-14  Glenn Morris  <rgm@gnu.org>
16210         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16211         constants.  (Bug#4913)
16213         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16215 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
16217         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16218         defined in C that have no doc-strings.  (Bug#1063)
16220 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
16222         * cus-edit.el (data, files):
16223         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
16225 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
16227         * simple.el (shell-command): Doc fix (Bug#4891).
16229         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16231 2009-11-14  Glenn Morris  <rgm@gnu.org>
16233         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16234         statements for vc-diff, emerge-quit, and rmail-cease-edit.
16235         If they are already loaded, eval-after-load will do the right thing.
16237         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16238         compiling.
16240         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16242         * simple.el (x-selection-owner-p): Declare.
16243         (read-mail-command): Use custom radio type rather than choice.
16244         (completion-no-auto-exit): Doc fix.
16246         * custom.el (defgroup):
16247         * epg-config.el (epg): Doc fixes.
16249 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
16251         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16252         * international/ccl.el (define-ccl-program): Do not purecopy the
16253         docstring, defconst does it anyway.
16255 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16257         * add-log.el (add-change-log-entry): Avoid displaying the changelog
16258         a second time.
16260         * x-dnd.el (x-dnd-maybe-call-test-function):
16261         * window.el (split-window-vertically):
16262         * whitespace.el (whitespace-help-on):
16263         * vc-rcs.el (vc-rcs-consult-headers):
16264         * userlock.el (ask-user-about-lock-help)
16265         (ask-user-about-supersession-help):
16266         * type-break.el (type-break-force-mode-line-update):
16267         * time-stamp.el (time-stamp-conv-warn):
16268         * terminal.el (te-set-output-log, te-more-break, te-filter)
16269         (te-sentinel, terminal-emulator):
16270         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16271         (term-write-input-ring, term-check-source, term-start-output-log):
16272         (term-display-buffer-line, term-dynamic-list-completions):
16273         (term-ansi-make-term, serial-term):
16274         * subr.el (selective-display):
16275         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16276         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16277         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16278         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16279         (speedbar-remove-localized-speedbar-support)
16280         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16281         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16282         (speedbar-buffers-line-directory):
16283         * simple.el (shell-command-on-region, append-to-buffer)
16284         (prepend-to-buffer):
16285         * shadowfile.el (shadow-save-todo-file):
16286         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16287         (scroll-bar-maybe-set-window-start):
16288         * sb-image.el (speedbar-image-dump):
16289         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16290         (load-save-place-alist-from-file):
16291         * ps-samp.el (ps-print-message-from-summary):
16292         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16293         (ps-background-image, ps-begin-job, ps-do-despool):
16294         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16295         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16296         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16297         (pr-call-process, pr-file-list, pr-interface-save):
16298         * novice.el (disabled-command-function)
16299         (enable-command, disable-command):
16300         * mouse.el (mouse-buffer-menu-alist):
16301         * mouse-copy.el (mouse-kill-preserving-secondary):
16302         * macros.el (kbd-macro-query):
16303         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16304         * informat.el (batch-info-validate):
16305         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16306         * hippie-exp.el (try-expand-dabbrev-visible):
16307         * help-mode.el (help-make-xrefs):
16308         * help-fns.el (describe-variable):
16309         * generic-x.el (bat-generic-mode-run-as-comint):
16310         * finder.el (finder-mouse-select):
16311         * find-dired.el (find-dired-sentinel):
16312         * filesets.el (filesets-file-close):
16313         * files.el (list-directory):
16314         * faces.el (list-faces-display, describe-face):
16315         * facemenu.el (list-colors-display):
16316         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16317         * epg.el (epg--process-filter, epg-cancel):
16318         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16319         (epa--read-signature-type):
16320         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16321         (emerge-file-names):
16322         * ehelp.el (electric-helpify):
16323         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16324         * ediff-vers.el (rcs-ediff-view-revision):
16325         * ediff-util.el (ediff-setup):
16326         * ediff-mult.el (ediff-append-custom-diff):
16327         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16328         (ediff-wordify):
16329         * echistory.el (Electric-command-history-redo-expression):
16330         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16331         * disp-table.el (describe-display-table):
16332         * dired.el (dired-find-buffer-nocreate):
16333         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16334         * dabbrev.el (dabbrev--same-major-mode-p):
16335         * chistory.el (list-command-history):
16336         * apropos.el (apropos-documentation):
16337         * allout.el (allout-obtain-passphrase):
16338         (allout-copy-exposed-to-buffer):
16339         (allout-verify-passphrase): Use with-current-buffer.
16341 2009-11-13  Glenn Morris  <rgm@gnu.org>
16343         * Makefile.in (ELCFILES): Regenerate.
16345 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
16347         * net/dbus.el (dbus-registered-objects-table): Rename from
16348         `dbus-registered-functions-table', because it contains also properties.
16349         (dbus-unregister-object): Unregister also properties.
16350         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16351         Use a timeout of 500 msec, in order to not block.
16352         (dbus-register-property, dbus-property-handler): New defuns.
16354 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16356         * simple.el (minibuffer-default-add-completions): Drop deprecated
16357         4th arg.
16359 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
16361         * textmodes/artist.el (artist-mouse-choose-operation):
16362         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16363         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16364         (artist-compute-up-event-key): New function.
16365         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16367 2009-11-13  Kenichi Handa  <handa@m17n.org>
16369         * language/japan-util.el: Make sure that the value of jisx0208
16370         property is jisx0208 character.
16372 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
16374         * international/mule.el (auto-coding-regexp-alist): Only purecopy
16375         car or each item, not the whole list.
16377 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16379         * minibuffer.el (minibuffer-completion-help):
16380         Use minibuffer-hide-completions.
16382 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
16384         * dired.el (dired-save-positions, dired-restore-positions): New funs.
16385         (dired-revert): Use them (bug#4880).
16387 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16389         * tooltip.el (tooltip-frame-parameters): Undo previous change.
16391 2009-11-12  Juri Linkov  <juri@jurta.org>
16393         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16394         New functions.
16395         (find-file-literally-at-point): Alias of `ffap-literally'.
16397 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16399         * textmodes/ispell.el (ispell-skip-region-alist):
16400         * textmodes/css-mode.el (auto-mode-alist):
16401         * progmodes/compile.el (auto-mode-alist):
16402         * international/mule.el (ctext-non-standard-encodings-alist)
16403         (ctext-non-standard-encodings-regexp):
16404         * simple.el (shell-command-switch, text-read-only):
16405         * replace.el (occur-mode-map):
16406         * paths.el (rmail-file-name):
16407         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16408         * find-file.el (ff-special-constructs):
16409         * files.el (file-name-handler-alist):
16410         * composite.el: Purecopy strings.
16412         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16414 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16416         * widget.el (define-widget): Purecopy the docstring.
16417         * international/mule-cmds.el (charset): Do not purecopy the
16418         docstring here, define-widget does it.
16420         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16421         * textmodes/bibtex-style.el (auto-mode-alist):
16422         * progmodes/inf-lisp.el (inferior-lisp-prompt):
16423         * progmodes/compile.el (compile-command):
16424         * language/korea-util.el (default-korean-keyboard):
16425         * international/mule-conf.el (file-coding-system-alist):
16426         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16427         * tooltip.el (tooltip-frame-parameters):
16428         * newcomment.el (comment-end, comment-padding):
16429         * dired.el (dired-trivial-filenames):
16430         * comint.el (comint-file-name-prefix): Purecopy initial values.
16432 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
16434         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16435         (tramp-advice-minibuffer-electric-tilde): Unload advices via
16436         `tramp-unload'.
16437         (tramp-advice-make-auto-save-file-name)
16438         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16439         after removing the advice.
16441 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16443         * progmodes/grep.el (grep-regexp-alist):
16444         * international/mule-cmds.el (iso-2022-control-alist):
16445         * emacs-lisp/timer.el (timer-duration-words):
16446         * subr.el (version-separator, version-regexp-alist):
16447         * minibuffer.el (completion-styles-alist):
16448         * faces.el (face-attribute-name-alist, list-faces-sample-text):
16449         Change defvars to defconsts.
16451         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16452         * loadup.el ("international/mule-conf"): Load the byte compiled version.
16453         * international/mule-conf.el: Allow to be byte compiled.
16455         * international/mule.el (define-charset): Purecopy props.
16456         (load-with-code-conversion): Purecopy doc string and file name.
16457         (put-charset-property): Purecopy strings.
16458         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16460         * international/mule-cmds.el (register-input-method): Purecopy arguments.
16461         (define-char-code-property): Correctly purecopy the table.
16463         * international/ccl.el (define-ccl-program): Purecopy the docstring.
16465         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16467         * subr.el (add-hook): Purecopy strings.
16468         (eval-after-load): Purecopy load-history-regexp and the form.
16470         * custom.el (custom-declare-group): Purecopy load-file-name.
16472         * subr.el (menu-bar-separator): New defconst.
16473         * net/eudc.el (eudc-tools-menu):
16474         * international/mule-cmds.el (set-coding-system-map)
16475         (mule-menu-keymap):
16476         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16477         * vc-hooks.el (vc-menu-map):
16478         * replace.el (occur-mode-map):
16479         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16480         (menu-bar-edit-menu, menu-bar-goto-menu)
16481         (menu-bar-custom-menu, menu-bar-showhide-menu)
16482         (menu-bar-options-menu, menu-bar-tools-menu)
16483         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16484         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16485         (menu-bar-help-menu):
16486         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16487         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16489         * term/x-win.el (x-gtk-stock-map):
16490         * progmodes/vera-mode.el (auto-mode-alist):
16491         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16492         (inferior-lisp-program, inferior-lisp-load-command):
16493         * progmodes/hideshow.el (hs-special-modes-alist):
16494         * progmodes/gud.el (same-window-regexps):
16495         * progmodes/grep.el (grep-program, find-program, xargs-program):
16496         * net/telnet.el (same-window-regexps):
16497         * net/rlogin.el (same-window-regexps):
16498         * language/ethiopic.el (font-ccl-encoder-alist):
16499         * vc-sccs.el (vc-sccs-master-templates):
16500         * vc-rcs.el (vc-rcs-master-templates):
16501         * subr.el (cl-assertion-failed):
16502         * simple.el (next-error-overlay-arrow-position):
16503         * lpr.el (lpr-command):
16504         * locate.el (locate-ls-subdir-switches):
16505         * info.el (same-window-regexps, info)
16506         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16507         * image-mode.el (image-mode, auto-mode-alist):
16508         * hippie-exp.el (hippie-expand-ignore-buffers):
16509         * format.el (format-alist):
16510         * find-dired.el (find-ls-subdir-switches, find-grep-options)
16511         (find-name-arg):
16512         * facemenu.el (facemenu-keybindings):
16513         * dired.el (dired-listing-switches, dired-chown-program):
16514         * diff.el (diff-switches, diff-command):
16515         * cus-edit.el (same-window-regexps):
16516         * bindings.el (mode-line-mule-info)
16517         (mode-line-buffer-identification): Purecopy strings.
16519 2009-11-11  Juri Linkov  <juri@jurta.org>
16521         * simple.el (dired-get-filename) <declare-function>:
16522         Tell the byte-compiler about dired-get-filename.
16523         (shell-command): In Dired mode, get filename from the current line
16524         as the default value.
16526 2009-11-10  Glenn Morris  <rgm@gnu.org>
16528         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16529         * calendar/holidays.el, progmodes/cperl-mode.el:
16530         Update x-popup-menu declarations.
16532         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16533         (list-load-path-shadows): Use dolist.
16534         (list-load-path-shadows): Use with-current-buffer.
16536 2009-11-10  Juri Linkov  <juri@jurta.org>
16538         * minibuffer.el (read-file-name): Support a list of default values
16539         in `default-filename'.  Use the first file name where only one
16540         element is required.  Doc fix.
16542 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
16544         * net/dbus.el (dbus-unregister-object): Release service, if no
16545         other method is registered for it.
16547 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
16549         * bookmark.el (bookmark-completing-read): Sort bookmark names if
16550         bookmark-sort-flag is non-nil (Bug#4653).
16552 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16554         * emulation/cua-base.el: Add CUA property to some CC mode commands
16555         (Bug#4100).
16557 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16559         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16560         at end of sentence (Bug#4818).
16562 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
16564         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16565         Handle "see declaration of" MSFT statements (Bug#4100).
16567 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
16569         * net/tramp.el (tramp-advice-make-auto-save-file-name)
16570         (tramp-advice-file-expand-wildcards): Unload via
16571         `ad-remove-advice'.
16573         * net/trampver.el: Update release number.
16575 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16577         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16578         `ad-do-it'.
16580 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
16582         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16583         in order to keep context in SELinux.
16585 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16587         * dired-aux.el (dired-query): Place cursor in echo area and allow
16588         C-g.
16590         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16591         menu item if not on a directory (Bug#4701).
16593 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
16595         Sync with Tramp 2.1.17.
16597         * net/tramp.el (tramp-handle-copy-directory): Don't use
16598         `file-remote-p' (due to compatibility).
16600         * net/tramp-compat.el (tramp-compat-copy-directory)
16601         (tramp-compat-delete-directory): New defuns.
16603         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16604         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16605         Use `tramp-compat-delete-directory'.
16607         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16608         (tramp-smb-handle-delete-directory):
16609         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16611         * net/trampver.el: Update release number.
16613 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
16615         * tar-mode.el (tar-copy): Call write-region on the right buffer
16616         (Bug#4857).
16618         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16619         by hand, if necessary (Bug#4878).
16621 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
16623         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16624         align size column (Bug#4839).
16626         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16627         statement.
16629 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16631         * progmodes/ld-script.el (auto-mode-alist):
16632         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16634         * cus-face.el (custom-declare-face): Purecopy face spec.
16636 2009-11-06  Kenichi Handa  <handa@m17n.org>
16638         * international/uni-bidi.el: Re-generated.
16639         * international/uni-category.el: Re-generated.
16640         * international/uni-combining.el: Re-generated.
16641         * international/uni-mirrored.el: Re-generated.
16643 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16645         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16646         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16647         (tex-start-options, slitex-run-command, latex-run-command)
16648         (tex-run-command, tex-directory):
16649         * textmodes/ispell.el (ispell-html-skip-alists)
16650         (ispell-tex-skip-alists, ispell-tex-skip-alists):
16651         * textmodes/fill.el (adaptive-fill-first-line-regexp):
16652         (adaptive-fill-regexp):
16653         * textmodes/dns-mode.el (auto-mode-alist):
16654         * progmodes/python.el (interpreter-mode-alist):
16655         * progmodes/etags.el (tags-compression-info-list):
16656         * progmodes/etags.el (tags-file-name):
16657         * net/browse-url.el (browse-url-galeon-program)
16658         (browse-url-firefox-program):
16659         * mail/sendmail.el (mail-signature-file)
16660         (mail-citation-prefix-regexp):
16661         * international/mule-conf.el (eight-bit):
16662         * international/latexenc.el (latex-inputenc-coding-alist):
16663         * international/fontset.el (x-pixel-size-width-font-regexp):
16664         * emacs-lisp/warnings.el (warning-type-format):
16665         * emacs-lisp/trace.el (trace-buffer):
16666         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16667         (emacs-lisp-mode-map):
16668         * calendar/holidays.el (holiday-solar-holidays)
16669         (holiday-bahai-holidays, holiday-islamic-holidays)
16670         (holiday-christian-holidays, holiday-hebrew-holidays)
16671         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16672         (hebrew-holidays-1, holiday-oriental-holidays)
16673         (holiday-general-holidays):
16674         * x-dnd.el (x-dnd-known-types):
16675         * tool-bar.el (tool-bar):
16676         * startup.el (site-run-file):
16677         * shell.el (shell-dumb-shell-regexp):
16678         * rfn-eshadow.el (file-name-shadow-tty-properties)
16679         (file-name-shadow-properties):
16680         * paths.el (remote-shell-program, news-directory):
16681         * mouse.el ([C-down-mouse-3]):
16682         * menu-bar.el (menu-bar-tools-menu):
16683         * jka-cmpr-hook.el (jka-compr-load-suffixes)
16684         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16685         (jka-compr-compression-info-list):
16686         * isearch.el (search-whitespace-regexp):
16687         * image-file.el (image-file-name-extensions):
16688         * find-dired.el (find-ls-option):
16689         * files.el (directory-listing-before-filename-regexp)
16690         (directory-free-space-args, insert-directory-program)
16691         (list-directory-brief-switches, magic-fallback-mode-alist)
16692         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16693         (automount-dir-prefix):
16694         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16695         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16696         (face-font-registry-alternatives, face-font-registry-alternatives)
16697         (face-font-family-alternatives):
16698         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16699         (facemenu-foreground-menu, facemenu-face-menu):
16700         * epa-hook.el (epa-file-name-regexp):
16701         * dnd.el (dnd-protocol-alist):
16702         * textmodes/rst.el (auto-mode-alist):
16703         * button.el (default-button): Purecopy strings.
16705 2009-11-06  Glenn Morris  <rgm@gnu.org>
16707         * Makefile.in (ELCFILES): Update.
16709 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16711         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16712         * emacs-lisp/levents.el: Move to obsolete/levents.el.
16714         * nxml/xsd-regexp.el (xsdre-gen-categories):
16715         * nxml/xmltok.el (xmltok-parse-entity):
16716         * nxml/rng-parse.el (rng-parse-validate-file):
16717         * nxml/rng-maint.el (rng-format-manual)
16718         (rng-manual-output-force-new-line):
16719         * nxml/rng-loc.el (rng-save-schema-location-1):
16720         * nxml/rng-cmpct.el (rng-c-parse-file):
16721         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16722         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16724 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
16726         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16727         Remove extra save-excursions and make-variable-buffer-local's.
16728         Suggested by Stefan Monnier.
16730         (verilog-getopt-file, verilog-module-inside-filename-p)
16731         (verilog-set-define): Merge GNU 1.35 and repair changes from
16732         switching to using with-current-buffer.
16734         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16735         being treated as a number and confusing AUTORESET.
16736         Reported by Dan Dever.
16738         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16739         Add verilog-auto-ignore-concat to fix backward compatibility with
16740         older verilog-modes.  Reported by Dan Katz.
16742         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16743         containing closing anchors "...$".
16745         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16746         Reported by Wade Smith.
16748         (verilog-batch-execute-func): Comment on function usage.
16750 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
16752         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16753         for labels.
16755         (verilog-label-re, verilog-calc-1): Support proper indent of named
16756         asserts.
16758         (verilog-backward-token, verilog-basic-complete-re)
16759         (verilog-beg-of-statement, verilog-indent-re): Support proper
16760         indent of the assert statement at the beginning of a block of text.
16762         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16763         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16764         tokens as begins.
16766 2009-11-05  Glenn Morris  <rgm@gnu.org>
16768         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16769         Emacs 19.  (Bug#1531)
16770         (byte-compile-fix-header): Update for the above change.
16771         Drop test for epoch::version.
16773         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16774         * cus-dep.el (custom-make-dependencies):
16775         * finder.el (finder-compile-keywords):
16776         Use autoload-rubric's feature argument.
16778         * calendar/diary-lib.el (top-level): Make load behave more like require.
16780         * vc-git.el (vc-git-stash-map): Move definition before use.
16782 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
16784         * custom.el (custom-declare-group): Purecopy standard-value.
16785         (custom-declare-group): Purecopy custom-prefix.
16787         * international/mule.el (load-with-code-conversion):
16788         Call do-after-load-evaluation unconditionally.
16790         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16792 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16794         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16796 2009-11-04  Glenn Morris  <rgm@gnu.org>
16798         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16799         (byte-compile-compatibility): Remove option.
16800         (byte-compile-close-variables, byte-compile-fix-header)
16801         (byte-compile-insert-header, byte-compile-output-docform)
16802         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16803         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16804         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16805         (byte-compile-insert, byte-compile-defun):
16806         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
16807         (byte-defop-compiler19): Remove.
16808         Without byte-compile-compatibility, the 'emacs19-opcode property is not
16809         used by anything.  Replace all calls with byte-defop-compiler.
16811 2009-11-04  Juri Linkov  <juri@jurta.org>
16813         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16814         (menu-bar-options-menu): Don't quote the `prop' arg of
16815         `menu-bar-make-mm-toggle'.
16817 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
16819         * calendar/calendar.el (cal-loaddefs):
16820         * calendar/diary-lib.el (diary-loaddefs):
16821         * calendar/holidays.el (hol-loaddefs):
16822         * eshell/esh-module.el (esh-groups): Load rather than require.
16824 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16826         * calendar/todo-mode.el (todo-add-category): Don't hardcode
16827         point-min==1.
16828         (todo-top-priorities): Only display-buffer when called interactively.
16829         (todo-item-start): Don't save excursion point.
16830         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
16831         (todo-insert-item-here, todo-file-item, todo-remove-item):
16832         Adjust uses of todo-item-start and todo-item-end.
16834         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16835         (autoload-rubric): Don't use any more.
16837         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16838         and only put a prop if it is non-nil.
16840 2009-11-03  Juri Linkov  <juri@jurta.org>
16842         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16843         (menu-bar-options-menu): Fix list quoting (Bug#4429).
16845         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16846         and "Menu" to make top-level menu item visually one unit (like
16847         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16848         multi-word menu items).  Fix :help string for quit-window.
16850 2009-11-03  Glenn Morris  <rgm@gnu.org>
16852         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16853         (byte-compile-file-form-define-abbrev-table)
16854         (byte-compile-file-form-custom-declare-variable)
16855         (byte-compile-variable-ref, byte-compile-defvar):
16856         Whether or not a warning is enabled should only affect whether we issue
16857         the warning, not whether or not we collect the relevant data.
16858         Eg warnings can be turned on and off throughout the course of a file.
16860         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16861         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16863 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16865         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16866         * play/mpuz.el (mpuz-create-buffer):
16867         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16868         (lm-print-y,s,noise, lm-print-w0, lm-init):
16869         * play/gomoku.el (gomoku-prompt-for-move):
16870         * play/fortune.el (fortune-in-buffer):
16871         * play/dissociate.el (dissociated-press):
16872         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16873         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16874         * mail/supercite.el (sc-eref-show):
16875         * mail/smtpmail.el (smtpmail-send-it):
16876         * mail/rmailsum.el (rmail-summary-next-labeled-message)
16877         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16878         (rmail-summary-undelete-many, rmail-summary-rmail-update)
16879         (rmail-summary-goto-msg, rmail-summary-expunge)
16880         (rmail-summary-get-new-mail, rmail-summary-search-backward)
16881         (rmail-summary-add-label, rmail-summary-output-menu)
16882         (rmail-summary-output-body):
16883         * mail/rfc822.el (rfc822-addresses):
16884         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16885         * mail/mailpost.el (post-mail-send-it):
16886         * mail/hashcash.el (hashcash-generate-payment):
16887         * mail/feedmail.el (feedmail-run-the-queue)
16888         (feedmail-queue-send-edit-prompt-help-first)
16889         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16890         (feedmail-deduce-address-list):
16891         * eshell/esh-ext.el (eshell-remote-command):
16892         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16893         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16894         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16895         (viper-save-string-in-file, viper-valid-marker):
16896         * emulation/viper-keym.el (viper-toggle-key):
16897         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16898         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16899         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16900         * emulation/viper-cmd.el (viper-exec-form-in-vi)
16901         (viper-exec-form-in-emacs, viper-brac-function):
16902         * emulation/viper.el (viper-delocalize-var):
16903         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16904         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16905         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16906         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16907         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16908         * emulation/edt.el (edt-electric-helpify):
16909         * emulation/cua-rect.el (cua--rectangle-aux-replace):
16910         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16911         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16912         (cua-indent-to-global-mark-column):
16913         * calendar/diary-lib.el (calendar-mark-1):
16914         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16915         Use with-current-buffer.
16916         * emulation/viper.el (viper-delocalize-var): Use dolist.
16918 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
16920         * comint.el (comint-replace-by-expanded-history-before-point):
16921         Replace !! with the previous input string literally (Bug#1795).
16923 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
16925         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16926         to be made up of whitespace.
16928 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
16930         * minibuffer.el (read-file-name): Don't use file dialogs for
16931         remote directories (Bug#99).
16933 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
16935         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16937 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16939         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16940         instead of deleting the window or frame.
16942 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16944         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16945         Support face colors.
16947         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16948         New function.  Support face colors (Bug#1168).
16949         (tex-common-initialization): Use it.
16951         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16952         mode allows it (Bug#1168).
16954 2009-10-31  Juri Linkov  <juri@jurta.org>
16956         * facemenu.el (list-colors-display): Don't mark buffer as
16957         modified (Bug#3948).
16959 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16961         * international/mule-diag.el (list-character-sets-1):
16962         Minor message fix (Bug#3526).
16964         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16965         Fix face property (Bug#4834).
16966         (etags-list-tags, etags-tags-apropos-additional)
16967         (etags-tags-apropos, tags-select-tags-table): Add follow-link
16968         property.
16970         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16971         items.
16973 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16975         * textmodes/two-column.el (2C-split):
16976         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16977         * textmodes/tex-mode.el (tex-set-buffer-directory):
16978         * textmodes/spell.el (spell-region, spell-string):
16979         * textmodes/reftex.el (reftex-erase-buffer):
16980         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16981         * textmodes/reftex-toc.el (reftex-toc-promote-action):
16982         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16983         (reftex-select-item):
16984         * textmodes/reftex-ref.el (reftex-label-info-update)
16985         (reftex-offer-label-menu):
16986         * textmodes/reftex-index.el (reftex-index-change-entry)
16987         (reftex-index-phrases-info):
16988         * textmodes/reftex-global.el (reftex-create-tags-file)
16989         (reftex-save-all-document-buffers, reftex-ensure-write-access):
16990         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16991         (reftex-view-crossref-from-bibtex):
16992         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16993         (reftex-extract-bib-entries-from-thebibliography)
16994         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16995         * textmodes/refbib.el (r2b-capitalize-title):
16996         (r2b-convert-buffer, r2b-help):
16997         * textmodes/page-ext.el (pages-directory)
16998         (pages-directory-goto-with-mouse):
16999         * textmodes/bibtex.el (bibtex-validate-globally):
17000         * textmodes/bib-mode.el (bib-capitalize-title):
17001         * textmodes/artist.el (artist-clear-buffer, artist-system):
17002         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17003         (local-set-scheme-interaction-buffer, xscheme-process-filter)
17004         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17005         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17006         (xscheme-send-control-g-interrupt, xscheme-start-process)
17007         (xscheme-process-sentinel, xscheme-cd):
17008         * progmodes/verilog-mode.el (verilog-read-always-signals)
17009         (verilog-set-define, verilog-getopt-file)
17010         (verilog-module-inside-filename-p):
17011         * progmodes/sh-script.el:
17012         * progmodes/python.el (python-pdbtrack-get-source-buffer)
17013         (python-pdbtrack-grub-for-buffer, python-execute-file):
17014         * progmodes/octave-inf.el (inferior-octave):
17015         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17016         (idlwave-shell-compile-helper-routines, idlwave-set-local)
17017         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17018         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17019         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17020         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17021         (idlwave-shell-filter, idlwave-shell-examine-highlight)
17022         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17023         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17024         (idlwave-shell-examine-display, idlwave-shell-run-region)
17025         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17026         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17027         * progmodes/idlw-help.el (idlwave-help-get-special-help)
17028         (idlwave-help-get-help-buffer):
17029         * progmodes/gud.el (gud-basic-call, gud-find-class)
17030         (gud-tooltip-activate-mouse-motions-if-enabled):
17031         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17032         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17033         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17034         (ebrowse-tags-next-file):
17035         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17036         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17037         (ebnf-eps-finish-and-write):
17038         * progmodes/cpp.el (cpp-edit-save):
17039         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17040         * progmodes/cc-defs.el (c-emacs-features):
17041         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17042         (antlr-directory-dependencies):
17043         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17044         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17045         (ada-find-any-references, ada-make-filename-from-adaname)
17046         (ada-make-body-gnatstub):
17047         * obsolete/rnews.el (news-list-news-groups):
17048         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17049         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17050         * net/rcirc.el (rcirc-debug):
17051         * net/newst-treeview.el (newsticker--treeview-list-add-item)
17052         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17053         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17054         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17055         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17056         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17057         (newsticker--treeview-list-clear-highlight)
17058         (newsticker--treeview-list-update-highlight)
17059         (newsticker--treeview-list-highlight-start)
17060         (newsticker--treeview-tree-update-highlight)
17061         (newsticker--treeview-get-selected-item)
17062         (newsticker-treeview-mark-list-items-old)
17063         (newsticker--treeview-set-current-node):
17064         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17065         * net/newst-backend.el (newsticker--get-news-by-funcall)
17066         (newsticker--get-news-by-wget, newsticker--image-get)
17067         (newsticker--image-sentinel):
17068         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17069         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17070         (eudc-ph-close-session):
17071         * net/eudc.el (eudc-save-options):
17072         * language/thai-word.el (thai-update-word-table):
17073         * language/japan-util.el (japanese-string-conversion):
17074         * international/titdic-cnv.el (tsang-quick-converter)
17075         (ziranma-converter, ctlau-converter):
17076         * international/mule-cmds.el (describe-language-environment):
17077         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17078         (skkdic-convert-postfix, skkdic-convert-prefix):
17079         (skkdic-convert-okuri-nasi, skkdic-convert):
17080         * emacs-lisp/re-builder.el (reb-update-overlays):
17081         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17082         * emacs-lisp/gulp.el (gulp-send-requests):
17083         * emacs-lisp/find-gc.el (trace-call-tree):
17084         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17085         (eieio-describe-generic):
17086         * emacs-lisp/eieio-base.el (eieio-persistent-read):
17087         * emacs-lisp/edebug.el (edebug-outside-excursion):
17088         * emacs-lisp/debug.el (debugger-make-xrefs):
17089         * emacs-lisp/cust-print.el (custom-prin1-to-string):
17090         * emacs-lisp/chart.el (chart-new-buffer):
17091         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17092         Use with-current-buffer.
17093         * textmodes/artist.el (artist-system): Don't call
17094         copy-sequence on a fresh string.
17095         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17097 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
17099         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17100         is no item to edit.  (Bug#4820)
17101         (todo-top-priorities): Restore point and restore narrowing in Todo
17102         buffer.  (Bug#4820)
17104 2009-10-31  Glenn Morris  <rgm@gnu.org>
17106         * net/ange-ftp.el (top-level): Don't require dired when compiling.
17107         (comint-last-output-start, comint-last-input-start)
17108         (comint-last-input-end): Don't defvar when compiling.
17109         (ange-ftp-process-file): Use bound-and-true-p.
17111         * pcmpl-rpm.el (top-level): Move provide statement to end.
17112         (pcmpl-rpm): Remove unused custom group.
17114         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17116         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17118         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17119         (byte-compile-warnings): Add `constants' as an option.
17120         (byte-compile-callargs-warn, byte-compile-arglist-warn)
17121         (display-call-tree): Update for byte-compile-fdefinition possibly
17122         returning `(macro lambda ...)'.  (Bug#4778)
17123         (byte-compile-variable-ref, byte-compile-setq-default):
17124         Respect `constants' member of byte-compile-warnings.
17126 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17128         * vc-bzr.el (vc-bzr-revision-keywords): New var.
17129         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17130         to "submit:".
17132 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
17134         * textmodes/ispell.el (ispell-skip-region-alist):
17135         * international/mule-conf.el (eight-bit):
17136         * international/fontset.el (font-encoding-alist):
17137         * startup.el (pure-space-overflow-message):
17138         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17139         * paths.el (gnus-nntp-service, rmail-spool-directory)
17140         (term-file-prefix):
17141         * files.el (save-some-buffers-action-alist):
17142         * cmuscheme.el (same-window-buffer-names):
17143         * ielm.el (same-window-buffer-names):
17144         * shell.el (same-window-buffer-names):
17145         * mail/sendmail.el (same-window-buffer-names):
17146         * progmodes/inf-lisp.el (same-window-buffer-names):
17147         * bindings.el (mode-line-client)
17148         (mode-line-column-line-number-mode-map):
17149         * language/tibetan.el (tibetan-precomposition-rule-regexp)
17150         (tibetan-precomposed-regexp): Purecopy string arguments.
17152 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17154         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17155         (calcDigit-nondigit):
17156         * calc/calc-yank.el (calc-copy-to-buffer):
17157         * calc/calc-units.el (calc-invalidate-units-table):
17158         * calc/calc-trail.el (calc-trail-yank):
17159         * calc/calc-store.el (calc-insert-variables):
17160         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17161         * calc/calc-prog.el (calc-read-parse-table):
17162         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17163         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17164         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17165         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17166         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17167         (calc-graph-name, calc-graph-find-command, calc-graph-view)
17168         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17169         * calc/calc-ext.el (calc-realign):
17170         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17171         (calc-embedded-finish-edit, calc-embedded-make-info)
17172         (calc-embedded-finish-command, calc-embedded-stack-change):
17173         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17175         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17176         shell-dynamic-complete-filename in preference to
17177         comint-dynamic-complete-filename.
17179         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17180         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17181         Don't consider whether the display supports colors.
17182         (bookmark-import-new-list): Use dolist.
17183         (bookmark-bmenu-mode-map): Move initialization into declaration.
17184         (bookmark-bmenu-list): Use dolist, simplify.
17185         (bookmark-show-all-annotations): Use save-selected-window and dolist.
17186         (menu-bar-final-items): Use push.
17188 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
17190         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17191         it works on remote files.
17192         (vc-hg-diff): Don't pass any `--cwd' argument.
17194 2009-10-27  Kevin Ryde  <user42@zip.com.au>
17196         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17197         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17198         (Further to Bug#3921).
17200 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
17202         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17203         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17204         calling `tramp-imap-put-file'.  Add file size to the call.
17205         (tramp-imap-get-file-entries): Compute also user name, file size,
17206         and date.
17207         (tramp-imap-handle-insert-directory): Insert uid and gid.
17208         (tramp-imap-handle-file-attributes): Transform uid and gid
17209         according to `id-format'.
17210         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
17211         size in header X-Size.
17213 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
17215         * simple.el (transpose-subr): Give clearer error when the mark
17216         is not set.  (Bug#4807)
17218 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
17220         * net/tramp.el (tramp-perl-file-truename): New defconst.
17221         Perl code contributed by yary <not.com@gmail.com> (tiny change).
17222         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17223         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17224         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17226         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17227         Ignore `dired-call-process'.
17228         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17230 2009-10-26  Julian Scheid  <julians37@gmail.com>
17232         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17233         (tramp-get-remote-readlink): New defun.
17234         (tramp-handle-file-truename): Use it.
17235         (tramp-handle-file-exists-p): Check file-attributes cache, assume
17236         file exists if cache value present.
17237         (tramp-check-cached-permissions): New defun.
17238         (tramp-handle-file-readable-p): Use it.
17239         (tramp-handle-file-writable-p): Likewise.
17240         (tramp-handle-file-executable-p): Likewise.
17241         (tramp-handle-file-name-all-completions): Try using Perl to get
17242         partial completions.  When perl not available, combine `cd' and
17243         `ls' into single remote operation and use shell expansion to get
17244         partial remote directory contents.  Set `file-exists-p' cache for
17245         directory and any files returned by ls.  Change cache handling to
17246         support partial directory contents.  Use error message emitted by
17247         remote `cd' or Perl code for local tramp-error.
17248         (tramp-do-copy-or-rename-file-directly): Avoid separate
17249         tramp-send-command-and-check call.
17250         (tramp-handle-process-file): Merge three remote ops into one.
17251         Do not flush all caches when `process-file-side-effects' is set.
17252         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17253         file-attributes shows uid/gid to be set already.
17255 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
17257         * textmodes/tex-mode.el (tex-dvi-view-command)
17258         (tex-show-queue-command, tex-open-quote):
17259         * progmodes/ruby-mode.el (auto-mode-alist)
17260         (interpreter-mode-alist): Purecopy strings.
17262         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17264         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17265         string for the hook, keymap and abbrev table.
17267         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17269         * x-dnd.el (x-dnd-xdnd-to-action):
17270         * startup.el (fancy-startup-text, fancy-about-text): Change to
17271         defconst from defvar.
17273         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17275         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17276         Purecopy initialization strings.
17278         * mail/sendmail.el (mail-header-separator)
17279         (mail-personal-alias-file):
17280         * mail/rmail.el (rmail-default-dont-reply-to-names)
17281         (rmail-ignored-headers, rmail-retry-ignored-headers)
17282         (rmail-highlighted-headers, rmail-secondary-file-directory)
17283         (rmail-secondary-file-regexp):
17284         * files.el (null-device, file-name-invalid-regexp)
17285         (locate-dominating-stop-dir-regexp)
17286         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17287         (interpreter-mode-alist): Use mapcar instead of mapc.
17289         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17291         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17292         (completion-ignored-extensions):
17293         (debug-ignored-errors): Purecopy strings.
17295 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17297         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17298         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17299         (pcomplete--here): Use push.
17301         * subr.el (all-completions): Declare the 4th arg obsolete.
17303 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17305         * pcomplete.el (pcomplete-unquote-argument-function): New var.
17306         (pcomplete-unquote-argument): New function.
17307         (pcomplete--common-suffix): Always pay attention to case.
17308         (pcomplete--table-subvert): Quote and unquote the text.
17309         (pcomplete--common-quoted-suffix): New function.
17310         (pcomplete-std-complete): Use it and pcomplete-begin.
17312         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17313         we're inside a dedicated or minibuffer window.
17315 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
17317         * bookmark.el: Update documentation, especially documentation
17318         of `bookmark-alist' and of the bookmark file format.
17319         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
17321 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
17323         * mail/emacsbug.el (report-emacs-bug): Clarify that the
17324         keybindings apply to the mail buffer (Bug#4003).  Shrink help
17325         window to buffer.
17327         * whitespace.el (whitespace-mode, whitespace-newline-mode)
17328         (global-whitespace-mode, global-whitespace-newline-mode)
17329         (whitespace-toggle-options, global-whitespace-toggle-options):
17330         Doc fix (Bug#3660).
17332         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17333         of xmltok-start before the end tag was inserted (Bug#2840).
17335         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17336         patterns that are preceded by an open-paren (Bug#1320).
17338 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
17340         * files.el (delete-directory): Delete symlinks to directories with
17341         delete-file (Bug#4739).
17343 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
17345         * vc.el (vc-backend-for-registration): Rename from
17346         vc-get-backend-for-registration.  Update callers.
17348         * international/mule-cmds.el (set-language-info-alist):
17349         Purecopy lang-env.
17350         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17351         (charset): Purecopy the name.
17352         (define-char-code-property): Purecopy string arguments.
17354         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17355         Purecopy string arguments.
17357         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17358         * ediff-hook.el (menu-bar-ediff-menu):
17359         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17360         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17362 2009-10-24  Glenn Morris  <rgm@gnu.org>
17364         * comint.el (comint-dynamic-list-completions):
17365         * term.el (term-dynamic-list-completions): Use choose-completion rather
17366         than obsolete alias mouse-choose-completion.
17368         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17369         file-cache-choose-completion.
17370         (file-cache-choose-completion): Handle an optional event argument.
17371         (file-cache-mouse-choose-completion): Make it an obsolete alias.
17373         * progmodes/octave-mod.el (octave-complete-symbol):
17374         Use choose-completion if mouse-choose-completion is ever removed.
17376         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17377         use.
17379         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17380         compiler.
17382         * vc-hooks.el (vc-responsible-backend): Fix declaration.
17384 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17386         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17387         Ignore `pred' now that we receive one.
17388         Handle test-completion specially.
17390 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17392         * vc.el (vc-responsible-backend): Throw an error if not backend is
17393         found.  Remove the REGISTER argument.  Move the code dealing with
17394         REGISTER ...
17395         (vc-get-backend-for-registration): ... here.  New function.
17396         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17397         of vc-responsible-backend, pass the file name instead of the
17398         directory name.
17400 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17402         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17403         New funs.
17404         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
17405         (pcomplete-comint-setup): Don't modify a global var via
17406         accidental side-effects.
17407         (pcomplete-shell-setup): Adjust call accordingly.
17408         (pcomplete-parse-comint-arguments): Use push.
17410 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
17412         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17413         Allow uncapitalized info node names (Bug#3921).
17415         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17416         to the DEBUG file (Bug#3781).
17418 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
17420         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17421         dictionary entry (Bug#4579).
17423 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
17425         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17426         from `rfn-eshadow-update-overlay-hook' when unloading.
17427         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17428         "rsyncc".  Adjust doc string.
17429         (tramp-temp-buffer-file-name): New buffer-local defvar.
17430         (tramp-handle-insert-file-contents, tramp-handle-write-region):
17431         Keep temporary file when indicated by method ("rsync" and
17432         "rsyncc").
17433         (tramp-handle-write-region): Handle APPEND.
17434         (tramp-delete-temp-file-function): New defun.  Added to
17435         `kill-buffer-hook'.
17437 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
17439         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17441 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17443         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17444         (color-name-rgb-alist, tty-standard-colors)
17445         (tty-color-mode-alist): Change to defconst.
17447         * simple.el (mark-inactive): Purecopy message.
17449         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17450         (global-map, yank-menu):
17451         * textmodes/ispell.el (ispell-menu-map):
17452         * net/eudc.el (eudc-tools-menu):
17453         * international/mule-cmds.el (describe-language-environment-map)
17454         (setup-language-environment-map, set-coding-system-map)
17455         (mule-menu-keymap):
17456         * vc-hooks.el (vc-menu-entry, vc-menu-map):
17457         * replace.el (occur-mode-map):
17458         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17460 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
17462         * calc/calc.el (math-read-number, math-read-number-simple):
17463         Use `save-match-data'.
17465 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17467         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17468         rather than fiddling with global-map bindings, since it should only
17469         affect per-terminal settings.
17470         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17472         * minibuffer.el (completion-table-with-terminator): Allow to specify
17473         the terminator-regexp.
17475         * simple.el (switch-to-completions): Look for *Completions* in other
17476         frames as well.
17478         * pcomplete.el: Allow the use of completion-tables.
17479         (pcomplete-std-complete): New command.
17480         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17481         (pcomplete--here): Use a function for `form' rather than an expression,
17482         so it can be byte-compiled.
17483         (pcomplete-here, pcomplete-here*): Adjust accordingly.
17484         Add edebug declaration.
17485         (pcomplete-show-completions): Remove unused var `curbuf'.
17486         (pcomplete-do-complete, pcomplete-stub):
17487         Don't assume `completions' is a list of strings any more.
17489 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
17491         * find-dired.el (find-name-arg): Fix typo in docstring.
17493 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17495         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17496         (pcmpl-linux-fs-types): Same, and update to new modules layout.
17498         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17499         pcomplete-entries.
17501         * comint.el (comint-read-input-ring, comint-write-input-ring)
17502         (comint-substitute-in-file-name)
17503         (comint-dynamic-complete-as-filename)
17504         (comint-dynamic-simple-complete)
17505         (comint-dynamic-list-filename-completions)
17506         (comint-dynamic-list-completions)
17507         (comint-redirect-results-list-from-process): Minor simplifications.
17509 2009-10-21  Kevin Ryde  <user42@zip.com.au>
17511         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17512         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17513         the first form.  And insert a blank line after ";;; Code" since
17514         that's usual style.  (Bug#4612)
17516         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17518 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17520         * minibuffer.el (completion-table-with-terminator): Properly implement
17521         boundaries, in case `terminator' appears in the suffix.
17522         (completion--embedded-envvar-table): Don't return boundaries if
17523         there's no valid completion.  Simplify.
17524         (completion-file-name-table): New completion table extracted from
17525         completion--file-name-table.
17526         (completion--file-name-table): Use it.
17527         (read-file-name-predicate): Declare obsolete.
17528         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17529         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17530         completion-file-name-table, and use the `pred' argument.
17531         * files.el (locate-file-completion-table): Use the `pred' arg rather
17532         than read-file-name-predicate.
17533         (abbreviate-file-name): Use \` rather than ^ for BOS.
17535 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
17537         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17538         vc-responsible-backend to register, it causes problems.
17540 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17542         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17544 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
17546         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17547         (tramp-smb-handle-file-attributes): Use it.
17548         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17549         (tramp-smb-handle-insert-directory): Use `mapc' rather than
17550         `mapcar'.  Use `tramp-smb-get-stat-capability'.
17551         Add `dired-filename' text properties.
17552         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17553         (tramp-smb-maybe-open-connection): Simplify check for smbclient
17554         version.
17556 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17558         * subr.el (read-key-delay): Reduce to 0.01.
17559         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17560         (bug#4751).
17562 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17564         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17566         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17567         (Info-menu): Remove unused vars `last' and `completions'.
17568         (Info-index-nodes): Remove unused var `node'.
17570         * info.el (Info-complete-menu-item): Use complete-with-action.
17572 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
17574         Make vc-annotate work through copies and renames.
17575         * vc-annotate.el (vc-annotate-extract-revision-at-line):
17576         Return the file name too.
17577         (vc-annotate-revision-at-line)
17578         (vc-annotate-find-revision-at-line)
17579         (vc-annotate-revision-previous-to-line)
17580         (vc-annotate-show-log-revision-at-line): Update to get the file
17581         name from vc-annotate-extract-revision-at-line.
17582         (vc-annotate-show-diff-revision-at-line-internal): Change the
17583         argument to mean whether to show a file diff or not.  Get the file
17584         name from vc-annotate-extract-revision-at-line.
17585         (vc-annotate-show-diff-revision-at-line):
17586         Update vc-annotate-show-diff-revision-at-line call.
17587         (vc-annotate-warp-revision): Add an optional file argument.
17589         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17590         (vc-git-annotate-extract-revision-at-line): Also return the file
17591         name if found.
17593         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17594         command.  Remove unused code.
17595         (vc-hg-annotate-re): Update to match --follow output.
17596         (vc-hg-annotate-extract-revision-at-line): Also return the file
17597         name if found.
17599         * vc.el: Update annotate-extract-revision-at-line documentation.
17601 2009-10-18  Kevin Ryde  <user42@zip.com.au>
17603         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17604         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17606         * net/browse-url.el (browse-url): Identify alist with "consp and
17607         not functionp" and let all other things go down the `apply' leg,
17608         as suggested by Stefan.  (Further to bug#4531.)
17610 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
17612         * minibuffer.el (read-file-name): Check for repeat before putting
17613         a default argument in file-name-history (Bug#4657).
17615         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17616         read syntax (Bug#4737).
17618         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17620 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
17622         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17623         (html-tag-alist, html-tag-help): Add descriptions for undocumented
17624         entries and make note of obsolete tags.
17626 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17628         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17630 2009-10-18  Glenn Morris  <rgm@gnu.org>
17632         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17633         grep, so that binary files (eg international/uni-bidi.el) can match.
17634         Remove test for "UnicodeData" files, since it is hopefully unnecessary
17635         now, and in any case the file header format has changed.
17637 2009-10-17  Glenn Morris  <rgm@gnu.org>
17639         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17640         (flyspell-get-word, flyspell-large-region)
17641         (flyspell-auto-correct-previous-word): Doc/error message fixes.
17643 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
17645         * Makefile.in (ELCFILES): Add ede/shell.
17647 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
17649         * term/common-win.el (x-colors): Purecopy it.
17651 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17653         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17654         permissive for when the buffer is empty.
17655         (tar-header-block-tokenize): Decode the username and groupname.
17656         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17658 2009-10-17  Eric Ludlam  <zappo@gnu.org>
17660         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17661         contains multibyte characters, choose first applicable coding
17662         system automatically.
17664 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17666         * international/mule-cmds.el (select-safe-coding-system): If the file
17667         has a coding cookie, use it regardless of any other setting (bug#4712).
17669 2009-10-17  Glenn Morris  <rgm@gnu.org>
17671         * foldout.el (foldout-mouse-swallow-events):
17672         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17674         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17675         (dired-keep-marker-copy, dired-keep-marker-hardlink)
17676         (dired-keep-marker-symlink, dired-dwim-target)
17677         (dired-copy-preserve-time): Do not autoload these defcustoms.
17679         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17680         messages from messing up the file coding.  (Bug#4623)
17682 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
17684         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17685         if no match is found for the current dictionary.  (Bug#4578)
17687         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17688         optional, since that is how it is documented, and this is often called
17689         with a nil argument.  (Bug#4577)
17690         (flyspell-external-point-words, flyspell-auto-correct-word)
17691         (flyspell-correct-word-before-point, flyspell-word-search-forward)
17692         (flyspell-word-search-backward): Remove nil argument in calls to
17693         flyspell-get-word, since it is not needed now.
17695 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
17697         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
17699 2009-10-16  Glenn Morris  <rgm@gnu.org>
17701         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17703 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
17705         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17706         (ange-ftp-file-size): New function.
17707         (ange-ftp-file-attributes): Use it.
17709 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
17711         * net/tramp-smb.el (tramp-smb-version): New defvar.
17712         (tramp-smb-maybe-open-connection): Use it, in order to avoid
17713         repeated checks.
17715 2009-10-16  Glenn Morris  <rgm@gnu.org>
17717         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17718         Maybe copy some custom properties from old to new name.  (Bug#4706)
17720 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
17722         * subr.el (error, sit-for, start-process-shell-command)
17723         (start-file-process-shell-command): Set the calling convention
17724         after the function definition.
17726 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17728         * subr.el (error, sit-for, start-process-shell-command)
17729         (start-file-process-shell-command): Use the new
17730         set-advertised-calling-convention feature.
17732 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
17734         * international/ucs-normalize.el (ucs-normalize-version):
17735         Change to 1.2.
17736         (check-range): Adjust for Unicode 5.2.
17738 2009-10-15  Juri Linkov  <juri@jurta.org>
17740         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17741         to the `menu-item' format.
17743 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
17745         * net/tramp.el (tramp-replace-environment-variables): Do not fail
17746         if the environment variable does not exist.
17748         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17749         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17750         parameter.
17751         (tramp-smb-handle-add-name-to-file)
17752         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17753         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17754         (tramp-smb-handle-file-attributes)
17755         (tramp-smb-do-file-attributes-with-stat)
17756         (tramp-smb-handle-file-local-copy)
17757         (tramp-smb-handle-insert-directory)
17758         (tramp-smb-handle-make-directory)
17759         (tramp-smb-handle-make-directory-internal)
17760         (tramp-smb-handle-make-symbolic-link)
17761         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17762         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17763         (tramp-smb-maybe-open-connection): Apply the changed parameters.
17764         (tramp-smb-read-file-entry): Read Disk names in compressed format.
17765         Handle long file names.
17766         (tramp-smb-get-cifs-capabilities): Check, whether the connection
17767         process is running.
17768         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17769         Read share names with "-g" option.
17771 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
17773         * net/rcirc.el (rcirc-view-log-file): New command.
17774         (rcirc-track-minor-mode-map): Remove C-c ` binding.
17775         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17776         specified.
17778 2009-10-15  Glenn Morris  <rgm@gnu.org>
17780         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17781         from the second command-line argument.
17782         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17783         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17784         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17785         w32-batch-update-autoloads.
17786         * emacs-lisp/autoload.el (autoload-make-program): New variable.
17787         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17789         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17790         the headers cannot be located.  Simplify, subtracting superflous
17791         save-excursions.
17793 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17795         Replace completion-base-size by completion-base-position to fix bugs
17796         such as (bug#4699).
17797         * simple.el (completion-base-position): New var.
17798         (completion-base-size): Mark as obsolete.
17799         (choose-completion): Make it work for mouse events as well.
17800         Pass the new base-position to choose-completion-string.
17801         (choose-completion-guess-base-position): New function, extracted from
17802         choose-completion-delete-max-match.
17803         (choose-completion-delete-max-match): Use it.  Make obsolete.
17804         (choose-completion-string): Use the new base-position info.
17805         (completion-root-regexp): Delete.
17806         (completion-setup-function): Preserve completion-base-position.
17807         Eliminate obsolete base-size manipulation.
17808         * minibuffer.el (display-completion-list): Don't mess with base-size.
17809         (minibuffer-completion-help): Set completion-base-position instead.
17810         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17811         choose-completion.
17812         * textmodes/bibtex.el (bibtex-complete):
17813         * emacs-lisp/crm.el (crm--choose-completion-string):
17814         Adjust to new calling convention.
17815         * complete.el (partial-completion-mode): Use minibufferp to avoid
17816         bumping into incompatible change to choose-completion-string-functions.
17817         * ido.el (ido-choose-completion-string): Make its calling convention
17818         more permissive.
17819         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17820         base-size manipulation.
17821         (comint-dynamic-list-input-ring): Use dotimes and push.
17822         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17823         fundamental-mode.  Use `or'.
17825 2009-10-14  Juri Linkov  <juri@jurta.org>
17827         * misearch.el (multi-isearch-next-buffer-from-list)
17828         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
17830 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17832         * Makefile.in (compile-onefile): Load `bytecomp' rather than
17833         `bytecomp.el'.
17835         * minibuffer.el (completion-pcm--merge-completions): Make sure the
17836         string we return is all made up of text from the completions rather
17837         than part from the completions and part from the input (bug#4219).
17839         * ido.el (ido-everywhere): Use define-minor-mode.
17841         * buff-menu.el (list-buffers, ctl-x-map):
17842         Mark the entry points with ;;;###autoload cookies.
17844 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
17846         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17847         correctly in the detached head case.
17848         (vc-git-print-log): Remove unused binding.
17850         * vc.el (vc-responsible-backend): When a directory is passed for
17851         for registration create a VC repository if no backend is
17852         responsible for the directory argument.
17853         (vc-deduce-fileset): Tell vc-responsible-backend to register.
17855         * vc.el: Move comments about RCS and SCCS ...
17856         * vc-rcs.el:
17857         * vc-sccs.el: ... here, respectively.
17859 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17861         * minibuffer.el (completion--file-name-table): Return nil if there's
17862         no file completion, even if substitute-in-file-name changed
17863         the string (bug#4708).
17865 2009-10-13  Juri Linkov  <juri@jurta.org>
17867         * files-x.el (read-file-local-variable-value): Don't filter out
17868         minor modes from mode name completion (bug#4664).
17870 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17872         * international/mule-cmds.el (ucs-names): Remove exclusion of
17873         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17875 2009-10-13  Kenichi Handa  <handa@m17n.org>
17877         * international/uni-name.el: Regenerated.
17879 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17881         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
17882         should be automatically buffer-local, but isn't.)
17884 2009-10-12  Sam Steingold  <sds@gnu.org>
17886         * progmodes/compile.el (compilation-next-error-function): Fix the
17887         timestamps if the buffer has been visited before.
17888         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17889         non-anchored patterns, like the perl one (bug#3928).
17891 2009-10-12  Glenn Morris  <rgm@gnu.org>
17893         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17894         Let-bind `size'.
17896 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
17898         * proced.el (proced-unload-function): New function.
17900         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17901         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17902         Doc fix.
17904         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17906 2009-10-11  Juri Linkov  <juri@jurta.org>
17908         * files-x.el (read-file-local-variable-value):
17909         Provide default value only for bound variables (bug#4664).
17911 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
17913         * net/tramp.el (tramp-local-host-p): Function shall return nil for
17914         connection methods like smb.
17916         * net/tramp-cache.el (tramp-flush-connection-property): The hash
17917         can be empty.
17919         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17920         (tramp-smb-file-name-handler-alist): Add handlers for
17921         `add-name-to-file', `make-symbolic-link'.
17922         (tramp-smb-handle-add-name-to-file)
17923         (tramp-smb-do-file-attributes-with-stat)
17924         (tramp-smb-handle-make-symbolic-link)
17925         (tramp-smb-get-cifs-capabilities): New defuns.
17926         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17927         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17928         (tramp-smb-handle-file-local-copy)
17929         (tramp-smb-handle-make-directory-internal)
17930         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17931         The file name syntax depends on cifs capabilities.
17932         (tramp-smb-handle-file-attributes):
17933         Call `tramp-smb-do-file-attributes-with-stat' if possible.
17934         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17935         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17937 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
17939         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17940         (eieio-defclass): Apply deftype handler and setf-method properties
17941         directly.
17942         (eieio-add-new-slot): Avoid union function from cl library.
17943         (eieio--typep): New function.
17944         (eieio-perform-slot-validation): Use it.
17946 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17948         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17949         Update documentation to refer to the variables documented in r1.135.
17950         (Bug#4188)
17952 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17954         * bookmark.el (Info-suffix-list): Remove this unused variable.
17955         (bookmark-current-point): Remove this obsolete variable.
17956         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17957         Adjust for removal of bookmark-current-point.
17959         (bookmarks-already-loaded, bookmark-current-buffer)
17960         (bookmark-yank-point): Document.  (Bug#4188)
17962 2009-10-10  Glenn Morris  <rgm@gnu.org>
17964         * frame.el (frame-height): Doc fix.
17966         * calendar/calendar.el (calendar-split-width-threshold): New option.
17967         (calendar-basic-setup): Use calendar-split-width-threshold.
17969 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
17971         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17972         Ideographic Supplement" range (U+1F200..U+1F2FF).
17974 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17976         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17977         since the list will have been rebuilt anyway.  (Bug#4349)
17979 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17981         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17982         (bookmark-bmenu-execute-deletions): Don't save here, as
17983         bookmark-delete will now do so if necessary.
17984         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17985         (Bug#4348)
17987 2009-10-09  Glenn Morris  <rgm@gnu.org>
17989         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17991 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17993         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17994         (bookmark-jump-other-window): Just invoke bookmark-jump with new
17995         argument now, so the two function's behaviors will match.  (Bug#3645)
17997 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
17999         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18000         (tramp-file-name-real-host, tramp-file-name-port):
18001         Apply `save-match-data'.
18003         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18004         case both directories are remote.
18005         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18006         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18008 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
18010         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18012 2009-10-07  Glenn Morris  <rgm@gnu.org>
18014         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18015         of concat.
18017 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18019         * files-x.el (read-file-local-variable): Include some
18020         non-user-variables in the completion table (bug#4664).
18022 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
18024         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18025         message.
18027         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18028         (tramp-smb-file-name-handler-alist): Add handler for
18029         `copy-directory', `expand-file-name', `set-file-modes'.
18030         (tramp-smb-handle-copy-directory)
18031         (tramp-smb-handle-expand-file-name)
18032         (tramp-smb-handle-set-file-modes): New defuns.
18033         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18034         (tramp-smb-handle-file-attributes): Simplify check for retrieving
18035         entry.
18036         (tramp-smb-handle-insert-directory): Don't flush the cache.
18037         (tramp-smb-maybe-open-connection): Check for samba client and
18038         server versions.
18040 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
18042         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18043         to not error out of search for "^lisp=" fails.
18045 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
18047         * makefile.w32-in (WINS_UPDATES): New macro.
18048         (custom-deps, finder-data, autoloads): Use it.
18050 2009-10-07  Glenn Morris  <rgm@gnu.org>
18052         * Makefile.in (autoloads): Revert previous change.
18053         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18054         the list of preloaded files passed on the command-line, get
18055         it from src/Makefile.
18057         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18058         show the original buffer rather than a random one.
18060 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
18062         * help.el (describe-no-warranty): Place point in a slightly better
18063         position in the GPLv3 text.
18065 2009-10-06  Sam Steingold  <sds@gnu.org>
18067         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18068         the comm attribute is present before calling regexp-quote.
18070 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
18072         * play/animate.el (animate-string): For good effect, make sure
18073         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18075         * play/animate.el (animate-sequence, animate-birthday-present):
18076         * misc.el (butterfly): Don't set `indent-tabs-mode'.
18078 2009-10-06  Glenn Morris  <rgm@gnu.org>
18080         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18082         * emacs-lisp/autoload.el (autoload-excludes): New variable.
18083         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18084         (batch-update-autoloads): Process a string value of autoload-excludes,
18085         set during the build process.
18086         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
18088         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18089         inside with-parsed...  macro so that `v' is defined.
18091         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18092         * progmodes/fortran.el (fortran-end-of-block)
18093         (fortran-beginning-of-block):
18094         Also push mark in the macro case.
18096         * emerge.el (emerge-show-file-name):
18097         * calc/calc.el (calc-quit):
18098         * calc/calc-misc.el (calc-big-or-small):
18099         * calc/calc-graph.el (calc-graph-view):
18100         * calc/calc-ext.el (calc-reset):
18101         * calendar/calendar.el (calendar-basic-setup):
18102         Use window-full-height-p.
18104         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18105         header we don't understand, don't insert another.  (Bug#4624)
18106         If changing mime charset, insert the new one in the right place.
18108 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
18110         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18111         (cal-tex-cursor-month): Correctly increment the end date for diary and
18112         holiday listing.  (Bug#4626)
18114 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18116         * help-fns.el (describe-function-1): Don't burp if the function is not
18117         a symbol.
18119 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
18121         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18122         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18123         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18124         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18126         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18127         (eieio-default-superclass): Reflow docstrings.
18128         (this, class-option-assoc, defclass, eieio-class-un-autoload)
18129         (eieio-unbind-method-implementations, defmethod)
18130         (eieio-validate-slot-value, eieio-validate-class-slot-value)
18131         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18132         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18133         (eieio-slot-originating-class-p, eieio-slot-name-index)
18134         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18135         (constructor, initialize-instance, no-next-method, object-print)
18136         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18137         Fix typos in docstrings.
18138         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18139         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18140         (next-method-p): Doc fixes.
18141         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18142         Fix typos in error messages.
18143         (eieio-defmethod): Fix typo in description of generic method.
18145         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18146         (eieio-persistent-save-interactive, slot-missing):
18147         Fix typos in docstrings.
18148         (eieio-instance-inheritor-slot-boundp): Doc fix.
18150         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18151         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18153         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18154         (eieio-custom-object-apply-reset):
18155         Fix typos in docstrings and error messages.
18157         * emacs-lisp/eieio-datadebug.el (data-debug-show):
18158         Fix typo in docstring.
18160         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18161         (eieio-browse-tree): Doc fix.
18162         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18163         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18164         Fix typos in docstrings.
18166         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18167         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18168         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18169         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18170         Reflow docstrings.
18172 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
18174         * vc-hg.el (log-view-vc-backend): Declare for compiler.
18175         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18176         Set log-view-vc-backend so that diff can work.
18178         * log-view.el (log-view-diff): Use vc-diff-internal instead of
18179         vc-version-diff.
18180         (vc-diff-internal): Autoload this instead of vc-version-diff.
18182 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
18184         * simple.el (eval-expression): Doc fix.
18186         * progmodes/cwarn.el (cwarn-mode): Doc fix.
18188 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
18190         * files.el (directory-files-no-dot-files-regexp): New defconst.
18191         (delete-directory): Use it.
18192         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
18194         * net/tramp.el (tramp-verbose): Fix docstring.
18195         (tramp-methods): Add recursive option to `tramp-copy-args'.
18196         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
18197         "scp1_old", "scp2_old", "rsync", "rsyncc".
18198         (tramp-default-method): Check also for `auth-source-user-or-password'.
18199         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18200         Add handler for `copy-directory'.
18201         (tramp-handle-copy-directory): New defun.
18202         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18203         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18204         Optimize sent command.
18206 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18208         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18209         window if necessary.
18211         * calendar/calendar.el (calendar-basic-setup): Don't call
18212         switch-to-buffer in a dedicated window.
18214 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
18216         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18217         don't do anything related to relocating, just return nil.
18218         (bookmark-error-no-filename): New error.
18219         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18220         bookmark has no file.  Don't even attempt to handle things that
18221         are not files; the whole point of custom handlers is to keep that
18222         knowledge elsewhere anyway.  Tighten some comments.
18223         (bookmark-file-or-variation-thereof): Remove now-unused function.
18224         (bookmark-location): Doc string fix.
18225         (Bug#4250)
18227 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18229         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18230         don't use a file dialog, because they usually don't know how to read
18231         a directory target from the user.  (Bug#4230)
18232         Also, make sure the prompt can display directories as well as files.
18234 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18236         * bookmark.el (bookmark-set, bookmark-buffer-name):
18237         Improve doc strings.  (Bug#1193)
18239 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18241         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18242         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18243         (bookmark-get-annotation, bookmark-set-annotation)
18244         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18245         (bookmark-set-position, bookmark-get-front-context-string)
18246         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18247         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18248         (bookmark-jump-other-window, bookmark-handle-bookmark)
18249         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18250         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18251         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18252         Improve doc strings to say whether bookmark can be a string or
18253         a record or both, and make other consistency and clarity fixes.
18254         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18255         (bookmark-default-annotation-text, bookmark-yank-word)
18256         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18257         (bookmark-import-new-list, bookmark-maybe-rename)
18258         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18259         (bookmark-bmenu-bookmark): Give these doc strings.
18260         (bookmark-bmenu-check-position): Give this a doc string, but also
18261         add a FIXME comment about how the function may be pointless.
18262         (bookmark-default-handler): Rework doc string and change a
18263         parameter name, to clarify that this takes a bookmark record
18264         not a bookmark name.
18265         (bookmark-set): Change a parameter name to indicate its meaning,
18266         and improve the doc string a bit.
18267         (Bug#4188)
18269 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18271         * bookmark.el (bookmark-alist): Document the new `handler' element
18272         in the param alist.
18273         (bookmark-make-record-function): Adjust documentation for above.
18274         (Bug#4193)
18276 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18278         * info.el (Info-bookmark-make-record): Document this function.
18279         (Info-bookmark-jump): Document with a doc string, not just a comment.
18280         (Bug#4203)
18282 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
18284         * files.el (copy-directory): New defun.
18286         * dired-aux.el (dired-copy-file-recursive): Use it.
18288 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
18290         * files-x.el (modify-dir-local-variable)
18291         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18292         docstrings.
18294         * recentf.el (recentf-unload-function): New function.
18296 2009-10-04  Glenn Morris  <rgm@gnu.org>
18298         * window.el (window-full-height-p): Add doc string.
18300 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
18302         * window.el (window-full-height-p): New function.  (Bug#4543)
18304 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
18306         * vc.el: Remove commented out code.
18307         (vc-derived-from-dir-mode): Remove, unused.
18308         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18310 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
18312         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18313         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
18314         there could be recursive loading when `default-directory' is a
18315         remote file name.  (Bug#4614)
18317 2009-10-03  Glenn Morris  <rgm@gnu.org>
18319         * calendar/calendar.el (calendar-basic-setup): Handle the case where
18320         the frame is wide.
18321         (calendar-generate-window): Test for shrinkability rather than width.
18323         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18324         reusing existing buffers, in case we happen to visit two files with the
18325         same basename.  (Bug#4593)
18327 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18329         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18330         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18331         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18332         subdirs of cedet as well.
18333         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18335 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18337         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18338         Obey advertised-signature-table.
18340         * help-fns.el (help-function-arglist): Don't check
18341         advertised-signature-table.
18342         (describe-function-1): Do it here instead so it also applies to subrs.
18344 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
18346         * simple.el (start-file-process): Say in the doc-string, that file
18347         handlers might not support pty association, if PROGRAM is nil.
18349         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18350         HOST and USER are strings.  They are nil, when there are
18351         incomplete entries in ~/.netrc, for example.
18352         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
18353         root directory ("device busy" error otherwise).
18355         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18356         Flush file properties of created directory.
18358 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18360         * makefile.w32-in (WINS_BASIC): Remove cedet.
18361         (WINS_CEDET): Add cedet.
18362         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18364 2009-10-02  Kevin Ryde  <user42@zip.com.au>
18366         * net/browse-url.el (browse-url): Pass any symbol in
18367         browse-url-browser-function to `apply', since if you've mistakenly put
18368         an unbound symbol then the error is clearer.  (Bug#4531)
18370 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18372         * allout.el (allout-init, allout-back-to-current-heading)
18373         (allout-beginning-of-current-entry, allout-ascend-to-depth)
18374         (allout-ascend, allout-up-current-level, allout-end-of-level)
18375         (allout-previous-visible-heading, allout-forward-current-level)
18376         (allout-backward-current-level, allout-show-children):
18377         * apropos.el (apropos-describe-plist):
18378         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18379         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18380         * completion.el (add-completion, add-permanent-completion):
18381         * descr-text.el (describe-text-category, describe-char):
18382         * desktop.el (desktop-lazy-abort):
18383         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18384         * dired.el (dired-build-subdir-alist):
18385         * ediff.el (ediff-version):
18386         * elide-head.el (elide-head, elide-head-show):
18387         * emerge.el (emerge-version):
18388         * env.el (getenv):
18389         * face-remap.el (variable-pitch-mode):
18390         * faces.el (describe-face):
18391         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18392         (dired-at-point):
18393         * files.el (find-file-existing, auto-save-mode):
18394         * font-lock.el (font-lock-fontify-buffer):
18395         * help-fns.el (describe-function, describe-variable)
18396         (describe-syntax, describe-categories):
18397         * help.el (view-lossage, describe-bindings, describe-key)
18398         (describe-mode):
18399         * hexl.el (hexl-current-address):
18400         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18401         * info.el (Info-goto-emacs-key-command-node):
18402         * log-edit.el (log-edit-insert-cvs-template)
18403         (log-edit-insert-cvs-rcstemplate):
18404         * menu-bar.el (menu-bar-mode):
18405         * mouse.el (mouse-appearance-menu):
18406         * newcomment.el (comment-indent-new-line):
18407         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18408         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18409         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18410         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18411         * recentf.el (recentf-mode):
18412         * savehist.el (savehist-mode, savehist-save):
18413         * shadowfile.el (shadow-copy-files):
18414         * simple.el (kill-ring-save, next-line, previous-line)
18415         (normal-erase-is-backspace-mode):
18416         * strokes.el (strokes-update-window-configuration)
18417         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18418         (strokes-xpm-for-stroke):
18419         * time.el (emacs-uptime, emacs-init-time):
18420         * tutorial.el (tutorial--describe-nonstandard-key)
18421         (tutorial--detailed-help):
18422         * type-break.el (type-break-mode)
18423         (type-break-mode-line-message-mode, type-break-query-mode)
18424         (type-break-guesstimate-keystroke-threshold):
18425         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18426         * version.el (emacs-version):
18427         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18428         * winner.el (winner-mode):
18429         * calendar/timeclock.el (timeclock-in, timeclock-out)
18430         (timeclock-status-string, timeclock-change)
18431         (timeclock-workday-remaining-string)
18432         (timeclock-workday-elapsed-string)
18433         (timeclock-when-to-leave-string):
18434         * calendar/todo-mode.el (todo-add-category):
18435         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18436         * emacs-lisp/autoload.el (update-file-autoloads):
18437         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18438         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18439         (checkdoc-message-text, checkdoc-defun):
18440         * emacs-lisp/debug.el (debugger-list-functions):
18441         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18442         * emacs-lisp/eieio-opt.el (eieio-describe-class)
18443         (eieio-describe-generic):
18444         * emacs-lisp/lisp-mnt.el (lm-synopsis):
18445         * emacs-lisp/shadow.el (list-load-path-shadows):
18446         * emulation/cua-base.el (cua-mode):
18447         * emulation/edt.el (edt-set-scroll-margins):
18448         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18449         (tpu-toggle-regexp, tpu-toggle-search-direction)
18450         (tpu-toggle-rectangle, tpu-toggle-control-keys):
18451         * emulation/tpu-extras.el (tpu-set-scroll-margins):
18452         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18453         (viper-set-parsing-style-toggling-macro)
18454         (viper-set-emacs-state-searchstyle-macros):
18455         * emulation/viper.el (viper-set-hooks):
18456         * eshell/esh-mode.el (eshell-truncate-buffer):
18457         * international/mule-cmds.el (prefer-coding-system)
18458         (describe-input-method, describe-language-environment):
18459         * international/mule-diag.el (list-character-sets)
18460         (describe-character-set, describe-coding-system)
18461         (describe-fontset, list-fontsets, list-input-methods):
18462         * mail/sendmail.el (mail-signature):
18463         * net/ange-ftp.el (ange-ftp-copy-file):
18464         * net/browse-url.el (browse-url):
18465         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18466         * net/quickurl.el (quickurl-add-url):
18467         * net/rcirc.el (names, topic):
18468         * net/xesam.el (xesam-mode):
18469         * play/5x5.el (5x5-new-game):
18470         * play/yow.el (apropos-zippy):
18471         * progmodes/ada-mode.el (ada-mode-version):
18472         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18473         (f90-end-of-block)
18474         (f90-beginning-of-block):
18475         * progmodes/fortran.el (fortran-end-of-block)
18476         (fortran-beginning-of-block):
18477         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18478         * progmodes/python.el (python-describe-symbol, python-shell):
18479         * term/ns-win.el (ns-print-buffer):
18480         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18481         * textmodes/flyspell.el (flyspell-mode-on):
18482         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18483         (pages-directory-for-addresses):
18484         * textmodes/table.el (table-recognize-cell)
18485         (table-query-dimension, table-generate-source)
18486         (table-insert-sequence, table--warn-incompatibility):
18487         * textmodes/tex-mode.el (tex-validate-buffer):
18488         * textmodes/texinfmt.el (texinfmt-version)
18489         (texinfo-format-buffer):
18490         Use `called-interactively-p' instead of `interactive-p'.
18492 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18494         * image-mode.el (image-toggle-display):
18495         * emacs-lisp/elp.el (elp-instrument-function):
18496         * emacs-lisp/advice.el (ad-make-advised-definition):
18497         * emacs-lisp/easy-mmode.el (define-minor-mode):
18498         * net/browse-url.el (browse-url-maybe-new-window):
18499         * progmodes/sh-script.el (sh-learn-buffer-indent):
18500         Pass new argument 'any to `called-interactively-p'.
18502 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
18504         * international/uni-bidi.el:
18505         * international/uni-category.el:
18506         * international/uni-combining.el:
18507         * international/uni-comment.el:
18508         * international/uni-decimal.el:
18509         * international/uni-decomposition.el:
18510         * international/uni-digit.el:
18511         * international/uni-lowercase.el:
18512         * international/uni-mirrored.el:
18513         * international/uni-name.el:
18514         * international/uni-numeric.el:
18515         * international/uni-old-name.el:
18516         * international/uni-titlecase.el:
18517         * international/uni-uppercase.el:
18518         Regenerate from Unicode 5.2.0 data.
18520 2009-10-01  Glenn Morris  <rgm@gnu.org>
18522         * Makefile.in (ELCFILES): Regenerate.
18524 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18526         * subr.el (interactive-p): Mark obsolete.
18527         (called-interactively-p): Make the optional-ness of `kind' obsolete.
18528         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18529         advertised-signature-table for subroutines as well.
18531         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18532         (set-advertised-calling-convention): New function.
18533         (make-obsolete, define-obsolete-function-alias)
18534         (make-obsolete-variable, define-obsolete-variable-alias):
18535         Make the optional-ness of `when' obsolete.
18536         (define-obsolete-face-alias): Make `when' non-optional.
18537         * help-fns.el (help-function-arglist):
18538         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18539         Use advertised-signature-table.
18541 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
18543         * files.el (delete-directory): New defun.  The original function
18544         in fileio.c has been renamed to `delete-directory-internal'.
18546         * dired.el (dired-delete-file): Call `delete-directory' with
18547         RECURSIVE parameter.
18549         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18550         parameter RECURSIVE.  Implementation is missing.
18552         * net/tramp.el (tramp-handle-make-directory): Flush upper
18553         directory's file properties.
18554         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18555         (tramp-handle-dired-recursive-delete-directory): Flush directory
18556         properties after the remove command only.
18558         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18559         Handle optional parameter RECURSIVE.
18561         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18562         Handle optional parameter RECURSIVE.
18564         * net/tramp-smb.el (tramp-smb-errors): Add error message for
18565         connection timeout.
18566         (tramp-smb-handle-delete-directory): Handle optional parameter
18567         RECURSIVE.
18569 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18571         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18572         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18573         (byte-compile-defmacro): Use backquotes.
18575         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18577         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18578         has no associated file.
18579         (vc-resynch-buffer): Use vc-dir-buffers.
18581 2009-10-01  Glenn Morris  <rgm@gnu.org>
18583         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18584         (chart-file-count):
18585         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18586         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18587         * emacs-lisp/eieio-opt.el (eieio-describe-class):
18588         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18589         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18590         (eieio-copy-parents-into-subclass, make-instance, class-children)
18591         (eieio-generic-form):
18593         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18594         match-data.  (Bug#4555).
18596         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18597         rather than parsing it as a regexp.  This relaxes the layout
18598         requirements and makes errors easier to detect.
18599         (check-declare-verify): Check file is regular.
18600         (check-declare-directory): Doc fix.
18601         * subr.el (declare-function): Doc fix.
18603         * ibuffer.el (ibuffer-format-qualifier):
18604         * isearch.el (hi-lock-regexp-okay):
18605         * calc/calc.el (math-zerop):
18606         * mail/uce.el (rmail-msgbeg, rmail-msgend):
18607         * term/w32-win.el (setup-default-fontset, set-fontset-font):
18608         Remove unused declarations.
18610 2009-09-30  Eric Ludlam  <zappo@gnu.org>
18612         * emacs-lisp/eieio.el (boolean-p): Delete.
18614 2009-09-30  Glenn Morris  <rgm@gnu.org>
18616         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18618         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18619         filename is not a string.
18621 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
18623         * files.el (safe-local-eval-forms): Fix typo.
18625 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18627         * vc-hooks.el (vc-dir-buffers): New var.
18628         (vc-state-refresh): New function.
18629         (vc-state): Use it.
18630         (vc-after-save): Always ask the backend to recompute the new state.
18631         Always call vc-dir if necessary, using vc-dir-buffers.
18632         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18633         Use vc-dir-buffers.
18634         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18635         (vc-dir-prepare-status-buffer, vc-dir-update)
18636         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18637         Don't call expand-file-name on default-directory.
18639 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18641         * speedbar.el (speedbar-item-delete):
18642         * calc/calc-prog.el (calc-kbd-if):
18643         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18645         * epa.el (epa-key-list-mode-map):
18646         * hi-lock.el (hi-lock-menu): Fix typos in menus.
18648         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18649         (hs-show-hook): Fix typo in docstring.
18651 2009-09-29  Glenn Morris  <rgm@gnu.org>
18653         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18654         file-name-nondirectory call preventing location of cedet files.
18655         (check-declare-verify): Use literal search rather than re-search.
18656         Add basic defmethod and defclass, and define-overloadable-function.
18658         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18659         Use tramp-compat-file-attributes rather than nonexistent
18660         tramp-compat-handle-file-attributes.
18662         * Makefile.in (lisptagsfiles4): New.
18663         (AUTOGENEL): Add cedet loaddefs files.
18664         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18665         (update-elclist, compile-always, backup-compiled-files)
18666         (bootstrap-clean): Add yet another directory level.
18667         (update-elclist): Use LC_COLLATE rather than COLLATE.
18668         (ELCFILES): Update, via `make update-elclist'.
18670 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18672         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18673         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18674         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18676 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18678         * Makefile.in (lisptagsfiles3): Define.
18679         (TAGS, TAGS-LISP): Use it.
18680         (update-elclist): Add third directory level to look for elc files.
18681         (compile-always): Likewise.
18682         (backup-compiled-files): Likewise.
18683         (bootstrap-clean): Likewise.
18684         (ELCFILES): Update.
18686 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
18688         * Makefile.in (ELCFILES): Add CEDET files.
18690 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
18692         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18694         * net/tramp.el (top): Require tramp-imap.
18696         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18697         Use `tramp-compat-handle-file-attributes'.
18699 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
18701         * net/tramp-imap.el: New package.
18703 2009-09-28  Eric Ludlam  <zappo@gnu.org>
18705         * emacs-lisp/chart.el:
18706         * emacs-lisp/eieio-base.el:
18707         * emacs-lisp/eieio-comp.el:
18708         * emacs-lisp/eieio-custom.el:
18709         * emacs-lisp/eieio-datadebug.el:
18710         * emacs-lisp/eieio-opt.el:
18711         * emacs-lisp/eieio-speedbar.el:
18712         * emacs-lisp/eieio.el: New files.
18714 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18716         * whitespace.el (whitespace-trailing-regexp)
18717         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18718         Fix doc string.
18720 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
18722         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18723         menu.
18725         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18726         menu-bar-ediff-menu.
18728         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18729         define-overloadable-function.
18731         * progmodes/autoconf.el: Provide autoconf as well, so that this
18732         file can be `require'd.
18734         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18736         * emacs-lisp/autoload.el (generated-autoload-feature)
18737         (generated-autoload-load-name): New vars.
18738         (autoload-rubric, autoload-generate-file-autoloads): Use them.
18739         (make-autoload): Recognize define-overloadable-function and
18740         defclass forms (for EIEIO).
18742         * Makefile.in (update-subdirs): Exclude cedet directory.
18744 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
18746         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
18748         * faces.el: Default light-background background for region face to
18749         ns_selection_color under NS.
18751 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
18753         * net/imap-hash.el: New library, see NEWS.
18755         * Makefile.in (ELCFILES): Add imap-hash.el.
18757 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18759         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18760         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18761         * help-macro.el (make-help-screen): Avoid using an ambiguous function
18762         definition where the docstring could be taken for the return value.
18764 2009-09-26  Glenn Morris  <rgm@gnu.org>
18766         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18767         Add option to only show images below a certain size.
18768         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18769         save-excursion calls.
18771 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
18773         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18774         subdirectories) and eieio.
18776 2009-09-26  Alan Mackenzie  <acm@muc.de>
18778         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18779         Correct buggy bracketing.  (Bug#4289)
18781         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18782         character constants (as case labels).  (Bug#4289)
18784 2009-09-25  Juri Linkov  <juri@jurta.org>
18786         * files.el (safe-local-eval-forms): Allow time-stamp in
18787         before-save-hook (Bug#4554).
18789 2009-09-25  Drew Adams  <drew.adams@oracle.com>
18791         * menu-bar.el (list-buffers-directory): Doc fix.
18793 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18795         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18796         Try and avoid copying twice the same paragraph.
18797         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18798         Remove save-excursion.
18799         (log-edit-changelog-entry): Do it here instead.
18801 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
18803         * bs.el (bs--get-file-name): Use `list-buffers-directory'
18804         when available, instead of hardcoding mode names.  Doc fix.
18806         * menu-bar.el (list-buffers-directory): Add docstring.
18807         Make automatically buffer-local.
18809         * dired.el (dired-mode):
18810         * files.el (cd-absolute):
18811         * pcvs.el (cvs-temp-buffer):
18812         * pcvs-util.el (cvs-get-buffer-create):
18813         * shell.el (shell-mode):
18814         * vc-dir.el (vc-dir-mode):
18815         Don't make `list-buffers-directory' buffer local.
18817 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
18819         * comint.el (comint-exec, comint-run, make-comint):
18820         Doc fixes (Bug#4542).
18822 2009-09-25  Glenn Morris  <rgm@gnu.org>
18824         * mail/rmailmm.el (rmail-mime): New custom group.
18825         Move all defcustoms in this file into this group.
18826         (rmail-mime-media-type-handlers-alist): Revert previous change.
18827         (rmail-mime-show-images): New option.
18828         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18829         references to it, since it wasn't actually used for anything.
18830         (rmail-mime-insert-image): New function.
18831         (rmail-mime-image): Use rmail-mime-insert-image.
18832         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18833         obey the value of `rmail-mime-show-images' option.  Print the size of
18834         attachments.
18836 2009-09-25  David Engster  <deng@randomsample.de>
18838         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
18840 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18842         * whitespace.el: Does not highlight trailing spaces While point is
18843         at end of line.  Does not highligt spaces at beginning of buffer
18844         while point is at beginning of buffer.  Does not highlight spaces
18845         at end of buffer while point is at end of buffer.  (Bug#4177)
18846         New version 12.0.
18847         (whitespace-display-mappings): Adjust initialization.
18848         (whitespace-point, whitespace-font-lock-refontify): New vars.
18849         (whitespace-color-on, whitespace-color-off): Adjust code.
18850         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18851         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18852         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18854 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
18856         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18858         * textmodes/sgml-mode.el: Remove xml-mode alias.
18860         * files.el (auto-mode-alist, conf-mode-maybe)
18861         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18863 2009-09-24  Alan Mackenzie  <acm@muc.de>
18865         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18866         c-forward-conditionals, but it doesn't move point and doesn't set
18867         the mark.
18868         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18869         (c-down-conditional-with-else, c-backward-conditional)
18870         (c-forward-conditional): Refactor to use c-scan-conditionals.
18872 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18874         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18875         (help-default-arg-highlight): Remove.
18876         (help-highlight-arg): New function.
18877         (help-do-arg-highlight): Use it.
18878         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
18880 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18882         * term.el (term-set-scroll-region, term-handle-ansi-escape):
18883         Undo last change, which didn't fix the problem and introduced others.
18885 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
18887         * progmodes/gdb-mi.el: Don't require speedbar.
18888         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18890 2009-09-24  Glenn Morris  <rgm@gnu.org>
18892         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18894         * term/ns-win.el (ns-reg-to-script): Define for compiler.
18896         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18897         there is no newline after the final mime boundary.  (Bug#4539)
18898         Move markers on insertion so that any buttons inserted don't end up in
18899         the next part of a multipart message.
18900         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
18901         (rmail-mime-bulk-handler): Optionally handle images.
18902         (rmail-mime-image): New button action.
18903         (rmail-mime-image-handler): New function.
18904         (rmail-mime-mode): New mode.
18905         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
18907 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18909         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18910         than just dropping elements from it (bug#4504).
18912         * term.el (term-set-scroll-region): Don't move cursor any more.
18913         (term-handle-ansi-escape): Call term-goto here instead.
18914         Suggested by Ivan Kanis <apple@kanis.eu>.
18916         * term.el: Require CL.
18917         (term-ansi-reset): New function.
18918         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18919         (term-handle-colors-array): Simplify.
18921 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18923         * allout.el (allout-overlay-interior-modification-handler)
18924         (allout-obtain-passphrase):
18925         * epa-file.el (epa-file-write-region):
18926         * ps-print.el (ps-begin-job):
18927         * vc-hooks.el (vc-toggle-read-only):
18928         * vc-rcs.el (vc-rcs-rollback):
18929         * vc-sccs.el (vc-sccs-rollback):
18930         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18931         (vc-version-diff, vc-revert, vc-rollback):
18932         * wdired.el (wdired-check-kill-buffer):
18933         * emacs-lisp/authors.el (authors):
18934         * net/socks.el (socks-open-connection):
18935         * net/zeroconf.el (zeroconf-service-add-hook):
18936         * obsolete/vc-mcvs.el (vc-mcvs-register):
18937         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18938         (gdb-select-frame):
18939         * progmodes/grep.el (lgrep, rgrep):
18940         * progmodes/idlw-help.el (idlwave-help-check-locations)
18941         (idlwave-help-html-link, idlwave-help-assistant-open-link):
18942         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18943         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18944         (reftex-toc-rename-label): Fix typos in error messages.
18946         * dired-aux.el (dired-do-shell-command): Reflow docstring.
18947         (dired-copy-how-to-fn): Doc fix.
18948         (dired-files-attributes, dired-read-shell-command):
18949         Fix typos in docstrings.
18951         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18952         (dired-x-find-file-other-window): Reflow docstrings.
18953         (dired-omit-marker-char, dired-read-shell-command)
18954         (dired-x-submit-report): Fix typos in docstrings.
18956         * shell.el (shell-mode-hook):
18957         * view.el (View-scroll-line-forward):
18958         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18959         Fix typos in docstrings.
18961         * net/dig.el (dig-invoke): Fix typo in docstring.
18962         (query-dig): Reflow docstring.
18964         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18965         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18966         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18967         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18968         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18969         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18970         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18971         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18972         (idlwave-completion-map, idlwave-current-indent)
18973         (idlwave-custom-ampersand-surround, idlwave-customize)
18974         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18975         (idlwave-define-abbrev, idlwave-determine-class-special)
18976         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18977         (idlwave-end-block-reg, idlwave-end-of-statement)
18978         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18979         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18980         (idlwave-explicit-class-listed, idlwave-file-header)
18981         (idlwave-fill-paragraph, idlwave-find-class-definition)
18982         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18983         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18984         (idlwave-in-quote, idlwave-indent-action-table)
18985         (idlwave-indent-expand-table, idlwave-indent-line)
18986         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18987         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18988         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18989         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18990         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18991         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18992         (idlwave-outlawed-buffers, idlwave-popup-select)
18993         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18994         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18995         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18996         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18997         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18998         (idlwave-statement-type, idlwave-struct-skip)
18999         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19000         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19001         (idlwave-what-module-find-class): Fix typos in docstrings.
19002         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19003         (idlwave-calculate-cont-indent, idlwave-expand-equal)
19004         (idlwave-find-module, idlwave-find-structure-definition)
19005         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19006         (idlwave-list-load-path-shadows, idlwave-next-statement)
19007         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19008         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19009         (idlwave-template): Reflow docstrings.
19011         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19012         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19013         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19014         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19015         (idlwave-shell-display-line, idlwave-shell-display-wframe)
19016         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19017         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19018         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19019         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19020         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19021         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19022         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19023         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19024         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19025         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19026         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19027         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19028         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19029         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19030         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19031         Fix typos in docstrings.
19032         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19033         (idlwave-shell-hide-output, idlwave-shell-mode)
19034         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19035         Reflow docstrings.
19037         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19039 2009-09-24  Ivan Kanis  <apple@kanis.eu>
19041         * term.el (term-bold-attribute): New var.
19042         (term-handle-colors-array): Use it.
19044 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
19046         * progmodes/gdb-mi.el (gdb-version): New variable.
19047         (gdb-non-stop-handler): Set gdb-version.
19048         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19049         Condition "--thread" option on gdb-version.
19050         (gdb-invalidate-threads): Remove unused argument.
19052 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19054         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19055         to looking-back to avoid ridiculous slow down in large files (bug#4511).
19057 2009-09-23  Glenn Morris  <rgm@gnu.org>
19059         * mail/rmail.el (rmail-reply): Don't try to add a References header when
19060         replying to mail without References or Message-Id.  (Bug#4525)
19062 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
19064         * term/ns-win.el (ns-reg-to-script): New variable.
19066 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
19068         * epg.el (epg-wait-for-status): Preserve existing 'error results.
19070 2009-09-22  Sam Steingold  <sds@gnu.org>
19072         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19073         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19074         to 1 because hg returns status 1 when nothing is found.
19075         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19077 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19079         * textmodes/fill.el: Convert to utf-8 encoding.
19080         (fill-french-nobreak-p): Remove redundant » and « inherited from our
19081         pre-Unicode days.
19083         * add-log.el (change-log-fill-forward-paragraph): New function.
19084         (change-log-mode): Use it so fill-region DTRT.
19085         Set fill-indent-according-to-mode here rather than in
19086         change-log-fill-paragraph.
19087         (change-log-fill-paragraph): Remove.
19089 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
19091         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19092         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
19094 2009-09-22  Glenn Morris  <rgm@gnu.org>
19096         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19097         the scroll-bar scroll the calendar window rather than the buffer.
19099         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19100         commands that move point (as opposed to scrolling).
19102         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19104         * emacs-lisp/elint.el (elint): New custom group.
19105         (elint-log-buffer): Make it a defcustom.
19106         (elint-scan-preloaded, elint-ignored-warnings)
19107         (elint-directory-skip-re): New options.
19108         (elint-builtin-variables): Doc fix.
19109         (elint-preloaded-env): New variable.
19110         (elint-unknown-builtin-args): Add an entry for encode-time.
19111         (elint-extra-errors): Make it a variable rather than a constant.
19112         (elint-preloaded-skip-re): New constant.
19113         (elint-directory): Skip files matching elint-directory-skip-re.
19114         (elint-features): New variable, local to linted buffers.
19115         (elint-update-env): Initialize elint-features.  Possibly add
19116         elint-preloaded-env to the buffer's environment.
19117         (elint-get-top-forms): Bind elint-current-pos, for log messages.
19118         Skip quoted forms.
19119         (elint-init-form): New function, extracted from elint-init-env.
19120         Make non-list forms a warning rather than an error.
19121         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
19122         easy-menu-define, put that adds an error-condition, and provide.
19123         When requiring cl, also require cl-macs.  Really require cl, to handle
19124         some cl macros.  Store required libraries in the list elint-features,
19125         so as not to re-load them.  Treat cc-require like require.
19126         (elint-init-env): Call elint-init-form to do the work.
19127         Handle eval-and-compile and such like.
19128         (elint-add-required-env): Do not clear messages.
19129         (elint-special-forms): Add handlers for function, defalias, if, when,
19130         unless, and, or.
19131         (elint-form): Add optional argument to ignore elint-special-forms,
19132         useful to prevent recursive calls from handlers.  Doc fix.
19133         Respect elint-ignored-warnings.
19134         (elint-form): Respect elint-ignored-warnings.
19135         (elint-bound-variable, elint-bound-function): New variables.
19136         (elint-unbound-variable): Respect elint-bound-variable.
19137         (elint-get-args): Respect elint-bound-function.
19138         (elint-check-cond-form): Add some simple handling for (f)boundp and
19139         featurep tests.
19140         (elint-check-defalias-form): New handler.
19141         (elint-check-let-form): Make an empty let a warning rather than an
19142         error.
19143         (elint-check-setq-form): Make an empty setq a warning rather than an
19144         error.  Respect elint-ignored-warnings.
19145         (elint-check-defvar-form): Accept null doc-strings.
19146         (elint-check-conditional-form): New handler.  Does some simple-minded
19147         checking of featurep and (f)boundp tests.
19148         (elint-put-function-args): New function.
19149         (elint-initialize): Use elint-scan-doc-file rather than
19150         elint-find-builtin-variables.  Use elint-put-function-args.
19151         Possibly scan preloaded-file-list.
19152         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19153         extend to handle functions as well.
19155 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
19157         * linum.el (linum-delete-overlays, linum-update-window):
19158         Do not modify the right margin.  (Bug#3971)
19160 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
19162         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19163         Use nxml-mode instead of xml-mode.
19165 2009-09-21  Kevin Ryde  <user42@zip.com.au>
19167         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
19169 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19171         * net/dig.el (dig-mode): Use define-derived-mode.
19173 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
19175         * vc-dispatcher.el (vc-do-command): Return the process object in
19176         the asynchronous case.  Use when instead of if.  Do not run
19177         vc-exec-after to display a message if not enabled.  (Bug#4463)
19179         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19180         properties to the stash strings.
19181         (vc-git-stash-list): Return a list of strings.
19182         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19183         (vc-git-stash-show-at-point): New functions.
19184         (vc-git-stash-map): New keymap.
19186         * register.el (ctl-x-r-map): Define the keys here instead of
19187         using autoload.
19189 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
19191         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19192         list, to workaround performance problem (bug#4485).
19194 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
19196         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19198 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
19200         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19201         Document that this option is not recommended to use.
19203 2009-09-19  Glenn Morris  <rgm@gnu.org>
19205         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19206         variable `var'.
19208         * calc/calc-alg.el (var):
19209         * calc/calcalg2.el (var): Define for compiler.
19211 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
19213         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19214         Doc fix (Bug#3932).
19216         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19218         * time-stamp.el (time-stamp-month-dd-yyyy)
19219         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19220         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19221         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19222         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19223         Remove functions that have been obsolete since 1995 (Bug#4436).
19225         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19226         indent buffer only if called interactively (Bug#4452).
19228 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
19229             Eli Zaretskii  <eliz@gnu.org>
19231         This fixes bug#4197 (merged to bug#865, though not identical).
19232         * server.el (server-auth-dir): Add docstring note about FAT32.
19233         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19234         but warn against using them.
19236 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
19238         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19239         older GDB where there is no has_more field.
19241 2009-09-19  Glenn Morris  <rgm@gnu.org>
19243         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19245 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
19247         * files.el (auto-mode-alist): Change default for XML files to nXML
19248         mode (Bug#4169).
19250 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
19252         * server.el (server-ensure-safe-dir): Pass 'integer
19253         to `file-attributes', as suggested.
19255 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19257         * dired-aux.el (dired-query-alist): Remove spurious backslash.
19258         (dired-query): Use read-key.
19260 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
19262         * cus-start.el (ns-use-qd-smoothing): Remove.
19264 2009-09-18  Glenn Morris  <rgm@gnu.org>
19266         * allout.el (top-level): Remove unnecessary progn.
19268         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19270         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19271         definition of abbrev table.
19273         * speedbar.el (speedbar-track-mouse):
19274         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19275         * net/eudc.el (eudc-expand-inline):
19276         * net/newst-backend.el (newsticker--cache-read-feed):
19277         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19278         condition-case handlers.
19280 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
19282         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19283         (gdb-var-list): Add an element for has_more field.
19284         (gdb-non-stop-handler): Enable pretty printing for STL containers.
19285         (gdb-var-create-handler, gdb-var-list-children-handler-1)
19286         (gdb-var-update-handler-1): Parse output of dynamic variable
19287         objects (STL containers).
19288         (gdb-var-delete-1): Pass var1 as an explicit second argument.
19289         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
19291         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19292         gdb-var-list.
19293         (gud-speedbar-buttons): Make node expandable if expression "has more"
19294         children.
19296 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
19298         * startup.el (emacs-quick-startup): Remove variable and all uses.
19299         (command-line): Set `inhibit-x-resources' instead.
19300         (command-line-1): Use `inhibit-x-resources' instead.
19302 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
19304         * subr.el: Fix last change to avoid using the `unless' macro,
19305         which breaks bootstrapping.
19307 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19309         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19310         extended definitions, in case we reload subr.el after having
19311         loaded CL.
19312         (eval-next-after-load): Mark as obsolete.
19314 2009-09-17  Juri Linkov  <juri@jurta.org>
19316         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19317         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19318         (menu-bar-showhide-menu, menu-bar-tools-menu)
19319         (menu-bar-describe-menu, menu-bar-help-menu)
19320         (minibuffer-local-completion-map, minibuffer-local-map):
19321         Fix list quoting.
19323 2009-09-17  Glenn Morris  <rgm@gnu.org>
19325         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19326         arguments, whether or not it has a handler.
19328         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19330         * simple.el (hard-newline): Give it a doc-string.
19332         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19333         (lisp-mode-syntax-table): Give them doc-strings.
19335 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
19337         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19338         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19339         (menu-bar-options-menu, menu-bar-showhide-menu)
19340         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19341         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19342         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19343         (menu-bar-options-menu, menu-bar-tools-menu)
19344         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19345         (menu-bar-help-menu):
19346         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19347         string arguments.
19349         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19350         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19351         calls for the menu names and :help.
19353 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19355         * mouse.el (minor-mode-menu-from-indicator): Pay attention
19356         to :minor-mode-function (bug#4455).
19358 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19360         * startup.el (command-line): Initialize the window-system after
19361         processing the command-line.
19363         * textmodes/page.el (what-page): Make sure we don't inf-loop if
19364         page-delimiter matches the empty string.
19366 2009-09-16  Glenn Morris  <rgm@gnu.org>
19368         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19369         byte-compile-not-obsolete-var.  It's a list now.
19370         (byte-compile-not-obsolete-funcs): New variable.
19371         (byte-compile-warn-obsolete): Don't warn about functions if they are in
19372         byte-compile-not-obsolete-funcs.
19373         (byte-compile-variable-ref, byte-compile-defvar): Update for
19374         byte-compile-not-obsolete-vars name-change and list nature.
19375         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19376         and variables behind (f)boundp tests.
19377         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19379 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19381         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19383 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19385         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19386         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19387         Don't autoload.
19389 2009-09-15  Stephen Eglen  <stephen@gnu.org>
19391         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19392         the virtual-buffers, use the name of the buffer specified by
19393         find-file-noselect, as the match may be a symlink.  (This was a
19394         problem if the target and the symlink had different names.)
19396 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19398         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19400         * desktop.el (desktop-path): Check user-emacs-directory.
19402         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19404         * loadup.el: Use after-load-functions to GC after loading each file.
19405         Remove the explicit GC calls that used to be sprinkled around.
19407         * subr.el (after-load-functions): New hook.
19408         (do-after-load-evaluation): Run it.  Use string-match-p to detect
19409         `obsolete' packages, rather than painfully extracting the relevant
19410         directory name.
19412 2009-09-15  Glenn Morris  <rgm@gnu.org>
19414         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19415         free variable `doc'.
19417         * dired.el (dired-mode-map): Add menu entry for async shell command.
19419         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19420         variables, also consider the .elc files, since the .el files are
19421         normally gzipped (subsequent code locates the .el.gz from the .elc).
19423         * calc/calc-prog.el (arglist): Define for compiler.
19425         * calendar/diary-lib.el (diary-display-function): Change the default to
19426         fancy display.
19427         (body): Define for compiler.
19429         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19430         (byte-compile-file-form, byte-compile-lambda)
19431         (byte-compile-top-level-body, byte-compile-form)
19432         (byte-compile-variable-ref, byte-compile-setq)
19433         (byte-compile-setq-default, byte-compile-body)
19434         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19435         (batch-byte-compile): Give some more local variables with common names
19436         a "bytecomp-" prefix to avoid masking warnings about free variables.
19438         * startup.el (command-line-1): Give local variables with common names a
19439         distinguishing prefix, so as not to hide free variable warnings during
19440         bootstrap.
19442         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19443         clever and add a suffix to make a unique name, just let the user decide
19444         whether or not to overwrite it.  If the input is a directory, write the
19445         default filename to that directory.  (Bug#4388)
19446         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19447         is a filename-as-a-directory.
19449 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19451         * textmodes/page.el (what-page): Don't move to beginning of line.
19452         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19454 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19456         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19458 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
19460         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19461         * help.el (help-for-help-internal): Add purecopy calls for text.
19463         * vc.el (top): print-log method now takes an optional SHORTLOG
19464         argument.  Add a new method: root.
19465         (vc-root-diff, vc-print-root-log): New functions.
19466         (vc-log-short-style): New variable.
19467         (vc-print-log-internal): Add support for showing short logs.
19469         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19470         vc-print-root-log and vc-print-root-diff.
19472         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19473         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19474         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19475         short logs.
19477         * vc-cvs.el (vc-cvs-print-log):
19478         * vc-mtn.el (vc-mtn-print-log):
19479         * vc-rcs.el (vc-rcs-print-log):
19480         * vc-sccs.el (vc-sccs-print-log):
19481         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19482         that is ignored for now.
19484         * vc-mtn.el (vc-mtn-annotate-command):
19485         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19487 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19489         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19490         to function-key-map, and give them ascii-character property.
19491         * term/x-win.el (x-alternatives-map):
19492         * term/ns-win.el (ns-alternatives-map):
19493         * term/internal.el (msdos-key-remapping-map):
19494         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19496 2009-09-14  Glenn Morris  <rgm@gnu.org>
19498         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19499         temp-buffers (2009-09-12).
19501 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19503         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19504         the new read-key function.
19506 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19508         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19509         is defined (Bug#4405).
19511 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
19513         * recentf.el (recentf-cleanup): Use a hash table to find
19514         duplicates (Bug#4407).
19516 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
19518         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19519         kp-0 to ascii equivalents (Bug#4325).
19521 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19523         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19525         * eshell/em-hist.el:
19526         * eshell/em-dirs.el (eshell-complete-user-reference):
19527         Declare pcomplete functions and variables to avoid compiler warnings.
19529 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
19531         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19532         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19533         * eshell/em-alias.el (eshell-aliases-file):
19534         * eshell/em-hist.el (eshell-history-file-name):
19535         Use expand-file-name instead of concat to make file names (Bug#4308).
19537 2009-09-13  Glenn Morris  <rgm@gnu.org>
19539         * ediff-merg.el (ediff-do-merge):
19540         * filesets.el (filesets-run-cmd):
19541         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19542         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19543         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19544         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19545         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19546         Replace empty `let's with `progn'.
19548 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19550         * mail/sendmail.el (send-mail-function):
19551         * tooltip.el (tooltip-mode):
19552         * simple.el (transient-mark-mode):
19553         * rfn-eshadow.el (file-name-shadow-mode):
19554         * frame.el (blink-cursor-mode):
19555         * font-core.el (global-font-lock-mode):
19556         * files.el (temporary-file-directory)
19557         (small-temporary-file-directory, auto-save-file-name-transforms):
19558         * epa-hook.el (auto-encryption-mode):
19559         * composite.el (global-auto-composition-mode):
19560         Use custom-initialize-delay.
19561         * startup.el (command-line): Don't explicitly call
19562         custom-reevaluate-setting for all the above vars.
19563         * custom.el (custom-initialize-safe-set)
19564         (custom-initialize-safe-default): Delete.
19566 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19568         * term/x-win.el (x-initialize-window-system):
19569         * term/w32-win.el (w32-initialize-window-system):
19570         * term/ns-win.el (ns-initialize-window-system): Don't call
19571         mouse-wheel-mode since it's enabled globally by default already.
19573         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19574         actually define the variable, but only silences the byte-compiler.
19575         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19576         before looking it up.
19577         (mouse-wheel-scroll-amount): Also reset the bindings if this value
19578         is changed.
19580 2009-09-12  Glenn Morris  <rgm@gnu.org>
19582         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19583         1000.
19584         (elint-add-required-env): Don't beep on error.
19585         (elint-forms): In case of error, return ENV unchanged.
19586         (elint-init-env): Skip non-list forms.
19587         (elint-log): Handle unknown file positions.
19589 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
19591         * epg.el (epg-make-context): Add autoload cookie.
19592         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19593         (epg-decrypt-string, epg-start-verify, epg-verify-file)
19594         (epg-verify-string, epg-start-sign, epg-sign-file)
19595         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19596         (epg-encrypt-string, epg-start-export-keys)
19597         (epg-export-keys-to-file, epg-export-keys-to-string)
19598         (epg-start-import-keys, epg-import-keys-from-file)
19599         (epg-import-keys-from-string, epg-start-receive-keys)
19600         (epg-receive-keys, epg-import-keys-from-server)
19601         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19602         (epg-sign-keys, epg-start-generate-key)
19603         (epg-generate-key-from-file, epg-generate-key-from-string):
19604         Remove autoload cookie.
19606 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
19608         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19609         reevaluation of trash-directory.
19611         * mwheel.el: Fix last change.
19612         (mouse-wheel-mode): New defvar.
19613         (mouse-wheel-mode): Remove autoload cookie.
19615 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19617         * mwheel.el (mwheel-installed-bindings): New var.
19618         (mouse-wheel-mode): Use it, so as to make sure we really remove all
19619         the bindings we set last time.  Use custom-initialize-delay.
19620         * loadup.el: Load mwheel after term/*-win.el.
19621         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19622         and mouse-wheel-up-event now that their first evaluation is done
19623         sufficiently late to be correct.
19625         * startup.el (tutorial-directory): Make it a defcustom.
19626         Use custom-initialize-delay rather than eval-at-startup to set it.
19627         * image.el (image-load-path): Make it a defcustom.
19628         Use custom-initialize-delay rather than eval-at-startup to set it.
19629         * subr.el (eval-at-startup): Remove.
19630         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19632         * subr.el (do-after-load-evaluation): Warn the user after loading an
19633         obsolete package.
19635 2009-09-12  Glenn Morris  <rgm@gnu.org>
19637         * proced.el (proced-mark-alt): Remove alias.
19638         (proced-mode-map): Remove proced-mark-alt.
19640         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19641         Elint file and directory.  Remove initialization entry.
19643         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19644         commands.
19645         (elint-current-buffer): Set mode-line-process.
19646         (elint-init-env): Handle define-derived-mode.
19647         Fix declare-function with unspecified arglist.  Guard against odd
19648         defalias statements (eg iso-insert's 8859-1-map).
19649         (elint-add-required-env): Use a temp buffer.
19650         (elint-form): Just print the function/macro name, not the whole form.
19651         Return env unchanged if we fail to parse a macro.
19652         (elint-forms): Guard against parse errors.
19653         (elint-output): New function, to handle batch mode.
19654         (elint-log-message): Add optional argument.  Use elint-output.
19655         (elint-set-mode-line): New function.
19657 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
19659         * emacs-lisp/elp.el (elp-not-profilable): Add more
19660         functions (Bug#4233).
19662 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
19664         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19665         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19667 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19669         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19670         (gdb-var-list-children): Use json parsing.
19672 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
19674         * progmodes/js.el (js--proper-indentation): Handle the case where
19675         char-before is null.  Reported by Deniz Dogan.
19677 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19679         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19681 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
19683         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19684         (epg-digest-algorithm-alist): Add SHA224.
19685         (epg-context-set-passphrase-callback)
19686         (epg-context-set-progress-callback): Add description about
19687         callback function.
19689 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19691         * custom.el (custom-delayed-init-variables): New var.
19692         (custom-initialize-delay): New function.
19693         * startup.el (command-line): "Re"evaluate all vars in
19694         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
19695         explicitly any more.
19696         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19697         to avoid creating a ~/.emacs.d at build-time (bug#4347).
19699         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19701 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19703         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19704         (gdb-var-update-handler): Use json parsing.
19706 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19708         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19709         decode annotated text, regardless of language environment.  (Bug#2741)
19711 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19713         * Makefile.in (autoloads): Make rmail.el writable as well.
19715 2009-09-11  Glenn Morris  <rgm@gnu.org>
19717         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19718         loaddefs.el.
19719         * dired.el: Regenerate with extracted autoloads.
19720         * Makefile.in (autoloads): Make dired.el writable.
19722         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19723         * ibuffer.el: Regenerate with extracted autoloads.
19724         * Makefile.in (autoloads): Make ibuffer.el writable.
19726         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19727         * version.el (emacs-copyright, emacs-major-version)
19728         (emacs-minor-version): Reformat doc-strings for make-docfile.
19730         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19731         functions and variables, since they must be stuff specific to some other
19732         platform.
19733         (apropos-print): Make mouse-click message less specific about button.
19735         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19736         that records where a macro was defined.
19737         * help-fns.el (describe-function-1): Mention if a function has a
19738         compiler-macro.
19739         * help-mode.el (help-function-cmacro): New button.
19741         * locate.el (top-level): Always require dired.
19742         (locate-mode-map): Initialize inside the defvar.
19744         * net/ange-ftp.el (dired-compress-file): Declare.
19745         (ange-ftp-dired-compress-file): Add doc string.
19747         * term/ns-win.el (x-display-name, x-setup-function-keys):
19748         Unify doc-strings with X versions.
19750 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19752         * emulation/crisp.el (crisp-mode-map): Move initialization
19753         into declaration.
19754         (crisp-mode): Use define-minor-mode.
19756         * progmodes/xscheme.el (xscheme-evaluation-commands):
19757         Put a :advertised-binding property rather than using
19758         advertised-xscheme-send-previous-expression.
19759         (advertised-xscheme-send-previous-expression): Declare obsolete.
19760         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19761         `advertised-undo'.
19762         (crisp-mode): Add corresponding bindings to
19763         undo's :advertised-binding instead.
19764         * dired.el (dired-mode-map): Put a :advertised-binding property rather
19765         than using dired-advertised-find-file.
19766         (dired-advertised-find-file):
19767         * simple.el (advertised-undo):
19768         * wid-edit.el (advertised-widget-backward): Declare obsolete.
19769         (widget-keymap): Put a :advertised-binding property rather
19770         than using advertised-widget-backward.
19771         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19772         than using advertised-undo.
19773         * tutorial.el (tutorial--default-keys): Adjust accordingly.
19775 2009-09-10  Simon South  <ssouth@slowcomputing.org>
19777         * progmodes/delphi.el (delphi-tab): Indent region when Transient
19778         Mark mode is enabled and region is active; otherwise indent or
19779         insert TAB as usual.
19780         (delphi-mode): Update description of TAB-key binding.
19782 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19784         * subr.el (define-key-rebound-commands): Mark obsolete.
19785         * startup.el (precompute-menubar-bindings): Remove.
19786         (normal-top-level): Remove obsolete code that tried to precompute
19787         menubar bindings.
19788         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19789         define-key-rebound-commands and precompute-menubar-bindings.
19791 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
19793         * net/imap.el (imap-interactive-login): Better messages.
19794         (imap-open): Fix bug with renamed buffer on reconnect.
19795         (imap-authenticate): Add buffer-local imap-last-authenticator variable
19796         for easier debugging and cleaner code.  On successful (guessed based on
19797         server capabilities) secondary authentication, set imap-state
19798         correctly.
19799         (imap-last-authenticator): Define imap-last-authenticator as a variable
19800         to avoid warnings.
19802 2009-09-10  Glenn Morris  <rgm@gnu.org>
19804         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19806         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19807         (byte-compile-file-form-autoload): Don't warn about unknown functions
19808         where the autoload statement comes after the use.
19809         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19810         that any handlers inside the body (eg require) are in turn respected.
19812         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19813         effects.
19815         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19816         and syntax and abbrev tables basic docs, if they don't have any.
19818         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19820         * international/mule-cmds.el (top-level): Require cl when compiling.
19821         (view-hello-file): Use default-value rather than
19822         default-enable-multibyte-characters.
19824         * progmodes/fortran.el: Move all safe and risky properties into the
19825         defcustoms.
19827         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19828         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19829         * mail/undigest.el:
19830         Put autoloads in rmail.el rather than loaddefs.el.
19831         * mail/rmail.el: Regenerate with extracted autoloads.
19833         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19834         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19836 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
19838         Reported in thread for Bug#4375.
19839         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19840         "-data-evaluate-expression" instead of print.
19841         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19842         (gdb-tooltip-print): Parse output from above MI command.
19843         (gdb): Revert 2009-08-11 change.  User should detach inferior
19844         manually.
19846         Remove the word "separate" from IO functions as inferior
19847         output is now never displayed in the GUD buffer.
19849 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
19851         * startup.el (command-line-normalize-file-name): On Windows and
19852         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19854 2009-09-10  Juri Linkov  <juri@jurta.org>
19856         * isearch.el (isearch-text-char-description): Propertize escape
19857         character sequences with the `escape-glyph' face.  (Bug#4344)
19859         * simple.el (shell-command): Set asynchronous process filter to
19860         `comint-output-filter'.  (Bug#4343)
19862         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19863         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
19864         the list.  Move "asm" to the bottom.
19865         (grep-find-ignored-directories): Add `choice' with nil value
19866         to empty the list easily.
19867         (grep-find-ignored-files): New option.
19868         (grep-files-history): Set to nil by default instead of '("ch" "el").
19869         (grep-compute-defaults): Add "<X>" to `grep-template'.
19870         (grep-read-files): Bind new local variables `default-alias' and
19871         `default-extension'.  Use a list of default values for the file prompt.
19872         (lgrep): Add `--exclude=' command line options composed from
19873         `grep-find-ignored-files'.
19874         (rgrep): Add `-name' command line options composed from
19875         `grep-find-ignored-files'.  (Bug#4301)
19877 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19879         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19880         (bug#4368).
19882 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
19884         * calendar/time-date.el (autoload):
19885         Expand define-obsolete-function-alias into defalias and make-obsolete
19886         for old Emacsen that Gnus supports.
19887         (with-no-warnings): Define it for old Emacsen.
19888         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19889         is available.
19890         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19891         float-time is available; suppress compile warning for time-to-seconds.
19893 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
19895         * net/imap.el (imap-message-map): Docstring fix.
19897 2009-09-09  Glenn Morris  <rgm@gnu.org>
19899         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19900         line numbers too.  (Bug#4374)
19902 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19904         * smerge-mode.el (smerge-remove-props, smerge-refine):
19905         Use with-silent-modifications (bug#4342).
19907         * subr.el (with-silent-modifications): New macro.
19909 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
19911         * files.el (top-level): Require `cl' when compiling.
19913 2009-09-07  Glenn Morris  <rgm@gnu.org>
19915         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19917         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19918         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
19920 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
19922         * vc-git.el (vc-git-annotate-command): Use separator to parse
19923         arguments correctly.
19925 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
19927         * proced.el (proced-mode): Doc fix.
19929 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
19931         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19932         lstat fails.
19933         (tramp-do-file-attributes-with-ls): Check for file existence at
19934         remote end.
19935         (tramp-do-file-attributes-with-stat): Likewise.
19936         (tramp-convert-file-attributes): Return nil when attr is nil.
19938 2009-09-05  Glenn Morris  <rgm@gnu.org>
19940         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19941         properties to this button.
19942         (diary-fancy-display): Don't extend the button to the final newline.
19943         (diary-fancy-display-mode): Continue to define "q" as a local key.
19945         * calendar/cal-china.el (holiday-chinese): Make it slightly more
19946         efficient.
19948         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19950         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19951         (byte-compile-dest-file-function): New option.
19952         (byte-compile-dest-file): Doc fix.
19953         Obey byte-compile-dest-file-function.
19954         (byte-compile-cl-file-p): New function.
19955         (byte-compile-eval): Only suppress noruntime warnings about cl functions
19956         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
19957         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19958         than for file being previously loaded.
19959         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19960         (byte-compile-file-form-require): Handle the case where requiring a file
19961         indirectly causes CL to be loaded.
19963 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19965         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19966         before killing the old buffer, since by the time `kill-buffer' is
19967         run so many buffer variables have been set to nil that it may not
19968         behave as expected.  (Bug#4061)
19970 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19972         * files.el (find-alternate-file): If the old buffer is modified
19973         and visiting a file, behave similarly to `kill-buffer' when
19974         killing it, thus reverting to the pre-1.878 behavior; see
19975         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19976         for discussion.  Also, consult `buffer-file-name' as a variable
19977         not as a function, for consistency with the rest of the code.
19979 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
19981         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19982         also when adding a new directory.
19984         * net/tramp-compat.el (tramp-compat-line-beginning-position):
19985         New defun.
19987 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19989         * files.el (locate-file-completion-table): Make it provide boundary
19990         information, so partial-completion works better.
19992 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
19994         * mail/footnote.el (Footnote-text-under-cursor):
19995         Check footnote-text-marker-alist before using it (bug#4324).
19997 2009-09-04  Glenn Morris  <rgm@gnu.org>
19999         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20000         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20001         * play/solitaire.el, play/tetris.el:
20002         Remove leading * from defcustom and defface docs.
20004         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20005         necessary.
20006         (diary-fancy-overriding-map): New variable.
20007         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20008         Use view-mode.
20010         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20011         goto-line.
20013 2009-09-03  Glenn Morris  <rgm@gnu.org>
20015         * arc-mode.el (archive-mode):
20016         * dos-fns.el (set-default-process-coding-system):
20017         * man.el (Man-getpage-in-background):
20018         * menu-bar.el (menu-bar-describe-menu):
20019         * server.el (server-process-filter):
20020         * startup.el (command-line):
20021         * tar-mode.el (tar-header-block-tokenize, tar-extract):
20022         * w32-fns.el (set-default-process-coding-system):
20023         * x-dnd.el (x-dnd-handle-file-name):
20024         * international/mule-cmds.el (mule-menu-keymap)
20025         (set-default-coding-systems, language-info-alist, set-language-info)
20026         (set-language-environment, standard-display-european-internal)
20027         (set-locale-environment):
20028         * international/mule-diag.el (mule-diag):
20029         * mail/emacsbug.el (report-emacs-bug):
20030         * mail/rmail.el (rmail-mode):
20031         * mail/sendmail.el (mail-setup):
20032         Use default-value rather than default-enable-multibyte-characters.
20034         * progmodes/f90.el: Move all safe properties into the defcustoms.
20035         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20037         * calendar/appt.el (appt-check):
20038         * calendar/diary-lib.el (diary-set-header, diary-live-p)
20039         (diary-check-diary-file, diary-list-entries)
20040         (diary-include-other-diary-files, diary-simple-display)
20041         (diary-fancy-display, diary-print-entries)
20042         (diary-mark-included-diary-files, diary-make-entry):
20043         Don't call substitute-in-file-name on diary-file.
20045 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
20046             Stefan Monnier  <monnier@iro.umontreal.ca>
20048         * mail/footnote.el (footnote-prefix): Make it a defcustom.
20049         (footnote-mode-map): Move initialization into the declaration.
20050         (footnote-minor-mode-map): Define it rather than changing global-map.
20051         (footnote-mode): Use define-minor-mode.
20053 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
20055         * net/tramp.el (tramp-handle-file-attributes-with-ls)
20056         (tramp-do-file-attributes-with-perl)
20057         (tramp-do-file-attributes-with-stat): Rename from
20058         `tramp-handle-file-attributes-with-*'.
20059         (tramp-handle-file-attributes): Use them.
20060         (tramp-do-directory-files-and-attributes-with-perl)
20061         (tramp-do-directory-files-and-attributes-with-stat): Rename from
20062         `tramp-handle-directory-files-and-attributes-with-*'.
20063         (tramp-handle-directory-files-and-attributes): Use them.
20064         (tramp-method-out-of-band-p): Additional parameter SIZE.
20065         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20066         (tramp-handle-write-region): Use it.
20067         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20068         (tramp-handle-vc-registered): Check, whether the first run did
20069         return files to be tested.
20070         (tramp-advice-make-auto-save-file-name): Do not call directly
20071         `tramp-handle-make-auto-save-file-name', because this would bypass
20072         the locking mechanism.
20074         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20075         (file-remote-p, process-file, start-file-process, set-file-times)
20076         (tramp-compat-file-attributes): Compatibility functions shall not
20077         call directly `tramp-handle-*', because this would bypass the
20078         locking mechanism.
20079         (tramp-compat-number-sequence): New defun.
20081 2009-09-02  Glenn Morris  <rgm@gnu.org>
20083         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20084         alias for float-time.
20085         (time-to-number-of-days): In Emacs, use float-time.
20086         * net/newst-backend.el (time-add): Suppress warnings from compat
20087         function.
20088         * time.el (emacs-uptime, emacs-init-time):
20089         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20090         Use float-time rather than time-to-seconds.
20092         * minibuffer.el (completion-initials-expand): Fix typo.
20094         * faces.el (modeline, modeline-inactive, modeline-highlight)
20095         (modeline-buffer-id):
20096         * info.el (info-menu-5): Mark these face aliases as obsolete.
20098 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
20100         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20101         space ...
20102         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20103         no "--thread" option.
20104         (gdb-stopped): Don't print "Switched to thread" message when it is
20105         unchanged.
20107 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20109         * minibuffer.el (completion-try-completion)
20110         (completion-all-completions): Remove ill-defined (and
20111         mistakenly installed and luckily never used nor documented)
20112         `completion-styles' property.
20113         (completion-initials-expand, completion-initials-all-completions)
20114         (completion-initials-try-completion): New functions.
20115         (completion-styles-alist): Add doc to each entry.
20116         Add new `initials' entry.
20118 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
20120         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20121         MI command -var-evaluate-expression.
20122         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20123         and tweak for case of string child.
20124         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20126 2009-09-01  Glenn Morris  <rgm@gnu.org>
20128         * add-log.el (change-log-date-face, change-log-name-face)
20129         (change-log-email-face, change-log-file-face, change-log-list-face)
20130         (change-log-conditionals-face, change-log-function-face)
20131         (change-log-acknowledgement-face):
20132         * cus-edit.el (custom-invalid-face, custom-rogue-face)
20133         (custom-modified-face, custom-set-face, custom-changed-face)
20134         (custom-saved-face, custom-button-face, custom-button-pressed-face)
20135         (custom-documentation-face, custom-state-face, custom-comment-face)
20136         (custom-comment-tag-face, custom-variable-tag-face)
20137         (custom-variable-button-face, custom-face-tag-face)
20138         (custom-group-tag-face-1, custom-group-tag-face):
20139         * diff-mode.el (diff-header-face, diff-file-header-face)
20140         (diff-index-face, diff-hunk-header-face, diff-removed-face)
20141         (diff-added-face, diff-changed-face, diff-function-face)
20142         (diff-context-face, diff-nonexistent-face):
20143         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20144         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20145         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20146         (Info-title-4-face):
20147         * isearch.el (isearch-lazy-highlight-face):
20148         * log-view.el (log-view-file-face, log-view-message-face):
20149         * paren.el (show-paren-match-face, show-paren-mismatch-face):
20150         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20151         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20152         (cvs-msg-face):
20153         * smerge-mode.el (smerge-mine-face, smerge-other-face)
20154         (smerge-base-face, smerge-markers-face):
20155         * wid-edit.el (widget-documentation-face, widget-button-face)
20156         (widget-field-face, widget-single-line-field-face)
20157         (widget-inactive-face, widget-button-pressed-face):
20158         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20159         (woman-addition-face):
20160         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20161         (eshell-ls-executable-face, eshell-ls-readonly-face)
20162         (eshell-ls-unreadable-face, eshell-ls-special-face)
20163         (eshell-ls-missing-face, eshell-ls-archive-face)
20164         (eshell-ls-backup-face, eshell-ls-product-face)
20165         (eshell-ls-clutter-face):
20166         * eshell/em-prompt.el (eshell-prompt-face):
20167         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20168         * obsolete/old-whitespace.el (whitespace-highlight-face):
20169         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20170         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20171         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20172         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20173         (antlr-font-lock-literal-face):
20174         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20175         (ebrowse-root-class-face, ebrowse-file-name-face)
20176         (ebrowse-default-face, ebrowse-member-attribute-face)
20177         (ebrowse-member-class-face, ebrowse-progress-face):
20178         * progmodes/make-mode.el (makefile-space-face):
20179         * progmodes/sh-script.el (sh-heredoc-face):
20180         * textmodes/flyspell.el (flyspell-incorrect-face)
20181         (flyspell-duplicate-face):
20182         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20183         * textmodes/texinfo.el (texinfo-heading-face):
20184         Mark face aliases with "-face" suffix as obsolete.
20186         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20187         compiler.
20189         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20190         (eudc-bob-sound-menu): Use defvar rather than defconst, since
20191         easy-menu-define wants to modify these.
20193         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20195         * net/browse-url.el (browse-url-file-url):
20196         * term/internal.el (dos-codepage-setup):
20197         Use default-value rather than default-enable-multibyte-characters.
20199         * progmodes/etags.el (etags-goto-tag-location):
20200         * progmodes/flymake.el (flymake-highlight-line)
20201         (flymake-goto-file-and-line, flymake-goto-line):
20202         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20203         (gdb-goto-breakpoint):
20204         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20205         * progmodes/python.el (python-find-function)
20206         (python-pdbtrack-track-stack-file):
20207         * progmodes/verilog-mode.el (verilog-surelint-off):
20208         * term/ns-win.el (ns-open-file-select-line):
20209         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20210         Use forward-line rather than goto-line.
20212         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20213         * textmodes/reftex-index.el (reftex-display-index):
20214         * textmodes/reftex-ref.el (reftex-offer-label-menu):
20215         * textmodes/reftex-toc.el (reftex-toc):
20216         Remove unnecessary bindings of default-major-mode (all are followed by
20217         major-mode check and possible mode switch).
20219 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20221         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20222         Handle watchpoints (bug#4282).
20223         (def-gdb-thread-buffer-command): Enable thread to be selected by
20224         clicking without selecting threads buffer first.
20225         (gdb-current-context-command): Use selected frame so that "up",
20226         "down" etc work in the GUD buffer.
20227         (gdb-update): Find selected frame before rendering stack buffer.
20228         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20230 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20232         * progmodes/sym-comp.el (displayed-completions): Remove.
20233         (symbol-complete): Use minibuffer-complete.
20235 2009-08-31  Glenn Morris  <rgm@gnu.org>
20237         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20239         * apropos.el (apropos-symbols-internal):
20240         Handle (obsolete) face aliases.
20242         * faces.el (describe-face): Adjust the output format to be more like
20243         describe-variable, and to mention (obsolete) face aliases.
20244         Adjust the whitespace so that help-setup-xref works.
20246         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20247         * calendar/diary-lib.el (diary-button-face):
20248         Mark these face aliases as obsolete.
20250         * calendar/calendar.el (calendar-today): Doc fix.
20252 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20254         * progmodes/gdb-mi.el (gdb-control-all-threads)
20255         (gdb-control-current-thread): Force tool bar update.
20256         (gdb-non-stop-handler): New function.
20257         (gdb-init-1): Use it to test if non-stop mode is supported.
20258         Remove unused gdbmi buffer type.
20260 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
20262         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20263         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
20265 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
20267         * comint.el (comint-exec-1): Check command is non-null first.
20268         Part of gdb-mi.el change (2009-08-28).
20270 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20272         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20274 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
20276         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20277         instead of `dolist' to avoid a recursive require when bootstrapping.
20279 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20281         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20283         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20285         * net/imap.el (imap-send-command): Simplify.
20286         (imap-wait-for-tag): point-max -> buffer-size.
20288         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20290         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20291         with constant argument.
20293         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20295         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20297         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20298         Change default, since most of our files don't have a history.
20299         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20300         the user.
20302         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20303         Add comint-run.
20305         * calc/calc.el: Improve commenting convention.
20306         (calc-digit-map, toplevel): Simplify.
20308         * comint.el (comint-insert-input): Be careful to only set point if we
20309         don't delegate to some other command.
20311         * proced.el (proced-signal-list): Make it an alist.
20312         (proced-grammar-alist): Capitalize names.
20313         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20314         Disable undo manually and make it read-only.
20315         Use completion-annotate-function.
20317         * minibuffer.el (minibuffer-message): If the current buffer is not
20318         a minibuffer, insert the message in the echo area rather than at the
20319         end of the buffer.
20320         (completion-annotate-function): New variable.
20321         (minibuffer-completion-help): Use it.
20322         (completion--embedded-envvar-table): Environment vars are
20323         always case-sensitive.
20325 2009-08-30  Glenn Morris  <rgm@gnu.org>
20327         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20328         from fortran-current-defun.
20329         (fortran-beginning-of-subprogram): Be more precise about finding the
20330         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
20331         (fortran-end-of-subprogram): Simplify.
20332         (fortran-current-defun): Use fortran-start-prog-re.
20334 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
20336         * subr.el (do-after-load-evaluation): Simplify.
20338 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
20340         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20342         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
20343         (vc-rcs-print-log): Use it.
20345         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20347 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20349         * paths.el (abbrev-file-name): Move to abbrev.el.
20350         * abbrev.el (abbrev-file-name): Move from paths.el.
20351         Obey user-emacs-directory.
20352         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20353         user-emacs-directory.
20354         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20355         abbrev-file-name and calc-settings-file any more.
20356         * startup.el (command-line): Recompute abbrev-file-name and
20357         abbreviated-home-dir.
20358         (normal-no-mouse-startup-screen): Improve the generic code and get rid
20359         of the special code for when C-h bindings haven't been changed.
20360         (display-startup-echo-area-message): Use with-current-buffer.
20361         (command-line-1): Use a list of strings, rather than a list of lists
20362         of strings for longopts.
20364         * files.el (get-free-disk-space): Use / for default-directory.
20366         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20367         Use with-current-buffer.
20369         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20370         Recognize immutable variables like most-positive-fixnum.
20371         (byte-compile-setq-default): Check and warn if trying to assign
20372         to an immutable variable, or a non-variable.
20374         * progmodes/cc-vars.el (c-comment-continuation-stars):
20375         * progmodes/cc-engine.el (c-looking-at-bos):
20376         * progmodes/cc-cmds.el (c-toggle-auto-state)
20377         (c-forward-into-nomenclature, c-backward-into-nomenclature)
20378         (c-comment-line-break-function): Add version of obsolescence.
20380 2009-08-28  Juri Linkov  <juri@jurta.org>
20382         * files.el (magic-fallback-mode-alist): Add ZIP magic number
20383         associated with `archive-mode'.
20385         * image.el (image-type-header-regexps): Use only JPEG magic number
20386         to determine JPEG images, and don't use `image-jpeg-p' because
20387         Emacs can display non-JFIF non-Exif JPEG images.
20389 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20391         * arc-mode.el (archive-mode):
20392         * emacs-lisp/re-builder.el (re-builder-unload-function):
20393         Protect against the default value of `major-mode' being nil.
20395 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20397         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20398         Fix typos in docstrings.
20400         * progmodes/js.el (js--macro-decl-re): Doc fix.
20401         (js--plain-method-re, js--split-name): Refloc docstring.
20402         (js--class-styles, js--make-merged-item, js--splice-into-items):
20403         Fix typos in docstrings; reflow docstrings.
20404         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20405         (js--variable-decl-matcher, js--inside-pitem-p)
20406         (js--parse-state-at-point, js--get-all-known-symbols)
20407         (js--symbol-history, js-find-symbol, js--js-references)
20408         (js--moz-interactor, js--js-encode-value, js--read-tab):
20409         Fix typos in docstrings.
20411 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20413         * textmodes/reftex.el (reftex-get-file-buffer-force):
20414         * progmodes/verilog-mode.el (verilog-batch-execute-func):
20415         * emulation/viper.el (viper-go-away, viper-set-hooks):
20416         * emacs-lisp/re-builder.el (re-builder-unload-function):
20417         * emacs-lisp/bytecomp.el (byte-compile-file):
20418         * ses.el (ses-unload-function):
20419         * hexl.el (hexl-find-file):
20420         * files.el (normal-mode):
20421         * ehelp.el (with-electric-help):
20422         * autoinsert.el (auto-insert-alist):
20423         * arc-mode.el (archive-mode):
20424         Use (default-value 'major-mode) instead of default-major-mode.
20426         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20427         * international/mule.el (load-with-code-conversion):
20428         * emacs-lisp/debug.el (debug):
20429         * ediff-vers.el (ediff-rcs-get-output-buffer):
20430         * dired.el (dired-internal-noselect): Don't let-bind
20431         default-major-mode around code that doesn't use it.
20432         E.g. buffer creation via get-buffer-create doesn't use it.
20434 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
20436         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20437         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20438         when writing the temp file.  Otherwise, epa-file gets confused.
20439         (tramp-register-file-name-handlers): Make it a defun.  Move also
20440         `epa-file-handler' to the front of `file-name-handler-alist'.
20442 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20444         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20445         start right after a ^M.
20446         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20447         (tramp-completion-file-name-regexp-separate)
20448         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20449         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20450         Don't modify last-coding-system-used by accident.
20451         (tramp-completion-file-name-handler): Apply the checks here,
20452         instead during registration.
20453         (tramp-register-file-name-handlers): Rename from
20454         `tramp-register-file-name-handler'.  Register both
20455         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20456         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
20458 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
20460         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20461         Remove variable ...
20462         (gdb-init-1, gdb-display-separate-io-buffer)
20463         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20464         references to it.
20465         (gdb-inferior-io-mode): Use make-comint-in-buffer.
20466         (gdb-inferior-filter): Use comint-output-filter to stop
20467         echoing and remove ^M characters.
20469 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20471         * emulation/viper-init.el (viper-restore-cursor-type):
20472         * emulation/cua-base.el (cua--update-indications):
20473         Replace default-cursor-type with (default-value 'cursor-type).
20475         * mail/sendmail.el (mail-recover-1):
20476         * international/mule-diag.el (describe-current-coding-system-briefly)
20477         (describe-current-coding-system):
20478         * international/mule-cmds.el (select-safe-coding-system)
20479         (select-message-coding-system)
20480         (set-language-environment-coding-systems, set-locale-environment):
20481         * hexl.el (hexl-insert-multibyte-char):
20482         * dos-w32.el (find-buffer-file-type-coding-system):
20483         * simple.el (what-cursor-position):
20484         Replace uses of default-buffer-file-coding-system
20485         with (default-value 'buffer-file-coding-system).
20487         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20488         Replace uses of default-cursor-in-non-selected-windows
20489         with (default-value 'cursor-in-non-selected-windows).
20490         Use with-current-buffer.
20492         * mail/feedmail.el: Use CL macros.
20493         (feedmail-run-the-queue, feedmail-send-it-immediately):
20494         * dos-w32.el (find-buffer-file-type): Replace uses of
20495         default-buffer-file-type with (default-value 'buffer-file-type).
20497 2009-08-28  Glenn Morris  <rgm@gnu.org>
20499         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20500         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20501         Use default-value of major-mode rather than default-major-mode.
20503 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20505         * Makefile.in (update-elcfiles): Report left over elc files.
20507         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20508         expand-file-name and with-current-buffer.
20509         (mail-get-names, mail-directory): Use with-current-buffer.
20511         * vc.el (vc-read-revision): New function.
20512         (vc-version-diff, vc-merge): Use it.
20514 2009-08-27  Sam Steingold  <sds@gnu.org>
20516         * simple.el (kill-do-not-save-duplicates): New user option.
20517         (kill-new): When it is non-nil, and the new string is the same as
20518         the latest kill, set replace to t to avoid duplicates in kill-ring.
20520 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
20522         * net/tramp.el (tramp-handle-process-file): Do not flush all
20523         caches when `process-file-side-effects' is set.
20524         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20525         instead of `tramp-find-file-exists-command'.
20526         Unset `process-file-side-effects'.
20528 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
20530         * net/tramp.el (tramp-methods): New method "rsyncc".
20531         (top): Add completion function for "rsyncc".
20532         (tramp-message-show-message): New defvar.
20533         (tramp-message, tramp-error): Use it.
20534         (tramp-do-copy-or-rename-file-directly): Extend check for direct
20535         remote copying.
20536         (tramp-do-copy-or-rename-file-out-of-band): Handle new
20537         `tramp-methods' entry `copy-env' of "rsyncc".
20538         (tramp-vc-registered-read-file-names): New defconst.
20539         (tramp-vc-registered-file-names): New defvar.
20540         (tramp-handle-vc-registered): Implement optimization strategy.
20541         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20542         (tramp-vc-file-name-handler): New defun.
20543         (tramp-get-ls-command, tramp-get-test-command)
20544         (tramp-get-file-exists-command, tramp-get-remote-ln)
20545         (tramp-get-remote-perl, tramp-get-remote-stat)
20546         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20548         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20549         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
20550         timestamps.
20551         (tramp-get-file-property): Check for timestamps in
20552         `tramp-cache-inhibit-cache'.
20553         (tramp-set-file-property): Write timestamp.
20555 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20557         * language/japan-util.el (japanese-symbol-table): Add entries for
20558         cp932-2-byte.
20560         * international/characters.el: Add category `j' to cp932-2-byte.
20562 2009-08-27  Kenichi Handa  <handa@m17n.org>
20564         * international/fontset.el (build-default-fontset-data): New macro.
20565         (setup-default-fontset): Use build-default-fontset-data for CJK,
20566         tibetan, ethiopic, and ipa.
20568 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20570         * cus-start.el (default-major-mode): Customize `major-mode' instead.
20571         (enable-multibyte-characters): Not customizable any more.
20573         * subr.el (default-mode-line-format, default-header-line-format)
20574         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20575         (default-direction-reversed, default-truncate-lines)
20576         (default-left-margin, default-tab-width, default-case-fold-search)
20577         (default-left-margin-width, default-right-margin-width)
20578         (default-left-fringe-width, default-right-fringe-width)
20579         (default-fringes-outside-margins, default-scroll-bar-width)
20580         (default-vertical-scroll-bar, default-indicate-empty-lines)
20581         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20582         (default-fringe-cursor-alist, default-scroll-up-aggressively)
20583         (default-scroll-down-aggressively, default-fill-column)
20584         (default-cursor-type, default-buffer-file-type)
20585         (default-cursor-in-non-selected-windows)
20586         (default-buffer-file-coding-system, default-major-mode)
20587         (default-enable-multibyte-characters): Mark as obsolete.
20589 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
20591         * vc-dir.el (vc-dir-update): Remove debug helper.
20593         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20595 2009-08-26  Sam Steingold  <sds@gnu.org>
20597         * simple.el (save-interprogram-paste-before-kill): New user option.
20598         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20599         save the interprogram-paste into kill-ring before overriding it
20600         with the Emacs kill.
20602 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20604         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20605         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20606         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20607         and move to vc-rcs.el.
20608         (vc-default-next-revision): Rename to vc-rcs-next-revision and
20609         move to vc-rcs.el.
20610         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20611         (vc-rcs-update-changelog): Remove.
20612         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20613         and move to vc-rcs.el.
20615         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20616         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20617         renaming.
20618         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20619         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20620         vc.el, renamed to be RCS specific.
20622         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20623         New functions.
20624         (vc-cvs-update-changelog): Move here from vc.el.
20626         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20627         New functions.
20629 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20631         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20633 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20635         * vc-git.el (vc-git-register): Use "git add" for directories.
20636         (vc-git-stash, vc-git-stash-show): New functions.
20637         (vc-git-extra-menu-map): Bind them.
20639         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20640         directory correctly in case the item is a directory itself.
20642         * vc.el: Document the desired behavior for reverted files in the
20643         `added' state.
20644         (vc-default-prettify-state-info): Remove function, unused.
20646         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20648 2009-08-26  Glenn Morris  <rgm@gnu.org>
20650         * bindings.el (standard-mode-line-format): Reposition dashes in
20651         which-func entry.  (Bug#4217)
20653         * files.el (enable-local-variables, enable-local-eval)
20654         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20655         the defcustoms.
20656         (auto-mode-alist, ignored-local-variables)
20657         (save-some-buffers-action-alist): Move risky declarations to the
20658         definitions.
20659         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20660         (font-lock-defaults, format-alist, imenu--index-alist)
20661         (imenu-generic-expression, input-method-alist, minor-mode-alist)
20662         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20663         (mode-line-modified, mode-line-mule-info, mode-line-position)
20664         (mode-line-process, mode-line-remote, outline-level)
20665         (parse-time-rules, rmail-output-file-alist)
20666         (special-display-buffer-names, vc-mode):
20667         Move risky declarations to the relevant files.
20668         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20669         (mode-line-modified, mode-line-process, mode-line-position)
20670         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20671         * font-core.el (font-lock-defaults):
20672         * format.el (format-alist):
20673         * vc-hooks.el (vc-mode):
20674         * window.el (special-display-buffer-names):
20675         * international/mule-cmds.el (input-method-alist):
20676         Define riskiness here (dumped file) rather than in files.el.
20677         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20678         * imenu.el (imenu-generic-expression, imenu--index-alist):
20679         * outline.el (outline-level):
20680         * time.el (display-time-string):
20681         * calendar/parse-time.el (parse-time-rules):
20682         * mail/rmailout.el (rmail-output-file-alist):
20683         Autoload riskiness here, rather than placing in files.el.
20685 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
20687         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20689 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
20691         * simple.el (process-file-side-effects): New defvar.
20693         * dired-aux.el (dired-show-file-type):
20694         * vc.el (vc-diff-internal):
20695         * vc-arch.el (vc-arch-diff):
20696         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20697         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20698         * vc-git.el (vc-git-registered, vc-git-working-revision)
20699         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20700         (vc-git--empty-db-p):
20701         * vc-hooks.el (vc-user-login-name):
20702         * vc-svn.el (vc-svn-registered, vc-svn-state)
20703         (vc-svn-dir-extra-headers, vc-svn-find-revision):
20704         * progmodes/grep.el (grep-probe): Let-bind
20705         `process-file-side-effects' with nil.
20707         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20709         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20710         daemon.  Replace ping by checking for running service for bluez
20711         and zeroconf.  (Bug#4239)
20713 2009-08-25  Kevin Ryde  <user42@zip.com.au>
20715         * net/dig.el (dig): Add autoload cookie.
20717 2009-08-25  Glenn Morris  <rgm@gnu.org>
20719         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20720         load-history for absolute file-names.
20721         (byte-compile-file-form-require): Warn about use of the cl package.
20723         * format.el (format-alist): Doc fix.
20725         * play/bubbles.el (top-level): Don't require cl at run-time.
20727         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20728         run-time cl).
20730 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
20732         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20733         from cl package.
20734         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20736 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
20738         * calc/calc-alg.el (math-trig-rewrite)
20739         (math-hyperbolic-trig-rewrite): New functions.
20740         (calc-simplify): Simplify trig functions when asked.
20742 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20744         * diff-mode.el (diff-find-source-location): Avoid goto-line.
20746 2009-08-24  Kenichi Handa  <handa@m17n.org>
20748         * language/ind-util.el (mapthread): Delete it.
20749         (combinatorial): New function.
20750         (indian--puthash-cv): Use combinatorial instead of mapthread.
20752 2009-08-22  Kevin Ryde  <user42@zip.com.au>
20754         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20755         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20756         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20757         Clarify docstring that the value is strings not symbols.
20758         (checkdoc-list-of-strings-p): New function.
20760 2009-08-22  Glenn Morris  <rgm@gnu.org>
20762         * files.el (auto-mode-alist):
20763         * hippie-exp.el (he-concat-directory-file-name):
20764         * lpr.el (lpr-windows-system, printer-name):
20765         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20766         * ps-print.el (ps-windows-system):
20767         * startup.el (command-line):
20768         * emulation/viper-ex.el (viper-glob-function):
20769         * international/mule-cmds.el (set-language-environment-coding-systems):
20770         * net/ange-ftp.el (ange-ftp-write-region):
20771         * obsolete/fast-lock.el (fast-lock-cache-name):
20772         Remove code for defunct system-types emx, macos, mswindows, next-mach,
20773         unisoft-unix, vax-vms, win32, w32.
20775         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20776         given name if the pattern is not more specific.
20778         * calendar/lunar.el (lunar-phase-names): New option.
20779         (lunar-phase): Doc fix.
20780         (lunar-cycles-per-year): New constant.
20781         (lunar-index): New function.
20782         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20783         (lunar-phase-name): Use lunar-phase-names.
20784         (calendar-lunar-phases): Use format.
20785         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20787         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20788         Copy imenu-example--name-and-position function here for own use.
20789         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20791         * bs.el (bs--redisplay):
20792         * cus-edit.el (custom-redraw):
20793         * ibuffer.el (ibuffer-bury-buffer):
20794         * server.el (server-goto-line-column):
20795         * startup.el (command-line-1):
20796         * strokes.el (strokes-xpm-for-stroke):
20797         * term.el (term-display-buffer-line):
20798         * view.el (View-goto-line):
20799         * calc/calc.el (calc-do, calc-trail-buffer):
20800         * play/gamegrid.el (gamegrid-add-score-insecure):
20801         * progmodes/ada-mode.el (ada-compile-goto-error):
20802         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20803         (ebrowse-select-1st-to-9nth):
20804         * progmodes/cperl-mode.el (cperl-time-fontification):
20805         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20806         * progmodes/gud.el (gud-display-line):
20807         (idlwave-shell-display-line):
20808         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20809         * progmodes/make-mode.el (makefile-browser-toggle):
20810         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20811         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20812         * textmodes/picture.el (picture-draw-rectangle):
20813         * textmodes/reftex-index.el (reftex-index-goto-letter):
20814         (reftex-select-jump-to-previous):
20815         * textmodes/reftex-sel.el (reftex-find-start-point)
20816         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20817         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20818         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20819         * textmodes/tex-mode.el (tex-compilation-parse-errors):
20820         * textmodes/two-column.el (2C-associated-buffer):
20821         Use forward-line rather than goto-line.
20823         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20824         goto-line.
20826         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20827         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20828         (quick-check-list-to-regexp): Declare.
20830         * progmodes/make-mode.el (makefile-browser-insert-selection):
20831         Use goto-char rather than goto-line.
20833         * progmodes/prolog.el (compilation-error-regexp-alist)
20834         (compilation-forget-errors): Declare.
20836 2009-08-22  Juri Linkov  <juri@jurta.org>
20838         * progmodes/grep.el (lgrep, rgrep): At the beginning
20839         set `dir' to `default-directory' unless `dir' is a non-nil
20840         readable directory.  (Bug#4052)
20841         (lgrep, rgrep): Change a weird way to report an error
20842         from using `read-string' to using `error'.
20843         Instead of using interactive arguments in the function body,
20844         add new argument `confirm'.
20846 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20848         * textmodes/remember.el (remember-buffer):
20849         * progmodes/cperl-mode.el (cperl-vc-header-alist):
20850         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20851         (icalendar-extract-ical-from-buffer):
20852         * net/newst-treeview.el (newsticker-groups-filename):
20853         * net/newst-backend.el (newsticker-cache-filename):
20854         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20855         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20856         (speedbar-add-ignored-path-regexp, speedbar-line-path)
20857         (speedbar-buffers-line-path, speedbar-path-line)
20858         (speedbar-buffers-line-path):
20859         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20860         (epg-sign-keys):
20861         * epa.el (epa-display-verify-result):
20862         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20864 2009-08-21  Glenn Morris  <rgm@gnu.org>
20866         * progmodes/js.el (inferior-moz-process): Fix declaration.
20868         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20870         * obsolete/rnewspost.el (news-mail-reply):
20871         Use goto-char rather than goto-line.
20873         * term/ns-win.el (ns-open-file-select-line):
20874         Use line-beginning-position rather than goto-line.
20876         * apropos.el (apropos-command):
20877         * ehelp.el (electric-helpify):
20878         * printing.el (pr-show-setup):
20879         * strokes.el (strokes-help):
20880         * tutorial.el (tutorial--describe-nonstandard-key)
20881         (tutorial--detailed-help):
20882         * woman.el (woman-mini-help, woman-display-extended-fonts):
20883         * calc/calc-help.el (calc-describe-key):
20884         * emulation/edt.el (edt-electric-helpify):
20885         * international/mule-diag.el (mule-diag):
20886         * play/yow.el (apropos-zippy):
20887         * progmodes/python.el (python-describe-symbol):
20888         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20889         * textmodes/table.el (*table--cell-describe-mode)
20890         (*table--cell-describe-bindings):
20891         Use help-print-return-message rather than the now obsolete alias.
20893         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20894         (calendar-cursor-to-visible-date):
20895         * play/5x5.el (5x5-position-cursor):
20896         * play/decipher.el (decipher):
20897         * play/gomoku.el (gomoku-goto-xy):
20898         * play/landmark.el (lm-goto-xy):
20899         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20900         (mpuz-paint-digit):
20901         Use forward-line, not goto-line.
20903         * mail/rmail.el (rmail-obsolete): Delete custom group.
20904         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20905         (rmail-remote-password, rmail-remote-password-required):
20906         Remove unneeded :set-after and :set properties.
20908 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
20910         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20912 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
20914         * loadup.el: Remove leftover macos code.
20916         * vc-git.el (vc-git-annotate-command): Run asynchronously.
20917         Explicitly pass the date format to git blame so that user local
20918         so that the output format can be parsed.
20920 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
20922         * net/dbus.el (top): Don't check for (getenv
20923         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
20925 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
20927         * log-edit.el (log-edit-strip-single-file-name): New var.
20928         (log-edit-insert-changelog): Use it.  Bug#3571.
20930 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20932         * subr.el (read-passwd): Use read-key so keypad keys work as well.
20933         Bug#3287.
20935         * help.el (help-print-return-message): Rename from
20936         print-help-return-message.
20938         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20939         cvs-mode-map parent hack.
20940         (log-view-mode): Derive from special-mode.
20942         * linum.el (linum-mode): window-size-change-functions is redundant.
20943         Adapt to new window-configuration-change-hook behavior.
20944         (linum-after-size, linum-after-config): Remove.
20946         * imenu.el (imenu-example--name-and-position)
20947         (imenu-example--lisp-extract-index-name)
20948         (imenu-example--create-lisp-index, imenu-example--create-c-index):
20949         Mark as obsolete.
20951         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20952         (inferior-prolog-mode): Use it.
20953         (inferior-prolog-load-file): Reset list of errors.
20955 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20957         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20959         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20961 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
20963         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20964         is running already.
20966 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20968         * subr.el (listify-key-sequence-1): Use normal syntax since those
20969         integers are nowadays always represented by the same (positive) number
20970         on all platforms.
20971         (read-key-empty-map): New const.
20972         (read-key-delay): New var.
20973         (read-key): New function.
20974         (force-mode-line-update): Use with-current-buffer.
20975         (locate-user-emacs-file): Don't forget to abbreviate the file name.
20976         (start-process-shell-command, start-file-process-shell-command):
20977         Discourage the use of command-args.
20979 2009-08-19  Glenn Morris  <rgm@gnu.org>
20981         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20983 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20985         * simple.el (choose-completion-string): Don't rely on
20986         minibuffer-completing-file-name and ad-hoc checks to decide whether
20987         to continue completion or not.
20989         * minibuffer.el (minibuffer-hide-completions): New function.
20990         (completion--do-completion): Use it.
20991         (completions-annotations): New face.
20992         (completion--insert-strings): Use it.
20993         (completion-pcm--delim-wild-regex): Add docstring.
20994         (completion-pcm--string->pattern): Add support for 0-width delimiters
20995         in completion-pcm--delim-wild-regex.
20997 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20999         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21000         Remove unused var `buffer-modified-p'.
21002         * minibuffer.el (completion--do-completion): Move point for the #b001
21003         case as well (bug#4176).
21004         (minibuffer-complete, minibuffer-complete-word): Don't move point.
21006 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
21008         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
21009         and :session buses.
21011 2009-08-18  Kenichi Handa  <handa@m17n.org>
21013         * international/ucs-normalize.el (ucs-normalize-version):
21014         Change to 1.1.
21015         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21016         (utf-8-hfs): Make it perform normalization on encoding too.
21018         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
21019         (sentence-end-without-space): Delete duplicated chars.
21020         (sentence-end-base): Likewise.
21022         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
21023         (html-mode): Delete duplicated chars from sentence-end-base.
21025         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
21026         (texinfo-mode): Delete duplicated chars from sentence-end-base.
21028 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
21030         * files.el (hack-one-local-variable): If the mode function is for
21031         a minor mode, pass it an argument (Bug#4148).
21033 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
21035         * net/tramp.el (tramp-register-completion-file-name-handler):
21036         Check also for (member 'partial-completion completion-styles).
21038 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21040         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21041         abbrev (Bug#3943).
21043 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
21045         * progmodes/cperl-mode.el: Merge upstream 6.2.
21046         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21047         (cperl-forward-re): Check cperl-brace-recursing.
21048         (cperl-highlight-charclass): New function.
21049         (cperl-find-pods-heres): Use it.
21050         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21051         (cperl-beautify-regexp-piece): Fix column calculation.
21052         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21053         (cperl-beautify-level): Don't process entire regexp.
21054         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21055         calling man.
21056         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21057         (cperl-init-faces): Build a list in the normal way.
21059 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21061         * calendar/parse-time.el (parse-time-string-chars): Save match
21062         data.
21064 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21066         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21067         (sql-product): Use it.
21068         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21069         (sql-set-product): Add completion.
21070         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21071         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21072         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21073         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21074         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21075         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21076         (sql-highlight-db2-keywords): Remove.
21077         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21078         (sql-highlight-product): Use derived-mode-p.
21079         (sql-set-sqli-buffer): Use with-current-buffer.
21080         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21081         Simplify.
21083         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21085         * term.el: Fix commenting convention, turn comments into docstrings.
21087 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
21089         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21091 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
21093         * calendar/parse-time.el (parse-time-string-chars): Compute using
21094         character classes, to handle non-ascii characters (Bug#3190).
21096 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21098         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21099         another heredoc if the user adds another < (Bug#3226).
21101         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21102         Don't initialize based on window-system (Bug#4124).
21104         * facemenu.el (facemenu-read-color): Use a completion function
21105         that accepts any defined color, such as RGB triplets (Bug#3677).
21107         * files.el (get-free-disk-space): Change fallback default
21108         directory to /.  Expand DIR argument before switching to fallback.
21109         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21111 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
21113         * files.el (load-library): Doc fix.
21115 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
21117         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21118         (viper-if-string): Redefine C-s in the minibuffer to insert the last
21119         incremental search string.
21121         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21122         XEmacs.
21124         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21125         (ediff-merge-region-is-non-clash)
21126         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21127         Also check if the job is really a merge job.
21129         * ediff.el (ediff-current-file): New function.
21131 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
21133         * progmodes/js.el: Edit docstrings throughout to follow Emacs
21134         conventions.
21135         (js-insert-and-indent): Delete function.
21136         (js-mode-map): Don't bind keys to js-insert-and-indent.
21137         (js-beginning-of-defun): Rename from js--beginning-of-defun.
21138         (js-end-of-defun): Rename from js--end-of-defun.
21139         (js-auto-indent-flag): Delete variable.
21141 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
21143         * progmodes/js.el: Remove proclaim statement.
21144         Defvar which-func-imenu-joiner-function to silence compiler.
21146         * files.el (auto-mode-alist): Use js-mode for .js files.
21148         * progmodes/js2-mode.el: Remove file.
21150         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21152         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21154         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21156 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
21157             Karl Landstrom  <karl.landstrom@brgeight.se>
21159         * progmodes/js.el: New file.
21161 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
21163         * timezone.el (timezone-parse-date): Add ability to understand ISO
21164         basic format (minimal separators) dates in addition to the
21165         already-supported extended format dates.
21167 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
21169         * international/ucs-normalize.el: Add a `coding' file variable.
21171         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21173 2009-08-14  Sam Steingold  <sds@gnu.org>
21175         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21177 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
21179         * faces.el (help-argument-name): Define it here instead of
21180         help-fns.el, because in daemon mode help-fns.el may be loaded when
21181         faces are still uninitialized (Bug#1078).
21183         * help-fns.el (help-argument-name): Move defface to faces.el.
21185 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
21187         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21188         create buffer with a pty but no process so that GDB can make the
21189         inferior the controlling process.
21191 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
21193         * international/ucs-normalize.el: New file.
21195 2009-08-13  Richard Stallman  <rms@gnu.org>
21197         * mail/rmail.el (rmail-get-attr-names):
21198         Accept an attribute header that is too short.
21200         * mail/rmail.el (rmail-forget-messages):
21201         Ignore nil elt in rmail-message-vector.  Use dotimes.
21203         * progmodes/compile.el (compilation-goto-locus):
21204         Use next-error-move-function.
21206         * simple.el (next-error-move-function): New variable.
21208 2009-08-12  Juri Linkov  <juri@jurta.org>
21210         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21211         always non-nil.  (Bug#4052)
21213         * replace.el (read-regexp): Return empty string when
21214         `default-value' is nil.
21215         (keep-lines-read-args): Don't use empty string as the
21216         default value for `read-regexp'.  (Bug#2495)
21218 2009-08-12  Juri Linkov  <juri@jurta.org>
21220         * international/mule-cmds.el (ucs-insert): Change arguments
21221         from `arg' to `character', `count', `inherit' to be the same
21222         as in `insert-char'.  Doc fix.  (Bug#4039)
21224         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21226 2009-08-12  Juri Linkov  <juri@jurta.org>
21228         * files-x.el: New file.
21230         * files.el: Move code that deals with adding/deleting
21231         file/directory-local variables to files-x.el.
21233         * Makefile.in (ELCFILES): Add files-x.elc.
21235 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
21237         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21238         to use `goto-line'.
21239         (gdb-place-breakpoints, gdb-get-location): Rewritten without
21240         `goto-line'.
21241         (gdb-invalidate-disassembly): Do not refresh upon receiving
21242         'update signal.  Instead, update all disassembly buffers only after
21243         threads list.
21244         (gdb): Send -target-detach when buffer is killed (Bug#3794).
21245         (gdb-starting): Move -data-list-register-names...
21246         (gdb-stopped): ...here so it's sent when first thread stops.
21247         (gdb-registers-handler-custom): Do nothing if register names are
21248         unknown yet.
21250         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21251         from `gdb-mi.el' to avoid extra tangling.
21253         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21254         change which breaks `gud-def' definitions used in `gdb'.
21255         (gdb-update-gud-running): No extra fuss for updating frame number.
21257 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
21259         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21260         (describe-language-environment-map, setup-language-environment-map)
21261         (set-coding-system-map): Move initialization into declaration.
21262         (set-language-info-alist): Last arg to define-key-after can be skipped.
21264         * international/quail.el (quail-completion-1): Simplify.
21265         (quail-define-rules): Use slightly more compact code.
21266         (quail-insert-decode-map): Propertize keys, compact columns.
21268         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21269         Add goto-line.
21271 2009-08-10  Miles Bader  <miles@gnu.org>
21273         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21274         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21275         (js2-instance-member, js2-private-member, js2-private-function-call)
21276         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21277         (js2-magic-paren, js2-external-variable):
21278         Remove "-face" suffix from face names.
21279         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21280         (js2-highlight-undeclared-vars, js2-peek-token)
21281         (js2-parse-function-params, js2-mode-show-errors)
21282         (js2-mode-show-warnings, js2-make-magic-delimiter)
21283         (js2-mode-highlight-magic-parens): Update to use new face names.
21285 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
21287         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21288         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
21290 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
21292         * subr.el: Provide hashtable-print-readable.
21294         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21295         hs-c-like-adjust-block-beginning.
21296         (hs-hide-block-at-point): Stop hiding at the beginning of
21297         hs-block-end-regexp (Bug#700).
21299 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
21301         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21302         a macro.
21303         (gdb-registers-handler-custom): Do not fail when register names
21304         are unavailable.
21306 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21308         * progmodes/gdb-mi.el (gdb-control-all-threads)
21309         (gdb-control-current-thread): Interactive setters for
21310         `gdb-gud-control-all-threads' to use in menu.
21311         (gdb-show-run-p): Show «Go» when process is not active.
21312         (gud-tool-bar-map): Add non-stop/A,T indicator.
21313         Uses gud/thread.xpm and gud/all.xpm.
21315 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
21317         * net/net-utils.el (net-utils-font-lock-keywords): New var.
21318         (nslookup-font-lock-keywords): Make it a variable.
21319         (net-utils-mode): New mode for viewing diagnostic network output.
21320         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21321         (net-utils-run-simple): New function.
21322         (ifconfig, iwconfig, netstat, arp, route): Use it.
21324 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21326         * progmodes/gdb-mi.el (gdb-read-memory-custom)
21327         (gdb-memory-set-address, def-gdb-set-positive-number)
21328         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21329         after changing settings.
21330         (gdb-invalidate-disassembly): Update when first shown.
21331         (gdb-edit-locals-value): Fix.
21332         (gdb-registers-handler-custom): Print registers in right order and
21333         allow changing register values (only for current thread yet).
21334         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21335         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21336         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21337         (gdb-locals-handler-custom, gdb-registers-handler-custom):
21338         Thread info in mode name.
21339         (gdb-registers-mode-map): TAB to switch to locals.
21341 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
21343         * mail/rmail.el (rmail-add-mbox-headers)
21344         (rmail-set-message-counters-counter): Search for
21345         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
21347 2009-08-08  Glenn Morris  <rgm@gnu.org>
21349         * Makefile.in (ELCFILES): Update.
21351 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21353         * mail/sendmail.el (mail-yank-original):
21354         Set buffer-file-coding-system from the one used by the message whose
21355         text is yanked.
21357         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21358         to "windows" when "pgnuplot" is used.
21359         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21360         Don't call accept-process-output if "pgnuplot" is used.
21361         (calc-graph-init): Don't send -display and -geometry to
21362         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
21363         running "pgnuplot -V" with shell-command-to-string.
21365         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21366         the default.
21368 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21370         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21371         org/org-latex.elc.
21373 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
21375         * vc-dispatcher.el (vc-resynch-window): Update comment.
21377         * term.el (term-handle-ansi-escape): Add comments with the
21378         terminfo capabilities implemented.
21380 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
21382         * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21383         (gdb-var-create-handler): Rewritten using JSON parser.
21384         (gdb-propertize-header): Move earlier.
21385         (gdb-set-header): Remove to avoid duplication.
21386         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21387         Refresh disassembly buffers only after threads list have been
21388         update.
21389         (gdb-threads-header, gdb-registers-header): Per-buffer header line
21390         variables.
21392 2009-08-04  Juri Linkov  <juri@jurta.org>
21394         * files.el: Commands to add/delete file/directory-local variables.
21395         (read-file-local-variable, read-file-local-variable-value)
21396         (read-file-local-variable-mode, modify-file-local-variable)
21397         (modify-file-local-variable-prop-line)
21398         (modify-dir-local-variable): New functions.
21399         (add-file-local-variable, delete-file-local-variable)
21400         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21401         (add-dir-local-variable, delete-dir-local-variable)
21402         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21403         (copy-dir-locals-to-file-locals-prop-line): New commands.
21405 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
21407         * abbrev.el (insert-abbrev-table-description): Prettify output.
21408         Suggested by Karl Chen.
21410 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
21412         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21413         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21414         (gdb-overlay-arrow-position, gdb-thread-position)
21415         (gdb-disassembly-position): Declare variables.
21416         (gdb-wait-for-pending): Function now.
21417         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21418         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21419         compilation goes smoothly.
21420         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21421         (gdb-non-stop-setting): New customization setting which replaces
21422         `gdb-non-stop' so changing it doesn't break active GDB session.
21423         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21424         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21425         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21426         (gdb-show-threads-by-default): New customization options.
21427         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21428         routines.
21429         (gdb-get-buffer-create): Send buffers update signal when they are
21430         created.
21431         (gdb-invalidate-locals, gdb-invalidate-registers)
21432         (gdb-invalidate-breakpoints)
21433         (gdb-invalidate-threads, gdb-invalidate-disassembly)
21434         (gdb-invalidate-memory): Accept update signal.
21435         (gdb-current-context-command): Use --frame option.
21436         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21437         Implement `gdb-frame-number' selection logic.
21438         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21439         whether to show GUD toolbar buttons.
21440         (gdb-thread-exited): Unselect current thread when it exits.
21441         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21442         (gdb-mark-line): Routine which sets overlay arrow or inverses
21443         video on fringeless displays.
21444         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21445         to build aligned columns of data in GDB buffers and set text
21446         properties line-by-line.
21447         (gdb-invalidate-breakpoints)
21448         (gdb-breakpoints-list-handler-custom)
21449         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21450         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21451         (gdb-registers-handler-custom): Align data columns.
21452         (gdb-locals-handler-custom): Now prints data like in variable
21453         declarations.
21454         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21455         Remove confusing buttons.
21456         (gdb-invalidate-threads): Append --frame.
21457         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21458         between breakpoints/threads buffers.
21459         (gdb-set-window-buffer): Now can ignore dedicated windows.
21460         (gdb-propertize-header): Use `gdb-set-window-buffer'.
21461         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21462         (def-gdb-thread-buffer-gud-command): Replaces
21463         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21464         for fine thread control.
21465         (gdb-preempt-existing-or-display-buffer): New function used to
21466         display bound buffers without breaking window layout.
21467         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21468         (gdb-select-frame): New version of `gdb-frames-select' which now
21469         sets `gdb-frame-number' so commands may use --frame option instead
21470         of inner debugger state.
21471         (gdb-frame-handler): Do not set `gdb-frame-number'.
21472         (gdb-threads-mode-map): Select threads with mouse.
21474         * progmodes/gud.el (gdb-gud-context-call): Declare function to
21475         avoid compilation warning.
21476         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21477         `gdb-show-stop-p`.
21479         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21480         Argument `key' renamed to `buffer-type'.
21481         (gdb-current-context-buffer-name): Do not add thread info to
21482         buffer name when no thread is selected.
21483         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21484         command (bug 3794).
21485         (gdb-thread-selected): Handle `=thread-selected' notification.
21486         (gdb-wait-for-pending): New macro to deal with congestion problems.
21487         (gdb-breakpoints-list-handler-custom): Don't fail on pending
21488         breakpoints.
21489         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21490         This fixes problem similar to one described in bug 3947.
21491         (gud-menu-map): More menu items.
21492         (gdb-init-1): Reset `gdb-thread-number' to nil.
21494         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21495         non-stop settings.
21497         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21498         (gdb-current-context-command): Do not append --thread if
21499         `gdb-thread-number' is nil.
21500         (gdb-running-threads-count, gdb-stopped-threads-count):
21501         New variables.
21502         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21503         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21504         New customization options.
21505         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21506         GUD commands.
21507         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21508         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21509         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21510         set `gdb-thread-number' and update `gud-running' properly.
21511         (gdb-running): Update threads list when new threads appear.
21512         (gdb-stopped): Support non-stop operation and new thread switching
21513         logic.
21514         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21515         (gdb-json-partial-output): New set of JSON routines.
21516         (def-gdb-auto-update-trigger): New `signal-list' optional
21517         argument.
21518         (gdb-thread-list-handler-custom): Update `gud-running',
21519         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21520         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21521         (gdb-continue-thread, gdb-step-thread): New commands for fine
21522         thread execution control.
21523         (gud-menu-map): New menu items to switch non-stop options.
21524         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21525         (gdb-send): Mimic RET properly (bug 3794).
21527         * progmodes/gdb-mi.el (gdb-rules-name-maker)
21528         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21529         gdb-buffer-rules.
21530         (def-gdb-auto-update-handler): New nopreserve optional argument.
21531         (gdb-stack-list-frames-custom): Print stack from top to bottom.
21533         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21534         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21535         (gdb-parent-mode): New mode to derive other GDB modes from.
21536         (gdb-display-disassembly-for-thread)
21537         (gdb-frame-disassembly-for-thread): New commands for threads
21538         buffer.
21540         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21541         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21542         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21543         (gdb-update): We now store all GDB buffers in a list so that they
21544         can be updated by traversing a list instead of calling invalidate
21545         triggers explicitly.
21546         (def-gdb-trigger-and-handler): New macro to define trigger-handler
21547         pair for GDB buffer.
21548         (gdb-stack-buffer-name): Add thread information.
21549         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21550         handle pending triggers.
21551         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21552         (def-gdb-thread-buffer-simple-command)
21553         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21554         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21555         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21556         New commands which show buffers bound to thread.
21557         (gdb-stack-list-locals-regexp): Remove unused regexp.
21559         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21560         (gdb-locals-buffer-name, gdb-registers-buffer-name)
21561         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21562         to (gud-comint-buffer) in *-buffer-name functions
21563         because (gdb-get-target-string) already does that.
21564         (gdb-locals-handler-custom, gdb-registers-handler-custom)
21565         (gdb-changed-registers-handler): Rewritten without regexps.
21567         * progmodes/gdb-mi.el: Basic thread selection support.
21568         (gdb-thread-number): New variable.
21569         (gdb-current-context-command): New macro which adds --thread
21570         option to command.
21571         (gdb-threads-mode-map): Select thread with SPC.
21572         (gdb-thread-list-handler-custom): Mark current thread with overlay
21573         arrow.  Synchronize GDB thread and Emacs thread.
21574         (gdb-select-thread): New command which selects current thread.
21575         (gdb-invalidate-frames, gdb-invalidate-locals)
21576         (gdb-invalidate-registers): Use --thread option.
21578 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
21580         * net/tramp.el (top): Make check for tramp-gvfs loading more
21581         robust.  (Bug#3977)
21582         (tramp-handle-insert-file-contents): `unwind-protect' must be
21583         inside `with-parsed-tramp-file-name'.
21585         * net/tramp-gvfs.el (top): Remove superfluous message when loading
21586         fails.
21588 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
21590         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21591         directory if CLASSPATH is not set.
21593 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
21595         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21596         New defconst.
21597         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
21599 2009-08-02  Kevin Ryde  <user42@zip.com.au>
21601         * net/newst-backend.el (newsticker--raw-url-list-defaults):
21602         Update freshmeat link.  Delete newsforge.com as it seems gone.
21604 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21606         * select.el (x-set-selection): Doc fix (Bug#4021).
21608         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21610         * help-fns.el (describe-variable): Treat list return values from
21611         dir-locals-find-file properly (Bug#4005).
21613 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
21615         * net/tramp.el (tramp-debug-message): Print also microseconds.
21617 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
21619         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21620         or END is non-nil.
21621         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21622         (tramp-get-debug-buffer): Change `outline-regexp' according to new
21623         format.
21625         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21626         (tramp-get-file-property): Use it.
21628         * autorevert.el (auto-revert-handler):
21629         Allow `auto-revert-tail-mode' for remote files.
21631 2009-08-02  Jason Rumney  <jasonr@gnu.org>
21633         * minibuffer.el (read-file-name): Treat confirm options to
21634         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
21636 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21638         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21639         (font-lock-variable-name-face, font-lock-constant-face):
21640         Darken the colors for light backgrounds.
21642 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
21644         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21645         month names.  (Bug#3987)
21647 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
21649         * simple.el (line-move-finish): Pass whole number to
21650         line-move-to-column.
21651         (line-move-visual): Perform hscroll to the recorded position.
21653 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
21655         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21657 2009-07-29  Alan Mackenzie  <acm@muc.de>
21659         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21661 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
21663         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21664         (gdb-place-breakpoints): Use full path when setting breakpoints.
21666 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
21668         * calc/calc.el (calc-mode-map): Add keybinding for
21669         `calc-transpose-lines'.
21671 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
21673         * calc/calc-misc.el (calc-transpose-lines): New function.
21675 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
21677         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21678         Simplify check for out-of-band methods.
21679         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21680         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
21682 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
21684         * vc-git.el (vc-git-checkin): Fix typo.
21686 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
21688         * progmodes/js2-mode.el: New file.
21690 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
21692         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21693         (gud-menu-map): Adjust tooltip accordingly.
21695 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
21697         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21698         (vc-bzr-log-view-mode): Adjust log-view-file-re.
21700         * add-log.el (change-log-mode-map): Add a menu.
21702 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
21704         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21705         function returns nil.
21706         (dbus-handle-event): Handle special return value :ignore.
21707         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21709 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
21711         * view.el (view-mode-enable): Don't define Helper-return-blurb if
21712         it's not needed.
21714 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
21716         Fix Bug#3888:
21718         * w32-vars.el (x-select-enable-clipboard): Doc fix.
21720         * term/pc-win.el (x-display-name, x-colors)
21721         (x-select-enable-clipboard, x-select-text): Doc fix.
21723         * term/common-win.el (x-display-name, x-colors): Doc fix.
21725         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21726         (xw-defined-colors): Doc fix.
21728         * w32-fns.el (x-select-text, x-setup-function-keys)
21729         (x-get-selection, x-set-selection): Doc fix.
21731         * term/x-win.el (x-select-text, x-setup-function-keys)
21732         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21734         * select.el (x-set-selection): Doc fix.
21736 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
21738         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21739         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
21740         "IsNSSSupportAvailable" method is not available.
21741         Reported by Steve Youngs <steve@sxemacs.org>.
21743 2009-07-24  Kenichi Handa  <handa@m17n.org>
21745         * international/characters.el: Fix setting of category ?C, ?|, ?K,
21746         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
21747         (build-unicode-category-table): Fix range checks.
21749 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
21751         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21752         the buffer we try to sync is current when calling
21753         vc-resynch-buffer.
21755         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21756         not show up to date files.
21758 2009-07-24  Glenn Morris  <rgm@gnu.org>
21760         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21761         Add autoload cookies.  If necessary, initialize.
21762         (elint-log): Handle non-file buffers.
21763         (elint-initialize): Add optional argument to reinitialize.
21764         (elint-find-builtin-variables): Save excursion.
21766 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
21768         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21769         for Lint.
21771 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
21773         * vc.el (vc-print-log-internal): New function, split out from ...
21774         (vc-print-log): ... here.
21775         (vc-dir-move-to-goal-column): Declare.
21777         * vc-git.el (vc-git-add-signoff): New variable.
21778         (vc-git-checkin): Use it.
21779         (vc-git-toggle-signoff): New function.
21780         (vc-git-extra-menu-map): Bind it to menu.
21781         (vc-git--run-command-string): Accept a nil FILE argument.
21782         (vc-git-stash-list): New function.
21783         (vc-git-dir-extra-headers): Use it.
21785 2009-07-23  Glenn Morris  <rgm@gnu.org>
21787         * help-fns.el (describe-variable): Describe ignored and risky local
21788         variables in a similar way to that in which we describe safe ones.
21790         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21791         (byte-compile-output-file-form, byte-compile-output-docform)
21792         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21793         Give some more local variables with common names a "bytecomp-" prefix,
21794         so as not to shadow things during compilation.
21795         * emacs-lisp/cl-macs.el (load-time-value)
21796         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21797         `outbuffer' to `bytecomp-outbuffer'.
21799         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21800         since the next two variables cover them automatically now.
21801         (elint-builtin-variables, elint-autoloaded-variables): New.
21802         (elint-unknown-builtin-args): Remove all members, since they can be
21803         parsed automatically now.
21804         (elint-extra-errors): New.
21805         (elint-env-add-env, elint-env-add-macro): Use cadr.
21806         (elint-current-buffer): Use or.  Change final message.
21807         (elint-get-top-forms): Use line-end-position.
21808         (elint-init-env): Use cadr.  Handle autoload, declare-function,
21809         and defalias.
21810         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
21811         (regexp-assoc): Remove unused function.
21812         (elint-top-form): Set elint-current-pos, to record the start of the
21813         top-level form, for compilation-mode.
21814         (elint-form): Trap errors in macro expansion.  Use dolist.
21815         (elint-unbound-variable): Use elint-builtin-variables and
21816         elint-autoloaded-variables.
21817         (elint-get-args): Use cadr, or.
21818         (elint-check-cond-form): Use dolist, cadr.
21819         (elint-check-condition-case-form): Doc fix.  Use cadr.
21820         Use elint-extra-errors.
21821         (elint-log): New function.
21822         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21823         Distinguish errors and warnings.
21824         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
21825         Use a bytecomp-style format.
21826         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
21827         (elint-get-log-buffer): Use compilation mode.  Disable undo.
21828         Don't truncate lines.
21829         (elint-initialize): Set builtin and autoloaded variable lists.
21830         Only process elint-unknown-builtin-args if non-nil.
21831         (elint-find-builtin-variables, elint-find-autoloaded-variables):
21832         New functions.
21833         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
21835 2009-07-22  Kevin Ryde  <user42@zip.com.au>
21837         * net/newst-backend.el (newsticker--parse-atom-1.0)
21838         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21839         (newsticker--parse-rss-1.0):
21840         * progmodes/idlwave.el (idlwave-mode):
21841         * progmodes/idlw-shell.el (idlwave-shell-mode):
21842         * progmodes/vera-mode.el (vera-mode):
21843         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21844         * progmodes/vhdl-mode.el (vhdl-mode):
21845         * textmodes/table.el (table-generate-source)
21846         (table--warn-incompatibility):
21847         Hyperlink urls in docstrings with URL `...'.
21849 2009-07-22  Glenn Morris  <rgm@gnu.org>
21851         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21852         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21853         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21854         Remove leading * from defcustom docs.
21856         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
21858         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21859         defcustom doc.
21860         (list-load-path-shadows): Optionally, just return shadows as a string.
21862         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21864 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
21866         * mail/rmailedit.el (rmail-edit-mode):
21867         Use auto-save-include-big-deletions.
21869         * mail/rmail.el (rmail-variables):
21870         Use auto-save-include-big-deletions.
21872         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21873         changes.
21875 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
21877         * calc/calc.el (calc-undo-length): New variable.
21878         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21880 2009-07-21  Richard Stallman  <rms@gnu.org>
21882         * files.el (auto-save-mode): Handle buffer-save-size = -2
21883         for toggling mode.
21885 2009-07-21  Glenn Morris  <rgm@gnu.org>
21887         * textmodes/ispell.el (ispell-looking-back): Update declaration.
21889         * calendar/todo-mode.el (calendar-current-date): Update declaration.
21891         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21892         silence compiler.  Instead...
21893         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21894         (ps-print-ensure-fontified): Update for above function name changes.
21896         * printing.el (pr-mh-get-msg-num, pr-mh-show)
21897         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21898         silence compiler.  Instead...
21899         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21900         (mh-show-buffer): Only define for compiler.
21901         (pr-mh-current-message): Update for above function name changes.
21903         * files.el (abort-if-file-too-large): Explicitly pass `filename'
21904         as an argument.
21905         (find-file-noselect, insert-file-1): Update for above change.
21907         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21909         * mail/mailclient.el (mailclient-send-it): Fix message.
21911         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21912         (edebug-eval): Check cl-debug-env is bound.
21913         (print-level, print-circle): Don't redefine built-in variables.
21915         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21916         (custom-print-vectors): Remove old comments from doc.
21918         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21919         (emerge-version): Make the variable an obsolete alias for the
21920         emacs-version variable.  Make the function obsolete.
21921         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21922         Emerge options, rather than merging in into the main Options menu.
21923         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
21924         and auto advance modes.  Disable edit/fast items when not relevant.
21926 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
21928         * term/vt420.el (terminal-init-vt420): Fix typo.
21930 2009-07-20  Sam Steingold  <sds@gnu.org>
21932         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21933         variable (removed from compile.el on 2004-03-11).
21935 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
21937         * files.el (hack-local-variables-filter): Fix last change.
21939 2009-07-19  Juri Linkov  <juri@jurta.org>
21941         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21942         (dir-local-variables-alist): New buffer-local variable.
21943         (hack-local-variables-filter): If variable is not dir-local,
21944         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21945         because file-local overrides dir-local.
21946         (c-postprocess-file-styles) <declare-function>:
21947         Remove obsolete declaration.
21948         (hack-dir-local-variables): Add dir-local variable/value pair to
21949         `dir-local-variables-alist' and remove duplicates.  Doc fix.
21951         * help-fns.el (describe-variable): Add information about
21952         file-local and dir-local variables.
21954 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
21956         * files.el (hack-local-variables-filter): Rewrite.
21958 2009-07-19  Glenn Morris  <rgm@gnu.org>
21960         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21961         Silence compiler by only defining on XEmacs.
21963         * international/mule.el (auto-coding-regexp-alist): Only match
21964         BABYL... at the start of buffer, not of lines.  (Bug#3790)
21966         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21967         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
21968         (cal-menu-context-mouse-menu): Doc fix.
21970         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21972         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
21974 2009-07-18  Juri Linkov  <juri@jurta.org>
21976         * info.el: Virtual Info keyword finder.
21977         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21978         (Info-finder-file): New variable.
21979         (Info-finder-find-file): New function.
21980         (finder-known-keywords, finder-package-info)
21981         (find-library-name, lm-commentary): Use defvar and
21982         declare-function to silence compiler warnings.
21983         (Info-finder-find-node): New function.
21984         (info-finder): New command.
21986         * subr.el (process-kill-buffer-query-function): New function.
21987         (add-hook)<kill-buffer-query-functions>: Add hook
21988         `process-kill-buffer-query-function'.
21990 2009-07-18  Alan Mackenzie  <acm@muc.de>
21992         * progmodes/cc-mode.el (c-before-hack-hook)
21993         (c-postprocess-file-styles): Give invocation of `c-set-style'
21994         DONT-OVERRIDE parameter of t.  Already set style variables will
21995         thus not be overridden by style settings given by `c-file-syle'.
21997         * files.el (hack-local-variables-filter): Remove entries with
21998         duplicate keys from `file-local-variables-alist'.
22000 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
22002         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22003         x-set-selection if display-selections-p returns nil for the
22004         current frame.
22006 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
22008         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22010 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
22012         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22013         Accept nil in addition to a regexp.
22014         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22015         Accept nil in addition to a regexp.
22016         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22017         buffers that have an associated file.  Handle nil values of
22018         desktop-buffers-not-to-save and desktop-files-not-to-save.
22019         (Bug#3833)
22021         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22022         (x-disown-selection-internal): New functions.
22024 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
22026         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22027         warning.
22028         (gdb-breakpoints-header): Move forward to avoid compiler warning.
22029         (gdb-make-header-line-mouse-map): Remove duplicate definition.
22031 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
22033         * simple.el (set-mark): Revert last change.
22035 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
22037         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22038         rendering of pngs is not possible instead of messaging a long
22039         description.
22041 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
22043         * w32-fns.el (x-selection-owner-p): New function.
22045         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22046         (mouse-yank-at-click, mouse-yank-primary):
22047         If select-active-regions is non-nil, deactivate the mark before
22048         insertion.
22050         * simple.el (deactivate-mark, set-mark): Only save selection if we
22051         own it.
22053 2009-07-17  Kenichi Handa  <handa@m17n.org>
22055         * case-table.el (describe-buffer-case-table): Fix for the case
22056         that KEY is a cons.
22058 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
22060         * vc-rcs.el (vc-rcs-find-file-hook):
22061         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22063 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
22065         * net/tramp.el (tramp-wait-for-output): Handle the case when
22066         commands do not return a newline but a null byte before the shell
22067         prompt.  (Bug#3858)
22069 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
22071         * term/ns-win.el (ns-set-alpha): Don't declare.
22072         (ns-set-background-alpha): Remove function.
22074 2009-07-16  Kevin Ryde  <user42@zip.com.au>
22076         * emacs-lisp/copyright.el (copyright-update): Save match-data across
22077         y-or-n-p, for safety.
22079 2009-07-16  Richard Stallman  <rms@gnu.org>
22081         * files.el (auto-save-mode): If buffer-saved-size is -2,
22082         don't clobber it.
22084         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22085         (rmail-retry-ignored-headers): Add more uninteresting fields.
22087 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
22089         * net/rcirc.el (rcirc): Use history variables.
22090         (rcirc-server-name-history, rcirc-nick-name-history)
22091         (rcirc-server-port-history): New variables.
22093 2009-07-15  Kenichi Handa  <handa@m17n.org>
22095         * international/mule-cmds.el (set-language-environment-charset):
22096         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22097         ignore them.
22099         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22100         Delete unibyte-display.
22102 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
22104         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22106 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
22108         * simple.el (deactivate-mark): Optional argument FORCE.
22109         (set-mark): Use deactivate-mark.
22111         * info.el (Info-search): No need to check transient-mark-mode
22112         before calling deactivate-mark.
22114         * select.el (x-set-selection): Doc fix.
22115         (x-valid-simple-selection-p): Allow buffer values.
22116         (xselect--selection-bounds): Handle buffer values.
22117         Suggested by David De La Harpe Golden.
22119         * mouse.el (mouse-set-region, mouse-drag-track):
22120         Call copy-region-as-kill before setting the mark, to let
22121         select-active-regions work.
22123 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
22125         * simple.el (deactivate-mark): If select-active-regions is
22126         non-nil, copy the selection data into a string.
22127         (activate-mark): If select-active-regions is non-nil, set the
22128         selection to the current buffer.
22129         (set-mark): Update selection if select-active-regions is non-nil.
22131         * select.el (x-valid-simple-selection-p): Allow buffer values.
22133 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
22135         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22136         and more featureful message-mode.
22138 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
22140         * select.el (x-set-selection): Doc fix.
22141         (x-valid-simple-selection-p): Disallow selection data consisting
22142         of a list or cons of integers, since that is not used.
22143         (xselect--selection-bounds, xselect--int-to-cons): New functions.
22144         (xselect-convert-to-string, xselect-convert-to-length)
22145         (xselect-convert-to-filename, xselect-convert-to-charpos)
22146         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22148 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
22150         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22151         output in -break-info command (Emacs bug #3794).
22153 2009-07-14  Glenn Morris  <rgm@gnu.org>
22155         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22156         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22157         (edebug-print-length, edebug-print-level, edebug-print-circle)
22158         (edebug-sit-for-seconds, edebug-view-outside)
22159         (edebug-bounce-point, edebug-set-global-break-condition)
22160         (edebug-Go-nonstop-mode, edebug-trace-mode)
22161         (edebug-Trace-fast-mode, edebug-continue-mode)
22162         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22163         (edebug-visit-eval-list): Doc fixes.
22165         * subr.el (def-edebug-spec): Doc fix.
22167 2009-07-14  Kenichi Handa  <handa@m17n.org>
22169         * international/characters.el: Fix setting of category ?C.
22171 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
22173         * term/ns-win.el (x-select-font): defalias x-select-font to
22174         ns-popup-font-panel instead of generate-fontset-menu.
22176 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
22178         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
22180 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
22182         * arc-mode.el (archive-find-type): Allow for a PK00 string before
22183         the PK\003\004 header (Bug#3770).
22185 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
22187         * pcomplete.el (pcomplete-comint-setup): Check for
22188         shell-dynamic-complete-filename too.
22190 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
22192         * simple.el (temporary-goal-column): Change the value for
22193         line-move-visual to a cons cell.
22194         (line-move-visual): Record or set the window hscroll, if
22195         necessary (Bug#3494).
22196         (line-move-1): Handle cons value of temporary-goal-column.
22198 2009-07-11  Kenichi Handa  <handa@m17n.org>
22200         * international/mule-diag.el (describe-character-set): Don't show
22201         width.
22203 2009-07-10  Sam Steingold  <sds@gnu.org>
22205         * progmodes/compile.el (compilation-mode-font-lock-keywords):
22206         Omake sometimes indents the errors it prints, so allow all
22207         regexps to start with spaces.
22209 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
22211         * cus-edit.el (customize-changed-options-previous-release):
22212         Bump value to 22.1.  (Bug#3804)
22214 2009-07-08  Sam Steingold  <sds@gnu.org>
22216         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22217         to be a cons cell (test . ignored-directory) to selectively ignore
22218         some directories depending on the location of the search.
22220 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
22222         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22223         remote user is root, on the local host.
22224         (tramp-local-host-p): Either the local user or the remote user
22225         must be root.  (Bug#3771)
22227 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22229         * progmodes/gdb-mi.el (gdb): Remove description of
22230         gdb-use-separate-io-buffer.
22231         (menu): Don't allow toggling of or enable
22232         gdb-use-separate-io-buffer from menubar.
22234 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
22236         * mail/unrmail.el (unrmail): Make sure the message ends with two
22237         newlines (Bug#3769).
22239 2009-07-08  Glenn Morris  <rgm@gnu.org>
22241         * calendar/calendar.el (calendar-current-date): Rework previous change.
22243 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
22245         * calendar/calendar.el (calendar-current-date):
22246         Add an optional argument giving an offset from today.
22248 2009-07-08  Glenn Morris  <rgm@gnu.org>
22250         * tutorial.el (tutorial--describe-nonstandard-key):
22251         Adjust the message for when a key has been unbound.
22252         (help-with-tutorial): Hide the arch-tag.
22254 2009-07-08  Kenichi Handa  <handa@m17n.org>
22256         * international/fontset.el (setup-default-fontset): For each
22257         script, append (not set) font-specs.
22259         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22260         docstring.
22262 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22264         * progmodes/gdb-mi.el (gdb-init-1): Move sending
22265         -data-list-register-names to ...
22266         (gdb-starting): ... here because GDB 7.0 requires execution to
22267         have started when using this MI command.
22268         (gdb-set-header): New function to distinguish select and
22269         unselected tabs in gdb buffers.
22270         (gdb-propertize-header): New macro that uses gdb-set-header.
22271         (gdb-breakpoints-header, gdb-locals-header): Use it.
22272         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22274 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
22276         * Makefile.in (ELCFILES): Remove fadr.elc.
22278 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
22280         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22281         may contain frame information, so `string-match' should be used.
22282         (gdb-update): Disassembly is invalidated through
22283         `gdb-get-selected-frame'.
22284         (gdb-pad-string): New function to pad string with spaces.
22285         (gdb-invalidate-disassembly): Invalidate only if the buffer
22286         exists.
22287         (gdb-disassembly-handler-custom): Column alignment.
22288         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22289         placing new ones.
22290         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22291         end of line, too.
22292         (gdb-frame-handler): Match convention to for disassembly buffer
22293         mode name.
22294         (gdb-stack-list-frames-handler): Rewritten without regexps.
22295         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22296         not highlight breakpoints without line information.
22297         (gdb-input): Add trailing newline to command.
22299         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22300         buffer properly.
22301         (gdb-breakpoints-list-handler-custom): Replacement for
22302         `gdb-break-list-handler'.  Using real parser instead of regexps
22303         now.
22304         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22305         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22306         to place breakpoints.
22307         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22308         functions.
22309         (gdb-disassembly-handler-custom): Show overlay arrow.
22310         (gdb-disassembly-place-breakpoints): Show breakpoints in
22311         disassembly buffer.
22312         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22313         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22314         instead of parsing breakpoints buffer.  Fixed old menu references
22315         in `gud-menu-map'.
22317         * fadr.el: Remove.
22319         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22320         (gdb-memory-address): New variable which holds top address of
22321         memory page shown in memory buffer.
22322         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22323         New customization variables.
22324         New functions:
22325         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22326         display the memory buffer.
22327         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22328         buffer display parameters.
22329         (def-gdb-memory-format, gdb-memory-format-binary)
22330         (gdb-memory-format-octal, gdb-memory-format-unsigned)
22331         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22332         Functions for setting memory buffer format.
22333         (gdb-memory-unit-word, gdb-memory-unit-halfword)
22334         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22335         unit size used in memory buffer.
22336         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22337         Switch to next/previous page of memory buffer.
22338         Now using (bindat-get-field) instead of fadr functions.
22340 2009-07-07  Sam Steingold  <sds@gnu.org>
22342         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22343         non-top-level files.
22345 2009-07-07  Kenichi Handa  <handa@m17n.org>
22347         * international/mule-cmds.el (reset-language-environment):
22348         Put the highset priority to the charset iso-8859-1.
22350 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22352         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22353         to the end of the line when locating the block (Bug#700).
22355 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
22357         * net/tramp.el (tramp-handle-write-region): Flush file properties
22358         in case of short track.
22360 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
22362         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22363         Coded custom representation of verilog error regular expressions
22364         to work with Emacs-22's new format.
22365         (verilog-error-regexp-xemacs-alist): Coded custom representation
22366         of verilog error regular expressions to work with XEmacs format.
22367         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22368         error recognition into XEmacs.
22369         (verilog-error-regexp-add-emacs): Hook routine to install verilog
22370         error recognition into Emacs-22.
22372 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22374         * woman.el: Remove stand-alone closing parentheses.
22375         (woman-file-name, woman2-format-paragraphs)
22376         (woman-leave-blank-lines): Code cleanup.
22377         (woman-use-own-frame): Change default to nil.
22378         (woman-italic, woman-bold, woman-unknown, woman-addition):
22379         Change defaults to inherit from default faces.
22380         (woman2-process-escapes): Consume the newline after a stand-alone
22381         filler character (Bug#3651).
22383 2009-07-06  Glenn Morris  <rgm@gnu.org>
22385         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22386         (top-level): Move provide to the end.
22387         (ffap): Remove defunct URL from custom group.
22389         * subr.el (eval-after-load): Doc fix.
22391 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
22393         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22394         `calc-embedded-word' is called twice.
22396 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22398         * files.el (find-alternate-file-other-window, find-alternate-file):
22399         Obey confirm-nonexistent-file-or-buffer.
22401 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
22403         * dired-aux.el (dired-show-file-type): Handle remote files.
22405 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
22407         * desktop.el (desktop-globals-to-save):
22408         Add file-name-history (Bug#2750).
22410 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
22412         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22414 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
22416         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22417         property on entire argument since this is what eshell-lisp-command
22418         expects.
22420 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
22422         * net/tramp-gvfs.el (tramp-gvfs-methods)
22423         (tramp-gvfs-zeroconf-domain)
22424         (tramp-bluez-discover-devices-timeout): Add version flag.
22425         (tramp-gvfs-handler-mounted-unmounted)
22426         (tramp-gvfs-connection-mounted-p): Polish handling of
22427         incompatibilities between GVFS 0.2 and 1.0.
22429 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
22431         * cus-start.el (all): Add make-pointer-invisible.
22433 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
22435         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22436         formatted correctly.
22438 2009-07-02  Juri Linkov  <juri@jurta.org>
22440         * info.el: Virtual Info files and nodes.
22441         (Info-virtual-files, Info-virtual-nodes): New variables.
22442         (Info-current-node-virtual): New variable.
22443         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22444         New functions.
22445         (Info-file-supports-index-cookies): Use Info-virtual-file-p
22446         to check for a virtual file instead of checking a fixed list
22447         of node names.
22448         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22449         instead of ad-hoc processing of "dir" and (apropos history toc).
22450         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22451         instead of ad-hoc processing of "dir" and (apropos history toc).
22452         Reread a file when moving from a virtual node.
22453         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22454         (Info-directory-toc-nodes, Info-directory-find-file)
22455         (Info-directory-find-node): New functions.
22456         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22457         (Info-history): Move part of code to
22458         `Info-history-find-node'.
22459         (Info-history-toc-nodes, Info-history-find-file)
22460         (Info-history-find-node): New functions.
22461         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22462         (Info-toc): Move part of code to `Info-toc-find-node'.
22463         (Info-toc-find-node): New function.
22464         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
22465         the current Info file name to references because now the node
22466         "*TOC*" belongs to the same Info manual.
22467         (Info-toc-build): Rename from `Info-build-toc'.
22468         (Info-toc-nodes): Rename input argument `file' to `filename'.
22469         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22470         instead of ad-hoc processing of ("dir" apropos history toc).
22471         (Info-index-nodes): Use Info-virtual-file-p
22472         to check for a virtual file instead of checking a fixed list
22473         of node names.
22474         (Info-index-node): Add check for `Info-current-node-virtual'.
22475         Raise `save-match-data' higher up the tree to contain
22476         `search-forward' too (bug fix).
22477         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22478         (Info-virtual-index-nodes): New variable.
22479         (Info-virtual-index-find-node, Info-virtual-index): New functions.
22480         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22481         (Info-apropos-file, Info-apropos-nodes): New variables.
22482         (Info-apropos-toc-nodes, Info-apropos-find-file)
22483         (Info-apropos-find-node, Info-apropos-matches): New functions.
22484         (info-apropos): Move part of code to `Info-apropos-find-node' and
22485         `Info-apropos-matches'.
22486         (Info-mode-map): Bind "I" to `Info-virtual-index'.
22487         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22488         for a virtual file instead of checking a fixed list of node names.
22490         * simple.el (async-shell-command): New command.
22492         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22494         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22495         instead of `mount-info'.
22497 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
22499         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22500         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22502 2009-07-02  Kenichi Handa  <handa@m17n.org>
22504         * international/mule.el (set-keyboard-coding-system): Force *-unix
22505         coding-system to avoid eol conversion.
22507 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
22509         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22510         Add handler for `process-file', `shell-command' and
22511         `start-file-process'.
22512         (tramp-gvfs-handle-shell-command)
22513         (tramp-gvfs-handle-start-file-process)
22514         (tramp-gvfs-handle-process-file): New defuns.
22515         (tramp-synce-list-devices): Simplify check for existence of property.
22517 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
22519         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22521 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
22523         * language/korean.el (set-language-info-alist): Add korean-cp949,
22524         cp949 to spec.
22526 2009-07-01  Kenichi Handa  <handa@m17n.org>
22528         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22530         * international/encoded-kb.el: Deleted.
22532         * international/mule.el (set-keyboard-coding-system): Perform the
22533         necessary setup here instead of calling encoded-kbd-setup-display.
22535 2009-07-01  Glenn Morris  <rgm@gnu.org>
22537         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22539 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
22541         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
22543 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
22545         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22546         Handle also the 'rename case, when setting file modes.  (Bug#3712)
22547         (tramp-default-file-modes): Remove execute permissions.
22549         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22550         (top): Add a default for "synce" in `tramp-default-user-alist'.
22551         Add completion function for "synce" method.
22552         (tramp-hal-service, tramp-hal-path-manager)
22553         (tramp-hal-interface-manager, tramp-hal-interface-device):
22554         New defconst.
22555         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22556         (tramp-synce-list-devices, tramp-synce-parse-device-names):
22557         New defuns.
22559         * net/trampver.el: Update release number.
22561 2009-06-30  Kenichi Handa  <handa@m17n.org>
22563         * international/fontset.el (setup-default-fontset): Add CJK fonts
22564         for symbols and the other miscellaneous characters.
22566         * language/korea-util.el (setup-korean-environment-internal):
22567         Make char-width-table suitable for Korean environments.
22568         (exit-korean-environment): Cancel above.
22570         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22571         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22572         setup-function to make char-width-table suitable for respective
22573         environments, and an exit-function to cancel that.
22575         * language/japan-util.el (setup-japanese-environment-internal):
22576         Call use-cjk-char-width-table with arg `ja_JP'.
22578         * international/characters.el (cjk-char-width-table): Delete it.
22579         (cjk-char-width-table-list): New variable.
22580         (use-cjk-char-width-table): New arg local-name.
22581         (use-default-char-width-table): Fix for the case that Emacs is
22582         already using the default char-width-table.
22584 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
22586         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22587         modes mandatory.  (Bug#3712)
22589 2009-06-29  Alan Mackenzie  <acm@muc.de>
22591         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22592         correction between the visible width of TABs and their number of bytes.
22594 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
22596         * server.el (server-buffer-done): Prevent kill-buffer from
22597         prompting by clearing the buffer modification flag (Bug#3696).
22599 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
22601         * progmodes/verilog-mode.el (verilog-beg-of-statement)
22602         (verilog-endcomment-reason-re): Support unique case and priority case.
22603         (verilog-basic-complete-re): Support localparam lineup.
22604         (verilog-beg-of-statement-1): Fix for robustness, unique case.
22605         (verilog-set-auto-endcomments): Fix for unique case, always_comb
22606         commenting.
22607         (verilog-leap-to-case-head): Now support *nested* unique &
22608         priority case statements.
22609         (verilog-auto-lineup): Make just declarations the default (as it
22610         had been).
22611         (verilog-leap-to-case-head): Support priority/unique case statements.
22612         (verilog-auto-lineup): Rework to give users radio buttons to
22613         select the various styles of automatic lineup.
22614         (verilog-error-regexp-alist): Rework to support the XEmacs style
22615         of error regular expressions from compilers, lint tools &
22616         simulators.  Note that GNU Emacs has made it impossible for a mode
22617         to load such things.
22618         (electric-verilog-terminate-line, verilog-indent-declaration)
22619         (verilog-auto-wiure): Rework for radio button selection of
22620         auto-lineup selection of specification of auto lineup.
22621         (verilog-beg-of-statement-1): Redesign to support proper operation
22622         in additional code, based on testing with auto-lineup.
22623         (verilog-calculate-indent, assignments & declarations)
22624         (verilog-backward-token): Enhance to support auto-lineup of
22625         assignments & declarations.
22626         (verilog-in-directive-p, verilog-at-struct-p): New function for
22627         easy test of whether we are.
22628         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22629         to support safe execution at almost anyline.
22630         (verilog-calc-1): Properly support indenting deep inside generate
22631         blocks.
22632         (verilog-init-font): Remove definition & use of verilog-init-font,
22633         as it is redundant with font-lock-defaults.
22634         (verilog-mode): Alter the definition of verilog-font-lock-defaults
22635         to avoid circular calls if syntax-ppss is a function (as is the
22636         case now in 22.x GNU Emacs) as that function would sometimes call
22637         itself, leading to (nearly) infinite recursion.
22638         (verilog-ovm-begin-re, verilog-ovm-end-re)
22639         (verilog-ovm-statement-re, verilog-leap-to-head)
22640         (verilog-backward-token): Add support for OVM macros.  Some are
22641         complete statements, and others open and close scopes like begin
22642         and end.
22643         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22644         (verilog-defun-level-generate-only-re): Really fix the defun-list
22645         compilation issue.
22646         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22647         coverpoint, constraint and cross statements.
22648         (verilog-defun-level-list, verilog-generate-defun-level-list)
22649         (verilog-all-defun-level-list): Redo these specifications - it is
22650         too hard to support eval-when compile aggregation of lists also
22651         built at when-compile time.
22652         (verilog-defun-level-list): Place defconsts of variables used in
22653         building regular expressions which are built in eval-when-compile
22654         bodies in the same eval-when-compile body to facilitate compile
22655         without load.
22656         (verilog-beg-block-re-ordered): Support indenting
22657         virtual/protected tasks and functions.
22658         (verilog-defun-level-list, verilog-in-generate-region-p)
22659         (verilog-backward-ws&directives, verilog-calc-1): Speed up
22660         indentation of some module items (generate items).
22661         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22662         across virtual/protected tasks and functions.
22664 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
22666         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22667         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
22668         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22669         in concatenations.  Reported by Yishay Belkind.
22670         (verilog-auto-ascii-enum): Support one-hot state machines in
22671         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
22672         (verilog-auto-inst, verilog-auto-inst-port): Include interface
22673         modport in AUTOINST and add vl-modport for users.
22674         Reported by David Rogoff.
22675         (verilog-auto-inout-module, verilog-auto-inst)
22676         (verilog-decls-get-interfaces, verilog-insert-definition)
22677         (verilog-insert-one-definition, verilog-read-decls)
22678         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22679         (verilog-sig-modport, verilog-signals-combine-bus)
22680         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22681         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22682         Suggested by David Rogoff.
22683         (verilog-repair-open-comma): Fix non-insertion of comma when
22684         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
22685         (verilog-make-width-expression): Simplify [A-1:0] expression
22686         widths to just {A{1'b0}}.
22687         (verilog-mode): Cleanup checkdoc warnings.
22688         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22689         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22690         inputs/outputs or data type.  Suggested by Vasu Kandadi.
22691         (next-error-last-buffer): Fix byte-compiler warning.
22692         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22693         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22694         or shell command text during AUTO expansion.  Suggested by Tad Truex.
22695         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22696         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22697         Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22698         in AUTOINOUT.  Reported by Matthew Lovell.
22699         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22700         causing use of <= assignments.  Reported by Alex Reed.
22701         (verilog-read-decls): Fix triand, trior, wand, wor to be
22702         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
22703         (verilog-extended-complete-re): Support import "DPI-C" functions.
22704         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22705         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
22706         (verilog-insert-date, verilog-insert-year)
22707         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22708         Windows systems.  Reported by Michael Potts.
22709         (verilog-read-module-name): Fix AUTOINST when the child module
22710         declaration's name is a tick define.  Reported by Elliot Mednick.
22711         (verilog-read-decls): Fix V2K parameter bit subscripts getting
22712         passed to next parameter's definition.  Reported by Bruce T.
22713         (verilog-read-decls): Fix detecting "parameter int" when using
22714         AUTOINSTPARAM.  Reported by Bruce T.
22715         (verilog-goto-defun): Fix goto not finding modules unless first
22716         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
22717         (verilog-mode): Expand -f flag arguments on entry to mode so
22718         verilog-goto-defun will work.  Reported by Lawrence Butcher.
22719         (verilog-getopt): Expand environment variables in -f file
22720         arguments.  Suggested by Lawrence Butcher.
22721         (verilog-set-define): Fix "Symbol's value as variable is void"
22722         when reading enumerations.
22723         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22724         Suggested by Stephen Peltan.
22725         (verilog-read-defines): Fix reading of enumerations in include
22726         files.  Reported by Steve Peltan.
22728 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22730         * files.el (trash-directory): Fix defcustom type.
22732 2009-06-28  Juri Linkov  <juri@jurta.org>
22734         * help-fns.el (describe-function-1): Correctly locate adviced
22735         functions in hyperlink (Bug#2438).
22737 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
22739         * files.el (trash-directory): Change default to nil.
22740         (move-file-to-trash): If trash-directory is nil and
22741         system-move-file-to-trash is unbound, perform freedesktop-style
22742         trashing.
22744 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22746         * files.el (move-file-to-trash): Add freedesktop trash
22747         support (Bug#973).
22749 2009-06-28  Glenn Morris  <rgm@gnu.org>
22751         * autorevert.el (global-auto-revert-non-file-buffers)
22752         (global-auto-revert-mode): Doc fixes.
22754 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
22756         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22758 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
22760         * faces.el (x-handle-named-frame-geometry): Ensure that we have
22761         opened an X connection before calling x-get-resource (Bug#3194).
22763         * play/doctor.el: Remove reference to obsolete website.
22764         (make-doctor-variables): Correct grammar mistake (Bug#2633).
22766 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
22768         Remove find-file-not-found-hook VC method.  (Bug#2757)
22769         * vc-hooks.el (vc-file-not-found-hook)
22770         (vc-default-find-file-not-found-hook): Remove functions.
22771         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22772         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22773         * vc.el:
22774         * vc-hg.el:
22775         * vc-git.el: Do not mention find-file-not-found-hook VC method.
22777 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
22779         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22780         compatibility function for `looking-back'.
22782         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22783         Use `ispell-looking-back'.
22785 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
22787         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22788         rather than `filename'.
22790 2009-06-23  Miles Bader  <miles@gnu.org>
22792         * face-remap.el (text-scale-set): New function.
22794 2009-06-23  Glenn Morris  <rgm@gnu.org>
22796         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22798         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22800         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22802         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22804         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22805         Simplify Persian conditionals.
22807         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22808         variable `filename'.
22810         * comint.el (comint-insert-input): Doc fix.
22812         * Makefile.in (ELCFILES): Fix typo in previous change.
22814 2009-06-23  Miles Bader  <miles@gnu.org>
22816         * cus-start.el: Add entry for `recenter-redisplay'.
22818 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22820         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22821         Add an optional argument for the backend, use it instead of
22822         calling vc-backend.
22823         (vc-mode-line): Add an optional argument for the backend.
22824         Pass the backend to vc-state and vc-working-revision.  Move code for
22825         special handling for vc-state being a buffer to ...
22827         * vc-rcs.el (vc-rcs-find-file-hook):
22828         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
22830         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22831         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22832         vc-stay-local-p and vc-mode-line calls.
22834         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22835         (vc-cvs-diff, vc-cvs-annotate-command)
22836         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22837         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22838         vc-mode-line calls.
22840         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22841         direct comparison.
22842         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22843         backend when calling vc-mode-line.
22844         (vc-register): Do not create a closure for calling the vc register
22845         function, call it directly.
22847 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22849         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22850         to make it obvious item can be clicked.
22852         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22854 2009-06-23  Kenichi Handa  <handa@m17n.org>
22856         * language/korea-util.el (korean-key-bindings): Change the binding
22857         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
22858         same command.
22860 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
22862         Sync with Tramp 2.1.16.
22864         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22866         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
22867         when a loading of a package fails.  Completion function for rsync
22868         is `tramp-completion-function-alist-ssh'.
22869         (all): Replace all calls of `split-string' and
22870         `tramp-split-string' by `tramp-compat-split-string'.
22871         (tramp-default-method): Use `tramp-compat-process-running-p'.
22872         (tramp-default-proxies-alist): Allow also Lisp forms.
22873         (tramp-remote-path): Add choice "Private Directories".
22874         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22875         (tramp-domain-regexp): Allow also "-", "_" and ".".
22876         (tramp-end-of-output): Remove newlines, and add "$" at the end.
22877         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22878         (tramp-debug-message): Insert header line in debug buffer.
22879         (tramp-handle-directory-files-and-attributes-with-stat):
22880         Care about filenames with spaces, or starting with "-".
22881         (tramp-handle-dired-uncache): New defun.
22882         (tramp-handle-insert-directory): Don't flush the directory from
22883         cache, this is handled by `dired-uncache' now.
22884         (tramp-handle-insert-file-contents): Improve error handling.
22885         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22886         Quote `tramp-end-of-output'.
22887         (tramp-action-password): Improve trace message.
22888         (tramp-check-for-regexp): Both echoes must be present, before removing.
22889         (tramp-open-connection-setup-interactive-shell): Trace coding system.
22890         (tramp-compute-multi-hops): Eval cons cells of
22891         `tramp-default-proxies-alist'.
22892         (tramp-maybe-open-connection): Use the same command pattern for
22893         first hop and further hops.
22894         (tramp-wait-for-output): Remove handling of newlines.
22895         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22896         (tramp-split-string): Remove function.  It is handled in
22897         tramp-compat now.
22899         * net/tramp-cmds.el (tramp-bug):
22900         Recommend `tramp-cleanup-all-connections' in the bug mail.
22902         * net/tramp-compat.el (tramp-compat-split-string)
22903         (tramp-compat-process-running-p): New defuns.
22905         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22906         for `dired-uncache'.
22908         * net/tramp-gvfs.el: New package.
22910         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22911         Add handler for `dired-uncache'.
22912         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22914         * net/trampver.el: Update release number.  Make version check fit
22915         for SXEmacs 22.
22917 2009-06-22  Jim Meyering  <meyering@redhat.com>
22919         Automatically handle .xz suffix (XZ-compressed files), too.
22920         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22921         XZ is the successor to LZMA: <http://tukaani.org/xz/>
22923 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
22924             Nick Roberts  <nickrob@snap.net.nz>
22926         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22927         repository (http://sphinx.net.ru/hg/gdb-mi/).
22929 2009-06-22  Glenn Morris  <rgm@gnu.org>
22931         * files.el (dir-locals-collect-mode-variables): Allow for any number of
22932         `mode' and `eval' entries.  (Bug#3430)
22934         * Makefile.in (ELCFILES): Add fadr.elc.
22936         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22937         differing behavior of \n and ^ in strings.  (Bug#3385)
22939         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22941         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22942         property.
22943         (lisp-indent-function): Make it a defcustom.
22945 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
22947         * progmodes/gdb-ui.el: Replace with ...
22948         * progmodes/gdb-mi.el: ... this file.
22949         * progmodes/gud.el: Modify for gdb-mi.el.
22951 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
22953         * fadr.el: New file.
22955 See ChangeLog.14 for earlier changes.
22957 ;; Local Variables:
22958 ;; coding: utf-8
22959 ;; End:
22961   Copyright (C) 2009-2011  Free Software Foundation, Inc.
22963   This file is part of GNU Emacs.
22965   GNU Emacs is free software: you can redistribute it and/or modify
22966   it under the terms of the GNU General Public License as published by
22967   the Free Software Foundation, either version 3 of the License, or
22968   (at your option) any later version.
22970   GNU Emacs is distributed in the hope that it will be useful,
22971   but WITHOUT ANY WARRANTY; without even the implied warranty of
22972   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22973   GNU General Public License for more details.
22975   You should have received a copy of the GNU General Public License
22976   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.