Merge changes made in Gnus trunk.
[emacs/old-mirror.git] / lisp / ChangeLog
blob740920ce881c5937a033d61405ed9dfab985652e
1 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
3         * allout.el (allout-make-topic-prefix) (allout-rebullet-heading):
4         Invert the roles of character and string values for INSTEAD, so a
5         string is used for the more common case of a defaulting prompt.
7 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9         * progmodes/ruby-mode.el (ruby-backward-sexp):
10         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11         * play/gamegrid.el (gamegrid-make-face):
12         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14         * notifications.el (notifications-notify):
15         * net/xesam.el (xesam-search-engines):
16         * net/quickurl.el (quickurl-list-insert):
17         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
21         * startup.el (command-line): Update package subdirectory regexp.
23 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
25         * allout.el (allout-abbreviate-flattened-numbering)
26         (allout-mode-deactivate-hook): Fix up obsolescence "date".
28         * subr.el (read-char-choice): Only show the cursor after the prompt,
29         not after the answer.
31 2011-03-15  Kevin Ryde  <user42@zip.com.au>
33         * help-fns.el (variable-at-point): Skip leading quotes, if any
34         (bug#8253).
36 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
38         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
39         warning message.
41 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
43         * shell.el (shell): When called interactively, offer to change the
44         shell file name on remote hosts.
46 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
48         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
49         integration for LDAP parameters.  The host, base, user or binddn,
50         and secret tokens can be specified in a netrc file, for instance.
51         This is optional because an `auth-source' parameter must be
52         specified in the search attributes.
54 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
56         * help.el (describe-mode): Link to the mode's definition (bug#8185).
58 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
60         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
61         into declaration.  Remove redundant and harmful binding.
63 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
65         * files.el (file-ownership-preserved-p): Pass `integer' as an
66         explicit 2nd argument to `file-attributes'.  If the file's owner
67         is the Administrators group on Windows, and the current user is
68         Administrator, consider that a match.
70         * server.el (server-ensure-safe-dir): Consider server directory
71         safe on MS-Windows if its owner is the Administrators group while
72         the current Emacs user is Administrator.  Use `=' to compare
73         numerical UIDs, since they could be integers or floats.
75 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
77         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
79 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
81         Sync with Tramp 2.2.1.
83         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
85         * net/trampver.el: Update release number.
87 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
89         * progmodes/compile.el (compilation--previous-directory): Fix up
90         various nil/dead-marker mismatches (bug#8014).
91         (compilation-directory-properties, compilation-error-properties):
92         Don't call it at a position past the one we're about to change.
94         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
95         Disable obsolescence warnings in the file that declares it.
97 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
99         * allout-widgets.el (allout-widgets-tally): Initialize
100         allout-widgets-tally as a hash table rather than nil to prevent
101         mode-line redisplay warnings.
102         Also, clarify the module description and fix a comment typo.
104 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
106         * help-fns.el (describe-variable): Don't complete keywords.
107         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
109 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
111         * emacs-lisp/package.el (package-version-join): Impose a standard
112         string representation for pre/alpha/beta version lists.
113         (package-unpack-single): Standardize the directory name by passing
114         it through package-version-join.
115         (package-strip-rcs-id): Accept any version string that does not
116         signal an error in version-to-list.
118 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
120         * simple.el (delete-trailing-whitespace): Return nil for the
121         benefit of `write-file-functions'.
123 2011-03-10  Glenn Morris  <rgm@gnu.org>
125         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
127         * vc/vc-git.el (vc-git-program): New option.
128         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
129         (vc-git--call): Use it.
131         * eshell/esh-util.el (eshell-condition-case): Doc fix.
133         * cus-edit.el (Custom-newline): If no button at point, look
134         for a subgroup button at start-of-line.  (Bug#2298)
136         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
138 2011-03-10  Julien Danjou  <julien@danjou.info>
140         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
141         `cursor-type' is nil.
143 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
145         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
147 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
149         * allout.el Summary: Change so yank of distinctive-bullet items
150         preserves the existing header prefix, rebulleting it if necessary,
151         rather than replacing it.  This is necessary for proper operation
152         of cooperative addons like allout-widgets.
153         (allout-make-topic-prefix, allout-rebullet-heading): Change
154         SOLICIT arg to INSTEAD, and interpret additionally a string value
155         as alternate bullet to be used, instead of prompting the user for
156         a bullet character.
158 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
160         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
161         not use `tramp-file-name-port', because this returns also
162         `tramp-default-port'.
164 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
166         * net/rcirc.el (rcirc-handler-001): Remove useless
167         with-rcirc-process-buffer.
168         (rcirc-check-auth-status): Swap arguments to string-match.
170 2011-03-09  Glenn Morris  <rgm@gnu.org>
172         * shell.el (shell-mode):
173         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
175         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
176         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
178 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
180         * emacs-lisp/package.el (package-refresh-contents)
181         (package-menu-execute): Use condition-case-no-debug.
183 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
185         * simple.el (shell-command-to-string): Use `process-file'.
187         * emacs-lisp/package.el (package-tar-file-info): Handle also
188         remote files.
190         * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
191         `equal' for upload base check.
193 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
195         * textmodes/texinfo.el (texinfo-environments):
196         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
198 2011-03-08  Glenn Morris  <rgm@gnu.org>
200         * cus-start.el (cursor-in-non-selected-windows):
201         Fix :set quoting oddness.  (Bug#8192)
203         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
204         in some setf expressions.  (Bug#2159)
206 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
208         * custom.el (custom-available-themes): Return themes in
209         alphabetical order.
211 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
213         * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
214         application of patch from Alan Mackenzie (Bug#7595).
216 2011-03-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
218         * net/rcirc.el (rcirc-connect): Fix PASS bug.
220 2011-03-07  Glenn Morris  <rgm@gnu.org>
222         * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
223         Give an explicit error if failed to make writable.  (Bug#6146)
225 2011-03-07  Ed Reingold  <reingold@emr.cs.iit.edu>
227         * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
228         Add optional `after-sunset' argument.  (Bug#8190)
230 2011-03-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
232         * play/morse.el (nato-alphabet, nato-region, denato-region):
233         New variable and functions.  (Bug#2288)
234         (morse-region, unmorse-region): Barf if read-only.
236 2011-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
238         * progmodes/gud.el (gdb-script-syntax-propertize-function):
239         Don't change the syntax of a \n that closes a comment (bug#8169).
241 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
243         * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
244         defcustom.
245         (package--update-file): Doc fix.  Accept relative file names.
246         (package--archive-contents-from-file): Remove the argument, since
247         it's necessarily always "archive-contents".
248         (package-maint-add-news-item): Pass relative file name args to
249         package--update-file.
250         (package-upload-buffer-internal): Prompt for a destination if
251         package-archive-upload-base is invalid.  Create the directory if
252         it does not exist.
253         (package-upload-buffer, package-upload-file): Doc fix.
255 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
257         * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
258         and move isearch-yank-line to M-s C-e (Bug#8183).
260 2011-03-06  Alan Mackenzie  <acm@muc.de>
262         * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
263         (c-guess-basic-syntax): Move CASE 19 to a different place,
264         correctly to process template-args-cont lines.
266 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
268         * calc/calc-ext.el (calc-init-extensions):
269         Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
270         and calc-nplevel, respectively.  Add keybindings for calc-spn,
271         calc-midi and calc-freq.  Add autoloads for calcFunc-spn,
272         calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
274         * calc/calc-units.el (calc-dblevel): Rename from
275         calc-logunits-dblevel.
276         (calc-nplevel): Rename from calc-logunits-nplevel.
277         (math-midi-round, math-freqp, math-midip, math-spnp)
278         (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
279         (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
280         (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
281         (math-notes): New variable.
283         * calc/calc.el (calc-note-threshold): New variable.
285 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
287         * emacs-lisp/package.el (package-archives): Accept either ordinary
288         directory names, in addition to HTTP URLs.
289         (package--with-work-buffer): New macro.   Handle normal directories.
290         (package-handle-response): Don't display the failing buffer.
291         (package-download-single, package-download-tar)
292         (package--download-one-archive): Use package--with-work-buffer.
293         (package-archive-base): Rename from package-archive-url.
295 2011-03-06  Glenn Morris  <rgm@gnu.org>
297         * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
298         (xmodmap-generic-mode): Respect generic-extras-enable-list.
300 2011-03-06  Daniel Clemente  <dcl441-bugs@yahoo.com>  (tiny change)
302         * generic-x.el (xmodmap-generic-mode): New.  (Bug#2065)
304 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
306         * allout.el (allout-init, allout-prefixed-keybindings)
307         (allout-unprefixed-keybindings):
308         * progmodes/prolog.el (prolog-find-term):
309         Fix typos in docstrings.
311 2011-03-06  Nikolaj Schumacher  <me@nschum.de>  (tiny change)
313         * emacs-lisp/elp.el (elp-results): Fix off-by-one in header.  (Bug#2746)
315 2011-03-06  Kevin Ryde  <user42@zip.com.au>
317         * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc.  (Bug#5326)
319 2011-03-06  Michael Shields  <shields@msrl.com>  (tiny change)
321         * window.el (one-window-p, walk-windows, display-buffer):
322         Doc fixes.  (Bug#5567)
324 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
326         * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
327         of the variable if it exists.
329 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
331         * bookmark.el:
332         * desktop.el:
333         * emacs-lock.el:
334         * ps-print.el:
335         * saveplace.el:
336         * net/tramp-cache.el:
337         * obsolete/fast-lock.el:
338         * textmodes/reftex.el:
339         Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
341 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
343         * files.el (delete-directory, copy-directory, list-directory):
344         Use read-directory-name.
346         * find-file.el (ff-find-the-other-file):
347         * net/ange-ftp.el (ange-ftp-make-directory):
348         * printing.el (pr-interactive-dir):
349         * progmodes/ada-prj.el (ada-prj-load-directory):
350         * progmodes/ebnf2ps.el (ebnf-print-directory)
351         (ebnf-spool-directory, ebnf-eps-directory)
352         (ebnf-syntax-directory):
353         * shell.el (shell):
354         * speedbar.el (speedbar-create-directory):
355         * vc/emerge.el (emerge-merge-directories):
356         * vc/vc-dir.el (vc-dir):
357         * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
359 2011-03-05  Chong Yidong  <cyd@stupidchicken.com>
361         * help-mode.el (help-buffer): If we are to return the current
362         buffer, signal an error if it's not in Help mode (Bug#8147).
364 2011-03-05  Reuben Thomas  <rrt@sc3d.org>
366         * files.el (file-name-version-regexp): Handle backup files of the
367         form `foo.js.~HEAD~1~' (Bug#8159).
369 2011-03-05  Glenn Morris  <rgm@gnu.org>
371         * eshell/esh-var.el: Don't require esh-test when compiling.
372         * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
373         * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
374         * eshell/esh-test.el: Move to ../../test/eshell.el.
376 2011-03-05  David Engster  <deng@randomsample.de>
378         * files.el (save-some-buffers): Report the names of buffers saved
379         automatically due to buffer-save-without-query (Bug#8134).
381 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
383         * net/rcirc.el: Add QuakeNet authentication support.
384         (rcirc-authinfo, rcirc-check-auth-status)
385         (rcirc-authenticate): Support QuakeNet.
387 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
389         * net/rcirc.el: Add functionality to authenticate before
390         autojoining channels.
391         (rcirc-authenticate-before-join): New option.
392         (rcirc-authenticated-hook): New variable.
393         (rcirc-connect): Make local variable rcirc-user-authenticated.
394         (rcirc-handler-001): Respect rcirc-authenticate-before-join.
395         (rcirc-check-auth-status, rcirc-join-channels-post-auth):
396         New functions.
397         (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
398         Call rcirc-check-auth-status.
400 2011-03-05  Alex Harsanyi  <AlexHarsanyi@gmail.com>
402         * net/soap-client.el (soap-namespace-put-link): Check if the target
403         name is fully qualified -- use only the name part.
404         (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
405         types, treated the same as xsd:sequence.  (Bug#8166)
407 2011-03-05  Eli Zaretskii  <eliz@gnu.org>
409         * files.el (find-file-noselect): Don't ask about re-visiting
410         non-literally if the file is already visited in image-mode.
411         (Bug#8177)
413 2011-03-05  Glenn Morris  <rgm@gnu.org>
415         * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
416         (eshell-mode): Use eshell-kill-buffer-function.
417         Run the -initialize functions independently of the -load-hooks.
418         * eshell/esh-proc.el (eshell-kill-process-function): New function.
419         (eshell-gather-process-output, eshell-sentinel)
420         (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
421         Use eshell-kill-process-function.
422         * eshell/em-alias.el (eshell-alias-load-hook):
423         * eshell/em-banner.el (eshell-banner-load-hook):
424         * eshell/em-cmpl.el (eshell-cmpl-load-hook):
425         * eshell/em-dirs.el (eshell-dirs-load-hook):
426         * eshell/em-glob.el (eshell-glob-load-hook):
427         * eshell/em-hist.el (eshell-hist-load-hook):
428         * eshell/em-pred.el (eshell-pred-load-hook):
429         * eshell/em-prompt.el (eshell-prompt-load-hook):
430         * eshell/em-rebind.el (eshell-rebind-load-hook):
431         * eshell/em-script.el (eshell-script-load-hook):
432         * eshell/em-smart.el (eshell-smart-load-hook):
433         * eshell/em-term.el (eshell-term-load-hook):
434         * eshell/em-unix.el (eshell-unix-load-hook):
435         * eshell/esh-arg.el (eshell-arg-load-hook):
436         * eshell/esh-cmd.el (eshell-cmd-load-hook):
437         * eshell/esh-ext.el (eshell-ext-load-hook):
438         * eshell/esh-io.el (eshell-io-load-hook):
439         * eshell/esh-mode.el (eshell-exit-hook):
440         * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
441         * eshell/esh-var.el (eshell-var-load-hook):
442         Set default hook values to nil.  (Bug#5375)
444         * eshell/esh-module.el (eshell-module-unload-hook)
445         (eshell-modules-list): Remove leading * from defcustom docs.
447         * eshell/esh-util.el (eshell-for): Make it obsolete.
448         * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
449         * eshell/em-dirs.el (eshell-save-some-last-dir):
450         * eshell/em-hist.el (eshell-save-some-history)
451         (eshell-hist-parse-modifier):
452         * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
453         (eshell-ls-entries):
454         * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
455         * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
456         (eshell/which):
457         * eshell/esh-ext.el (eshell-find-interpreter):
458         * eshell/esh-mode.el (eshell-mode):
459         * eshell/esh-module.el (eshell-unload-extension-modules):
460         * eshell/esh-proc.el (eshell-process-interact):
461         * eshell/esh-test.el (eshell-test):
462         * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
463         * eshell/esh-var.el (eshell/env, eshell-environment-variables)
464         (eshell-variables-list):
465         * eshell/eshell.el (eshell-unload-all-modules):
466         Replace eshell-for with dolist.
468 2011-03-04  Glenn Morris  <rgm@gnu.org>
470         * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0.  (Bug#8170)
472 2011-03-04  Tom Tromey  <tromey@redhat.com>
474         * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
476 2011-03-04  Glenn Morris  <rgm@gnu.org>
478         * outline.el (outline-regexp): No longer allow nil.
479         (outline-heading-end-regexp): Add safety predicate.  (Bug#7619)
481         * net/browse-url.el (browse-url):
482         Handle deleted default-directory.  (Bug#6077)
484         * recentf.el (recentf-include-p): In case of a buggy predicate,
485         err on the side of including, not excluding.  (Bug#5843)
487 2011-03-04  Jay Belanger  <jay.p.belanger@gmail.com>
489         * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
490         variables as units.
492 2011-03-04  Bob Rogers  <rogers@rgrjr.dyndns.org>
494         * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
495         if there is no node.  (Bug#3261)
497 2011-03-04  Leo  <sdl.web@gmail.com>
499         * vc/diff-mode.el (diff-mode): Fix whitespace-style.  (Bug#8139)
501         * time.el (display-time-world-list): Fix typo.  (Bug#7571)
503 2011-03-04  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
505         * cus-edit.el (custom-buffer-create-internal):
506         Split search string before passing it to `customize-apropos' (bug#8136).
508 2011-03-04  Drew Adams  <drew.adams@oracle.com>
510         * image-dired.el (image-dired-cmd-read-exif-data-options):
511         Fix typo in docstring (bug#8156).
513 2011-03-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
515         * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
517 2011-03-03  Christian Ohler  <ohler@gnu.org>
519         * emacs-lisp/ert.el (ert--explain-equal): New function.
520         (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
521         All callers changed.
522         (ert--explain-equal-including-properties): Renamed from
523         `ert--explain-not-equal-including-properties'.  All callers
524         changed.
526 2011-03-03  Christian Ohler  <ohler@gnu.org>
528         * emacs-lisp/ert.el (ert--stats-set-test-and-result)
529         (ert-char-for-test-result, ert-string-for-test-result)
530         (ert-run-tests-batch, ert--print-test-for-ewoc):
531         Handle `ert-test-quit'.
533 2011-03-03  David Abrahams  <dave@boostpro.com>  (tiny change)
535         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
536         Move ediff-defvar-local calls after defcustoms.  (Bug#1821)
538 2011-03-03  Glenn Morris  <rgm@gnu.org>
540         * files.el (file-truename): Doc fix.  (Bug#2341)
542 2011-03-03  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
544         * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
546 2011-03-03  Vagn Johansen  <gonz808@hotmail.com>  (tiny change)
548         * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
549         programs output backslashes.  (Bug#7663)
551 2011-03-03  Glenn Morris  <rgm@gnu.org>
553         * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
554         (mail-mode): Remove mail-sent-via from the doc.
555         (mail-sent-via): Make it obsolete.  (Bug#1776)
557         * progmodes/grep.el (grep-highlight-matches): Doc fix.
558         (grep-process-setup): No highlighting without font-lock.  (Bug#8084)
560         * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
561         with no parents.  (Bug#8025)
563 2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>
565         * password-cache.el (password-in-cache-p): Add autoload.
567 2011-03-02  Glenn Morris  <rgm@gnu.org>
569         * man.el (Man-support-local-filenames): Also handle Red Hat's man.
570         * dired-x.el (Man-support-local-filenames): Autoload it.
571         (dired-guess-shell-alist-default): Also handle Red Hat's man.
573         * dired-x.el (dired-default-directory-alist, dired-default-directory):
574         Mark as obsolete.
575         (dired-smart-shell-command): Just call dired-current-directory.
577         * dired-x.el (dired-jump-other-window): Add autoload.
578         (dired-default-directory-alist, dired-default-directory): Doc fixes.
579         (dired-default-directory-alist): Mark as risky.
581         * dired-x.el (dired-omit-here-always): Make it obsolete.
583 2011-03-02  Chong Yidong  <cyd@stupidchicken.com>
585         * textmodes/artist.el (artist-curr-go): Default to pen-line.
586         (artist-select-op-pen-line): New function.
587         (artist-menu-map): New variable.
588         (artist-mode-map): Add a menu to the menu-bar.
590 2011-03-02  Jay Belanger  <jay.p.belanger@gmail.com>
592         * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
593         when evaluating.
595         * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
596         New function.
597         (math-logunits-add, math-logunits-mul, math-logunits-divide):
598         (math-logunits-quant, math-logunits-level):
599         Use `math-conditional-apply' and `math-conditional-pow' to evaluate
600         functions.
601         (math-logunits-level): Extract units from ratio.
603 2011-03-01  Juanma Barranquero  <lekktu@gmail.com>
605         * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
607 2011-03-01  Glenn Morris  <rgm@gnu.org>
609         * calendar/cal-hebrew.el (calendar-hebrew-birthday)
610         (diary-hebrew-birthday): Rename and rework functions added
611         in previous change.
613 2011-03-01  Ed Reingold  <reingold@emr.cs.iit.edu>
615         * calendar/cal-hebrew.el (hebrew-calendar-birthday)
616         (diary-hebrew-birthday): New functions.
618 2011-03-01  Glenn Morris  <rgm@gnu.org>
620         * dired.el (dired-safe-switches-p): Beef it up.
621         (dired-actual-switches): Use it for the safe-local prop.  (Bug#3230)
623 2011-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
625         * dired.el (dired-safe-switches-p): New function.
627 2011-03-01  Glenn Morris  <rgm@gnu.org>
629         * files.el (dir-locals-collect-variables):
630         Add the ability to exclude subdirectories.  (Bug#8100)
632         * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
634 2011-02-28  Christoph Scholtes  <cschol2112@googlemail.com>
636         * ido.el (ido-everywhere): Doc fix.
637         (ido-mode): Doc fix.
639 2011-02-28  Glenn Morris  <rgm@gnu.org>
641         * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
643 2011-02-28  Michael Albinus  <michael.albinus@gmx.de>
645         * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
646         shadows.
648 2011-02-28  Antoine Levitt  <antoine.levitt@gmail.com>
650         * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
652 2011-02-28  Juanma Barranquero  <lekktu@gmail.com>
654         * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
655         Fix typos in docstrings.
657 2011-02-28  Stephen Berman  <stephen.berman@gmx.net>
659         * dired-aux.el (dired-update-file-line):
660         Fix 2010-11-09 change.  (Bug#8131)
662 2011-02-28  Eli Zaretskii  <eliz@gnu.org>
664         * international/mule-cmds.el (set-default-coding-systems): Use the
665         -unix variant of encoding in default-keyboard-coding-system.
666         (Bug#8122)
668 2011-02-27  Chong Yidong  <cyd@stupidchicken.com>
670         * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
672 2011-02-27  Prestoo Ten  <prestooten@gmail.com>  (tiny change)
674         * term/screen.el: New file (Bug#2650).
676 2011-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
678         * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
679         (pcase-mutually-exclusive-predicates): New var.
680         (pcase--split-consp, pcase--split-pred): Use it.
681         (pcase--split-equal, pcase--split-member): When splitting against
682         a pure predicate, run it to know the outcome.
683         (pcase--u1): Mark vars that are actually used.
684         (pcase--q1): Avoid introducing unused vars.
686 2011-02-27  Jay Belanger  <jay.p.belanger@gmail.com>
688         * calc/calc-ext.el (calc-init-extensions):
689         Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
691         * calc/calc-math.el (calcFunc-log10): Don't signal an error in
692         symbolic mode.
694         * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
695         argument is a variable.
697 2011-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
699         * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
700         (aput, adelete, amake): Replace `eval' -> `symbol-value'.
701         Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
703 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
705         * password-cache.el (password-in-cache-p): Convenience function to
706         check if a key is in the cache, even if the value is nil.
708 2011-02-25  Jambunathan K  <kjambunathan@gmail.com>
710         * emacs-lisp/package-x.el (package--archive-contents-from-url)
711         (package--archive-contents-from-file): New functions.
712         (package-update-news-on-upload): New var.
713         (package-upload-buffer-internal): Extract archive-contents from
714         package-archive-upload-base if it is not found at archive-url.
715         Obey package-update-news-on-upload.
716         (package-upload-buffer, package-upload-file): Doc fix.
718 2011-02-24  Glenn Morris  <rgm@gnu.org>
720         * files-x.el (modify-dir-local-variable): Handle dir-locals from
721         the cache, and from non-file sources.
723         * help-fns.el (describe-variable): Return consistent results when a
724         dir-local from a file came from the cache or did not.  (Bug#8095)
725         If a dir-local has no associated file, say it came from a "directory".
727         * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
728         (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
730         * files.el (dir-locals-find-file): Doc fix.
731         Fix the check for cache elements that have no associated file,
732         and the mtime check for those that do.  (Bug#8095)
734         * dired-x.el (dired-hack-local-variables):
735         Handle interrupts during hacking local variables.  (Bug#5216)
737         * emacs-lisp/autoload.el (autoload-save-buffers)
738         (autoload-find-destination, update-directory-autoloads):
739         Avoid prompts when updating autoloads.
741 2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
743         * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
745 2011-02-23  Kenichi Handa  <handa@m17n.org>
747         * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
748         error when a multipart boundary in the nested multipart is found.
750         * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
751         header components.
753 2011-02-23  Glenn Morris  <rgm@gnu.org>
755         * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
756         * dired-x.el (dired-omit-mode): Safe if boolean.
757         (dired-enable-local-variables): Fix doc and custom type.
758         (dired-enable-local-variables, dired-local-variables-file)
759         (dired-hack-local-variables): Make obsolete.
760         (dired-omit-here-always): Use dir-locals.el instead.
762         * files.el (safe-local-eval-forms): Add the write-file-hooks version.
764 2011-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
766         * help-fns.el (describe-function-1): Don't signal an error just because
767         the DOC file disappeared.
769 2011-02-22  Seppo Sade  <sepposade1@gmail.com>  (tiny change)
771         * eshell/esh-ext.el (eshell-external-command): Do not restrict
772         remote check to "ftp".  (Bug#8089)
774 2011-02-21  Alan Mackenzie  <acm@muc.de>
776         Fix bug #7930.
777         * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
778         in macros finding their way into c-state-nonlit-pos-cache.
779         Strengthen the comments.
780         (c-state-dump): New commented out diagnostic routine.
782 2011-02-21  Michael Albinus  <michael.albinus@gmx.de>
784         * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
785         `field' property of `rfn-eshadow-overlay'.
787 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
789         * net/netrc.el (netrc-parse): Comment fix.
791 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
793         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
794         Autoload.  Add optional arg FRAME, and pass it to color-values.
795         (color-complement): Caller changed.  Doc fix.
796         (color-gradient): Rewrite for better clarity and efficiency.
798         * faces.el (color-values): Use cond for clarity.  Doc fix.
800         * facemenu.el (color-rgb-to-hsv): Delete; use the version in
801         color.el instead.
802         (list-colors-sort-key, list-colors-print):
803         Use color-normalized-values.
805 2011-02-20  Drew Adams  <drew.adams@oracle.com>
807         * color.el: First part of merge from hexrgb.el.
808         (color-rgb-to-hex): Rename from color-rgb->hex.
809         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
810         saturation to zero if the value is too small.
811         (color-rgb-to-hsl): Rename from color-rgb->hsl.
812         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
813         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
814         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
815         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
816         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
817         (color-cie-de2000): Doc fix.
819 2011-02-20  Alan Mackenzie  <acm@muc.de>
821         * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
822         locating the beginning of a macro.  (Bug#7595)
824 2011-02-20  Glenn Morris  <rgm@gnu.org>
826         * edmacro.el (edmacro-eight-bits): Make it a defcustom.
827         Don't autoload it.
829         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
830         (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
832 2011-02-19  Dmitry Bolshakov  <dmitry.bolshakov@bridge-quest.com>
833             Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
835         * progmodes/hideshow.el (hs-find-block-beginning)
836         (hs-hide-level-recursive): Ignore comments when parsing braces
837         (Bug#8036).
839 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
841         * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
842         (vc-bzr-pull): Use it.
844 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
846         * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
847         (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
848         but returning an alist.  Ignore comments in bzr conffile.
849         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
850         (vc-bzr-error-regex-alist): New var.
851         (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
853         * vc/vc-dispatcher.el (vc-do-async-command):
854         Bind inhibit-read-only to t.
856         * progmodes/compile.el (compilation--flush-directory-cache):
857         Handle the case where cdr of compilation--flush-directory-cache
858         points to no buffer, which can occur if we previously switched to
859         compilation-mode in a pregenerated buffer.
861 2011-02-19  Kenichi Handa  <handa@m17n.org>
863         * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
864         get the header copy into the temporary buffer.
865         (rmail-mime-insert-decoded-text): Ignore us-ascii.
866         (rmail-show-mime): When rmail-mime-coding-system is nil, set
867         buffer-file-coding-system to undecided.
869 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
871         * international/mule-cmds.el (read-char-by-name, ucs-insert):
872         Document completion with asterisk and a substring.
874 2011-02-19  Glenn Morris  <rgm@gnu.org>
876         * files.el (find-file-literally): Doc fix.
878         * simple.el (rfc822-goto-eoh): Give it a doc-string.
880         * log-edit.el (log-edit-insert-changelog):
881         Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
883 2011-02-19  Glenn Morris  <rgm@gnu.org>
885         * dired-x.el: Don't require dired-aux.
886         (dired-do-create-files, dired-mark-read-regexp)
887         (dired-do-create-files-regexp): Autoload from dired-aux.
889         * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
890         * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
892         * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
893         * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
895         * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
896         * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
897         (dired-clean-up-buffers-too): Declare.
899         * dired-x.el (dired-initial-position): Merge into dired.el's version.
900         * dired.el (dired-initial-position): Merge dired-x's version here.
901         (dired-find-subdir): Declare.
903         * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
904         * dired-aux.el (dired-add-entry): Give it a doc-string.
905         Merge dired-x's dired-omit handling here.
906         (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
908         * international/mule-diag.el (list-input-methods-1):
909         Indent all lines of multi-line doc-strings.  (Bug#8066)
911 2011-02-18  Chong Yidong  <cyd@stupidchicken.com>
913         Fix 2011-02-02 changes.
915         * apropos.el (apropos-print): Call apropos-mode before setting up
916         buffer variables.  Use inhibit-read-only.
918         * emacs-lisp/package.el (package--list-packages):
919         Call package-menu-mode before setting up buffer variables.
921         * play/solitaire.el (solitaire): Call solitaire-mode before
922         setting up buffer variables.  Use inhibit-read-only.
924 2011-02-18  Lawrence Mitchell  <wence@gmx.li>
926         * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
927         Bind case-fold-search to nil when looking for end of here-doc.
929 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
931         * image-mode.el (image-toggle-display-image):
932         Set find-file-literally non-nil in buffers visiting binary image
933         files.  (Bug#8047)
935 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
937         * files.el (cd): Make completion obey cd-path (bug#7924).
939 2011-02-18  Glenn Morris  <rgm@gnu.org>
941         * progmodes/prolog.el: Don't require compile when compiling.
942         (compilation-shell-minor-mode, compilation-error-regexp-alist)
943         (compilation-forget-errors, compilation-fake-loc)
944         (compilation-parse-errors-function, compilation-error-list): Declare.
945         (prolog-inferior-mode): Require 'compile.
947         * emulation/cua-base.el (pc-selection-mode): Declare.
949         * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
950         (customize-object): Add autoload cookie.
951         * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
952         (eieio-browse, describe-class, eieio-describe-class)
953         (eieio-describe-constructor, describe-generic, eieio-describe-generic)
954         (eieio-help-mode-augmentation-maybee): Add autoload cookies.
955         * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
956         * Makefile.in (autoloads): Make eieio.el writable.
958         * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
959         (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
960         (dired-hack-local-variables): Use inhibit-read-only.
961         (dired-guess-default): Simplify.
962         (dired-make-relative-symlink): Use dotimes.
963         (dired-simultaneous-find-file): Use dolist.
964         (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
965         (dired-x-hands-off-my-keys): Doc fix.
966         (dired-x-bind-find-file): Doc fix.  Use remapping.
967         (after-init-hook): No need to add dired-x-bind-find-file.
968         (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
969         No need to call expand-file-name.
970         (dired-filename-at-point): Remove unused locals `end', `filename'.
972 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
974         * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
976 2011-02-18  Christian Ohler  <ohler@gnu.org>
978         * emacs-lisp/ert.el (ert--setup-results-buffer)
979         (ert-results-pop-to-backtrace-for-test-at-point)
980         (ert-results-pop-to-messages-for-test-at-point)
981         (ert-results-pop-to-should-forms-for-test-at-point)
982         (ert-results-pop-to-timings): Revert parts of change 103083 that
983         were incorrect and unnecessary.  This should make `make check'
984         pass again.
986 2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
988         * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
989         (allout-widgets-icons-dark-subdir): Track relocations of icons.
990         * lisp/allout.el: Remove commentary about remove encryption
991         passphrase mnemonic support and verification.
992         (allout-encrypt-string): Recognize epg failure to decrypt gpg2
993         armored text using gpg1, and indicate that the gpg version *might*
994         be the problem in the error message.
996 2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
998         * net/rcirc.el (rcirc-float-time): New function.
999         (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1000         (rcirc-ctcp-sender-PING): Use it.
1002 2011-02-17  Glenn Morris  <rgm@gnu.org>
1004         * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1005         (speedbar-update-flag, speedbar-fetch-etags-command)
1006         (speedbar-fetch-etags-arguments):
1007         * term.el (term-buffer-maximum-size, term-input-chunk-size)
1008         (term-completion-autolist, term-completion-addsuffix)
1009         (term-completion-recexact, term-completion-fignore):
1010         * term/sup-mouse.el (sup-mouse-fast-select-window):
1011         * term/x-win.el (x-select-request-type):
1012         Convert some defvars with "*" to defcustoms.
1014         * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
1016         * vc/vc.el (vc-default-previous-version):
1017         Remove alias that points nowhere.  (Bug#4496)
1019         * dired-x.el (dired-clean-up-after-deletion):
1020         kill-buffer does not need save-excursion.
1021         (dired-do-run-mail): Doc fix.
1022         (dired-filename-at-point): Doc fix.
1023         Use looking-at, and skip-chars rather than re search.
1025         * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1027 2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
1029         * allout-widgets.el: New allout extension that shows allout
1030         outline structure with graphical widgets.  'allout-widgets'
1031         customize group is an 'allout' subgroup, for easy discovery.
1033         * allout.el: Include PGP and GnuPG in Keywords, and other
1034         commentary refinements.
1035         (allout-abbreviate-flattened-numbering): Rename to
1036         allout-flattened-numbering-abbreviation, and
1037         define-obsolete-variable-alias the old name.
1038         (allout-flattened-numbering-abbreviation): Rename from
1039         allout-abbreviate-flattened-numbering.
1040         (allout-mode-p): Include among autoloads, for use by other modes
1041         with impunity.
1042         (allout-listify-exposed):
1043         Use allout-flattened-numbering-abbreviation.
1044         (allout-encrypt-string): Use set-buffer-multibyte directly.
1045         (allout-set-buffer-multibyte): Remove.
1047 2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1049         * simple.el (just-one-space): Remove useless `or' call.
1051 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
1053         * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1054         (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1055         (soap-decoded-multi-refs, soap-current-wsdl)
1056         (soap-encoded-namespaces): Rename CL-style *...* variables.
1058 2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
1060         * net/soap-client.el: Add "comm" and "hypermedia" to the
1061         keywords.  Reflow too long lines.
1063         * net/soap-inspect.el: Ditto.  Require 'cl.
1065 2011-02-16  Bastien Guerry  <bzg@altern.org>
1067         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1068         in a `doctor-type' argument.
1070 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
1072         * net/soap-client.el:
1073         * net/soap-inspect.el: New files.
1075 2011-02-16  Leo  <sdl.web@gmail.com>
1077         * dired-x.el (dired-mode-map, dired-extra-startup):
1078         Remove dired-copy-filename-as-kill since it's already in dired.el.
1080 2011-02-16  Glenn Morris  <rgm@gnu.org>
1082         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1083         Doc fixes.  Add :set property, replacing top-level calls.
1084         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1085         (dired-guess-shell-gnutar): Test tar version rather than system-type.
1086         (dired-extra-startup, dired-man, dired-info): Doc fixes.
1087         (dired-clean-up-after-deletion): Use when and dolist.
1088         (dired-jump): Use unless and when.
1089         (dired-virtual): Use line-end-position.
1090         (dired-default-directory-alist): Rename from default-directory-alist.
1091         (dired-default-directory): Update for above name change.
1092         (dired-vm): Drop VM < 5 and simplify.
1093         (dired-buffer-more-recently-used-p): Rewrite.
1094         (dired-filename-at-point): Use when and or.
1095         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1096         Update callers.
1098 2011-02-15  Glenn Morris  <rgm@gnu.org>
1100         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
1102 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
1104         * vc/vc-git.el (vc-git-root-log-format): New option for
1105         customizing log format.
1106         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1107         (vc-git-log-view-mode): Use it.
1108         (vc-git-expanded-log-entry): New function.
1109         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
1111         * vc/vc-hg.el (vc-hg-root-log-template): New option for
1112         customizing log format.
1113         (vc-hg-print-log): Use it.
1114         (vc-hg-expanded-log-entry): New function.
1115         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1116         vc-hg-expanded-log-entry.  Truncate lines in root log.
1118         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1120         * vc/log-view.el (log-view-mode-menu):
1121         Add log-view-toggle-entry-display.
1123 2011-02-14  Glenn Morris  <rgm@gnu.org>
1125         * dired-x.el: Don't require man when compiling.
1126         (dired-omit-extensions, dired-local-variables-file)
1127         (dired-x-hands-off-my-keys): Make them defcustoms.
1128         (Man-support-local-filenames, Man-getpage-in-background): Declare.
1129         (vm-visit-folder): Declare rather than defining.
1130         (dired-x-help-address, dired-x-variable-list): Remove.
1131         (dired-x-submit-report): Make it an obsolete alias.
1133 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
1135         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1137 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1139         * net/imap.el: Bring it back.
1141 2011-02-13  Alan Mackenzie  <acm@muc.de>
1143         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1144         narrow-to-region call that cuts context off the end (Bug#7722).
1146         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1147         Refactor nested if-forms with a simple cond.
1148         (c-forward-<>-arglist): Revert 2011-01-31 change.
1150 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
1152         * vc/log-view.el: New command log-view-toggle-entry-display for
1153         toggling log entries between concise and detailed forms.
1154         (log-view-toggle-entry-display): New command.
1155         (log-view-mode-map): Bind RET to it.
1156         (log-view-expanded-log-entry-function): New variable.
1157         (log-view-current-entry, log-view-inside-comment-p)
1158         (log-view-current-tag): New functions.
1159         (log-view-toggle-mark-entry): Use log-view-current-entry and
1160         log-view-end-of-defun instead of searching directly with
1161         log-view-message-re.
1162         (log-view-end-of-defun): Likewise.  Add optional ARG for
1163         compatibility with end-of-defun.
1164         (log-view-end-of-defun): Ignore comments and VC buttons.
1166         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1167         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1169 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1171         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
1173         * net/imap-hash.el: Remove file.
1175 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
1177         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1179         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1180         call.
1182         * net/tramp-imap.el: Remove file.
1184 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
1186         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1187         widget library for buttons, just use button.el.
1189         * vc/log-view.el (log-view-mode-map): Don't inherit from
1190         widget-keymap.
1192 2011-02-12  Glenn Morris  <rgm@gnu.org>
1194         * emacs-lisp/cl-seq.el (union, nunion, intersection)
1195         (nintersection, set-difference, nset-difference)
1196         (set-exclusive-or, nset-exclusive-or): Doc fix.
1198         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1200         * faces.el (face-attr-match-p): Handle the obsolete :bold and
1201         :italic props, so that frame-set-background-mode works.  (Bug#7966)
1203         * simple.el (next-error): Doc fix.
1205 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1207         * dired-aux.el (dired-create-files): Adapt destination name to
1208         match the new behavior of copy-directory.
1210 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
1212         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1213         from rmail-dont-reply-to-names.  Callers changed.
1214         (mail-dont-reply-to): Rename from mail-dont-reply-to.
1215         (rmail-dont-reply-to): Make it an obsolete alias.
1217         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1218         nil, and make obsolete (Bug#7888).
1219         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1221         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1223         * mail/rmailsort.el (rmail-sort-by-correspondent)
1224         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
1226         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1228 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1230         * files.el (copy-directory): New argument COPY-CONTENTS for
1231         copying directory contents into another existing directory.
1233 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
1235         * minibuffer.el (completion-table-case-fold): New function for
1236         creating a case-insensitive completion table.
1238 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
1240         * net/tramp.el (tramp-default-method): Also check if
1241         `auth-source-search' is bound.
1242         (tramp-read-passwd): Use `auth-source-search' instead of
1243         `auto-source-user-or-password'.
1245         * net/tramp-imap.el: Autoload `auto-source-search' instead of
1246         `auto-source-user-or-password.
1247         (tramp-imap-passphrase-callback-function): Use it.
1249         * net/imap-hash.el: Autoload `auto-source-search' instead of
1250         `auto-source-user-or-password.
1251         (imap-hash-open-connection): Use it.
1253         * mail/smtpmail.el: Autoload `auto-source-search' instead of
1254         `auto-source-user-or-password.
1255         (smtpmail-try-auth-methods): Use it.
1257 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
1259         * emacs-lisp/package.el: Allow packages to be reinstalled.
1260         (package--write-file-no-coding): Remove EXCL arg.
1261         (package-unpack-single): Don't use it.
1263 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
1265         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1266         in each sub directory.
1267         (vc-svn-registered): Use vc-svn-root.
1268         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
1269         (vc-svn-repository-hostname): Use "svn info".
1271 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1273         * simple.el (delete-trailing-whitespace): New optional buffer
1274         bound parameters.
1276 2011-02-11  Bastien Guerry  <bzg@altern.org>
1278         * files.el (basic-save-buffer): save unmodified buffers when
1279         the file pointed by buffer-file-name doesn't exist.
1281 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1283         * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1285 2011-02-11  Glenn Morris  <rgm@gnu.org>
1287         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1289 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
1291         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1293 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1295         * server.el (server-process-filter): Use pcase.
1297         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1298         conflicting ways.
1299         (smie-indent--parent): Extend to "parent of arg".
1300         (smie-indent-inside-string): New function.
1301         (smie-indent-functions): Use it.
1303         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1304         bzr locking race condition.
1306         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1307         still valid before using it.
1309         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1310         `message' -> `compilation-message' rename (bug#8004).
1312         Move keymap initialization into declaration.
1313         * textmodes/enriched.el (enriched-mode-map):
1314         * textmodes/bib-mode.el (bib-mode-map):
1315         * term/lk201.el (lk201-function-map):
1316         * tar-mode.el (tar-mode-map):
1317         * replace.el (occur-mode-map):
1318         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1319         * progmodes/idlw-help.el (idlwave-help-mode-map):
1320         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1321         * play/solitaire.el (solitaire-mode-map):
1322         * play/snake.el (snake-mode-map, snake-null-map):
1323         * play/pong.el (pong-mode-map):
1324         * play/handwrite.el (menu-bar-handwrite-map):
1325         * play/gametree.el (gametree-mode-map):
1326         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1327         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1328         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1329         (newsticker--url-keymap):
1330         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1331         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1332         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1333         (menu-bar-edit-menu, menu-bar-custom-menu)
1334         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1335         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1336         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1337         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1338         (menu-bar-tools-menu, menu-bar-describe-menu)
1339         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1340         (menu-bar-help-menu):
1341         * mail/rmailsum.el (rmail-summary-mode-map):
1342         * kmacro.el (kmacro-step-edit-map):
1343         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1344         (ibuffer-mode-operate-map):
1345         * hi-lock.el (hi-lock-menu, hi-lock-map):
1346         * emulation/vip.el (vip-mode-map):
1347         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1348         * bookmark.el (bookmark-bmenu-mode-map):
1349         * help-mode.el (help-mode-map): Move initialization into declaration.
1351 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1353         * net/rcirc.el: Add PRIVMSG and CTCP functions.
1354         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1355         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1356         (rcirc-cmd-me, rcirc-authenticate): Use them.
1358 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
1360         * allout.el: Synopsis: Change allout user configuration so
1361         auto-activation is controlled solely by customization
1362         `allout-auto-activation'.
1364         (allout-auto-activation-helper, allout-setup): New autoloads
1365         implement new custom set procedure for allout-auto-activation.
1366         Also, explicitly invoke (allout-setup) after allout-auto-activation
1367         is custom-defined, to affect the settings in emacs sessions besides
1368         the few where allout-auto-activation customization is done.
1369         (allout-auto-activation): Use allout-auto-activation-helper to
1370         :set.  Revise the docstring.
1371         (allout-init): Reduce functionality to just customizing
1372         allout-auto-activation, and mark obsolete.
1373         (allout-mode): Respect string values for allout-auto-activation.
1374         Run allout-after-copy-or-kill-hook without any args.
1375         (allout-mode, allout-layout, allout-default-layout)
1376         (outlineify-sticky): Adjust docstring for new scheme.
1377         (allout-after-copy-or-kill-hook): No arguments - hook implementers
1378         should concentrate on the kill ring.
1380 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
1382         * password-cache.el (password-cache-remove): Accept secrets that are
1383         not strings.
1385 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1387         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1388         of here-doc that immediately follows a comment.
1390 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1392         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1394         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1395         available.
1396         (rcirc-ctcp-sender-PING): New function.
1398 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1400         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1401         Remove the mark/nomark handling, and activate shift-select-mode instead.
1403         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1405 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
1407         * calc/calc-units.el (math-logunits-quant): Add support for
1408         non-logarithmic units.
1410 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
1412         * allout.el (allout-after-copy-or-kill-hook): New hook for
1413         extension-specific processing of killed text.
1414         (allout-mode): Include new allout-after-copy-or-kill-hook among
1415         mentioned hooks.
1416         (allout-kill-line, allout-kill-topic): Ensure that processing
1417         after kill happens even if barf-if-buffer-read-only is raised.
1418         Include new allout-after-copy-or-kill-hook among that subsequent
1419         processing.
1420         (allout-deannotate-hidden): Actually remove the annotation text
1421         properties.
1423         * allout.el (allout-listify-exposed): Copy text sans text properties.
1425 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
1427         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1429 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1431         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1433 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
1435         * calc/calc.el (calc-logunits-field-reference): Rename from
1436         `calc-default-field-reference-level'.
1437         (calc-logunits-power-reference): Rename from
1438         `calc-default-power-reference-level'.
1440         * calc/calc-units.el (math-logunits-quant): Rename from
1441         `math-logunits-level'
1442         (math-logunits-plus): Rename from math-logcombine.
1443         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1444         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1445         (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1446         New functions.
1447         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1448         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1449         (calc-logunits-quantity): Rename from `calc-level'.
1450         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1451         (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1452         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1453         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1454         (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1455         New functions.
1457         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1458         (calc-ul-prefix-help): Remove.
1459         (calc-l-prefix-help): New function.
1460         (calc-full-help): Add reference to `calc-l-prefix-help'.
1462         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1464         * calc/README: Mention logarithmic units.
1466 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
1468         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1469         non-ASCII characters (Bug#7925).
1471 2011-02-05  Glenn Morris  <rgm@gnu.org>
1473         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1475         * calendar/diary-lib.el (diary-font-lock-keywords):
1476         Tweak diary-time-regexp match.  (Bug#7891)
1478         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
1479         (f90-mode): Use it for mode's `find-tag-default-function' property.
1481         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
1483         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
1485 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1487         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1488         (Bug#6386).
1490 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1492         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1493         font-lock-syntax-table remappings.
1494         (sh-here-doc-markers, sh-here-doc-re): Remove.
1495         (sh-font-lock-close-heredoc): Remove.
1496         (sh-syntax-propertize-here-doc): New function.
1497         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1498         instead of the sh-here-doc-re.
1499         (sh-font-lock-paren): Don't do anything in comments or strings.
1500         Handle line continuations.  Accept a few more chars.
1501         Don't rely on the font-lock-syntax-table remappings.
1502         `esac' is not a valid pattern.
1503         (sh-syntax-propertize-function): Handle here-docs differently, so we
1504         don't bother syntax-propertizing the insides.
1506         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1507         Handle new bashisms ";&" and ";;&" (bug#7947).
1509 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
1511         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1512         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1514 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
1516         * net/tramp.el (tramp-postfix-method-format)
1517         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1518         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1519         (tramp-postfix-user-regexp, tramp-prefix-port-format)
1520         (tramp-prefix-port-regexp, tramp-postfix-host-format)
1521         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1522         Doc fix.
1524 2011-02-04  Sam Steingold  <sds@gnu.org>
1526         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1528 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
1530         * international/mule-util.el (with-coding-priority): Doc fix.
1532 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1534         * arc-mode.el (archive-mode-map): Fix a typo in last change.
1536 2011-02-03  Sam Steingold  <sds@gnu.org>
1538         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1539         Do not error out when `func' is nil.
1541 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
1543         * net/tramp-sh.el (tramp-remote-path): Add default settings for
1544         `tramp-default-remote-path' to the docstring.
1545         (tramp-get-remote-path): Suppress error message when `getconf
1546         PATH' fails.
1548         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1550 2011-02-03  Glenn Morris  <rgm@gnu.org>
1552         * vc/vc-hg.el (vc-hg-command): Doc fix.
1554         * term/w32-win.el (libpng-version): Declare for compiler.
1556         * msb.el: No need to load dired while compiling.
1558         * emacs-lisp/elint.el (elint-standard-variables):
1559         Remove a couple of built-ins that now have doc-strings.
1561         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1562         `require' is automatically `eval-and-compile'd.
1564         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1565         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1567         * strokes.el (strokes-fill-current-buffer-with-whitespace):
1568         Move definition before use.
1569         (strokes-report-bug): Make it obsolete.
1571 2011-02-02  Sam Steingold  <sds@gnu.org>
1573         * apropos.el (apropos-print): Now that `apropos-mode' inherits
1574         from `special-mode', entering it makes the buffer read-only, so
1575         call it only when everything has been already inserted.
1576         * emacs-lisp/ert.el (ert--setup-results-buffer)
1577         (ert-results-pop-to-backtrace-for-test-at-point)
1578         (ert-results-pop-to-messages-for-test-at-point)
1579         (ert-results-pop-to-timings): Ditto.
1580         * emacs-lisp/package.el (package--list-packages): Ditto.
1581         * play/solitaire.el (solitaire): Ditto.
1583 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
1585         * progmodes/compile.el: Make all faces inherit.
1586         (compilation-warning): Inherit from font-lock-variable-name-face.
1587         (compilation-info): Inherit from font-lock-type-face.
1588         (compilation-line-number): Reassign to font-lock-keyword-face.
1589         (compilation-column-number): Reassign to font-lock-doc-face.
1590         (compilation-leave-directory-face): Reassign to
1591         font-lock-builtin-face.
1593 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
1595         * dired.el (dired-insert-directory): Don't invoke `ls' when
1596         ls-lisp.el is used to emulate it.
1598 2011-02-01  Julien Danjou  <julien@danjou.info>
1600         * color.el (color-gradient): Add a color-gradient function.
1602 2011-02-01  Sam Steingold  <sds@gnu.org>
1604         * simple.el (special-mode-map): Bind "h" to `describe-mode';
1605         bind "z" to `kill-this-buffer'.
1606         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1607         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1608         (apropos-mode): Inherit from `special-mode'.
1609         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1610         * bookmark.el (bookmark-bmenu-mode): Define using
1611         `define-derived-mode' inheriting from `special-mode'.
1612         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1613         * image-mode.el (image-mode-map): Ditto.
1614         * replace.el (occur-mode): Define using
1615         `define-derived-mode' inheriting from `special-mode'.
1616         * tar-mode.el (tar-mode): Inherit from `special-mode'.
1617         * calendar/diary-lib.el (diary-fancy-display-mode):
1618         Inherit from `special-mode-map'.
1619         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1620         Inherit from `special-mode'.
1621         * emacs-lisp/package.el (package-menu-mode-map): Copy from
1622         `special-mode-map'.
1623         (package-menu-mode): Define using `define-derived-mode'
1624         inheriting from `special-mode'.
1625         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1626         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1627         (xesam-mode-map): Define separately.
1628         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1629         * progmodes/compile.el (compilation-minor-mode-map)
1630         (compilation-mode-map): Inherit from `special-mode-map'.
1631         * vc/diff-mode.el (diff-mode-shared-map):
1632         Inherit from `special-mode-map'.
1633         * vc/log-view.el (log-view-mode-map): Add a comment.
1635 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
1637         * custom.el (load-theme): Define return value.  Drop use of
1638         unsafep; call custom-theme-load-confirm for non-known-safe themes.
1639         (custom-theme-load-confirm): Scroll in the correct window.
1640         (custom-enabled-themes): Add custom-safe-themes to :set-after.
1642         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1643         checkbox if load-theme fails.
1645 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1647         * progmodes/compile.el (compilation-next-error): Check there's
1648         a message before using it (bug#7941).
1650 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
1652         * calc/calc-mtx.el (math-lud-pivot-check): New function.
1653         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1654         of potential pivots.
1656 2011-01-31  Alan Mackenzie  <acm@muc.de>
1658         * progmodes/cc-cmds.el (c-forward-over-illiterals):
1659         Continue parsing if we encounter a naked # (Bug#7595).
1660         (c-beginning-of-statement): Avoid loop in locating the beginning
1661         of a macro.  (Not actually committed until 2011-02-20, see above).
1663 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1665         * files.el (copy-directory): Fix arguments to recursive call.
1667 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1669         * files.el (copy-directory): If destination is an existing
1670         directory, copy into a subdirectory there.
1672 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
1674         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1675         files.
1677 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1679         * image-dired.el (image-dired-mouse-display-image): No-op if no
1680         file is found (Bug#7817).
1682         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1684 2011-01-31  Kenichi Handa  <handa@m17n.org>
1686         * international/quail.el (quail-keyboard-layout-alist):
1687         Remove superfluous SPC for "pc105-uk" (bug#7927).
1689 2011-01-31  Glenn Morris  <rgm@gnu.org>
1691         * msb.el (msb-menu-bar-update-buffers): Update for changed
1692         argument handling of menu-bar-select-frame.  (Bug#7902)
1694 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1696         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1697         to the recursion depth (Bug#7722).
1699 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
1701         * term/ns-win.el (ns-find-file): Expand ns-input-file with
1702         command-line-default-directory (Bug#7872).
1704 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1706         * progmodes/compile.el (compilation--flush-directory-cache):
1707         New function, extracted from compilation--remove-properties.
1708         (compilation--remove-properties, compilation--parse-region): Use it.
1709         (compilation--previous-directory): Handle one more case.
1710         (compilation-enable-debug-messages): Remove.
1711         (compilation-parse-errors, compilation--flush-parse): Just remove the
1712         left over debug messages.
1714 2011-01-31  Sam Steingold  <sds@gnu.org>
1716         * progmodes/compile.el (compilation-enable-debug-messages):
1717         Add a variable to make the parsing messages introduced in
1718         revno:103013 optional.
1719         (compilation-parse-errors, compilation--flush-parse): Use it.
1721 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1723         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
1724         (rcirc-nick-completion-format): New defcustom.
1725         (rcirc-complete): Use it.
1727 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1729         * net/rcirc.el: Clean log filenames (Bug#7933).
1730         (rcirc-log-write): Use convert-standard-filename.
1731         (rcirc-log-filename-function): Documentation updates.
1733 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
1735         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1736         Check report-emacs-bug-can-use-osx-open and use that if t.
1737         (report-emacs-bug-can-use-osx-open): New function.
1738         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1739         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1741 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1743         * vc/vc-dispatcher.el (vc-set-async-update): New function for
1744         updating Dired or VC-dir buffers after async command completes.
1746         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1747         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1749         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1750         completions if it exists.  Use vc-set-async-update.
1751         (vc-git-pull): Use vc-set-async-update.
1753         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1754         read-shell-command.  Use vc-set-async-update.
1755         (vc-hg-merge-branch): Use vc-set-async-update.
1757 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
1759         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1760         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1761         (Bug#7931).
1763 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1765         * progmodes/compile.el: Avoid an N² behavior in grep.
1766         (compilation--previous-directory): New fun.
1767         (compilation--previous-directory-cache): New var.
1768         (compilation--remove-properties): Flush it.
1769         (compilation-directory-properties, compilation-error-properties):
1770         Use the new fun to speed up looking for the current directory.
1772 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1774         * vc/vc-hg.el (vc-hg-history): New var.
1775         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1776         (vc-hg-merge-branch): New function.
1778         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1779         the other way around.
1781         * vc/vc-git.el (vc-git-branches, vc-git-pull)
1782         (vc-git-merge-branch): New functions.
1783         (vc-git-history): New var.
1785 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1787         * vc/vc-dispatcher.el (vc-do-async-command): New function.
1789         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1790         vc-do-async-command.
1792         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1793         Callers changed.
1795 2011-01-28  Leo  <sdl.web@gmail.com>
1797         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1798         highlighting to the "this function is advised" message.
1800         * help-mode.el (help-mode-finish): Apply highlighting here, to
1801         avoid clobbering by substitute-command-keys (Bug#6304).
1803 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1805         * woman.el (woman0-roff-buffer): Process roff escape sequences
1806         occurring prior to the first request (Bug#7843).
1808 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1810         * progmodes/compile.el: Don't use font-lock any more.
1811         (compilation-error-regexp-alist-alist): Change handling of makepp
1812         so it preserves the warning/error distinction on subsequent files.
1813         Simplify various rules.
1814         (compilation-directory-properties): Use font-lock-face.
1815         Add a compilation-message property.
1816         (compilation-internal-error-properties): Use font-lock-face.
1817         Don't set the compilation-debug property here.
1818         (compilation--put-prop, compilation--remove-properties)
1819         (compilation--parse-region, compilation--ensure-parse)
1820         (compilation--ensure-parse): New functions.
1821         (compilation-parse-errors): New function, largely inspired of
1822         compilation-mode-font-lock-keywords.  Set compilation-debug here.
1823         (compilation--parsed): New var.
1824         (compilation--flush-parse): Use compilation--ensure-parse.
1825         (compilation-start): Don't call font-lock.
1826         (compilation-turn-on-font-lock): Remove.
1827         (compilation-setup): Don't set font-lock-extra-managed-props not change
1828         other font-lock settings, other than keywords.
1829         Don't activate font-lock-mode.
1830         Set change-major-mode-hook and before-change-functions.
1831         (compilation--unsetup): Remove properties and hooks.
1832         (compilation-next-single-property-change): New function.
1833         (compilation-next-error): Use it to parse when needed.
1834         (compile-goto-error): Parse buffer as needed.
1835         (compilation--compat-error-properties): Don't need a dummy `face'
1836         property any more.
1838 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1840         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1841         (compilation-process-setup-function): Fix docstring's false promises.
1842         (compilation-error-regexp-alist-alist): Catch omake's continuous
1843         recompilation message and avoid reuse of old markers.
1844         (compilation-parse-errors-function): Declare obsolete.
1845         (compilation-buffer-modtime): Remove.
1846         (compilation--make-cdrloc, compilation--loc->col)
1847         (compilation--loc->line, compilation--loc->file-struct)
1848         (compilation--loc->marker, compilation--loc->visited)
1849         (compilation--make-file-struct, compilation--file-struct->file-spec)
1850         (compilation--file-struct->formats)
1851         (compilation--file-struct->loc-tree): New macros.  Use them.
1852         (compilation--message): New defstruct.  Use them.
1853         (compilation-next-error-function): Don't mess with timestamps to try
1854         and guess when to reparse.
1856 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1858         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1859         (tex-old-error-file-name): New function,
1860         extracted from tex-compilation-parse-errors.
1861         (tex-compilation-parse-errors): Remove.
1862         (tex-error-regexp-alist): New var.
1863         (tex-shell): Use it to avoid compilation-parse-errors-function.
1865         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1866         (grep-mode-font-lock-keywords): Remove regexp that seems like
1867         a left-over from before we used compile.el.
1868         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1869         modifying the buffer within with-silent-modifications.
1871         * progmodes/compile.el: Cleanup text-properties namespace by using
1872         `compilation-message' instead of `message', `compilation-directory'
1873         instead of `directory', and `compilation-debug' instead of `debug'.
1874         (compilation-last-buffer, compilation-parsing-end)
1875         (compilation-error-list, compilation-old-error-list): Move to the
1876         compatibility part of the code.
1877         (compilation-error-properties): If `file' is a function, let it return
1878         a file name.
1879         (compilation-mode-font-lock-keywords): Be more conservative with the
1880         omake "^ *" pattern prefix, to try and minimize the risk of
1881         pathologically slow regexp matching.
1882         (compilation-start): Use inhibit-read-only.
1883         (compilation--unsetup): New function.
1884         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1885         (compilation-filter): Minor tweaks.
1886         (compilation-next-error-function): Try and avoid abusing variables.
1887         (compilation--flush-file-structure): New fun.
1888         (compilation-fake-loc): Use it to improve behavior when file is reused.
1889         (debug-ignored-errors): Add "Moved past last ...".
1890         (compilation--compat-error-properties)
1891         (compilation--compat-parse-errors): Rename by doubling the "-".
1893         Port features from the previous prolog.el to the new one.
1894         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1895         (prolog-program-name, prolog-program-switches, prolog-consult-string)
1896         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1897         variable and use a function to compute the value dynamically.
1898         (prolog-prompt-regexp): Add regexp for GNU Prolog.
1899         (prolog-continued-prompt-regexp): Remove, unused.
1900         (prolog-find-value-by-system): Try and use the value of prolog-system
1901         in the *prolog* buffer if it helps.
1902         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1903         (prolog-zip-on): ..and check prolog-system and version here instead.
1904         (prolog-inferior-self-insert-command): New command.
1905         (prolog-inferior-mode-map): Use it.
1906         (prolog-inferior-error-regexp-alist): New var.
1907         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1908         (prolog-input-filter): Use derived-mode-p.
1909         (prolog-inferior-guess-flavor): New function.
1910         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
1911         make-comint to avoid running comint-mode twice.
1912         (prolog-inferior-buffer): New fun.
1913         (prolog-old-process-region, prolog-old-process-file):
1914         Don't call prolog-bsts here...
1915         (prolog-build-prolog-command): ...do it here instead.
1916         (prolog-old-process-region, prolog-old-process-file):
1917         Use compilation-fake-loc and compilation-forget-errors.
1918         (prolog-consult-compile-region): Use bolp.
1920 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1922         * image-mode.el (image-display-size): Doc fix (Bug#7820).
1924 2011-01-27  Sam Steingold  <sds@gnu.org>
1926         * midnight.el (clean-buffer-list-kill-never-buffer-names):
1927         Remove "*server*" which is never created by emacs server.
1929 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1931         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1932         there are some diff switches.
1934 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1936         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1937         Copy change made to ruby-font-lock-syntactic-keywords.
1939         * htmlfontify.el: Make it obey the font-lock-face text property.
1940         Miscellaneous cleanup such as:
1941         - Don't hide expressions after a closing paren.
1942         - Move initial setq into let.
1943         - Hoist common parts out of ifs.
1944         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1945         (hfy-face-at): Use get-text-property instead.
1946         (hfy-prop-invisible-p): Use invisible-p if available.
1947         (htmlfontify-manual): Use \\[...].
1948         (hfy-html-quote-regex): Use [...].
1949         (hfy-combined-face-spec): Simplify.
1950         (hfy-compile-face-map): Don't presume point-min==1.
1951         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1952         match end of string.
1953         (hfy-text-p): η-reduce.
1954         (hfy-tags-for-file): Receive cache-hash directly.
1955         (hfy-mark-tag-names): Adjust call.
1957 2011-01-27  Glenn Morris  <rgm@gnu.org>
1959         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1960         (msb-after-load-hook): Remove eval-after-load wackiness.
1962 2011-01-25  Sam Steingold  <sds@gnu.org>
1964         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1965         literal "diff" (important for windows-nt).
1967 2011-01-25  Glenn Morris  <rgm@gnu.org>
1969         * emacs-lisp/copyright.el (copyright-at-end-flag)
1970         (copyright-names-regexp): Add safety properties.
1971         (copyright-year-ranges): New option.
1972         (copyright-find-end): New function, split from copyright-update-year.
1973         (copyright-update-year): Use copyright-find-end.
1974         (copyright-fix-years): Optionally, convert years to ranges.
1975         Handle years continued over comment lines.
1976         Do not mess with the fill-prefix.
1977         Do not call copyright-update.
1978         (copyright-update-directory): Optionally, fix years rather than update.
1979         Skip directories.  Find files with only safe local vars.
1981 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1983         * files.el (file-name-non-special): Only change buffer-file-name after
1984         insert-file-contents if it's `visit'ing the file (bug#7854).
1986 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
1988         * dired.el (dired-revert): Doc fix (Bug#7758).
1990         * simple.el (line-move-visual): Doc fix (Bug#7594).
1992 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1994         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1995         here-doc which ends with an underscore.
1996         (ruby-mode-set-encoding): Skip shebang line always.
1997         (ruby-mode-map): Bind C-c C-c to comment-region.
1998         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1999         (ruby-forward-sexp): Stop after literal hash key labels.
2000         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2001         bracket.
2003 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
2005         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2006         the correct buffer (Bug#7650).
2008 2011-01-25  Glenn Morris  <rgm@gnu.org>
2010         * comint.el (comint-mode): Doc fix.  (Bug#7897)
2012         * simple.el (do-auto-fill): Give it a doc string.
2014         * button.el (make-text-button): Doc fix.  (See bug#7881)
2016 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2018         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2019         Don't move backward, so as not to fall in an inf-loop (bug#7736).
2021         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2022         Handle ?" and friends differently (e.g. don't use backrefs).
2024 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
2026         * calc/calc.el (calc-default-power-reference-level)
2027         (calc-default-field-reference-level): New variables.
2028         * calc/calc-units.el (math-standard-units): Add dB and Np.
2029         (math-logunits): New variable.
2030         (math-extract-logunits, math-logcombine, calcFunc-luplus)
2031         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2032         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2033         New functions.
2034         (math-find-base-units-rec): Add entry for ln(10).
2035         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2036         (calc-ul-prefix-help): New function.
2037         * calc/calc-ext.el (calc-init-extensions): Autoload new units
2038         functions.  Add keybindings for new units functions.
2040 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
2042         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2043         rcirc buffers.  (Bug#4940)
2045 2011-01-22  Glenn Morris  <rgm@gnu.org>
2047         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2048         split out from copyright-update-year.
2049         (copyright-update): Don't mess with the GPL version if we don't own the
2050         copyright.  Update license regexp, and remove no longer needed
2051         Esperanto stuff.
2052         (copyright-fix-years): Use copyright-find-copyright.
2054 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2056         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2058 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
2060         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2061         (lm): Rename to landmark.
2062         (lm-test-run): Rename to landmark-test-run.
2064 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2066         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2067         "Case sensitive" menu item.
2069 2011-01-22  Roland McGrath  <roland@frob.com>
2071         * comint.el (comint-replace-by-expanded-history-before-point): Fix
2072         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2074 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2076         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2078 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
2080         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2081         Assume foo(bar) is a manpage reference rather than some unquoted
2082         symbol (bug#7705).
2084 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2086         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2087         Suggested by Flo <sensorflo@gmail.com>.
2089 2011-01-22  Glenn Morris  <rgm@gnu.org>
2091         * progmodes/compile.el (compilation-error-regexp-alist):
2092         Fix custom type.  (Bug#7812)
2094 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
2096         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2097         allout-number-siblings, in keeping with what obtained due to
2098         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
2099         (prefixed) ?i.
2100         (allout-before-change-handler): Better expose spots affected by
2101         undo.
2103 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2105         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2107 2011-01-22  Phil Hagelberg  <phil@evri.com>
2109         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2110         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2111         (pcmpl-ssh-config-hosts): New function.
2112         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2113         pcmpl-ssh-known-hosts.
2115 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
2117         * calc/calc-undo.el (calc-undo): Autoload it.
2118         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2119         and autoload for `calc-undo'.
2120         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2121         * calc/calc-prog.el:
2122         * calc/calc-graph.el:
2123         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2125 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
2127         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2128         keybindings to `calc-undo'.
2130 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2132         Don't mess with *temp*.
2133         * obsolete/spell.el: Move from textmodes/spell.el.
2134         (spell-string):
2135         * term.el (term-read-input-ring):
2136         * startup.el (display-startup-echo-area-message):
2137         * progmodes/antlr-mode.el (antlr-directory-dependencies):
2138         * comint.el (comint-read-input-ring): Use with-temp-buffer.
2139         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2140         point-min==1.
2142 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
2144         * allout.el (allout-institute-keymap): Use fset instead of
2145         reapplying defalias.
2147         (allout-hotspot-key-handler): Check for non-control-modified
2148         bindings for hotspot characters if there are no control-modified
2149         versions.
2151         * allout.el: Summary - migrate to defining allout mode using
2152         define-minor-mode instead of defun.  Significantly clean-up
2153         internal keymap provisions, refactoring and, in the process,
2154         removing a lot of accumulated cruft.
2156         allout-mode-map is now a keymap by virtue of being a defalias to
2157         allout-mode-map-value, which contains the actual keymap structure.
2159         (allout-mode): Use define-minor-mode rather than defun.
2160         Remove now-unnecessary minor-mode setup activities from the body.
2161         Specify :keymap as allout-mode-map so the minor-mode-map-alist
2162         entry will be '(allout-mode . allout-mode-map) - see
2163         allout-mode-map-value, below.  Adjust docstring to track changes.
2164         (allout-minor-mode): Remove this defalias, now that we're using
2165         define-minor-mode.
2166         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
2167         keymap is allout-mode-map-value, via defalias.
2168         (allout-mode-map-value): The variable holding the actual mode
2169         keymap structure, by virtue of defalias from allout-mode-map.
2170         (allout-compose-and-institute-keymap): Rename from
2171         allout-bind-keys, and including the binding-composition
2172         functionality of the former produce-allout-mode-map and
2173         allout-setup-mode-map.
2174         (allout-institute-keymap): Take over the "setup" part of the former
2175         allout-setup-mode-map.  Reassign allout-mode-map-value value and
2176         update the defalias.
2177         (allout-command-prefix, allout-prefixed-keybindings)
2178         (allout-unprefixed-keybindings):
2179         Use allout-compose-and-institute-keymap to process the bindings.
2180         (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2181         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2182         user can customize if they want to use that binding.
2183         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2184         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
2185         elided that, previously, instead of the one for \C-h.)
2186         (allout-hotspot-key-handler): Remove attempt to resolve the key
2187         through the literal key-string lookup on allout-keybindings-list.
2188         That probably hasn't worked for a Long Time, and removal of
2189         allout-keybindings-list further simplifies the keybindings situation.
2190         (allout-pre-command-business): Use allout-mode-map-value instead
2191         of allout-mode-map.
2192         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
2193         the bindings if they want to use a keybinding having a trailing
2194         \C-h.  No deprecation needed since this feature was never in a release.
2195         (allout-keybindings-list): Remove.  It's not been useful for a
2196         while.  (See allout-hotspot-key-handler changes, above.)
2197         (produce-allout-mode-map): Remove.  Consolidate into
2198         allout-compose-and-institute-keymap.
2199         (allout-mode-map-adjustments): Remove.  No longer necessary with
2200         removal of allout-preempt-trailing-ctrl-h.
2201         (allout-setup-mode-map): Remove.  Consolidate into
2202         allout-compose-and-institute-keymap and allout-institute-keymap.
2204 2011-01-20  Glenn Morris  <rgm@gnu.org>
2206         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2208         * simple.el (read-expression-history): Remove, it's in minibuf.c.
2210 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
2212         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2214         * files.el (find-alternate-file, basic-save-buffer)
2215         (basic-save-buffer-2, revert-buffer, recover-file)
2216         (kill-buffer-ask, abort-if-file-too-large)
2217         (set-visited-file-name, write-file, backup-buffer)
2218         (basic-save-buffer, save-some-buffers):
2219         * dired-aux.el (dired-compress-file): Callers changed.
2221 2011-01-19  Glenn Morris  <rgm@gnu.org>
2223         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2224         Also check the property status.  (Bug#7861)
2226 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
2228         * net/tramp.el (tramp-debug-message): Extend function exclude
2229         list.  Use `regexp-opt'.
2231 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2233         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2234         highlighting doesn't spill over subsequent lines.
2236         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2237         keymap expression.  Improve docstring.
2239         * electric.el (electric-indent-post-self-insert-function):
2240         Don't auto-indent for indent-to-left-margin, it's too often
2241         counter-productive.
2243 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
2245         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2246         spaces if the frame was resized, so that the full visible buffer
2247         serves as canvas for strokes.
2249 2011-01-16  Glenn Morris  <rgm@gnu.org>
2251         * info-xref.el (info-xref-docstrings): Replace cl function.
2252         Also skip directories.
2254 2011-01-16  Kevin Ryde  <user42@zip.com.au>
2256         * info-xref.el: Version 3.
2257         (info-xref-check, info-xref-check-all): Move commentary details
2258         into docstrings for better visibility.
2259         Use compilation-mode for the results buffer.
2260         (info-xref-output, info-xref-output-error, info-xref-with-output)
2261         (info-xref-filename, info-xref-in-progress):
2262         New internals for this.
2263         (info-xref-check-list, info-xref-check-buffer)
2264         (info-xref-check-all-custom): Use those.
2265         (info-xref-output-buffer): Rename from info-xref-results-buffer.
2266         (info-xref-output-heading): Rename from info-xref-filename-heading.
2267         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2268         (info-xref-filename-heading): Move to output managing section.
2269         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2270         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2271         (info-xref-subfile-p): Move to generic section with those two.
2272         (info-xref-check-node): New function split from
2273         info-xref-check-buffer, shared by info-xref-docstrings.
2274         (info-xref-goto-node-p): Move to a checking section with that func.
2275         (info-xref-unavail): New counter.
2276         (info-xref-check-node): Use it.
2277         (info-xref-with-output): Show count of unavailables at end of output.
2278         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
2279         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
2280         (info-xref-check-all-custom): Fix quietening viper-mode and
2281         gnus-registry-install -- use setq not let so as not to unbind
2282         after load.
2284 2011-01-16  Juri Linkov  <juri@jurta.org>
2286         * isearch.el (isearch-abort): Don't quit if search has
2287         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
2289 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
2291         * files.el (backup-buffer): Make last-resort backup file in
2292         .emacs.d (Bug#6953).
2294         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2295         make it with permission 700.
2297 2011-01-15  Kenichi Handa  <handa@m17n.org>
2299         * mail/rmailmm.el (rmail-mime-insert-header):
2300         Set rmail-mime-coding-system to a cons whose car is the last coding
2301         system used to decode the header.
2302         (rmail-mime-find-header-encoding): New function.
2303         (rmail-mime-insert-decoded-text):
2304         Override rmail-mime-coding-system if it is a cons.
2305         (rmail-show-mime): If only a header part was decoded, find the
2306         coding system while ignoring mm-charset-override-alist.
2308 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
2310         * subr.el (event-start, event-end): Doc fix (Bug#7826).
2312 2011-01-15  Kenichi Handa  <handa@m17n.org>
2314         * mail/rmailmm.el (rmail-mime-next-item)
2315         (rmail-mime-previous-item): Delete them.
2316         (rmail-mime-shown-mode): Recursively call for children.
2317         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2318         Callers changed.
2319         (rmail-mime-raw-mode): Recursively call for children.
2320         (rmail-mode-map): Change mapping of tab and backtab to
2321         forward-button and backward-button respectively.
2322         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2323         button.
2324         (rmail-mime-update-tagline): New function.
2325         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2326         body display is changed.
2327         (rmail-mime-toggle-button): Rename from rmail-mime-image.
2328         (rmail-mime-image): Delete this button type.
2329         (rmail-mime-toggle): New button type.
2330         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2331         body display is changed.  Change the save button label to "Save".
2332         Don't process show/hide button here.
2333         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2334         the body display is changed.  Unconditionally call
2335         rmail-mime-insert for children.
2336         (rmail-mime-handle): Update `display' vector of the just inserted
2337         entity.
2338         (rmail-mime-process): If mail-header-parse-content-type returns
2339         nil, use "text/plain" as the fallback type.
2340         (rmail-mime-insert): For raw-mode, recursively call
2341         rmail-mim-insert for children.
2342         (rmail-mime): Handle the case that the current buffer is not rmail
2343         buffer (e.g. in summary buffer).
2345 2011-01-15  Kenichi Handa  <handa@m17n.org>
2347         * mail/rmailmm.el (rmail-mime-next-item)
2348         (rmail-mime-previous-item): Skip the body of a non-multipart
2349         entity if a tagline is shown.
2351 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2353         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2354         (tmm-prompt): Simplify.
2355         (tmm-add-prompt): Remove unused var `win'.
2357         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2358         to minor mode which used nil accidentally to mean "turn off".
2360 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2362         * net/tramp-sh.el (tramp-find-inline-compress)
2363         (tramp-get-inline-coding): Quote command after pipe symbol for
2364         local calls under W32.  (Bug#6784)
2366 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2368         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2369         only when running under W32.
2371 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2373         * progmodes/grep.el (grep-compute-defaults): Quote the program
2374         file name after the pipe symbol in Grep templates.  (Bug#6784)
2375         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2377 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
2379         * buff-menu.el (Buffer-menu-buffer-list): New var.
2380         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2381         restricted buffer list is not lost on revert (Bug#7749).
2383 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
2385         * net/ldap.el (ldap-search-internal): Discard stderr output.
2387 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2389         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
2391 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2393         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2395 2011-01-15  Kenichi Handa  <handa@m17n.org>
2397         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2398         part as a plain text.
2399         (rmail-mime-process-multipart): Set the default content-type to
2400         nil for unknown multipart subtypes (bug#7651).
2402 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2404         * hexl.el (hexl-mode-old-*): Remove.
2405         (hexl-mode--old-var-vals): New var to replace them.
2406         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2407         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2408         Use them to set local vars (bug#7846).
2409         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2410         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2411         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2413         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2414         (smerge-resolve--normalize-re): New var.
2415         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2416         (smerge-resolve): Use them.
2417         * newcomment.el (comment-only-p): New function.
2418         (comment-or-uncomment-region): Use it.
2420 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
2422         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2423         table, get the value before switching to the output buffer.  (Bug#7733)
2425 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2427         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2429 2011-01-14  Kim F. Storm  <storm@cua.dk>
2431         * emulation/cua-base.el (cua--init-keymaps):
2432         Remap exchange-point-and-mark in cua-global-keymap.
2434 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
2436         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2437         loop keyword.
2439 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2441         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2442         Require CL.
2443         (easy-menu-create-menu, easy-menu-convert-item-1):
2444         Use :label rather than nil for labels.  Use `case'.
2445         Add :enable as alias for :active.
2446         (easy-menu-binding): Obey :label.
2448 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2450         Use run-mode-hooks for major mode hooks (bug#513).
2451         * textmodes/reftex-toc.el (reftex-toc-mode-map):
2452         Rename from reftex-toc-map.
2453         (reftex-toc-mode): Use define-derived-mode.
2454         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2455         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2456         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
2457         (reftex-select-label-mode, reftex-select-bib-mode):
2458         Use define-derived-mode.
2459         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2460         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2461         Move init into delcaration.
2462         (reftex-index-mode, reftex-index-phrases-mode):
2463         Use define-derived-mode.
2464         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2465         speedbar-syntax-table.  Move init into declaration.
2466         (speedbar-mode-map): Rename from speedbar-key-map.
2467         Move init into declaration.
2468         (speedbar-file-key-map): Move init into declaration.
2469         (speedbar-mode): Use define-derived-mode.
2470         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2471         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2472         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2473         (chart-face-list): Move initialization into declaration.
2474         (chart-mode): Use define-derived-mode.
2475         * calculator.el (calculator-mode-map): Move init into declaration.
2476         (calculator-mode): Use define-derived-mode.
2478         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2479         work for nested comments.
2481         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
2482         (prolog-use-prolog-tokenizer-flag): Change default when
2483         syntax-propertize can be used.
2484         (prolog-syntax-propertize-function): New var.
2485         (prolog-mode-variables): Move make-local-variable into `set'.
2486         Don't make comment-column local since we don't set it.
2487         Set comment-add (as it was in previous prolog.el).  Use dolist.
2488         Set syntax-propertize-function.
2489         (prolog-mode, prolog-inferior-mode):
2490         Call prolog(-inferior)-menu directly, not through the mode-hook.
2491         (prolog-buffer-module, prolog-indent-level)
2492         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2493         (prolog-comment-limits, prolog-goto-comment-column):
2494         Use line-(end|beginning)-position.
2495         (prolog-build-prolog-command): Tighten up regexp.
2496         (prolog-consult-compile): Move make-local-variable into `set'.
2497         (prolog-consult-compile-filter, prolog-goto-next-paren)
2498         (prolog-help-on-predicate, prolog-clause-info)
2499         (prolog-mark-predicate): Don't let+setq.
2500         (prolog-indent-line): Use indent-line-to.
2501         Only call prolog-goto-comment-column if necessary.
2502         (prolog-indent-level): Use bobp.
2503         (prolog-first-pos-on-line): Remove, not used any more.
2504         (prolog-in-string-or-comment): Use syntax-ppss if available.
2505         (prolog-help-on-predicate): Use read-string.
2506         (prolog-goto-predicate-info): Simplify.
2507         (prolog-read-predicate): Use `default' rather than `initial'.
2508         (prolog-temporary-file): Use make-temp-file to close a security hole.
2509         (prolog-toggle-sicstus-sd): New command.
2510         (prolog-electric-underscore, prolog-variables-to-anonymous):
2511         Use dynamic-scoping as it was meant.
2512         (prolog-menu): Move menu definitions to top-level.
2513         Use a toggle-button for Sicstus's source debugger.
2514         Change "Code" to the more usual "Prolog", and hence change "Prolog"
2515         to "System".
2516         (prolog-inferior-menu): Reuse prolog-menu's help menu.
2517         Move other menu definition to top-level.
2519 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2521         * doc-view.el (doc-view-open-text): Use meaningful text buffer
2522         name.  Keep original document's directory as default-directory
2523         (bug#6446).
2524         (doc-view-initiate-display): Fall back to normal mode when
2525         doc-view-mode cannot be enabled, also when extracting the document
2526         text into a separate buffer (bug#6446).
2528         * simple.el (shell-command): Don't error out if shell command
2529         buffer contains text with non-nil read-only property when erasing
2530         the buffer.
2532 2011-01-13  Kim F. Storm  <storm@cua.dk>
2534         * ido.el (ido-may-cache-directory): Move "too-big" check later.
2535         (ido-next-match, ido-prev-match): Fix stray reordering of matching
2536         items when cycling through the matches.
2538 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2540         * dired-x.el (dired-omit-verbose): New defcustom that allows
2541         disabling the omit messages.
2542         (dired-omit-expunge): Use it.
2544 2011-01-13  Christian Ohler  <ohler@gnu.org>
2546         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2548 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2550         * font-lock.el (font-lock-verbose): Default to nil.
2552 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2554         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2555         (compose-mail): New arg RETURN-ACTION.
2556         (compose-mail-other-window, compose-mail-other-frame): Likewise.
2558         * mail/sendmail.el (mail-return-action): New var.
2559         (mail-mode): Make it buffer-local.
2560         (mail-bury): Obey it.  Move special Rmail window handling to
2561         rmail-mail-return.
2562         (mail, mail-setup): New arg RETURN-ACTION.
2563         (sendmail-user-agent-compose): Move from simple.el.
2565         * mail/rmail.el (rmail-mail-return): New function.
2566         (rmail-start-mail): Pass it to compose-mail.
2568 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
2570         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2571         menus.  Add menu item for customize-themes.
2573         * cus-theme.el (customize-themes):
2574         * emacs-lisp/package.el (package--list-packages):
2575         Use switch-to-buffer.
2577 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
2579         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2581 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2583         * progmodes/prolog.el: Fix up coding convention and such.
2584         (prolog-indent-width): Use the same default as in
2585         previous prolog.el rather than tab-width which depends on which buffer
2586         is current when the file is loaded.
2587         (prolog-electric-newline-flag): Only enable if electric-indent-mode
2588         is not available.
2589         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
2590         (prolog-known-systems): Remove.
2591         (prolog-mode-syntax-table, prolog-inferior-mode-map):
2592         Move initialization into declaration.
2593         (prolog-mode-map): Move initialization into declaration.
2594         Remove system-specific mode-map vars, since they referred to the same
2595         keymap anyway.
2596         (prolog-mode-variables): Obey the user's preference w.r.t
2597         adaptive-fill-mode.  Prefer symbol-value to `eval'.
2598         (prolog-mode-keybindings-edit): Add compatibility bindings.
2599         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
2600         (mercury-mode-map): New var.
2601         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2602         (prolog-ensure-process, prolog-process-insert-string)
2603         (prolog-consult-compile): Use with-current-buffer.
2604         (prolog-guess-fill-prefix): Simplify data flow.
2605         (prolog-replace-in-string): New function to use instead of
2606         replace-in-string.
2607         (prolog-enable-sicstus-sd): Don't abuse `eval'.
2608         (prolog-uncomment-region): Use `uncomment-region' when available.
2609         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2610         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2611         of int-to-char and char-to-int.
2612         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2614 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
2616         * progmodes/prolog.el: Replace by a whole new file.
2618 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2620         * subr.el (eval-after-load): Fix timing for features (bug#7769).
2621         (declare-function, undefined, insert-for-yank)
2622         (replace-regexp-in-string): Follow checkdoc's recommendations.
2624 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2626         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2627         refreshing the diary buffer.
2629 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
2631         * allout.el: Add 2011 to the file copyright.
2632         (allout-encrypt-string): Prevent encryption from adding an extra
2633         newline at the end of the topic body.
2634         (allout-version): Increment to 2.3.
2636 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
2638         * net/dbus.el (dbus-unregister-service): Complete doc.
2639         Fix call of dbus-error signal.
2640         (dbus-register-property): Use `dont-register' keyword.
2642 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2644         * net/dbus.el (dbus-unregister-service): Translate returned
2645         integer into a symbol.
2646         (dbus-register-property): Use `dbus-register-service' to do the
2647         name registration.
2649 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2651         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2652         Suggested by Joakim Verona.
2654         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2656         * wid-edit.el (visibility): Replace :on-image and :off-image
2657         widget properties with :on-glyph and :off-glyph, for consistency
2658         with the `visibility' widget.
2659         (widget-toggle-value-create, widget-visibility-value-create):
2660         Merge into a single function `widget-toggle-value-create'.
2662         * cus-edit.el (custom-variable-value-create, custom-visibility)
2663         (custom-face-edit-value-create, custom-face-value-create):
2664         Replace :on-image and :off-image widget properties with :on-glyph and
2665         :off-glyph, for consistency with the `visibility' widget.
2667 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
2669         * net/ldap.el (ldap-search-internal): Don't use eval.
2671 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2673         * subr.el (read-char-choice): Use read-key.
2675         * custom.el (custom-safe-themes): Rename from
2676         custom-safe-theme-files.  Add :risky tag.
2677         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2678         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
2680 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2682         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
2683         from Search and add a label to Undo.
2685         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2686         inappropriate buttons and adding :vert-only tags.
2688         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2689         removal of Help tool-bar button.  Remove Undo button for space.
2691         * info.el (info-tool-bar-map): Add :vert-only tags.
2693 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
2695         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2696         image backend support.  Either of them is fine.
2698 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
2700         * subr.el (y-or-n-p): Doc fix.
2702         * custom.el (custom-safe-theme-files): New defcustom.
2703         (custom-theme-load-confirm): New function.
2704         (load-theme): Load theme using `load', confirming with
2705         custom-theme-load-confirm if necessary.
2707         * subr.el (read-char-choice): New function, factored out from
2708         dired-query and hack-local-variables-confirm.
2710         * dired-aux.el (dired-query):
2711         * files.el (hack-local-variables-confirm): Use it.
2713         * dired-aux.el (dired-compress-file):
2714         * files.el (abort-if-file-too-large, find-alternate-file)
2715         (set-visited-file-name, write-file, backup-buffer)
2716         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2717         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2718         Use new format string args for y-or-n-p and yes-or-no-p.
2720 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
2722         * progmodes/compile.el (compilation-error-regexp-alist-alist)
2723         [gcc-include]: Tighten file name match, add match for column
2724         number.  (Bug#7806)
2725         [gnu]: Remove unused group.
2727 2011-01-08  Glenn Morris  <rgm@gnu.org>
2729         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2731         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2733 2011-01-07  Sam Steingold  <sds@gnu.org>
2735         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2736         the `explicit-shell-file-name' because that is the
2737         non-interactive shell.
2739 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
2741         * subr.el (y-or-n-p): Accept format string args.
2743 2011-01-07  Glenn Morris  <rgm@gnu.org>
2745         * Makefile.in (EMACSOPT): Add --no-site-lisp.
2747 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
2749         * allout.el (allout-back-to-current-heading): Ensure return to
2750         the visible containing topic, rather than a collapsed one.
2751         (allout-view-change-hook): Remove hook that was deprecated long ago.
2752         (allout-exposure-change-hook): Remove documentation remarks
2753         concerning removed allout-view-change-hook.
2754         (allout-flag-region): Remove invocation of and documentation
2755         remarks concerning allout-view-change-hook.
2757 2011-01-06  Glenn Morris  <rgm@gnu.org>
2759         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2760         (vc-bzr-annotate-extract-revision-at-line):
2761         Handle authors with embedded spaces.  (Bug#7792)
2763 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
2765         * doc-view.el (doc-view-image-width): New variable.
2766         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2767         backend for PNG images, and do dynamic rescaling instead of
2768         reconverting the whole doc.
2770 2011-01-05  Glenn Morris  <rgm@gnu.org>
2772         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2774 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
2776         * allout.el: Reconcile with changes in line movement behavior for
2777         long text lines that cross more than a single physical window
2778         line, ie when truncate-lines is nil.
2779         (allout-next-visible-heading): Provide for change in line-move
2780         behavior on long lines when truncate-lines is nil.  In that case,
2781         line-move can wind up on the same textual line when it moves to
2782         the next window line, and moving to the bullet position after the
2783         move yields zero advancement.  Add logic to detect and compensate
2784         for the lack of progress.
2785         (allout-current-topic-collapsed-p): move-end-of-line respect for
2786         field boundaries is different when operating with body lines
2787         shorter than window width versus ones greater than window width,
2788         which can yield false negatives in this function.  Avoid
2789         difference by applying move-end-of-line while field-text-motion is
2790         inhibited.
2792 2011-01-04  Glenn Morris  <rgm@gnu.org>
2794         * textmodes/rst.el (rst-compile-toolsets):
2795         Add pdf and s5 to option alist.
2797 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2799         * net/dbus.el (dbus-register-property): Add optional parameter
2800         dont-register-service.  Updated docstring accordingly.
2802 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2804         * textmodes/rst.el (rst-compile-pdf-preview)
2805         (rst-compile-slides-preview): Remove extra line.
2807 2011-01-04  Glenn Morris  <rgm@gnu.org>
2809         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2810         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
2811         default to `prog' without a .py extension.
2812         (rst-compile-pdf-preview, rst-compile-slides-preview):
2813         Use program names from rst-compile-toolsets, rather than hard-coding.
2814         (rst-portable-mark-active-p): Fix presumed typo.
2816 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2818         * term/w32-win.el (dynamic-library-alist): Set up correctly for
2819         libpng versions both before and after 1.4.0.  (Bug#7716)
2821 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2823         * time.el (display-time-mode): Mention display-time-interval in
2824         the doc string.  (Bug#7713)
2826 2011-01-02  Kenichi Handa  <handa@m17n.org>
2828         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2829         condition-case and return an error message string if something
2830         goes wrong.
2831         (rmail-show-mime): Adjust for the above change.  Insert the
2832         header by rmail-mime-insert-header.
2834 2011-01-02  Kenichi Handa  <handa@m17n.org>
2836         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2837         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2838         (rmail-mime-mbox-buffer)
2839         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2840         (rmail-mime-entity): Argument changed.  All codes handling an
2841         entity object are changed.
2842         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2843         the above change.
2844         (rmail-mime-entity-children, rmail-mime-entity-handler)
2845         (rmail-mime-entity-tagline): New functions.
2846         (rmail-mime-message-p): New function.
2847         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2848         (rmail-mime-entity-segment, rmail-mime-next-item)
2849         (rmail-mime-previous-item, rmail-mime-shown-mode)
2850         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2851         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2852         (rmail-mime-insert-tagline, rmail-mime-insert-header):
2853         New functions.
2854         (rmail-mime-text-handler): Call rmail-mime-insert-text.
2855         (rmail-mime-insert-decoded-text): New function.
2856         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2857         (rmail-mime-insert-image): Argument changed.  Caller changed.
2858         (rmail-mime-image): Call rmail-mime-toggle-hidden.
2859         (rmail-mime-set-bulk-data): New function.
2860         (rmail-mime-insert-bulk): Argument changed.
2861         (rmail-mime-multipart-handler): Return t.
2862         (rmail-mime-process-multipart): Argument changed.
2863         Handle "multipart/alternative" here.
2864         (rmail-mime-process): Argument changed.
2865         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2866         (rmail-mime-insert): Argument changed.  Handle raw display mode.
2867         (rmail-mime): Argument changed.  Handle toggling of raw display
2868         mode.
2869         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2870         rmail-mime-view-buffer.
2871         (rmail-insert-mime-forwarded-message): Likewise.
2872         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
2874         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2875         non-nil, handle the header in rmail-show-mime-function.
2877 2011-01-02  Leo  <sdl.web@gmail.com>
2879         * help-fns.el (describe-variable): Fix previous change.
2881 2011-01-02  Juri Linkov  <juri@jurta.org>
2883         * isearch.el (isearch-lazy-highlight-error): New variable.
2884         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2885         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
2886         to the current value of `isearch-error' (Bug#7468).
2888 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2890         * help-fns.el (describe-variable): Don't emit trailing whitespace
2891         (Bug#7511).
2893 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2895         * textmodes/rst.el (rst-compile-pdf-preview)
2896         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2898 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
2900         * emulation/edt-mapper.el: Override mapping of function keys so
2901         that the later call to read-key-sequence works.
2903 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2905         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2906         Unix EOLs.  (Bug#7589)
2908 2011-01-02  Leo  <sdl.web@gmail.com>
2910         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2911         if point is not behind eshell-last-output-end (Bug#7585).
2913 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2915         * files.el (file-local-variables-alist):
2916         Make permanent-local (bug#7767).
2918 2011-01-02  Glenn Morris  <rgm@gnu.org>
2920         * version.el (emacs-copyright): Set short copyright year to 2011.
2922 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2924         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2925         an existing temp buffer.  (Bug#7746)
2927 2011-01-02  Glenn Morris  <rgm@gnu.org>
2929         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2930         multiple addresses.  (Bug#7760)
2932 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
2934         * allout.el (allout-auto-fill): Do not infinitely recurse - use
2935         do-auto-fill if everything points back to allout-auto-fill.
2936         (allout-mode-deactivate-hook): Declare obsolete, in favor of
2937         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2939 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
2941         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2942         and "scpx".
2944 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2946         * doc-view.el (doc-view-set-doc-type): New function refactored
2947         from doc-view-mode.
2948         (doc-view-fallback-mode): New function.
2949         (doc-view-mode): Use it.
2950         (doc-view-mode-maybe): New function that checks if doc-view-mode
2951         can be used and falls back to the next best mode otherwise.
2953         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2954         DVI, OpenDocument, and MS Office files.
2956 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
2958         * emacs-lisp/rx.el (rx-syntax): Fix typo.
2960 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2962         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2963         on a copy of auto-mode-alist, because that deletes with side
2964         effects.
2966 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2968         * doc-view.el (doc-view-mode, doc-view-toggle-display):
2969         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2970         fallback instead of hard coding fundamental mode.
2972 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2974         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2975         Office) files also for searching.
2977 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2979         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2980         Office) files.  Not yet enabled via auto-mode-list.
2981         (doc-view-unoconv-program): New custom variable.
2982         (doc-view-mode-p): Handle new odf document type.
2983         (doc-view-odf->pdf): New conversion function.
2984         (doc-view-convert-current-doc): Call it for odf files.
2985         (doc-view-mode): Recognize newly supported file extensions.
2987 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
2989         * net/tramp.el (tramp-default-method-alist)
2990         (tramp-default-user-alist)
2991         (tramp-local-host-regexp, tramp-prefix-domain-format)
2992         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2994         * net/tramp-ftp.el:
2995         * net/tramp-gvfs.el:
2996         * net/tramp-gw.el:
2997         * net/tramp-imap.el:
2998         * net/tramp-sh.el:
2999         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3000         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3002 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
3004         * saveplace.el (save-place-alist-to-file): Save list sorted and
3005         pretty-printed, so that it is mergeable by line-based text merging,
3006         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3008 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
3010         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3011         (allout-mode): Argument "toggle" => "force".
3012         Refine the docstring.
3013         Remove special provisions for reactivation, besides the 'force'
3014         argument.
3015         Consolidate layout provisions coce directly into the activation
3016         condition branch, now that we've removed those provisions.
3017         (allout-unload-function): Explicitly activate the mode before
3018         deactivating, if it's initially deactivated.
3019         (allout-set-buffer-multibyte): Properly prevent byte-compiler
3020         warnings for version of function used only where
3021         set-buffer-multibyte is unavailable.
3023 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
3025         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3026         are handled by the menu-bar entries.  As before, don't use
3027         :visibile to avoid changing the tool-bar.
3029 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
3031         * net/secrets.el (secrets-delete-alias): New defun.
3033 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
3035         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3036         methods, otherwise ~/.ssh/config would be ignored.
3038 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3040         * emacs-lisp/rx.el: Make it a superset of sregex.
3041         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3042         of args, add `regex' alias.
3043         (rx-info): Add arg to distinguish head and standalone forms.
3044         (rx-check, rx-form): Pass the corresponding arg.
3045         (rx-**): Simplify.
3046         (rx-repeat): Make it work for any number of args.
3047         (rx-syntax): Make it accept syntax chars as is.
3048         * obsolete/sregex.el: Move from emacs-lisp/.
3049         * emacs-lisp/re-builder.el: Remove sregex support.
3050         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3052 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
3054         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3055         PRIMARY first, then the clipboard.  (Bug#7699)
3057 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3059         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3060         print-number-table.
3062 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
3064         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3065         .emacs.elc (Bug#7530).
3067         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3068         image spec (Bug#7480).
3070 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
3072         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3073         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3074         Move from lisp/.
3076 2010-12-20  Leo  <sdl.web@gmail.com>
3078         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3079         always be performed (Bug#7680).
3081 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
3083         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3084         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
3085         mouse-region-match.
3087         * color.el: Move from gnus/.
3089         * vc/diff.el (diff-better-file-name): Function deleted.
3090         abbreviating file names causes problems with shell-quote-argument.
3091         (diff-no-select): Just use expand-file-name.
3093         * tool-bar.el (tool-bar--image-expression): New function.
3094         (tool-bar-local-item, tool-bar--image-exp): Use it.
3095         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3096         Use :enable instead of :visible to avoid changing the tool-bar
3097         configuration unnecessarily.
3099         * info.el (info-tool-bar-map): Add separators.
3101 2010-12-17  Ken Brown  <kbrown@cornell.edu>
3103         * loadup.el: Use version numbers in Cygwin build.
3105 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
3107         * ido.el (ido-file-internal): Ask for confirmation before
3108         overwriting an existing file (Bug#1238).
3110 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
3112         * tool-bar.el (tool-bar-setup): Add separators.
3114         * menu-bar.el (featurep): Use menu-bar-separator.
3116 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
3118         Migrate allout encryption provisions from pgg to epg.
3120         * allout.el (allout-toggle-current-subtree-encryption)
3121         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3122         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
3123         for simpler universal argument interpretation.
3124         (allout-toggle-subtree-encryption): Adjust docstring to describe
3125         changed encryption provisions.  Change fetch-pass to keymode-cue, for
3126         simpler universal argument interpretation.  Remove provisions for
3127         handling key type and identity - they'll all be within
3128         allout-encrypt-string or epg/epg or even contained all the way in gpg.
3129         (allout-encrypt-string): Include keymode-cue, for optionally prompting
3130         for keypair recipients (universal argument > 1) and, in addition,
3131         associating the specified recipients with the outline (universal
3132         argument > 4) using a file local variable setting for
3133         'epa-file-encrypt-to'.
3134         Require epa, for recipients handling.
3135         Change how regexp filtering elements are named.
3136         Describe the problem with caching of incorrect symmetric-decryption
3137         keys.
3138         Use the epa-passphrase-callback-function, in case the user is using
3139         GnuPG v1.
3140         Support saving of the selected keypair recipients when invoked with a
3141         keymode-cue > 4.
3142         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3143         Require 'epa.
3144         Establish epg-context with armoring and default epg-protocol.
3145         Remove all passphrase cache, verification, and hinting code.
3146         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3147         No longer used, delete.
3148         (allout-mode): Adjust docstring to describe changed encryption
3149         provisions.  Describe the problem with caching of incorrect
3150         symmetric-decryption keys.
3151         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3152         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3153         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3154         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3155         Obsolete, remove.
3157 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
3159         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3160         key selection prompt; make 'silent as default (Bug#7487).
3162 2010-12-16  Leo  <sdl.web@gmail.com>
3164         * eshell/eshell.el (eshell-directory-name):
3165         Use locate-user-emacs-file (Bug#7578).
3167 2010-12-15  Glenn Morris  <rgm@gnu.org>
3169         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3171 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
3172             Scott Evans  <gse@antisleep.com>
3174         * rect.el (rectange--default-line-number-format)
3175         (rectangle-number-line-callback): New functions.
3176         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3178 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
3180         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3181         Delete unused variables.
3182         (move-to-column-force): Remove function obsolete since 21.2.
3184 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
3186         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3187         (tramp-handle-insert-file-contents): Do not set permanent-local
3188         property.
3190         * net/tramp-cache.el (tramp-persistency-file-name):
3191         Use `locate-user-emacs-file' if fboundp.
3193         * net/tramp-sh.el (tramp-methods): Add "ksu".
3194         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
3195         method list.
3197 2010-12-14  Glenn Morris  <rgm@gnu.org>
3199         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3200         (find-tag-marker-ring): Declare.
3201         (js-find-symbol): Require etags.
3203         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3204         Require mail-utils.
3205         (mail-alias-file): Don't autoload.  Doc fix.
3206         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3207         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
3208         Mark as obsolete, and risky.
3209         (mail-setup): Simplify.
3211         * mail/mailalias.el (build-mail-aliases): Make it interactive.
3212         * mail/sendmail.el (build-mail-aliases): Update autoload.
3214         * dired.el (dired-trivial-filenames, dired-chown-program)
3215         (dired-auto-revert-buffer): Remove autoload cookies.
3216         * mail/sendmail.el (mail-recover-1): Require 'dired.
3218         * dired.el (dired-subdir-switches, dired-chown-program)
3219         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3220         Make into defcustoms.
3221         (dired-chown-program): Simplify initialization.
3223         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3225 2010-12-13  Romain Francoise  <romain@orebokech.com>
3227         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3229 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3231         * net/netrc.el (netrc-point-at-eol): Remove the unused
3232         netrc-point-at-old and netrc-bound-and-true-p bindings.
3233         (netrc-parse): Cache the netrc contents.
3235 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3237         * subr.el (posn-col-row): Evaluate header-line-format in the
3238         context of the POSITION window's buffer.
3240 2010-12-13  Glenn Morris  <rgm@gnu.org>
3242         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3243         (with-silent-modifications): Doc fixes.
3245 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3247         * net/tramp.el (tramp-action-password, tramp-process-actions):
3248         Revert previous from.  Use `save-restriction'.
3250 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
3252         * calendar/diary-lib.el (diary-list-sexp-entries):
3253         Handle case of no newline at end of file.  (Bug#7536)
3255 2010-12-13  Glenn Morris  <rgm@gnu.org>
3257         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3259 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3261         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3262         (tramp-process-actions): Do not widen.
3264         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3265         Protect buffer-modified value.  (Bug#7557)
3267 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
3269         * log-edit.el (log-edit-changelog-entries):
3270         Regexp quote filename.  (Bug#7505)
3272 2010-12-13  Tom Breton  <tehom@panix.com>
3274         * cus-edit.el (custom-save-all):
3275         Bind print-length and print-level to nil.  (Bug#7581)
3277 2010-12-13  Glenn Morris  <rgm@gnu.org>
3279         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3280         Run hooks to update menu contents.  (Bug#7586)
3282         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3283         file names, for the sake of MS Windows.  (Bug#7588)
3285 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3287         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3288         empty lines without a leading space.
3290 2010-12-13  Leo  <sdl.web@gmail.com>
3292         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3293         while mapping over marks (Bug#6810).
3295 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3297         * image-dired.el (image-dired-db-file)
3298         (image-dired-temp-image-file, image-dired-gallery-dir)
3299         (image-dired-temp-rotate-image-file): Set default values relative
3300         to image-dired-dir (Bug#7518).
3302 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
3304         * format.el (format-decode-run-method): Pass args FROM and TO, not
3305         point-min and point-max, to shell-command-on-region (Bug#7488).
3307 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
3309         * frame.el (blink-cursor-mode): Make default t for ns.
3311 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3313         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3315 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3317         * comint.el (comint-dynamic-list-input-ring)
3318         (comint-dynamic-complete-filename)
3319         (comint-replace-by-expanded-filename)
3320         (comint-dynamic-simple-complete)
3321         (comint-dynamic-list-filename-completions)
3322         (comint-dynamic-list-completions): Doc fix (Bug#7499).
3324         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3325         Doc fix (Bug#7471).
3327 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
3329         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3330         (Bug#7533).
3332 2010-12-13  W. Martin Borgert  <debacle@debian.org>  (tiny change)
3334         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3335         (Bug#7491).
3337 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3339         * files.el (file-relative-name): Handle UNC file names on
3340         DOS/Windows.  (Bug#4674)
3342 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
3344         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3345         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3346         (epg-context-set-passphrase-callback): Mention that the callback
3347         is not called when used with GnuPG 2.x.
3349 2010-12-13  Glenn Morris  <rgm@gnu.org>
3351         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3352         Ensure ps-footer-font-size-internal is initialized.
3353         Call ps-get-page-dimensions before trying to use ps-font-for-text.
3355 2010-12-13  Kenichi Handa  <handa@m17n.org>
3357         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3358         within condition-case.
3359         (rmail-show-mime): Don't use condition-case.
3360         (rmail-search-mime-message): New function.
3361         (rmail-search-mime-message-function): Set to
3362         rmail-search-mime-message.
3364 2010-12-13  Leo  <sdl.web@gmail.com>
3366         * ido.el (ido-common-initialization): New function.  (bug#3274)
3367         (ido-mode): Use it.
3368         (ido-completing-read): Call it.
3370 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
3372         * bookmark.el (bookmark-name-from-full-record): Rename back to
3373         this original name from `bookmark-name-from-record' reverting part
3374         of rev 102609 / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3375         As Drew Adams pointed out, there was no reason to cause churn for
3376         third-party callers.  (Bug#7609)
3378 2010-12-12  Alan Mackenzie  <acm@muc.de>
3380         * progmodes/cc-engine.el (c-forward-type): Before scanning a
3381         template arglist, check that the current language supports this.
3383 2010-12-11  Glenn Morris  <rgm@gnu.org>
3385         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3386         state of the file matches.  (Bug#7544)
3387         (vc-bzr-register, vc-bzr-checkin)
3388         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3389         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3391         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3393 2010-12-11  Karel Klíč  <kklic@redhat.com>
3395         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
3397 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3399         Derive from prog-mode, use derived-mode-p, and fix up various
3400         minor style issues in lisp/progmodes.
3402         * progmodes/vhdl-mode.el (vhdl-mode):
3403         * progmodes/verilog-mode.el (verilog-mode):
3404         * progmodes/vera-mode.el (vera-mode):
3405         * progmodes/sql.el (sql-mode):
3406         * progmodes/scheme.el (scheme-mode):
3407         * progmodes/perl-mode.el (perl-mode):
3408         * progmodes/octave-inf.el (inferior-octave-mode):
3409         * progmodes/autoconf.el (autoconf-mode):
3410         * progmodes/m4-mode.el (m4-mode):
3411         * progmodes/inf-lisp.el (inferior-lisp-mode):
3412         * progmodes/idlwave.el (idlwave-mode):
3413         * progmodes/icon.el (icon-mode):
3414         * progmodes/idlw-help.el (idlwave-help-mode):
3415         * progmodes/dcl-mode.el (dcl-mode):
3416         * progmodes/idlw-shell.el (idlwave-shell-mode):
3417         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3418         (ebrowse-member-mode, ebrowse-electric-position-mode):
3419         Use define-derived-mode.
3421         * progmodes/xscheme.el (exit-scheme-interaction-mode)
3422         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3423         (xscheme-debugger-mode-p, xscheme-send-string-1):
3424         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3425         (tcl-load-file, tcl-restart-with-file):
3426         * progmodes/ps-mode.el (ps-run-running):
3427         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3428         * progmodes/js.el (js--get-all-known-symbols):
3429         * progmodes/inf-lisp.el (inferior-lisp-proc):
3430         * progmodes/idlwave.el (idlwave-beginning-of-statement)
3431         (idlwave-template, idlwave-update-buffer-routine-info)
3432         (idlwave-update-current-buffer-info)
3433         (idlwave-get-routine-info-from-buffers, idlwave-choose)
3434         (idlwave-scan-class-info, idlwave-fix-keywords)
3435         (idlwave-list-buffer-load-path-shadows):
3436         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3437         (idlwave-toolbar-remove):
3438         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3439         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3440         (idlwave-shell-menu-def):
3441         * progmodes/idlw-complete-structtag.el
3442         (idlwave-prepare-structure-tag-completion):
3443         * progmodes/gud.el (gud-set-buffer):
3444         * progmodes/f90.el (f90-backslash-not-special):
3445         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3447         * progmodes/xscheme.el (xscheme-start)
3448         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3449         * progmodes/which-func.el (which-function):
3450         * progmodes/vhdl-mode.el (vhdl-set-style):
3451         * progmodes/verilog-mode.el (verilog-set-compile-command)
3452         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3453         (verilog-set-define, verilog-auto-reeval-locals):
3454         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3455         * progmodes/simula.el (simula-mode):
3456         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3457         * progmodes/python.el (python-check, python-mode):
3458         * progmodes/prolog.el (prolog-mode-variables):
3459         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3460         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3461         * progmodes/delphi.el (delphi-mode):
3462         * progmodes/cc-styles.el (c-setup-paragraph-variables):
3463         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3464         (c-font-lock-init): Move make-local-variable to their setq.
3466         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3467         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3468         make-local-hook.
3469         * progmodes/sh-script.el (sh-require-final-newline): Remove.
3470         (sh-set-shell): Don't set require-final-newline since it's already done
3471         by prog-mode.
3472         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3473         since we never set it.
3474         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3475         Use read-string and standard prompt.
3476         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3477         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3478         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3479         (meta-common-mode-map): Rename from meta-mode-map.
3480         Remove C-m binding, which is a user preference, not mode specific.
3481         (meta-common-mode): New major mode; replace meta-common-initialization.
3482         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3483         around with font-lock.
3484         * progmodes/etags.el (select-tags-table-mode):
3485         Derive from special-mode.
3486         * progmodes/octave-mod.el (octave-mode):
3487         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3488         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3489         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3490         Let define-derived-mode do its job.
3491         * progmodes/cpp.el (cpp-edit-mode-map):
3492         Move initialization into declaration.
3493         (cpp-edit-mode): Use define-derived-mode.
3494         (cpp-edit-load): Use derived-mode-p.
3495         * progmodes/mixal-mode.el (mixal-mode):
3496         * progmodes/f90.el (f90-mode):
3497         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3498         require-final-newline since prog-mode does it already.
3499         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3500         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3501         * progmodes/antlr-mode.el: Require cc-mode upfront.
3502         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3503         the declaration.
3504         (antlr-directory-dependencies, antlr-show-makefile-rules):
3505         Use derived-mode-p.
3506         (antlr-language-option): Don't assume point-min==1.
3507         (antlr-mode): Use define-derived-mode.
3508         * progmodes/ada-mode.el: Use derived-mode-p.
3509         (ada-mode): Use define-derived-mode.
3510         Use hack-local-variables-hook.
3512 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3514         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3515         (texinfo-mode): Don't disable adaptive-fill-mode.
3516         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3517         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3518         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3519         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3520         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3521         (texinfo-insert-@quotation, texinfo-insert-@samp)
3522         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3523         (texinfo-insert-@uref): Use define-skeleton.
3524         (texinfo-insert-@-with-arg): Delete.
3526 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
3528         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3529         nil, do quote archive member names.  (Bug#6144)
3531 2010-12-10  Glenn Morris  <rgm@gnu.org>
3533         * files.el (diff-no-select): Declare.
3535         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3536         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3538         * comint.el (comint-input-ring-file-name): Doc fix.
3540 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
3542         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3543         New functions.
3544         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3545         Use them instead of `nil' and `>', respectively.
3546         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3547         instead of `nil'.
3548         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3549         and menu-bar-positive-p instead of `nil' and `>', respectively.
3550         (Bug#1077)
3552 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3554         * whitespace.el (whitespace-newline-mode): Code fix.
3556 2010-12-09  Glenn Morris  <rgm@gnu.org>
3558         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3559         Rename functions without commas, update callers.
3561 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
3563         * whitespace.el (whitespace-cleanup-region):
3564         Clean up spaces before tabs.  (Bug#7582)
3566 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
3568         * bookmark.el: Adjust parameter names and doc strings to resolve
3569         confusion over whether "bookmark" meant a bookmark name or a
3570         bookmark record.  Along the way, shorten one function's name for
3571         similar reasons.  (Issue #7548)
3572         (bookmark-name-from-record): New name for
3573         `bookmark-name-from-full-record'.  All callers changed.
3574         (bookmark-get-bookmark, bookmark-get-bookmark-record)
3575         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3576         (bookmark-get-annotation, bookmark-set-annotation)
3577         (bookmark-get-filename, bookmark-set-filename)
3578         (bookmark-get-position, bookmark-set-position)
3579         (bookmark-get-front-context-string, bookmark-set-front-context-string)
3580         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3581         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3582         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3583         Rename `bookmark' parameter to `bookmark-name-or-record', to
3584         clearly show its role, and shorten or adjust doc strings accordingly.
3585         (bookmark-set-name): Same, and pass the parameter directly to
3586         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3587         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3588         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3589         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3590         and in some cases shorten doc string accordingly.
3591         (bookmark-rename): Change `old' and `new' parameters to `old-name'
3592         and `new-name', and adjust an internal variable to avoid confusion.
3593         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3594         parameter in doc string.
3596 2010-12-08  Glenn Morris  <rgm@gnu.org>
3598         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3599         from gdb's history file.  (Bug#7575)
3601         * mail/emacsbug.el (report-emacs-bug):
3602         Try to handle some other mail clients.
3604 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3606         * files.el (dir-locals-collect-variables): Don't let errors stop us.
3607         Use string-prefix-p.
3608         (file-name-version-regexp): New var.
3609         (file-name-sans-versions):
3610         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3611         (jka-compr-get-compression-info): Use dolist.
3612         (jka-compr-compression-info-list): Don't bother specifying
3613         version/backup regexps.
3615 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
3617         * simple.el (just-one-space): Make argument n default to 1 if
3618         omitted.
3620 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3622         * electric.el (electric-indent-post-self-insert-function):
3623         Delete trailing newlines even if we don't reindent.
3625 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3627         * minibuffer.el (completion-at-point): Remove the `arg'.
3628         * bindings.el (complete-symbol): Move back from minibuffer.el.
3630 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3632         * simple.el (just-one-space): Delete newlines for negative arg.
3634 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3636         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3637         (ansi-color-filter-apply): Simplify.
3638         (ansi-color-apply): Use `font-lock-face' rather than `face'.
3640 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3642         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3644 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
3646         * dired.el (dired-use-ls-dired): Set default to a special
3647         "unspecified" value.
3648         (dired-insert-directory): When called the first time, check
3649         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3651 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
3653         * replace.el: Add "collect" feature to occur.
3654         (occur-collect-regexp-history): New var.
3655         (occur-read-primary-args): Return a replace string for nlines,
3656         if needed.
3657         (occur): Extend the meaning of nlines.
3659 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3661         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3662         (which-func-update-1): Distinguish symbols from strings.
3663         (which-function): Stay within 80 columns.
3665 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3667         * subr.el (with-demoted-errors): Distinguish symbols from strings.
3669         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3670         Improve docstring.
3671         (comment-style): Use comment-styles's docs to describe values.
3673 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
3675         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3676         and ns-show-prefs (Bug#7535).
3678         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3679         bindings (Bug#7535).
3681 2010-12-03  Glenn Morris  <rgm@gnu.org>
3683         * nxml/nxml-mode.el: Require rng-nxml.
3684         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3685         Remove declarations.
3687         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3688         * nxml/rng-nxml.el, nxml/rng-valid.el:
3689         Remove leading `*' from defcustom docs.
3691         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3692         (normal-top-level-add-to-load-path, tty-handle-args):
3693         Convert comments to basic doc-strings.
3695         * net/browse-url.el (browse-url-url-at-point)
3696         (browse-url-default-browser): Remove autoload cookies.
3698         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3699         Remove more undefined cl functions.
3701         * vc/diff.el (diff-sentinel): Make new arguments optional.
3702         * ibuf-ext.el (diff-sentinel): Update declaration.
3704 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
3706         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3707         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3708         (epg-context-set-passphrase-callback): Mention that the callback
3709         is not called when used with GnuPG 2.x.
3711 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
3713         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3714         (tramp-file-name-port): Check also for `tramp-default-port'.
3715         (tramp-get-connection-name): New defun.
3716         (tramp-get-connection-process): Use it.
3717         (tramp-debug-message): Extend function exclude list.
3718         (tramp-drop-volume-letter): Fix doc string.
3720         * net/tramp-cmds.el: Remove solved todo item.
3722         * net/tramp-ftp.el:
3723         * net/tramp-gvfs.el:
3724         * net/tramp-gw.el:
3725         * net/tramp-imap.el:
3726         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3727         and `tramp-default-user-alist', respectively.
3729         * net/tramp-gw.el (tramp-gw-open-connection):
3730         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3732         * net/tramp-imap.el (tramp-imap-make-iht): Use just
3733         `tramp-file-name-port'.
3735         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3736         and "psftp".  Exchange "%k" marker with options.
3737         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3738         Compute size of link target.
3739         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3740         `tramp-current-*' up due to gateway methods.  Optimize computing of
3741         copy arguments.  Use `tramp-get-connection-name' and
3742         `tramp-get-connection-buffer'.  Improve debug messages.
3743         (tramp-compute-multi-hops): Remove port determination.
3744         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3746         * net/trampver.el: Update release number.
3748 2010-12-02  Glenn Morris  <rgm@gnu.org>
3750         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3751         Avoid infinite loop over windows.  (Bug#7492)
3753         * progmodes/flymake.el (flymake-check-file-limit):
3754         Allow nil to mean "no limit".
3755         (flymake-check-patch-master-file-buffer): Update for above change.
3756         Allow a .tex file-name extension to be optional.
3757         (flymake-master-tex-init): Also match \include statements.
3759 2010-11-30  Sam Steingold  <sds@gnu.org>
3761         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3762         (nxml-parent-document-set): A function to set `nxml-parent-document'.
3763         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3764         (nxml-mode-hook): Remove `defcustom' (auto-defined by
3765         define-derived-mode').
3766         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3767         users who want to call `nxml-parent-document-set'.
3769 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3771         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3772         stand-alone lines, since that is handled by log-edit-match-to-eoh
3773         (Bug#6465).
3775 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
3777         * dired.el (dired-get-filename): Replace backslashes with slashes
3778         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
3779         * locate.el (locate-default-make-command-line): Don't consider
3780         drive letter and root directory part of
3781         `directory-listing-before-filename-regexp'.  (Bug#7308)
3782         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3784 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3786         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3787         of :smie-open/close-alist.
3788         (smie-next-sexp): Make it accept a "start token" as argument.
3789         (smie-indent-keyword): Be careful not to misidentify tokens that span
3790         more than one line, as empty lines.  Add argument `token'.
3792 2010-11-27  Kenichi Handa  <handa@m17n.org>
3794         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3795         multipart subtypes, insert all as usual.
3797         * mail/rmail.el: Require rfc2047.
3799 2010-11-27  Kenichi Handa  <handa@m17n.org>
3801         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3802         (rmail-mime-entity-disposition)
3803         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3804         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3805         (rmail-mime-save): Handle the case that the button's `data' is a
3806         MIME entity.
3807         (rmail-mime-insert-text): New function.
3808         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3809         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3810         (rmail-mime-insert-bulk): New function mostly copied from the old
3811         rmail-mime-bulk-handler.
3812         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3813         (rmail-mime-process-multipart): New function mostly copied from
3814         the old rmail-mime-multipart-handler.
3815         (rmail-mime-show): Just call rmail-mime-process.
3816         (rmail-mime-process): New function mostly copied from the old
3817         rmail-mime-show.
3818         (rmail-mime-insert-multipart, rmail-mime-parse)
3819         (rmail-mime-insert, rmail-show-mime)
3820         (rmail-insert-mime-forwarded-message)
3821         (rmail-insert-mime-resent-message): New functions.
3822         (rmail-insert-mime-forwarded-message-function): Set to
3823         rmail-insert-mime-forwarded-message.
3824         (rmail-insert-mime-resent-message-function): Set to
3825         rmail-insert-mime-resent-message.
3827         * mail/rmailsum.el: Require rfc2047.
3828         (rmail-header-summary): Handle multiline Subject: field.
3829         (rmail-summary-line-decoder): Change the default to
3830         rfc2047-decode-string.
3832         * mail/rmail.el (rmail-enable-mime): Change the default to t.
3833         (rmail-mime-feature): Change the default to `rmailmm'.
3834         (rmail-quit): Delete the specifal code for rmail-enable-mime.
3835         (rmail-display-labels): Likewise.
3836         (rmail-show-message-1): Check rmail-enable-mime, and use
3837         rmail-show-mime-function for a MIME message.  Decode the headers
3838         according to RFC2047.
3840 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3842         * progmodes/which-func.el (which-func-imenu-joiner-function):
3843         Return a string, as expected.
3844         (which-function-mode): Make sure we stop any previous timer before
3845         starting a new one.
3847 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
3849         * net/tramp.el (tramp-default-method-alist)
3850         (tramp-default-user-alist, tramp-default-proxies-alist):
3851         Adapt custom options type.  (Bug#7445)
3853 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3855         * progmodes/python.el: Add Ipython support (Bug#5390).
3856         (python-shell-prompt-alist)
3857         (python-shell-continuation-prompt-alist): New options.
3858         (python--set-prompt-regexp): New function.
3859         (inferior-python-mode, run-python, python-shell):
3860         Require ansi-color.  Use python--set-prompt-regexp to set the comint
3861         prompt based on the Python interpreter.
3862         (python--prompt-regexp): New var.
3863         (python-check-comint-prompt)
3864         (python-comint-output-filter-function): Use it.
3865         (run-python): Use a pipe (Bug#5694).
3867 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3869         * progmodes/python.el (run-python): Doc fix.
3870         (python-keep-current-directory-in-path): New var (Bug#7454).
3872 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3874         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3875         Prompt user before actually printing.
3877 2010-11-27  Glenn Morris  <rgm@gnu.org>
3879         * startup.el (package-enable-at-startup, package-initialize):
3880         Remove unnecessary declarations.
3882 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
3884         * international/characters.el (glyphless-char-display-control):
3885         Exclude newline and TAB from the c0-control group.
3887 2010-11-27  Glenn Morris  <rgm@gnu.org>
3889         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3890         (expand-mail-aliases): Remove unnecessary autoload.
3892         * allout.el (allout-command-prefix, allout-mode-map): Declare.
3894         * shell.el (shell-dir-cookie-re): Move definition before use.
3896         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3897         Replace undefined CL functions.
3899 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
3901         * simple.el (prog-mode): Set bidi-paragraph-direction to
3902         left-to-right.
3904         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3906 2010-11-26  Glenn Morris  <rgm@gnu.org>
3908         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3909         diary-outlook-formats can be sensitive to calendar-date-style.
3910         (diary-outlook-formats): Simplify the default setting.
3911         (diary-from-outlook-internal): Pass subject and body as arguments.
3912         Use dolist rather than dotimes.  Don't save the diary buffer.
3913         (diary-from-outlook-gnus, diary-from-outlook-rmail):
3914         Pass subject and body as explicit arguments to the -internal function.
3916 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3918         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3919         parsing them.  This makes mailto:...?subject=foo\nbar work.
3921 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3923         * vc/diff.el (diff): Fix last change.
3925 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3927         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
3928         (pcase--dontcare-upats): New var.
3929         (pcase-let, pcase-let*): Generate better code.
3930         Accept the same bodies as `let'.
3931         (pcase-dolist): New macro.
3932         (pcase--trivial-upat-p): New helper function.
3933         (pcase--expand): Strip leading "(let nil" if any.
3935 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3937         * mail/mailclient.el (browse-url): Require.
3938         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3939         use the external browser function to send the mail (bug#7469).
3941         * net/browse-url.el (browse-url-browser-function): Revert the
3942         default back to the previous value, since the new value broke
3943         mailclient.el.
3944         (browse-url-mailto-function): New variable for mailto: URLs.
3945         (browse-url): Use the new variable for mailto: URLs.
3947 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3949         * eshell/esh-cmd.el (eshell-parse-command):
3950         * eshell/esh-arg.el (eshell-parse-arguments):
3951         * eshell/em-script.el (eshell-source-file):
3952         Use with-silent-modifications.
3954 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3956         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
3957         for a merge location.
3959         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3960         (vc-bzr-merge-branch): Always prompt.
3961         (vc-bzr-async-command): Use the full branch filename.
3963 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3965         * shell.el (shell): Use current-buffer by default if it's already
3966         a shell mode buffer and its process is dead.
3967         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3969 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
3971         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3972         Mention that the keywords should be comma separated.
3974 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3976         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3977         Accept optional prefix arg meaning to prompt for a command.
3978         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
3979         prefix arg meaning to prompt for a command.
3980         (vc-pull): Alias for vc-update.
3982         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3983         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3984         (vc-bzr-merge-branch): New functions, implementing merge-branch
3985         and pull operations.
3987 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3989         * Makefile.in: Fix up last merge.
3991         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3992         (diff-sentinel): Get them as arguments instead.
3993         (diff-old-file, diff-new-file, diff-extra-args): Remove.
3994         (diff-file-local-copy, diff-better-file-name): New funs.
3995         (diff-no-select): Rename from diff-into-buffer.
3996         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
3997         Prefer closures to buffer-local variables.
3998         (diff): Adjust accordingly.
3999         (diff-buffer-with-file): Move from files.el.
4000         * files.el (diff-buffer-with-file): Move to vc/diff.el.
4001         (diff-buffer-internal): Remove.
4002         (diff-buffer-buffer): Remove.
4003         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4004         the buffer name used, and so as not to mess up windows and frames.
4006 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
4008         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4009         (diff-buffer-internal): New function extracted from diff-buffer-with-file
4010         (diff-buffer-with-file): Use it.
4011         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4012         (diff): Use it.
4014 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
4016         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4017         \ref's or \pageref's value as default instead of initial input.
4019 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
4021         * files.el (backup-by-copying-when-mismatch): The default value is
4022         now t.
4024         * startup.el (normal-top-level):
4025         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4026         `backup-by-copying-when-mismatch'.
4028 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
4030         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4032 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4034         * progmodes/python.el (python-font-lock-keywords):
4035         Highlight top-level augmented assignments (Bug#6445).
4037 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
4039         * term/ns-win.el (ns-right-control-modifier)
4040         (ns-right-command-modifier): Defvar them.
4042         * cus-start.el (all): Add ns-right-control-modifier and
4043         ns-right-command-modifier (Bug#7458).
4045 2010-11-20  Glenn Morris  <rgm@gnu.org>
4047         * emacs-lisp/authors.el (authors-ignored-files)
4048         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4050 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
4052         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4053         (report-emacs-bug-parse-query-results)
4054         (report-emacs-bug-create-existing-bugs-buffer): Pass through
4055         keywords used for querying the bug database to show them in the
4056         existing bugs buffer.
4058 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
4060         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4062         * info.el (info-tool-bar-map): Add some :vert-only keywords.
4064 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
4066         * international/characters.el (glyphless-char-display-control):
4067         Make it a defcustom, with update-glyphless-char-display as its
4068         :set attribute.
4069         (top level): Don't call update-glyphless-char-display.
4071 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
4073         Sync with Tramp 2.2.0.
4075         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4076         `file-remote-p' (due to compatibility).
4078         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4079         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4081         * net/trampver.el: Update release number.
4083 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
4085         * faces.el (glyphless-char): Define value for `pc'.
4087 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
4089         Implemented a bug querying mechanism.
4090         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4091         (report-emacs-bug-create-existing-bugs-buffer)
4092         (report-emacs-bug-parse-query-results)
4093         (report-emacs-bug-query-existing-bugs): New functions.
4095 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
4097         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4098         a \ref{} or \pageref{} macro, then use its value as initial input.
4100 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
4102         * calc/calc-units.el (math-build-units-table-buffer):
4103         calc/README: Mention that the TeX specific units won't use the
4104         `tex' prefix in TeX mode.
4105         calc/calc-lang.el (math-variable-table): Don't use the `tex'
4106         prefix for units in TeX mode.
4108 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4110         * simple.el (kill-new, kill-append, kill-region):
4111         * comint.el (comint-kill-region): Make the yank-handler argument
4112         obsolete.
4114 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4116         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4117         that are both openers (resp. closers) and something else.
4118         (smie-grammar): Loosen definition of valid values.
4119         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4120         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4121         (smie-indent-after-keyword): Adjust users.
4122         (smie-indent-keyword): Don't indent empty lines.
4124         * vc-hg.el (vc-hg-program): New var.
4125         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4126         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4128 2010-11-18  Glenn Morris  <rgm@gnu.org>
4130         * emacs-lisp/autoload.el (autoload-find-destination): The function
4131         coding-system-eol-type may return non-numeric values.  (Bug#7414)
4133 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
4135         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4137 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
4139         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
4141 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
4143         * textmodes/picture.el (picture-mouse-set-point): Don't use
4144         posn-col-row; explicitly compute the motion based on the posn at
4145         the window-start (Bug#7390).
4147 2010-11-18  Glenn Morris  <rgm@gnu.org>
4149         * novice.el (disabled-command-function):
4150         Fix 2009-11-15 change.  (Bug#7384)
4152 2010-11-18  Glenn Morris  <rgm@gnu.org>
4154         * calendar/calendar.el (diary-iso-date-forms): Make elements
4155         mutually exclusive.  (Bug#7377)
4157 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4159         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4160         when filling the remaining "unconstrained" values.
4162 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4164         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4165         safety predicate.
4167         * files.el (safe-local-variable-p): Gracefully handle errors.
4169         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4170         Use smie-indent-virtual when indenting relative to an opener.
4171         (smie-rule-separator): Use smie-rule-parent.
4172         (smie-indent-keyword): Consult rules, even for openers at bol.
4173         (smie-indent-comment-close): Try to align closer's content.
4175 2010-11-18  Glenn Morris  <rgm@gnu.org>
4177         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4179 2010-11-18  Glenn Morris  <rgm@gnu.org>
4181         * printing.el (pr-menu-bind): Doc fix.
4183         * speedbar.el (speedbar-toggle-images): Doc fix.
4185         * progmodes/python.el (python-shell): Doc fix.
4187         * wid-edit.el (widget-field-use-before-change)
4188         (widget-use-overlay-change): Doc fixes.
4190 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4192         Minor cleanup to improve style.
4193         * textmodes/rst.el (rst-update-section): Use point-marker.
4194         (rst-get-decoration): Eliminate unneeded assignment.
4195         (rst-promote-region, rst-straighten-decorations)
4196         (rst-section-tree, rst-adjust): Use point-marker.
4197         (rst-toc-mode-mouse-goto): Avoid setq.
4198         (rst-shift-region-guts, rst-shift-region-left)
4199         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4200         (rst-convert-bullets-to-enumeration): Use copy-marker.
4202         * minibuffer.el (completion-fail-discreetly): New var.
4203         (completion--do-completion): Use it.
4205         * electric.el (electric-pair-pairs): New var.
4206         (electric-pair-post-self-insert-function): Use it.
4207         (electric-layout-post-self-insert-function): Don't insert a before
4208         newline unless it's actually needed.
4210 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4212         * progmodes/python.el (run-python): Explain why we remove the current
4213         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
4215         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4217 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4219         * progmodes/octave-mod.el: Rely on elecric-*-modes.
4220         (octave-mode-map): Don't bind ;, SPC, and LF.
4221         (octave-auto-indent, octave-auto-newline): Remove.
4222         (electric-layout-rules): Declare.
4223         (octave-mode): Set electric-layout-rules.
4224         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4225         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4226         (octave-electric-space): Remove.
4228         * electric.el (electric-layout-mode): New minor mode.
4229         (electric--after-char-pos): New function.
4230         (electric-indent-post-self-insert-function): Use it.
4231         (electric-layout-rules): New var.
4232         (electric-layout-post-self-insert-function): New function.
4233         (electric-indent-mode): Make them interact better.
4235 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4237         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4238         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4239         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4241 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
4243         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4244         Make sure to check inside the word (Bug#6761).
4246 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
4248         * startup.el (command-line): If the cursorColor resource is set,
4249         change the cursor face-spec (Bug#7392).
4251 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
4253         The main features of the following allout.el changes are:
4254         - implement user customization for the allout key bindings
4255         - add a customization control by which the user can inhibit use of
4256           a trailing Ctrl-H, so by default it's reserved for use with
4257           describe-prefix-bindings
4258         - adapt to new version of called-interactively-p, while
4259           maintaining backwards compatibility with old version
4260         - fix hotspot navigation so i works properly with meta-modified keys.
4262         * allout.el (allout-keybindings, allout-bind-keys)
4263         (allout-keybindings-binding, allout-prefixed-keybindings)
4264         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4265         (allout-keybindings-list, allout-mode-map-adjustments)
4266         (allout-setup-mode-map): Establish allout-mode keymaps as user
4267         customizable settings, and also establish a customizable setting which
4268         regulates whether or not a trailing control-h is reserved for use with
4269         describe-prefix-bindings - and inhibit it by default, so that control-h
4270         *is* reserved for describe-prefix-bindings unless the user changes it.
4272         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4273         and accurately between modified and unmodified events, and handle
4274         modified events more comprehensively.
4276         * allout.el (allout-substring-no-properties):
4277         Alias to use or provide version of `substring-no-properties'.
4278         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4280         * allout.el (allout-next-single-char-property-change):
4281         Alias to use or provide version of `next-single-char-property-change'.
4282         (allout-annotate-hidden, allout-hide-by-annotation):
4283         Use `allout-next-single-char-property-change'.
4285         * allout.el (allout-select-safe-coding-system):
4286         Alias to use or provide version of `select-safe-coding-system'.
4287         (allout-toggle-subtree-encryption):
4288         Use `allout-select-safe-coding-system'.
4290         * allout.el (allout-set-buffer-multibyte):
4291         Alias to use or provide version of `set-buffer-multibyte'.
4292         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4294         * allout.el (allout-called-interactively-p): Macro for using the
4295         different versions of called-interactively-p identically, depending on
4296         the subroutine's argument signature.
4297         (allout-back-to-current-heading, allout-beginning-of-current-entry):
4298         Use `(interactive "p")' instead of `(called-interactively-p)'.
4300         * allout.el (allout-init, allout-ascend, allout-end-of-level)
4301         (allout-previous-visible-heading, allout-forward-current-level)
4302         (allout-backward-current-level, allout-show-children):
4303         Use `allout-called-interactively-p' instead of `called-interactively-p'.
4305         * allout.el (allout-before-change-handler):
4306         Exempt edits to the (overlaid) character after the allout outline
4307         bullet from edit confirmation prompt.
4309         * allout.el (allout-add-resumptions):
4310         Ensure that it respects correct buffer for keybindings.
4312         * allout.el (allout-beginning-of-line):
4313         Use `allout-previous-single-char-property-change' alias for the sake of
4314         diverse compatibility.
4316         * allout.el (allout-end-of-line):
4317         Use `allout-mark-active-p' to encapsulate respect for mark activity.
4319 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
4321         * frame.el (frame-notice-user-settings): Don't clobber other
4322         user-set parameters when calling face-set-after-frame-default in
4323         response to background-color parameter (Bug#7373).
4325 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
4327         * international/characters.el (glyphless-char-display-control):
4328         Rename from glyphless-char-control; all users changed.  Doc fix.
4329         Signal an error if display method is not one of the recognized
4330         symbols.
4332 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
4334         * net/tramp-compat.el (tramp-compat-line-beginning-position)
4335         (tramp-compat-line-end-position): Remove them.
4337         * net/tramp.el (tramp-parse-rhosts-group)
4338         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4339         (tramp-parse-hosts-group, tramp-parse-passwd-group)
4340         (tramp-parse-netrc-group, tramp-parse-putty-group)
4341         * net/tramp-cmds.el (tramp-append-tramp-buffers)
4342         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4343         (tramp-sh-handle-file-selinux-context)
4344         (tramp-sh-handle-file-name-all-completions)
4345         (tramp-sh-handle-insert-directory)
4346         (tramp-sh-handle-expand-file-name, tramp-find-executable)
4347         (tramp-wait-for-output, tramp-send-command-and-read)
4348         * net/tramp-smb.el (tramp-smb-read-file-entry)
4349         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4351         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4352         `point-at-bol'.
4353         (tramp-remote-coding-commands): Add an alternative using "base64
4354         -d -i".  This is needed for older base64 versions from GNU
4355         coreutils.  Reported by Klaus Reichl
4356         <Klaus.Reichl@thalesgroup.com>.
4358 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
4360         * simple.el (count-words-region): New function.
4362 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4364         * shell.el (shell-dir-cookie-re): New custom variable.
4365         (shell-dir-cookie-watcher): New function.
4367         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4368         and compilation-mode (bug#7350).
4370         * vc/smerge-mode.el (smerge-refine): Choose better default part to
4371         highlight when one of them is empty.
4373         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4374         trailing space.
4375         (skeleton-newline): New function.
4376         (skeleton-internal-1): Use it.
4378         * simple.el (open-line): `newline' may strip trailing space.
4380 2010-11-12  Kevin Ryde  <user42@zip.com.au>
4382         * international/mule-cmds.el (princ-list): Use mapc.
4384 2010-11-12  Glenn Morris  <rgm@gnu.org>
4386         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4387         Use it to replace all instances of "*Compile-Log*".
4389 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4391         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4392         indentation specs.
4394 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4396         * progmodes/modula2.el: Use SMIE and skeleton.
4397         (m2-mode-syntax-table): (*..*) can be nested.
4398         Add //...\n.  Fix paren syntax.
4399         (m2-mode-map): Remove LF and TAB bindings.
4400         (m2-indent): Add safety property.
4401         (m2-smie-grammar): New var.
4402         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4403         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4404         (m2-mode): Use define-derived-mode.
4405         (m2-newline, m2-tab): Remove.
4406         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4407         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4408         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4409         (m2-import): Use define-skeleton.
4411 2010-11-11  Glenn Morris  <rgm@gnu.org>
4413         * obsolete/lucid.el: Don't warn about any CL functions in this file.
4415         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4416         (ls-lisp-verbosity): Add custom :set-after property.
4417         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4418         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4419         (ls-lisp-insert-directory): Update caller.
4420         (ls-lisp-set-options): New function.
4421         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4422         Doc fix.
4424         * play/landmark.el (lm-prompt-for-move):
4425         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4427         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4429         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4430         (idlwave-study-twins): Prefix dynamic local variable `name'.
4431         (idlwave-routine-twin-compare): Update for above change.
4433         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4434         Prefix dynamic local variables `name', `kwd', and `link'.
4435         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4436         * progmodes/idlw-complete-structtag.el
4437         (idlwave-complete-structure-tag-help):
4438         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4439         (idlwave-complete-sysvar-tag-help)
4440         (idlwave-complete-class-structure-tag-help):
4441         Update for above name changes.
4443 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4445         * net/browse-url.el (browse-url-browser-function): Change the
4446         default to use `browse-url-mail' on mailto: URLs.
4448 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
4450         * emacs-lisp/package.el (package-read-all-archive-contents):
4451         Reset package-archive-contents to nil before re-reading.
4453 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
4455         * textmodes/flyspell.el (flyspell-word): Do not re-check words
4456         already found as misspellings by (flyspell-large-region), just
4457         do highlighting (bug#7322).
4459 2010-11-10  Glenn Morris  <rgm@gnu.org>
4461         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4463         * emulation/edt.el (edt-with-position): New macro.
4464         (edt-find-forward, edt-find-backward, edt-find-next-forward)
4465         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4466         (edt-paragraph-forward, edt-paragraph-backward): Use it.
4468         * emulation/tpu-extras.el (tpu-with-position): New macro.
4469         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4471         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4473         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4474         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4475         (texinfo-master-menu, texinfo-insert-node-lines)
4476         (texinfo-multiple-files-update):
4477         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4478         Use line-beginning-position.
4480         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4481         No recent Emacs supports system-type `emx'.
4483         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4484         (ada-command-separator, ada-default-prj-properties)
4485         (ada-find-any-references): Update for above name change.
4487         * dirtrack.el (dirtrack-directory-function)
4488         (dirtrack-canonicalize-function):
4489         * filecache.el (file-cache-completion-ignore-case)
4490         (file-cache-case-fold-search, file-cache-ignore-case):
4491         * term.el (serial-port-is-file-p): Cosmetic change.
4493         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4494         Remove non-existent `windows-95' system-type.
4495         * dired.el (dired-chown-program): Remove non-existent `linux'
4496         system-type.
4498         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4499         (ping-program-options): Remove non-existent `linux' system-type.
4501         * startup.el (package-initialize): Update declaration.
4503         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4504         (ls-lisp-handle-switches): Use time-less-p.
4505         (ls-lisp-format-time): Use float-time.
4507         * textmodes/remember.el (remember-time-to-seconds): Remove.
4508         (remember-store-in-mailbox): Use float-time.
4510         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4512         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4513         never a real function.
4514         (with-no-warnings): Remove compat stub, now unused.
4515         (time-less-p): Doc fix.
4516         (time-to-number-of-days): Simplify.
4518         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4519         Remove.
4520         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4521         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4522         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4523         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4524         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4526         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4527         (eshell-shuffle-files, eshell-shorthand-tar-command)
4528         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4529         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4530         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4531         Prefix dynamic local variable `matches'.
4533         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4534         Prefix dynamic local variable `skeleton'.
4536 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4538         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4539         in mail buffer; make yank-action always a command that yanks original
4540         buffer.
4542 2010-11-09  Glenn Morris  <rgm@gnu.org>
4544         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4546 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4548         * minibuffer.el (minibuffer-completion-help): Specify the end of the
4549         completion field (bug#7211).
4551         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4552         Fix handling of backslash escapes.
4553         (python-quote-syntax): Adjust accordingly.
4555 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
4557         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4558         (vc-mtn-workfile-branch): Adjust to new output format.
4560 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4562         * international/mule-cmds.el (princ-list): Mark as obsolete.
4564 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4566         * emacs-lisp/smie.el: New package.
4568 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
4570         * files.el (backup-by-copying-when-mismatch):
4571         Set `permanent-local' property.
4573         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4574         `permanent-local' property for `backup-by-copying-when-mismatch'.
4576 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
4578         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
4580 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
4582         * progmodes/verilog-mode.el (verilog-insert-one-definition)
4583         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4584         AUTOINOUT for SV style multidimensional arrays, bug294.
4585         Reported by Eric Mastromarchi.
4586         (verilog-preprocess): Use with-current-buffer and
4587         font-lock-fontify-buffer to cleanup style issues.
4589 2010-11-09  Glenn Morris  <rgm@gnu.org>
4591         * locate.el (locate, locate-mode): Doc fixes.
4593 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
4595         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4596         user for confirmation.
4597         (server-force-stop): Use it.
4598         (server-start): Use server-force-stop for kill-emacs-hook, to
4599         avoid user interaction while killing Emacs.
4601 2010-11-09  Glenn Morris  <rgm@gnu.org>
4603         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4604         (meta-indent-line): Simplify.
4606         * vc/emerge.el (emerge-line-number-in-buf):
4607         * textmodes/ispell.el (ispell-region):
4608         * textmodes/fill.el (current-fill-column):
4609         * progmodes/xscheme.el (xscheme-send-current-line):
4610         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4611         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4612         * progmodes/sh-script.el (sh-handle-prev-do):
4613         * progmodes/meta-mode.el (meta-indent-line):
4614         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4615         (idlwave-in-quote):
4616         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4617         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4618         * progmodes/fortran.el (fortran-looking-at-if-then):
4619         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4620         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4621         (cperl-find-pods-heres):
4622         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4623         * net/quickurl.el (quickurl-list-insert):
4624         * net/ldap.el (ldap-search-internal):
4625         * net/eudc.el (eudc-expand-inline):
4626         * mail/sendmail.el (sendmail-send-it):
4627         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4628         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4629         (viper-brac-function):
4630         * calc/calc-yank.el (calc-do-grab-region):
4631         * calc/calc-keypd.el (calc-keypad-press):
4632         * term.el (term-move-columns, term-insert-spaces):
4633         * speedbar.el (speedbar-highlight-one-tag-line):
4634         * simple.el (current-word):
4635         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4636         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4637         (Info-scroll-down):
4638         * hippie-exp.el (he-line-beg):
4639         * epa.el (epa--marked-keys):
4640         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4641         (dired-update-file-line, dired-add-entry, dired-remove-entry)
4642         (dired-relist-entry):
4643         * buff-menu.el (Buffer-menu-buffer):
4644         * array.el (current-line):
4645         * allout.el (allout-resolve-xref)
4646         (allout-latex-verbatim-quote-curr-line):
4647         Replace yet more uses of end-of-line etc with line-end-position, etc.
4649 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4651         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4652         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4653         (checkdoc-syntax-table): Initialize in the declaration.
4654         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4655         the mode on unconditionally.
4657         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4658         (extent-end-position, extent-start-position): Remove setf method for
4659         non-existing functions (bug#7319).
4661 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4663         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4664         (smie-precs->prec2): Rename from smie-precs-precedence-table.
4665         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4666         (smie-prec2->grammar): Rename from smie-prec2-levels.
4667         (smie-grammar): Rename from smie-op-levels.
4668         (smie-indent--hanging-p): Rename from smie-hanging-p.
4669         (smie-rule-hanging-p): New alias.
4670         (smie-indent--bolp): Rename from smie-bolp.
4671         (smie-indent--hanging-p): New alias.
4672         (smie--token): New dynamically bound variable.
4673         (smie-indent--parent): New function.
4674         (smie-rule-parent-p): Use it; rename from smie-parent-p.
4675         (smie-rule-next-p): Rename from smie-next-p.
4676         (smie-rule-prev-p): Rename from smie-prev-p.
4677         (smie-rule-sibling-p, smie-rule-parent)
4678         (smie-indent--separator-outdent, smie-rule-separator): New functions.
4679         (smie-rule-separator-outdent): New var.
4680         (smie-indent--rule): Merge with smie-indent--column.
4681         (smie-indent-forward-token, smie-indent-backward-token):
4682         Also recognize close parens.
4683         (smie-indent-keyword): Don't use smie-indent--column any more.
4684         (smie-indent-after-keyword): Ignore closers by default.
4685         (smie-indent-line): Use with-demoted-errors.
4686         * progmodes/octave-mod.el (octave-smie-grammar):
4687         Rename from octave-smie-op-levels.
4688         (octave-smie-rules): Adjust to new behavior.
4689         * progmodes/prolog.el (prolog-smie-grammar):
4690         Rename from prolog-smie-op-levels.
4692 2010-11-07  Glenn Morris  <rgm@gnu.org>
4694         * eshell/esh-util.el (subst-char-in-string)
4695         (directory-files-and-attributes): These compatibility definitions are
4696         not needed on any version of Emacs since at least 21.4.
4698         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4699         (verilog-get-end-of-line): Remove.
4700         (verilog-within-string, verilog-re-search-forward-substr)
4701         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4702         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4703         Use point-at-bol, point-at-eol.
4704         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4705         Remove.
4706         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4707         (electric-pascal-terminate-line, pascal-set-auto-comments)
4708         (pascal-indent-paramlist, pascal-indent-declaration)
4709         (pascal-get-lineup-indent, pascal-func-completion)
4710         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4711         Use point-at-bol, point-at-eol.
4712         * progmodes/flymake.el (flymake-line-beginning-position)
4713         (flymake-line-end-position): Remove.
4714         (flymake-highlight-line): Use point-at-bol, point-at-eol.
4715         * eshell/esh-util.el (line-end-position, line-beginning-position):
4716         Remove compat definitions.
4718         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4719         Use end-of-line N.
4720         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4721         Use line-end-position.
4723         * emacs-lisp/chart.el (chart-zap-chars):
4724         * play/decipher.el (decipher-set-map):
4725         * progmodes/ada-mode.el (ada-get-current-indent)
4726         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4727         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4728         * progmodes/ada-xref.el (ada-initialize-runtime-library)
4729         (ada-get-all-references):
4730         * progmodes/cperl-mode.el (cperl-electric-paren)
4731         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4732         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4733         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4734         (cperl-word-at-point-hard):
4735         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4736         (idlwave-shell-filename-string, idlwave-shell-batch-command)
4737         (idlwave-shell-display-line):
4738         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4739         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4740         * progmodes/js.el (js--re-search-forward-inner)
4741         (js--re-search-backward-inner):
4742         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4743         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4744         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4745         * textmodes/flyspell.el (flyspell-process-localwords):
4746         * textmodes/ispell.el (ispell-buffer-local-parsing)
4747         (ispell-buffer-local-dict, ispell-buffer-local-words):
4748         Use point-at-bol and point-at-eol.
4750         * speedbar.el (speedbar-generic-item-info)
4751         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4752         (speedbar-add-indicator, speedbar-check-vc-this-line)
4753         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4754         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4755         Replace more uses of end-of-line etc with line-end-position.
4757 2010-11-06  Glenn Morris  <rgm@gnu.org>
4759         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4760         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4761         (texinfo-delete-existing-pointers, texinfo-find-pointer)
4762         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4763         (texinfo-multiple-files-update):
4764         * textmodes/table.el (table--probe-cell-left-up)
4765         (table--probe-cell-right-bottom):
4766         * textmodes/picture.el (picture-tab-search):
4767         * textmodes/page-ext.el (pages-copy-header-and-position)
4768         (pages-directory-for-addresses):
4769         * progmodes/vera-mode.el (vera-get-offset):
4770         * progmodes/simula.el (simula-calculate-indent):
4771         * progmodes/python.el (python-pdbtrack-overlay-arrow):
4772         * progmodes/prolog.el (end-of-prolog-clause):
4773         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4774         * progmodes/icon.el (indent-icon-exp):
4775         * progmodes/etags.el (tag-re-match-p):
4776         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4777         * progmodes/ebnf2ps.el (ebnf-begin-file):
4778         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4779         (dcl-save-local-variable):
4780         * play/life.el (life-setup):
4781         * play/gametree.el (gametree-looking-at-ply):
4782         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4783         * mail/sendmail.el (mail-mode-auto-fill):
4784         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4785         * emacs-lisp/edebug.el (edebug-overlay-arrow):
4786         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4787         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4788         (woman-tab-to-tab-stop, WoMan-warn-ignored):
4789         * type-break.el (type-break-file-keystroke-count):
4790         * term.el (term-replace-by-expanded-history-before-point)
4791         (term-skip-prompt, term-extract-string):
4792         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4793         (speedbar-contract-line, speedbar-toggle-line-expansion)
4794         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4795         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4796         * sort.el (sort-skip-fields):
4797         * skeleton.el (skeleton-internal-list):
4798         * simple.el (line-move-finish, line-move-to-column):
4799         * shell.el (shell-forward-command):
4800         * misc.el (copy-from-above-command):
4801         * makesum.el (double-column):
4802         * ebuff-menu.el (electric-buffer-update-highlight):
4803         * dired.el (dired-move-to-end-of-filename):
4804         * dframe.el (dframe-popup-kludge):
4805         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4806         * arc-mode.el (archive-get-lineno):
4807         Use line-end-position and line-beginning-position.
4809         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4810         (idlwave-study-twins): Prefix dynamic local `class'.
4811         (idlwave-routine-twin-compare): Update for above name change.
4813         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4814         Use boundp tests to silence compiler.  Update for changed name of
4815         bytecomp-filename variable.
4817         * emulation/viper-cmd.el (viper-read-string-with-history):
4818         Prefix dynamic local `initial'.
4819         (viper-minibuffer-standard-hook): Update for above name change.
4821         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4822         (elint-init-form): Update for above name change.
4824         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4825         local variables `cbeg' and `cend' a prefix.
4826         (mail-extr-voodoo): Update for above name change.
4828         * textmodes/reftex-toc.el (reftex-toc-do-promote)
4829         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4830         (reftex-toc-promote-action): Doc fix.
4832         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4833         `prompt', `data' a prefix.
4834         (reftex-select-post-command-hook, reftex-select-callback)
4835         (reftex-select-mouse-accept, reftex-select-read-cite):
4836         Update for above name changes.
4838         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4839         `refstyle' to reftex-refstyle.
4840         (reftex-offer-label-menu): Update for above name change.
4841         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4842         `refstyle' name change.
4844         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4845         with with-current-buffer.
4846         (diff, template): Give dynamic local variables a prefix.
4847         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4848         (emerge-line-number-in-buf): Update for above name change.
4849         (emerge-combine-versions-internal): Rename local `template' to
4850         emerge-combine-template.
4851         (emerge-combine-versions-edit): Update for above name change.
4853 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
4855         * textmodes/reftex-cite.el
4856         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4857         entries with whitespace after \bibitem.
4858         (reftex-create-bibtex-file): Match entries containing numbers and
4859         symbol constituents.  Make sure that entries with whitespace at
4860         various places are found.
4862 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
4864         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4866 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
4868         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4870 2010-11-05  Glenn Morris  <rgm@gnu.org>
4872         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4873         (woman2-roff-buffer): Give local variable `request' a prefix.
4874         (woman0-macro): Rename argument `request' in the same way.
4875         (woman-request): New name for `request' dynamic variable.
4876         (woman-unquote, woman-forward-arg): Update for above name change.
4877         (woman1-roff-buffer): Give local variable `unquote' a prefix.
4878         (woman1-unquote): New name for `unquote' dynamic variable.
4879         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4880         (woman-translations): Rename from `translations'.  No longer global.
4881         (woman2-tr, woman-translate): Update for above name change.
4882         (woman-translate): Check for bound variable.
4883         (woman2-roff-buffer): Give local variable `translations' a prefix.
4885         * play/doctor.el: Give all local variables a prefix.  Update callers.
4886         (doc$, doctor-put-meaning): Use backquote.
4888         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4889         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4891         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4892         variables bytes, ptr, op a prefix.
4893         (disassemble-offset): Update for above change.
4895 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4897         * emacs-lisp/package.el (package-unpack): Remove no-op.
4898         (package--builtins, package--dir): Doc fix.
4899         (package-activate-1, package-activate, package-install)
4900         (package-compute-transaction): Fix error message.
4901         (package-delete): Use delete-directory.  Omit system packages.
4902         (package-initialize): Set package-alist to nil first.
4903         (package-menu-mark-delete, package-menu-mark-install): Don't add
4904         symbols that are inconsistent with the package state.
4905         (package-menu-execute): Perform deletions and installations as
4906         single batch operations.
4908 2010-11-03  Glenn Morris  <rgm@gnu.org>
4910         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4911         (props): Remove unnecessary declaration.
4913         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4914         set-process-query-on-exit-flag.
4916         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4917         (reftex-toc-do-promote): Remove unused local `mpos'.
4918         (reftex-toc-restore-region): Make `mpos' local to this function.
4920         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4922         * play/landmark.el (lm-losing-threshold): Correct spelling.
4923         (lm-human-plays): Use new name.
4925         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4926         (gomoku-human-plays): Use new name.
4928         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4929         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4930         (gomoku-score-trans-table, gomoku-winning-threshold)
4931         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4933 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4935         * emacs-lisp/package.el: Don't put built-in packages in
4936         package-alist, to avoid loading inefficiencies.
4937         (package-built-in-p): Make VERSION optional, and treat it as a
4938         minimum acceptable version.
4939         (package-activate): Search separately for built-in packages.
4940         Emit a warning if a dependency fails.
4941         (define-package): Handle most common case, where there is no
4942         obsolete package, first.
4943         (package-compute-transaction): Print required version in error.
4944         (package--initialized): New variable.
4945         (list-packages): Use it.
4946         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
4947         built-in packages in packages-alist; keep it separate.
4948         Set package--initialized.
4949         (describe-package): Avoid activating packages as a side-effect.
4950         Search separately for built-in packages.
4951         (describe-package-1): Handle the case where an elpa package is
4952         simultaneously built-in and available/installed.
4953         (package-installed-p, package--generate-package-list):
4954         Search separately for built-in packages.
4955         (package-load-descriptor): Doc fix.
4957 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4959         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4960         Handle __DATA__ and __END__.
4962 2010-11-02  Noah Friedman  <friedman@splode.com>
4964         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4965         nil, do not ask to recompile files that are not already compiled,
4966         and do not recompile them.
4968 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
4970         * emacs-lisp/package.el (package-initialize): Ensure that
4971         obsoleted built-in packages are not in package-activated-list
4972         during activation.
4973         (describe-package-1): Make the "installed" status override
4974         "built-in".
4976 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4978         * subr.el (version-separator, version-regexp-alist): Remove '*'
4979         from docstring.
4980         (version-list-<=, version<=, version=): Doc fix.
4982 2010-11-01  Kenichi Handa  <handa@m17n.org>
4984         * faces.el (glyphless-char): Inherit underline for tty.
4986 2010-11-01  Kenichi Handa  <handa@m17n.org>
4988         Implement various display methods for glyphless characters.
4990         * international/characters.el (char-acronym-table): New variable.
4991         (glyphless-char-control): New variable.
4992         (update-glyphless-char-display): New function.
4994         * faces.el (glyphless-char): New face.
4996 2010-11-01  Glenn Morris  <rgm@gnu.org>
4998         * calendar/holidays.el (general-holidays, oriental-holidays)
4999         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5000         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5001         the definitions of their targets.
5003         * emacs-lisp/smie.el (smie): New custom group.
5004         (smie-blink-matching-inners, smie-indent-basic): Add :group.
5006         * faces.el (xw-defined-colors, x-setup-function-keys):
5007         * mouse-sel.el (x-select-text):
5008         * term/w32console.el (x-setup-function-keys): Update declarations.
5010         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5012         * textmodes/ispell.el (comment-add): Declare.
5014         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5015         Declare.
5017         * info.el (finder-keywords-hash, package-alist): Declare.
5019 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
5021         * finder.el (finder-compile-keywords): Don't use intern-soft,
5022         since package names may not yet exist in the obarray.
5024 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
5026         * vc/vc-arch.el (vc-arch-checkin):
5027         * vc/vc-cvs.el (vc-cvs-checkin):
5028         * vc/vc-mtn.el (vc-mtn-checkin):
5029         * vc/vc-rcs.el (vc-rcs-checkin):
5030         * vc/vc-sccs.el (vc-sccs-checkin):
5031         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5032         since 2010-04-21 commit by Stefan Monnier.
5034 2010-11-01  Glenn Morris  <rgm@gnu.org>
5036         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5038         * startup.el (package-enable-at-startup, package-initialize):
5039         Silence compiler.
5041         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5042         Silence compiler.
5044 2010-10-31  Julien Danjou  <julien@danjou.info>
5046         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5047         (byte-recompile-directory):
5048         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5049         Use `byte-recompile-file'.
5051 2010-10-31  Glenn Morris  <rgm@gnu.org>
5053         * cus-start.el: Handle standard values via a keyword.
5054         Only set version property if specified.
5055         (cursor-in-non-selected-windows, menu-bar-mode)
5056         (tool-bar-mode, show-trailing-whitespace):
5057         Do not specify standard values.
5058         (transient-mark-mode, temporary-file-directory): Use :standard.
5060 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
5062         * term/x-win.el (x-get-selection-value): New function that gets
5063         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
5065 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
5067         * net/tramp.el (tramp-handle-insert-file-contents): For root,
5068         preserve owner and group when editing files.  (Bug#7289)
5070 2010-10-31  Glenn Morris  <rgm@gnu.org>
5072         * speedbar.el (speedbar-mode):
5073         * play/fortune.el (fortune-in-buffer, fortune):
5074         * play/gomoku.el (gomoku-mode):
5075         * play/landmark.el (lm-mode):
5076         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5077         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
5079         * select.el (x-selection): Mark it as an obsolete alias.
5081 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5083         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5084         major-mode (bug#7284).
5086 2010-10-31  Glenn Morris  <rgm@gnu.org>
5088         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5089         rather than just an unused variable that inherits from the real one.
5091 2010-10-31  Alan Mackenzie  <acm@muc.de>
5093         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5094         This fixes bug #7185.
5096 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
5098         * startup.el (command-line): Search for package directories, and
5099         don't load package.el if none are found.
5101         * emacs-lisp/package.el (describe-package, list-packages):
5102         Call package-initialize if it has not been called yet.
5104 2010-10-30  Alan Mackenzie  <acm@muc.de>
5106         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5107         which fontifies the tail of an enum.
5108         (c-basic-matchers-after): Insert a call to the above new function.
5109         This fixes bug #7264.
5111 2010-10-30  Glenn Morris  <rgm@gnu.org>
5113         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5114         tool-bar-mode, transient-mark-mode.  (Bug#7306)
5115         Include the :set property in the dumped Emacs.
5117 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5119         SMIE: change indent rules format, improve smie-setup.
5120         * emacs-lisp/smie.el (smie-precs-precedence-table)
5121         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5122         Mark them pure so the tables gets built at compile time.
5123         (smie-bnf-precedence-table): Store the closer-alist in the table.
5124         (smie-prec2-levels): Preserve the closer-alist.
5125         (smie-blink-matching-open): Be more forgiving in case of indentation.
5126         (smie-hanging-p): Rename from smie-indent--hanging-p.
5127         (smie-bolp): Rename from smie-indent--bolp.
5128         (smie--parent, smie--after): New dynamic vars.
5129         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5130         (smie-indent-rules): Remove.
5131         (smie-indent--offset-rule): Remove fun.
5132         (smie-rules-function): New var.
5133         (smie-indent--rule): New fun.
5134         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5135         (smie-indent-exps): Use it.
5136         (smie-setup): Setup paren blinking; add keyword args for token
5137         functions; extract closer-alist from op-levels.
5138         (smie-indent-debug-log): Remove var.
5139         (smie-indent-debug): Remove fun.
5140         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5141         (prolog-smie-rules): New fun to replace it.
5142         (prolog-mode-variables): Simplify.
5143         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5144         it's setup automatically.
5145         (octave-smie-indent-rules): Remove.
5146         (octave-smie-rules): New fun to replace it.
5147         (octave-mode): Simplify.
5149 2010-10-29  Glenn Morris  <rgm@gnu.org>
5151         * files.el (temporary-file-directory): Remove (already defined in C).
5152         * cus-start.el: Add temporary-file-directory.
5154         * abbrev.el (abbrev-mode):
5155         * composite.el (auto-composition-mode):
5156         * menu-bar.el (menu-bar-mode):
5157         * simple.el (transient-mark-mode):
5158         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5159         that they do not define the associated variables twice.
5160         * simple.el (transient-mark-mode): Remove defvar.
5161         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5162         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5163         Handle multiple groups, and also custom-delayed-init-variables.
5164         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5166 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5168         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5169         (pcase-if): Add one minor optimization.
5170         (pcase-split-equal): Rename from pcase-split-eq.
5171         (pcase-split-member): Rename from pcase-split-memq.
5172         (pcase-u1): Add strings to the member optimization.
5173         Add `guard' variant of predicates.
5174         (pcase-q1): Add string patterns.
5176 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5178         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5180 2010-10-28  Glenn Morris  <rgm@gnu.org>
5182         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5183         Move menu-bar related settings to ../menu-bar.el.
5184         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5185         Move ns-specific settings here from term/ns-win.el.
5187         * simple.el (x-selection-owner-p): Remove unused declaration.
5189 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5191         * minibuffer.el (completion-cycling): New var (bug#7266).
5192         (minibuffer-complete, completion--do-completion):
5193         Use completion--flush-all-sorted-completions.
5194         (minibuffer-complete): Only cycle if completion-cycling is set.
5195         (completion--flush-all-sorted-completions): Unset completion-cycling.
5196         (minibuffer-force-complete): Set completion-cycling.
5197         (completion-all-sorted-completions): Move declaration before first use.
5199 2010-10-28  Leo  <sdl.web@gmail.com>
5201         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5202         which changes the order of matches seen by users (bug#7231).
5204 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
5206         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5207         Don't confuse -omega as "-o mega".
5209 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5211         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5212         (log-edit-author): New dynamic var.
5213         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5214         to return the author if different from committer.
5215         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5217         * play/landmark.el: Adjust commenting convention.
5218         (lm-nil-score): Rename from nil-score.
5219         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5220         (OOOOscore): Move into a let in lm-score-trans-table.
5221         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5223         * electric.el (electric-indent-chars): Autoload.
5224         * progmodes/octave-mod.el (octave-mode):
5225         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5226         (ruby-mode-abbrev-table): Merge initialization and declaration.
5228 2010-10-27  Glenn Morris  <rgm@gnu.org>
5230         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5231         variable.
5233         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5235         * term/ns-win.el: Restore require of cl when compiling.
5236         (menu-bar-final-items): Remove non-existent `windows' menu.
5237         (ns-handle-nxopen): Optionally handle the temp-case.
5238         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5239         (ns-insert-file, ns-find-file): Use `pop'.
5241 2010-10-26  Glenn Morris  <rgm@gnu.org>
5243         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5245 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
5247         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5248         global map.
5249         * term/common-win.el (x-setup-function-keys): Remove most of the
5250         keymappings.  Comment on the remaining ones.
5252 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
5254         * server.el (server-port): New option.  (Bug#854)
5255         (server-start): Use server-port.
5257 2010-10-26  Glenn Morris  <rgm@gnu.org>
5259         * term/ns-win.el (ns-version-string): Remove unused declaration.
5260         (ns-invocation-args): Change to x-invocation-args.
5261         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5262         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5263         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5264         Use x-invocation-args instead of ns-invocation-args.
5265         (ns-initialize-window-system, handle-args-function-alist):
5266         Use x-handle-args instead of ns-handle-args.
5267         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5268         * startup.el (command-line-ns-option-alist): Replace
5269         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5270         ns-handle-iconic with the x- equivalents.
5272         * term/common-win.el (x-select-enable-clipboard):
5273         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5275         * term/ns-win.el: No need to require cl when compiling.
5276         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5277         (xw-defined-colors): Use the common-win definitions.
5278         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5279         (ns-handle-iconic): Make it an alias for x-handle-iconic.
5280         * term/common-win.el (x-select-text, x-alternatives-map)
5281         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5282         * loadup.el [ns]: Load common-win.
5284 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
5286         * epa-mail.el (epa-mail-encrypt): Handle local-part only
5287         recipients; expand mail aliases (Bug#7280).
5289 2010-10-25  Glenn Morris  <rgm@gnu.org>
5291         * term/common-win.el (x-handle-switch): Simplify with pop.
5292         Optionally handle numeric switches.
5293         (x-handle-numeric-switch): Just call x-handle-switch.
5294         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5295         (x-handle-name-switch, x-handle-display, x-handle-args):
5296         Simplify with pop.
5298         * term/ns-win.el: Do not require easymenu.
5299         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5300         <spell>: Move adjustments to menu-bar.el.
5301         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5302         <separator-undo, spell>: Move ns-win's adjustments here.
5303         * loadup.el [ns]: Do not load easymenu.
5305 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5307         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5308         Delete (Bug#7222).
5310         * startup.el (fancy-startup-tail): Instead of using inline images,
5311         refer to image files from etc/.
5313         * wid-edit.el (checkbox): Likewise.
5314         (widget-image-find): Center image specs.
5316 2010-10-24  Glenn Morris  <rgm@gnu.org>
5318         * term/ns-win.el (x-select-text): Doc fix.
5319         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5320         (x-select-text): Move to term/common-win.
5321         * term/w32-win.el (xw-defined-colors): Move to common-win.
5322         * term/x-win.el (xw-defined-colors, x-alternatives-map)
5323         (x-setup-function-keys, x-select-text): Move to common-win.
5324         * term/common-win.el (x-select-text, x-alternatives-map)
5325         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5326         definitions here.
5328 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
5330         * net/mairix.el (mairix-searches-mode-map):
5331         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5333 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
5335         * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5336         auto-built for efficiency of execution and updating.
5337         (verilog-extended-complete-re): Support 'pure' fucntion & task
5338         declarations (these have no bodies).
5339         (verilog-beg-of-statement): General cleanup to enable support of
5340         'pure' fucntion & task declarations (these have no bodies).
5341         These efforts together fix Verilog bug210 from veripool; which was also
5342         noticed by Steve Pearlmutter.
5343         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5344         (verilog-directive-nest-re, verilog-set-auto-endcomments):
5345         Support `elsif.  Reported by Shankar Giri.
5346         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5347         attribute handling for lining up declarations and assignments.
5348         (verilog-beg-of-statement-1): Fix issue where continued declaration
5349         is indented differently if it is after a begin..end clock.
5350         (verilog-in-attribute-p, verilog-skip-backward-comments)
5351         (verilog-skip-forward-comment-p): Support proper treatment of
5352         attributes by indent code.  Reported by Jeff Steele.
5353         (verilog-in-directive-p): Fix comment to correctly describe function.
5354         (verilog-backward-up-list, verilog-in-struct-region-p)
5355         (verilog-backward-token, verilog-in-struct-p)
5356         (verilog-in-coverage-p, verilog-do-indent)
5357         (verilog-pretty-declarations): Use verilog-backward-up-list as
5358         wrapper around backward-up-list inorder to properly skip comments.
5359         Reported by David Rogoff.
5360         (verilog-property-re, verilog-endcomment-reason-re)
5361         (verilog-beg-of-statement, verilog-set-auto-endcomments)
5362         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5363         of if).  Reported by Max Bjurling and
5364         (verilog-calc-1): Fix for clocking block in modport
5365         declaration.  Reported by Brian Hunter.
5367 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
5369         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5370         (verilog-gate-keywords, verilog-read-sub-decls)
5371         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5372         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5373         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
5374         (verilog-read-decls): Fix spaces in V2K module parameters causing
5375         mis-identification as interfaces, bug287.
5376         (verilog-read-decls): Fix not treating "parameter string" as a
5377         parameter in AUTOINSTPARAM.
5378         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5379         treating `elsif similar to `endif inside AUTOSENSE.
5380         (verilog-do-indent): Implement correct automatic or static task or
5381         function end comment highlight.  Reported by Steve Pearlmutter.
5382         (verilog-font-lock-keywords-2): Fix highlighting of single
5383         character pins, bug264.  Reported by Michael Laajanen.
5384         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5385         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5386         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5387         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
5388         (verilog-pretty-expr): Fix interactive arguments, bug272.
5389         Reported by Mark Johnson.
5390         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5391         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5392         bug269.  Suggested by Gary Delp.
5393         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5394         (verilog-preprocessor, verilog-set-compile-command):
5395         Create verilog-preprocess and verilog-preprocessor to show
5396         preprocessed output.
5397         (verilog-get-beg-of-line, verilog-get-end-of-line)
5398         (verilog-modi-file-or-buffer, verilog-modi-name)
5399         (verilog-modi-point, verilog-within-string): Move defmacro's
5400         before first use to avoid warning.  Reported by Steve Pearlmutter.
5401         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5402         (verilog-colorize-region, verilog-highlight-buffer)
5403         (verilog-highlight-includes, verilog-highlight-modules)
5404         (verilog-highlight-region, verilog-mode): Rename colorize to
5405         highlight to match other packages.  Disable module highlighting,
5406         as received speed complaints, reenable for experimentation only
5407         using new verilog-highlight-modules.
5408         (verilog-read-decls): Fix regexp stack overflow in very large
5409         AUTO_TEMPLATEs, bug250.
5410         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5411         (verilog-scan): Create verilog-save-buffer-state to standardize
5412         making insignificant changes that shouldn't call hooks.
5413         (verilog-save-no-change-functions, verilog-save-scan-cache)
5414         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5415         Create verilog-save-no-change-functions to wrap verilog-scan
5416         preservation, and fix to work with nested preserved calls.
5417         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5418         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5419         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
5420         (verilog-submit-bug-report): Update variable list to be complete.
5421         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5422         breaking on-the-fly font-locking.
5423         (verilog-colorize-buffer, verilog-colorize-include-files)
5424         (verilog-colorize-include-files-buffer, verilog-colorize-region)
5425         (verilog-load-file-at-mouse, verilog-load-file-at-point)
5426         (verilog-mode, verilog-read-inst-module-matcher): With point on a
5427         AUTOINST cell instance name, middle mouse button now finds-file on
5428         it.  Suggested by Brad Dobbie.
5429         (verilog-alw-get-temps, verilog-auto-reset)
5430         (verilog-auto-sense-sigs, verilog-read-always-signals)
5431         (verilog-read-always-signals-recurse): Fix loop indexes being
5432         AUTORESET.  AUTORESET now assumes any variables in the
5433         initialization section of a for() should be ignored.
5434         Reported by Dan Dever.
5435         (verilog-error-font-lock-keywords)
5436         (verilog-error-regexp-emacs-alist)
5437         (verilog-error-regexp-xemacs-alist): Fix error detection of
5438         Cadence HAL, reported by David Asher.  Repair drift between the
5439         three similar error variables.
5440         (verilog-modi-lookup, verilog-modi-lookup-cache)
5441         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5442         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5443         Fix slow verilog-auto expansion on very large files.
5444         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5445         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5446         "{1*2{...".  Broke in last revision.
5447         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5448         submodule connections with replications "{#{a},#{b}}".
5450 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
5452         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5453         Fix typo in docstring.
5455 2010-10-24  Kenichi Handa  <handa@m17n.org>
5457         * face-remap.el (text-scale-adjust): Call read-event with a proper
5458         prompt.
5460 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5462         * emacs-lisp/unsafep.el: Don't mark functions that display
5463         messages as safe.  Suggested by Johan Bockgård.
5465 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5467         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5468         Turn comments into docstrings.
5470         * minibuffer.el (completion--replace): Move point where it belongs
5471         when there's a common suffix (bug#7215).
5473 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5475         Merge read-color and facemenu-read-color (Bug#7242).
5477         * faces.el (read-color): Use the completion code from
5478         facemenu-read-color.  Require match in completion.  Doc fix.
5480         * facemenu.el (facemenu-read-color): Alias for read-color.
5481         (facemenu-set-foreground, facemenu-set-background):
5482         Use read-color.
5484         * frame.el (set-background-color, set-foreground-color)
5485         (set-cursor-color, set-mouse-color, set-border-color):
5486         Use read-color.
5488 2010-10-24  Leo  <sdl.web@gmail.com>
5490         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5491         argument of delete-file and delete-directory (Bug#7011).
5493 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5495         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5496         button-buffer-map.
5498 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
5500         * emacs-lisp/package.el (package--generate-package-list): Make the
5501         *Packages* buffer read-only.
5503 2010-10-24  Alan Mackenzie  <acm@muc.de>
5505         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5506         result of `c-beginning-of-decl-1' between invocations of a lambda
5507         function (Bug #7265).
5509 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
5511         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5512         executable is not available on the system (Bug#7268).
5514 2010-10-24  Glenn Morris  <rgm@gnu.org>
5516         * select.el (selection-coding-system, next-selection-coding-system):
5517         Sync doc with C versions.
5519         * w32-vars.el (x-select-enable-clipboard):
5520         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5521         * term/common-win.el (x-select-enable-clipboard): Move here.
5523         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5524         definition of C variable.
5526         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5527         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5528         Don't redefine things that are defined in C.
5529         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5530         (show-trailing-whitespace, auto-hscroll-mode)
5531         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5532         Set up the appropriate custom properties.
5534 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5536         Bind "C-c ]" to ...
5537         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5538         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5539         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5540         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5542 2010-10-23  Glenn Morris  <rgm@gnu.org>
5544         * textmodes/flyspell.el (flyspell-mode): If there was an error,
5545         say what it was.
5547         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5548         Sync docs with C version.
5550         * term/ns-win.el (xw-defined-colors):
5551         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5553         * term/pc-win.el (x-select-enable-clipboard):
5554         * term/x-win.el (x-select-enable-clipboard):
5555         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5557         * comint.el (comint-password-prompt-regexp): Make it less vague.
5558         Bump version.
5560         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5562         * help.el (finder-by-keyword): Remove unnecessary autoload.
5564 2010-10-22  Glenn Morris  <rgm@gnu.org>
5566         * loadup.el: Unconditionally load float-sup.
5567         * paren.el (show-paren-delay):
5568         * emacs-lisp/float-sup.el:
5569         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5570         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5571         (lazy-lock-stealth-verbose): Assume float support.
5572         * ps-print.el: Assume float support on Emacs.
5573         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5574         Remove non-float branch.
5576         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5577         src/Makefile no longer being pre-processed.
5579 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5581         * emacs-lisp/find-func.el (find-library): Use test-completion.
5583 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5585         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5587 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
5589         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5590         space in stat format string.
5591         (tramp-send-command): Unset $PS1 when using here documents, in
5592         order not to get several prompts.
5593         (tramp-get-inline-coding): Return `nil' in case of errors.
5595 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
5597         * hexl.el (hexl-mode, hexl-mode-exit):
5598         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5599         (hexl-revert-buffer-function): New function.
5600         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5602 2010-10-19  Alan Mackenzie  <acm@muc.de>
5604         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5605         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5606         that these keywords aren't wrongly matched as identifiers.
5608         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5609         setting of c-new-BEG and c-new-END from c-before-change to
5610         c-after-change.  (Bug#7181)
5612 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5614         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5615         Don't mark as safe.
5617         * custom.el (custom-theme-set-variables): Likewise.
5618         (load-theme): Add custom-theme-set-faces and
5619         custom-theme-set-variables to safe-functions while loading.
5620         (custom-enabled-themes): Mark as risky.
5622 2010-10-18  Julien Danjou  <julien@danjou.info>
5624         * bindings.el: Remove end dashes in default mode-line-format.
5626 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5628         * bindings.el (global-map): Bind C-d to delete-char and deletechar
5629         to delete-forward-char.
5631         * simple.el (normal-erase-is-backspace-mode): Remap delete to
5632         deletechar, and hence delete-forward-char.
5634 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5636         * repeat.el (repeat): Use read-key (bug#6256).
5638 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5640         * emacs-lisp/unsafep.el: Don't mark functions that display
5641         messages as safe.  Suggested by Johan Bockgård.
5643 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5645         * minibuffer.el (completion--replace): Move point where it belongs
5646         when there's a common suffix (bug#7215).
5648 2010-10-19  Kenichi Handa  <handa@m17n.org>
5650         * international/characters.el: Add category '|' (word breakable)
5651         to fullwidth characters.
5653 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
5655         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5656         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5657         order to make stat results a float.  Patch by Andreas Schwab
5658         <schwab@linux-m68k.org>.
5660 2010-10-18  Julien Danjou  <julien@danjou.info>
5662         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5663         hidden by `make-pointer-invisible'.
5665 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5667         * files.el (locate-file-completion-table): Strip non-matching elements
5668         before checking length of list (bug#7238).
5670 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
5672         * custom.el (custom-theme-set-variables): Mark as a safe function.
5673         (load-theme): Check forms using unsafep.
5675         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5677 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
5679         * textmodes/ispell.el (ispell-aspell-find-dictionary):
5680         Fix aspell data file searching (bug#7230).
5682 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5684         * cus-theme.el (custom-theme--migrate-settings): New var.
5685         (customize-create-theme): Allow editing the `user' theme.
5686         (custom-theme-add-variable, custom-theme-add-var-1)
5687         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5688         to the front of each variable or face widget.
5689         (custom-theme-write): Save theme settings in the correct order.
5690         Optionally, remove saved settings from user customizations.
5691         (custom-theme-write-variables, custom-theme-write-faces):
5692         Save only the checked widgets.
5693         (customize-themes): Add a link for migrating custom settings.
5695         * custom.el (custom-declare-theme, provide-theme):
5696         Use custom-theme-name-valid-p.
5697         (custom-theme-name-valid-p): Remove checks that are now
5698         unnecessary since themes no longer obey load-path.
5700         * cus-edit.el (custom-variable-value-create): For the simple
5701         style, hide documentation string when hidden.
5703 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5705         * cus-edit.el (custom-variable, custom-face): Combine the
5706         :inhibit-magic and :display-style properties into a single
5707         :custom-style property.
5708         (custom-toggle-hide-variable, custom-toggle-hide-face):
5709         New functions.  If hiding an edited value, save it to :shown-value.
5710         (custom-variable-value-create, custom-face-value-create): Use them.
5711         (custom-magic-reset): Allow magic property to be unset.
5713         * custom.el: Custom themes no longer use load-path.
5714         (custom-theme-load-path): New option.  Change built-in theme
5715         directory to etc/.
5716         (custom-enabled-themes): Add custom-theme-load-path dependency.
5717         (custom-theme--load-path): New function.
5718         (load-theme, custom-available-themes): Use it.
5720         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5721         (customize-themes): Link to custom-theme-load-path variable.
5722         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5723         :custom-style property.
5725         * themes/*.el: Moved to etc/.
5727 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
5729         * textmodes/reftex-cite.el
5730         (reftex-extract-bib-entries-from-thebibliography): Do not move
5731         point when searching for \bibitem entries.  Match entries with
5732         spaces or tabs in front of arguments.
5734 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5736         * cus-theme.el (customize-create-theme): Delete overlays after
5737         erasing.  If given a THEME arg, display only the faces of that arg
5738         instead of custom-theme--listed-faces.
5739         (custom-theme-variable-menu, custom-theme-variable-action)
5740         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5741         (custom-theme-add-variable, custom-theme-add-face): Apply value
5742         from the theme settings, instead of the current value.
5743         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5744         (custom-theme-visit-theme): Allow calling outside theme buffers.
5745         (custom-theme-merge-theme): Don't enable the theme when merging.
5746         (custom-theme-write-variables, custom-theme-write-faces): Use the
5747         :shown-value properties to save buffer values, not global ones.
5748         (customize-themes): Display a warning about user customizations.
5750         * cus-edit.el (custom-variable-value-create)
5751         (custom-face-value-create): Obey new special properties
5752         :shown-value and :inhibit-magic.
5754 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
5756         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5757         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
5758         <dale@codefu.org>.
5760 2010-10-14  Kenichi Handa  <handa@m17n.org>
5762         * mail/rmail.el (rmail-show-message-1): Catch an error of
5763         base64-decode-region and just show an error message (bug#7165).
5765         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
5766         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5767         a font-spec (bug#7197).
5769 2010-10-14  Glenn Morris  <rgm@gnu.org>
5771         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5773 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
5775         * international/mule.el (define-coding-system):
5776         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5777         * composite.el (compose-region): Fix typo in docstring.
5779 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
5781         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5782         only after checking the theme-face property.
5784         * faces.el (face-spec-reset-face): Reset all attributes in one
5785         single call to set-face-attribute.
5786         (face-spec-match-p): Make it a defsubst.
5787         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5788         (x-create-frame-with-faces, tty-create-frame-with-faces)
5789         (tty-set-up-initial-frame-faces): Don't recompute face specs in
5790         frame-set-background-mode, since they are recomputed immediately
5791         afterwards in face-set-after-frame-default.
5792         (face-set-after-frame-default): Minor optimization.
5793         (cursor): Provide non-trivial defface spec.
5795         * custom.el (custom-theme-recalc-face): Simplify.
5797 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
5799         * calc/calc-alg.el (math-var): Rename from `var'.
5800         (math-is-polynomial, math-is-poly-rec): Replace `var'
5801         with `math-var'.
5803         * calc/calcalg2.el (math-var): Rename from `var'.
5804         (calcFunc-table, math-scan-for-limits): Replace `var'
5805         with `math-var'.
5807 2010-10-13  Glenn Morris  <rgm@gnu.org>
5809         * subr.el (last): Deal with dotted lists (reported in bug#7174).
5811 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
5813         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5815 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5817         * net/tls.el (tls-program): Remove spurious %s from openssl.
5818         (tls-starttls-switches): Remove starttls hack.
5819         (open-tls-stream): Ditto.
5820         (tls-find-starttls-argument): Ditto.
5822 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
5824         * image.el (image-library-alist): Declare as obsolete alias.
5825         (image-type-available-p): Use `dynamic-library-alist'.
5827         * term/w32-win.el (dynamic-library-alist):
5828         Use instead of `image-library-alist'.
5830 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
5832         * subr.el (last): Make it faster.  (Bug#7174)
5834 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
5836         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
5838 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5840         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5841         (describe-theme-1): Extract doc from unloaded themes.
5843         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5845         * themes/tango-theme.el:
5846         * themes/tango-dark-theme.el:
5847         * themes/wheatgrass-theme.el: New files.
5849 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5851         * cus-theme.el (describe-theme, customize-themes)
5852         (custom-theme-save): New commands.
5853         (custom-new-theme-mode-map): Bind C-x C-s.
5854         (custom-new-theme-mode): Use custom--initialize-widget-variables.
5855         (customize-create-theme): New optional arg THEME.
5856         (custom-theme-revert): Use it.
5857         (custom-theme-visit-theme): Remove dead code.
5858         (custom-theme-merge-theme): Use custom-available-themes.
5859         (custom-theme-write): Make interactive.
5860         (custom-theme-write): Use custom-theme-name-valid-p.
5861         (describe-theme-1, custom-theme-choose-revert)
5862         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5863         New funs.
5864         (custom-theme-allow-multiple-selections): New option.
5865         (custom-theme-choose-mode): New major mode.
5867         * custom.el (custom-theme-set-variables): Remove dead code.
5868         Obey custom--inhibit-theme-enable.
5869         (custom--inhibit-theme-enable): New var.
5870         (provide-theme): Obey it.
5871         (load-theme): Replace load with manual read/eval, in order to
5872         check for correctness.  Use custom-theme-name-valid-p.
5873         (custom-theme-name-valid-p): New function.
5874         (custom-available-themes): Use it.
5876         * cus-edit.el (custom--initialize-widget-variables): New function.
5877         (Custom-mode): Use it.
5879         * cus-face.el (custom-theme-set-faces): Remove dead code.
5880         Obey custom--inhibit-theme-enable.
5882         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5884 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
5886         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5888 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
5890         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5891         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5892         (mac-right-option-modifier): New alias for ns-right-option-modifier.
5894         * cus-start.el (all): ns-right-alternate-modifier is new.
5896 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5898         * emacs-lisp/lisp.el (lisp-completion-at-point):
5899         Use emacs-lisp-mode-syntax-table for the whole function.
5901 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
5903         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5904         instead of font-lock-mode before adding keywords.
5905         Remove hi-lock-mode off code.  Remove inhibit hack.
5906         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5907         non-nil; removed hook inhibit hack.
5909 2010-10-12  Glenn Morris  <rgm@gnu.org>
5911         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5912         (load-path-shadows-find): ... to this.
5913         (list-load-path-shadows): Update for above change.
5915         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5917 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
5919         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5920         Fix comment for declare-function.
5922 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
5924         * custom.el (custom-fix-face-spec): New function; code moved from
5925         custom-face-edit-fix-value.
5926         (custom-push-theme): Use it when checking if a face has been
5927         changed outside customize.
5928         (custom-available-themes): New function.
5929         (load-theme): Use it.
5931         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5933         * custom.el (custom-push-theme): Cleanup (use cond).
5934         (disable-theme): Recompute the saved-face property.
5935         (custom-theme-recalc-face): Follow face alias before setting prop.
5937         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5938         New variables, containing checkbox images.
5940         * startup.el (fancy-startup-tail):
5941         * wid-edit.el (checkbox): Use them.
5943 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
5945         * shell.el (shell-mode-map):
5946         * progmodes/modula2.el (m2-mode-map):
5947         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5948         * play/mpuz.el (mpuz-mode-map):
5949         * play/landmark.el (lm-mode-map):
5950         * play/decipher.el (decipher-mode-map):
5951         * play/5x5.el (5x5-mode-map):
5952         * net/telnet.el (telnet-mode-map):
5953         * net/quickurl.el (quickurl-list-mode-map):
5954         * net/mairix.el (mairix-searches-mode-map):
5955         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5956         * net/dig.el (dig-mode-map):
5957         * mail/mspools.el (mspools-mode-map):
5958         * hexl.el (hexl-mode-map):
5959         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5960         (wordstar-C-o-map, wordstar-C-q-map):
5961         * emacs-lisp/edebug.el (edebug-eval-mode-map):
5962         * emacs-lisp/chart.el (chart-map):
5963         * edmacro.el (edmacro-mode-map):
5964         * erc/erc-list.el (erc-list-menu-mode-map):
5965         * array.el (array-mode-map): Declare and define in one step.
5967         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5969 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
5971         * epa.el (epa-passphrase-callback-function): Display filename
5972         passed as the 3rd arg.
5973         * epa-file.el (epa-file-passphrase-callback-function):
5974         Pass filename to epa-passphrase-callback-function.
5976 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
5978         * cus-edit.el (custom-face-widget-to-spec)
5979         (custom-face-get-current-spec, custom-face-state): New functions.
5980         (custom-face-set, custom-face-mark-to-save)
5981         (custom-face-value-create, custom-face-state-set): Use them.
5983         * cus-theme.el (custom-theme--listed-faces): New var.
5984         (customize-create-theme): Use *Custom Theme* as the buffer name.
5985         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
5986         faces listed in custom-theme--listed-faces.
5987         (custom-theme-revert): New function.
5988         (custom-theme-add-variable, custom-theme-add-face): Insert at the
5989         bottom of the list.
5990         (custom-theme-write): Prompt for theme name if empty.
5991         (custom-theme-write-variables): Use dolist.
5992         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5994 2010-10-09  Alan Mackenzie  <acm@muc.de>
5996         Enhance fontification of declarators to take account of the
5997         presence/absence of "typedef".
5999         * cc-engine.el (c-forward-type): New &optional param
6000         "brace-block-too".
6001         (c-forward-decl-or-cast-1): cdr of return value now indicates the
6002         presence of either or both of a "struct"-like keyword and "typedef".
6004         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6005         fontification of declarators which follow a "}".
6006         (c-font-lock-declarations): Fontify declarators according to the
6007         presence/absence of "typedef".
6009         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6010         for "typedef".
6011         (c-typedef-decl-key): New lang variable built from
6012         c-typedef-decl-kwds.
6014 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6016         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6017         since that's too annoying.  Move the filter groups commands to
6018         TAB/backtab.
6020         * epa.el (epa-passphrase-callback-function): Say what we're
6021         querying the password for.
6023         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6024         behaviour, don't bury the ibuffer buffer when visiting other buffers.
6026 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
6028         * cus-edit.el (custom-commands, custom-buffer-create-internal)
6029         (custom-magic-value-create): Pad button tags with spaces.
6030         (custom-face-edit): New variable.
6031         (custom-face-value-create): Determine whether to use the usual
6032         face editor here, instead of using custom-face-selected.
6033         Pass face defaults to custom-face-edit widget.
6034         (custom-face-selected, custom-display-unselected): Delete widgets.
6035         (custom-display-unselected-match): Function removed.
6036         (custom-face-set, custom-face-mark-to-save):
6037         Accept custom-face-edit widgets as the direct widget child.
6039         * wid-edit.el (widget--completing-widget): New var.
6040         (widget-default-complete): Bind it when doing completion.
6041         (widget-string-complete, widget-file-complete): Use it.
6043 2010-10-09  Glenn Morris  <rgm@gnu.org>
6045         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6046         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6047         (holiday-hebrew-misc): Small simplifications.
6049         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6051         * net/browse-url.el: Don't require thingatpt, term, dired,
6052         executable, or w3-auto when compiling.
6053         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6054         Declare.
6055         (browse-url-text-emacs): Require term.
6057 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
6059         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6061 2010-10-08  Glenn Morris  <rgm@gnu.org>
6063         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6065         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6066         (shadows-compare-text-p): Make it an obsolete alias for...
6067         (load-path-shadows-compare-text): ... new name.
6068         (find-emacs-lisp-shadows): Update for above name change.
6069         (load-path-shadows-same-file-or-nonexistent): New name for the old
6070         shadow-same-file-or-nonexistent.
6072 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
6074         * minibuffer.el (completion--some, completion--do-completion)
6075         (minibuffer-complete-and-exit, minibuffer-completion-help)
6076         (completion-basic-try-completion)
6077         (completion-basic-all-completions)
6078         (completion-pcm--find-all-completions): Use lexical-let to
6079         avoid some false matches in variable completion (Bug#7056)
6081 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
6083         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
6085 2010-10-08  Leo  <sdl.web@gmail.com>
6087         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6088         return non-nil if the file exists (Bug#7090).
6090 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6092         * minibuffer.el (completion--replace):
6093         Better preserve markers (bug#7138).
6095 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
6097         * server.el (server-process-filter): Doc fix.
6099 2010-10-08  Drew Adams  <drew.adams@oracle.com>
6101         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
6103 2010-10-08  Glenn Morris  <rgm@gnu.org>
6105         * vc/ediff-wind.el (ediff-setup-control-frame):
6106         * vc/ediff-ptch.el (ediff-default-backup-extension):
6107         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6108         (ediff-exec-process): Remove system-types emx, windows-95.
6110         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
6112 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
6114         * cus-edit.el (custom-variable, custom-face): Doc fix.
6115         (custom-face-edit): Add value-create attribute.
6116         (custom-face-edit-value-create)
6117         (custom-face-edit-value-visibility-action): New functions.
6118         Hide unused face attributes by default, and add a visibility toggle.
6119         (custom-face-edit-deactivate): Show empty values with shadow face.
6120         (custom-face-selected): Only use this for face specs with default
6121         attributes.
6122         (custom-face-value-create): Cleanup.
6124         * wid-edit.el (widget-checklist-value-create): Use dolist.
6125         (widget-checklist-match-find): Make second arg optional.
6127 2010-10-07  Glenn Morris  <rgm@gnu.org>
6129         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6130         Prefix things.
6132         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6133         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6134         load-path-shadows-mode, update references.
6135         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6136         Rename variable and button.
6137         (list-load-path-shadows): Update button caller.
6139 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6141         * emacs-lisp/smie.el (smie-bnf-classify): New function.
6142         (smie-bnf-precedence-table): Use it to remember the closers/openers.
6143         (smie-merge-prec2s): Handle those new entries.
6144         (smie-prec2-levels): Only set precedence to nil for actual
6145         openers/closers.
6146         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6147         that is now unnecessary.
6149 2010-10-07  Miles Bader  <miles@gnu.org>
6151         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6153 2010-10-07  Glenn Morris  <rgm@gnu.org>
6155         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6156         (mail-position-on-field): Remove declarations.
6157         (mail-position-on-field): Autoload it.
6158         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6159         and mail-header-end.  Don't require sendmail.
6161         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6162         (shadow-mode): New mode.
6163         (shadow-find-file): New button.
6164         (list-load-path-shadows): Use shadow-mode and buttons.
6166         * iimage.el (iimage-version): Remove.
6167         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6168         Turn into defcustoms.
6169         (iimage-mode-map): Give it a doc string.
6171         * calendar/appt.el (appt-activate): Give a warning rather than an error
6172         if there is no diary-file.
6174 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
6176         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6177         Use `tramp-handle-find-backup-file-name'.
6179 2010-10-06  Glenn Morris  <rgm@gnu.org>
6181         * font-core.el (font-lock-defaults-alist): Remove variable.
6182         (font-lock-mode): Doc fix.
6183         (font-lock-default-function): Do not consult font-lock-defaults-alist.
6184         * font-lock.el (font-lock-refresh-defaults): Doc fix.
6185         (font-lock-set-defaults): Doc fix.
6186         Do not consult font-lock-defaults-alist.
6188         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6190         * emacs-lisp/cl.el: No longer provide cl-19.
6192 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
6194         * net/tramp.el (tramp-handle-directory-files-and-attributes)
6195         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6196         New defuns, taken from tramp-smb.el.
6197         (tramp-coding-system-change-eol-conversion)
6198         (tramp-set-process-query-on-exit-flag): Remove.
6200         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6201         (tramp-compat-coding-system-change-eol-conversion)
6202         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6203         from tramp.el.
6205         * net/tramp-gvfs.el:
6206         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6207         by `tramp-compat-set-process-query-on-exit-flag'.
6209         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6210         Use `tramp-handle-directory-files-and-attributes',
6211         `tramp-handle-file-exists-p' and
6212         `tramp-handle-file-newer-than-file-p'.
6213         (tramp-imap-handle-file-exists-p)
6214         (tramp-imap-handle-file-executable-p)
6215         (tramp-imap-handle-file-readable-p)
6216         (tramp-imap-handle-directory-files-and-attributes)
6217         (tramp-imap-handle-file-newer-than-file-p): Remove.
6219         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6220         by `tramp-compat-set-process-query-on-exit-flag' and
6221         `tramp-coding-system-change-eol-conversion' by
6222         `tramp-compat-coding-system-change-eol-conversion'.
6224         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6225         Use `tramp-handle-directory-files-and-attributes',
6226         `tramp-handle-file-exists-p' and
6227         `tramp-handle-file-newer-than-file-p'.
6228         (tramp-smb-handle-directory-files-and-attributes)
6229         (tramp-smb-handle-file-exists-p)
6230         (tramp-smb-handle-file-newer-than-file-p): Remove.
6231         (tramp-smb-maybe-open-connection):
6232         Replace `tramp-set-process-query-on-exit-flag' by
6233         `tramp-compat-set-process-query-on-exit-flag'.
6235 2010-10-05  Glenn Morris  <rgm@gnu.org>
6237         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6239 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
6241         Continue reorganization of load dependencies.  (Bug#7156)
6243         * net/tramp.el (tramp-handle-file-local-copy-hook)
6244         (tramp-delete-temp-file-function): Move down.
6245         (tramp-exists-file-name-handler): Move up.
6246         (tramp-register-file-name-handlers): Simplify autoload.
6247         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6248         (tramp-handle-directory-files, tramp-handle-dired-uncache)
6249         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6250         (tramp-handle-file-name-completion)
6251         (tramp-handle-file-name-directory)
6252         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6253         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6254         (tramp-handle-find-backup-file-name)
6255         (tramp-handle-insert-file-contents, tramp-handle-load)
6256         (tramp-handle-substitute-in-file-name)
6257         (tramp-handle-unhandled-file-name-directory)
6258         (tramp-mode-string-to-int, tramp-local-host-p)
6259         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6261         * net/tramp-gvfs.el (top):
6262         * net/tramp-smb.el (top): Do not require 'tramp-sh.
6264         * net/tramp-sh.el (all): Move several objects to tramp.el, see
6265         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6267 2010-10-04  Glenn Morris  <rgm@gnu.org>
6269         * calendar/appt.el (appt-add): Ensure reminders are enabled.
6270         (appt-activate): Give status messages.
6272 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6274         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
6275         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6276         `gnutls-negotiate' (formerly `starttls-negotiate').
6277         Remove trivial wrapper `starttls-open-stream'.
6279 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
6281         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6282         log-outgoing commands.
6283         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6284         to create a buffer local revert-buffer-function variable.
6285         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6286         revert-buffer-function lambda.
6288 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6290         * net/gnutls.el (starttls-negotiate): Use the plist interface to
6291         `gnutls-boot'.  Make TYPE the only required parameter.
6292         Allow TRUSTFILES and KEYFILES to be lists.
6293         (open-ssl-stream): Use it.
6295 2010-10-03  Glenn Morris  <rgm@gnu.org>
6297         * subr.el (directory-sep-char): Remove obsolete variable.
6298         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6299         it is "necessary".
6301         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6302         * vc/vc.el (vc-static-header-alist): Doc fix.
6303         * vc/vc-cvs.el (vc-cvs-header):
6304         * vc/vc-rcs.el (vc-rcs-header):
6305         * vc/vc-sccs.el (vc-sccs-header):
6306         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6307         * obsolete/vc-mcvs.el (vc-mcvs-header):
6308         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6309         on XEmacs.
6311 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6313         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6314         Remove obsolete use of binary-overwrite-mode (Bug#7001).
6316 2010-10-03  Glenn Morris  <rgm@gnu.org>
6318         * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6320         * textmodes/rst.el (rst-font-lock-keywords-function):
6321         Drop Emacs 20 code.
6323         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6325         * printing.el: Drop Emacs 20 code.
6327         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6328         without having used appt.el already).
6330         * subr.el (make-local-hook): Remove function obsolete since 21.1.
6331         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6332         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6333         XEmacs.
6334         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6335         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6337         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6338         (charset-width, find-charset-region, chars-in-region, forward-point)
6339         (encode-coding-string, coding-system-p, ccl-execute-on-string)
6340         (define-ccl-program, multibyte-string-p, string-make-multibyte):
6341         Remove compatibility cruft (none of these are used by ps*.el).
6343 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
6345         * subr.el (booleanp): Return t instead of a list (Bug#7086).
6347 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6349         * server.el (server-process-filter, server-return-error):
6350         Give emacsclient time to shut down after receiving an error string.
6352 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
6354         * files.el (remote-file-name-inhibit-cache): New defcustom.
6356         * time.el (display-time-file-nonempty-p):
6357         Use `remote-file-name-inhibit-cache'.
6359         * net/tramp.el (tramp-completion-reread-directory-timeout):
6360         Fix docstring.
6362         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6363         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6364         `remote-file-name-inhibit-cache'.  Check also for an integer
6365         value.  Add/increase counter when `tramp-verbose' >= 10.
6366         (tramp-set-file-property): Add/increase counter when
6367         `tramp-verbose' >= 10.
6369         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6370         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6371         (tramp-bug): Set tramp-autoload cookie.  Report all interned
6372         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
6373         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
6374         characters only in strings.
6376         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6377         to backward compatibility.
6379         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6380         (tramp-handle-file-name-all-completions)
6381         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6382         (tramp-open-connection-setup-interactive-shell):
6383         Call `tramp-cleanup-connection' directly.
6385 2010-10-02  Glenn Morris  <rgm@gnu.org>
6387         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6389         * subr.el (char-bytes): Remove obsolete function.
6391         * isearch.el (isearch-return-char): Remove obsolete function.
6393         * mouse.el: No longer provide mldrag.
6394         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6395         Remove obsolete aliases.
6397         * comint.el (comint-kill-output): Remove obsolete alias.
6399         * composite.el (decompose-composite-char): Remove obsolete function.
6400         * ps-def.el (decompose-composite-char): Remove unused function.
6402         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6404         * outline.el (outline-visible): Remove obsolete function.
6406         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6407         * faces.el (internal-find-face, internal-get-face)
6408         (frame-update-faces, frame-update-face-colors)
6409         (x-frob-font-weight, x-frob-font-slant)
6410         (internal-frob-font-weight, internal-frob-font-slant)
6411         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6412         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6413         (x-make-font-bold-italic): Remove functions and aliases, obsolete
6414         since Emacs 21.1.
6415         * emulation/viper-util.el (viper-get-face):
6416         * obsolete/lucid.el (find-face, get-face): Use facep.
6417         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6418         Remove unused functions.
6419         * vc/ediff-util.el (ediff-submit-report): Doc fix.
6421         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6422         delete tempfile if interrupted during compilation.
6424 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6426         * net/tls.el (tls-starttls-switches): Give up on using starttls with
6427         gnutls-cli.
6428         (tls-program): Add --insecure to be consistent with the defaults from
6429         openssl s_client.  Now all three commands are insecure.
6431 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
6433         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6434         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6435         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6437 2010-10-01  Glenn Morris  <rgm@gnu.org>
6439         * obsolete/sc.el: Remove file.
6441         * files.el (temporary-file-directory): On darwin, also try
6442         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6444 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
6446         * server.el (server-start): Revert part of revno 101688.
6447         Let's not break compatibility gratuitously, shall we?
6449 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6451         * net/tls.el (tls-starttls-switches): New variable.
6452         (tls-find-starttls-argument): Use it.
6453         (open-tls-stream): Ditto.
6455         * net/netrc.el (netrc-credentials): Return the value of the "default"
6456         entry.
6457         (netrc-machine): Ditto.
6459 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
6461         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6463 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
6465         * server.el (server-start): Don't write pid to the authentication file.
6466         (server-create-tty-frame): Don't send pid.
6467         (server-process-filter): Send pid at the start of every connection.
6469 2010-09-30  Glenn Morris  <rgm@gnu.org>
6471         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6472         (show-all-diary-entries): Remove obsolete function aliases.
6474         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6475         Remove options, obsolete since 22.1.
6476         (appt-display-format, appt-display-message):
6477         Remove backwards-compatibility code.
6478         (appt-check): No longer check appt-issue-message.
6479         (appt-make-list): No longer autoload it.  Doc fix.  No longer
6480         activate the package.
6482 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6484         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6485         (starttls-negotiate): Just call boot, and let the handshake be
6486         triggered from the read loop.
6488 2010-09-29  Glenn Morris  <rgm@gnu.org>
6490         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6491         not displaying the diary.
6492         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6493         * calendar/appt.el (appt-check): No longer need to kill diary.
6495         * calendar/diary-lib.el (diary-list-entries): Move the
6496         "Preparing..." message entirely here.
6497         (diary-simple-display, diary-fancy-display): Move "Preparing..."
6498         messages to diary-list-entries.
6499         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6500         diary-display-function.
6502         * calendar/diary-lib.el (diary-include-other-diary-files):
6503         Trap some recursive includes.
6505         * calendar/appt.el (appt-activate): Check diary file.
6507 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
6509         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6510         construction.
6512         * calendar/time-date.el: No need to require cl for Emacs 21.
6514 2010-09-28  Glenn Morris  <rgm@gnu.org>
6516         * calendar/appt.el (appt-check): Minor simplification.
6518 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
6520         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6521         citation prefix.
6523 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
6525         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6526         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
6528 2010-09-27  Kenichi Handa  <handa@m17n.org>
6530         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6531         "ustar" format.
6533 2010-09-27  Kenichi Handa  <handa@m17n.org>
6535         * international/mule.el (define-coding-system): Docstring fixed.
6537         * international/mule-diag.el (describe-character-set): Use princ
6538         with proper print-length and print-level instead of insert.
6540 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
6542         * window.el (walk-windows): Doc fix (bug#7105).
6544 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6546         * emacs-lisp/float-sup.el (e): Remove.
6548 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
6550         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6551         variable.
6552         (starttls-negotiate): Use it.
6554 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6556         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6557         back.
6559 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6561         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6563 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6565         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6567         * net/netrc.el (netrc-store-data): New function.
6569 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
6571         * net/gnutls.el: GnuTLS glue code to set up a connection.
6573 2010-09-25  Julien Danjou  <julien@danjou.info>
6575         * notifications.el: Call dbus-register-signal only if it is bound.
6577 2010-09-25  Glenn Morris  <rgm@gnu.org>
6579         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6580         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6581         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6582         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6583         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6584         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6585         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6586         * eshell/esh-util.el, eshell/esh-var.el:
6587         Remove leading `*' from docs of faces and defcustoms.
6589 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
6591         * eshell/em-ls.el (eshell-ls-archive-regexp):
6592         * eshell/esh-util.el (eshell-tar-regexp):
6593         * ibuffer.el (ibuffer-compressed-file-name-regexp):
6594         * info.el (Info-suffix-list):
6595         * international/mule.el (auto-coding-alist):
6596         * woman.el (woman-file-regexp, woman-file-compression-regexp):
6597         * progmodes/etags.el (tags-compression-info-list):
6598         Support xz compression.
6600 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
6602         * files.el (get-free-disk-space): Don't assume the "df" output
6603         columns line up (Bug#6995).
6605 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6607         * finder.el (finder-unknown-keywords):
6608         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6609         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6611 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6613         * server.el (server-start): Revert part of 2010-08-08 change.  Using
6614         address 127.0.0.1 for local host is now done in Fmake_network_process.
6616 2010-09-24  Glenn Morris  <rgm@gnu.org>
6618         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6619         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6620         * textmodes/css-mode.el, textmodes/dns-mode.el:
6621         Move autoloaded auto-mode-alist entries to files.el.
6622         * files.el (auto-mode-alist): Move entries here.
6624 2010-09-23  Glenn Morris  <rgm@gnu.org>
6626         * isearch.el (isearch-lazy-highlight-cleanup)
6627         (isearch-lazy-highlight-initial-delay)
6628         (isearch-lazy-highlight-interval)
6629         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6630         * net/net-utils.el (ipconfig-program-options):
6631         Move aliases to options before the associated definitions.
6633 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6635         * newcomment.el (comment-normalize-vars): Better test validity of
6636         comment-end-skip.
6638 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6640         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6641         (float-e): New name for `e'.
6642         (degrees-to-radians, radians-to-degrees):
6643         * calendar/solar.el (solar-longitude):
6644         * calculator.el (calculator-registers, calculator-funcall):
6645         * textmodes/artist.el (artist-spray-random-points):
6646         * play/bubbles.el (bubbles--initialize-images): Use new names.
6648 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
6650         Update to CEDET 1.0's version of EIEIO.
6652         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6653         New function.
6654         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6655         (eieio-default-eval-maybe): Eval val instead of unquoting only.
6656         (class-precedence-list): If class is nil, return nil.
6657         (eieio-generic-call): If class of first input arg is nil, don't
6658         look up static methods, and do check for primary methods.
6659         (initialize-instance): See if the default needs to be evaluated
6660         during the constructor.
6661         (eieio-perform-slot-validation-for-default): Don't do the check
6662         for values that will eventually be evaluated.
6663         (eieio-eval-default-p): New function.
6664         (eieio-default-eval-maybe): Use it.
6666 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6668         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6669         method-invocation-order.
6670         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6671         (eieio-class-precedence-dfs): Compute class precedence list using
6672         dfs algorithm.
6673         (eieio-class-precedence-bfs): Compute class precedence list using
6674         bfs algorithm.
6675         (eieio-class-precedence-c3): Compute class precedence list using
6676         c3 algorithm.
6677         (class-precedence-list): New function.
6678         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6679         (inconsistent-class-hierarchy): New error symbol.
6680         (call-next-method): Stow the replacement argument list for future
6681         call-next-method invocations.
6683 2010-09-23  Glenn Morris  <rgm@gnu.org>
6685         * calendar/appt.el (appt-check): If not displaying the diary,
6686         use (diary 1) to only get the entries we need.
6687         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6688         that it is in day order.  (Bug#7019)
6690         * calendar/appt.el (appt-check): Rather than showing the diary,
6691         just turn off invisible display, and only if needed.
6693         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
6695 2010-09-23  Glenn Morris  <rgm@gnu.org>
6697         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6698         (byte-compile-defvar, byte-compile-cl-warn):
6699         Start warnings with lower-case, like the majority.
6701         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6703         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
6705         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6706         * files.el (auto-mode-alist): Move ld-script entries here, further down
6707         the list.
6709         * vc/add-log.el: Don't require timezone when compiling.
6710         (timezone-make-date-sortable): Autoload it.
6711         (change-log-sortable-date-at): Don't require timezone.
6712         Use `ignore-errors'.
6714         * comint.el (comint-use-prompt-regexp-instead-of-fields):
6715         Move alias before definition, so it does not need autoloading.
6717         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6718         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6719         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6720         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6721         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6722         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6723         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6724         * textmodes/tex-mode.el, textmodes/two-column.el:
6725         Remove leading `*' from docs of defcustoms etc.
6727 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
6729         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6731 2010-09-22  Dan Christensen  <jdc@uwo.ca>
6733         * calendar/time-date.el (date-to-time): Try using parse-time-string
6734         first before using the slower timezone-make-date-arpa-standard.
6736 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
6738         * calendar/time-date.el (format-seconds): Comment fix.
6740 2010-09-22  Glenn Morris  <rgm@gnu.org>
6742         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6743         is not automatically buffer-local.
6745 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6747         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6748         (smie-indent-comment): Be more careful with comment-start-skip.
6749         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6750         (smie-indent-functions): Use them.
6752 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
6754         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6756 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
6758         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6759         tool-bar-position.  Don't modify frame parameters here.
6760         (menu-bar-options-save): Add tool-bar-position.
6762         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6764 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6766         * textmodes/reftex-parse.el (reftex-what-macro)
6767         (reftex-context-substring): Let-bind forward-sexp-function to nil
6768         since we don't need/want to treat \begin...\end as a block (bug#7053).
6770         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6772         * simple.el (blink-matching-open): Use syntax-class.
6774         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6775         Set invisibility spec for pascal's outline mode.
6776         (pascal-outline-change): Clean up calling convention.
6777         (pascal-show-all, pascal-hide-other-defuns): Update callers.
6779         * progmodes/prolog.el (prolog-smie-forward-token)
6780         (prolog-smie-backward-token): New functions.
6781         (prolog-mode-variables): Use them to parse "!," correctly.
6782         Set up smie-blink-matching for ".".
6784         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6785         and `end'.
6786         (ispell-region, ispell-process-line): Update users.
6788         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6789         point-min==1.
6791         * textmodes/ispell.el: Fix commenting convention.
6792         (ispell-parse-output): Simplify, use push.
6793         (ispell-region): Use match-string-no-properties.
6794         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6795         (ispell-minor-mode): Use define-minor-mode.
6796         (ispell-message): Remove unused var `skip-regexp'.
6797         (ispell-add-per-file-word-list): Use dynamic let-binding.
6798         Try and use the proper comment marker.
6800         * mail/sendmail.el: Fix commenting convention.
6801         (sendmail-send-it): Use line-beginning-position.
6803         * help-fns.el (describe-variable): Add original value, if applicable.
6805 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
6807         * subr.el (y-or-n-p): Remove leftover code from revno 101459.
6809         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6811 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6813         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6814         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6815         (smie-prec2-levels): Use them to better diagnose precedence cycles.
6816         (smie-blink-matching-check): Don't signal a mismatch if car is t.
6817         (smie-blink-matching-open): Rewrite to remove assumptions, so that
6818         something like "." can also be a closer.
6819         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6820         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6821         Rename internal functions to use "--".  Update callers.
6823         * frame.el (make-frame-names-alist): Don't list frames on other displays.
6825         * fringe.el (fringe-styles): New var.
6826         (fringe-mode, fringe-query-style): Use it.
6828 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
6830         * progmodes/sql.el: Version 2.8
6831         (sql-login-params): Update widget structure; changes still needed.
6832         (sql-product-alist): Add :list-all and :list-table features for
6833         SQLite, Postgres and MySQL products.
6834         (sql-redirect): Handle default value.
6835         (sql-execute, sql-execute-feature): New functions.
6836         (sql-read-table-name): New function.
6837         (sql-list-all, sql-list-table): New functions.  User API.
6838         (sql-mode-map, sql-interactive-mode-map): Add key definitions
6839         for above functions.
6840         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6841         for above functions.
6842         (sql-postgres-login-params): Add user and database defaults.
6843         (sql-buffer-live-p): Bug fix.
6844         (sql-product-history): New variable.
6845         (sql-read-product): New function.  Use it.
6846         (sql-set-product, sql-product-interactive): Use it.
6847         (sql-connection-history): New variable.
6848         (sql-read-connection): New function.  Use it.
6849         (sql-connect): New function.
6850         (sql-for-each-login): Redesign function interface.
6851         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6852         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
6853         (sql-comint): Check for program.  Existing live buffer.
6854         (sql-comint-postgres): Add port parameter.
6856 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6858         * emacs-lisp/warnings.el: Fix commenting convention.
6859         (display-warning): Use special mode and make the buffer read-only.
6861 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
6863         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6864         empty string when it follows a repeated or optional pattern.
6866 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6868         * indent.el (indent-according-to-mode): Apply syntax-propertize.
6869         (indent-region): Use indent-according-to-mode.
6871 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
6873         * fringe.el (fringe-mode): Doc fix.
6875 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
6877         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6878         refreshing the preview buffer.
6880 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6882         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6883         (latex-syntax-propertize-rules): New consts; replace
6884         tex-font-lock-syntactic-keywords.
6885         (tex-env-mark, latex-env-before-change): New functions.
6886         (latex-electric-env-pair-mode): New minor mode.
6887         (tex-font-lock-verb): Change arguments; do move point.
6888         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6889         representation as a form of comment.
6890         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6891         (doctex-syntax-propertize-rules): New const; replaces
6892         doctex-font-lock-syntactic-keywords.
6893         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6895         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6896         (fortran-make-syntax-propertize-function): New function; replaces
6897         fortran-font-lock-syntactic-keywords.
6898         (fortran-mode): Use it.
6899         (fortran-line-length): Use it.  Improve interactive spec.
6901         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6902         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
6903         when adding surrounding \(..\).
6905         * progmodes/js.el (js-mode): Fix last change (bug#7054).
6907 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6909         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6910         Use with-current-buffer.
6912         * isearch.el (isearch-face): Rename from `isearch'.
6913         (isearch-highlight): Use new name.
6915 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
6917         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6918         5, for `half' width fringes.  (Bug#6933)
6920 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6922         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6923         (byte-compile-defvar): "foo/bar" does not lack a prefix.
6925         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6927 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
6929         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6930         in calculating new frame position.  Add more space between new and
6931         parent on the left (Bug#7048).
6933 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
6935         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6936         defmacro.
6938 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
6940         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6942         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6943         obsolete alias for x-selection-value.
6945         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6947 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
6949         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6950         cookie.
6952 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
6954         * net/tramp-compat.el (tramp-compat-with-temp-message)
6955         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6956         (tramp-compat-process-put): New defuns.
6958         * net/tramp.el (top):
6959         * net/tramp-gvfs.el (top):
6960         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6962         * net/tramp.el (tramp-progress-reporter-update):
6963         Use `tramp-compat-funcall'.
6965         * net/tramp.el (tramp-process-actions):
6966         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6967         * net/tramp-sh.el (tramp-handle-vc-registered)
6968         (tramp-get-remote-stat, tramp-get-remote-readlink):
6969         Use `tramp-compat-with-temp-message'.
6971         * net/tramp-sh.el (top): Require 'cl.
6972         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6973         (tramp-open-connection-setup-interactive-shell):
6974         Use `tramp-compat-process-put'.
6976 2010-09-15  Alan Mackenzie  <acm@muc.de>
6978         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6979         indentation.
6980         (c-forward-<>-arglist-recur): Fix an infinite recursion.
6982 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6984         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6985         `lexical' for warnings related to lexical scoping.
6986         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6987         global vars which don't have a prefix and could hence affect lexical
6988         scoping in unrelated files.
6990 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6992         * net/imap.el: Revert back to version
6993         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6994         seem problematic.
6996 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
6998         * obsolete/old-whitespace.el (whitespace-unload-function):
6999         Explicitly pass `obarray' to `unintern' to avoid a warning.
7001 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7003         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7004         Add `when' argument.  Update callers.
7006         * subr.el (unintern): Declare the obarray arg mandatory.
7008 2010-09-14  Glenn Morris  <rgm@gnu.org>
7010         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7011         Doc fixes.
7013         * calendar/diary-lib.el (diary-included-files): New variable.
7014         (diary-list-entries): Maybe initialize diary-included-files.
7015         (diary-include-other-diary-files): Append to diary-included-files.
7016         * calendar/appt.el (appt-update-list): Also check the members of
7017         diary-included-files.  (Bug#6999)
7018         (appt-check): Doc fix.
7020 2010-09-14  David Reitter  <david.reitter@gmail.com>
7022         * simple.el (line-move-visual): Do not truncate goal column to
7023         integer size.  (Bug#7020)
7025 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7027         * repeat.el (repeat): Allow repeating when the last event is a click.
7028         Suggested by Drew Adams (bug#6256).
7030 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
7032         * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7033         Replace setting HGRCPATH to "" by some less invasive --config options.
7035 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7037         * font-lock.el (font-lock-beginning-of-syntax-function):
7038         Mark as obsolete.
7040 2010-09-14  Glenn Morris  <rgm@gnu.org>
7042         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7043         and tool-bar modes.  (Bug#6211)
7044         (menu-bar-mode): Move setting of standard-value after the
7045         minor-mode definition, otherwise it seems to have no effect.
7047 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
7049         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7050         Fix typo.  (Bug#6976)
7052 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7054         * whitespace.el: Allow cleaning up blanks without blank
7055         visualization (Bug#6651).  Adjust help window for
7056         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7057         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
7058         (whitespace-style): Add new value 'face.  Adjust docstring.
7059         (whitespace-space, whitespace-hspace, whitespace-tab):
7060         Adjust foreground property face.
7061         (whitespace-line-column): Adjust docstring and type declaration.
7062         (whitespace-style-value-list, whitespace-toggle-option-alist)
7063         (whitespace-help-text): Adjust const initialization.
7064         (whitespace-toggle-options, global-whitespace-toggle-options):
7065         Adjust docstring.
7066         (whitespace-display-window, whitespace-interactive-char)
7067         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7068         (whitespace-help-scroll): New fun.
7070 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
7072         * calendar/time-date.el (format-seconds): Comment fix.
7074 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
7076         * progmodes/sql.el: Version 2.7.
7077         (sql-buffer-live-p): Improve detection.
7078         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7079         (sql-set-sqli-buffer): Use it.
7080         (sql-product-interactive): Run `sql-set-sqli-hook'.
7081         (sql-rename-buffer): Code cleanup.
7082         (sql-redirect, sql-redirect-value): New functions.  More to come.
7084 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
7086         Port tramp-related Makefile changes of revnos 101381, 101422 to Windows.
7087         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7088         (TRAMP_SRC): New macro.
7089         ($(lisp)/net/tramp-loaddefs.el): New target.
7091 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
7093         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
7095         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
7097         * net/tramp.el (top): Don't show loading message.  Require just
7098         'tramp-compat, everything else is required there.
7099         Use `ignore-errors' where appropriate.
7100         (tramp-inline-compress-start-size, tramp-copy-size-limit)
7101         (tramp-terminal-type, tramp-end-of-output)
7102         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7103         (tramp-completion-function-alist-ssh)
7104         (tramp-completion-function-alist-telnet)
7105         (tramp-completion-function-alist-su)
7106         (tramp-completion-function-alist-putty, tramp-remote-path)
7107         (tramp-remote-process-environment, tramp-sh-extra-args)
7108         (tramp-actions-before-shell, tramp-uudecode)
7109         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7110         (tramp-perl-file-attributes)
7111         (tramp-perl-directory-files-and-attributes)
7112         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7113         (tramp-perl-encode, tramp-perl-decode)
7114         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7115         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7116         (tramp-handle-make-symbolic-link, tramp-handle-load)
7117         (tramp-handle-file-name-as-directory)
7118         (tramp-handle-file-name-directory)
7119         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7120         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7121         (tramp-do-file-attributes-with-ls)
7122         (tramp-do-file-attributes-with-perl)
7123         (tramp-do-file-attributes-with-stat)
7124         (tramp-handle-set-visited-file-modtime)
7125         (tramp-handle-verify-visited-file-modtime)
7126         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7127         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7128         (tramp-handle-file-selinux-context)
7129         (tramp-handle-set-file-selinux-context)
7130         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7131         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7132         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7133         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7134         (tramp-handle-file-ownership-preserved-p)
7135         (tramp-handle-directory-file-name, tramp-handle-directory-files)
7136         (tramp-handle-directory-files-and-attributes)
7137         (tramp-do-directory-files-and-attributes-with-perl)
7138         (tramp-do-directory-files-and-attributes-with-stat)
7139         (tramp-handle-file-name-all-completions)
7140         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7141         (tramp-handle-copy-file, tramp-handle-copy-directory)
7142         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7143         (tramp-do-copy-or-rename-file-via-buffer)
7144         (tramp-do-copy-or-rename-file-directly)
7145         (tramp-do-copy-or-rename-file-out-of-band)
7146         (tramp-handle-make-directory, tramp-handle-delete-directory)
7147         (tramp-handle-delete-file)
7148         (tramp-handle-dired-recursive-delete-directory)
7149         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7150         (tramp-handle-insert-directory)
7151         (tramp-handle-unhandled-file-name-directory)
7152         (tramp-handle-expand-file-name)
7153         (tramp-handle-substitute-in-file-name)
7154         (tramp-handle-executable-find, tramp-process-sentinel)
7155         (tramp-handle-start-file-process, tramp-handle-process-file)
7156         (tramp-handle-call-process-region, tramp-handle-shell-command)
7157         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7158         (tramp-handle-insert-file-contents)
7159         (tramp-handle-insert-file-contents-literally)
7160         (tramp-handle-find-backup-file-name)
7161         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7162         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7163         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7164         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7165         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7166         (tramp-find-file-exists-command, tramp-open-shell)
7167         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7168         (tramp-open-connection-setup-interactive-shell)
7169         (tramp-local-coding-commands, tramp-remote-coding-commands)
7170         (tramp-find-inline-encoding, tramp-call-local-coding-command)
7171         (tramp-inline-compress-commands, tramp-find-inline-compress)
7172         (tramp-compute-multi-hops, tramp-maybe-open-connection)
7173         (tramp-send-command, tramp-wait-for-output)
7174         (tramp-send-command-and-check, tramp-barf-unless-okay)
7175         (tramp-send-command-and-read, tramp-mode-string-to-int)
7176         (tramp-convert-file-attributes, tramp-check-cached-permissions)
7177         (tramp-file-mode-from-int, tramp-file-mode-permissions)
7178         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7179         (tramp-method-out-of-band-p, tramp-local-host-p)
7180         (tramp-get-remote-path, tramp-get-remote-tmpdir)
7181         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7182         (tramp-get-test-command, tramp-get-test-nt-command)
7183         (tramp-get-file-exists-command, tramp-get-remote-ln)
7184         (tramp-get-remote-perl, tramp-get-remote-stat)
7185         (tramp-get-remote-readlink, tramp-get-remote-trash)
7186         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7187         (tramp-get-local-uid, tramp-get-local-gid)
7188         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7189         tramp-sh.el.
7190         (tramp-methods, tramp-default-method-alist)
7191         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7192         Move initialization to tramp-sh.el.
7193         (tramp-temp-name-prefix): Make it a defconst.
7194         (tramp-dissect-file-name): Don't check anymore for multi-hop
7195         methods.
7196         (tramp-debug-outline-regexp): Add a docstring.
7197         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7198         (tramp-get-debug-buffer): Use it.
7200         * net/tramp-cache.el (top): Set tramp-autoload cookie for
7201         initialization forms.
7202         (tramp-set-connection-property): Don't protect `tramp-message'
7203         call, it isn't necessary any longer.
7204         (tramp-dump-connection-properties): Use `ignore-errors'.
7206         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7207         'password-cache and 'auth-source.
7209         * net/tramp-gvfs.el (top):
7210         * net/tramp-smb.el (top): Require 'tramp-sh.
7212         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7214         * net/tramp-sh.el: New file, derived from tramp.el.
7215         (top): Initialize `tramp-methods', `tramp-default-method-alist',
7216         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7217         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7218         Use `ignore-errors' where appropriate.
7219         (tramp-sh-file-name-handler-alist): Rename from
7220         `tramp-file-name-handler-alist'.
7221         (tramp-send-command-and-check): Return t or nil.  Remove all
7222         `zerop' checks, where called.
7223         (tramp-handle-set-file-modes)
7224         (tramp-do-copy-or-rename-file-directly)
7225         (tramp-handle-delete-directory, tramp-handle-delete-file)
7226         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7227         (tramp-sh-file-name-handler, tramp-send-command-and-check)
7228         (tramp-get-remote-ln): Set tramp-autoload cookie.
7230         * net/tramp-fish.el: Remove file.
7232 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
7234         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7235         buffer-file-name to avoid file-locking.  (Bug#7026)
7237 2010-09-13  Julien Danjou  <julien@danjou.info>
7239         * notifications.el (notifications-notify): Add support for
7240         image-path and sound-name.
7241         (notifications-specification-version): Add this variable.
7243 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7245         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7247 2010-09-12  Leo  <sdl.web@gmail.com>
7249         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7250         (rcirc-completion-start): New variables.
7251         (rcirc-nick-completions): Rename to rcirc-completions.
7252         (rcirc-nick-completion-start-offset): Delete.
7253         (rcirc-completion-at-point): New function for constructing
7254         completion data for both nicks and irc commands.  Add to
7255         completion-at-point-functions in rcirc mode.
7256         (rcirc-complete): Rename from rcirc-nick-complete; use
7257         rcirc-completion-at-point.
7258         (defun-rcirc-command): Update rcirc-client-commands.
7260 2010-09-11  Glenn Morris  <rgm@gnu.org>
7262         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7263         atomically, to avoid parallel build errors.  (Bug#4196)
7265 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
7267         * progmodes/sql.el: Version 2.6
7268         (sql-dialect): Synonym for "sql-product".
7269         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7270         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7271         Set "sql-buffer" to buffer name not buffer object so multiple sql
7272         interactive buffers work properly.  Reverts misguided changes in
7273         earlier work.
7274         (sql-comint): Make sure different buffer name is used if "*SQL*"
7275         buffer is for a different product.
7276         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7277         login param.
7278         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7279         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7280         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7281         Accept new buffer name or prompt for one.
7282         (sql-port): Default to zero.
7283         (sql-comint-mysql): Handle "sql-port" as a numeric.
7284         (sql-port-history): Delete unused variable.
7285         (sql-get-login): Default "sql-port" to a number.
7286         (sql-product-alist): Correct Postgres prompt and terminator regexp.
7287         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7288         "sqlite3" executables.
7289         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7290         (sql-buffer-live-p): New function.
7291         (sql-mode-menu, sql-send-string): Use it.
7292         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7293         syntax pattern.
7294         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7295         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7297 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7299         * net/netrc.el (netrc-credentials): New convenience function.
7301 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7303         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7304         to replace texinfo-font-lock-syntactic-keywords.
7305         (texinfo-mode): Use it.
7307         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7308         Use syntax-propertize-function.
7310         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7311         replace sgml-font-lock-syntactic-keywords.
7312         (sgml-mode): Use it.
7314         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7315         since we don't use it.
7317         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7319         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7320         if available.
7321         (vhdl-fontify-buffer): Adjust.
7323         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7324         replace tcl-font-lock-syntactic-keywords.
7325         (tcl-mode): Use it.
7327         * progmodes/simula.el (simula-syntax-propertize-function): New var to
7328         replace simula-font-lock-syntactic-keywords.
7329         (simula-mode): Use it.
7331         * progmodes/sh-script.el (sh-st-symbol): Remove.
7332         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7333         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7334         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7335         (sh-font-lock-paren): Set syntax-multiline.
7336         (sh-font-lock-syntactic-keywords): Remove.
7337         (sh-syntax-propertize-function): New function to replace it.
7338         (sh-mode): Use it.
7340         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7341         Define while compiling.
7342         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7343         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7344         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7345         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7346         (ruby-here-doc-end-syntax): Only define when
7347         syntax-propertize is not available.
7348         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7349         New functions.
7350         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7351         (electric-indent-chars): Silence bytecompiler.
7352         (ruby-mode): Use prog-mode, syntax-propertize-function, and
7353         electric-indent-chars.
7355         * progmodes/python.el (python-syntax-propertize-function): New var to
7356         replace python-font-lock-syntactic-keywords.
7357         (python-mode): Use it.
7358         (python-quote-syntax): Simplify and adjust to new use.
7360         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7361         replace perl-font-lock-syntactic-keywords.
7362         (perl-syntax-propertize-special-constructs): New fun to replace
7363         perl-font-lock-special-syntactic-constructs.
7364         (perl-font-lock-syntactic-face-function): New fun.
7365         (perl-mode): Use it.
7367         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7368         to replace octave-font-lock-close-quotes.
7369         (octave-syntax-propertize-function): New function to replace
7370         octave-font-lock-syntactic-keywords.
7371         (octave-mode): Use it.
7373         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7374         replaces mixal-font-lock-syntactic-keywords.
7375         (mixal-mode): Use it.
7377         * progmodes/make-mode.el (makefile-syntax-propertize-function):
7378         New var; replaces makefile-font-lock-syntactic-keywords.
7379         (makefile-mode): Use it.
7380         (makefile-imake-mode): Adjust.
7382         * progmodes/js.el (js--regexp-literal): Define while compiling.
7383         (js-syntax-propertize-function): New var; replaces
7384         js-font-lock-syntactic-keywords.
7385         (js-mode): Use it.
7387         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7388         replaces gdb-script-font-lock-syntactic-keywords.
7389         (gdb-script-mode): Use it.
7391         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7392         (fortran--font-lock-syntactic-keywords): New var.
7393         (fortran-line-length): Update syntax-propertize-function and
7394         fortran--font-lock-syntactic-keywords.
7396         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7398         * progmodes/cfengine.el (cfengine-mode):
7399         Use syntax-propertize-function.
7400         (cfengine-font-lock-syntactic-keywords): Remove.
7402         * progmodes/autoconf.el (autoconf-mode):
7403         Use syntax-propertize-function.
7404         (autoconf-font-lock-syntactic-keywords): Remove.
7406         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7407         (ada-after-change-function, ada-initialize-syntax-table-properties)
7408         (ada-handle-syntax-table-properties): Only define when
7409         syntax-propertize is not available.
7410         (ada-mode): Use syntax-propertize-function.
7412         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7413         (font-lock-fontify-syntactic-keywords-region): Move handling of
7414         font-lock-syntactically-fontified to...
7415         (font-lock-default-fontify-region): ...here.
7416         Let syntax-propertize-function take precedence.
7417         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7419         * emacs-lisp/syntax.el (syntax-propertize-function)
7420         (syntax-propertize-chunk-size, syntax-propertize--done)
7421         (syntax-propertize-extend-region-functions): New vars.
7422         (syntax-propertize-wholelines, syntax-propertize-multiline)
7423         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7424         (syntax-propertize): New functions.
7425         (syntax-propertize-rules): New macro.
7426         (syntax-ppss-flush-cache): Set syntax-propertize--done.
7427         (syntax-ppss): Call syntax-propertize.
7429         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7431 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
7433         * textmodes/ispell.el (ispell-init-process): Improve comments.
7434         XEmacs compatibility changes regarding (add-hook) 'local option
7435         and (set-process-query-on-exit-flag).
7437 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
7439         * net/tramp-cache.el (tramp-parse-connection-properties):
7440         Set tramp-autoload cookie.
7442 2010-09-09  Glenn Morris  <rgm@gnu.org>
7444         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7445         (imagemagick-register-types): Doc fix.
7447 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7449         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7451         * progmodes/js.el (require): Require is already "eval-and-compile".
7452         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
7453         (js--re-search-backward): Use js--re-search-forward.
7455         * progmodes/fortran.el (fortran-line-length): Don't recompute
7456         syntactic keywords redundantly a second time.
7458         * progmodes/ada-mode.el: Replace "(set '" with setq.
7459         (ada-mode): Simplify.
7460         (ada-create-case-exception, ada-adjust-case-interactive)
7461         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7462         (ada-search-ignore-string-comment, ada-move-to-start)
7463         (ada-move-to-end): Use with-syntax-table.
7465         * font-lock.el (save-buffer-state): Remove `varlist' arg.
7466         (font-lock-unfontify-region, font-lock-default-fontify-region):
7467         Update usage correspondingly.
7468         (font-lock-fontify-syntactic-keywords-region):
7469         Set parse-sexp-lookup-properties buffer-locally here.
7470         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7472         * simple.el (blink-matching-open): Don't burp if we can't find a match.
7474 2010-09-08  Glenn Morris  <rgm@gnu.org>
7476         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7477         Error if not compiled with -DBYTE_CODE_METER.
7479         * emacs-lisp/bytecomp.el (byte-recompile-directory):
7480         Ignore dir-locals-file.
7482 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7484         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7485         Not a const.
7486         (compilation-error-regexp-alist-alist): Rule out ": " in file names
7487         for the `gnu' messages.
7488         (compilation-set-skip-threshold): New command.
7489         (compilation-start): Use \' rather than $.
7490         (compilation-forget-errors): Use clrhash.
7492 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
7494         * textmodes/ispell.el (ispell-valid-dictionary-list):
7495         Simplify logic.
7497 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
7499         Migrate to Tramp 2.2.  Rearrange load dependencies.
7500         (Bug#1529, Bug#5448, Bug#5705)
7502         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7503         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7504         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7506         * net/tramp.el (top): Remove all other tramp-* loads except
7507         tramp-compat.el.  Remove all changes to tramp-unload-hook for
7508         other tramp-* packages.  Rearrange defun order.  Change calls of
7509         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7510         `tramp-compat-octal-to-decimal' to new function names.
7511         (tramp-terminal-type, tramp-initial-end-of-output)
7512         (tramp-methods, tramp-foreign-file-name-handler-alist)
7513         (tramp-tramp-file-p, tramp-completion-mode-p)
7514         (tramp-send-command-and-check, tramp-get-remote-path)
7515         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7516         (tramp-shell-quote-argument): Set tramp-autoload cookie.
7517         (with-file-property, with-connection-property): Move to
7518         tramp-cache.el.
7519         (tramp-local-call-process, tramp-decimal-to-octal)
7520         (tramp-octal-to-decimal): Move to tramp-compat.el.
7521         (tramp-handle-shell-command): Do not require 'shell.
7522         (tramp-compute-multi-hops): No special handling for tramp-gw-*
7523         symbols.
7524         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7526         * net/tramp-cache.el (top): Require 'tramp.  Add to
7527         `tramp-unload-hook'.
7528         (tramp-cache-data, tramp-get-file-property)
7529         (tramp-set-file-property, tramp-flush-file-property)
7530         (tramp-flush-directory-property, tramp-get-connection-property)
7531         (tramp-set-connection-property, tramp-flush-connection-property)
7532         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7533         cookie.
7534         (with-file-property, with-connection-property): New defuns, moved
7535         from tramp.el.
7536         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7537         macro.
7539         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7540         (tramp-version): Set tramp-autoload cookie.
7542         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
7543         changes to tramp-unload-hook for other tramp-* packages.  Add to
7544         `tramp-unload-hook'.
7545         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7546         (tramp-compat-call-process): New defuns, moved from tramp.el.
7548         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
7549         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7550         Add to `tramp-unload-hook'.  Change call of
7551         `tramp-compat-decimal-to-octal' to new function name.
7552         (tramp-fish-method): Make it a defconst.
7553         (tramp-fish-file-name-p): Make it a defsubst.
7554         (tramp-fish-method, tramp-fish-file-name-handler)
7555         (tramp-fish-file-name-p): Set tramp-autoload cookie.
7557         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7558         `tramp-foreign-file-name-handler-alist'.  Add to
7559         `tramp-unload-hook'.
7560         (tramp-ftp-method): Make it a defconst.
7561         (tramp-ftp-file-name-p): Make it a defsubst.
7562         (tramp-ftp-method, tramp-ftp-file-name-handler)
7563         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7565         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7566         `tramp-foreign-file-name-handler-alist'.  Add to
7567         `tramp-unload-hook'.  Change checks, whether package can be
7568         loaded.
7569         (tramp-gvfs-file-name-p): Make it a defsubst.
7570         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7571         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7572         (tramp-gvfs-handle-file-directory-p): New defun.
7573         (tramp-gvfs-file-name-handler-alist): Use it.
7575         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7576         `tramp-foreign-file-name-handler-alist'.  Add to
7577         `tramp-unload-hook'.
7578         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7579         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7580         defconst.
7581         (tramp-gw-tunnel-method, tramp-gw-socks-method)
7582         (tramp-gw-open-connection): Set tramp-autoload cookie.
7584         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
7585         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7586         Add to `tramp-unload-hook'.  Change checks, whether package can be
7587         loaded.
7588         (tramp-imap-file-name-p): Make it a defsubst.
7589         (tramp-imap-method, tramp-imaps-method)
7590         (tramp-imap-file-name-handler)
7591         (tramp-imap-file-name-p): Set tramp-autoload cookie.
7593         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
7594         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7595         Add to `tramp-unload-hook'.  Change checks, whether package can be
7596         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
7597         function name.
7598         (tramp-smb-tunnel-method): Make it a defconst.
7599         (tramp-smb-file-name-p): Make it a defsubst.
7600         (tramp-smb-method, tramp-smb-file-name-handler)
7601         (tramp-smb-file-name-p): Set tramp-autoload cookie.
7603         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7604         (tramp-uuencode-region): Set tramp-autoload cookie.
7606         * net/trampver.el (top) Add to `tramp-unload-hook'.
7607         (tramp-version, tramp-bug-report-address): Set tramp-autoload
7608         cookie.  Update release number.
7610 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
7612         * textmodes/ispell.el (ispell-start-process): Make sure original
7613         arg list is properly initialized (Bug#6993, Bug#6994).
7615 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7617         * files.el (directory-abbrev-alist): Use \` as default regexp.
7619         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7620         chars like - or ] (bug#6984).
7621         (rx-any-condense-range): Explode 2-char ranges.
7623 2010-09-06  Glenn Morris  <rgm@gnu.org>
7625         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7627 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7629         * textmodes/bibtex.el:
7630         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7632 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7634         * net/imap.el (imap-message-map): Remove optional buffer parameter,
7635         since no callers use it.
7636         (imap-message-get): Ditto.
7637         (imap-message-put): Ditto.
7638         (imap-mailbox-map): Ditto.
7639         (imap-mailbox-put): Ditto.
7640         (imap-mailbox-get): Ditto.
7641         (imap-mailbox-get): Revert last change for this function.
7643 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7645         * net/imap.el (imap-fetch-safe): Remove function, and alter all
7646         callers to use `imap-fetch' instead.  According to the comments, this
7647         should be safe, since all other IMAP clients use the 1:* syntax.
7648         (imap-enable-exchange-bug-workaround): Remove.
7649         (imap-debug): Remove -- doesn't seem very useful.
7651 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7653         * net/imap.el (imap-log): New convenience function used throughout
7654         instead of repeating the same code all over the place.
7656 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
7658         * mouse.el (mouse-save-then-kill): Save region to kill-ring
7659         when mouse-drag-copy-region is non-nil (Bug#6956).
7661 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
7663         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7664         Improve regexps (Bug#6987).
7665         (dired-sort-toggle): Search more robustly for -t flag.
7667         * files.el (get-free-disk-space): Search more robustly for
7668         "available" column.  Suggested by Ehud Karni
7669         <ehud@unix.mvs.co.il>.
7671 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
7673         * international/uni-bidi.el:
7674         * international/uni-category.el:
7675         * international/uni-combining.el:
7676         * international/uni-decimal.el:
7677         * international/uni-mirrored.el:
7678         * international/uni-name.el: Regenerate.
7680 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7682         * electric.el (electric-indent-post-self-insert-function):
7683         Don't reindent with a sloppy indentation function.
7685         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7686         border case in change-log-mode.
7688 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
7690         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7691         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7692         Recognize leading tab in gcc-include regexp.  Ignore names with
7693         leading "from" or "in" in gnu regexp (Bug#6937).
7695 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7697         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7698         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7699         (ispell-start-process): Avoid setq and simplify logic.
7700         (ispell-init-process): Setup kill-buffer-hook locally when needed.
7701         (kill-buffer-hook): Don't use it globally with code that uses
7702         expand-file-name since that may call kill-buffer via
7703         code_conversion_restore.
7705 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
7707         * emacs-lisp/package.el (package-directory-list): Only call
7708         file-name-nondirectory on a string.
7710 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7712         * emacs-lisp/package.el (package--download-one-archive):
7713         Ensure that archive-contents is valid before saving it.
7714         (package-activate-1, package-mark-obsolete, define-package)
7715         (package-compute-transaction, package-list-maybe-add): Use push.
7717 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7719         Use SMIE's blink-paren for octave-mode.
7720         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7721         Backslashes do not escape single-quotes, single-quotes do.
7722         (octave-block-else-regexp, octave-block-end-regexp)
7723         (octave-block-match-alist): Remove.
7724         (octave-smie-bnf-table): New var, with old content.
7725         (octave-smie-op-levels): Use it.
7726         (octave-smie-closer-alist): New var.
7727         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
7728         (octave-blink-matching-block-open): Remove.
7729         (octave-reindent-then-newline-and-indent, octave-electric-semi)
7730         (octave-electric-space): Let self-insert-command run expand-abbrev and
7731         blink parens.
7733         * electric.el (electricity): New group.
7734         (electric-indent-chars): New var.
7735         (electric-indent-post-self-insert-function): New fun.
7736         (electric-indent-mode): New minor mode.
7737         (electric-pair-skip-self): New custom.
7738         (electric-pair-post-self-insert-function): New function.
7739         (electric-pair-mode): New minor mode.
7741         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7742         calcAlg-blink-matching-open.
7743         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7744         (calc-do-alg-entry): Only touch the part of the keymap that varies.
7745         Use the new blink-matching-check-function.
7747         Provide blink-matching support to SMIE.
7748         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7749         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7750         (smie-blink-matching-check, smie-blink-matching-open): New functions.
7752         * simple.el (newline): Fix last change to properly remove itself from
7753         the hook.
7755 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7757         * simple.el (newline): Eliminate optimization.
7758         Use post-self-insert-hook to set hard-newline and things before
7759         running post-self-insert-hook.
7760         (blink-matching-check-mismatch): New function.
7761         (blink-matching-check-function): New variable.
7762         (blink-matching-open): Use them.
7763         Skip back forward over prefix chars skipped by forward-sexp.
7764         Don't check if the parens are backslash escaped.
7765         (blink-paren-post-self-insert-function): Check backslash escaping here.
7767 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7769         * emacs-lisp/package.el (package-menu-mode-map):
7770         Change package-menu-revert bindings to revert-buffer.
7771         (package-menu-mode): Set revert-buffer-function.
7772         (package-menu-revert): Doc fix.
7774 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
7776         * textmodes/ispell.el (ispell-init-process): Use "~/" as
7777         `default-directory' unless using Ispell per-directory personal
7778         dictionaries and not in a mini-buffer under XEmacs.
7779         (kill-buffer-hook): Do not kill ispell process on exit when
7780         `ispell-process-directory' is "~/".  (Bug#6143)
7782 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
7784         * simple.el (kill-new): Call interprogram-cut-function with only
7785         one argument.
7787         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7788         Remove cut buffer from error message.
7790         * term/x-win.el (x-select-text):
7791         * term/pc-win.el (x-selection-value):
7792         * term/ns-win.el (x-selection-value):
7793         * eshell/em-term.el:
7794         * w32-fns.el (x-get-selection-value):
7795         * mouse-sel.el (mouse-sel-set-selection-function):
7796         * frame.el (display-selections-p): Remove cut-buffer in documentation.
7798         * term/x-win.el: Update documentation for x-last-selected-text-*.
7799         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7800         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7801         (x-select-text): Remove argument PUSH, update documentation.
7802         Remove cut-buffer code.
7803         (x-selection-value-internal): Was previously x-selection-value.
7804         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7805         Update documentation, remove cut-buffer code.
7806         Call x-selection-value-internal.
7807         (x-clipboard-yank): Call x-selection-value-internal.
7808         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7810         * term/pc-win.el (x-last-selected-text):
7811         x-cut-buffer-or-selection-value renamed to x-selection-value
7812         (x-select-text): Remove argument PUSH, update documentation.
7814         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7815         x-cut-buffer-or-selection-value renamed to x-selection-value
7816         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7817         (x-select-text): Remove argument PUSH, update documentation.
7819         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7821         * w32-fns.el (x-last-selected-text):
7822         x-cut-buffer-or-selection-value renamed to x-selection-value.
7823         (x-cut-buffer-max): Remove.
7824         (x-select-text): Remove argument PUSH, update documentation.
7826         * simple.el (interprogram-cut-function): Remove mention of PUSH.
7828         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7830         * mouse-sel.el (mouse-sel-get-selection-function):
7831         x-cut-buffer-or-selection-value renamed to x-selection-value.
7832         (x-select-text): Remove optional push.
7834 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7836         * simple.el (blink-paren-function): Move from C to here.
7837         (blink-paren-post-self-insert-function): New function.
7838         (post-self-insert-hook): Use it.
7840         * emacs-lisp/pcase.el (pcase-split-memq):
7841         Fix overenthusiastic optimisation.
7842         (pcase-u1): Handle the case of a lambda pred.
7844 2010-08-31  Kenichi Handa  <handa@m17n.org>
7846         * international/mule-cmds.el (standard-display-european-internal):
7847         Setup standard-display-table for 8-bit characters by storing 8-bit
7848         characters in the element vector.
7850         * disp-table.el (standard-display-8bit):
7851         Setup standard-display-table for 8-bit characters by storing 8-bit
7852         characters in the element vector.
7853         (standard-display-european): Likewise.
7855 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
7857         * textmodes/nroff-mode.el (nroff-view): New command.
7858         (nroff-mode-map): Bind it to C-c C-c.
7860 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7862         * emacs-lisp/smie.el (smie-down-list): New command.
7864         Remove old indentation and navigation code on octave-mode.
7865         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7866         smie-down-list rather than add a binding for octave-down-block.
7867         (octave-mark-block, octave-blink-matching-block-open):
7868         Rely on forward-sexp-function.
7869         (octave-fill-paragraph): Don't narrow, so you can use
7870         indent-according-to-mode.
7871         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7872         (octave-in-block-p, octave-re-search-forward-kw)
7873         (octave-re-search-backward-kw, octave-indent-calculate)
7874         (octave-end-as-array-index-p, octave-block-end-offset)
7875         (octave-scan-blocks, octave-forward-block, octave-backward-block)
7876         (octave-down-block, octave-backward-up-block, octave-up-block)
7877         (octave-before-magic-comment-p, octave-indent-line): Remove.
7879 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
7881         * emacs-lisp/package.el (package--read-archive-file): Just use
7882         `read', to avoid copying an additional string.
7883         (package-menu-mode): Set header-line-format here.
7884         (package-menu-refresh, package-menu-revert): Signal an error if
7885         not in the Package Menu.
7886         (package-menu-package-list): New var.
7887         (package--generate-package-list): Operate on the current buffer;
7888         don't assume that it is *Packages*, since the user may rename it.
7889         Allow persistent package listings and sort keys using
7890         package-menu-package-list and package-menu-package-sort-key.
7891         (package-menu--version-predicate): Fix version calculation.
7892         (package-menu-sort-by-column): Don't select the window.
7893         (package--list-packages): Create the *Packages* buffer.
7894         Set package-menu-package-list-key.
7895         (list-packages): Sorting by status is now the default.
7896         (package-buffer-info): Use match-string-no-properties.
7897         (define-package): Add a &rest argument for future proofing, but
7898         don't use it yet.
7899         (package-install-from-buffer, package-install-buffer-internal):
7900         Merge into a single function, package-install-from-buffer.
7901         (package-install-file): Change caller.
7903         * finder.el: Load finder-inf using `require'.
7904         (finder-list-matches): Sorting by status is now the default.
7905         (finder-compile-keywords): Simpify printing.
7907 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7909         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7910         (octave-mode-map): Remove special bindings for forward/backward-block
7911         and octave-backward-up-block.  Use smie-close-block.
7912         (octave-continuation-marker-regexp): New var.
7913         (octave-continuation-regexp): Use it.
7914         (octave-operator-table, octave-smie-op-levels)
7915         (octave-operator-regexp, octave-smie-indent-rules): New vars.
7916         (octave-smie-backward-token, octave-smie-forward-token): New funs.
7917         (octave-mode): Use SMIE.
7918         (octave-close-block): Delete.
7920 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
7922         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7923         CLIPBOARD, not in PRIMARY.  (Bug#6944)
7925 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7927         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7928         a list of parents.
7929         (smie-indent-column): Allow indirection through variables.
7931         * composite.el (save-buffer-state): Delete, unused.
7932         * font-lock.el (save-buffer-state): Use with-silent-modifications.
7933         (font-lock-default-fontify-region): Use with-syntax-table.
7934         * jit-lock.el (with-buffer-unmodified): Remove.
7935         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7937         Use `declare' in defmacros.
7938         * window.el (save-selected-window):
7939         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7940         * progmodes/python.el (def-python-skeleton):
7941         * net/dbus.el (dbus-ignore-errors):
7942         * jka-cmpr-hook.el (with-auto-compression-mode):
7943         * international/mule.el (with-category-table):
7944         * emacs-lisp/timer.el (with-timeout):
7945         * emacs-lisp/lisp-mnt.el (lm-with-file):
7946         * emacs-lisp/eieio.el (with-slots):
7947         * emacs-lisp/easymenu.el (easy-menu-define):
7948         * emacs-lisp/debug.el (debugger-env-macro):
7949         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7950         (Multiple-value-call, Multiple-value-prog1):
7951         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7952         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7953         edebug rule to definition.
7954         * emacs-lisp/lisp-mode.el (save-selected-window)
7955         (with-current-buffer, combine-after-change-calls)
7956         (with-output-to-string, with-temp-file, with-temp-buffer)
7957         (with-temp-message, with-syntax-table, read-if, eval-after-load)
7958         (dolist, dotimes, when, unless):
7959         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7961 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7963         * finder.el: Require `package'.
7964         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
7965         (finder-package-info): Var deleted.
7966         (finder-keywords-hash, finder--builtins-alist): New vars.
7967         (finder-compile-keywords): Compute package--builtins and
7968         finder-keywords-hash instead of finder-keywords-hash, respecting
7969         the "Package" header.
7970         (finder-unknown-keywords, finder-list-matches):
7971         Use finder-keywords-hash and package--list-packages.
7972         (finder-mode): Don't set font-lock-defaults.
7973         (finder-exit): We don't use "*Finder-package*" and "*Finder
7974         Category*" buffers anymore.
7976         * emacs-lisp/package.el (package--builtins-base): Var deleted.
7977         (package--builtins): Set default value to nil.
7978         (package-initialize): Load precomputed value of package--builtins
7979         from finder-inf.el.
7980         (package-alist, package-compute-transaction)
7981         (package-download-transaction): Improve docstring.
7982         (package-read-all-archive-contents): Do not change
7983         package--builtins here.
7984         (list-packages): Make package-list-packages an alias for this.
7985         Sort by status by default.
7986         (package--list-packages): Add optional PACKAGES arg.
7987         (describe-package-1): Use font-lock-face property.  For built-in
7988         packages, insert file commentary.
7989         (package--generate-package-list): Rename from
7990         package-list-packages-internal; all callers changed.  Add optional
7991         PACKAGES arg.  Add alphabetical sort fallbacks.
7992         (package-menu--version-predicate, package-menu--status-predicate)
7993         (package-menu--description-predicate)
7994         (package-menu--name-predicate): New functions.
7996         * info.el (Info-finder-find-node): Search package-alist instead of
7997         finder-package-info.
7999 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
8001         * subr.el (version-regexp-alist): Don't use "a" and "b" for
8002         "alpha" and "beta".
8003         (version-to-list): Handle versions like "10.3d".
8005 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8007         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8008         (macroexp-accumulate): Use `declare'.
8010 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8012         * whitespace.el (whitespace-style): Adjust type declaration.
8014 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
8016         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8018 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
8020         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8021         (Bug#6907).
8023 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
8025         * progmodes/js.el: Make indentation more customizable (Bug#6914).
8026         (js-paren-indent-offset, js-square-indent-offset)
8027         (js-curly-indent-offset): New options.
8028         (js--proper-indentation): Use them.
8030 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
8032         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8033         instead of inspecting font-lock properties (Bug#6916).
8035 2010-08-26  David Reitter  <david.reitter@gmail.com>
8037         * server.el (server-visit-files): Run pre-command-hook and
8038         post-command-hook for each buffer while it is current (Bug#6910).
8039         (server-execute): Do not run hooks here.
8041 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
8043         Sync with Tramp 2.1.19.
8045         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
8046         deleting tmpfile.
8047         (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8049         * net/tramp.el (tramp-handle-expand-file-name)
8050         (tramp-completion-handle-file-name-all-completions)
8051         (tramp-completion-handle-file-name-completion):
8052         Use `tramp-connectable-p'.
8054         * net/trampver.el: Update release number.
8056 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
8058         * help.el (help-map): Bind `C-h P' to describe-package.
8060         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8062         * emacs-lisp/package.el (package-refresh-contents): Catch errors
8063         when downloading archives.
8064         (describe-package-1): Add package commentary.
8065         (package-install-button-action): New function.
8066         (package-menu-mode-map): Bind ? to package-menu-describe-package.
8067         (package-menu-view-commentary): Function removed.
8068         (package-list-packages-internal): Hide the `package' package too.
8070 2010-08-25  Kenichi Handa  <handa@m17n.org>
8072         * language/misc-lang.el ("Arabic"): New language environment.
8073         Setup composition-function-table for Arabic characters.
8075         * international/fontset.el (setup-default-fontset): Fix typo for
8076         arabic OTF spec (fini->fina).
8078 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
8080         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8081         on all frames.
8083 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8085         * whitespace.el: Allow cleaning up blanks without blank
8086         visualization (Bug#6651).  Adjust help window for
8087         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
8088         instead of whitespace-line-column (from EmacsWiki).  New version
8089         13.1.
8090         (whitespace-style): Add new value 'face.  Adjust docstring.
8091         (whitespace-space, whitespace-hspace, whitespace-tab):
8092         Adjust foreground property face.
8093         (whitespace-line-column): Adjust docstring and type declaration.
8094         (whitespace-style-value-list, whitespace-toggle-option-alist)
8095         (whitespace-help-text): Adjust const initialization.
8096         (whitespace-toggle-options, global-whitespace-toggle-options):
8097         Adjust docstring.
8098         (whitespace-display-window, whitespace-interactive-char)
8099         (whitespace-style-face-p, whitespace-color-on): Adjust code.
8100         (whitespace-help-scroll): New fun.
8102 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8104         * emacs-lisp/package.el (list-packages): Alias for
8105         package-list-packages.
8107 2010-08-24  Kevin Ryde  <user42@zip.com.au>
8109         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8110         (Bug#5651).
8112         * progmodes/ruby-mode.el (ruby): Add defgroup.
8114 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8116         * progmodes/python.el: Add Ipython support (Bug#5390).
8117         (python-shell-prompt-alist)
8118         (python-shell-continuation-prompt-alist): New options.
8119         (python--set-prompt-regexp): New function.
8120         (inferior-python-mode, run-python, python-shell):
8121         Require ansi-color.  Use python--set-prompt-regexp to set the comint
8122         prompt based on the Python interpreter.
8123         (python--prompt-regexp): New var.
8124         (python-check-comint-prompt)
8125         (python-comint-output-filter-function): Use it.
8126         (run-python): Use a pipe (Bug#5694).
8128 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
8130         * progmodes/python.el (python-send-region): Send a different
8131         Python command if Ipython is in use.
8132         (python-check-version): Use a Python command to find the version.
8134 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8136         * mouse.el (mouse-yank-primary): Avoid setting primary when
8137         deactivating the mark (Bug#6872).
8139 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
8141         * progmodes/python.el (python-block-pairs): Allow use of "finally"
8142         with "else" (Bug#3991).
8144 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
8146         * net/dbus.el: Accept UNIX domain sockets as bus address.
8147         (top): Don't initialize `dbus-registered-objects-table' anymore,
8148         this is done in dbusbind.c.
8149         (dbus-check-event): Adapt test for bus.
8150         (dbus-return-values-table, dbus-unregister-service)
8151         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8152         Adapt doc string.
8154 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
8156         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8158 2010-08-22  Juri Linkov  <juri@jurta.org>
8160         * simple.el (read-extended-command): New function with the logic
8161         for `completing-read' moved to Elisp from `execute-extended-command'.
8162         Use `function-called-at-point' in `minibuffer-default-add-function'
8163         to get a command name for M-n (bug#5364, bug#5214).
8165 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8167         * startup.el (command-line-1): Issue warning for ignored arguments
8168         --unibyte, etc (Bug#6886).
8170 2010-08-22  Leo  <sdl.web@gmail.com>
8172         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8173         (ignore, bright, dim, keyword): Split list of nicknames before
8174         passing to rcirc-add-or-remove (Bug#6894).
8176 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8178         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8180 2010-08-22  Leo  <sdl.web@gmail.com>
8182         Fix buffer-list rename&refresh after killing a buffer in ido.
8183         * ido.el: Revert Óscar's.
8184         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8185         Remember the buffers at head, rather than their name.
8186         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8188 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
8189             Stefan Monnier  <monnier@iro.umontreal.ca>
8191         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8192         extra backslash added to each line (bug#6890).
8194 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8196         * subr.el (read-key): Don't echo keystrokes (bug#6883).
8198 2010-08-22  Glenn Morris  <rgm@gnu.org>
8200         * menu-bar.el (menu-bar-games-menu): Add landmark.
8202 2010-08-22  Glenn Morris  <rgm@gnu.org>
8204         * align.el (align-regexp): Make group and spacing arguments
8205         use the interactive defaults when non-interactive.  (Bug#6698)
8207         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8208         expansion, so as not to need sendmail.
8209         (mail-text-start): Remove declaration.
8210         (rmail-retry-failure): Require sendmail.
8212 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8214         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8216 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
8218         * progmodes/flymake.el (flymake-start-syntax-check-process):
8219         Use `start-file-process' in order to let it run also on remote hosts.
8221 2010-08-22  Kenichi Handa  <handa@m17n.org>
8223         * files.el: Add `word-wrap' as safe local variable.
8225 2010-08-22  Glenn Morris  <rgm@gnu.org>
8227         * woman.el (woman-translate): Case matters.  (Bug#6849)
8229 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8231         * simple.el (kill-region): Doc fix (Bug#6787).
8233 2010-08-22  Glenn Morris  <rgm@gnu.org>
8235         * calendar/diary-lib.el (diary-header-line-format):
8236         Fit it to the window, not the frame.
8238 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
8240         * subr.el (ignore-errors): Add debug declaration.
8242 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
8244         * whitespace.el (whitespace-color-off): Remove post-command-hook
8245         locally.
8247 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8249         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8251 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8253         * cus-edit.el (custom-group-value-create): Add extra newline
8254         before end line (Bug#6876).
8256 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8258         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8259         when extending it.  Before killing on the second click, check if
8260         the buffer is the correct one.  Doc fix.
8261         (mouse-secondary-save-then-kill): Allow usage without first
8262         calling mouse-start-secondary, by defaulting to point.  Don't save
8263         an empty secondary selection.  Doc fix.
8265 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8267         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
8268         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8269         New version 13.0.
8270         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8271         Adjust initialization.
8272         (whitespace-bob-marker, whitespace-eob-marker)
8273         (whitespace-buffer-changed): New vars.
8274         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8275         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8276         (whitespace-post-command-hook, whitespace-display-char-on):
8277         Adjust code.
8278         (whitespace-looking-back, whitespace-buffer-changed): New funs.
8279         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8281 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8283         * files.el (locate-file-completion-table): Only list the .el and .elc
8284         extensions if there's no other choice (bug#5955).
8286         * facemenu.el (facemenu-self-insert-data): New var.
8287         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8288         New functions.
8289         (facemenu-add-face): Use them.
8291         * simple.el (blink-matching-open): Obey forward-sexp-function.
8293 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8295         * simple.el (prog-mode-map): New var.
8296         (prog-indent-sexp): New command.
8298         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8300         * progmodes/prolog.el (smie): Require.
8302         * emacs-lisp/smie.el (smie-default-backward-token)
8303         (smie-default-forward-token): Strip properties.
8304         (smie-next-sexp): Be more careful with associative operators.
8305         (smie-forward-sexp-command): Generalize.
8306         (smie-backward-sexp-command): Simplify.
8307         (smie-closer-alist): New var.
8308         (smie-close-block): New command.
8309         (smie-indent-debug-log): New var.
8310         (smie-indent-offset-rule): Add a few more cases.
8311         (smie-indent-column): New function.
8312         (smie-indent-after-keyword): Use it.
8313         (smie-indent-keyword): Use it.
8314         Fix up the opener code's point position.
8315         (smie-indent-comment): Only applies at BOL.
8316         (smie-indent-debug): New command.
8318         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8319         declarations that are useful before running the macro.
8321 2010-08-18  Joakim Verona  <joakim@verona.se>
8323         * image.el (imagemagick-types-inhibit): New variable.
8324         (imagemagick-register-types): New function.
8325         * image-mode.el (image-transform-properties): New function.
8326         (image-transform-set-scale, image-transform-fit-to-height)
8327         (image-transform-set-rotation, image-transform-set-resize)
8328         (image-transform-fit-to-width, image-transform-fit-to-height):
8329         New functions.
8330         (image-toggle-display-image): Support image transforms.
8332 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
8334         * image.el (create-animated-image): Don't add heuristic mask to image
8335         (Bug#6839).
8337 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
8339         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8340         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8342 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8344         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8346         Font-lock '...' strings, plus various simplifications and fixes.
8347         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8348         (octave-font-lock-close-quotes): New function.
8349         (octave-font-lock-syntactic-keywords): New var.
8350         (octave-mode): Use it.  Set beginning-of-defun-function.
8351         (octave-mode-map): Don't override the <foo>-defun commands.
8352         (octave-mode-menu): Pass it directly to easy-menu-define;
8353         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8354         (octave-block-match-alist): Fix up last change so that
8355         octave-close-block uses the more specific keyword.
8356         (info-lookup-mode): Silence byte-compiler.
8357         (octave-beginning-of-defun): Not interactive any more.
8358         Optimize slightly.
8359         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8360         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8361         (octave-completion-at-point-function): Make sure point is within
8362         beg..end.
8363         (octave-reindent-then-newline-and-indent):
8364         Use reindent-then-newline-and-indent.
8365         (octave-add-octave-menu): Remove.
8367 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
8369         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8370         (report-emacs-bug-can-use-xdg-email): New functions.
8371         (report-emacs-bug): Set can-xdg-email to result of
8372         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
8373         \C-cm to report-emacs-bug-insert-to-mailer and add help text
8374         about it.
8376         * net/browse-url.el (browse-url-default-browser): Add cond
8377         for browse-url-xdg-open.
8378         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8380 2010-08-17  Glenn Morris  <rgm@gnu.org>
8382         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8383         (c-fontify-recorded-types-and-refs): Define for compiler.
8384         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8385         before use.
8387         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8388         Fix format call.
8390 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
8392         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8393         properties.
8394         (tramp-handle-process-file): Call the program in a subshell, in
8395         order to preserve working directory.
8396         (tramp-action-password): Hide password prompt before next run.
8397         (tramp-process-actions): Widen connection buffer for the trace.
8399 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8401         * net/rcirc.el (rcirc-log-process-buffers): New option.
8402         (rcirc-print): Use it.
8403         (rcirc-generate-log-filename): New function.
8404         (rcirc-log-filename-function): Change default to
8405         rcirc-generate-log-filename (Bug#6828).
8407 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
8409         * simple.el (deactivate-mark): If select-active-regions is `only',
8410         only set selection for temporarily active regions.
8412         * cus-start.el: Change defcustom for select-active-regions.
8414 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8416         * mouse.el (mouse--drag-set-mark-and-point): New function.
8417         (mouse-drag-track): Use LOCATION arg to push-mark.
8418         Use mouse--drag-set-mark-and-point to take click-count into
8419         consideration when updating point and mark (Bug#6840).
8421 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8423         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8424         Give the Ruby rule a lower priority than Gnu (Bug#6778).
8426 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8428         * font-lock.el (lisp-font-lock-keywords-2):
8429         Add combine-after-change-calls, condition-case-no-debug,
8430         with-demoted-errors, and with-silent-modifications (Bug#6025).
8432 2010-08-14  Kevin Ryde  <user42@zip.com.au>
8434         * emacs-lisp/copyright.el (copyright-update-year)
8435         (copyright-update): Temporary switch-to-buffer to ensure the
8436         buffer change being queried is visible (Bug#5394).
8438 2010-08-14  Tom Tromey  <tromey@redhat.com>
8440         * progmodes/etags.el (tags-file-name): Mark safe if stringp
8441         (Bug#6733).
8443 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
8445         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8446         MS-DOS.  (Bug#6689)
8448 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
8450         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8451         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8452         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8453         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8454         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8455         Call menu-bar-set-tool-bar-position.
8457 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8459         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8460         comment style (bug#6834).
8461         * progmodes/scheme.el (scheme-mode-syntax-table):
8462         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8463         "b" flag in "' 14b" syntax.
8465         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8466         for (un)commenting the region and performing completion.
8467         (octave-mode-menu): Use standard commands for help and completion.
8468         (octave-mode-syntax-table): Support %{..%} comments (sort of).
8469         (octave-mode): Use define-derived-mode.
8470         Set completion-at-point-functions and don't set columns.
8471         Don't disable adaptive-fill-regexp.
8472         (octave-describe-major-mode, octave-comment-region)
8473         (octave-uncomment-region, octave-comment-indent)
8474         (octave-indent-for-comment): Remove.
8475         (octave-indent-calculate): Rename from calculate-octave-indent.
8476         (octave-indent-line, octave-fill-paragraph): Update caller.
8477         (octave-initialize-completions): No need to make an alist.
8478         (octave-completion-at-point-function): New function.
8479         (octave-complete-symbol): Use it.
8480         (octave-insert-defun): Use define-skeleton.
8482         * progmodes/octave-mod.el (octave-mode): Set comment-add.
8483         (octave-mode-map): Use comment-dwim (bug#6829).
8485 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>
8487         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8488         indentation of inserted comment.
8490 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
8492         * faces.el (region): Add type gtk that uses gtk colors.
8494         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8495         Handle theme-name change.
8497 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
8499         * progmodes/sql.el: Version 2.5
8500         (sql-product-alist): Add :prompt-cont-regexp property for several
8501         database products.
8502         (sql-prompt-cont-regexp): New variable.
8503         (sql-output-newline-count, sql-output-by-send):
8504         New variables.  Record number of newlines in input text.
8505         (sql-send-string): Handle multiple filters and count newlines.
8506         (sql-send-magic-terminator): Count terminator newline.
8507         (sql-interactive-remove-continuation-prompt): Filters output to
8508         remove continuation prompts; one for each newline.
8509         (sql-interactive-mode): Set up new variables, prompt regexp and
8510         output filter.
8511         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8512         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8514 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8516         * emacs-lisp/pcase.el: New file.
8518 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
8520         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8521         as here-document, otherwise the command could exceed maximum
8522         length of command line.
8523         (tramp-handle-vc-registered): Call script accordingly.
8524         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8526 2010-08-10  Kenichi Handa  <handa@m17n.org>
8528         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8529         composable pattern.
8531 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
8533         * emacs-lisp/package.el (package-version-split)
8534         (package--version-first-nonzero, package-version-compare):
8535         Functions removed.
8536         (package-directory-list, package-load-all-descriptors)
8537         (package--built-in, package-activate, define-package)
8538         (package-installed-p, package-compute-transaction)
8539         (package-read-all-archive-contents)
8540         (package--add-to-archive-contents, package-buffer-info)
8541         (package-tar-file-info, package-list-packages-internal):
8542         Use version-to-list and version-list-*.
8544         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8545         Use version-to-list.
8546         (package-upload-buffer-internal): Use version-list-<=.
8548 2010-08-09  Kenichi Handa  <handa@m17n.org>
8550         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8551         composable pattern.
8553 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
8555         * tutorial.el (tutorial--default-keys): C-d is now bound to
8556         delete-forward-char (Bug#6826).
8558         * mouse.el (mouse-drag-track): Remove accidentally-removed check
8559         for `double' value of mouse-1-click-follows-link (Bug#6807).
8561 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
8563         * replace.el (replace-highlight): Bind isearch-forward and
8564         isearch-error, ensuring that highlighting is updated if the user
8565         switches the search direction (Bug#6808).
8567         * isearch.el (isearch-lazy-highlight-forward): New var.
8568         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8569         (isearch-lazy-highlight-update): Use it.
8571 2010-08-08  Kenichi Handa  <handa@m17n.org>
8573         * international/mule.el (define-charset): Store NAME as :base property.
8574         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8575         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8576         current priority.  Force using the designation of the specific
8577         charset by adding `charset' text property.  Improve the whole algorithm.
8579 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8581         * emulation/pc-select.el (pc-selection-mode-hook)
8582         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8583         (pc-selection-mode): Fix typos in docstrings.
8585 2010-08-08  Kenichi Handa  <handa@m17n.org>
8587         * language/cyrillic.el: Don't add "microsoft-cp1251" to
8588         ctext-non-standard-encodings-alist here.
8590         * international/mule.el (ctext-non-standard-encodings-alist):
8591         Add "koi8-r" and "microsoft-cp1251".
8592         (ctext-standard-encodings): New variable.
8593         (ctext-non-standard-encodings-table): List only elements for
8594         non-standard encodings.
8595         (ctext-pre-write-conversion): Adjust for the above change.
8596         Check ctext-standard-encodings.
8598         * international/mule-conf.el (compound-text): Doc fix.
8599         (ctext-no-compositions): Doc fix.
8600         (compound-text-with-extensions): Doc fix.
8602 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8604         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8606 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8608         * progmodes/which-func.el (which-func-format): Split help-echo text
8609         into lines, like other mode-line tooltips.
8611         * server.el (server-start): When using TCP sockets, force IPv4
8612         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
8614 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8616         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8618 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8620         * term.el (term-delimiter-argument-list): Reflow docstring.
8621         (term-read-input-ring, term-write-input-ring, term-send-input)
8622         (term-bol, term-erase-in-display, serial-supported-or-barf):
8623         Fix typos in docstrings.
8625 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8627         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8629 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8631         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8633 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
8635         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8636         Fix typo in docstring (bug#6747).
8638 2010-08-08  Leo  <sdl.web@gmail.com>
8640         * eshell/esh-io.el (eshell-get-target): Better detection of
8641         read-only file (Bug#6762).
8643 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8645         * align.el (align-default-spacing): Doc fix.
8646         (align-region-heuristic, align-regexp): Fix typos in docstrings.
8648 2010-08-08  Stephen Peters  <speters@itasoftware.com>
8650         * calendar/icalendar.el
8651         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
8652         (icalendar--get-weekday-numbers): New.
8653         (icalendar--convert-recurring-to-diary): Handle multiple byday
8654         values in weekly rules.  (Bug#6766)
8656 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
8658         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8659         (icalendar--create-uid, icalendar-export-region)
8660         (icalendar--parse-summary-and-rest): Code formatting.
8662 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
8664         * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8665         to italicize headers.
8666         (calc-highlight-selections-with-faces): New variable.
8667         (calc-selected-face, calc-nonselected-face): New faces.
8669         * calc/calccomp.el (math-comp-highlight-string): Use
8670         `calc-highlight-selections-with-faces' to determine how to highlight
8671         sub-formulas.
8673         * calc/calc-sel.el (calc-show-selections): Change message to when
8674         using faces to highlight selections.
8676 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
8678         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8679         Add SQLite 3 keywords, functions and datatypes.
8680         (sql-interactive-mode): Remove `comint-process-echoes' set to t
8681         (Bug#6686).
8683 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
8685         * simple.el (select-active-regions): Move to keyboard.c.
8686         (deactivate-mark): Used saved-region-selection.
8687         (select-active-region): Function removed.
8688         (activate-mark, set-mark, push-mark-command)
8689         (handle-shift-selection): Don't call it.
8690         (keyboard-quit): Avoid adding the region to the window selection.
8692         * mouse.el (mouse-drag-track): Remove hacks to deal with old
8693         select-active-regions implementation.
8694         (mouse-yank-at-click): Doc fix.
8696         * cus-start.el: Add custom declaration for select-active-regions.
8698 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
8700         * simple.el (delete-forward-char): Doc fix.
8702         * tutorial.el (help-with-tutorial): Hack safe file-local variables
8703         after reading the tutorial.
8705 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
8707         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8708         Fix for the case that a C style comment has its delimiters alone on
8709         their respective lines.  (Bug#193)
8711 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
8713         * net/tramp.el (tramp-handle-start-file-process): Set connection
8714         property "vec".
8715         (tramp-process-sentinel): Use it for flushing the cache.
8716         We cannot do it via the process buffer, the buffer could be deleted
8717         already when running the sentinel.
8719 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
8721         * comint.el (comint-mode): Make directory tracking functions
8722         functional on remote files.  (Bug#6764)
8724 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
8726         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8728 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
8730         * emacs-lisp/find-gc.el (find-gc-source-files):
8731         Rename unexec.c => unexcoff.c.
8733         * emacs-lisp/authors.el (authors-fixed-entries):
8734         Rename unexec.c => unexcoff.c.
8736 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
8738         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8739         cache, not only file cache.
8740         (tramp-process-sentinel): New defun.
8741         (tramp-handle-start-file-process): Use it, in order to invalidate
8742         file caches.
8744 2010-08-03  Leo  <sdl.web@gmail.com>
8746         * server.el (server-start): Simplify loop.
8748 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8750         * frame.el (screen-height, screen-width, set-screen-width)
8751         (set-screen-height): Remove ancient compatibility aliases.
8753         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8754         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
8756         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8757         that change current buffer.
8759 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8761         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8762         beginning of the string.  Use `string-match-p'.  (Bug#6765)
8764 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
8766         * cus-start.el (x-gtk-use-system-tooltips): New variable.
8768 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
8770         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8771         (package--builtins): Tweak descriptions.
8772         (package-print-package): Upcase descriptions if necessary.
8773         Show all built-in packages in font-lock-builtin-face.
8774         (package-list-packages-internal): Omit "emacs" package.
8775         Show status of built-in packages as "built-in".
8777 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
8779         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
8780         before killing to preserve the primary selection (Bug#6701).
8782         * term/x-win.el (x-select-text): Doc fix.
8784 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
8786         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8787         (objc-font-lock-extra-types):
8788         * progmodes/cc-mode.el (c-basic-common-init):
8789         * progmodes/cc-langs.el (c-make-mode-syntax-table)
8790         (c++-make-template-syntax-table)
8791         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8792         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8793         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8794         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8795         * progmodes/cc-fonts.el (c-make-inverse-face)
8796         (c-basic-matchers-after):
8797         * progmodes/cc-engine.el (c-forward-keyword-clause)
8798         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8799         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8800         (c-guess-continued-construct, c-guess-basic-syntax):
8801         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8802         The above functions were modified or created.
8804 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
8806         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8808 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
8810         * files.el (bidi-paragraph-direction): Define safe local values.
8812         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8813         language-info-alist.  Remove outdated FIXME in a comment.
8815 2010-07-31  Alan Mackenzie  <acm@muc.de>
8817         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8818         Auto-fill broken in C/C++ modes.
8820 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
8822         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8823         (menu-bar-showhide-tool-bar-menu-customize-disable)
8824         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8825         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8826         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8827         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8828         make a menu for Options => toolbar that can move it.
8830 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
8832         * emacs-lisp/package-x.el (package--make-rss-entry):
8833         (package-maint-add-news-item, package--update-news)
8834         (package-upload-buffer-internal): New arg ARCHIVE-URL.
8836         * emacs-lisp/package.el (package-archive-url): Rename from
8837         package-archive-id.
8838         (package-install): Doc fix.
8839         (package-download-single, package-download-tar, package-install)
8840         (package-menu-view-commentary): Callers changed.
8842 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
8844         * net/tramp.el (tramp-handle-start-file-process): Check only for
8845         `remote-tty' process property.
8846         (tramp-open-shell): Don't check for tty.
8847         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8848         process property.
8850         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8851         host.
8853 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
8855         * emacs-lisp/package.el (package-load-list, package-archives)
8856         (package-archive-contents, package-user-dir)
8857         (package-directory-list, package--builtins, package-alist)
8858         (package-activated-list, package-obsolete-alist): Mark as risky.
8860 2010-07-28  Phil Hagelberg  <phil@evri.com>
8862         Add support for non-default package repositories.
8863         * emacs-lisp/package.el (package-archive-base): Var deleted.
8864         (package-archives): New variable.
8865         (package-archive-contents): Doc fix.
8866         (package-load-descriptor): Do nothing if descriptor file is missing.
8867         (package--write-file-no-coding): New function.
8868         (package-unpack-single): Use it.
8869         (package-archive-id): New function.
8870         (package-download-single, package-download-tar)
8871         (package-menu-view-commentary): Use it.
8872         (package-installed-p): Make second argument optional.
8873         (package-read-all-archive-contents): New function.
8874         (package-initialize): Use it.
8875         (package-read-archive-contents): Add ARCHIVE argument.
8876         (package--add-to-archive-contents): New function.
8877         (package-install): Don't call package-read-archive-contents.
8878         (package--download-one-archive): Store archive file in a
8879         subdirectory of package-user-dir.
8880         (package-menu-execute): Remove spurious line movement.
8882 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
8884         * cus-start.el (tool-bar-style): Add text-image-horiz.
8886 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8888         * progmodes/gud.el (gud-common-init): Check for remoteness of
8889         `file', and not of `default-directory'.
8891 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8893         * net/tramp.el (tramp-methods): Move hostname to the end in all
8894         ssh `tramp-login-args'.
8895         (tramp-verbose): Describe verbose level 9.
8896         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8897         (tramp-open-connection-setup-interactive-shell): Trace stty
8898         settings if `tramp-verbose' >= 9.
8899         (tramp-handle-start-file-process): Implement tty setting.
8900         (Bug#4604, Bug#6360)
8902         * net/tramp-cmds.el (tramp-bug): Recommend setting of
8903         `tramp-verbose' to 9.
8905 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
8907         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8908         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8909         Remove references to package `lisp-re' (bug#4369).
8911 2010-07-27  Tom Tromey  <tromey@redhat.com>
8913         * progmodes/js.el (js-mode):
8914         * progmodes/make-mode.el (makefile-mode):
8915         * progmodes/simula.el (simula-mode):
8916         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8918 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
8920         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8922         * time.el (display-time-day-and-date): Remove spurious * in docstring.
8923         (display-time-world-buffer-name, display-time-world-mode-map):
8924         Fix typos in docstrings.
8926 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
8928         * image-mode.el (image-display-size): New function.
8929         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8930         (image-mode-fit-frame): Use it (Bug#6639).
8932 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
8934         * dired.el (dired-buffers-for-dir): Handle list values of
8935         dired-directory (Bug#6636).
8937 2010-07-26  Sam Steingold  <sds@gnu.org>
8939         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8940         Do not call `x-get-selection' the second time, reuse the value.
8942 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
8944         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8945         which consist of control chars only.  Suggested by Richard Stallman.
8947 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
8949         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8950         exists before passing an error to find-file-not-found-functions
8951         (bug#6723).
8953 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
8955         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8956         Remove leading nil element, adjust values.
8957         (tetris-shapes, tetris-shape-scores):
8958         Change representation of shapes and remove some redundancy.
8959         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8960         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8961         Adjust for working with new representation of shapes.
8962         (tetris-shape-rotations): New function.
8963         (tetris-move-bottom, tetris-move-left, tetris-move-right)
8964         (tetris-rotate-prev, tetris-rotate-next):
8965         Adjust for working with the new version of tetris-test-shape.
8967 2010-07-23  Markus Triska  <markus.triska@gmx.at>
8969         * progmodes/ps-mode.el: Use comint (bug#5954).
8970         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8971         (ps-mode-other-newline): Simplify.
8972         (ps-run-mode): Derive from comint-mode instead of
8973         fundamental-mode, yielding input history etc.
8974         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8975         (ps-run-send-string): Adapt for comint-mode.
8976         (ps-run-newline): Remove now unneeded function.
8978 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8980         * net/tramp.el (tramp-methods): Move hostname to the end in all
8981         plink `tramp-login-args'.
8983 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8985         * net/tramp.el (tramp-open-shell): New defun.
8986         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8987         Use it.
8989 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8991         * net/tramp.el (tramp-file-name-regexp-unified)
8992         (tramp-completion-file-name-regexp-unified): On W32 systems, do
8993         not regard the volume letter as remote filename.  (Bug#5447)
8995 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
8997         * custom.el (custom-declare-variable): Give a clearer error message
8998         when the docstring is missing (bug#6476).
9000 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
9002         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
9003         (sql-login-params): New widget definition.
9004         (sql-oracle-login-params, sql-mysql-login-params)
9005         (sql-solid-login-params, sql-sybase-login-params)
9006         (sql-informix-login-params, sql-ingres-login-params)
9007         (sql-ms-login-params, sql-postgres-login-params)
9008         (sql-interbase-login-params, sql-db2-login-params)
9009         (sql-linter-login-params): Use it.
9010         (sql-sqlite-login-params): Use it; Define "database" parameter as
9011         a file name.
9012         (sql-sqlite-program): Change to "sqlite3".
9013         (sql-comint-sqlite): Make sure database name is complete.
9014         (sql-for-each-login): New function.
9015         (sql-connect, sql-save-connection): Use it.
9016         (sql-get-login-ext): New function.
9017         (sql-get-login): Use it.
9018         (sql-make-alternate-buffer-name): Handle :file parameters.
9020 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
9022         * dired.el (dired-no-confirm): Document value t and fix defcustom to
9023         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
9025 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
9027         * dired.el (dired-mode-map): Use command remapping (bug#6632).
9029 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
9031         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9033 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
9035         * net/tramp.el (tramp-get-ls-command)
9036         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9037         instead of "/".
9039 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
9041         * progmodes/sql.el: Version 2.3.
9042         (sql-connection-alist): Change keys from symbols to strings;
9043         enhanced the widget definition.
9044         (sql-mode-menu): Add submenu to select connections.
9045         (sql-interactive-mode-menu): Add "Save Connection" item.
9046         (sql-add-product): Fix menu item.
9047         (sql-get-product-feature): Improved error handling.
9048         (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9049         (sql-make-alternate-buffer-name): Simplified.
9050         (sql-product-interactive): Handle missing product.
9051         (sql-connect): Support string keys, minor improvements.
9052         (sql-save-connection): New function.
9053         (sql-connection-menu-filter): New function.
9055 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
9057         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9058         (tramp-open-connection-setup-interactive-shell):
9059         Apply workaround for IRIX64 bug.  Move argument of last
9060         `tramp-send-command' where it belongs to.
9062 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
9064         * net/tramp.el (tramp-perl-file-attributes)
9065         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9066         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9067         front of `login-args'.
9069 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
9071         * time.el (display-time-world-mode): Define with `define-derived-mode'.
9072         Set `show-trailing-whitespace' to nil.
9073         (display-time-world-display): Simplify.
9075 2010-07-18  Alan Mackenzie  <acm@muc.de>
9077         Enhance `c-file-style' in file/directory local variables.
9078         * progmodes/cc-mode.el (c-count-cfss): New function.
9079         (c-before-hack-hook): Call `c-set-style' differently according to
9080         whether c-file-style was set in file or directory local
9081         variables.
9083 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
9085         * progmodes/sql.el: Version 2.2.
9086         (sql-product, sql-user, sql-database, sql-server, sql-port):
9087         Use defcustom :safe keyword rather than putting safe-local-variable
9088         property.
9089         (sql-password): Use defcustom :risky keyword rather than putting
9090         risky-local-variable property.
9091         (sql-oracle-login-params, sql-sqlite-login-params)
9092         (sql-solid-login-params, sql-sybase-login-params)
9093         (sql-informix-login-params, sql-ingres-login-params)
9094         (sql-ms-login-params, sql-postgres-login-params)
9095         (sql-interbase-login-params, sql-db2-login-params)
9096         (sql-linter-login-params): Add `port' option.
9097         (sql-get-product-feature): Add NO-INDIRECT parameter.
9098         (sql-comint-oracle, sql-comint-sybase)
9099         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9100         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9101         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9102         (sql-comint-linter): Rename sql-connect-* functions to
9103         sql-comint-*.
9104         (sql-product-alist, sql-mode-menu): Rename as above and
9105         :sqli-connect-func to :sqli-comint-func.
9106         (sql-connection): New variable.
9107         (sql-interactive-mode): Set it.
9108         (sql-connection-alist): New variable.
9109         (sql-connect): New function.
9110         (sql--alt-buffer-part, sql--alt-if-not-empty)
9111         (sql-make-alternate-buffer-name): Improved alternative buffer name.
9113 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9115         * image-mode.el (image-bookmark-make-record): Do not set context
9116         in an image (Bug#6650).
9118 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
9120         * simple.el (select-active-region): New function.
9121         (push-mark-command, set-mark, activate-mark)
9122         (handle-shift-selection): Use it.
9123         (deactivate-mark): Don't check for size of region.
9125         * mouse.el (mouse-drag-track): Use select-active-region.
9127 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
9129         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9130         "--dired" stronger.
9132 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
9134         * term/x-win.el (x-select-enable-primary): Change default to nil.
9135         (x-select-enable-clipboard): Add :version keyword.
9137         * mouse.el (mouse-drag-copy-region):
9138         * simple.el (select-active-regions): Likewise.
9140 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
9142         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9143         (vc-coding-system-for-diff): Use it to decide whether to inherit
9144         from the file the EOL format for reading the diffs of that file.
9145         (Bug#4451)
9147 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
9149         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9150         unibyte, so compressed attachments are not compressed again.
9152 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
9154         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9155         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9156         (tramp-find-shell): Simplify setting connection property.
9157         (tramp-get-ls-command): Make test for "--color=never" stronger.
9159 2010-07-15  Simon South  <ssouth@member.fsf.org>
9161         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9162         blocks within record declarations (i.e. variant parts) correctly.
9164 2010-07-15  Simon South  <ssouth@member.fsf.org>
9166         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9167         over literal tokens when parsing so newlines aren't "absorbed" by
9168         single-line comments.  Corrects the indentation of case blocks
9169         that have a comment on the first line.
9171 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
9173         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9174         by Drew Adams (Bug#5504).
9176 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
9178         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9179         now that Unicode is used (Bug#6594).
9181 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
9183         * term/x-win.el (x-select-enable-clipboard): Default to t.
9184         (x-initialize-window-system): Don't overwrite Paste menu item.
9186         * simple.el (select-active-regions): Default to t.
9187         (push-mark-command): Don't overwrite primary with empty string.
9189         * mouse.el: Bind mouse-2 to mouse-yank-primary.
9190         (mouse-drag-copy-region): Default to nil.
9192         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9193         Cut/Copy/Paste menu bar items.
9195 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9197         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9198         Patch applied by Karl Fogel.
9200         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9201         and `bookmark-current-buffer' if they have been already set in
9202         another buffer (e.g gnus-art).
9204 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9205             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9207         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9209         * bookmark.el (bookmark-make-record-default): Allow unneeded
9210         information to be omitted from the record.
9212         Adjust declarations and calls:
9214         * info.el (bookmark-make-record-default): Adjust declaration.
9215         (Info-bookmark-make-record): Adjust call.
9217         * woman.el (bookmark-make-record-default): Adjust declaration.
9218         (woman-bookmark-make-record): Adjust call.
9220         * man.el (bookmark-make-record-default): Adjust declaration.
9221         (Man-bookmark-make-record): Adjust call.
9223         * image-mode.el (bookmark-make-record-default): Adjust declaration.
9225         * doc-view.el (bookmark-make-record-default): Adjust declaration.
9227 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9229         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9230         This is also from Thierry Volpiatto's patch in bug #6444.  However,
9231         because it was extraneous to the functional change in that patch,
9232         and causes a re-indendation, I am committing it separately.
9234 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9236         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9237         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9238         Patch applied by Karl Fogel (Bug#6444).
9240 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
9242         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9244 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
9246         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9247         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
9248         (ns-alternatives-map): Change S-tab binding to backtab
9249         (bug#6616).
9251         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9252         under ns.
9254 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
9256         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9257         (Bug#5806)
9259         * language/tv-util.el (tai-viet-re): Remove format.
9261 2010-07-12  Kenichi Handa  <handa@m17n.org>
9263         * language/hebrew.el: Remove no-byte-compile declaration.
9264         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
9265         composition-function-table for 3-character looking back.
9266         (hebrew-font-get-precomposed): New function.
9267         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9269 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
9271         * mouse.el (mouse-drag-track): Handle select-active-regions
9272         (Bug#6612).
9274 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
9276         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9277         empty argument to gvfs-copy.
9279 2010-07-10  Glenn Morris  <rgm@gnu.org>
9281         * calendar/calendar.el (calendar-week-end-day): New function.
9282         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9283         Respect calendar-week-start-day.  (Bug#6606)
9284         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9285         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9286         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9287         respect calendar-week-start-day.
9289 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
9291         * simple.el (use-region-p): Doc fix (Bug#6607).
9293 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
9295         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9296         Add regexps for cucumber and ruby.
9298 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
9300         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9301         (epa-file-insert-file-contents): Hack to prevent
9302         find-file from opening empty buffer when decryption failed
9303         (bug#6568).
9305 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
9307         * textmodes/ispell.el (ispell-alternate-dictionary):
9308         Use file-readable-p.
9309         Return nil if no word-list is found at default locations.
9310         (ispell-complete-word-dict): Default to nil.
9311         (ispell-command-loop): Use 'word-list' when using lookup-words.
9312         (lookup-words): Use ispell-complete-word-dict or
9313         ispell-alternate-dictionary.  Check for word-list availability
9314         and handle errors if needed with better messages (Bug#6539).
9315         (ispell-complete-word): Use ispell-complete-word-dict or
9316         ispell-alternate-dictionary.
9318 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
9320         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9321         builtins (BufferError, BytesWarning, WindowsError; callables
9322         bin, bytearray, bytes, format, memoryview, next, print; __package__).
9324 2010-07-07  Glenn Morris  <rgm@gnu.org>
9326         * play/zone.el (top-level): Do not require timer, tabify, or cl.
9327         (zone-shift-left): Ignore intangibility, and any errors from
9328         forward-char.
9329         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
9330         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9331         deleting, and copying text properties.
9332         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9333         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9334         to point-max is hard.
9335         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9336         (zone-fill-out-screen): Ignore intangibility.
9338 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
9340         * menu-bar.el (menu-bar-mode):
9341         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9342         if it has been set.
9344         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9345         word/line selection (Bug#6565).
9347 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
9349         * net/dbus.el (dbus-send-signal): Declare function.
9351 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
9353         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9354         (dbus-register-property): New optional argument EMITS-SIGNAL.
9355         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9357 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
9359         * mouse.el (mouse-drag-overlay): Variable deleted.
9360         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9361         (mouse--remap-link-click-p): New function.
9362         (mouse-drag-track): Handle dragging by using temporary Transient
9363         Mark mode, instead of a special overlay.
9364         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9365         mouse-show-mark.
9367         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9368         deleted.
9370 2010-07-02  Juri Linkov  <juri@jurta.org>
9372         * autoinsert.el (auto-insert-alist): Fix readability
9373         by using dotted pair notation for lambda.
9375 2010-07-02  Juri Linkov  <juri@jurta.org>
9377         * faces.el (read-face-name): Rename arg `string-describing-default'
9378         to `default'.  Doc fix.  Display the default value in quotes
9379         in the prompt.  With empty input, return the `default' arg,
9380         unless the default value is a string (in which case return nil).
9381         (describe-face): Replace the string `default' arg of `read-face-name'
9382         with the symbol `default'.
9384 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
9386         * emulation/viper-cmd.el (viper-delete-backward-char)
9387         (viper-del-backward-char-in-insert)
9388         (viper-del-backward-char-in-replace, viper-change)
9389         (viper-backward-indent): Replace delete-backward-char with
9390         delete-char (Bug#6552).
9392 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
9394         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9396 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9398         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9399         argument passed to frame-creation-function (Bug#5378).
9401         * faces.el (x-handle-named-frame-geometry)
9402         (x-handle-reverse-video, x-create-frame-with-faces)
9403         (face-set-after-frame-default, tty-create-frame-with-faces):
9404         Don't separately consult default-frame-alist.  It is now passed as the
9405         PARAMETER argument.
9407 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
9409         * startup.el (command-line): Don't call tool-bar-setup in a
9410         tty-only build.
9412 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9414         * ruler-mode.el (ruler--save-header-line-format): New fun.
9415         (ruler-mode): Use it as a setter function, so as not to overwrite
9416         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9418 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
9420         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
9421         (vc-root-diff, vc-print-root-log, vc-log-incoming)
9422         (vc-log-outgoing): Use it.
9423         (vc-diff-internal): Set diff-vc-backend.
9425         * vc/diff-mode.el (diff-vc-backend): New var.
9427 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
9429         * dynamic-setting.el (font-setting-change-default-font):
9430         Remove call to message.
9432 2010-06-28  Kenichi Handa  <handa@m17n.org>
9434         * international/quail.el (quail-insert-kbd-layout): Fix the
9435         showing of untranslated characters.
9437 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
9439         * simple.el (delete-active-region): New option.
9440         (delete-backward-char): Implement in Lisp.
9441         (delete-forward-char): New command.
9443         * mouse.el (mouse-region-delete-keys): Delete.
9444         (mouse-show-mark): Simplify.
9446         * bindings.el (global-map): Bind delete and DEL, the former to
9447         delete-forward-char.
9449 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
9451         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9452         (ruby-mode): Bind indent-line-function (Bug#5119).
9454 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9456         * startup.el (command-line): Recognize "0" X resource value.
9458 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
9460         * startup.el (command-line): Use X resources to set the value of
9461         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9463         * menu-bar.el (menu-bar-mode):
9464         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9465         Set init-value to t.
9467         * frame.el (frame-notice-user-settings): Don't change
9468         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9469         vice versa (Bug#2249).
9471 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
9473         * w32-fns.el (w32-convert-standard-filename): Doc fix.
9475 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
9477         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9478         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9480         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9481         default directories are expanded (Bug#6143).
9483 2010-06-24  Juri Linkov  <juri@jurta.org>
9485         * minibuffer.el (completions-format): Change default from nil to
9486         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
9488 2010-06-24  Juri Linkov  <juri@jurta.org>
9490         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9491         buffer-locally to lambda that re-runs the vc diff command.
9492         (Bug#6447)
9494 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
9496         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9497         echo area is in use (Bug#3412).
9499 2010-06-22  Glenn Morris  <rgm@gnu.org>
9501         * textmodes/texinfmt.el (texinfo-format-region)
9502         (texinfo-raise-lower-sections, texinfo-format-separate-node)
9503         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9504         (texinfo-format-option, texinfo-noindent):
9505         Use line-beginning-position and line-end-position.
9507         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9508         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9509         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9510         utf-8 characters.
9512 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
9514         * play/zone.el (zone-fall-through-ws): Fix next-line ->
9515         forward-line fallout.
9517 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
9519         * mouse.el (mouse-appearance-menu): Add docstring.
9521         * help.el (describe-key): Print up-event using key-description.
9523 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
9525         * net/zeroconf.el (zeroconf-resolve-service)
9526         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9527         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9529 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
9531         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9533 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
9535         Avoid displaying files with a nil state in vc-dir.
9536         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9537         cases that cause insertion.
9538         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9539         with a nil state.
9541 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9543         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9545 2010-06-29  Leo  <sdl.web@gmail.com>
9547         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
9549 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9551         * generic-x.el (bat-generic-mode): Fix regexp for command line
9552         switches (Bug#5719).
9554 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
9556         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9557         of nconc to avoid pure storage error (Bug#6239).
9559 2010-06-27  Christoph Scholtes  <cschol2112@googlemail.com>
9561         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9562         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9563         bindings of bookmark-automatically-show-annotations (Bug#6515).
9565 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
9567         * arc-mode.el (archive-zip-extract): Don't quote the file name on
9568         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
9570 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9572         * comint.el (make-comint, make-comint-in-buffer): Mention return
9573         value in the docstrings.  (Bug#6498)
9575 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
9577         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9578         since it is not present when using some non-default switches.
9580 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
9582         * simple.el (compose-mail): Fix doc string to refer to
9583         `compose-mail-user-agent-warnings', instead of to the
9584         nonexistent `compose-mail-check-user-agent'.
9586 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
9588         Fix an indentation bug:
9590         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9591         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9592         of existing values.
9594         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9595         (c-clear->-pair-props-if-match-before): now return t when they've
9596         cleared properties, nil otherwise.
9597         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9598         by taking account of the existing value.
9600         * progmodes/cc-defs.el
9601         (c-clear-char-property-with-value-function): Fix this to clear the
9602         property rather than overwriting it with nil.
9604 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
9606         * emacs-lisp/package.el (package-print-package): Add link to
9607         package description via describe-package.
9608         (describe-package-1): List package requirements.  Add button to
9609         perform installation.
9610         (package-menu-describe-package): New command.
9612         * help-mode.el (help-package): New button type.
9614 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
9616         * emacs-lisp/package.el: Move package-list-packages binding to
9617         menu-bar.el.
9618         (describe-package, describe-package-1, package--dir): New funs.
9619         (package-activate-1): Use package--dir.
9621         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9623         * help-mode.el (help-package-def): New button type.
9625         * menu-bar.el: Move package-list-packages binding here from
9626         package.el.
9628 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
9630         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
9632 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9634         * emacs-lisp/edebug.el (edebug-read-list):
9635         Phase out old-style backquotes.
9637 2010-06-17  Juri Linkov  <juri@jurta.org>
9639         * help-mode.el (help-mode): Set buffer-local variable
9640         revert-buffer-function to help-mode-revert-buffer.
9641         (help-mode-revert-buffer): New function.
9643         * info.el (Info-revert-find-node): Check for major-mode Info-mode
9644         before popping to "*info*" (like in other Info functions).
9645         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
9646         old-history-forward.  Pop to old-buffer-name or "*info*" to
9647         recreate the killed buffer.  Set Info-history-forward from
9648         old-history-forward.
9649         (Info-breadcrumbs-depth): Add :group and :version.
9651 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
9653         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9655 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
9657         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9658         for languages like Portuguese with pt_{BR,PT} and no plain pt.
9660 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
9662         * emacs-lisp/package.el (package-menu-mode-map):
9663         Move initialization into declaration.
9665         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9667 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
9669         * emacs-lisp/package.el (package-archive-base): Point to
9670         elpa.gnu.org.
9671         (package-enable, package-load-list): New defcustoms.
9672         (package-user-dir, package-directory-list): Turn into defcustoms.
9673         Don't include package-user-dir in package-directory-list.
9674         (package--builtins-base): Don't include Emacs as a "package".
9675         (package-subdirectory-regexp): New var.
9676         (package-load-all-descriptors, package-compute-transaction)
9677         (package-download-transaction): Obey package-load-list.
9678         (package-activate-1): Rename from package-do-activate.
9679         (package-list-packages-internal): Check package-load-list.
9680         (package-load-descriptor, package-generate-autoloads)
9681         (package-unpack, package-unpack-single)
9682         (package--read-archive-file, package-delete):
9683         Use expand-file-name.
9685         * emacs-lisp/package-x.el: New file.  Package uploading
9686         functionality split out from package.el.
9688         * startup.el (command-line): Load packages after reading init file.
9690 2010-06-17  Tom Tromey  <tromey@redhat.com>
9692         * emacs-lisp/package.el: New file.
9694 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9696         Fix vc-annotate for renamed files when using Git.
9697         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9698         ls-files.  Doe not pass the object as a file name to cat-file, it
9699         is not a file name.
9700         (vc-git-annotate-command): Pass the file name using -- to avoid
9701         ambiguity with the revision.
9702         (vc-git-previous-revision): Pass a relative file name.
9704 2010-06-22  Glenn Morris  <rgm@gnu.org>
9706         * progmodes/js.el (js-mode-map): Use standard capitalization and
9707         ellipses for menu entries.
9709         * wid-edit.el (widget-complete): Doc fix.
9711 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
9713         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9715 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9717         Fix annotating other revisions for renamed files in vc-annotate.
9718         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9719         VC backend.  Use it when non-nil.
9720         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9721         (Bug#6487).
9723         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9724         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9725         Do not pass the file name to the 'previous-revision call when we
9726         don't want a file diff.  (Bug#6489)
9728 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9730         Fix finding revisions for renamed files in vc-annotate.
9731         * vc/vc.el (vc-find-revision): Add an optional argument for
9732         the VC backend.  Use it when non-nil.
9733         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9734         backend to vc-find-revision.  (Bug#6487)
9736 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9738         Fix reading file names in Git annotate buffers.
9739         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9740         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
9742 2010-06-20  Alan Mackenzie  <acm@muc.de>
9744         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9745         in file local variables, set it first.
9747 2010-06-19  Glenn Morris  <rgm@gnu.org>
9749         * descr-text.el (describe-char-unicode-data): Insert separating
9750         space when needed.  (Bug#6422)
9752         * progmodes/idlwave.el (idlwave-action-and-binding):
9753         Fix typo in 2009-12-03 change.  (Bug#6450)
9755 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9757         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9758         handling for `lambda' (misunderstanding).
9760 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
9762         * calc/calc-poly.el (math-accum-factors): Make sure that
9763         constants aren't distributed after they are factored out.
9765 2010-06-16  Juri Linkov  <juri@jurta.org>
9767         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9768         `list-colors-print'.  (Bug#6332)
9770         * subr.el (read-quoted-char): Fix up last change (bug#6290).
9772 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9774         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9775         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
9777         * font-lock.el (font-lock-major-mode): Rename from
9778         font-lock-mode-major-mode to distinguish it from
9779         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9780         (font-lock-set-defaults):
9781         * font-core.el (font-lock-default-function): Adjust users.
9782         (font-lock-mode): Don't set it at all.
9784 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9786         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9788 2010-06-16  Glenn Morris  <rgm@gnu.org>
9790         * calendar/appt.el (appt-time-msg-list): Doc fix.
9791         (appt-check): Let-bind appt-warn-time.
9792         (appt-add): Make the 3rd argument optional.
9793         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
9794         Only add WARNTIME to the output list if non-nil.
9796 2010-06-16  Ivan Kanis  <apple@kanis.eu>
9798         * calendar/appt.el (appt-check): Let the 3rd element of
9799         appt-time-msg-list specify the warning time.
9800         (appt-add): Add new argument with the warning time.  (Bug#5176)
9802 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9804         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9805         older than version 1.6.  (Bug#6361)
9807 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
9809         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9810         used by cl-do-arglist.  (Bug#6408)
9812 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
9814         * textmodes/ispell.el (ispell-dictionary-base-alist):
9815         Fix portuguese casechars/not-casechars for missing 'çÇ'.
9816         Suggested by Rolando Pereira (bug#6434).
9818 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
9820         * facemenu.el (list-colors-sort): Doc fix.
9822 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9824         * progmodes/sql.el (sql-connect-mysql): Fix typo.
9826 2010-06-14  Juri Linkov  <juri@jurta.org>
9828         Add sort option `list-colors-sort'.  (Bug#6332)
9829         * facemenu.el (color-rgb-to-hsv): New function.
9830         (list-colors-sort): New defcustom.
9831         (list-colors-sort-key): New function.
9832         (list-colors-display): Doc fix.  Sort list according to the option
9833         `list-colors-sort'.
9834         (list-colors-print): Add HSV values to `help-echo' property of
9835         RGB strings.
9837 2010-06-14  Juri Linkov  <juri@jurta.org>
9839         * compare-w.el: Move to the "vc" subdirectory.
9841 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9843         * image-mode.el (image-mode-map): Remap left-char and right-char.
9845         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9847 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
9849         * term/common-win.el (x-colors): Add all the color names defined
9850         in rgb.txt (Bug#6332).
9852         * facemenu.el (list-colors-print): Don't print extra names if it
9853         will overflow the window width.
9855         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9856         change (Bug#6343).
9858 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
9860         * files.el (make-directory): Doc fix (bug#6396).
9862 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
9864         * net/tramp.el (tramp-remote-process-environment): Protect version
9865         string by apostroph.
9866         (tramp-shell-prompt-pattern): Do not use a shy group in case of
9867         XEmacs.
9868         (tramp-file-name-for-operation): Add `call-process-region'.
9869         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9871         * net/tramp-compat.el (top): Do not autoload
9872         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
9873         only when `start-file-process' is not bound.
9874         (tramp-advice-file-expand-wildcards): Do not use
9875         `tramp-handle-file-remote-p'.
9876         (tramp-compat-make-temp-file): Handle the case, that
9877         `make-temp-file' has no third argument EXTENSION.
9879 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
9881         * makefile.w32-in (WINS_BASIC): Include new directory vc.
9883         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9885 2010-06-11  Juri Linkov  <juri@jurta.org>
9887         * finder.el (finder-known-keywords): Add keyword "vc"
9888         for version control.
9890         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9891         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9892         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9893         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9895 2010-06-11  Juri Linkov  <juri@jurta.org>
9897         Move version control related files to the "vc" subdirectory.
9898         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9899         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9900         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9901         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9902         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9903         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9904         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9905         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9906         Move files to the "vc" subdirectory.
9908 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
9910         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9911         (Bug#6367).
9913 2010-06-11  Stephen Eglen  <stephen@gnu.org>
9915         * shell.el: Bind `shell-resync-dirs' to M-RET.
9917 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
9919         * notifications.el: Move file from lisp/net, because it is
9920         supposed to talk locally to the user.
9922 2010-06-10  Julien Danjou  <julien@danjou.info>
9924         * net/notifications.el (notifications-on-action-signal)
9925         (notifications-on-closed-signal): Pass notification id as first
9926         argument to the callback functions.  Add docstrings.
9927         (notifications-notify): Fix docstring.
9929 2010-06-10  Glenn Morris  <rgm@gnu.org>
9931         * emacs-lisp/authors.el (authors-ignored-files)
9932         (authors-valid-file-names): Add some files.
9934 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9936         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9937         merge conflict, giving preference to the emacs-23 version of the code.
9939 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9941         * emacs-lisp/advice.el (ad-compile-function):
9942         Define warning-suppress-types before we let-bind it (bug#6275).
9944         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9945         declare it, make it buffer-local and permanent-local (bug#6324).
9946         (vc-resynch-window): Adjust name.
9947         * vc-hooks.el (vc-find-file-hook): Adjust name.
9949 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
9951         * net/notifications.el (notifications-notify): Fix docstring.
9953 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9955         Update to Unicode 6.0.0 beta.
9956         * international/charprop.el: Update copyright.
9957         * international/mule-cmds.el (ucs-names): Update character ranges.
9958         * international/uni-bidi.el:
9959         * international/uni-category.el:
9960         * international/uni-combining.el:
9961         * international/uni-comment.el:
9962         * international/uni-decimal.el:
9963         * international/uni-decomposition.el:
9964         * international/uni-digit.el:
9965         * international/uni-lowercase.el:
9966         * international/uni-mirrored.el:
9967         * international/uni-name.el:
9968         * international/uni-numeric.el:
9969         * international/uni-old-name.el:
9970         * international/uni-titlecase.el:
9971         * international/uni-uppercase.el: Regenerate.
9973 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9975         * emacs-lisp/smie.el (comment-string-strip): Declare function.
9976         (smie-precs-precedence-table): Fix typo in docstring.
9978         * vc-mtn.el (log-edit-extract-headers): Declare function.
9980         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9982         * net/notifications.el (dbus-register-signal): Declare function.
9983         (notifications-notify): Fix typos and reflow docstring.
9985 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9987         Improve VC create/retrieve tag/branch.
9988         * vc.el (vc-create-tag): Do not read the directory name for VCs
9989         with repository revision granularity.  Adjust the tag/branch
9990         prompt.  Reset VC properties.
9991         (vc-retrieve-tag): Do not read the directory name for VCs
9992         with repository revision granularity.  Reset VC properties.
9994 2010-06-09  Julien Danjou  <julien@danjou.info>
9996         * net/notifications.el: New file.
9998 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
10000         Add optional support for resetting VC properties.
10001         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10002         call vc-file-clearprops when true.
10003         (vc-resynch-buffer): Add new optional argument, pass it down.
10004         (vc-resynch-buffers-in-directory): Likewise.
10006         Improve support for special markup in the VC commit message.
10007         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10008         * vc-hg.el (vc-hg-checkin): Add support for Date:.
10009         * vc-git.el (vc-git-checkin):
10010         * vc-bzr.el (vc-bzr-checkin): Likewise.
10012 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10014         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10015         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10017 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
10019         * iimage.el: Remove images as soon as the underlying text is modified.
10020         (iimage-modification-hook): New function.
10021         (iimage-mode-buffer): Use it.
10023 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10025         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10026         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
10027         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
10028         (smie-indent-keyword): Add handling of open-paren keywords.
10029         (smie-indent-comment-continue): Don't assume comment-continue.
10031 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
10033         * window.el (pop-to-buffer): Remove the conditional that
10034         compares new-window and old-window, so it will reselect
10035         the selected window unconditionally.
10036         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10038 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10040         * emacs-lisp/smie.el (smie-indent-offset-after)
10041         (smie-indent-forward-token, smie-indent-backward-token): New functions.
10042         (smie-indent-after-keyword): Use them.
10043         (smie-indent-fixindent): Only applies to the indentation of the BOL.
10044         (smie-indent-keyword): Tweak the black magic.
10045         (smie-indent-comment-continue): Strip comment-continue before use.
10046         (smie-indent-functions): Indent comments before keywords.
10048 2010-06-06  Juri Linkov  <juri@jurta.org>
10050         * isearch.el (isearch-lazy-highlight-search): Fix looping
10051         by checking for empty match.  This syncs this loop with the
10052         similar loop in `isearch-search'.  (Bug#6362)
10054 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
10056         * net/dbus.el (dbus-register-method): Declare function.
10057         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10058         (dbus-introspect): Doc fix.
10059         (dbus-event-bus-name, dbus-introspect-get-interface)
10060         (dbus-introspect-get-argument): Reflow docstrings.
10062 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
10064         vc-log-incoming/vc-log-outgoing fixes for Git.
10065         * vc-git.el (vc-git-log-view-mode): Fix font lock for
10066         incoming/outgoing logs.
10067         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10068         instead of vc-git-compute-remote.
10069         (vc-git-compute-remote): Remove.
10071 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
10073         * term/common-win.el (x-colors): Add "dark green" and "dark
10074         turquoise" (Bug#6332).
10076 2010-06-04  Juri Linkov  <juri@jurta.org>
10078         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10079         Instead of setting `replace' to t and replacing the same string
10080         with itself, don't do certain actions when
10081         kill-do-not-save-duplicates is non-nil and string is equal to car
10082         of kill-ring: don't call menu-bar-update-yank-menu, don't push
10083         interprogram-paste strings to kill-ring, and don't push the input
10084         argument `string' to kill-ring.
10085         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10087 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
10089         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10091 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
10093         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10094         (tramp-gvfs-handler-mounted-unmounted)
10095         (tramp-gvfs-connection-mounted-p): Handle default-location.
10097         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10098         move files to trash.
10100 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
10102         * international/mule-cmds.el (nonascii-insert-offset)
10103         (nonascii-translation-table): Add obsolescence information.
10105         * international/mule.el (make-translation-table-from-vector): Doc fix.
10107 2010-06-03  Glenn Morris  <rgm@gnu.org>
10109         * desktop.el (desktop-clear-preserve-buffers):
10110         Add "*Warnings*" buffer.  (Bug#6336)
10112 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
10114         vc-log-incoming/vc-log-outgoing improvements for Git.
10115         * vc-git.el (vc-git-log-outgoing): Use the same format as the
10116         short log.
10117         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
10119         Add bindings for vc-log-incoming and vc-log-outgoing.
10120         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10121         and vc-log-outgoing.
10122         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10123         and vc-log-outgoing.
10125 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
10127         * net/rcirc.el (rcirc-sort-nicknames): Remove.
10128         (rcirc-handler-366): Always sort nicknames.
10130 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
10132         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10134 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
10136         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10138 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10140         * net/rcirc.el (rcirc-sort-nicknames): Change default.
10141         (rcirc-sort-nicknames-join): Avoid setq.
10143 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
10145         * net/rcirc.el (rcirc-sort-nicknames): New custom.
10146         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10147         (rcirc-handler-366): Use them.
10149 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10151         Split smie-indent-calculate into more manageable chunks.
10152         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10153         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10154         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10155         (smie-indent-exps): Extract from smie-indent-calculate.
10156         (smie-indent-functions): New var.
10157         (smie-indent-functions): Use them.
10159 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10161         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10162         (smie-indent-calculate): Simplify and cleanup.
10164 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
10166         * net/tramp-gvfs.el (top): Require url-util.
10167         (tramp-gvfs-mount-point): Remove.
10168         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10169         New defuns.
10170         (with-tramp-dbus-call-method): Format trace message.
10171         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10172         Implement backup call, when operation on local files fails.
10173         Use progress reporter.  Flush properties of changed files.
10174         (tramp-gvfs-handle-make-directory): Make more traces.
10175         (tramp-gvfs-url-file-name): Hexify file name in url.
10176         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10177         into account for the resulting file name.
10178         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10179         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
10180         (tramp-gvfs-handler-mounted-unmounted)
10181         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10182         attribute "default_location".  Set "prefix" property.
10183         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10184         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10185         exists.  Raise an error, if not (due to a corresponding answer
10186         "no" in interactive questions, for example).
10188 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
10190         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10192 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
10194         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10195         right-*.  (Bug#6265)
10197 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
10199         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10200         * vc-git.el (vc-git-compute-remote): New function.
10201         (vc-git-log-outgoing): Use it instead of hard coding a value.
10202         (vc-git-log-incoming): New function.
10204         Improve state updating for VC tag commands.
10205         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10206         to update the state of all buffers in the directory.
10208         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10210 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10212         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10213         `file-directory-p' to the filename part rather than to the whole text.
10215 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10217         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10219 2010-05-31  Drew Adams  <drew.adams@oracle.com>
10221         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10223 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
10225         * subr.el (momentary-string-display): Just use read-event to read
10226         the exit event (Bug#6238).
10228 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
10230         * international/mule.el (define-coding-system): Doc fix (bug#6313).
10232 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10234         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10235         Suggested by Eli Zaretskii <eliz@gnu.org>.
10237 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10239         * minibuffer.el (completion-file-name-table): Don't return a boundary
10240         past the end of `string' (bug#6299).
10241         (completion--file-name-table): Delegate to completion-file-name-table
10242         for the `boundaries' case.
10244 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10246         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10247         movement commands.
10249         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10250         `path-separator', but maintain compatibility with Emacs 20.2.
10252 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10254         * server.el (server-process-filter): Receive parent-id argument
10255         from emacsclient.
10256         (server-create-window-system-frame): New arg.  Pass parent-id as
10257         frame parameter.
10259 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
10261         Bidi-sensitive word movement with arrow keys.
10262         * subr.el (right-arrow-command, left-arrow-command): Move to
10263         bindings.el.
10265         * bindings.el (right-char, left-char): Move from subr.el and
10266         rename from right-arrow-command and left-arrow-command.
10267         (right-word, left-word): New functions.
10268         (global-map) <right>: Bind to right-char.
10269         (global-map) <left>: Bind to left-char.
10270         (global-map) <C-right>: Bind to right-word.
10271         (global-map) <C-left>: Bind to left-word.
10273         * ls-lisp.el (ls-lisp-classify-file): New function.
10274         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10275         (ls-lisp-classify): Call ls-lisp-classify-file.
10276         (insert-directory): Remove blanks from switches.
10278 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10280         * ansi-color.el: Delete unused escape sequences (Bug#6085).
10281         (ansi-color-drop-regexp): New constant.
10282         (ansi-color-apply, ansi-color-filter-region)
10283         (ansi-color-apply-on-region): Delete unrecognized control sequences.
10284         (ansi-color-apply): Build string list before calling concat.
10286 2010-05-28  Juri Linkov  <juri@jurta.org>
10288         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10289         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10290         (Bug#5270)
10292 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10294         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10295         to ignored backtrace functions.
10296         (with-progress-reporter): Expand docstring.
10297         (tramp-handle-delete-file): Implement TRASH argument.
10298         (tramp-get-remote-trash): New defun.
10300 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10302         * net/tramp-compat.el (tramp-compat-delete-file):
10303         Use `symbol-value' for backward compatibility.
10305         * net/tramp.el (tramp-handle-make-symbolic-link)
10306         (tramp-handle-load)
10307         (tramp-do-copy-or-rename-file-via-buffer)
10308         (tramp-do-copy-or-rename-file-directly)
10309         (tramp-do-copy-or-rename-file-out-of-band)
10310         (tramp-handle-process-file, tramp-handle-call-process-region)
10311         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10312         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10313         (tramp-delete-temp-file-function): Use `delete-file' instead
10314         of `tramp-compat-delete-file'.
10316         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10317         (tramp-fish-handle-make-symbolic-link)
10318         (tramp-fish-handle-process-file): Use `delete-file' instead
10319         of `tramp-compat-delete-file'.
10321         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10322         Use `delete-file' instead of `tramp-compat-delete-file'.
10324         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10325         `delete-file' instead of `tramp-compat-delete-file'.
10327         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10328         Use `delete-file' instead of `tramp-compat-delete-file'.
10330         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10331         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10332         (tramp-smb-handle-write-region): Use `delete-file' instead of
10333         `tramp-compat-delete-file'.
10334         (tramp-smb-handle-delete-directory): Use 'trash as arg.
10336 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10338         * dired.el (dired-delete-file): New arg TRASH.
10339         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
10340         (dired-do-flagged-delete, dired-do-delete): Use trash.
10342         * speedbar.el (speedbar-item-delete): Allow trashing.
10344         * files.el (delete-directory): New arg TRASH.
10346         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10347         (ange-ftp-rename-remote-to-remote)
10348         (ange-ftp-rename-local-to-remote)
10349         (ange-ftp-rename-remote-to-local, ange-ftp-load)
10350         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10351         `delete-file'.
10352         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10353         allow trashing.
10355         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10356         handle new TRASH arg of `delete-file'.
10358         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10359         (tramp-handle-make-symbolic-link, tramp-handle-load)
10360         (tramp-do-copy-or-rename-file-via-buffer)
10361         (tramp-do-copy-or-rename-file-directly)
10362         (tramp-do-copy-or-rename-file-out-of-band)
10363         (tramp-handle-process-file, tramp-handle-call-process-region)
10364         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10365         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10366         (tramp-delete-temp-file-function): Use null TRASH arg in
10367         tramp-compat-delete-file call.
10369         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10370         (tramp-fish-handle-delete-file)
10371         (tramp-fish-handle-make-symbolic-link)
10372         (tramp-fish-handle-process-file): Use null TRASH arg in
10373         `tramp-compat-delete-file' call.
10375         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10376         arg in `tramp-compat-delete-file' call.
10378         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10379         (tramp-gvfs-handle-write-region): Use null TRASH arg in
10380         `tramp-compat-delete-file' call.
10382         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10383         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10384         `tramp-compat-delete-file' call.
10386         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10387         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10388         (tramp-smb-handle-write-region): Use null TRASH arg in
10389         tramp-compat-delete-file call.
10390         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10391         (tramp-smb-handle-delete-file): Rename arg.
10393         * diff.el (diff-sentinel):
10394         * epg.el (epg--make-temp-file, epg-decrypt-string)
10395         (epg-verify-string, epg-sign-string, epg-encrypt-string):
10396         * jka-compr.el (jka-compr-partial-uncompress)
10397         (jka-compr-call-process, jka-compr-write-region):
10398         * server.el (server-sentinel): Remove optional arg from
10399         delete-file, reverting 2010-05-03 change.
10401 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10403         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10404         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10406 2010-05-27  Kenichi Handa  <handa@m17n.org>
10408         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10409         element of GSTRING is nil.
10411 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10413         * emacs-lisp/smie.el (smie-forward-token-function)
10414         (smie-backward-token-function): New vars.
10415         (smie-backward-sexp, smie-forward-sexp)
10416         (smie-indent-hanging-p, smie-indent-calculate): Use them.
10417         (smie-default-backward-token): Rename from smie-backward-token and
10418         skip comments.
10419         (smie-default-forward-token): Rename from smie-forward-token and
10420         skip comments.
10421         (smie-next-sexp): Handle nil results from next-token.
10422         (smie-indent-calculate): Add a new case for special `fixindent' comments.
10424 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10426         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10427         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10429 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
10431         * htmlfontify.el (hfy-face-resolve-face): New function.
10432         (hfy-face-to-style): Use it (Bug#6279).
10434 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10436         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10437         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10439 2010-05-26  Glenn Morris  <rgm@gnu.org>
10441         * emulation/edt.el (edt-load-keys): Use locate-library.
10443 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
10445         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10446         (log-edit-changelog-entries): Doc fix.
10447         (log-edit-changelog-insert-entries): Args changed.
10448         Rename relative filenames in ChangeLog entries.  Delete tabs.
10449         (log-edit-insert-changelog-entries): Reorganize return value of
10450         `log-edit-changelog-entries' to pass filenames to
10451         log-edit-changelog-insert-entries.
10453 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10455         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10456         `image-dired-dired-insert-marked-thumbs' to
10457         `image-dired-dired-toggle-marked-thumbs'.
10459         * image-dired.el: Require cl when compiling.
10460         (image-dired-dired-toggle-marked-thumbs): Rename from
10461         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
10462         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
10463         to 'no-dir.  Skip files whose names don't match
10464         `image-file-name-regexp'.  When file has a thumbnail overlay,
10465         delete it.  (Bug#5270)
10467 2010-05-25  Juri Linkov  <juri@jurta.org>
10469         * image-mode.el (image-mode): Add image-after-revert-hook to
10470         after-revert-hook.
10471         (image-after-revert-hook): New function.  (Bug#5669)
10473 2010-05-25  Juri Linkov  <juri@jurta.org>
10475         * image.el (image-animated-p): When delay between animated images
10476         is 0, set it to 10 (0.1 sec).  (Bug#6258)
10478 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
10480         * net/tramp.el (tramp-handle-insert-directory): Don't use
10481         `forward-word', its default syntax could be changed.
10483 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
10485         * net/tramp.el (tramp-progress-reporter-update): New defun.
10486         (with-progress-reporter): Use it.
10487         (tramp-process-actions):
10488         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10489         Preserve current message, in order to let progress reporter continue
10490         afterwards.  (Bug#6257)
10492 2010-05-25  Glenn Morris  <rgm@gnu.org>
10494         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10495         Add :version.
10497 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10499         * net/rcirc.el (rcirc-default-user-name): Change to "user".
10500         (rcirc-default-full-name): Change to "unknown".
10501         (rcirc-user-name-history): Add variable.
10503 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
10504             Jonathan Rockway  <jon@jrock.us>
10506         * net/rcirc.el (rcirc-server-alist): Add :pass.
10507         (rcirc): When prompting for connection parameters, also prompt for
10508         username and password.
10509         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
10510         value to server when connecting.
10512 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10514         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10515         (smie-merge-prec2s): Pass the tables as separate args.
10516         (smie-bnf-precedence-table): Adjust call accordingly.
10517         (smie-prec2-levels): Set levels at the end.
10519         Replace Lisp calls to delete-backward-char by delete-char.
10520         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10521         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10522         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10523         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10524         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10525         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10526         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10527         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10528         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10529         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10530         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10531         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10532         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10533         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10534         delete-backward-char by calls to delete-char.
10536 2010-05-25  Kenichi Handa  <handa@m17n.org>
10538         * language/hebrew.el (hebrew-shape-gstring): New function.
10539         Register it in composition-function-table for all Hebrew combining
10540         characters.
10542 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10544         * epa.el (epa--select-keys): Don't explicitly delete the window since
10545         that can fail (e.g. sole window in frame).  Use dedication instead.
10547 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10549         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10551 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
10553         * image.el (image-refresh): Define as an alias for image-flush.
10555         * image-mode.el (image-toggle-display-image): Caller changed.
10557 2010-05-21  Juri Linkov  <juri@jurta.org>
10559         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10560         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
10561         whitespace, call wildcard-to-regexp on substrings and concat them
10562         with "\\|".  (Bug#6114)
10564 2010-05-21  Alan Mackenzie  <acm@muc.de>
10566         * progmodes/cc-engine.el (c-parse-state-get-strategy):
10567         Replace parameter `here' with `here-' and `here-plus', which sandwich
10568         any pertinent CPP construct.
10569         (c-remove-stale-state-cache-backwards): Fix a bug which happens
10570         when doing (c-parse-state) in a CPP construct: Exclude any "new"
10571         CPP construct from taking part in the scanning.
10573 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
10575         * net/tramp.el (tramp-do-copy-or-rename-file)
10576         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10577         Tune `with-progress-reporter' messages.
10578         (tramp-handle-vc-registered):
10579         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10580         (tramp-fish-handle-insert-file-contents)
10581         (tramp-fish-maybe-open-connection):
10582         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10583         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10584         (tramp-imap-handle-insert-file-contents)
10585         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10587 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
10589         * add-log.el (change-log-font-lock-keywords):
10590         Highlight all authors in multi-author entries.
10592         * smerge-mode.el (smerge-refine-ignore-whitespace)
10593         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10594         Fix typos in docstrings.
10595         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10597 2010-05-21  Glenn Morris  <rgm@gnu.org>
10599         * progmodes/fortran.el (fortran-mode):
10600         * progmodes/f90.el (f90-mode): Derive from prog-mode.
10602         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10603         having a relative path in src/Makefile.in.
10605 2010-05-20  Kevin Ryde  <user42@zip.com.au>
10607         * help-mode.el (help-make-xrefs): For Info node links turn
10608         newlines into spaces.  Link node names with newlines are matched
10609         by help-xref-info-regexp and buttonized, this change ensures they
10610         can be followed successfully with RET.  (Bug#6206)
10612 2010-05-20  Juri Linkov  <juri@jurta.org>
10614         * locate.el (locate): Use pop-to-buffer instead of
10615         switch-to-buffer-other-window.  (Bug#6204)
10617 2010-05-20  Juri Linkov  <juri@jurta.org>
10619         * replace.el (replace-highlight): Fix lazy-highlighting
10620         for `M-s w str M-% str RET'.
10622 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
10624         * isearch.el (isearch-yank-word-or-char): Pull next subword
10625         when `subword-mode' is activated.  (Bug#6220)
10627 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
10629         * isearch.el (isearch-update-post-hook): New hook.
10630         (isearch-update): Use the new hook.  (Bug#6225)
10632 2010-05-20  Juri Linkov  <juri@jurta.org>
10634         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10635         [f1], [help], and (char-to-string help-char) instead of "\C-h".
10636         (Bug#6222)
10638 2010-05-20  Juri Linkov  <juri@jurta.org>
10640         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10641         (Bug#6223)
10643 2010-05-20  Juri Linkov  <juri@jurta.org>
10645         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10646         FILE-NAME to read from the minibuffer when called interactively
10647         with prefix argument instead of using buffer-file-name.
10648         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10650         * dired.el: Update autoloads.
10652 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
10654         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10655         nxml-finish-element, for consistency with SGML mode.
10657         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10658         octave-close-block.
10660 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
10662         * composite.el: Require cl when compiling.
10663         (reference-point-alist, compose-gstring-for-graphic)
10664         (compose-gstring-for-terminal): Fix typos in docstrings.
10666 2010-05-19  Juri Linkov  <juri@jurta.org>
10668         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10669         set-window-parameter.
10671 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10673         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10674         where appropriate.
10675         (tramp-maybe-open-connection): Use it.
10677 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
10679         * simple.el (move-end-of-line): Make sure we are at line beginning
10680         before backing up to end of previous line.
10682 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10684         * password-cache.el (password-cache-remove): Fix docstring.
10686         * net/secrets.el: Autoload the widget functions.
10687         (secrets-search-items, secrets-create-item)
10688         (secrets-get-attributes, secrets-expand-item): Attributes will be
10689         stored on the password database without leading ":", as all other
10690         clients do as well.
10691         (secrets-mode): Fix docstring.
10692         (secrets-show-secrets): Provide it as autoloaded command only when
10693         D-Bus support is available.  Check existence of Secret Service API.
10695 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10697         * indent.el (indent-region): Deactivate region (bug#6200).
10699 2010-05-19  Glenn Morris  <rgm@gnu.org>
10701         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
10703 2010-05-19  Kenichi Handa  <handa@m17n.org>
10705         * composite.el: Register compose-gstring-for-graphic in
10706         composition-function-table only for combining characters (Mn, Mc, Me).
10708 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
10710         * calc/calc-trail.el (calc-trail-isearch-forward)
10711         (calc-trail-isearch-backward): Ensure that the new window
10712         point is set correctly.
10714 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10716         * subr.el (read-quoted-char): Resolve modifiers after key
10717         remapping (bug#6212).
10719 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
10721         Add visualization code for secrets.
10722         * net/secrets.el (secrets-mode): New major mode.
10723         (secrets-show-secrets, secrets-show-collections)
10724         (secrets-expand-collection, secrets-expand-item)
10725         (secrets-tree-widget-after-toggle-function)
10726         (secrets-tree-widget-show-password): New defuns.
10728 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10730         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10731         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10732         handled in smie-next-sexp.
10733         (smie-indent-calculate): Provide a starting indentation (so the
10734         recursion is well-founded ;-).
10736         Fix handling of non-associative equal levels.
10737         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10738         when it's not needed.
10739         (smie-op-left, smie-op-right): New functions.
10740         (smie-next-sexp): New function, extracted from smie-backward-sexp.
10741         Better handle equal levels to distinguish the associative case from
10742         the "multi-keyword construct" case.
10743         (smie-backward-sexp, smie-forward-sexp): Use it.
10745 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
10747         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10749         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10750         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10752 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10754         Provide a simple generic indentation engine and use it for Prolog.
10755         * emacs-lisp/smie.el: New file.
10756         * progmodes/prolog.el (prolog-smie-op-levels)
10757         (prolog-smie-indent-rules): New var.
10758         (prolog-mode-variables): Use them to configure SMIE.
10759         (prolog-indent-line, prolog-indent-level): Remove.
10761 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10763         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10764         order before computing the averages.
10766 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
10768         * calc/calc-vec.el (calc-histogram):
10769         (calcFunc-histogram): Allow vectors as inputs.
10770         (math-vector-avg): New function.
10772         * calc/calc-ext.el (math-group-float): Have the number of digits
10773         being grouped depend on the radix (Bug#6189).
10775 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
10777         * version.el (emacs-copyright, emacs-version): Don't define here,
10778         now that emacs.c defines it.
10780 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
10782         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10783         "Describe Language Environment" menu item.
10785         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10787         Bidi-sensitive movement with arrow keys.
10788         * subr.el (right-arrow-command, left-arrow-command): New functions.
10790         * bindings.el (global-map): Bind them to right and left arrow keys.
10792         Don't override standard definition of convert-standard-filename.
10793         * files.el (convert-standard-filename):
10794         Call w32-convert-standard-filename and dos-convert-standard-filename on
10795         the corresponding systems.
10797         * w32-fns.el (w32-convert-standard-filename): Rename from
10798         convert-standard-filename.  Doc fix.
10800         * dos-fns.el (dos-convert-standard-filename): Doc fix.
10801         (convert-standard-filename): Don't defalias.
10802         (register-name-alist, make-register, register-value)
10803         (set-register-value, intdos): Obsolete aliases for the
10804         corresponding dos-* functions and variables.
10805         (dos-intdos): Add a doc string.
10807 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
10809         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10810         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10811         (math-compose-tex-func):
10812         * calc/calccomp.el (math-compose-expr):
10813         * calc/calc-ext.el (math-format-flat-expr-fancy):
10814         * calc/calc-store.el (calc-read-var-name):
10815         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10817         * calc/calc.el (var-π, var-φ, var-γ): New variables.
10818         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10819         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10820         (math-standard-units): Add units.
10822 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10824         * progmodes/asm-mode.el (asm-mode):
10825         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10827         * pcomplete.el (pcomplete-completions-at-point): New function,
10828         extracted from pcomplete-std-complete.
10829         (pcomplete-std-complete): Use it.
10831 2010-05-15  Glenn Morris  <rgm@gnu.org>
10833         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10834         Remove references to CVS, RCS and Old directories.
10836 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
10838         * calc/calc-bin.el (math-format-twos-complement): Group digits when
10839         appropriate.
10841 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10843         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10844         (sh-mode-syntax-table): Give it a default value instead.
10845         (sh-header-marker): Make buffer-local.
10846         (sh-mode): Move make-local-variable to the corresponding setq.
10847         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10848         Use complete-with-action.
10850         * simple.el (prog-mode): New (abstract) major mode.
10851         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10852         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10854 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
10856         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10857         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10858         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10859         (sql-make-alternate-buffer-name, sql-placeholders-filter)
10860         (sql-escape-newlines-filter, sql-input-sender)
10861         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10863 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
10865         Add TeX open-block and close-block keybindings to SGML, and vice versa.
10867         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10868         latex-open-block and C-c / to latex-close-block.
10870         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10871         and C-c C-e to sgml-close-tag.
10873 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
10875         * net/tramp.el (with-progress-reporter): Create reporter object
10876         only when the message would be displayed.  Handle nested calls.
10877         (tramp-handle-load, tramp-handle-file-local-copy)
10878         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10879         (tramp-maybe-send-script, tramp-find-shell):
10880         Use `with-progress-reporter'.
10881         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10882         Fix message text.
10884         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10885         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10886         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10887         Use `with-progress-reporter'.
10889 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
10891         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10892         process everytime when spellchecking from the minibuffer (bug#6143).
10894 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10896         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10898         * dos-fns.el: Add "dos-" prefix for namespace control.
10899         (convert-standard-filename): Define as alias for
10900         dos-convert-standard-filename but only if applicable.
10902 2010-05-12  Alan Mackenzie  <acm@muc.de>
10904         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10905         Push the mark at the start of these functions when appropriate.
10907 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10909         * minibuffer.el (completion-cycle-threshold): New custom var.
10910         (completion--do-completion): Use it.
10911         (minibuffer-complete): Use cycling if appropriate.
10913 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
10915         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10916         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10918 2010-05-11  Juri Linkov  <juri@jurta.org>
10920         * scroll-all.el (scroll-all-check-to-scroll):
10921         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10923 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10925         * iimage.el (iimage-mode-map): Move initialization into declaration.
10926         (iimage-mode-buffer): Use with-silent-modifications.
10927         Simplify calling convention.  Adjust callers.
10928         (iimage-mode): Don't run hook redundantly.
10930         * minibuffer.el (completion-pcm--pattern->regex):
10931         Fix last change (bug#6160).
10933 2010-05-10  Juri Linkov  <juri@jurta.org>
10935         Remove nodes visited during Isearch from the Info history.
10936         * info.el (Info-isearch-initial-history)
10937         (Info-isearch-initial-history-list): New variables.
10938         (Info-isearch-start): Record initial values of
10939         Info-isearch-initial-history and Info-isearch-initial-history-list.
10940         Add Info-isearch-end to isearch-mode-end-hook.
10941         (Info-isearch-end): New function.
10943 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
10945         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10946         format string, in order to work around a bug in pdksh.
10947         Reported by Gilles Pion <gpion@lfdj.com>.
10948         (tramp-handle-verify-visited-file-modtime): Do not send a command
10949         when the connection is not established.
10950         (tramp-handle-set-file-times): Simplify the check for utc.
10952 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
10954         Fix use of `filter-buffer-substring' (rework previous change).
10955         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10956         (cua-repeat-replace-region):
10957         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10958         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10959         (cua-cut-region-to-global-mark): Use it.
10961 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
10963         * progmodes/sql.el: Version 2.1.
10964         (sql-product-alist): Redesign structure of product info.
10965         (sql-product, sql-user, sql-server, sql-database): Safe variables.
10966         (sql-port, sql-port-history): New variables.
10967         (sql-interactive-product): New variable.
10968         (sql-send-terminator): New variable.
10969         (sql-imenu-generic-expression): Add "Types" imenu entry.
10970         (sql-oracle-login-params, sql-sqlite-login-params)
10971         (sql-mysql-login-params, sql-solid-login-params)
10972         (sql-sybase-login-params, sql-informix-login-params)
10973         (sql-ingres-login-params, sql-ms-login-params)
10974         (sql-postgres-login-params, sql-interbase-login-params)
10975         (sql-db2-login-params, sql-linter-login-params)
10976         (sql-oracle-scan-on): New variables.
10977         (sql-mode-map): Add C-c C-i to start interactive mode.
10978         (sql-mode-menu): Update existing menu entries.
10979         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10980         (sql-mode-oracle-font-lock-keywords)
10981         (sql-mode-postgres-font-lock-keywords)
10982         (sql-mode-ms-font-lock-keywords)
10983         (sql-mode-sybase-font-lock-keywords)
10984         (sql-mode-informix-font-lock-keywords)
10985         (sql-mode-interbase-font-lock-keywords)
10986         (sql-mode-ingres-font-lock-keywords)
10987         (sql-mode-solid-font-lock-keywords)
10988         (sql-mode-mysql-font-lock-keywords)
10989         (sql-mode-sqlite-font-lock-keywords)
10990         (sql-mode-db2-font-lock-keywords)
10991         (sql-mode-linter-font-lock-keywords): Update initialization to
10992         reduce run-time complexity.
10993         (sql-add-product, sql-del-product): New functions.
10994         (sql-set-product-feature, sql-get-product-feature): New functions.
10995         (sql-product-font-lock): Update product API.
10996         (sql-add-product-keywords): New function.
10997         (sql-highlight-product): Update product API.
10998         (sql-help-list-products): New function.
10999         (sql-help): Dynamically lists free and non-free products.
11000         (sql-get-login): Correct bug in handling history and added
11001         prompt for port.
11002         (sql-copy-column): Copy without properties.
11003         (sqli-input-sender): Apply filters to SQLi input.
11004         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11005         Implement as a filter.
11006         (sql-escape-newlines-filter): Implement as a filter.
11007         (sql-remove-tabs-filter): New function.
11008         (sql-send-magic-terminator): New function.
11009         (sql-send-string): Implement magic terminator.
11010         (sql-send-region): Use `sql-send-string'.
11011         (sql-interactive-mode): Use product API.
11012         (sql-product-interactive): Use product API.
11013         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11014         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11015         (sql-db2, sql-linter): Use `sql-product-interactive'.
11016         (sql-connect): New function.
11017         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11018         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11019         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11020         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11021         Use `sql-connect'.
11023 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11025         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11026         New custom variable.
11027         (completion-pcm--string->pattern): Use it.
11028         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11029         Make it handle any symbol as `any'.
11030         (completion-pcm--merge-completions): Extract common suffix for the new
11031         `prefix' symbol as well.
11032         (completion-substring--all-completions): Use the new `prefix' symbol.
11034 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
11036         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11037         not bound.
11038         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11039         (tramp-compat-funcall): New defmacro.
11040         (tramp-compat-line-beginning-position)
11041         (tramp-compat-line-end-position)
11042         (tramp-compat-temporary-file-directory)
11043         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11044         (tramp-compat-copy-file, tramp-compat-copy-directory)
11045         (tramp-compat-delete-file, tramp-compat-delete-directory)
11046         (tramp-compat-number-sequence, tramp-compat-process-running-p)
11047         * net/tramp.el (top, with-progress-reporter)
11048         (tramp-rfn-eshadow-setup-minibuffer)
11049         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11050         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11051         (tramp-completion-mode-p, tramp-check-for-regexp)
11052         (tramp-open-connection-setup-interactive-shell)
11053         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11054         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11055         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11056         * net/tramp-cmds.el (tramp-cleanup-all-connections)
11057         (tramp-reporter-dump-variable, tramp-load-report-modules)
11058         (tramp-append-tramp-buffers)
11059         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11061         * net/tramp-imap.el (top): Autoload `epg-make-context'.
11063 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11065         * progmodes/compile.el (compilation-buffer-modtime): Rename from
11066         buffer-modtime.  Adjust users.
11068 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11070         * international/mule.el (auto-coding-alist): Only purecopy
11071         car of each item, not the whole list (Bug#6083).
11073 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11075         * progmodes/js.el (js-mode): Make paragraph variables local before
11076         calling c-setup-paragraph-variables (Bug#6071).
11078 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
11080         * composite.el (compose-region, reference-point-alist): Fix typos
11081         in the doc strings.
11083 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
11085         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11086         gnuplot's "set" command.
11088 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11090         * abbrev.el (last-abbrev-text): Doc fix.
11091         (abbrev-prefix-mark): Don't escape parenthesis.
11093 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
11095         * composite.el (find-composition): Doc fix.
11097 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11099         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11100         (sql-oracle-program, sql-sqlite-options)
11101         (sql-query-placeholders-and-send): Doc fixes.
11102         (sql-set-product, sql-interactive-mode): Reflow docstrings.
11103         (sql-imenu-generic-expression, sql-buffer)
11104         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11105         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11106         (sql-mode-sybase-font-lock-keywords)
11107         (sql-mode-informix-font-lock-keywords)
11108         (sql-mode-interbase-font-lock-keywords)
11109         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11110         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11111         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11112         (sql-product-feature, sql-highlight-product)
11113         (comint-line-beginning-position, sql-rename-buffer)
11114         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11115         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11116         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11117         Fix typos in docstrings.
11119 2010-05-08  Juri Linkov  <juri@jurta.org>
11121         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11122         property instead of `invisible' and `after-string' (bug#5998).
11124 2010-05-08  Juri Linkov  <juri@jurta.org>
11126         * image-mode.el (image-mode-as-text): Fix typo in docstring.
11128 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11130         * filecache.el (file-cache-add-directory-list)
11131         (file-cache-add-directory-recursively): Fix typos in docstrings.
11133 2010-05-08  Kenichi Handa  <handa@m17n.org>
11135         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11136         (gujarati-composable-pattern): Fix typo.
11138 2010-05-08  Kenichi Handa  <handa@m17n.org>
11140         * language/indian.el (oriya-composable-pattern)
11141         (tamil-composable-pattern, malayalam-composable-pattern):
11142         Add two-part vowels to "v" (vowel sign).
11144 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11146         * files.el (copy-directory): Handle symlinks (Bug#5982).
11148 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
11150         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11151         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
11152         (Bug#5846).
11154 2010-05-08  Glenn Morris  <rgm@gnu.org>
11156         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11158         * minibuffer.el (completion-at-point): Doc fix.
11160 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11162         * electric.el (Electric-command-loop): Minor tweak.
11164         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11165         better with dedicated windows.
11167 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
11169         * Version 23.2 released.
11171 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
11172             Stefan Monnier  <monnier@iro.umontreal.ca>
11174         Highlight vendor specific properties.
11175         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11176         (css-proprietary-property): New face.
11177         (css-font-lock-keywords): Use them.
11179 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
11181         * cus-start.el (all): Add native condition for tool-bar-* symbols.
11183 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11185         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11186         * files.el (auto-mode-alist): Remove redundant entries.
11188         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11189         * simple.el (auto-save-mode): Move from files.el.
11190         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11192 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
11194         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11196 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
11198         * mail/binhex.el (binhex-decode-region-internal)
11199         * mail/uudecode.el (uudecode-decode-region-internal)
11200         * net/dns.el (dns-read-string-name, dns-write, dns-read)
11201         (dns-read-type, dns-query)
11202         * pgg-parse.el (pgg-parse-armor)
11203         * pgg.el (pgg-verify-region)
11204         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11205         XEmacs.
11207         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11209 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
11211         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11213         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11214         * emulation/cua-base.el (cua-repeat-replace-region):
11215         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11216         (cua-cut-region-to-global-mark):
11217         Remove text properties with `set-text-properties'.
11219 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
11221         * net/tramp.el (top, with-progress-reporter):
11222         Use `symbol-function' inside `funcall'.
11224         * net/tramp-compat.el (tramp-compat-file-attributes)
11225         (tramp-compat-delete-file, tramp-compat-delete-directory):
11226         Handle only `wrong-number-of-arguments' error.
11228         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11229         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11230         inside `funcall'.
11232 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11234         * minibuffer.el (completion--sreverse, completion--common-suffix):
11235         New functions.
11236         (completion-pcm--merge-completions): Extract common suffix when safe.
11238         * emacs-lisp/easy-mmode.el (define-minor-mode):
11239         Make :variable more flexible.
11240         * files.el (auto-save-mode): Use it to define using define-minor-mode.
11242 2010-05-05  Juri Linkov  <juri@jurta.org>
11244         Add `slow' and `history' tags to the desktop data.
11246         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11247         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11248         (Info-finder-find-node): Require `finder.el' to be able
11249         to restore node from the desktop.
11250         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
11251         data `Info-history' and `slow' tag in the assoc list.
11252         (Info-restore-desktop-buffer): Don't restore nodes with the
11253         `slow' tag.  Restore `Info-history'.
11255 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
11257         Add FORCE argument to `delete-file'.
11259         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11260         forcing to delete the temporary file.
11261         (ange-ftp-delete-file): Add FORCE arg.
11262         (ange-ftp-rename-remote-to-remote)
11263         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11264         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11265         Force file deletion.
11267         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11269         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11270         (tramp-handle-make-symbolic-link, tramp-handle-load)
11271         (tramp-do-copy-or-rename-file-via-buffer)
11272         (tramp-do-copy-or-rename-file-directly)
11273         (tramp-do-copy-or-rename-file-out-of-band)
11274         (tramp-handle-process-file, tramp-handle-call-process-region)
11275         (tramp-handle-shell-command, tramp-handle-file-local-copy)
11276         (tramp-handle-insert-file-contents, tramp-handle-write-region)
11277         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11279         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11280         (tramp-fish-handle-make-symbolic-link)
11281         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11283         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11284         Use `tramp-compat-delete-file'.
11286         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11287         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11289         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11290         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11292         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11293         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11294         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11295         Use `tramp-compat-delete-file'.
11297 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11299         Minor cleanups.
11300         * subr.el (add-minor-mode): Use push.
11301         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11302         * emulation/edt.el (edt-select-mode): Simplify.
11304         Use define-minor-mode in more cases.
11305         * term/tvi970.el (tvi970-set-keypad-mode):
11306         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11307         (normal-erase-is-backspace-mode):
11308         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11309         (set-scroll-bar-mode-1): (Re)move to its sole caller.
11310         (get-scroll-bar-mode): New function.
11311         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11313         Use define-minor-mode for less obvious cases.
11314         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11315         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11316         * international/iso-ascii.el (iso-ascii-mode):
11317         * frame.el (auto-raise-mode, auto-lower-mode):
11318         * composite.el (global-auto-composition-mode): Use define-minor-mode.
11320 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
11322         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11323         in order to see error messages for failed logins.
11325 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
11327         * diff.el (diff-sentinel):
11329         * epg.el (epg--make-temp-file, epg-decrypt-string)
11330         (epg-verify-string, epg-sign-string, epg-encrypt-string):
11332         * jka-compr.el (jka-compr-partial-uncompress)
11333         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11335         * server.el (server-sentinel): Use delete-file's new FORCE arg
11336         (Bug#6070).
11338 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11340         Use define-minor-mode where applicable.
11341         * view.el (view-mode):
11342         * type-break.el (type-break-query-mode)
11343         (type-break-mode-line-message-mode):
11344         * textmodes/reftex.el (reftex-mode):
11345         * term/vt100.el (vt100-wide-mode):
11346         * tar-mode.el (tar-subfile-mode):
11347         * savehist.el (savehist-mode):
11348         * ibuf-ext.el (ibuffer-auto-mode):
11349         * composite.el (auto-composition-mode):
11350         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11351         Use define-minor-mode.
11352         (vhdl-mode): Use static mode-line format.
11353         (vhdl-mode-line-update): Delete.
11354         (vhdl-create-mode-menu, vhdl-activate-customizations)
11355         (vhdl-hs-minor-mode): Don't bother calling it.
11357 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11359         * simple.el (with-wrapper-hook): Move.
11360         (buffer-substring-filters): Mark obsolete.
11361         (filter-buffer-substring-functions): New variable.
11362         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
11364 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
11365             Michael Albinus  <michael.albinus@gmx.de>
11367         Implement compression for inline methods.
11369         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11370         (tramp-copy-size-limit): Allow also nil.
11371         (tramp-inline-compress-commands): New defconst.
11372         (tramp-find-inline-compress, tramp-get-inline-compress)
11373         (tramp-get-inline-coding): New defuns.
11374         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11375         replaced by `tramp-get-inline-coding'.
11376         (tramp-handle-file-local-copy, tramp-handle-write-region)
11377         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11379 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11381         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11382         Remove unused functions.
11384         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11385         Set find-tag-default-function as a variable rather than a property.
11387         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11388         * progmodes/etags.el (tags-completion-at-point-function):
11389         Remove left over interactive spec.  Add autoloading stub.
11390         (complete-tag): Use tags-completion-at-point-function.
11392 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
11394         * minibuffer.el (tags-completion-at-point-function): Fix return value.
11396 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11398         * ido.el (ido-init-completion-maps): Remove C-v binding.
11399         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11401 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11403         * minibuffer.el (tags-completion-at-point-function): New function.
11404         (completion-at-point-functions): Use it.
11406         * progmodes/etags.el (complete-tag): Revert last change.
11408 2010-04-29  Alan Mackenzie  <acm@muc.de>
11410         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11411         off-by-one error (in end of macro position).
11413 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11415         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11416         firefox is absent.  Don't autoload.
11417         (browse-url-galeon-program): Don't autoload.
11419 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11421         * bindings.el (complete-symbol): Move into minibuffer.el.
11423         * minibuffer.el (complete-tag): Move from etags.el.  If tags
11424         completion cannot be performed, return nil instead of signalling
11425         an error.
11426         (completion-at-point): Make it an alias for complete-symbol.
11427         (complete-symbol): Move from bindings.el, and replace with the
11428         body of completion-at-point.
11430         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11432 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
11434         * net/tramp.el (tramp-remote-selinux-p): New defun.
11435         (tramp-handle-file-selinux-context)
11436         (tramp-handle-set-file-selinux-context): Use it.
11438 2010-04-28  Sam Steingold  <sds@gnu.org>
11440         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11441         `safe-local-variable' if the value is a string or a symbol with
11442         the property `bug-reference-url-format'.
11444 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11446         * progmodes/bug-reference.el (bug-reference-url-format):
11447         Revert 2010-04-27 change due to security risk.
11449 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11451         Make it possible to locally disable a globally enabled mode.
11452         * simple.el (fundamental-mode): Run fundamental-mode-hook.
11453         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11454         rather than kill-all-local-variables so it runs fundamental-mode-hook.
11455         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11456         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11457         that subsequent hooks get a chance to disable it.
11459 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11461         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11462         Avoid re-enabling a minor mode after the user turned the minor mode
11463         off if MODE-enable-in-buffers is run twice (typically once from
11464         fundamental-mode's after-change-major-mode-hook and a second time from
11465         run-mode-hook's own after-change-major-mode-hook).
11467         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11469 2010-04-27  Sam Steingold  <sds@gnu.org>
11471         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11472         `safe-local-variable' if the value is a string or a function, as
11473         documented and implemented on 2010-04-02.
11475 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
11477         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11478         when method is 'kill.
11480 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
11482         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11483         condition in default directory check.
11484         (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11485         Kill ispell process when killing its associated buffer.
11487 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
11489         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11490         but we aren't using it.
11492 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
11494         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11495         checkin in rev 100010.
11497 2010-04-24  Glenn Morris  <rgm@gnu.org>
11499         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11500         Ignore VCS-ignore files, and deleted nextstep preferences files.
11501         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11502         (authors-ambiguous-files): New list.
11503         (authors-valid-file-names): Add some deleted files.
11504         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11505         (authors-disambiguate-file-name): New function.  (Bug#5501)
11506         (authors-canonical-file-name): Doc fix.
11507         Don't warn about obsolete files.
11508         (authors-canonical-file-name, authors-scan-el):
11509         Use authors-disambiguate-file-name.
11511         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11512         Add autoload cookies.
11513         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11514         (generated-autoload-file): Set file-local value to "htmlfontify.el".
11515         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11516         They have definitions / compiler macros in cl.el.
11517         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11518         Replace manual autoloads with generated ones.
11519         (htmlfontify-unload-rgb-file): Remove autoload.
11520         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11522 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11524         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11525         (byte-compile-setq-default): Optimize for the
11526         single-var case and don't call byte-compile-form in this case to avoid
11527         inf-loop with byte-compile-set-default.
11529         * progmodes/compile.el (compilation-start): Abbreviate default directory.
11531 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
11533         Implement SELINUX backends.
11535         * net/tramp.el (tramp-file-name-handler-alist):
11536         Add `file-selinux-context' and `set-file-selinux-context'.
11537         (tramp-handle-file-selinux-context)
11538         (tramp-handle-set-file-selinux-context): New defuns.
11539         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11540         Handle PRESERVE-SELINUX-CONTEXT.
11542         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11543         Add `file-selinux-context' and `set-file-selinux-context'.
11544         (tramp-gvfs-handle-file-selinux-context)
11545         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11546         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11548         * net/ange-ftp.el (ange-ftp-copy-file):
11549         * net/tramp-fish.el (tramp-fish-handle-copy-file):
11550         * net/tramp-imap.el (tramp-imap-handle-copy-file):
11551         * net/tramp-smb.el (tramp-smb-handle-copy-file):
11552         Add PRESERVE-SELINUX-CONTEXT.
11554 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11556         Synchronize with Tramp repository.
11558         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11559         (tramp-action-process-alive, tramp-action-out-of-band)
11560         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11561         (tramp-exists-file-name-handler): Fix docstring.
11562         (with-progress-reporter): New defmacro.
11563         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11564         (tramp-maybe-open-connection): Use it.
11566 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
11568         Detect ssh 'ControlMaster' argument automatically in some cases.
11570         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11571         (tramp-default-method): Use it.
11573 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11575         * net/tramp.el (tramp-handle-copy-file): Add new optional
11576         parameter `preserve-selinux-context'.
11577         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11579 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11581         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11582         Ensure, that non remote files are still checked.  Oops.
11584 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
11586         Fix Bug#5840.
11588         * icomplete.el (icomplete-completions): Use `non-essential'.
11590         * net/tramp.el (tramp-connectable-p): New defun.
11591         (tramp-handle-expand-file-name)
11592         (tramp-completion-handle-file-name-all-completions)
11593         (tramp-completion-handle-file-name-completion): Use it.
11595 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11597         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11599 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
11601         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11603         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11605         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11606         is present.
11608         * info.el (info-tool-bar-map): Add labels.
11610         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11612         * cus-edit.el (custom-commands): Add labels for tool bar.
11613         (custom-buffer-create-internal, Custom-mode): Adjust for
11614         labels in custom-commands.
11616         * dynamic-setting.el: Renamed from font-setting.el.
11618 2010-04-21  John Wiegley  <jwiegley@gmail.com>
11620         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11621         toggles the use of virtual buffers.
11622         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11623         (ido-toggle-virtual-buffers): New function.
11625 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
11627         Use `define-derived-mode'; fix window selection; doc fixes.
11628         * play/tetris.el (tetris, tetris-update-speed-function)
11629         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11630         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11631         (tetris-rotate-next, tetris-end-game, tetris-start-game)
11632         (tetris-pause-game): Fix typos in docstrings.
11633         (tetris-mode-map, tetris-null-map):
11634         Move initialization into declaration.
11635         (tetris-mode): Define with `define-derived-mode';
11636         set show-trailing-whitespace to nil.
11637         (tetris): Prefer window already displaying the "*Tetris*" buffer.
11639 2010-04-21  Karel Klíč  <kklic@redhat.com>
11641         * files.el (backup-buffer): Handle SELinux context, and return it
11642         if a backup was made by renaming.
11643         (backup-buffer-copy): Set SELinux context to the target file.
11644         (basic-save-buffer): Set SELinux context of the newly written file.
11645         (basic-save-buffer-1): Now it also returns any SELinux context.
11646         (basic-save-buffer-2): Set SELinux context of the newly created file,
11647         and return it.
11648         * net/tramp.el (tramp-file-name-for-operation):
11649         Add file-selinux-context.
11651 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11653         Make the log-edit comments use RFC822 format throughout.
11655         * vc.el (vc-checkin, vc-modify-change-comment):
11656         Adjust to new vc-start/finish-logentry.
11657         (vc-find-conflicted-file): New command.
11658         (vc-transfer-file): Adjust to new vc-checkin.
11659         (vc-next-action): Improve scoping.
11661         * vc-hg.el (vc-hg-log-edit-mode): Remove.
11662         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
11664         * vc-git.el (vc-git-log-edit-mode): Remove.
11665         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
11666         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11668         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11669         (vc-start-logentry): Remove argument `extra'.
11670         (vc-finish-logentry): Remove extra args.
11672         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11673         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
11674         (vc-bzr-conflicted-files): New function.
11676         * log-edit.el (log-edit-extra-flags)
11677         (log-edit-before-checkin-process): Remove.
11678         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11679         (log-edit-headers-alist): New var.
11680         (log-edit-header-contents-regexp): New const.
11681         (log-edit-match-to-eoh): New function.
11682         (log-edit-font-lock-keywords): Use them.
11683         (log-edit): Insert a "Summary:" header as default.
11684         (log-edit-mode): Mark font-lock rules as case-insensitive.
11685         (log-edit-done): Cleanup headers.
11686         (log-view-process-buffer): Remove.
11687         (log-edit-extract-headers): New function to replace it.
11689 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
11691         * subr.el (default-direction-reversed): Remove obsolescence info.
11693 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11695         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11696         windows/frames.
11698         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11699         I.e. include text after point in the completion region.
11700         Also, return nil when we're not after/in a symbol.
11702         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11703         default enable-multibyte-characters.
11705 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11707         * international/mule.el: Help the user choose a valid coding-system.
11708         (read-buffer-file-coding-system): New function.
11709         (set-buffer-file-coding-system): Use it.  Prompt the user if the
11710         coding-system cannot encode all the chars.
11712         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11713         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11714         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11715         Don't use *vc-bzr-shelve*.
11717 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
11719         Fix the version number for added files.
11720         * vc-hg.el (vc-hg-working-revision): Check if the file is
11721         registered after hg parent fails (Bug#5961).
11723 2010-04-19  Glenn Morris  <rgm@gnu.org>
11725         * htmlfontify.el (htmlfontify-buffer)
11726         (htmlfontify-copy-and-link-dir): Autoload entry points.
11728 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
11730         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11731         name relative to the project root (Bug#5960).
11733 2010-04-19  Glenn Morris  <rgm@gnu.org>
11735         * vc-git.el (vc-git-print-log): Doc fix.
11737 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
11739         * ido.el (ido-file-internal): Fix 2009-12-02 change.
11741 2010-04-19  Christoph Scholtes  <cschol2112@googlemail.com>
11743         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11744         default settings (Bug#5928).
11746 2010-04-19  Glenn Morris  <rgm@gnu.org>
11748         * progmodes/fortran.el (fortran-match-and-skip-declaration):
11749         New function.
11750         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
11752 2010-04-19  Kenichi Handa  <handa@m17n.org>
11754         * language/indian.el (malayalam-composable-pattern): Fix previous
11755         change (add U+0D4D "SIGN VIRAMA").
11756         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11757         (tamil-composable-pattern): Fix typo in the regexp.
11758         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11759         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11760         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11762 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11764         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11765         paragraph-separate (Bug#5821).
11767 2010-04-19  Juri Linkov  <juri@jurta.org>
11769         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11771         * info.el (Info-find-node-2): Comment out code that skips
11772         breadcrumbs line.
11773         (Info-mouse-follow-link): New command.
11774         (Info-link-keymap): New keymap.
11775         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11776         Return a string with links instead of inserting breadcrumbs
11777         to the Info buffer.
11778         (Info-fontify-node): Comment out code that inserts breadcrumbs.
11779         Instead of putting the `invisible' text property over the Info
11780         header, make an overlay over the Info header with the `invisible'
11781         property and `after-string' set to the string returned by
11782         `Info-breadcrumbs'.
11784 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11786         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11787         Reported by monkey@sandpframing.com.
11789 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11791         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11792         (tmm-get-keymap): Add key-binding shortcuts now that they're not
11793         available in the "keyseq cache" any more.
11795         * custom.el (defcustom): Add edebug spec.
11797 2010-04-18  Juri Linkov  <juri@jurta.org>
11799         Test for special mode-class in view-buffer instead of view-file (bug#5513).
11801         * view.el (view-file, view-buffer): Move test for special mode-class
11802         from view-file to view-buffer.
11804         * tar-mode.el (tar-extract): Turn if's into one cond
11805         like in arc-mode.el.
11807 2010-04-18  Juri Linkov  <juri@jurta.org>
11809         Add 7z archive format support (bug#5475).
11811         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11812         (archive-7z-extract): New defcustom.
11813         (archive-find-type): Add magic string for 7z.
11814         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11815         If `stderr-file' is non-nil, use `(t stderr-file)' for the
11816         `buffer' arg of `call-process'.
11817         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11818         call the function `archive-7z-extract' with the variable
11819         `archive-7z-extract' let-bound to `archive-zip-extract'.
11820         (archive-7z-summarize, archive-7z-extract): New functions.
11822         * international/mule.el (auto-coding-alist):
11823         * files.el (auto-mode-alist): Add 7z file extension.
11825 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11827         * loadup.el: Setup hash-cons for pure data.
11829         Fix duplicate entries in cedet's loaddefs.el files.
11830         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11831         Should make most file-local generated-autoload-file unnecessary.
11832         (print-readably): Silence warnings.
11833         (autoload-find-destination): Take load-name as an arg to make sure
11834         it's the same as the one that will be in the file.
11835         (autoload-generate-file-autoloads): Adjust to above changes.
11836         Try to make the dataflow a bit simpler.
11838         * cvs-status.el (cvs-refontify): Remove unused.
11840 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
11842         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11844         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11845         twos-complement mode.
11847 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
11849         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11850         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
11851         (calc-inverse): Add "Option" to message, as appropriate.
11852         (calc-hyperbolic): Add "Option" to message, as appropriate.
11853         (calc-option, calc-is-option): New functions.
11855         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11856         (calc-option-prefix-help): New function.
11858         * calc/calc-misc.el (calc-help): Add "Option" entry.
11860         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11861         (calc-option-flag): New variable.
11862         (calc-do): Set `calc-option-flag to nil.
11863         (calc-set-mode-line): Add "Opt " as appropriate.
11865 2010-04-16  Juri Linkov  <juri@jurta.org>
11867         Move scrolling commands from simple.el to window.el
11868         because their primitives are implemented in window.c.
11870         * simple.el (scroll-error-top-bottom)
11871         (scroll-up-command, scroll-down-command, scroll-up-line)
11872         (scroll-down-line, scroll-other-window-down)
11873         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11874         * window.el (scroll-error-top-bottom)
11875         (scroll-up-command, scroll-down-command, scroll-up-line)
11876         (scroll-down-line, scroll-other-window-down)
11877         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11878         Move from simple.el to window.el because their primitives are
11879         implemented in window.c.
11881 2010-04-16  Juri Linkov  <juri@jurta.org>
11883         * isearch.el (isearch-lookup-scroll-key): Check both
11884         `isearch-scroll' and `scroll-command' properties.
11885         (scroll-up, scroll-down): Remove `isearch-scroll' property.
11887         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11889         * simple.el (scroll-up-command, scroll-down-command)
11890         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11892 2010-04-15  Juri Linkov  <juri@jurta.org>
11894         * simple.el (scroll-up-command, scroll-down-command)
11895         (scroll-up-line, scroll-down-line): Put `scroll-command'
11896         property on the these symbols.  Remove them from
11897         `scroll-preserve-screen-position-commands'.
11899         * mwheel.el (mwheel-scroll): Put `scroll-command' and
11900         `isearch-scroll' properties on the `mwheel-scroll' symbol.
11901         Remove it from `scroll-preserve-screen-position-commands'.
11903         * isearch.el (isearch-allow-scroll): Doc fix.
11905 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
11907         * net/tramp.el (tramp-error-with-buffer): Don't show the
11908         connection buffer when we are in completion mode.
11909         (tramp-file-name-handler): Catch the error for some operations
11910         when we are in completion mode.  This gives the user the chance to
11911         correct the file name in the minibuffer.
11913 2010-04-15  Glenn Morris  <rgm@gnu.org>
11915         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11917 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
11919         Simplify by using `define-derived-mode'.
11920         * info.el (Info-mode):
11921         * calendar/todo-mode.el (todo-mode):
11922         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11923         (gomoku-mode-map): Move initialization into declaration.
11925 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
11927         Fix Bug#5840.
11928         * ido.el (ido-file-name-all-completions-1):
11929         * minibuffer.el (minibuffer-completion-help):
11930         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11932 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11934         * simple.el (non-essential): New var.
11936         Add a new field `location' to bookmarks for non-file bookmarks.
11937         * bookmark.el (bookmark-location): Use the new field, if present.
11938         (bookmark-insert-location): Undo last change, not needed any more.
11939         * man.el (Man-bookmark-make-record):
11940         * woman.el (woman-bookmark-make-record): Add `location' field.
11942 2010-04-14  Juri Linkov  <juri@jurta.org>
11944         * simple.el (scroll-error-top-bottom): New defcustom.
11945         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
11947         * emulation/pc-select.el (pc-select-override-scroll-error):
11948         Obsolete in favor of `scroll-error-top-bottom'.
11950 2010-04-14  Juri Linkov  <juri@jurta.org>
11952         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11953         `scroll-up-command' and `M-v' to `scroll-down-command'.
11955         * emulation/cua-rect.el (cua--init-rectangles):
11956         * forms.el (forms--change-commands):
11957         * image-mode.el (image-mode-map):
11958         Remap scroll-down-command and scroll-up-command
11959         in addition to scroll-down and scroll-up.
11961 2010-04-14  Juri Linkov  <juri@jurta.org>
11963         * mwheel.el (scroll-preserve-screen-position-commands):
11964         Add mwheel-scroll to this list of commands.
11966         * simple.el (scroll-preserve-screen-position-commands):
11967         Add scroll-up-command, scroll-down-command, scroll-up-line,
11968         scroll-down-line to this list of commands.
11970 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11972         * obsolete/complete.el: Move from lisp/complete.el.
11974         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11976         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11977         to the minor mode function now turns the mode ON unconditionally.
11979 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11981         * vc-dir.el (vc-dir-kill-line): New command.
11982         (vc-dir-mode-map): Bind it to C-k.
11984         * bookmark.el (bookmark-insert-location): Handle a nil filename.
11986         * woman.el: Add bookmark declarations to silence the compiler.
11987         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11988         step to compatibility between man and woman bookmarks.
11989         Adjust for Man-default-bookmark-title renaming.
11990         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
11992         * man.el: Add bookmark declarations to silence the compiler.
11993         (Man-name-local-regexp): Make it match NAME as well.
11994         (Man-getpage-in-background): Return the buffer.
11995         (Man-notify-when-ready): Use `case'.
11996         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11997         Don't hardcode "NAME".  Simplify.
11998         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11999         Rename from Man-bookmark-make-record.
12000         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
12001         we have the actual man-args.  Use Man-getpage-in-background rather
12002         than `man' since the arg is already processed.  Let bookmark.el do the
12003         window handling.  Only wait for the relevant process.
12004         Don't forget to autoload.
12006         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12008 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12010         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12011         New functions.
12012         (woman-mode): Setup bookmark support.
12014         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12015         (man-bookmark-jump): New functions.
12016         (Man-mode): Setup bookmark support.
12018 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
12020         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12021         recognize ssh-keygen prompt (Bug#2817).
12023 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
12025         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12027 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
12029         Synchronize with Tramp repository.
12031         * net/tramp.el (tramp-completion-function-alist)
12032         (tramp-file-name-regexp, tramp-chunksize)
12033         (tramp-local-coding-commands, tramp-remote-coding-commands):
12034         Fix docstring.
12035         (tramp-remote-process-environment): Use `format' instead of `concat'.
12036         (tramp-handle-directory-files-and-attributes)
12037         (tramp-get-remote-path): Use `copy-tree'.
12038         (tramp-handle-file-name-all-completions): Backward/ XEmacs
12039         compatibility: Use `completion-ignore-case' if
12040         `read-file-name-completion-ignore-case' does not exist.
12041         (tramp-do-copy-or-rename-file-directly): Do not use
12042         `tramp-handle-file-remote-p'.
12043         (tramp-do-copy-or-rename-file-out-of-band):
12044         Use `tramp-compat-delete-directory'.
12045         (tramp-do-copy-or-rename-file-out-of-band)
12046         (tramp-compute-multi-hops, tramp-maybe-open-connection):
12047         Use `format-spec-make'.
12048         (tramp-find-foreign-file-name-handler)
12049         (tramp-advice-make-auto-save-file-name)
12050         (tramp-set-auto-save-file-modes): Remove superfluous check for
12051         `stringp'.  This is done inside `tramp-tramp-file-p'.
12052         (tramp-debug-outline-regexp): New defconst.
12053         (tramp-get-debug-buffer): Use it.
12054         (tramp-check-for-regexp): Use (forward-line 1).
12055         (tramp-set-auto-save-file-modes): Adapt version check.
12057         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12058         Wrap call of `featurep' for 2nd argument.
12059         (tramp-compat-make-temp-file): Simplify fallback implementation.
12060         (tramp-compat-copy-tree): Remove function.
12061         (tramp-compat-delete-directory): Provide implementation for older
12062         Emacsen.
12064         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12065         Do not use `tramp-fish-handle-file-attributes.
12067         * net/trampver.el: Update release number.
12069 2010-04-10  Glenn Morris  <rgm@gnu.org>
12071         * progmodes/compile.el (compilation-save-buffers-predicate):
12072         Add missing :version tag.
12074 2010-04-09  Sam Steingold  <sds@gnu.org>
12076         * progmodes/compile.el (compilation-save-buffers-predicate):
12077         Remove the "autoload" cookie.
12079         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12080         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12081         and `bug-reference-prog-mode' can be used in hooks directly.
12083 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
12085         Add --author support to git commit.
12086         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12087         (vc-git-log-edit-mode): New minor mode.
12088         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12089         New declarations.
12091 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
12093         * vc-hooks.el, vc-git.el: Improve documentation comments.
12095 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12097         Fix some of the problems in defsubst* (bug#5728).
12098         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12099         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12101 2010-04-07  Sam Steingold  <sds@gnu.org>
12103         * progmodes/compile.el (compilation-save-buffers-predicate):
12104         New custom variable.
12105         (compile, recompile): Pass it to `save-some-buffers'.
12107 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
12109         * wid-edit.el (widget-choose): Move cursor to the second line of
12110         the buffer (Bug#5695).
12112 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
12114         Add new VC methods: vc-log-incoming and vc-log-outgoing.
12115         * vc.el (vc-print-log-setup-buttons): New function split out from
12116         vc-print-log-internal.
12117         (vc-log-internal-common): New function, a parametrized version of
12118         vc-print-log-internal.
12119         (vc-print-log-internal): Just call vc-log-internal-common with the
12120         right arguments.
12121         (vc-incoming-outgoing-internal):
12122         (vc-log-incoming, vc-log-outgoing): New functions.
12123         (vc-log-view-type): New permanent local variable.
12125         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12127         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12128         of the dynamic bound vc-short-log.
12129         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12131         * vc-git.el (vc-git-log-outgoing): New function.
12132         (vc-git-log-view-mode): Use vc-log-view-type instead
12133         of the dynamic bound vc-short-log.
12135         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12136         of the dynamic bound vc-short-log.  Highlight the tag.
12137         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12138         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12139         (vc-hg-incoming-mode): Remove.
12140         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12142 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
12144         Fix default-directory for vc-root-diff.
12145         * vc.el (vc-root-diff): Bind default-directory to the root
12146         directory for the diff command.
12148 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
12150         * progmodes/verilog-mode.el (verilog-forward-sexp):
12151         (verilog-calc-1): Support "disable fork" and "fork wait" multi
12152         word keywords, suggested by Steve Pearlmutter.
12153         (verilog-pretty-declarations): Support lineup of declarations in
12154         port lists.
12155         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12156         fix bug for /* / comments.
12157         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12158         Speed up and simplfy as this is never called with a bound.
12159         (verilog-pretty-declarations): Enhance to line up declarations
12160         inside a parameter list, suggested by Alan Morgan.
12161         (verilog-pretty-expr): Tune assignment regular expression match
12162         string for corner cases; also use markers instead of character
12163         number as indent changes the later.
12165 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
12167         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12168         as missing keyword.
12169         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12170         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
12171         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12172         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
12173         Tennant.
12174         (verilog-keywords):
12175         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12176         1800-2009 keywords, including "global.".
12178 2010-04-06  John Wiegley  <jwiegley@gmail.com>
12180         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12181         appearing in buffer list (if a live buffer name matched a recentf
12182         file basename).  Should use uniquify to offer a real solution.
12184 2010-04-06  John Wiegley  <jwiegley@gmail.com>
12186         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12187         comment to code, and add a :version tag.
12188         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12190 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
12192         Enable recentf-mode if using virtual buffers.
12193         * ido.el (recentf-list): Declare for byte-compiler.
12194         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
12195         (ido-make-buffer-list): Simplify.
12196         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
12198 2010-04-05  Juri Linkov  <juri@jurta.org>
12200         Scrolling commands which scroll a line instead of full screen.
12201         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12203         * simple.el (scroll-up-line, scroll-down-line): New commands.
12204         Put property isearch-scroll=t on them.
12206         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12207         Remove commands.
12209 2010-04-05  Juri Linkov  <juri@jurta.org>
12211         Scrolling commands which do not signal errors at top/bottom.
12212         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12214         * simple.el (scroll-up-command, scroll-down-command): New commands.
12215         Put property isearch-scroll=t on them.
12217         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12218         `scroll-down-command' and [next] from `scroll-up' to
12219         `scroll-up-command'.
12221         * emulation/cua-base.el: Put property CUA=move on
12222         `scroll-up-command' and `scroll-down-command'.
12223         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12224         and `scroll-down-command' to `cua-scroll-down'.
12226 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
12228         * help.el (describe-mode): Return nil.
12230 2010-04-04  John Wiegley  <jwiegley@gmail.com>
12232         * ido.el (ido-use-virtual-buffers): New variable to indicate
12233         whether "virtual buffer" support is enabled for IDO.
12234         (ido-virtual): Face used to indicate virtual buffers in the list.
12235         (ido-buffer-internal): If a buffer is chosen, and no such buffer
12236         exists, but a virtual buffer of that name does (which would be why
12237         it was in the list), recreate the buffer by reopening the file.
12238         (ido-make-buffer-list): If virtual buffers are being used, call
12239         `ido-add-virtual-buffers-to-list' before the make list hook.
12240         (ido-virtual-buffers): New variable which contains a copy of the
12241         current contents of the `recentf-list', albeit pared down for the
12242         sake of speed, and with proper faces applied.
12243         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12244         create a list of "virtual buffers" to present to the user in
12245         addition to the currently open set.  Note that this logic could
12246         get rather slow if that list is too large.  With the default
12247         `recentf-max-saved-items' of 200, there is little speed penalty.
12249 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12251         * font-lock.el: Require CL when compiling.
12252         (font-lock-turn-on-thing-lock): Use `case'.
12254 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
12256         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12257         Zaretskii.
12259 2010-04-02  Juri Linkov  <juri@jurta.org>
12261         * ehelp.el (electric-help-orig-major-mode):
12262         New buffer-local variable.
12263         (electric-help-mode): Set it to original major-mode.  Doc fix.
12264         (with-electric-help): Use `electric-help-orig-major-mode' instead
12265         of (default-value 'major-mode).  Doc fix.
12266         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12268 2010-04-02  Sam Steingold  <sds@gnu.org>
12270         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12271         `vc-hg-command' with a list of flags.
12273         * progmodes/bug-reference.el (bug-reference-bug-regexp):
12274         Also accept "patch" and "RFE".
12275         (bug-reference-fontify): `bug-reference-url-format' can also be a
12276         function to be able to handle the bug kind.
12277         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12279 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
12281         * tmm.el (tmm-get-keymap): Check with symbolp before passing
12282         value to fboundp, it may not be a symbol.
12284 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12286         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12288 2010-03-31  Juri Linkov  <juri@jurta.org>
12290         * simple.el (next-line, previous-line): Re-throw a signal
12291         with `signal' instead of using `ding'.
12292         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12294 2010-03-31  Juri Linkov  <juri@jurta.org>
12296         * simple.el (keyboard-escape-quit): Raise deselecting the active
12297         region higher than exiting the minibuffer.
12298         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12300 2010-03-31  Juri Linkov  <juri@jurta.org>
12302         * image.el (image-animated-p): Use `image-metadata' instead of
12303         `image-extension-data'.  Get GIF extenstion data from metadata
12304         property `extension-data'.
12306 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12308         * simple.el (append-to-buffer): Simplify.
12310 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
12312         * textmodes/artist.el (artist-mode): Fix typo in docstring.
12313         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
12315 2010-03-31  Kenichi Handa  <handa@m17n.org>
12317         * language/sinhala.el (composition-function-table): Fix regexp for
12318         the new Unicode specification.
12320         * language/indian.el (devanagari-composable-pattern)
12321         (tamil-composable-pattern, kannada-composable-pattern)
12322         (malayalam-composable-pattern): Adjust for the new Unicode
12323         specification.
12324         (bengali-composable-pattern, gurmukhi-composable-pattern)
12325         (gujarati-composable-pattern, oriya-composable-pattern)
12326         (telugu-composable-pattern): New variables to cope with the new
12327         Unicode specification.  Use them in composition-function-table.
12329 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12331         Make tmm-menubar work for the Buffers menu again (bug#5726).
12332         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12333         vectors rather than cons cells, as used in menu-bar-update-buffers.
12335 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12337         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12338         (js-insert-and-indent): Revert 2009-08-15 change, restoring
12339         electric punctuation for "{}();,:" (Bug#5586).
12341         * mail/sendmail.el (mail-default-directory): Doc fix.
12343 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12345         * mail/sendmail.el (mail-default-directory): Doc fix.
12347 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
12349         * subr.el (version-regexp-alist, version-to-list)
12350         (version-list-<, version-list-=, version-list-<=)
12351         (version-list-not-zero, version<, version<=, version=): Doc fix.
12352         (Bug#5744).
12354 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
12356         * vc.el (vc-root-diff): Doc fix.
12358 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12360         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12362         * simple.el (append-to-buffer): Fix last change.
12364 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12366         * simple.el (append-to-buffer): Ensure that point is preserved if
12367         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
12368         (Bug#5749)
12370 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12372         * files.el (auto-mode-case-fold): Change default to t.
12374 2010-03-30  Juri Linkov  <juri@jurta.org>
12376         * dired-x.el (dired-omit-mode): Doc fix.
12378 2010-03-30  Juri Linkov  <juri@jurta.org>
12380         * replace.el (occur-accumulate-lines): Move occur-engine related
12381         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12382         to be located after `occur-engine'.
12384 2010-03-30  Juri Linkov  <juri@jurta.org>
12386         Make occur handle multi-line matches cleanly with context.
12387         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12389         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12390         (occur-engine): Add local variables `ret', `prev-after-lines',
12391         `prev-lines'.  Use more arguments for `occur-context-lines'.
12392         Set first elem of its returned list to `data', and the second elem
12393         to `prev-after-lines'.  Don't print the separator line.
12394         In the end, print remaining context after-lines.
12395         (occur-context-lines): Add new arguments `begpt', `endpt',
12396         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
12397         after-lines of the previous match with before-lines of the
12398         current match and not overlap them.  Return a list with two
12399         values: the output line and the list of context after-lines.
12401 2010-03-30  Juri Linkov  <juri@jurta.org>
12403         * replace.el (occur-accumulate-lines): Fix a bug where the first
12404         context line at the beginning of the buffer was missing.
12406 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
12408         * files.el: Make bidi-display-reordering safe variable for boolean
12409         values.
12411 2010-03-29  Phil Hagelberg  <phil@evri.com>
12412             Chong Yidong  <cyd@stupidchicken.com>
12414         * subr.el: Extend progress reporters to perform "spinning".
12415         (progress-reporter-update, progress-reporter-do-update):
12416         Handle non-numeric value arguments.
12417         (progress-reporter--pulse-characters): New var.
12419 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
12421         * progmodes/compile.el (compilation-start): Fix regexp detection
12422         of initial cd command (Bug#5771).
12424 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
12426         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12428 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
12430         Restore GDB/MI fuctionality removed by r99212.
12431         * progmodes/gdb-mi.el: Restore.
12432         * progmodes/gdb-ui.el: Remove.
12433         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12435 2010-03-25  Glenn Morris  <rgm@gnu.org>
12437         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12438         all dired buffers, even tramp ones.  (Bug#5755)
12440 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12442         Add "union tags" in mpc.el.
12443         * mpc.el: Remove backward compatibility code.
12444         (mpc-browser-tags): Change default.
12445         (mpc--find-memoize-union-tags): New var.
12446         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12447         (mpc-cmd-find): Handle the case where the playlist does not exist.
12448         Handle union-tags.
12449         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
12450         (mpc-cmd-add): Use mpc-cmd-flush.
12451         (mpc-tagbrowser-tag-name): New fun.
12452         (mpc-tagbrowser-buf): Use it.
12453         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
12455 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12457         Misc cleanup.
12458         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12459         Use replace-regexp-in-string.
12460         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12461         (makefile-imake-mode-syntax-table): Move init into defvar.
12462         (makefile-mode): Use define-derived-mode.
12464         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12465         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12466         not be present any more.
12468 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12470         * faces.el (set-face-attribute): Fix typo in docstring.
12471         (face-valid-attribute-values): Reflow docstring.
12473 2010-03-24  Glenn Morris  <rgm@gnu.org>
12475         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12477 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12479         * indent.el (indent-for-tab-command): Doc fix.
12481 2010-03-24  Alan Mackenzie  <acm@muc.de>
12483         * progmodes/cc-engine.el (c-remove-stale-state-cache):
12484         Fix off-by-one error.  Fixes bug #5747.
12486 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12488         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12489         (image-dired-read-comment): Doc fix.
12491         * json.el (json-object-type, json-array-type, json-key-type)
12492         (json-false, json-null, json-read-number):
12493         * minibuffer.el (completion-in-region-functions):
12494         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12495         (cal-tex-cursor-week):
12496         * emacs-lisp/trace.el (trace-function):
12497         * eshell/em-basic.el (eshell/printnl):
12498         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12499         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12500         * obsolete/levents.el (allocate-event, event-key, event-object)
12501         (event-point, event-process, event-timestamp, event-to-character)
12502         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12503         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12504         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12505         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12506         (reftex-highlight-selection): Fix typos in docstrings.
12508 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12510         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12512 2010-03-24  Glenn Morris  <rgm@gnu.org>
12514         * mail/rmail.el (rmail-highlight-face): Restore option deleted
12515         2008-02-13 without comment; mark it obsolete.
12516         (rmail-highlight-headers): Use rmail-highlight-face once more.
12518 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12520         * woman.el (woman2-process-escapes): Only consume the newline if
12521         the filler character is on a line by itself (Bug#5729).
12523 2010-03-24  Kenichi Handa  <handa@m17n.org>
12525         * language/indian.el (devanagari-composable-pattern): Add more
12526         consonants.
12528 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12530         * net/trampver.el: Update release number.
12532 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12534         * net/tramp.el (tramp-find-executable):
12535         Use `tramp-get-connection-buffer'.  Make the regexp for checking
12536         output of "wc -l" more robust.
12537         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12538         (tramp-open-connection-setup-interactive-shell): Remove workaround
12539         for OpenSolaris bug, it is not needed anymore.
12541 2010-03-24  Glenn Morris  <rgm@gnu.org>
12543         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
12545 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
12547         * files.el (auto-mode-alist): Accept more verilog file patterns.
12549 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12551         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12553 2010-03-24  Glenn Morris  <rgm@gnu.org>
12555         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12556         log-edit-before-checkin-process.
12558         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12560         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12562         * vc-dispatcher.el (vc-start-logentry): Doc fix.
12563         (log-view-process-buffer, log-edit-extra-flags): Declare.
12565         * log-edit.el (log-edit-before-checkin-process): Doc fix.
12567 2010-03-23  Sam Steingold  <sds@gnu.org>
12569         Fix bug#5620: recalculate all markers on compilation buffer
12570         modifications, not on file modifications.
12571         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12572         variable: the buffer modification time, for buffers not associated with
12573         files.
12574         (compilation-mode): Create it.
12575         (compilation-filter): Update it.
12576         (compilation-next-error-function): Use it instead of
12577         `visited-file-modtime' for timestamp.
12579 2010-03-23  Juri Linkov  <juri@jurta.org>
12581         Implement Occur multi-line matches.
12582         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12584         * replace.el (occur): Doc fix.
12585         (occur-engine): Set `begpt' to the beginning of the first line.
12586         Set `endpt' to the end of the last match line.  At first, count
12587         line numbers between `origpt' and `begpt'.  Split out code from
12588         `out-line' variable to new let-bindings `match-prefix' and
12589         `match-str'.  In `out-line' add non-numeric prefix to all
12590         non-first lines of multi-line matches.  Finally, count lines
12591         between `begpt' and `endpt' and add to `lines'.
12593 2010-03-23  Juri Linkov  <juri@jurta.org>
12595         * replace.el (occur-accumulate-lines, occur-engine):
12596         Use `occur-engine-line' instead of duplicate code.
12597         (occur-engine-line): New function created from duplicate code
12598         in `occur-accumulate-lines' and `occur-engine'.
12600         * replace.el (occur-engine-line): Add optional arg `keep-props'.
12601         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12603 2010-03-23  Juri Linkov  <juri@jurta.org>
12605         * finder.el: Remove TODO tasks.
12607         * info.el (Info-finder-find-node): Add node "all"
12608         with all package info.  Handle a list of multiple keywords
12609         separated by comma.
12610         (info-finder): In interactive use with a prefix argument,
12611         use `completing-read-multiple' to read a list of keywords
12612         separated by comma.
12614 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12616         Add a new completion style `substring'.
12617         * minibuffer.el (completion-basic--pattern): New function.
12618         (completion-basic-try-completion, completion-basic-all-completions):
12619         Use it.
12620         (completion-substring--all-completions)
12621         (completion-substring-try-completion)
12622         (completion-substring-all-completions): New functions.
12623         (completion-styles-alist): New style `substring'.
12625 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12627         Get rid of .elc files after removal of the corresponding .el.
12628         * Makefile.in (compile-clean): New target.
12629         (compile-main): Use it.
12631 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
12633         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12634         don't do make there.  When compiling with separate object dir, there
12635         is no Makefile there.
12637 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12639         Get rid of the ELCFILES abomination, again.
12640         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12641         (all, compile): Don't call compile-last.
12642         (compile-main): Build the "elcfiles" list dynamically.
12643         (compile-targets): New (internal) target.
12645 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12647         * Makefile.in (top_srcdir): Define.
12648         (abs_top_builddir): Define.
12649         (srcdir): Don't append `/..'.
12650         (EMACS): Use ${abs_top_builddir}.
12651         (all, compile, compile-always, compile-last): Don't set emacswd.
12652         (update-subdirs, update-authors): Use $(top_srcdir) instead of
12653         $(srcdir).
12654         (lisp): Use $(srcdir) instead of @srcdir@.
12656 2010-03-21  Juri Linkov  <juri@jurta.org>
12658         Fix message of multi-line occur regexps and multi-buffer header lines.
12659         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12661         * replace.el (occur-1): Don't display regexp if it is longer
12662         than window-width.  Use `query-replace-descr' to display regexp.
12663         (occur-engine): Don't display regexp in the buffer header for
12664         multi-buffer occur.  Display a separate header line with total
12665         match count and regexp for multi-buffer occur.
12666         Use `query-replace-descr' to display regexp.
12668 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
12670         * net/secrets.el: Fix parenthesis.
12671         (secrets-enabled): Fix parenthesis.
12673 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12675         Use more relative file and directory names.
12676         * Makefile.in (EMACS): Arrange for it to work when we chdir.
12677         (setwins, setwins_almost, setwins_for_subdirs):
12678         Don't `cd'; output relative names.
12679         (all, compile, compile-always, compile-last): Set emacswd.
12680         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12681         Just cd to the lisp source dir so we can use relative file names.
12683         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12685 2010-03-20  Glenn Morris  <rgm@gnu.org>
12687         * textmodes/rst.el: Use faces for font-lock customization, and make the
12688         old -face variables obsolete.
12689         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12690         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12691         (rst-block-face, rst-external-face, rst-definition-face)
12692         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12693         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12694         Make obsolete.
12695         (rst-font-lock-keywords-function): Update for above changes.
12697 2010-03-20  Juri Linkov  <juri@jurta.org>
12699         * s-region.el:
12700         * obsolete/s-region.el: Move to obsolete.
12702 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
12704         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12706 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12708         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12710 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12712         Add special markup processing for commit logs.
12713         * log-edit.el (log-edit-extra-flags): New variable.
12714         (log-edit): Add new argument MODE.  Use that mode when non-nil
12715         instead of the log-view-mode.
12716         (log-view-process-buffer): New function.
12718         * vc.el: Document that the checkin method takes optional
12719         arguments.  Document new backend specific method: log-view-mode.
12720         (vc-default-log-edit-mode): New function.
12721         (vc-checkin): Use a backend specific log-view-mode.
12722         Pass extra arguments to the checkin method.
12723         (vc-modify-change-comment): Pass a dummy extra argument.
12725         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12726         log-edit.
12727         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12728         (vc-finish-logentry): Process the log buffer before passing it
12729         down.  Pass log-edit-extra-flags.
12731         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12732         command.
12733         (log-edit-extra-flags, log-edit-before-checkin-process):
12734         New declarations.
12736         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12737         command.
12738         (log-edit-extra-flags, log-edit-before-checkin-process):
12739         New declarations.
12740         (vc-hg-log-edit-mode): New derived mode.
12742         * vc-arch.el (vc-arch-checkin):
12743         * vc-cvs.el (vc-cvs-checkin):
12744         * vc-git.el (vc-git-checkin):
12745         * vc-mtn.el (vc-mtn-checkin):
12746         * vc-rcs.el (vc-rcs-checkin):
12747         * vc-sccs.el (vc-sccs-checkin):
12748         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12750 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12752         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12753         parent typo).
12755 2010-03-19  Glenn Morris  <rgm@gnu.org>
12757         * password-cache.el (password-cache, password-cache-expiry): Autoload.
12759 2010-03-18  Glenn Morris  <rgm@gnu.org>
12761         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12763         * replace.el (query-replace-history): Give it a doc string.
12764         (map-query-replace-regexp): Use query-replace-from-history-variable
12765         and query-replace-to-history-variable.
12767         * mail/hashcash.el (declare-function): Remove duplicate definition.
12769         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12770         Make it an obsolete alias for report-emacs-bug-address.
12771         (message-strip-special-text-properties): Declare.
12772         (report-emacs-bug): Remove test for a pretest bug address.
12773         Combine message-mode-specific code.
12775         * mail/supercite.el: Don't require sendmail.
12776         (mh-in-header-p): Declare rather than using with-no-warnings.
12777         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12778         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
12780         * calendar/cal-french.el: Convert to utf-8.
12782         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12783         Emacs scripts.
12785 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
12787         * net/secrets.el (secrets-enabled): New variable.  Use it instead
12788         of a subfeature.
12790 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
12792         * net/secrets.el (top): Register the D-Bus signals only when the
12793         service "org.freedesktop.secrets" can be pinged.
12794         Provide subfeature `enabled'.
12796 2010-03-14  Juri Linkov  <juri@jurta.org>
12798         Add finder unknown keywords.
12800         * finder.el (finder-unknown-keywords): New function.
12802         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12803         to create a Finder node with unknown keywords.
12805 2010-03-14  Juri Linkov  <juri@jurta.org>
12807         * finder.el (finder-compile-keywords): Replace `princ' with
12808         `prin1' on a list of symbols interned from keyword strings.
12810         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12811         a comma, then split keywords using a comma and optional whitespace.
12812         Otherwise, split by whitespace.
12814         * complete.el:
12815         * face-remap.el:
12816         * log-view.el:
12817         * net/hmac-def.el:
12818         * net/hmac-md5.el:
12819         * net/netrc.el:
12820         * progmodes/mixal-mode.el: Fix keywords.
12822 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
12824         * Makefile.in (ELCFILES): Add net/secrets.elc.
12826         * net/secrets.el: New file.
12828 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12830         * facemenu.el (list-colors-display, list-colors-print): New arg
12831         callback.  Use it to allow selecting colors.
12833         * wid-edit.el (widget-image-insert): Insert image prop even if the
12834         current display is non-graphic.
12835         (widget-field-value-set): New fun.
12836         (editable-field): Use it.
12837         (widget-field-value-get): Clean up unused var.
12838         (widget-color-value-create, widget-color--choose-action):
12839         New funs.  Allow using list-colors-display to choose color.
12841 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12843         * cus-edit.el: Resort topmost custom groups.
12844         (custom-buffer-sort-alphabetically): Default to t.
12845         (customize-apropos): Use apropos-parse-pattern.
12846         (custom-search-field): New var.
12847         (custom-buffer-create-internal): Add custom-apropos search field.
12848         (custom-add-parent-links): Don't display parent doc.
12849         (custom-group-value-create): Don't sort top-level custom group.
12850         (custom-magic-value-create): Show visibility button before option name.
12852         (custom-variable-state): New fun, from custom-variable-state-set.
12853         (custom-variable-state-set): Use it.
12854         (custom-group-value-create): Hide options with standard values
12855         using the :hidden-states property.  Use progress reporter.
12857         (custom-show): Simplify.
12858         (custom-visibility): Disable images by default.
12859         (custom-variable): New property :hidden-states.
12860         (custom-variable-value-create): Enable images for
12861         custom-visibility widgets.  Use :hidden-states property to
12862         determine initial visibility.
12864         * wid-edit.el (widget-image-find): Give images center ascent.
12865         (visibility): Add :on-image and :off-image properties.
12866         (widget-visibility-value-create): Use them.
12868 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12870         * cus-edit.el (processes): Remove from development group.
12871         (oop, hypermedia): Delete group.
12872         (comm): Promote to top-level group.
12874         * net/browse-url.el (browse-url):
12875         * net/xesam.el (xesam):
12876         * net/tramp.el (tramp):
12877         * net/goto-addr.el (goto-address):
12878         * net/ange-ftp.el (ange-ftp): Put in comm group.
12880         * view.el (view): Remove from editing group.
12882         * uniquify.el (uniquify): Put in files group.
12884         * net/browse-url.el (browse-url):
12885         * ps-print.el (postscript): Put in external group.
12887         * cus-edit.el (outlines):
12888         * textmodes/text-mode.el (text-mode-hook):
12889         * textmodes/table.el (table):
12890         * textmodes/picture.el (picture):
12891         * outline.el (outlines): Put in wp group.
12893         * nxml/nxml-mode.el (nxml): Remove from wp group.
12895         * net/tramp-imap.el (tramp-imap): Put in tramp group.
12897         * mail/metamail.el (metamail): Remove from hypermedia group.
12899         * cus-edit.el (abbrev):
12900         * whitespace.el (whitespace):
12901         * vcursor.el (vcursor):
12902         * reveal.el (reveal):
12903         * hl-line.el (hl-line): Put in convenience group.
12905         * epg-config.el (epg): Put in data group.
12907         * emulation/pc-select.el (pc-select): Put in emulations group.
12909         * calculator.el (calculator): Put in applications group.
12911 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12913         Add .dir-locals.el support for file-less buffers.
12914         * files.el (hack-local-variables): Split out code to apply local
12915         variable settings ...
12916         (hack-local-variables-apply): ... here.  New function.
12917         (hack-dir-local-variables): Use the default directory for when the
12918         buffer does not have an associated file.
12919         (hack-dir-local-variables-non-file-buffer): New function.
12920         * diff-mode.el (diff-mode):
12921         * vc-annotate.el (vc-annotate-mode):
12922         * vc-dir.el (vc-dir-mode):
12923         * log-edit.el (log-edit-mode):
12924         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12926 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12928         Add support for shelving snapshots and for showing shelves.
12929         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12930         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12931         New functions.
12932         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12933         (vc-bzr-extra-menu-map): Map them.
12935 2010-03-11  Glenn Morris  <rgm@gnu.org>
12937         * cus-edit.el (customize-changed-options-previous-release):
12938         Bump to 23.1.
12940         * image.el (image-animate-max-time): Fix :version tag.
12942 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
12944         * Branch for 23.2.
12946 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12948         * vc-git.el (vc-git-revision-table): Include remote branches.
12950 2010-03-10  Kim F. Storm  <storm@cua.dk>
12952         Animated image API.
12953         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12955         * image.el (image-animate-max-time): New defcustom.
12956         (image-animated-types): New defconst.
12957         (create-animated-image, image-animate-timer)
12958         (image-animate-start, image-animate-stop, image-animate-timeout)
12959         (image-animated-p): New functions.
12961         * image-mode.el (image-toggle-display-image):
12962         Replace `create-image' with `create-animated-image'.
12964 2010-03-09  Miles Bader  <miles@gnu.org>
12966         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12967         instead of "format:"; this ensures that the output is
12968         newline-terminated.
12970 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
12972         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12973         that all errors are caught, and that the return value is always a
12974         list (Bug#5692).
12976 2010-03-08  Kenichi Handa  <handa@m17n.org>
12978         * language/misc-lang.el (windows-1256): New coding system.
12979         (cp1256): New alias of windows-1256 (bug#5690).
12981 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
12983         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12984         call to rfc822-bad-address.  (Bug#5692)
12986 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12988         * vc-git.el (vc-git-annotate-extract-revision-at-line):
12989         Use vc-git-root as default directory for revision path (Bug#5657).
12991 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
12993         * calculator.el (calculator): Don't bind split-window-keep-point
12994         (Bug#5674).
12996 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12998         * vc-git.el: Re-flow to fit into 80 columns.
12999         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13000         Remove spurious `quote' element in each case alternative.
13001         (vc-git-show-log-entry): Use prog1.
13002         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13004 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13006         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13008 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
13010         * macros.el (insert-kbd-macro): Look up keyboard macro using the
13011         definition, not the name (Bug#5481).
13013 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
13015         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13016         argument with a local variable.  (Bug#5670)
13018 2010-03-02  Juri Linkov  <juri@jurta.org>
13020         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
13022 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
13024         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13025         error when FILENAME and NEWNAME are existing remote directories.
13027         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13028         parameter DIR-FLAG.
13030 2010-03-02  Glenn Morris  <rgm@gnu.org>
13032         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13033         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13035 2010-03-01  Kenichi Handa  <handa@m17n.org>
13037         * language/burmese.el (burmese-composable-pattern): Rename from
13038         myanmar-composable-pattern.
13040         * international/characters.el (script-list):
13041         * international/fontset.el (script-representative-chars):
13042         Change myanmar to burmese.
13043         (otf-script-alist): Likewise.
13044         (setup-default-fontset): Likewise.  Re-fix :otf spec.
13046 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
13048         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13050 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
13052         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13054 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
13056         * net/tramp.el (tramp-handle-write-region): START can be a string.
13057         Take care in the checks.  Reported by Dan Davison
13058         <davison@stats.ox.ac.uk>.
13060 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
13062         * net/dbus.el (dbus-introspect, dbus-get-property)
13063         (dbus-set-property, dbus-get-all-properties):
13064         Use `dbus-call-method' when noninteractive.  (Bug#5645)
13066 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
13068         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13069         * emacs-lisp/elint.el (elint-add-required-env):
13070         * calendar/icalendar.el (icalendar--add-diary-entry):
13071         * calc/calcalg2.el (math-tracing-integral):
13072         * files.el (recover-session-finish): Use with-current-buffer
13073         instead of save-excursion.
13075 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13077         Fix in-buffer completion when after-change-functions modify the buffer.
13078         * minibuffer.el (completion--replace): New function.
13079         (completion--do-completion): Use it and use relative movement.
13081 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
13083         * international/fontset.el (setup-default-fontset): Fix :otf spec.
13085 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
13087         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13088         Allow the characters _<> in the stack entry (Bug#5653).
13090 2010-02-26  Kenichi Handa  <handa@m17n.org>
13092         * language/burmese.el: Fix entries in composition-function-table.
13093         (myanmar-composable-pattern): New variable.
13095         * international/fontset.el (setup-default-fontset): Add an entry
13096         for myanmar.
13098         * international/characters.el (script-list): Add Myanmar
13099         Extended-A.
13101 2010-02-26  Glenn Morris  <rgm@gnu.org>
13103         * custom.el (custom-initialize-delay): Doc fix.
13105         * mail/sendmail.el (send-mail-function): Autoload the call
13106         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13108 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
13110         * files.el (hack-local-variables-filter): For eval forms, also
13111         check safe-local-variable-p (Bug#5636).
13113 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
13115         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13116         setting the modes by `ignore-errors'.  It might fail, for example
13117         if the file is not owned by the user but the group.
13118         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13120 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
13122         * files.el (directory-listing-before-filename-regexp):
13123         Use stricter matching for iso-style dates, to avoid false matches with
13124         date-like filenames (Bug#5597).
13126         * htmlfontify.el (htmlfontify): Doc fix.
13128         * eshell/eshell.el (eshell): Doc fix.
13130         * startup.el (fancy-about-screen): In mode-line, apply
13131         mode-line-buffer-id face only to the buffer name (Bug#5613).
13133 2010-02-20  Kevin Ryde  <user42@zip.com.au>
13135         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13136         In `watcom' anchor regexp to start of line, to avoid slowness
13137         (Bug#5599).
13139 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
13141         * subr.el (remove-yank-excluded-properties): Explain in a comment
13142         why `category' property is removed.
13144 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
13146         * isearch.el (isearch-update-post-hook, isearch-update):
13147         Revert 2010-02-17 change.
13149 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
13151         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13152         (icalendar--convert-weekly-to-ical)
13153         (icalendar--convert-yearly-to-ical)
13154         (icalendar--convert-block-to-ical)
13155         (icalendar--convert-cyclic-to-ical)
13156         (icalendar--convert-anniversary-to-ical): Take care of time
13157         specifications where hour has 1-digit only (Bug#5549).
13159 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
13161         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13162         of disassemble output in GDB 7.1.
13164 2010-02-19  Glenn Morris  <rgm@gnu.org>
13166         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13167         property.  (Bug#5593)
13169 2010-02-18  Sam Steingold  <sds@gnu.org>
13171         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13173 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13175         Use abbreviated file names in bookmarks (bug#5591).
13176         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13177         calls to expand-file-name.
13178         (bookmark-relocate): Use abbreviated file names in bookmarks.
13179         (bookmark-load): Use abbreviated file names in messages.
13181 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
13183         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13184         expand "." and "..".  Reported by Thierry Volpiatto
13185         <thierry.volpiatto@gmail.com>.
13187 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
13189         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13190         permissions of the temporary file to "0600".  In case the remote
13191         file has no read permissions for the owner, there might be
13192         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
13194 22010-02-18  Glenn Morris  <rgm@gnu.org>
13196         * emacs-lisp/authors.el (authors-renamed-files-alist):
13197         Add entries for INSTALL.CVS.
13199 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
13201         * vc-bzr.el: Fix typo in Known Bugs section.
13203         * isearch.el (isearch-update-post-hook): New hook.
13204         (isearch-update): Use the new hook.
13206 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
13208         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13209         Fix errors in copying directories.
13210         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13211         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13212         (tramp-handle-delete-file)
13213         (tramp-handle-dired-recursive-delete-directory)
13214         (tramp-handle-write-region): Flush also the cache for the upper
13215         directory.
13217 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
13219         * simple.el (save-interprogram-paste-before-kill): Doc fix.
13221         * cus-edit.el (hardware): Doc fix.
13223         * man.el (man): Add to external custom group.
13225         * delim-col.el (columns): Move to wp custom group.
13227         * doc-view.el (doc-view): Add to data custom group.
13229         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13231         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13232         by ispell-parse-output (Bug#5575).
13234 2010-02-16  Kenichi Handa  <handa@m17n.org>
13236         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13237         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13238         (skkdic-convert): Use `euc-japan' coding system for writing.
13240 2010-02-16  Glenn Morris  <rgm@gnu.org>
13242         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13243         tex-main-file before using it.  (Bug#5562)
13245 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13247         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13248         warnings, since it is annoying for the user to see them each time he
13249         runs the code.
13251 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
13253         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13254         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13255         instead of PROC for caching "first-password-request".  Otherwise,
13256         new processes would not profit from passwords already entered.
13258         * net/tramp-cache.el (tramp-dump-connection-properties):
13259         Don't save "first-password-request" property.
13261 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
13263         * outline.el (outline-head-from-level):
13264         * simple.el (with-wrapper-hook):
13265         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13266         (elint-defun, elint-buffer-env, elint-top-form-logged)
13267         (elint-unbound-variable):
13268         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13269         Fix typos in docstrings.
13271 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
13273         * files.el (insert-directory): When WILDCARD-REGEXP and
13274         FULL-DIRECTORY-P are nil, insert the file entry instead of the
13275         whole directory.  (Bug#5551)
13277         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
13278         dired's alignment sanity.  (Bug#5516)
13280 2010-02-14  Juri Linkov  <juri@jurta.org>
13282         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13283         Remove remaining ^H with their preceding chars.  (Bug#5566)
13285 2010-02-13  Glenn Morris  <rgm@gnu.org>
13287         * simple.el (transpose-subr): Give it a doc-string.
13289         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13290         Doc fixes.
13292 2010-02-12  Juri Linkov  <juri@jurta.org>
13294         * arc-mode.el (archive-unique-fname): Make directories for nested
13295         archives.  (Bug#5540)
13297 2010-02-12  Juri Linkov  <juri@jurta.org>
13299         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
13301 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13303         * subr.el (copy-overlay): Handle deleted overlays.
13305         * man.el (Man-completion-table): Don't signal an error if we can't run
13306         manual-program (bug#4056).
13308 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
13310         * textmodes/artist.el (artist-mt): Fix typos in docstring.
13312 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13314         * info.el (Info-bookmark-jump): Simplify.
13316         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13317         (bookmark-default-handler): Accept new bookmark field `buffer'.
13319 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
13321         * iswitchb.el (iswitchb-completions): Revert last change.
13323 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
13325         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13326         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13327         This prevents file names like "~/" being listed literally.
13329 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
13331         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13332         Remove dead code.  (Bug#5546)
13334 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
13336         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13337         correctly (Bug#5548).
13339 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
13341         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13342         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13344 2010-02-08  Kenichi Handa  <handa@m17n.org>
13346         * international/mule-util.el (with-coding-priority): Add autoload
13347         cookie for putting `lisp-indent-function'.
13349 2010-02-07  Glenn Morris  <rgm@gnu.org>
13351         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13352         Move F2003 named interfaces from keywords-2 to keywords-1, and
13353         use function-name-face rather than constant-face.
13354         Simplify "abstract interface" regexp.
13356 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
13358         * eshell/esh-util.el (eshell-file-attributes): New optional arg
13359         ID-FORMAT.  Pass it to `file-attributes'.
13361         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13363 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
13365         * faces.el (set-face-attribute): Allow calling
13366         internal-set-lisp-face-attribute with 'unspecified family and
13367         foundry argument (Bug#5536).
13369 2010-02-07  Glenn Morris  <rgm@gnu.org>
13371         * progmodes/f90.el (f90-font-lock-keywords-2)
13372         (f90-looking-at-type-like, f90-looking-at-program-block-end):
13373         Handle F2003 named interfaces.
13375 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
13377         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13378         beg and end before calling c-get-state-before-change-functions.
13380 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
13382         * vc-bzr.el (vc-bzr-dir-extra-headers):
13383         Disable the pending merges header.
13385 2010-02-05  Juri Linkov  <juri@jurta.org>
13387         * doc-view.el (doc-view-mode):
13388         * image-mode.el (image-mode): Put property mode-class=special.
13389         (Bug#4896)
13391 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
13393         * vc-svn.el (vc-svn-revision-table): New function.
13395 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
13397         * net/ange-ftp.el (ange-ftp-insert-directory):
13398         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13399         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13400         Handle also directories.  (Bug#5478)
13402 2010-02-05  Glenn Morris  <rgm@gnu.org>
13404         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13406 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
13408         * startup.el (command-line-1): Convert options beginning with a
13409         single dash as well (Bug#5519).
13411 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13413         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13414         * minibuffer.el (completion-initials-expand): Only check the presence
13415         of delims *within* the boundaries, since otherwise the / delim is
13416         always found for files.
13418         Fix up various corner case problems.
13419         * doc-view.el (doc-view-last-page-number): New function.
13420         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13421         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13422         (doc-view-kill-proc): Avoid inf-loop in freak cases.
13423         (doc-view-reconvert-doc): Use the new recursive delete-directory.
13424         (doc-view-convert-current-doc): Don't create the resolution.el file
13425         here any more.
13426         (doc-view-pdf/ps->png): Do it here instead.
13427         (doc-view-already-converted-p): Check that resolution.el is present.
13428         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13429         windows that are not yet showing images.
13431 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
13433         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13434         `dired-uncache' for every elemnt which is an absolute file name.
13436         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13437         directory, handle its directory component.
13438         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13439         function is called permanently and creates noise, otherwise.
13441         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13442         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13443         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
13445 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
13447         * macros.el (apply-macro-to-region-lines):
13448         Minor simplification.  (Bug#5485)
13450 2010-02-04  Glenn Morris  <rgm@gnu.org>
13452         * mail/rmail.el (rmail-show-message-1): Handle malformed
13453         quoted-printable text.  (Bug#5441)
13455         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13457         * simple.el (visual-line-mode): Capitalize lighter.
13459 2010-02-03  John Wiegley  <jwiegley@gmail.com>
13461         * iswitchb.el (iswitchb-completions): Add bookmark files to the
13462         list of files considered for "virtual buffer" completions.
13464 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
13466         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13467         also in case of (and (not full) (not wildcard)).  This is needed
13468         when dired is called with a list of files, which are not in
13469         `default-directory'.  (Bug#5478)
13471 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13473         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13475 2010-02-02  Juri Linkov  <juri@jurta.org>
13477         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13478         from unidiff to allow function-line after @@.
13480 2010-02-02  Juri Linkov  <juri@jurta.org>
13482         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13483         '(RCS SCCS) with inverted condition.
13485 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
13487         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13488         messages.
13490 2010-02-01  Juri Linkov  <juri@jurta.org>
13492         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13493         compare with "pkunzip" and "pkzip" instead of only "pkzip".
13494         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13495         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
13497 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13499         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13500         (doc-view-revert-buffer): New command.
13501         (doc-view-mode-map): Use it.
13503 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
13505         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13506         pending merge is detected.
13508 2010-01-31  Juri Linkov  <juri@jurta.org>
13510         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13511         beginning of interactive spec like all other grep commands do.
13512         Put "all" in front of "gz".  (Bug#5260)
13514 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
13516         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13518 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
13520         * dirtrack.el (dirtrack): Warn instead of signalling error if the
13521         regexp is incorrect (Bug#5476).
13523 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
13525         * net/tramp.el (tramp-handle-insert-directory): Handle also
13526         symlinks, when FILENAME is not in `default-directory'.
13528 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13530         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13531         FILE is not in `default-directory'.  (Bug#5478)
13533         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13534         of SWITCHES.  Handle the case, FILENAME is not in
13535         `default-directory'.  (Bug#5478)
13536         (tramp-register-file-name-handlers): Add safe-magic property.
13538 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
13540         * arc-mode.el (archive-zip-extract): Quote the argument passed to
13541         unzip (Bug#5475).
13543 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
13545         * progmodes/flymake.el (flymake-allowed-file-name-masks)
13546         (flymake-master-make-header-init): Add other C++ filename masks.
13547         (flymake-find-possible-master-files)
13548         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13550 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13552         Fix some busybox annoyances.
13554         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13555         not responding." string.
13556         (tramp-open-connection-setup-interactive-shell): Dump stty
13557         settings.  Enable "neveropen" arg for all `tramp-send-command'
13558         calls.  Handle "=" in variable values properly.
13559         (tramp-find-inline-encoding): Raise an error, when no encoding is
13560         found.
13561         (tramp-wait-for-output): Check, whether PROC buffer is available.
13562         Remove spurious " ^H" sequences, sent by busybox.
13563         (tramp-get-ls-command): Suppress coloring, if possible.
13565 2010-01-28  Glenn Morris  <rgm@gnu.org>
13567         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
13569         * log-edit.el (log-edit-strip-single-file-name): Add missing
13570         :safe, :group, and :version tags.
13572 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
13574         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13575         buffers.  (Bug#5477)
13577 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
13579         * files.el (delete-directory): Handle moving to trash without
13580         first doing recursion (Bug#5436).
13582 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
13584         * vc-hooks.el (vc-path): Mark as obsolete.
13586 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
13588         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13589         names too.
13591         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13592         for the short log.
13593         (vc-bzr-log-view-mode): Adjust regexp for the above change.
13595 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
13597         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13599         * vc-bzr.el (vc-bzr-revision-table): New function.
13601 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
13603         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13604         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
13606 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
13608         Remove support for adding --signoff on commit.
13609         Future support will use an incompatible generic mechanism.
13610         * vc-git.el (vc-git-add-signoff): Remove variable.
13611         (vc-git-toggle-signoff): Remove function.
13612         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13614         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13615         Rename from xterm-set-background-mode.  Return t if the background mode
13616         was set.
13617         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13618         earlier, call it again in case the background mode has changed.
13620 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
13622         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13623         (Bug#3541).
13625 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
13627         * emacs-lisp/assoc.el (aelement): Doc fix.
13628         (aput, adelete, amake): Use lexical-let (Bug#5450).
13630 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
13632         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13633         is the same as subprogram call, not declaration.  (Bug#5435).
13635 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
13637         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13638         (tramp-smb-maybe-open-connection): Use it.
13640 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
13642         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
13644 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13646         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13647         just because we see "encoding: 8bit".
13648         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13650 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
13652         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13654 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
13656         * jka-compr.el (jka-compr-load): If load-file is not in
13657         load-history, try its file-truename version.  (bug#5447)
13659 2010-01-21  Alan Mackenzie  <acm@muc.de>
13661         Fix a situation where deletion of a cpp construct throws an error.
13662         * progmodes/cc-engine.el (c-invalidate-state-cache):
13663         Before invoking c-with-all-but-one-cpps-commented-out, check that the
13664         special cpp construct is still in the buffer.
13665         (c-parse-state): Record the special cpp with markers, not numbers.
13667 2010-01-21  Kenichi Handa  <handa@m17n.org>
13669         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13670         process last-command-event, as it is now decoded first (Bug#5380).
13672 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
13674         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13676 2010-01-20  Glenn Morris  <rgm@gnu.org>
13678         * indent.el (tab-always-indent): Fix custom-type.
13680 2010-01-19  Alan Mackenzie  <acm@muc.de>
13682         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13683         buffer throws "args out of range".
13684         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13685         playing the role of delimiter.
13687 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
13689         * progmodes/ada-mode.el: Fix bug#5400.
13690         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13691         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13692         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
13693         Improve comments in "is" portion.  Handle null procedure declaration.
13694         (ada-move-to-end): Improve doc string.
13696 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
13698         * ido.el (ido-cur-list): Initialize to nil.
13699         Remove obsolete information from commentary.
13700         (ido-choice-list): Initialize to nil.
13701         (ido-get-bufname): Reject minibuffers.
13702         (ido-make-buffer-list): If "default" is a nonexistent
13703         buffer, ignore it, as per the function's comment.
13704         (ido-kill-buffer-internal): New function.
13705         (ido-kill-buffer-at-head): Use it.
13706         (ido-visit-buffer): Likewise.
13708 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
13710         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13712 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
13714         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13715         Fix typos in chart titles.
13717         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13718         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13719         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13720         (describe-class, eieio-describe-generic, describe-generic):
13721         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13722         (eieio-speedbar-expand):
13723         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13724         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13725         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13726         (viper-del-backward-char-in-replace, viper-backward-indent)
13727         (viper-brac-function, viper-register-to-point, viper-submit-report):
13728         * net/tramp.el (tramp-remote-coding-commands):
13729         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13730         Fix typos in docstrings.
13732 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
13734         * mail/sendmail.el (mail-yank-original): Set the mark if the
13735         specified function for yanking does not do it.
13737 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
13739         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
13741         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13742         resyncing a directory.
13744 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
13746         * progmodes/ada-mode.el: Fix bug#1920.
13747         (ada-ident-re): Delete ., allow multibyte characters.
13748         (ada-goto-label-re): New; matches goto labels.
13749         (ada-block-label-re): New; matches block labels.
13750         (ada-label-re): New; matches both.
13751         (ada-named-block-re): Delete; callers changed to use
13752         `ada-block-label-re' instead.
13753         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13754         Use `ada-block-label-re'.
13755         (ada-indent-on-previous-lines): Improve handling of goto labels.
13756         (ada-get-indent-block-start): Special-case block label.
13757         (ada-get-indent-label): Split into `ada-indent-block-label' and
13758         `ada-indent-goto-label'.
13759         (ada-goto-stmt-start, ada-goto-next-non-ws):
13760         Optionally ignore goto labels.
13761         (ada-goto-next-word): Simplify.
13762         (ada-indent-newline-indent-conditional): Insert newline before
13763         trying to fix indentation; doc fix.
13765 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
13767         * calc/calc.el (calc-command-flags): Give it an initial value.
13769 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
13771         * files.el (minibuffer-with-setup-hook):
13772         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13773         (artist-key-draw-continously, artist-key-do-continously-continously)
13774         (artist-key-set-point-continously, artist-mouse-draw-continously):
13775         Fix typos in docstrings.
13777 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
13779         * nxml/nxml-mode.el (nxml-extend-after-change-region):
13780         Never return t (Bug#3898).
13782 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
13784         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13785         can parse the output of the external commands (Bug#5279).
13787 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
13789         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13791 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
13793         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13795         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13797         * startup.el (command-line): Remove unused --icon-type arg.
13798         Handle --display arg, passing it to command-line-1 (Bug#5392).
13800 2010-01-16  Mario Lang  <mlang@delysid.org>
13802         * emacs-lisp/chart.el (chart-translate-namezone):
13803         * textmodes/artist.el (artist-compute-popup-menu-table):
13804         Remove duplicated words in doc-strings.
13806 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
13808         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13809         to mairix-search to suppress threading (Bug#5342).
13811 2010-01-15  Kenichi Handa  <handa@m17n.org>
13813         * international/mule-cmds.el (canonicalize-coding-system-name):
13814         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13816 2010-01-15  Glenn Morris  <rgm@gnu.org>
13818         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
13820         * wid-edit.el (widget-keymap): Doc fix.
13822         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13823         former seems to be more widely accepted by various svn versions.
13825 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13827         * find-cmd.el (find-constituents):
13828         * vc-arch.el (vc-arch-root):
13829         * window.el (window-body-height, pop-up-frames):
13830         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13831         * progmodes/ada-stmt.el (ada-if):
13832         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13833         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13834         (ispell-encoding8-command, ispell-aspell-supports-utf8)
13835         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13837         * progmodes/flymake.el (flymake-post-syntax-check):
13838         Fix typo in error message.
13840 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13842         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13843         which is always a string.  (Bug#5313)
13845 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13847         * progmodes/ada-xref.el (ada-default-prj-properties):
13848         Simplify previous change.
13850 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13852         * progmodes/ada-xref.el (ada-default-prj-properties):
13853         Default ada_project_path to $ADA_PROJECT_PATH.
13855 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13857         * progmodes/ada-mode.el (ada-create-keymap):
13858         Override `narrow-to-defun' with `ada-narrow-to-defun'.
13860 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13862         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13863         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13864         (ada-get-current-indent, ada-imenu-generic-expression)
13865         (ada-which-function): Check for it.
13867 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13869         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13870         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13872 2010-01-14  Glenn Morris  <rgm@gnu.org>
13874         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
13876 2010-01-14  Kenichi Handa  <handa@m17n.org>
13878         * composite.el (auto-composition-mode): Make it a buffer local
13879         variable (permanent-local).
13880         (auto-composition-function): Set the default value to
13881         auto-compose-chars.
13882         (auto-composition-mode): Make it a simple function, not a minor mode.
13883         (global-auto-composition-mode): Likewise.
13884         (turn-on-auto-composition-if-enabled): Delete it.
13886 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
13888         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13890 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
13892         * files.el (copy-directory): Compute target for recursive
13893         directories with identical names.  (Bug#5343)
13895 2010-01-12  Glenn Morris  <rgm@gnu.org>
13897         * mail/emacsbug.el (report-emacs-bug-pretest-address):
13898         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13900 2010-01-11  Sam Steingold  <sds@gnu.org>
13902         * imenu.el (imenu-default-create-index-function): Detect infinite
13903         loops caused by imenu-prev-index-position-function.
13905 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13907         * htmlfontify.el (htmlfontify-load-rgb-file)
13908         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13909         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13910         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13911         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13912         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13913         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13914         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13915         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13916         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13917         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13918         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13919         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13920         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13921         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13922         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13923         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13924         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13925         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13926         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13927         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13928         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13929         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13930         backslash-quoting from parentheses, etc.
13932 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
13934         * progmodes/js.el: Autoload javascript-mode alias.
13936 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13938         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13939         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13940         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13941         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13942         Fix typos in docstrings.
13943         (ffap-url-regexp): Doc fix.
13944         (ffap-at-mouse): Fix typo in message.
13946 2010-01-11  Glenn Morris  <rgm@gnu.org>
13948         * version.el (emacs-copyright): Set copyright year to 2010.
13950 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13952         * format.el (format-annotate-function): Only set
13953         write-region-post-annotation-function after running to-fn so as not to
13954         affect nested write-region calls (bug#5273).
13956 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
13958         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13959         wisent/python.el.
13961 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13963         * man.el (Man-goto-section): Signal error if the section is not
13964         found (Bug#5317).
13966 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
13968         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13969         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
13971 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13973         * progmodes/compile.el: Don't treat compile-command as safe if
13974         compilation-read-command might be nil (Bug#4218).
13976 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
13978         * startup.el (command-line-1): Use orig-argi to check for ignored X and
13979         NS options.
13981 2010-01-08  Kenichi Handa  <handa@m17n.org>
13983         * international/fontset.el (build-default-fontset-data):
13984         Exclude characters in scripts kana, hangul, han, or cjk-misc.
13986 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
13988         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13989         to `create-file-buffer' as it expects, not just a buffer name.
13990         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13991         to help uniquify.  (Bug#3224)
13993 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
13995         * font-setting.el (font-setting-change-default-font): Use user-spec
13996         instead of name.
13998 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
14000         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14002 2010-01-05  Tom Tromey  <tromey@redhat.com>
14004         * progmodes/python.el (python-font-lock-keywords):
14005         Handle qualified decorators (Bug#881).
14007 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
14009         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14010         in a lightweight checkout.
14012 2010-01-05  Kenichi Handa  <handa@m17n.org>
14014         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14016 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
14018         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14020 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
14022         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14023         checkouts.  (Bug#618)
14024         (vc-bzr-log-view-mode): Also highlight the author.
14025         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14026         (vc-bzr-shelve-menu-map):
14027         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14028         (vc-bzr-shelve-apply): Make prompt more explicit.
14030 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
14032         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14033         They are valid characters in URL paths (rfc3986), and at least
14034         Firefox does not understand the encoded version (Bug#3166).
14036 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
14038         * progmodes/octave-mod.el (octave-end-keywords)
14039         (octave-block-begin-or-end-regexp, octave-block-match-alist):
14040         Add "end" keyword (Bug#3061).
14041         (octave-end-as-array-index-p): New function.
14042         (calculate-octave-indent): Use it.
14044 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14046         * bookmark.el: Consistently put the text property on the bookmark name.
14047         (bookmark-bmenu-marks-width): Bump back to 2, to include
14048         annotation marks.
14049         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14050         property on the bookmark name, instead of not putting it at all.
14051         (bookmark-bmenu-list): Fix where we put the text property.
14053 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14055         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14056         for showing buffer modified state (as added in the previous change).
14058 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14060         * bookmark.el: Show modified state of bookmark buffer more accurately.
14061         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14062         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14063         (with-buffer-modified-unmodified): New macro.
14064         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14065         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14066         Use new macro to preserve the buffer modified state.
14068 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14070         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14071         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14072         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14073         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14074         (bookmark-bmenu-rename, bookmark-bmenu-locate)
14075         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14076         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14078 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
14080         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14081         Make the lines in the generated doc string shorter.  (Bug#4668)
14083 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
14085         * net/rcirc.el: Add follow-link binding (Bug#4738).
14087 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
14089         * Makefile.in (bzr-update): Rename from cvs-update.
14090         (cvs-update): New target for backward compatibility.
14092         * makefile.w32-in (bzr-update): Rename from cvs-update.
14093         (cvs-update): New target for backward compatibility.
14095 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14097         * bookmark.el: Remove gratuitous gratitude.
14099 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14101         * bookmark.el (bookmark-bmenu-any-marks): New function.
14102         (bookmark-bmenu-save): Clear buffer modification if no marks.
14104 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14106         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14107         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14108         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14109         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14111         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14112         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14113         To: emacs-devel {_AT_} gnu.org
14114         Subject: bookmark.el bug report
14115         Date: Mon, 28 Dec 2009 14:19:16 +0800
14116         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14118 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14120         * bookmark.el: Improvements suggested by Drew Adams:
14121         (bookmark-bmenu-ensure-position): New name for
14122         `bookmark-bmenu-check-position'.  Just ensure the position,
14123         don't return any meaningful value.
14124         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14125         New constants.
14127 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
14129         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14130         (bookmark-yank-point, bookmark-bmenu-check-position):
14131         Fix typos in docstrings.
14132         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14133         (bookmark-name-from-full-record, bookmark-get-position)
14134         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14135         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14136         Remove useless quoting of parenthesis, etc. in docstrings.
14138         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14139         (ediff-append-custom-diff): Fix typo in error message.
14140         (ediff-meta-mark-equal-files): Fix typos in messages.
14142         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14144         * net/imap-hash.el (imap-hash-make): Doc fix.
14145         (imap-hash-test): Fix typo in error message; reflow docstring.
14146         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14147         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14148         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14149         Fix typos in docstrings.
14150         (imap-hash-open-connection): Fix typo in error message.
14152         * play/gomoku.el (gomoku): Fix typos in docstring.
14154         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14155         (gdb-jsonify-buffer): Fix typos in docstring.
14156         (gdb-goto-breakpoint): Fix typo in error message.
14157         ("Display Other Windows"): Fix typo in help message.
14158         (gdb-speedbar-expand-node): Fix typo in question.
14160         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14161         (idlwave-html-system-help-location, idlwave-html-help-location)
14162         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14163         (idlwave-help-browser-generic-args, idlwave-help-directory)
14164         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14165         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14166         (idlwave-online-help, idlwave-help-html-link)
14167         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14168         Fix typos in docstrings.
14169         (idlwave-help-with-source, idlwave-help-find-routine-definition):
14170         Reflow docstrings.
14171         (idlwave-help-assistant-start): Fix typo in error message.
14173         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14174         (octave-electric-space): Fix typos in docstrings.
14176 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
14178         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14180 2010-01-01  Juri Linkov  <juri@jurta.org>
14182         * comint.el (comint-input-ring-size): Make it a defcustom and
14183         increase the default to 500 (Bug#5148).
14185 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
14187         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14188         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14189         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14191 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
14193         Show working revision correctly for mercurial.
14194         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14195         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14197 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
14199         Declare some functions for the byte-compiler.
14200         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14201         (speedbar-timer-fn, speedbar-change-expand-button-char)
14202         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14204 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
14206         This changeset reverts GDB Graphical Interface to use annotations.
14207         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14209 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
14211         Make vc-dir work on subdirectories of the bzr root.
14212         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14213         Return file names relative to it.
14214         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14215         relative directory to vc-bzr-after-dir-status.
14217 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
14219         * font-lock.el (font-lock-refresh-defaults): New function, which
14220         can be used to let font-lock react to external changes in
14221         variables like font-lock-defaults and keywords.
14222         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14224 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
14226         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14228         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14230 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
14232         Supersede color.diff settings in git log (bug#5211).
14234         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14235         escape chars in its output when the user has color.diff set to `always'.
14236         This fix works on git 1.4.2 and newer (released on 2006-08-13).
14238 2009-12-26  Kevin Ryde  <user42@zip.com.au>
14240         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14241         node.  Keep previous "Index" name to work with past coreutils too.
14243         * man.el (man): Revise docstring a bit to show -a and -l as
14244         examples.  Add -k description since support for it has otherwise
14245         been a secret.  (Further to bug#3717.)
14246         (Man-bgproc-sentinel): When "-k foo" produces no output show error
14247         "no matches" rather than "Can't find manpage", as the latter reads
14248         like -k was interpreted as a page name, which is not so.  (Bug#5431)
14250 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
14252         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14253         switches.  Check also for //SUBDIRED// line.
14255 2009-12-25  Kenichi Handa  <handa@m17n.org>
14257         * language/indian.el (devanagari-composable-pattern): Fix to
14258         handle ZWNJ and ZWJ.  Use it in composition-function-table for
14259         Devanagari.
14260         (malayalam-composable-pattern): Fix previous change.
14262 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14264         * ps-print.el (ps-face-attributes): It was not returning the
14265         attribute face for faces specified as string.  Reported by harven
14266         <harven@free.fr>.  (Bug#5254)
14267         (ps-print-version): New version 7.3.5.
14269 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
14271         * calendar/icalendar.el (icalendar--convert-tz-offset):
14272         Fix timezone names.
14273         (icalendar--convert-tz-offset): Fix the "last-day-problem".
14274         (icalendar--add-diary-entry): Remove the trailing blank that
14275         diary-make-entry inserts.
14277 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
14279         Make `file-expand-wildcards' work for remote files.
14281         * files.el (file-expand-wildcards): In case of remote files, check
14282         only local file name part for wildcards.  Provide feature 'files
14283         and subfeature 'remote-wildcards.  (Bug#5198)
14285         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14286         if there is already an established connection.
14287         (tramp-advice-file-expand-wildcards): Remove it.
14289         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14290         (tramp-advice-file-expand-wildcards): Move from tramp.el.
14291         Activate advice for older GNU Emacs versions.  (Bug#5237)
14293 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
14295         Some doc fixes (more needed).
14297         * find-cmd.el (find-constituents): Reflow docstring.
14298         (find-cmd, find-prune, find-command): Fix typos in docstrings.
14299         (find-generic): Doc fix.
14301 2009-12-17  Juri Linkov  <juri@jurta.org>
14303         Fix regression from 23.1 to allow multiple modes in Local Variables.
14305         * files.el (hack-local-variables-filter): While ignoring duplicates,
14306         don't take `mode' into account.
14307         (hack-local-variables-filter, hack-dir-local-variables):
14308         Don't remove duplicate `mode' from local-variables-alist (like `eval').
14310 2009-12-17  Juri Linkov  <juri@jurta.org>
14312         Make `dired-diff' safer.  (Bug#5225)
14314         * dired-aux.el (dired-diff): Signal an error when `file' equals to
14315         `current' or when `file' is a directory of the `current' file.
14317 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
14319         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14320         unconditionally preloaded files.
14322 2009-12-16  Juri Linkov  <juri@jurta.org>
14324         Revert to old 23.1 logic of using the file at the mark as default.
14325         * dired-aux.el (dired-diff): Use the file at the mark as default
14326         if it's not the same as the current file, and the target dir is
14327         the current dir or the mark is active.  Add the current file
14328         as the arg of `dired-dwim-target-defaults'.  Use the default file
14329         in the prompt.  (Bug#5225)
14331 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
14333         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14334         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14335         (tramp-check-for-regexp): Check also, when an echoing shell stops
14336         to echo sent commands.
14338 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14340         * Makefile.in: Revert last change (Bug#5191).
14342 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
14344         * vc-hg.el (vc-hg-print-log): Fix argument order.
14345         (vc-hg-working-revision): Make sure the command is executed in a
14346         known environment so that we can parse the output.  (Bug#4417)
14348 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14350         * progmodes/python.el (python-symbol-completions): Remove text
14351         properties from symbol string before calling python-send-receive.
14353 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
14355         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14356         when there are values for both file and line.  (Bug#5060)
14358 2009-12-14  Juri Linkov  <juri@jurta.org>
14360         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14361         whitespace after the file name of the first line of unified format,
14362         because git-diff doesn't output whitespace and file modification time
14363         after the file name.
14365 2009-12-14  David Kastrup  <dak@gnu.org>
14367         * info.el (Info-hide-cookies-node): Before hiding a cookie,
14368         check if it already has the `display' property added by
14369         `Info-display-images-node', and not put the `invisible' property
14370         in this case.
14372 2009-12-13  Glenn Morris  <rgm@gnu.org>
14374         * mail/emacsbug.el (message-sort-headers): Define for compiler.
14375         (report-emacs-bug): In message-mode, sort manually before storing
14376         original report text.  (Bug#5178)
14377         Remove superfluous save-excursion.
14379 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
14381         * net/dbus.el (dbus-property-handler): Filter lambda forms out
14382         when responding to "GetAll" properties.
14384 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
14386         * simple.el (compose-mail): Remove mail-setup-with-from from
14387         customization checks.
14389 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
14391         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14392         RAR archives created on Unix systems.
14394 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14396         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14397         the varalias that was accidentally removed by the 2009-11-19 change
14398         (bug#5186).
14400 2009-12-12  Kenichi Handa  <handa@m17n.org>
14402         * language/indian.el (indian-compose-regexp): New function.
14403         (malayalam-composable-pattern): Fix the pattern.
14404         (composition-function-table): Set malayalam-composable-pattern for
14405         Malayalam characters.
14407 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
14409         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14410         rather than down-mouse-1, based on follow-link conventions.
14412         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14413         are compiled.
14415 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
14417         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14418         (verilog-vmm-statement-re, verilog-ovm-statement-re)
14419         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14420         (verilog-leap-to-head, verilog-backward-token):
14421         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
14423 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
14425         * progmodes/verilog-mode.el (verilog-auto-lineup)
14426         (verilog-nameable-item-re): Cleanup user-visible spelling and
14427         documentation errors.  One reported by Gary Delp.
14428         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14429         (verilog-read-decls): Fix AUTOWIRE with types declared in a
14430         package, bug195.  Reported by Pierre-David Pfister.
14432 2009-12-11  Glenn Morris  <rgm@gnu.org>
14434         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14436         * mail/emacsbug.el: No longer require sendmail.
14437         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
14438         (report-emacs-bug-orig-text): Doc fix.
14439         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14440         New local variables, to adapt to different mail-user-agents.
14441         (report-emacs-bug): Fix test for a gnu.org address.
14442         Use overlays for emphasis, since font-lock defeats 'face property.
14443         Pretest bugs also end up at the newsgroup these days.
14444         Stop message-mode stripping text properties.
14445         Set and use the new buffer-local variables.
14446         (report-emacs-bug-hook): Add doc-string.
14447         Remove some unnecessary save-excursions and simplify.
14448         Use the appropriate hook and send-command.
14450         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14451         capitalization of some menu entries.
14453 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14455         * whitespace.el (whitespace-display-char-on):
14456         Ensure `buffer-display-table' is unique when two or more windows are
14457         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14458         New version 12.1.
14460 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
14462         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14463         characters in the Attribute field.
14465 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
14467         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
14469 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14471         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14472         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14473         Disregard autoload-excludes.
14474         (update-directory-autoloads): Obey autoload-excludes here instead.
14475         But don't store its contents in no-autoloads and remove entries that
14476         refer to excludes files.
14478 2009-12-10  Glenn Morris  <rgm@gnu.org>
14480         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14481         (expand-mail-aliases): Define for compiler.
14483         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14484         Define for compiler.
14486         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14487         appropriate for the mail-user-agent in use.
14489 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
14491         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14493 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
14495         Fix short log parsing and fontification.
14496         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14497         Fix fontification for the [merge] label.
14499 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
14501         Drop some properties to avoid surprises (bug#5002).
14502         * htmlfontify.el (hfy-ignored-properties): New defcustom.
14503         (hfy-fontify-buffer): Use it.
14505 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14507         Minor cleanup.
14508         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14509         Adjust all callers.
14510         (ffap-locate-file): Remove unused arg `dir-ok' and make other
14511         args compulsory.  Adjust callers.
14512         (ffap-gopher-at-point): Remove unused var `name'.
14514         Get rid of the ELCFILES abomination.
14515         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14516         (compile-elcfiles): New phony target.
14517         (compile-main): Compute ELCFILES dynamically.
14518         (compile-clean): New target to remove left-over elc files.
14519         (compile, all): Use it.
14521 2009-12-09  Kenichi Handa  <handa@etlken>
14523         * international/mule-diag.el: Require help-mode instead of help-fns.
14525 2009-12-09  Kenichi Handa  <handa@m17n.org>
14527         * international/mule-cmds.el (ucs-names): Supply sufficiently
14528         fine ranges instead of pre-calculating accurate ranges.
14529         Iterate with bigger gc-cons-threshold.
14531 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
14533         Add support for stashing a snapshot of the current tree.
14534         * vc-git.el (vc-git-stash-snapshot): New function.
14535         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14537 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
14539         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14540         instead of `(beginning|end)-of-line'.
14542 2009-12-08  Glenn Morris  <rgm@gnu.org>
14544         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14546         * Makefile.in (ELCFILES): Regenerate.
14548 2009-12-07  Juri Linkov  <juri@jurta.org>
14550         Don't lazy-highlight the comint output in history Isearch mode.
14552         * comint.el (comint-history-isearch-search): Instead of
14553         `comint-line-beginning-position', use `comint-after-pmark-p'
14554         to check if point if before the process mark, and go to
14555         `process-mark' in this case.
14557 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14559         * textmodes/tex-mode.el (latex-complete)
14560         (latex-indent-or-complete): Remove.
14561         (latex-mode): Set completion-at-point-functions instead.
14563         Provide a standard completion command and hook it into TAB.
14564         * minibuffer.el (completion-at-point-functions): New var.
14565         (completion-at-point): New command.
14566         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14567         * progmodes/python.el (python-mode-map): Use completion-at-point.
14568         (python-completion-at-point): Rename from python-partial-symbol and
14569         adjust for use in completion-at-point-functions.
14570         (python-mode): Setup completion-at-point for Python completion.
14571         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14572         extracted from lisp-complete-symbol.
14573         (lisp-complete-symbol): Use it.
14574         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14575         setup completion-at-point for Elisp completion.
14576         (emacs-lisp-mode-map, lisp-interaction-mode-map):
14577         Use completion-at-point.
14578         * ielm.el (ielm-map): Use completion-at-point.
14579         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14580         * progmodes/sym-comp.el: Move to...
14581         * obsolete/sym-comp.el: Move from progmodes.
14583 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
14585         Prevent save-buffer in Rmail buffers from using the coding-system
14586         of the current message, and from clobbering the encoding mnemonics
14587         in the mode line (Bug#4623).
14589         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14590         flag, too.
14591         (rmail-message-encoding): New variable.
14592         (rmail-write-region-annotate): Record the encoding of the current
14593         message in rmail-message-encoding.
14594         (rmail-after-save-hook): New function, restores the encoding of
14595         the current message after the message collection is saved.
14597 2009-12-07  Juri Linkov  <juri@jurta.org>
14599         * progmodes/grep.el (grep-read-files): Use `completing-read'
14600         instead of `read-string'.  Set its `collection' arg to
14601         `read-file-name-internal'.  (Bug#4301)
14603 2009-12-07  Juri Linkov  <juri@jurta.org>
14605         Correctly restore original Isearch point.  (Bug#4994)
14607         * isearch.el (isearch-mode): Move `isearch-push-state' after
14608         `(run-hooks 'isearch-mode-hook)'.
14609         (isearch-cancel): When `isearch-push-state-function' is defined,
14610         let-bind `isearch-cmds' to the first state (the last element of
14611         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14612         function and restores the original point).  Otherwise, move point
14613         to `isearch-opoint'.
14615 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14617         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14618         chars that don't have names, so the table can be built much faster at
14619         run-time.
14621 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
14623         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14624         change.  Suggested by David Kastrup.
14626         * simple.el (compose-mail): Check for incompatibilities and warn.
14627         (compose-mail-user-agent-warnings): New option.
14629 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14631         Support showing a single log entry from vc-annotate.
14632         * vc.el (print-log): Add a new argument: START-REVISION.
14633         (vc-print-log-internal): Add a new optional argument and
14634         pass it to the backend.
14635         (vc-print-log, vc-print-root-log): Adjust callers.
14636         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14637         buffer already displays the requested log entry, use it.
14638         Otherwise display only the log entry in question.
14639         * vc-svn.el (vc-svn-print-log):
14640         * vc-mtn.el (vc-mtn-print-log):
14641         * vc-hg.el (vc-hg-state):
14642         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14643         (vc-git-show-log-entry): Return t on success.
14644         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14645         (vc-bzr-show-log-entry): Return t on success.
14646         * vc-rcs.el (vc-rcs-print-log):
14647         * vc-sccs.el (vc-sccs-print-log):
14648         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14650 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14652         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14653         Add menus to the meta mode.  (Bug#5043)
14655 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
14657         * ediff-init.el (ediff-event-key): Use event-to-character instead of
14658         event-key.
14660         * ediff.el (ediff-buffers-internal): Add unwind-protect.
14662 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
14664         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
14665         Berbain <raphael.berbain@gmail.com>.
14667         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
14668         characters.
14669         (tramp-initial-end-of-output): New defconst.
14670         (tramp-methods, tramp-find-shell)
14671         (tramp-open-connection-setup-interactive-shell)
14672         (tramp-maybe-open-connection): Use it.
14673         (tramp-shell-prompt-pattern, tramp-wait-for-output):
14674         Handle existence of `#' and `$'.
14676         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14677         Use `tramp-initial-end-of-output'.
14679 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14681         Get the background mode from the terminal for xterm, and set
14682         faces accordingly.
14683         * term/xterm.el (xterm-set-background-mode): New function.
14684         (terminal-init-xterm): Use it in case xterm supports background
14685         color queries.  Recompute faces after getting the background
14686         color.
14688 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
14690         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14691         number comment back on its own line, for easier parsing.
14693 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14695         Make it work for non-file buffers (bug#5102).
14696         * doc-view.el (doc-view-current-cache-dir):
14697         Use doc-view-buffer-file-name rather than buffer-file-name.
14698         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14700 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
14702         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14703         author field is too short.
14705 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
14707         * vc-git.el (vc-git-print-log): Handle a limit argument.
14708         Display the short log in graph form and with labels.
14709         (vc-git-log-view-mode): Handle labels.
14711         Make vc-revert change VC state from 'added to 'unregistered.
14712         * vc-git.el (vc-git-revert): Call git reset first.
14714 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14716         * net/newst-backend.el, net/newst-plainview.el:
14717         * net/newst-reader.el, net/newst-ticker.el:
14718         * net/newst-treeview.el, net/newsticker.el:
14719         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
14721 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14723         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14725         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14726         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
14727         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14728         Update annotation regexp.
14730         * simple.el (beginning-of-visual-line): Constrain to field
14731         boundaries (Bug#5106).
14733 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14735         * xml.el (xml-substitute-numeric-entities):
14736         Move newsticker--decode-numeric-entities in newst-backend.el to
14737         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14738         * net/newst-backend.el (newsticker--parse-generic-feed)
14739         (newsticker--parse-generic-items)
14740         (newsticker--decode-numeric-entities):
14741         Move newsticker--decode-numeric-entities in newst-backend.el to
14742         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14744 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
14746         * progmodes/js.el (js--js-not): Add null to the list of values.
14748 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14750         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14752 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14754         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14755         delimiter if it is at the end of the current line.
14756         (bibtex-generate-url-list): Fix docstring.
14758 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14760         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14761         minibuffer's content with itself.
14762         Fold the confirm-after-completion case into the `confirm' case.
14763         (completion-pcm-word-delimiters): Add : and / to the delimiters.
14765 2009-12-06  Kevin Ryde  <user42@zip.com.au>
14767         * ffap.el (ffap-rfc-path): Make this a defcustom since
14768         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
14770         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14771         manuals, similar to existing setup for help-mode.  (Bug#3913.)
14773 2009-12-05  Juri Linkov  <juri@jurta.org>
14775         Save and restore dired buffer's point positions too.  (Bug#4880)
14777         * dired.el (dired-save-positions): Return in the first element
14778         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14779         Doc fix.
14780         (dired-restore-positions): First restore buffer's position.
14781         While restoring window's positions, check if window still displays
14782         the original buffer.
14784 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
14786         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14787         if possible.
14789         * shell.el (shell): Require ansi-color (Bug#5113).
14791         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14793         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14795 2009-12-05  Alan Mackenzie  <acm@muc.de>
14797         * progmodes/cc-mode.el (c-before-hack-hook)
14798         (c-postprocess-file-styles): Revert change 1.85 to permit
14799         `c-file-style' to work again.  This reversion restores the current
14800         software to its state in Emacs 23.1.  (Bug#4146)
14802 2009-12-05  Kevin Ryde  <user42@zip.com.au>
14804         * textmodes/sgml-mode.el (sgml-lexical-context):
14805         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14807 2009-12-05  Juri Linkov  <juri@jurta.org>
14809         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14810         for virtual nodes.  (Bug#4147)
14811         (Info-find-node-2): Set `Info-current-node-virtual' to nil
14812         when moving from a virtual node.
14813         (Info-mode-menu): Add `Info-virtual-index' to the menu.
14814         (Info-mode): Add `Info-virtual-index' to the docstring.
14816 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14818         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14819         track of the buffer position of the end of a BibTeX entry as this
14820         position may change during reformatting.
14821         (bibtex-format-entry): Remove whitespace before processing
14822         numerical fields so that we recognize the latter properly.
14823         (bibtex-reformat): Do not use push which changes the global value
14824         of bibtex-entry-format.
14825         (bibtex-field-braces-alist, bibtex-field-strings-alist)
14826         (bibtex-field-re-init): Replace only space characters by regexp
14827         for whitespace.
14828         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14829         (bibtex-initialize): Also update bibtex-strings.
14830         (bibtex-kill-field): Preserve white space at end of entry.
14831         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14832         Update bibtex-reference-keys.
14834 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14836         * minibuffer.el (completion-pcm--merge-try): Also consider placing
14837         point after a star, if that's the only place where modifications can
14838         make progress.
14840 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
14842         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14843         in docstrings.
14845 2009-12-04  Juri Linkov  <juri@jurta.org>
14847         * proced.el (proced): Call `(proced-update t)' to update process
14848         information instead of only running proced-post-display-hook.
14849         (proced-send-signal): Add a leading space to the buffer name
14850         " *Marked Processes*" to make this buffer ephemeral.
14852 2009-12-04  Juri Linkov  <juri@jurta.org>
14854         * dired.el (dired-auto-revert-buffer): New defcustom.
14855         (dired-internal-noselect): Use it.
14857 2009-12-04  Juri Linkov  <juri@jurta.org>
14859         Change roles of modes and functions in image-mode.el (Bug#5062).
14861         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14862         in `auto-mode-alist'.
14863         (image-mode-previous-major-mode): New variable.
14864         (image-minor-mode-map): Rename from `image-mode-text-map'.
14865         (image-mode): Move graceful error-handling code from
14866         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
14867         (image-minor-mode): Remove all image-handling code.
14868         Replace `image-mode-text-map' with `image-minor-mode-map'.
14869         Check for `image-type' in mode-line format string.
14870         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14871         (image-mode-as-text): New function with most code from
14872         `image-mode-maybe'.
14873         (image-toggle-display-text): Move code that removes image
14874         properties from `image-toggle-display' to here.
14875         (image-toggle-display-image): New function with code that adds
14876         image properties copied from `image-toggle-display'.
14877         (image-toggle-display): Remove most code with leaving only code
14878         that toggles between `image-mode-as-text' and `image-mode'.
14880 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
14882         * net/newst-treeview.el
14883         (newsticker--treeview-list-highlight-start): Restored call to
14884         save-excursion: Selected item was stuck.
14885         (newsticker--treeview-list-select): New.
14886         (newsticker--treeview-item-show-text)
14887         (newsticker--treeview-item-show)
14888         (newsticker--treeview-item-update): Use new
14889         newsticker-treeview-item-mode.
14890         (newsticker-treeview-update): Keep current item.
14891         (newsticker-treeview-next-new-or-immortal-item): Doc change.
14892         (newsticker--treeview-first-feed): Doc change.
14893         (newsticker-treeview-list-menu)
14894         (newsticker-treeview-item-menu): Add menu entries.
14895         (newsticker-treeview-item-mode): New.
14897         * net/newst-backend.el (newsticker-customize): Delete other
14898         windows.
14900 2009-12-04  Sam Steingold  <sds@gnu.org>
14902         * log-view.el (log-view-mode-map): "q" calls quit-window,
14903         like in all the other non-self-insert buffers.
14905 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14907         Minor cleanup.
14908         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14909         key decoding rather than do it manually via last-input-event +
14910         ascii-character.
14911         (term-exec): Use delete-and-extract-region.
14912         (term-handle-ansi-terminal-messages): Remove unused var `end'.
14913         (term-process-pager): Remove unused var `i'.
14914         (term-dynamic-simple-complete): Make obsolete.
14915         (serial-update-config-menu): Remove unused vars `y' and `str'.
14916         (term-update-mode-line): Remove unused var `temp'.
14918 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14920         Limit the number of log entries displayed by default.
14921         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14922         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14923         using a prefix argument.
14925 2009-12-03  Glenn Morris  <rgm@gnu.org>
14927         * progmodes/idlwave.el (class): Restore still useful declaration.
14929 2009-12-03  Alan Mackenzie  <acm@muc.de>
14931         Enhance `c-parse-state' to run efficiently in "brace deserts".
14933         * progmodes/cc-mode.el (c-basic-common-init):
14934         Call c-state-cache-init.
14935         (c-neutralize-syntax-in-and-mark-CPP): Rename from
14936         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
14937         placing `category' properties value 'c-cpp-delimiter at its boundaries.
14939         * progmodes/cc-langs.el (c-before-font-lock-function):
14940         c-extend-and-neutralize-syntax-in-CPP has been renamed
14941         c-neutralize-syntax-in-and-mark-CPP.
14943         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14944         with `category' properties now, not `syntax-table' ones.
14946         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14947         enhanced (but slower) version of c-end-of-macro that won't land
14948         inside a literal or on another awkward character.
14949         (c-state-cache-too-far, c-state-cache-start)
14950         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14951         (c-state-nonlit-pos-cache-limit, c-state-point-min)
14952         (c-state-point-min-lit-type, c-state-point-min-lit-start)
14953         (c-state-min-scan-pos, c-state-brace-pair-desert)
14954         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14955         buffer local variables.
14956         (c-state-literal-at, c-state-lit-beg)
14957         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14958         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14959         (c-state-cache-top-paren, c-state-cache-after-top-paren)
14960         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14961         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14962         (c-renarrow-state-cache)
14963         (c-append-lower-brace-pair-to-state-cache)
14964         (c-state-push-any-brace-pair, c-append-to-state-cache)
14965         (c-remove-stale-state-cache)
14966         (c-remove-stale-state-cache-backwards, c-state-cache-init)
14967         (c-invalidate-state-cache-1, c-parse-state-1)
14968         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14969         (c-parse-state): Enhance and refactor.
14970         (c-debug-parse-state): Amend to deal with all the new variables.
14972         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14973         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14974         modify to use category text properties rather than syntax-table ones.
14975         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14976         to switch off/on the syntactic paren property of C++ template
14977         delimiters using the category property.
14978         (c-with-<->-as-parens-suppressed): Macro to invoke code with
14979         template delims suppressed.
14980         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14981         New constant/macros which apply category properties to the start
14982         and end of preprocessor constructs.
14983         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14984         "comment out" the syntactic value of characters in preprocessor
14985         constructs.
14986         (c-with-cpps-commented-out)
14987         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14988         with characters in all or all but one preprocessor constructs
14989         "commented out".
14991 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14993         * proced.el (proced-filter-alist): Use regexp-quote.
14995 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
14997         Cleanup.
14998         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14999         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
15000         arguments.  Expand `default-directory'.
15002         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15003         the benefit of returning an expanded localname.
15004         (tramp-tramp-file-p): Handle the case NAME is not a string.
15006 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
15008         Add support for bzr shelve/unshelve.
15009         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15010         (vc-bzr-extra-menu-map): New variables.
15011         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15012         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15013         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15014         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15015         (vc-bzr-dir-extra-headers): Display shelves.
15017         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15019 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15021         * textmodes/bibtex.el (bibtex-complete-internal):
15022         Use completion-in-region.
15023         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15025 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
15027         Support applying stashes.  Improve UI.
15028         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15029         (vc-git-stash-apply, vc-git-stash-pop)
15030         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15031         (vc-git-stash-menu): New functions.
15032         (vc-git-stash-menu-map): New variable.
15033         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15035 2009-12-03  Glenn Morris  <rgm@gnu.org>
15037         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15038         (vc-print-log-internal): Fix previous change.
15039         (vc-revert): Correct pluralization.
15041 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15043         * progmodes/make-mode.el (makefile-special-targets-list): No need for
15044         it to be an alist any more.
15045         (makefile-complete): Use completion-in-region.
15047         * progmodes/octave-mod.el (octave-complete-symbol):
15048         Use completion-in-region.
15050         Misc cleanup.
15051         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15052         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15053         (idlwave-complete-class): Don't quote lambda.
15054         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15055         (idlwave-mode-map): Move initialization into declaration.
15056         (idlwave-action-and-binding): Use backquotes.
15057         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15058         Simplify.
15059         (idlwave-is-pointer-dereference): Remove unused var `pos'.
15060         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15061         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15062         `parts', and `all-parts'.
15063         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15064         (idlwave-convert-xml-system-routine-info): Remove unused string
15065         `version-string'.
15066         (idlwave-display-user-catalog-widget): Use dolist.
15067         (idlwave-scanning-lib): Declare dynamically-scoped var.
15068         (idlwave-scan-library-catalogs): Remove unused var `flags'.
15069         (completion-highlight-first-word-only): Declare to silence bytecomp.
15070         (idlwave-popup-select): Tighten scope of `resp'.
15071         (idlwave-find-struct-tag): Remove unused var `beg'.
15072         (idlwave-after-load-rinfo-hook): Declare.
15073         (idlwave-sintern-class-info): Remove unused var `taglist'.
15074         (idlwave-find-class-definition): Remove unused var `list'.
15075         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15076         (idlwave-what-module-find-class): Remove unused var `classes'.
15078 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
15080         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15082 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15084         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15085         buffers visited.  Remove redundant current-buffer-saving.
15087 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15089         Use completion-in-buffer and remove uses of dynamic scoping.
15090         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15091         (pascal-buffer-to-use, pascal-flag): Don't declare.
15092         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15093         (pascal-get-completion-decl, pascal-keyword-completion):
15094         Add `pascal-str' argument, save-excursion,
15095         return the found completions, and don't filter with pascal-pred.
15096         (pascal-completion-cache): New var.
15097         (pascal-completion): Don't switch buffer any more (it was never
15098         necessary).  Don't save-excursion any more (it's done by the called
15099         subroutines).  Use a cache to avoid redundant computations.
15100         Use complete-with-action rather than pascal-completion-response and
15101         let it apply the predicate as well.
15102         (pascal-complete-word): Use completion-in-buffer when
15103         pascal-toggle-completions is nil.
15104         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15105         not used any more.
15106         (pascal-comp-defun): Don't change buffer any more.
15107         Use complete-with-action rather than pascal-completion-response and
15108         let it apply the predicate as well.
15109         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15110         when neded.
15112 2009-12-02  Kenichi Handa  <handa@m17n.org>
15114         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15115         shape for all Indic scripts.
15117 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15119         Use completion-in-buffer.
15120         * wid-edit.el (widget-field-text-end): New function.
15121         (widget-field-value-get): Use it.
15122         (widget-string-complete, widget-file-complete)
15123         (widget-color-complete): Use it and completion-in-region.
15124         (widget-complete): Don't narrow the buffer.
15126 2009-12-02  Glenn Morris  <rgm@gnu.org>
15128         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
15129         (rmail-select-summary): Use rmail-pop-to-buffer.
15130         * mail/rmailsum.el: Replace all pop-to-buffer calls with
15131         rmail-pop-to-buffer, to prevent horizontal splits.
15133         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15134         save-excursion with save-current-buffer.
15135         Widen before searching.  (Bug#5093)
15136         (diary-list-sexp-entries): Remove superfluous save-excursion.
15138 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
15140         * woman.el (woman-make-bufname): Handle man-pages with "." in the
15141         name.  (Bug#5038)
15143 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
15145         * ido.el (ido-file-internal): Handle filenames at point that do
15146         not have a directory part.  (Bug#5049)
15148 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
15150         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15151         (mpc-songs-jump-to, mpc-resume): Doc fixes.
15153 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
15155         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15156         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15157         any more.
15159 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15161         * comint.el (comint-insert-input): Ignore clicks to the right of
15162         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15164         * vc.el (vc-print-log-internal): Don't wait for the process to
15165         terminate before setting up the major mode.
15167         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15168         in case.
15170         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15171         the last element.
15173         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15175 2009-12-01  Glenn Morris  <rgm@gnu.org>
15177         * window.el (window--display-buffer-2): Fix previous changes.
15179 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
15181         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15183 2009-12-01  Glenn Morris  <rgm@gnu.org>
15185         * Makefile.in (ELCFILES): Add mpc.elc.
15187 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15189         * mpc.el: New file.
15191 2009-12-01  Glenn Morris  <rgm@gnu.org>
15193         * window.el (window-to-use): Define for compiler.
15195         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15196         consistent with others (no final period).
15198         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15199         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
15201 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
15203         Make vc-print-log buttons work.
15204         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15206 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
15208         * savehist.el (savehist-autosave-interval): Allow setting to nil
15209         through customize.  (Bug#5056)
15211 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
15213         Fix references to jit-lock properties.
15214         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15215         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15216         (perl-font-lock-special-syntactic-constructs):
15217         Quote jit-lock-defer-multiline property.
15219 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
15221         * vc-git.el (vc-git-registered): Call vc-git-root only once.
15223 2009-11-30  Juri Linkov  <juri@jurta.org>
15225         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15226         value `buffer' of `multi-isearch-next-buffer-current-function'.
15227         Use `(current-buffer)' when `buffer' is nil.
15228         (multi-isearch-next-buffer-from-list): Don't fallback to
15229         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
15231 2009-11-30  Juri Linkov  <juri@jurta.org>
15233         * misearch.el (multi-isearch-read-buffers): Move canonicalization
15234         of buffers with `get-buffer' to `multi-isearch-buffers'.
15235         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15236         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
15237         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15238         FILES with `expand-file-name' converting relative file names
15239         to absolute.  Doc fix.  (Bug#4727)
15241 2009-11-30  Juri Linkov  <juri@jurta.org>
15243         * misearch.el (multi-isearch-read-buffers)
15244         (multi-isearch-read-matching-buffers): New functions.
15245         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15246         Use them in the `interactive' spec.  Doc fix.
15247         (multi-isearch-read-files, multi-isearch-read-matching-files):
15248         New functions.
15249         (multi-isearch-files, multi-isearch-files-regexp):
15250         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
15252 2009-11-30  Juri Linkov  <juri@jurta.org>
15254         * doc-view.el (doc-view-continuous):
15255         Rename from `doc-view-continuous-mode'.
15256         (doc-view-menu): Move "Toggle display" to the top.
15257         Add submenu "Continuous" with radio buttons "Off"/"On"
15258         and "Save as Default".
15259         (doc-view-scroll-up-or-next-page)
15260         (doc-view-scroll-down-or-previous-page)
15261         (doc-view-next-line-or-next-page)
15262         (doc-view-previous-line-or-previous-page):
15263         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
15265 2009-11-30  Juri Linkov  <juri@jurta.org>
15267         * comint.el (comint-mode-map): Rebind `M-r' from
15268         `comint-previous-matching-input' to
15269         `comint-history-isearch-backward-regexp'.
15270         Unbind `M-s' to allow global key binding `M-s'.
15271         Add menu items for `comint-history-isearch-backward' and
15272         `comint-history-isearch-backward-regexp'.  (Bug#3746)
15274 2009-11-30  Juri Linkov  <juri@jurta.org>
15276         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15277         For def=recenter, replace `recenter' with `recenter-top-bottom'
15278         that is called with `this-command' and `last-command' let-bound
15279         to `recenter-top-bottom'.  When the last `def' was not `recenter',
15280         set `recenter-last-op' to nil.  (Bug#4981)
15282 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15284         Minor cleanup and simplification.
15285         * filecache.el (file-cache-add-directory)
15286         (file-cache-add-directory-recursively)
15287         (file-cache-add-from-file-cache-buffer)
15288         (file-cache-delete-file-regexp, file-cache-delete-directory)
15289         (file-cache-files-matching-internal, file-cache-display): Use dolist.
15290         (file-cache-temp-minibuffer-message): Delete function.
15291         (file-cache-minibuffer-complete): Use minibuffer-message instead.
15293         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15294         Don't signal an error when bumping into EOB in tr, s, or y.
15296 2009-11-29  Juri Linkov  <juri@jurta.org>
15298         * startup.el (fancy-about-text): Fix wording of Guided Tour.
15299         (Bug#4960)
15301         * descr-text.el (describe-char-unidata-list): Use lowercase name
15302         for "Unicode name" like in other tags.
15304 2009-11-29  Juri Linkov  <juri@jurta.org>
15306         * ediff-util.el (ediff-minibuffer-with-setup-hook):
15307         New compatibility macro.
15308         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15310 2009-11-29  Juri Linkov  <juri@jurta.org>
15312         Add defcustom to define the cycling order of `recenter-top-bottom'.
15313         (Bug#4981)
15315         * window.el (recenter-last-op): Doc fix.
15316         (recenter-positions): New defcustom.
15317         (recenter-top-bottom): Rewrite to use `recenter-positions'.
15318         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15320 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
15322         Improve integration of Tramp and ange-ftp in eshell.
15324         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15325         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
15326         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
15328         * eshell/esh-util.el (top): Require also Tramp when compiling.
15329         (eshell-directory-files-and-attributes): Check for FTP remote
15330         connection.
15331         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15332         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15333         (eshell-file-attributes): Handle ".".  Return `entry'.
15335         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15336         (ange-ftp-directory-files-and-attributes)
15337         (ange-ftp-real-directory-files-and-attributes): New defuns.
15339         * net/tramp.el (tramp-maybe-open-connection): Open the remote
15340         shell with "exec" when possible.  This prevents trailing prompts
15341         in `start-file-process'.
15343 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15345         Try and remove assumptions about point-min==1.
15346         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15347         (rng-compute-mode-line-string): Show the validation percentage in
15348         terms of the narrowed text, not the widened text.
15349         (rng-do-some-validation): Don't catch internal errors when debugging.
15350         (rng-first-error): Simplify.
15351         (rng-after-change-function): Remove work around.  AFAIK the bug has
15352         been fixed a while ago.
15354         * image-mode.el (image-minor-mode): Exit more gracefully when the image
15355         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15357         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15359         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15360         `cd' doesn't always do it for us (bug#5067).
15362         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15363         on 2009-10-25 as part of some other change (bug#5067).
15365 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15367         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15368         `suspicious'.
15369         (byte-compile-warnings): Use byte-compile-warning-types.
15370         (byte-compile-save-excursion): Warn about use of set-buffer right
15371         after save-excursion.
15373         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15374         the excursion as well.
15376 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
15378         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15379         providing a Tramp related implementation of "su" and "sudo".
15380         (eshell-unix-initialize): Add "su" and "sudo".
15382 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
15384         * net/socks.el (socks-send-command): Convert binary request to
15385         unibyte before sending.  This fixes mishandling of some port
15386         numbers such as 129.
15388 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15390         * help.el (describe-bindings-internal): Remove `interactive'.
15392         * man.el (Man-completion-table): Trim a terminating "(".
15393         Remove the space between name page a section.
15394         Add the command's description on the `help-echo' property.
15395         Remove `process-connection-type' binding since it's unused by
15396         call-process.
15397         Provide completion for the "<section> <name>" format as well.
15398         (Man-default-man-entry): Remove spurious var shadowing the argument.
15400 2009-11-26  Kevin Ryde  <user42@zip.com.au>
15402         * log-view.el: Add "Keywords: tools", since its other keywords
15403         aren't in finder-known-keywords, and following vc.el.
15405         * sha1.el (sha1-string-external): default-directory "/" in case
15406         otherwise non-existent.  process-connection-type pipe for touch of
15407         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
15409 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15411         Misc coding convention cleanups.
15412         * htmlfontify.el (hfy-init-kludge-hook): Rename from
15413         hfy-init-kludge-hooks.
15414         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15415         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15416         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15417         and push.
15418         (hfy-slant, hfy-weight): Use tables rather than code.
15419         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15420         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15421         (hfy-face-attr-for-class): Initialize `face-spec' directly.
15422         (hfy-face-to-css): Remove `nconc' with single arg.
15423         (hfy-p-to-face-lennart): Use `or'.
15424         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
15425         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15426         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15427         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15428         (hfy-force-fontification): Use run-hooks.
15430 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
15432         Various minor fixes.
15433         * htmlfontify.el (hfy-default-header): Add toggle_invis since
15434         Javascript belongs in the header, not the body.
15435         (hfy-javascript): Remove.
15436         (hfy-fontify-buffer): Don't insert it any more.
15437         (hfy-face-at): Handle (face0 face1 face2) style face properties.
15438         Fix bug in invis handling when there were no invis props in a chunk.
15440 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15442         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15444 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
15446         * finder.el (finder-mode-map): Add a menu.
15448 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
15450         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15451         "unsigned" structs.
15453         (verilog-leap-to-head, verilog-backward-token): Handle "disable
15454         fork" statement better.
15456 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
15458         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15459         (verilog-delete-auto, verilog-delete-empty-auto-pair)
15460         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15461         Reported by Clay Douglass.
15463         (verilog-auto-inst, verilog-auto-star-safe)
15464         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15465         Fix removing "// Interfaces" when saving .* expansions.
15466         Reported by Pierre-David Pfister.
15468 2009-11-26  Glenn Morris  <rgm@gnu.org>
15470         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15471         the scope.
15473 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
15475         * vc-annotate.el (vc-annotate-revision-previous-to-line):
15476         Really use previous revision.
15478 2009-11-25  Kevin Ryde  <user42@zip.com.au>
15480         * man.el (Man-completion-table): default-directory "/" in case
15481         doesn't otherwise exist.  process-environment COLUMNS=999 so as
15482         not to truncate long names.  process-connection-type pipe to avoid
15483         any chance of hitting the pseudo-tty TIOCGWINSZ.
15484         (man): completion-ignore-case t for friendliness and since man
15485         itself is case-insensitive on the command line.
15486         Further to Bug#3717.
15488         * arc-mode.el: Add "Keywords: files", so the details in its
15489         commentary can be reached from finder-by-keyword.
15490         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
15491         editing mode, but it's comms related and sgml-mode.el has "comm"
15492         on that basis too.
15493         * textmodes/bibtex-style.el: Add "Keywords: tex".
15494         * international/isearch-x.el, international/ja-dic-cnv.el:
15495         * international/ja-dic-utl.el, international/kkc.el:
15496         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15498 2009-11-25  Juri Linkov  <juri@jurta.org>
15500         * man.el (Man-completion-table): Modify regexp to include
15501         section names to completion strings.  (Bug#3717)
15503 2009-11-25  Juri Linkov  <juri@jurta.org>
15505         Search recursively in gzipped files.  (Bug#4982)
15507         * progmodes/grep.el (grep-highlight-matches): Add new options
15508         `always' and `auto'.  Doc fix.
15509         (grep-process-setup): Check `grep-highlight-matches' for
15510         `auto-detect' to determine the need to compute grep defaults.
15511         Move Windows/DOS specific --colors settings handling
15512         to `grep-compute-defaults'.  Check `grep-highlight-matches'
15513         to get the value of "--color=".
15514         (grep-compute-defaults): Compute `grep-highlight-matches' when it
15515         has the value `auto-detect'.  Move Windows/DOS specific settings
15516         from `grep-process-setup'.
15517         (zrgrep): New command with alias `rzgrep'.
15519 2009-11-25  Juri Linkov  <juri@jurta.org>
15521         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15522         to nil instead of switching off view-mode.  (Bug#4896)
15524 2009-11-25  Juri Linkov  <juri@jurta.org>
15526         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
15528         * mwheel.el (mwheel-scroll-up-function)
15529         (mwheel-scroll-down-function): New defvars.
15530         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15531         `scroll-up', and `mwheel-scroll-down-function' instead of
15532         `scroll-down'.
15534         * doc-view.el (doc-view-scroll-up-or-next-page)
15535         (doc-view-scroll-down-or-previous-page): Add optional ARG.
15536         Use this ARG in the call to image-scroll-up/image-scroll-down.
15537         Change `interactive' spec to "P".  Goto next/previous page only
15538         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15539         SPC/DEL case).  Doc fix.
15540         (doc-view-next-line-or-next-page)
15541         (doc-view-previous-line-or-previous-page): Rename arg to ARG
15542         for consistency.
15543         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15544         `doc-view-scroll-up-or-next-page', and buffer-local
15545         `mwheel-scroll-down-function' to
15546         `doc-view-scroll-down-or-previous-page'.
15548 2009-11-25  Juri Linkov  <juri@jurta.org>
15550         Provide additional default values (directories at other Dired
15551         windows) via M-n in the minibuffer of some Dired commands.
15553         * dired-aux.el (dired-diff, dired-compare-directories)
15554         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15555         `minibuffer-default' in `minibuffer-with-setup-hook'.
15556         (dired-dwim-target-directory): Find a window that displays Dired
15557         buffer instead of failing when the next window is not Dired.
15558         Use `get-window-with-predicate' to find for the next Dired window.
15559         (dired-dwim-target-defaults): New function.
15561         * ediff-util.el (ediff-read-file-name):
15562         Use `dired-dwim-target-defaults' to set `minibuffer-default'
15563         in `minibuffer-with-setup-hook'.
15565 2009-11-25  Juri Linkov  <juri@jurta.org>
15567         Provide additional default values (file name at point or at the
15568         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
15570         * minibuffer.el (read-file-name-defaults): New function.
15571         (read-file-name): Reset `minibuffer-default' to nil when
15572         it duplicates initial input `insdef'.
15573         Bind `minibuffer-default-add-function' to lambda that
15574         calls `read-file-name-defaults' in `minibuffer-selected-window'.
15575         (minibuffer-insert-file-name-at-point): New command.
15577         * files.el (file-name-at-point-functions): New defcustom.
15578         (find-file-default): Remove defvar.
15579         (find-file-read-args): Don't use `find-file-default'.
15580         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15581         to `read-file-name'.
15582         (find-file-literally): Use `read-file-name' with
15583         `confirm-nonexistent-file-or-buffer'.
15585         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15587         * dired.el (dired-read-dir-and-switches):
15588         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15589         to `read-file-name'.
15590         (dired-file-name-at-point): New function.
15591         (dired-mode): Add hook `dired-file-name-at-point' to
15592         `file-name-at-point-functions'.
15594 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15596         Really make the *Completions* window soft-dedicated (bug#5030).
15597         * window.el (window--display-buffer-2): Add `dedicated' argument.
15598         (display-buffer): Pass it when needed so the dedicated flag is set
15599         after calling set-window-buffer, which would otherwise reset it.
15601 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15603         * progmodes/meta-mode.el (meta-complete-symbol):
15604         * progmodes/etags.el (complete-tag):
15605         * mail/mailabbrev.el (mail-abbrev-complete-alias):
15606         Use completion-in-region.
15608         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15609         (dabbrev-completion): Use completion-in-region.
15610         (dabbrev--abbrev-at-point): Simplify regexp.
15612         * abbrev.el (abbrev--before-point): Use word-motion functions
15613         if :regexp is not specified (bug#5031).
15615         * subr.el (string-prefix-p): New function.
15617         * man.el (Man-completion-cache): New var.
15618         (Man-completion-table): Use it.
15620         * vc.el (vc-print-log-internal): Make `limit' optional for better
15621         compatibility (e.g. with vc-annotate.el).
15623 2009-11-24  Kevin Ryde  <user42@zip.com.au>
15625         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15626         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
15628         * emacs-lisp/elint.el (elint-add-required-env): Better error message
15629         when .el source file not found or other error.
15631 2009-11-24  Markus Triska  <markus.triska@gmx.at>
15633         * linum.el (linum-update-window): Ignore intangible (bug#4996).
15635 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15637         Handle the [back] button properly (bug#4979).
15638         * descr-text.el (describe-text-properties): Add a `buffer' argument.
15639         Use help-setup-xref, help-buffer, and with-help-window.
15640         (describe-char): Add `buffer' argument.
15641         Pass proper command to help-setup-xref.  Don't meddle with
15642         help-xref-stack-item directly.
15643         (describe-text-category): Use with-help-window and help-buffer.
15645         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15646         for the displayed buffer (bug#4887).
15648         * man.el (Man-completion-table): New function.
15649         (man): Use it.
15651 2009-11-24  David Reitter  <david.reitter@gmail.com>
15653         * vc-git.el (vc-git-registered): Use checkout directory (where
15654         .git is) rather than the file's directory and a relative path spec
15655         to work around a bug in git.
15657 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
15659         Improve handling of processes on remote hosts.
15661         * eshell/esh-util.el (eshell-path-env): New defvar.
15662         (eshell-parse-colon-path): New defun.
15663         (eshell-file-attributes): Use `eshell-parse-colon-path'.
15665         * eshell/esh-ext.el (eshell-search-path):
15666         Use `eshell-parse-colon-path'.
15667         (eshell-remote-command): Remove argument HANDLER.
15668         (eshell-external-command): Check for FTP remote connection.
15670         * eshell/esh-proc.el (eshell-gather-process-output):
15671         Use `file-truename', in order to start also symlinked files.
15672         Apply `start-file-process' instead of `start-process'.
15673         Shorten `command' to the local file name part.
15675         * eshell/em-cmpl.el (eshell-complete-commands-list):
15676         Use `eshell-parse-colon-path'.
15678         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15680         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
15681         to `eshell-directory-change-hook'.
15683 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
15685         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15686         because it could be enabled automatically if view-read-only is non-nil.
15688 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
15690         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15691         made on 2009-11-22.
15693 2009-11-24  Glenn Morris  <rgm@gnu.org>
15695         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15696         deleted variable bookmark-bmenu-bookmark-column.
15698 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15700         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15702 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15704         * net/browse-url.el (browse-url-filename-alist): On Windows, add
15705         two slashes to the "file:" prefix.
15706         (browse-url-file-url): De-munge Cygwin filenames before passing
15707         them to Windows browser.
15708         (browse-url-default-windows-browser): Use call-process.
15710 2009-11-23  Juri Linkov  <juri@jurta.org>
15712         Implement DocView Continuous mode.  (Bug#4896)
15713         * doc-view.el (doc-view-continuous-mode): New defcustom.
15714         (doc-view-mode-map): Bind C-n/<down> to
15715         `doc-view-next-line-or-next-page', C-p/<up> to
15716         `doc-view-previous-line-or-previous-page'.
15717         (doc-view-next-line-or-next-page)
15718         (doc-view-previous-line-or-previous-page): New commands.
15720 2009-11-23  Juri Linkov  <juri@jurta.org>
15722         Implement Isearch in comint input history.  (Bug#3746)
15723         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15724         `isearch-mode-hook'.
15725         (comint-history-isearch): New defcustom.
15726         (comint-history-isearch-backward)
15727         (comint-history-isearch-backward-regexp): New commands.
15728         (comint-history-isearch-message-overlay): New buffer-local variable.
15729         (comint-history-isearch-setup, comint-history-isearch-end)
15730         (comint-goto-input, comint-history-isearch-search)
15731         (comint-history-isearch-message, comint-history-isearch-wrap)
15732         (comint-history-isearch-push-state)
15733         (comint-history-isearch-pop-state): New functions.
15735 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
15737         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15738         return.
15739         (tramp-handle-make-symbolic-link)
15740         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15741         Quote file names.
15742         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15743         (tramp-handle-process-file): Use it.
15745 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15747         * window.el (move-to-window-line-last-op): Remove.
15748         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15750 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
15752         Make M-r mirror the new cycling behavior of C-l.
15753         * window.el (move-to-window-line-last-op): New var.
15754         (move-to-window-line-top-bottom): New command.
15755         (global-map): Bind M-r move-to-window-line-top-bottom.
15757 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
15759         * dired-x.el (dired-guess-shell-alist-default):
15760         Support xz format.  (Bug#4953)
15762 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
15764         * emulation/viper-cmd.el: Use viper-last-command-char instead of
15765         last-command-char/last-command-event.
15766         (viper-prefix-arg-value): Do correct conversion of event-char for
15767         XEmacs.
15769         * emulation/viper-util.el, emulation/viper.el:
15770         Use viper-last-command-char instead of
15771         last-command-char/last-command-event.
15773         * ediff-init.el, ediff-mult.el, ediff-util.el:
15774         Replace last-command-char and last-command-event
15775         with (ediff-last-command-char) everywhere.
15777         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15778         created in fundamental mode.
15780         * ediff.el (ediff-version): Revert the change of interactive-p to
15781         called-interactively-p.
15783 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
15785         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15786         generation from word-movement command names.
15788 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
15790         * cus-start.el (all): Add native condition for font-use-system-font.
15792 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
15794         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15795         Correct the patch from 2009-11-18.  (Bug#3910)
15797 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
15799         * progmodes/subword.el: Rename from lisp/subword.el.
15801         * subword.el: Rename to progmodes/subword.el.
15803         * Makefile.in (ELCFILES): Adapt to subword.el move.
15805 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15806             Stefan Monnier  <monnier@iro.umontreal.ca>
15808         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15809         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15810         (bookmark-bmenu-show-filenames): Use push.
15811         (bookmark-bmenu-hide-filenames): Use local var instead of
15812         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
15813         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15814         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15815         filenames now that the bookmark names are always available.
15817 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15819         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15820         (bookmark-search-pattern): Move and leave unbound.
15821         (bookmark-bmenu-mode-map): Change binding.
15822         (bookmark-read-search-input): Simplify.
15823         Don't use text-char-description.  Don't error on non-char events.
15824         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15825         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15826         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15827         Use a local var for the timer.
15828         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15829         (i.e. bookmark-bmenu-search).
15831 2009-11-21  Glenn Morris  <rgm@gnu.org>
15833         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
15835 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15837         * net/browse-url.el (browse-url-default-windows-browser):
15838         Use cygstart for cygwin.
15840 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
15842         * bookmark.el: Formatting and doc fixes only:
15843         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15844         (bookmark-bmenu-search): Wrap to fit within 80 columns.
15845         Minor grammar and punctuation fixes in doc string.
15846         (bookmark-read-search-input): Adjust to fit within 80 columns.
15848 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15850         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15851         (c-backward-into-nomenclature): Adapt to subword renaming.
15853         * subword.el (subword-forward, subword-backward, subword-mark)
15854         (subword-kill, subword-backward-kill, subword-transpose)
15855         (subword-downcase, subword-upcase, subword-capitalize)
15856         (subword-forward-internal, subword-backward-internal):
15857         Rename from forward-subword, backward-subword, mark-subword,
15858         kill-subword, backward-kill-subword, transpose-subwords,
15859         downcase-subword, upcase-subword, capitalize-subword,
15860         forward-subword-internal, backward-subword-internal.
15862 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15864         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15865         New options.
15866         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15867         New vars.
15868         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15869         (bookmark-bmenu-filter-alist-by-regexp)
15870         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15871         (bookmark-bmenu-search): New command.
15872         (bookmark-bmenu-mode-map): Bind it.
15874 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15876         * progmodes/cc-cmds.el: declare-functioned forward-subword and
15877         backward-subword to quit the byte-compiler.
15879         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15881         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15883         * progmodes/cc-cmds.el (c-update-modeline)
15884         (c-forward-into-nomenclature, c-backward-into-nomenclature):
15885         Refer to subword.el functions instead of cc-subword.el.
15887         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15888         subword.el functions instead of cc-subword.el.
15890         * progmodes/cc-subword.el: Rename to subword.el.
15891         * subword.el: Rename from progmodes/cc-subword.el.
15892         (subword-mode-map): Rename from c-subword-mode-map.
15893         (subword-mode): Rename from c-subword-mode.
15894         (global-subword-mode): New global minor mode.
15895         (forward-subword): Rename from c-forward-subword.
15896         (backward-subword): Rename from c-backward-subword.
15897         (mark-subword): Rename from c-mark-subword.
15898         (kill-subword): Rename from c-kill-subword.
15899         (backward-kill-subword): Rename from c-backward-kill-subword.
15900         (transpose-subwords): Rename from c-tranpose-subword.
15901         (downcase-subword): Rename from c-downcase-subword.
15902         (capitalize-subword): Rename from c-capitalize-subword.
15903         (forward-subword-internal): Rename from c-forward-subword-internal.
15904         (backward-subword-internal): Rename from c-backward-subword-internal.
15906 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
15908         * vc.el (vc-deduce-fileset): Allow non-state changing operations
15909         from a dired buffer.
15910         (vc-dired-deduce-fileset): New function.
15911         (vc-root-diff, vc-print-root-log): Use it.
15913         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15914         nil LIMIT argument to vc-print-log-internal.
15916 2009-11-20  Glenn Morris  <rgm@gnu.org>
15918         * Makefile.in (ELCFILES): Regenerate.
15920 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
15922         * calc/calc.el (calc-set-mode-line):
15923         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15924         (math-format-number): Rename `math-format-complement-signed' to
15925         `math-format-twos-complement'.
15927         * calc/calc-bin.el (math-format-twos-complement): Rename from
15928         math-format-complement-signed.
15929         (calc-radix): Rename `calc-complement-signed-mode' to
15930         `calc-twos-complement-mode'.
15931         (calc-octal-radix, calc-hex-radix): Add an argument for
15932         two's complement.
15934         * calc/calc-embed.el (calc-embedded-mode-vars):
15935         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15937         * calc/calc-ext.el (calc-init-extensions):
15938         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15939         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15941         * calc/calc-units.el (math-build-units-table-buffer):
15942         Let `calc-twos-complement-mode' be nil.
15944         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15945         entries.
15947         * calc/calc-vec.el (calcFunc-vunpack):
15948         * calc/calc-aent.el (calc-do-calc-eval):
15949         * calc/calc-forms.el (math-format-date):
15950         * calc/calc-graph.el (calc-graph-plot):
15951         * calc/calc-math.el (math-use-emacs-fn):
15952         * calc/calccomp.el (math-compose-expr):
15953         Let `calc-twos-complement-mode' be nil.
15955 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15957         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15958         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
15959         * minibuffer.el (completion-in-region-functions): New hook.
15960         (completion-in-region): New function.
15961         * emacs-lisp/lisp.el (lisp-complete-symbol):
15962         * pcomplete.el (pcomplete-std-complete): Use it.
15964 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15966         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15967         (latex-complete-alist): New vars.
15968         (latex-string-prefix-p, latex-complete-bibtex-keys)
15969         (latex-complete-envnames, latex-complete-refkeys)
15970         (latex-complete-data): New functions.
15971         (latex-complete, latex-indent-or-complete): New commands.
15973         * window.el (display-buffer-mark-dedicated): New var.
15974         (display-buffer): Obey it.
15975         * minibuffer.el (minibuffer-completion-help): Use it.
15977         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15979         * filecache.el (file-cache-add-file): Use push and cons.
15980         (file-cache-delete-file-regexp): Use push.
15981         (file-cache-complete): Use completion-in-region.
15983         * simple.el (with-wrapper-hook): Fix thinko.
15985         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15986         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15987         Use with-current-buffer and string-to-number.
15988         (hfy-fallback-colour-values): Use assoc-string.
15989         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15990         (hfy-face-at): Remove unused var `found-face'.
15991         (hfy-compile-stylesheet): Remove unused var `css'.
15992         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15993         and `orig-buffer'.
15994         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15995         Use with-current-buffer.
15996         (hfy-text-p): Use expand-file-name and fewer setq.
15998 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
16000         * htmlfontify.el, hfy-cmap.el: New files.
16002 2009-11-19  Juri Linkov  <juri@jurta.org>
16004         * minibuffer.el (completions-format): New defcustom.
16005         (completion--insert-strings): Implement vertical format.
16007         * simple.el (switch-to-completions): Move point to the first
16008         completion when point was at the beginning of the buffer.
16010 2009-11-19  Juri Linkov  <juri@jurta.org>
16012         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
16014         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16016 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
16018         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16019         (mail-signature): Change default to t.
16020         (mail-from-style): Deprecate `system-default' value.
16021         (mail-insert-from-field): For default value of mail-from-style,
16022         default to `angles' unless `angles' needs quoting and `parens'
16023         does not.
16024         (mail-citation-prefix-regexp): Use citation regexp from
16025         message-mode.
16027 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
16029         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16030         Set variables for computing the prompt for reading password.
16032 2009-11-19  Glenn Morris  <rgm@gnu.org>
16034         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
16036         * textmodes/flyspell.el (sgml-lexical-context): Declare.
16038         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16039         (newsticker-treeview-listwindow-height): Fix custom type.
16041 2009-11-19  Kenichi Handa  <handa@m17n.org>
16043         * descr-text.el (describe-char-padded-string): Compose with TAB
16044         only if there's a font for CH.
16045         (describe-char): Fix the condition for detecting a trivial composition.
16047 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
16049         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16050         more accurate version of the regexp.  (Bug#3910)
16052 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
16054         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16056 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
16058         * font-setting.el (font-use-system-font): Declare for byte-compiler.
16059         (font-setting-change-default-font): Fix typo in docstring.
16061 2009-11-18  Alan Mackenzie  <acm@muc.de>
16063         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16065 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
16067         * font-setting.el (font-use-system-font): Move ...
16069         * cus-start.el (all): ... to here.
16071 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
16073         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16074         Don't set `ad-return-value' if `ad-do-it' doesn't.
16076         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16077         modification time.
16079 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
16081         * menu-bar.el: Put "Use system font" in Option-menu.
16082         (menu-bar-options-save): Add font-use-system-font.
16084         * loadup.el: If feature system-font-setting or font-render-setting is
16085         there, load font-setting.
16087         * Makefile.in (ELCFILES): Add font-settings.el.
16088         * font-setting.el: New file.
16090 2009-11-17  Glenn Morris  <rgm@gnu.org>
16092         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16094         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16095         Preserve point in the list buffer.  (Bug#4939)
16096         Use point-at-eol.
16097         (newsticker--treeview-list-update-highlight)
16098         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16100 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
16102         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16103         Remove.
16105         * calc/calc-ext.el (calc-init-extensions): Remove references to
16106         symclip.
16108         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16110         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16111         * calc/calc-help.el (calc-b-prefix-help): Remove references to
16112         `calc-symclip'.
16114 2009-11-16  Kevin Ryde  <user42@zip.com.au>
16116         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16117         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16119         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16120         (lm-keywords-list): Allow comma-only separator like "foo,bar".
16121         Ignore trailing spaces by omit-nulls to split-string (fixing
16122         regression from Emacs 21 due to the incompatible split-string
16123         change).  (Bug #4928.)
16125 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
16127         * vc.el (vc-log-show-limit): Default to 2000.
16128         (vc-print-log-internal): Insert buttons to request more entries
16129         when limiting the output.
16131         * vc-sccs.el (vc-sccs-print-log):
16132         * vc-rcs.el (vc-rcs-print-log):
16133         * vc-cvs.el (vc-cvs-print-log):
16134         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16135         LIMIT is non-nil.
16137 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
16139         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16140         error when `tramp-gvfs-dbus-event-vector' is set.
16141         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16143 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16145         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16147 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
16149         * net/dbus.el (dbus-unregister-service): New defun.
16150         (dbus-register-property): Register the handlers of
16151         "org.freedesktop.DBus.Properties" for SERVICE.
16152         (dbus-property-handler): Fix docstring.
16154 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16156         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16157         Quote doc string reference in defvaralias as it is not in special form.
16158         (byte-compile-output-docform): Doc fix.
16160 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
16162         * calc/calc.el (math-2-word-size, math-half-2-word-size)
16163         (calc-complement-signed-mode): New variables.
16164         (calc-set-mode-line): Add indicator for twos-complements.
16165         (math-format-number): Format twos-complement notation.
16167         * calc/calc-bin.el (calc-word-size): Reset the variables
16168         `math-2-word-size' and `math-half-2-word-size'.
16169         (math-format-complement-signed, math-symclip, calcFunc-symclip)
16170         (calc-symclip): New functions.
16172         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16174         * calc/calc-embed.el (calc-embedded-mode-vars):
16175         Add `calc-complement-signed-mode' to the list of modes.
16177         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16178         (calc-b-oper-keys): Add `calc-symclip' to list.
16180         * calc/calc-ext.el (math-read-number-fancy): Read complement
16181         signed numbers.
16182         (calc-init-extensions): Add binding for `calc-symclip'.
16183         Add autoload for `calcFunc-symclip' and `calc-symclip'.
16185         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16186         `calc-symclip'.
16187         (calc-modes-menu): Add item for twos complement mode.
16189         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16191 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16193         * register.el (jump-to-register, insert-register): Handle Semantic
16194         tags.  From commented-out advice in semantic/senator.el.
16196 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
16198         * vc.el (vc-log-show-limit): New variable.
16199         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
16200         when using a prefix argument.
16201         (vc-print-log-internal): Add new argument LIMIT.
16203         * vc-svn.el (vc-svn-print-log):
16204         * vc-mtn.el (vc-mtn-print-log):
16205         * vc-hg.el (vc-hg-print-log):
16206         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16207         pass it to the log command when set.  Make the BUFFER argument
16208         non-optional.
16210         * vc-sccs.el (vc-sccs-print-log):
16211         * vc-rcs.el (vc-rcs-print-log):
16212         * vc-git.el (vc-git-print-log):
16213         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16214         ignore it.  Make the BUFFER argument non-optional.
16216         * bindings.el (mode-line-buffer-identification): Do not purecopy.
16218 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16220         * dired.el (dired-mode-map): Move encryption items to "Operate"
16221         menu (Bug#4703).
16223         * strokes.el (strokes-update-window-configuration): Make strokes
16224         buffer current before erasing (Bug#4906).
16226 2009-11-15  Juri Linkov  <juri@jurta.org>
16228         * simple.el (set-mark-default-inactive): Add :type, :group
16229         and :version.  (Bug#4876)
16231 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
16233         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16234         (archive-unique-fname): ... here.  (Bug#4929)
16236 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16238         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16239         with a real fix.
16241         * novice.el (disabled-command-function): Add useful args.
16242         Setup the help buffer so that [back] works.
16243         Remove redundant call to help-mode.
16244         (disabled-command-function): Use `case'.
16245         (en/disable-command): New function extracted from enable-command.
16246         (enable-command, disable-command): Use it.
16248 2009-11-14  Glenn Morris  <rgm@gnu.org>
16250         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16251         constants.  (Bug#4913)
16253         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16255 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
16257         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16258         defined in C that have no doc-strings.  (Bug#1063)
16260 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
16262         * cus-edit.el (data, files):
16263         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
16265 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
16267         * simple.el (shell-command): Doc fix (Bug#4891).
16269         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16271 2009-11-14  Glenn Morris  <rgm@gnu.org>
16273         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16274         statements for vc-diff, emerge-quit, and rmail-cease-edit.
16275         If they are already loaded, eval-after-load will do the right thing.
16277         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16278         compiling.
16280         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16282         * simple.el (x-selection-owner-p): Declare.
16283         (read-mail-command): Use custom radio type rather than choice.
16284         (completion-no-auto-exit): Doc fix.
16286         * custom.el (defgroup):
16287         * epg-config.el (epg): Doc fixes.
16289 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
16291         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16292         * international/ccl.el (define-ccl-program): Do not purecopy the
16293         docstring, defconst does it anyway.
16295 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16297         * add-log.el (add-change-log-entry): Avoid displaying the changelog
16298         a second time.
16300         * x-dnd.el (x-dnd-maybe-call-test-function):
16301         * window.el (split-window-vertically):
16302         * whitespace.el (whitespace-help-on):
16303         * vc-rcs.el (vc-rcs-consult-headers):
16304         * userlock.el (ask-user-about-lock-help)
16305         (ask-user-about-supersession-help):
16306         * type-break.el (type-break-force-mode-line-update):
16307         * time-stamp.el (time-stamp-conv-warn):
16308         * terminal.el (te-set-output-log, te-more-break, te-filter)
16309         (te-sentinel, terminal-emulator):
16310         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16311         (term-write-input-ring, term-check-source, term-start-output-log):
16312         (term-display-buffer-line, term-dynamic-list-completions):
16313         (term-ansi-make-term, serial-term):
16314         * subr.el (selective-display):
16315         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16316         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16317         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16318         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16319         (speedbar-remove-localized-speedbar-support)
16320         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16321         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16322         (speedbar-buffers-line-directory):
16323         * simple.el (shell-command-on-region, append-to-buffer)
16324         (prepend-to-buffer):
16325         * shadowfile.el (shadow-save-todo-file):
16326         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16327         (scroll-bar-maybe-set-window-start):
16328         * sb-image.el (speedbar-image-dump):
16329         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16330         (load-save-place-alist-from-file):
16331         * ps-samp.el (ps-print-message-from-summary):
16332         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16333         (ps-background-image, ps-begin-job, ps-do-despool):
16334         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16335         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16336         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16337         (pr-call-process, pr-file-list, pr-interface-save):
16338         * novice.el (disabled-command-function)
16339         (enable-command, disable-command):
16340         * mouse.el (mouse-buffer-menu-alist):
16341         * mouse-copy.el (mouse-kill-preserving-secondary):
16342         * macros.el (kbd-macro-query):
16343         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16344         * informat.el (batch-info-validate):
16345         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16346         * hippie-exp.el (try-expand-dabbrev-visible):
16347         * help-mode.el (help-make-xrefs):
16348         * help-fns.el (describe-variable):
16349         * generic-x.el (bat-generic-mode-run-as-comint):
16350         * finder.el (finder-mouse-select):
16351         * find-dired.el (find-dired-sentinel):
16352         * filesets.el (filesets-file-close):
16353         * files.el (list-directory):
16354         * faces.el (list-faces-display, describe-face):
16355         * facemenu.el (list-colors-display):
16356         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16357         * epg.el (epg--process-filter, epg-cancel):
16358         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16359         (epa--read-signature-type):
16360         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16361         (emerge-file-names):
16362         * ehelp.el (electric-helpify):
16363         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16364         * ediff-vers.el (rcs-ediff-view-revision):
16365         * ediff-util.el (ediff-setup):
16366         * ediff-mult.el (ediff-append-custom-diff):
16367         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16368         (ediff-wordify):
16369         * echistory.el (Electric-command-history-redo-expression):
16370         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16371         * disp-table.el (describe-display-table):
16372         * dired.el (dired-find-buffer-nocreate):
16373         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16374         * dabbrev.el (dabbrev--same-major-mode-p):
16375         * chistory.el (list-command-history):
16376         * apropos.el (apropos-documentation):
16377         * allout.el (allout-obtain-passphrase):
16378         (allout-copy-exposed-to-buffer):
16379         (allout-verify-passphrase): Use with-current-buffer.
16381 2009-11-13  Glenn Morris  <rgm@gnu.org>
16383         * Makefile.in (ELCFILES): Regenerate.
16385 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
16387         * net/dbus.el (dbus-registered-objects-table): Rename from
16388         `dbus-registered-functions-table', because it contains also properties.
16389         (dbus-unregister-object): Unregister also properties.
16390         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16391         Use a timeout of 500 msec, in order to not block.
16392         (dbus-register-property, dbus-property-handler): New defuns.
16394 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16396         * simple.el (minibuffer-default-add-completions): Drop deprecated
16397         4th arg.
16399 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
16401         * textmodes/artist.el (artist-mouse-choose-operation):
16402         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16403         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16404         (artist-compute-up-event-key): New function.
16405         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16407 2009-11-13  Kenichi Handa  <handa@m17n.org>
16409         * language/japan-util.el: Make sure that the value of jisx0208
16410         property is jisx0208 character.
16412 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
16414         * international/mule.el (auto-coding-regexp-alist): Only purecopy
16415         car or each item, not the whole list.
16417 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16419         * minibuffer.el (minibuffer-completion-help):
16420         Use minibuffer-hide-completions.
16422 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
16424         * dired.el (dired-save-positions, dired-restore-positions): New funs.
16425         (dired-revert): Use them (bug#4880).
16427 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16429         * tooltip.el (tooltip-frame-parameters): Undo previous change.
16431 2009-11-12  Juri Linkov  <juri@jurta.org>
16433         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16434         New functions.
16435         (find-file-literally-at-point): Alias of `ffap-literally'.
16437 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16439         * textmodes/ispell.el (ispell-skip-region-alist):
16440         * textmodes/css-mode.el (auto-mode-alist):
16441         * progmodes/compile.el (auto-mode-alist):
16442         * international/mule.el (ctext-non-standard-encodings-alist)
16443         (ctext-non-standard-encodings-regexp):
16444         * simple.el (shell-command-switch, text-read-only):
16445         * replace.el (occur-mode-map):
16446         * paths.el (rmail-file-name):
16447         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16448         * find-file.el (ff-special-constructs):
16449         * files.el (file-name-handler-alist):
16450         * composite.el: Purecopy strings.
16452         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16454 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16456         * widget.el (define-widget): Purecopy the docstring.
16457         * international/mule-cmds.el (charset): Do not purecopy the
16458         docstring here, define-widget does it.
16460         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16461         * textmodes/bibtex-style.el (auto-mode-alist):
16462         * progmodes/inf-lisp.el (inferior-lisp-prompt):
16463         * progmodes/compile.el (compile-command):
16464         * language/korea-util.el (default-korean-keyboard):
16465         * international/mule-conf.el (file-coding-system-alist):
16466         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16467         * tooltip.el (tooltip-frame-parameters):
16468         * newcomment.el (comment-end, comment-padding):
16469         * dired.el (dired-trivial-filenames):
16470         * comint.el (comint-file-name-prefix): Purecopy initial values.
16472 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
16474         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16475         (tramp-advice-minibuffer-electric-tilde): Unload advices via
16476         `tramp-unload'.
16477         (tramp-advice-make-auto-save-file-name)
16478         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16479         after removing the advice.
16481 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
16483         * progmodes/grep.el (grep-regexp-alist):
16484         * international/mule-cmds.el (iso-2022-control-alist):
16485         * emacs-lisp/timer.el (timer-duration-words):
16486         * subr.el (version-separator, version-regexp-alist):
16487         * minibuffer.el (completion-styles-alist):
16488         * faces.el (face-attribute-name-alist, list-faces-sample-text):
16489         Change defvars to defconsts.
16491         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16492         * loadup.el ("international/mule-conf"): Load the byte compiled version.
16493         * international/mule-conf.el: Allow to be byte compiled.
16495         * international/mule.el (define-charset): Purecopy props.
16496         (load-with-code-conversion): Purecopy doc string and file name.
16497         (put-charset-property): Purecopy strings.
16498         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16500         * international/mule-cmds.el (register-input-method): Purecopy arguments.
16501         (define-char-code-property): Correctly purecopy the table.
16503         * international/ccl.el (define-ccl-program): Purecopy the docstring.
16505         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16507         * subr.el (add-hook): Purecopy strings.
16508         (eval-after-load): Purecopy load-history-regexp and the form.
16510         * custom.el (custom-declare-group): Purecopy load-file-name.
16512         * subr.el (menu-bar-separator): New defconst.
16513         * net/eudc.el (eudc-tools-menu):
16514         * international/mule-cmds.el (set-coding-system-map)
16515         (mule-menu-keymap):
16516         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16517         * vc-hooks.el (vc-menu-map):
16518         * replace.el (occur-mode-map):
16519         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16520         (menu-bar-edit-menu, menu-bar-goto-menu)
16521         (menu-bar-custom-menu, menu-bar-showhide-menu)
16522         (menu-bar-options-menu, menu-bar-tools-menu)
16523         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16524         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16525         (menu-bar-help-menu):
16526         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16527         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16529         * term/x-win.el (x-gtk-stock-map):
16530         * progmodes/vera-mode.el (auto-mode-alist):
16531         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16532         (inferior-lisp-program, inferior-lisp-load-command):
16533         * progmodes/hideshow.el (hs-special-modes-alist):
16534         * progmodes/gud.el (same-window-regexps):
16535         * progmodes/grep.el (grep-program, find-program, xargs-program):
16536         * net/telnet.el (same-window-regexps):
16537         * net/rlogin.el (same-window-regexps):
16538         * language/ethiopic.el (font-ccl-encoder-alist):
16539         * vc-sccs.el (vc-sccs-master-templates):
16540         * vc-rcs.el (vc-rcs-master-templates):
16541         * subr.el (cl-assertion-failed):
16542         * simple.el (next-error-overlay-arrow-position):
16543         * lpr.el (lpr-command):
16544         * locate.el (locate-ls-subdir-switches):
16545         * info.el (same-window-regexps, info)
16546         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16547         * image-mode.el (image-mode, auto-mode-alist):
16548         * hippie-exp.el (hippie-expand-ignore-buffers):
16549         * format.el (format-alist):
16550         * find-dired.el (find-ls-subdir-switches, find-grep-options)
16551         (find-name-arg):
16552         * facemenu.el (facemenu-keybindings):
16553         * dired.el (dired-listing-switches, dired-chown-program):
16554         * diff.el (diff-switches, diff-command):
16555         * cus-edit.el (same-window-regexps):
16556         * bindings.el (mode-line-mule-info)
16557         (mode-line-buffer-identification): Purecopy strings.
16559 2009-11-11  Juri Linkov  <juri@jurta.org>
16561         * simple.el (dired-get-filename) <declare-function>:
16562         Tell the byte-compiler about dired-get-filename.
16563         (shell-command): In Dired mode, get filename from the current line
16564         as the default value.
16566 2009-11-10  Glenn Morris  <rgm@gnu.org>
16568         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16569         * calendar/holidays.el, progmodes/cperl-mode.el:
16570         Update x-popup-menu declarations.
16572         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16573         (list-load-path-shadows): Use dolist.
16574         (list-load-path-shadows): Use with-current-buffer.
16576 2009-11-10  Juri Linkov  <juri@jurta.org>
16578         * minibuffer.el (read-file-name): Support a list of default values
16579         in `default-filename'.  Use the first file name where only one
16580         element is required.  Doc fix.
16582 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
16584         * net/dbus.el (dbus-unregister-object): Release service, if no
16585         other method is registered for it.
16587 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
16589         * bookmark.el (bookmark-completing-read): Sort bookmark names if
16590         bookmark-sort-flag is non-nil (Bug#4653).
16592 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16594         * emulation/cua-base.el: Add CUA property to some CC mode commands
16595         (Bug#4100).
16597 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16599         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16600         at end of sentence (Bug#4818).
16602 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
16604         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16605         Handle "see declaration of" MSFT statements (Bug#4100).
16607 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
16609         * net/tramp.el (tramp-advice-make-auto-save-file-name)
16610         (tramp-advice-file-expand-wildcards): Unload via
16611         `ad-remove-advice'.
16613         * net/trampver.el: Update release number.
16615 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16617         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16618         `ad-do-it'.
16620 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
16622         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16623         in order to keep context in SELinux.
16625 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16627         * dired-aux.el (dired-query): Place cursor in echo area and allow
16628         C-g.
16630         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16631         menu item if not on a directory (Bug#4701).
16633 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
16635         Sync with Tramp 2.1.17.
16637         * net/tramp.el (tramp-handle-copy-directory): Don't use
16638         `file-remote-p' (due to compatibility).
16640         * net/tramp-compat.el (tramp-compat-copy-directory)
16641         (tramp-compat-delete-directory): New defuns.
16643         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16644         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16645         Use `tramp-compat-delete-directory'.
16647         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16648         (tramp-smb-handle-delete-directory):
16649         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16651         * net/trampver.el: Update release number.
16653 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
16655         * tar-mode.el (tar-copy): Call write-region on the right buffer
16656         (Bug#4857).
16658         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16659         by hand, if necessary (Bug#4878).
16661 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
16663         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16664         align size column (Bug#4839).
16666         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16667         statement.
16669 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16671         * progmodes/ld-script.el (auto-mode-alist):
16672         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16674         * cus-face.el (custom-declare-face): Purecopy face spec.
16676 2009-11-06  Kenichi Handa  <handa@m17n.org>
16678         * international/uni-bidi.el: Re-generated.
16679         * international/uni-category.el: Re-generated.
16680         * international/uni-combining.el: Re-generated.
16681         * international/uni-mirrored.el: Re-generated.
16683 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16685         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16686         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16687         (tex-start-options, slitex-run-command, latex-run-command)
16688         (tex-run-command, tex-directory):
16689         * textmodes/ispell.el (ispell-html-skip-alists)
16690         (ispell-tex-skip-alists, ispell-tex-skip-alists):
16691         * textmodes/fill.el (adaptive-fill-first-line-regexp):
16692         (adaptive-fill-regexp):
16693         * textmodes/dns-mode.el (auto-mode-alist):
16694         * progmodes/python.el (interpreter-mode-alist):
16695         * progmodes/etags.el (tags-compression-info-list):
16696         * progmodes/etags.el (tags-file-name):
16697         * net/browse-url.el (browse-url-galeon-program)
16698         (browse-url-firefox-program):
16699         * mail/sendmail.el (mail-signature-file)
16700         (mail-citation-prefix-regexp):
16701         * international/mule-conf.el (eight-bit):
16702         * international/latexenc.el (latex-inputenc-coding-alist):
16703         * international/fontset.el (x-pixel-size-width-font-regexp):
16704         * emacs-lisp/warnings.el (warning-type-format):
16705         * emacs-lisp/trace.el (trace-buffer):
16706         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16707         (emacs-lisp-mode-map):
16708         * calendar/holidays.el (holiday-solar-holidays)
16709         (holiday-bahai-holidays, holiday-islamic-holidays)
16710         (holiday-christian-holidays, holiday-hebrew-holidays)
16711         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16712         (hebrew-holidays-1, holiday-oriental-holidays)
16713         (holiday-general-holidays):
16714         * x-dnd.el (x-dnd-known-types):
16715         * tool-bar.el (tool-bar):
16716         * startup.el (site-run-file):
16717         * shell.el (shell-dumb-shell-regexp):
16718         * rfn-eshadow.el (file-name-shadow-tty-properties)
16719         (file-name-shadow-properties):
16720         * paths.el (remote-shell-program, news-directory):
16721         * mouse.el ([C-down-mouse-3]):
16722         * menu-bar.el (menu-bar-tools-menu):
16723         * jka-cmpr-hook.el (jka-compr-load-suffixes)
16724         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16725         (jka-compr-compression-info-list):
16726         * isearch.el (search-whitespace-regexp):
16727         * image-file.el (image-file-name-extensions):
16728         * find-dired.el (find-ls-option):
16729         * files.el (directory-listing-before-filename-regexp)
16730         (directory-free-space-args, insert-directory-program)
16731         (list-directory-brief-switches, magic-fallback-mode-alist)
16732         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16733         (automount-dir-prefix):
16734         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16735         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16736         (face-font-registry-alternatives, face-font-registry-alternatives)
16737         (face-font-family-alternatives):
16738         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16739         (facemenu-foreground-menu, facemenu-face-menu):
16740         * epa-hook.el (epa-file-name-regexp):
16741         * dnd.el (dnd-protocol-alist):
16742         * textmodes/rst.el (auto-mode-alist):
16743         * button.el (default-button): Purecopy strings.
16745 2009-11-06  Glenn Morris  <rgm@gnu.org>
16747         * Makefile.in (ELCFILES): Update.
16749 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16751         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16752         * emacs-lisp/levents.el: Move to obsolete/levents.el.
16754         * nxml/xsd-regexp.el (xsdre-gen-categories):
16755         * nxml/xmltok.el (xmltok-parse-entity):
16756         * nxml/rng-parse.el (rng-parse-validate-file):
16757         * nxml/rng-maint.el (rng-format-manual)
16758         (rng-manual-output-force-new-line):
16759         * nxml/rng-loc.el (rng-save-schema-location-1):
16760         * nxml/rng-cmpct.el (rng-c-parse-file):
16761         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16762         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16764 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
16766         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16767         Remove extra save-excursions and make-variable-buffer-local's.
16768         Suggested by Stefan Monnier.
16770         (verilog-getopt-file, verilog-module-inside-filename-p)
16771         (verilog-set-define): Merge GNU 1.35 and repair changes from
16772         switching to using with-current-buffer.
16774         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16775         being treated as a number and confusing AUTORESET.
16776         Reported by Dan Dever.
16778         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16779         Add verilog-auto-ignore-concat to fix backward compatibility with
16780         older verilog-modes.  Reported by Dan Katz.
16782         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16783         containing closing anchors "...$".
16785         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16786         Reported by Wade Smith.
16788         (verilog-batch-execute-func): Comment on function usage.
16790 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
16792         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16793         for labels.
16795         (verilog-label-re, verilog-calc-1): Support proper indent of named
16796         asserts.
16798         (verilog-backward-token, verilog-basic-complete-re)
16799         (verilog-beg-of-statement, verilog-indent-re): Support proper
16800         indent of the assert statement at the beginning of a block of text.
16802         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16803         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16804         tokens as begins.
16806 2009-11-05  Glenn Morris  <rgm@gnu.org>
16808         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16809         Emacs 19.  (Bug#1531)
16810         (byte-compile-fix-header): Update for the above change.
16811         Drop test for epoch::version.
16813         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16814         * cus-dep.el (custom-make-dependencies):
16815         * finder.el (finder-compile-keywords):
16816         Use autoload-rubric's feature argument.
16818         * calendar/diary-lib.el (top-level): Make load behave more like require.
16820         * vc-git.el (vc-git-stash-map): Move definition before use.
16822 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
16824         * custom.el (custom-declare-group): Purecopy standard-value.
16825         (custom-declare-group): Purecopy custom-prefix.
16827         * international/mule.el (load-with-code-conversion):
16828         Call do-after-load-evaluation unconditionally.
16830         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16832 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16834         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16836 2009-11-04  Glenn Morris  <rgm@gnu.org>
16838         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16839         (byte-compile-compatibility): Remove option.
16840         (byte-compile-close-variables, byte-compile-fix-header)
16841         (byte-compile-insert-header, byte-compile-output-docform)
16842         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16843         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16844         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16845         (byte-compile-insert, byte-compile-defun):
16846         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
16847         (byte-defop-compiler19): Remove.
16848         Without byte-compile-compatibility, the 'emacs19-opcode property is not
16849         used by anything.  Replace all calls with byte-defop-compiler.
16851 2009-11-04  Juri Linkov  <juri@jurta.org>
16853         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16854         (menu-bar-options-menu): Don't quote the `prop' arg of
16855         `menu-bar-make-mm-toggle'.
16857 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
16859         * calendar/calendar.el (cal-loaddefs):
16860         * calendar/diary-lib.el (diary-loaddefs):
16861         * calendar/holidays.el (hol-loaddefs):
16862         * eshell/esh-module.el (esh-groups): Load rather than require.
16864 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16866         * calendar/todo-mode.el (todo-add-category): Don't hardcode
16867         point-min==1.
16868         (todo-top-priorities): Only display-buffer when called interactively.
16869         (todo-item-start): Don't save excursion point.
16870         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
16871         (todo-insert-item-here, todo-file-item, todo-remove-item):
16872         Adjust uses of todo-item-start and todo-item-end.
16874         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16875         (autoload-rubric): Don't use any more.
16877         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16878         and only put a prop if it is non-nil.
16880 2009-11-03  Juri Linkov  <juri@jurta.org>
16882         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16883         (menu-bar-options-menu): Fix list quoting (Bug#4429).
16885         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16886         and "Menu" to make top-level menu item visually one unit (like
16887         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16888         multi-word menu items).  Fix :help string for quit-window.
16890 2009-11-03  Glenn Morris  <rgm@gnu.org>
16892         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16893         (byte-compile-file-form-define-abbrev-table)
16894         (byte-compile-file-form-custom-declare-variable)
16895         (byte-compile-variable-ref, byte-compile-defvar):
16896         Whether or not a warning is enabled should only affect whether we issue
16897         the warning, not whether or not we collect the relevant data.
16898         Eg warnings can be turned on and off throughout the course of a file.
16900         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16901         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16903 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16905         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16906         * play/mpuz.el (mpuz-create-buffer):
16907         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16908         (lm-print-y,s,noise, lm-print-w0, lm-init):
16909         * play/gomoku.el (gomoku-prompt-for-move):
16910         * play/fortune.el (fortune-in-buffer):
16911         * play/dissociate.el (dissociated-press):
16912         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16913         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16914         * mail/supercite.el (sc-eref-show):
16915         * mail/smtpmail.el (smtpmail-send-it):
16916         * mail/rmailsum.el (rmail-summary-next-labeled-message)
16917         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16918         (rmail-summary-undelete-many, rmail-summary-rmail-update)
16919         (rmail-summary-goto-msg, rmail-summary-expunge)
16920         (rmail-summary-get-new-mail, rmail-summary-search-backward)
16921         (rmail-summary-add-label, rmail-summary-output-menu)
16922         (rmail-summary-output-body):
16923         * mail/rfc822.el (rfc822-addresses):
16924         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16925         * mail/mailpost.el (post-mail-send-it):
16926         * mail/hashcash.el (hashcash-generate-payment):
16927         * mail/feedmail.el (feedmail-run-the-queue)
16928         (feedmail-queue-send-edit-prompt-help-first)
16929         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16930         (feedmail-deduce-address-list):
16931         * eshell/esh-ext.el (eshell-remote-command):
16932         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16933         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16934         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16935         (viper-save-string-in-file, viper-valid-marker):
16936         * emulation/viper-keym.el (viper-toggle-key):
16937         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16938         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16939         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16940         * emulation/viper-cmd.el (viper-exec-form-in-vi)
16941         (viper-exec-form-in-emacs, viper-brac-function):
16942         * emulation/viper.el (viper-delocalize-var):
16943         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16944         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16945         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16946         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16947         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16948         * emulation/edt.el (edt-electric-helpify):
16949         * emulation/cua-rect.el (cua--rectangle-aux-replace):
16950         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16951         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16952         (cua-indent-to-global-mark-column):
16953         * calendar/diary-lib.el (calendar-mark-1):
16954         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16955         Use with-current-buffer.
16956         * emulation/viper.el (viper-delocalize-var): Use dolist.
16958 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
16960         * comint.el (comint-replace-by-expanded-history-before-point):
16961         Replace !! with the previous input string literally (Bug#1795).
16963 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
16965         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16966         to be made up of whitespace.
16968 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
16970         * minibuffer.el (read-file-name): Don't use file dialogs for
16971         remote directories (Bug#99).
16973 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
16975         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16977 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16979         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16980         instead of deleting the window or frame.
16982 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16984         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16985         Support face colors.
16987         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16988         New function.  Support face colors (Bug#1168).
16989         (tex-common-initialization): Use it.
16991         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16992         mode allows it (Bug#1168).
16994 2009-10-31  Juri Linkov  <juri@jurta.org>
16996         * facemenu.el (list-colors-display): Don't mark buffer as
16997         modified (Bug#3948).
16999 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
17001         * international/mule-diag.el (list-character-sets-1):
17002         Minor message fix (Bug#3526).
17004         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17005         Fix face property (Bug#4834).
17006         (etags-list-tags, etags-tags-apropos-additional)
17007         (etags-tags-apropos, tags-select-tags-table): Add follow-link
17008         property.
17010         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17011         items.
17013 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17015         * textmodes/two-column.el (2C-split):
17016         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17017         * textmodes/tex-mode.el (tex-set-buffer-directory):
17018         * textmodes/spell.el (spell-region, spell-string):
17019         * textmodes/reftex.el (reftex-erase-buffer):
17020         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17021         * textmodes/reftex-toc.el (reftex-toc-promote-action):
17022         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17023         (reftex-select-item):
17024         * textmodes/reftex-ref.el (reftex-label-info-update)
17025         (reftex-offer-label-menu):
17026         * textmodes/reftex-index.el (reftex-index-change-entry)
17027         (reftex-index-phrases-info):
17028         * textmodes/reftex-global.el (reftex-create-tags-file)
17029         (reftex-save-all-document-buffers, reftex-ensure-write-access):
17030         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17031         (reftex-view-crossref-from-bibtex):
17032         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17033         (reftex-extract-bib-entries-from-thebibliography)
17034         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17035         * textmodes/refbib.el (r2b-capitalize-title):
17036         (r2b-convert-buffer, r2b-help):
17037         * textmodes/page-ext.el (pages-directory)
17038         (pages-directory-goto-with-mouse):
17039         * textmodes/bibtex.el (bibtex-validate-globally):
17040         * textmodes/bib-mode.el (bib-capitalize-title):
17041         * textmodes/artist.el (artist-clear-buffer, artist-system):
17042         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17043         (local-set-scheme-interaction-buffer, xscheme-process-filter)
17044         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17045         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17046         (xscheme-send-control-g-interrupt, xscheme-start-process)
17047         (xscheme-process-sentinel, xscheme-cd):
17048         * progmodes/verilog-mode.el (verilog-read-always-signals)
17049         (verilog-set-define, verilog-getopt-file)
17050         (verilog-module-inside-filename-p):
17051         * progmodes/sh-script.el:
17052         * progmodes/python.el (python-pdbtrack-get-source-buffer)
17053         (python-pdbtrack-grub-for-buffer, python-execute-file):
17054         * progmodes/octave-inf.el (inferior-octave):
17055         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17056         (idlwave-shell-compile-helper-routines, idlwave-set-local)
17057         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17058         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17059         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17060         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17061         (idlwave-shell-filter, idlwave-shell-examine-highlight)
17062         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17063         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17064         (idlwave-shell-examine-display, idlwave-shell-run-region)
17065         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17066         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17067         * progmodes/idlw-help.el (idlwave-help-get-special-help)
17068         (idlwave-help-get-help-buffer):
17069         * progmodes/gud.el (gud-basic-call, gud-find-class)
17070         (gud-tooltip-activate-mouse-motions-if-enabled):
17071         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17072         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17073         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17074         (ebrowse-tags-next-file):
17075         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17076         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17077         (ebnf-eps-finish-and-write):
17078         * progmodes/cpp.el (cpp-edit-save):
17079         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17080         * progmodes/cc-defs.el (c-emacs-features):
17081         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17082         (antlr-directory-dependencies):
17083         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17084         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17085         (ada-find-any-references, ada-make-filename-from-adaname)
17086         (ada-make-body-gnatstub):
17087         * obsolete/rnews.el (news-list-news-groups):
17088         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17089         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17090         * net/rcirc.el (rcirc-debug):
17091         * net/newst-treeview.el (newsticker--treeview-list-add-item)
17092         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17093         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17094         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17095         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17096         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17097         (newsticker--treeview-list-clear-highlight)
17098         (newsticker--treeview-list-update-highlight)
17099         (newsticker--treeview-list-highlight-start)
17100         (newsticker--treeview-tree-update-highlight)
17101         (newsticker--treeview-get-selected-item)
17102         (newsticker-treeview-mark-list-items-old)
17103         (newsticker--treeview-set-current-node):
17104         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17105         * net/newst-backend.el (newsticker--get-news-by-funcall)
17106         (newsticker--get-news-by-wget, newsticker--image-get)
17107         (newsticker--image-sentinel):
17108         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17109         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17110         (eudc-ph-close-session):
17111         * net/eudc.el (eudc-save-options):
17112         * language/thai-word.el (thai-update-word-table):
17113         * language/japan-util.el (japanese-string-conversion):
17114         * international/titdic-cnv.el (tsang-quick-converter)
17115         (ziranma-converter, ctlau-converter):
17116         * international/mule-cmds.el (describe-language-environment):
17117         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17118         (skkdic-convert-postfix, skkdic-convert-prefix):
17119         (skkdic-convert-okuri-nasi, skkdic-convert):
17120         * emacs-lisp/re-builder.el (reb-update-overlays):
17121         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17122         * emacs-lisp/gulp.el (gulp-send-requests):
17123         * emacs-lisp/find-gc.el (trace-call-tree):
17124         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17125         (eieio-describe-generic):
17126         * emacs-lisp/eieio-base.el (eieio-persistent-read):
17127         * emacs-lisp/edebug.el (edebug-outside-excursion):
17128         * emacs-lisp/debug.el (debugger-make-xrefs):
17129         * emacs-lisp/cust-print.el (custom-prin1-to-string):
17130         * emacs-lisp/chart.el (chart-new-buffer):
17131         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17132         Use with-current-buffer.
17133         * textmodes/artist.el (artist-system): Don't call
17134         copy-sequence on a fresh string.
17135         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17137 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
17139         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17140         is no item to edit.  (Bug#4820)
17141         (todo-top-priorities): Restore point and restore narrowing in Todo
17142         buffer.  (Bug#4820)
17144 2009-10-31  Glenn Morris  <rgm@gnu.org>
17146         * net/ange-ftp.el (top-level): Don't require dired when compiling.
17147         (comint-last-output-start, comint-last-input-start)
17148         (comint-last-input-end): Don't defvar when compiling.
17149         (ange-ftp-process-file): Use bound-and-true-p.
17151         * pcmpl-rpm.el (top-level): Move provide statement to end.
17152         (pcmpl-rpm): Remove unused custom group.
17154         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17156         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17158         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17159         (byte-compile-warnings): Add `constants' as an option.
17160         (byte-compile-callargs-warn, byte-compile-arglist-warn)
17161         (display-call-tree): Update for byte-compile-fdefinition possibly
17162         returning `(macro lambda ...)'.  (Bug#4778)
17163         (byte-compile-variable-ref, byte-compile-setq-default):
17164         Respect `constants' member of byte-compile-warnings.
17166 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17168         * vc-bzr.el (vc-bzr-revision-keywords): New var.
17169         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17170         to "submit:".
17172 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
17174         * textmodes/ispell.el (ispell-skip-region-alist):
17175         * international/mule-conf.el (eight-bit):
17176         * international/fontset.el (font-encoding-alist):
17177         * startup.el (pure-space-overflow-message):
17178         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17179         * paths.el (gnus-nntp-service, rmail-spool-directory)
17180         (term-file-prefix):
17181         * files.el (save-some-buffers-action-alist):
17182         * cmuscheme.el (same-window-buffer-names):
17183         * ielm.el (same-window-buffer-names):
17184         * shell.el (same-window-buffer-names):
17185         * mail/sendmail.el (same-window-buffer-names):
17186         * progmodes/inf-lisp.el (same-window-buffer-names):
17187         * bindings.el (mode-line-client)
17188         (mode-line-column-line-number-mode-map):
17189         * language/tibetan.el (tibetan-precomposition-rule-regexp)
17190         (tibetan-precomposed-regexp): Purecopy string arguments.
17192 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17194         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17195         (calcDigit-nondigit):
17196         * calc/calc-yank.el (calc-copy-to-buffer):
17197         * calc/calc-units.el (calc-invalidate-units-table):
17198         * calc/calc-trail.el (calc-trail-yank):
17199         * calc/calc-store.el (calc-insert-variables):
17200         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17201         * calc/calc-prog.el (calc-read-parse-table):
17202         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17203         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17204         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17205         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17206         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17207         (calc-graph-name, calc-graph-find-command, calc-graph-view)
17208         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17209         * calc/calc-ext.el (calc-realign):
17210         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17211         (calc-embedded-finish-edit, calc-embedded-make-info)
17212         (calc-embedded-finish-command, calc-embedded-stack-change):
17213         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17215         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17216         shell-dynamic-complete-filename in preference to
17217         comint-dynamic-complete-filename.
17219         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17220         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17221         Don't consider whether the display supports colors.
17222         (bookmark-import-new-list): Use dolist.
17223         (bookmark-bmenu-mode-map): Move initialization into declaration.
17224         (bookmark-bmenu-list): Use dolist, simplify.
17225         (bookmark-show-all-annotations): Use save-selected-window and dolist.
17226         (menu-bar-final-items): Use push.
17228 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
17230         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17231         it works on remote files.
17232         (vc-hg-diff): Don't pass any `--cwd' argument.
17234 2009-10-27  Kevin Ryde  <user42@zip.com.au>
17236         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17237         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17238         (Further to Bug#3921).
17240 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
17242         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17243         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17244         calling `tramp-imap-put-file'.  Add file size to the call.
17245         (tramp-imap-get-file-entries): Compute also user name, file size,
17246         and date.
17247         (tramp-imap-handle-insert-directory): Insert uid and gid.
17248         (tramp-imap-handle-file-attributes): Transform uid and gid
17249         according to `id-format'.
17250         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
17251         size in header X-Size.
17253 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
17255         * simple.el (transpose-subr): Give clearer error when the mark
17256         is not set.  (Bug#4807)
17258 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
17260         * net/tramp.el (tramp-perl-file-truename): New defconst.
17261         Perl code contributed by yary <not.com@gmail.com> (tiny change).
17262         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17263         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17264         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17266         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17267         Ignore `dired-call-process'.
17268         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17270 2009-10-26  Julian Scheid  <julians37@gmail.com>
17272         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17273         (tramp-get-remote-readlink): New defun.
17274         (tramp-handle-file-truename): Use it.
17275         (tramp-handle-file-exists-p): Check file-attributes cache, assume
17276         file exists if cache value present.
17277         (tramp-check-cached-permissions): New defun.
17278         (tramp-handle-file-readable-p): Use it.
17279         (tramp-handle-file-writable-p): Likewise.
17280         (tramp-handle-file-executable-p): Likewise.
17281         (tramp-handle-file-name-all-completions): Try using Perl to get
17282         partial completions.  When perl not available, combine `cd' and
17283         `ls' into single remote operation and use shell expansion to get
17284         partial remote directory contents.  Set `file-exists-p' cache for
17285         directory and any files returned by ls.  Change cache handling to
17286         support partial directory contents.  Use error message emitted by
17287         remote `cd' or Perl code for local tramp-error.
17288         (tramp-do-copy-or-rename-file-directly): Avoid separate
17289         tramp-send-command-and-check call.
17290         (tramp-handle-process-file): Merge three remote ops into one.
17291         Do not flush all caches when `process-file-side-effects' is set.
17292         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17293         file-attributes shows uid/gid to be set already.
17295 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
17297         * textmodes/tex-mode.el (tex-dvi-view-command)
17298         (tex-show-queue-command, tex-open-quote):
17299         * progmodes/ruby-mode.el (auto-mode-alist)
17300         (interpreter-mode-alist): Purecopy strings.
17302         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17304         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17305         string for the hook, keymap and abbrev table.
17307         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17309         * x-dnd.el (x-dnd-xdnd-to-action):
17310         * startup.el (fancy-startup-text, fancy-about-text): Change to
17311         defconst from defvar.
17313         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17315         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17316         Purecopy initialization strings.
17318         * mail/sendmail.el (mail-header-separator)
17319         (mail-personal-alias-file):
17320         * mail/rmail.el (rmail-default-dont-reply-to-names)
17321         (rmail-ignored-headers, rmail-retry-ignored-headers)
17322         (rmail-highlighted-headers, rmail-secondary-file-directory)
17323         (rmail-secondary-file-regexp):
17324         * files.el (null-device, file-name-invalid-regexp)
17325         (locate-dominating-stop-dir-regexp)
17326         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17327         (interpreter-mode-alist): Use mapcar instead of mapc.
17329         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17331         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17332         (completion-ignored-extensions):
17333         (debug-ignored-errors): Purecopy strings.
17335 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17337         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17338         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17339         (pcomplete--here): Use push.
17341         * subr.el (all-completions): Declare the 4th arg obsolete.
17343 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17345         * pcomplete.el (pcomplete-unquote-argument-function): New var.
17346         (pcomplete-unquote-argument): New function.
17347         (pcomplete--common-suffix): Always pay attention to case.
17348         (pcomplete--table-subvert): Quote and unquote the text.
17349         (pcomplete--common-quoted-suffix): New function.
17350         (pcomplete-std-complete): Use it and pcomplete-begin.
17352         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17353         we're inside a dedicated or minibuffer window.
17355 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
17357         * bookmark.el: Update documentation, especially documentation
17358         of `bookmark-alist' and of the bookmark file format.
17359         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
17361 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
17363         * mail/emacsbug.el (report-emacs-bug): Clarify that the
17364         keybindings apply to the mail buffer (Bug#4003).  Shrink help
17365         window to buffer.
17367         * whitespace.el (whitespace-mode, whitespace-newline-mode)
17368         (global-whitespace-mode, global-whitespace-newline-mode)
17369         (whitespace-toggle-options, global-whitespace-toggle-options):
17370         Doc fix (Bug#3660).
17372         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17373         of xmltok-start before the end tag was inserted (Bug#2840).
17375         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17376         patterns that are preceded by an open-paren (Bug#1320).
17378 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
17380         * files.el (delete-directory): Delete symlinks to directories with
17381         delete-file (Bug#4739).
17383 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
17385         * vc.el (vc-backend-for-registration): Rename from
17386         vc-get-backend-for-registration.  Update callers.
17388         * international/mule-cmds.el (set-language-info-alist):
17389         Purecopy lang-env.
17390         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17391         (charset): Purecopy the name.
17392         (define-char-code-property): Purecopy string arguments.
17394         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17395         Purecopy string arguments.
17397         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17398         * ediff-hook.el (menu-bar-ediff-menu):
17399         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17400         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17402 2009-10-24  Glenn Morris  <rgm@gnu.org>
17404         * comint.el (comint-dynamic-list-completions):
17405         * term.el (term-dynamic-list-completions): Use choose-completion rather
17406         than obsolete alias mouse-choose-completion.
17408         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17409         file-cache-choose-completion.
17410         (file-cache-choose-completion): Handle an optional event argument.
17411         (file-cache-mouse-choose-completion): Make it an obsolete alias.
17413         * progmodes/octave-mod.el (octave-complete-symbol):
17414         Use choose-completion if mouse-choose-completion is ever removed.
17416         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17417         use.
17419         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17420         compiler.
17422         * vc-hooks.el (vc-responsible-backend): Fix declaration.
17424 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17426         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17427         Ignore `pred' now that we receive one.
17428         Handle test-completion specially.
17430 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17432         * vc.el (vc-responsible-backend): Throw an error if not backend is
17433         found.  Remove the REGISTER argument.  Move the code dealing with
17434         REGISTER ...
17435         (vc-get-backend-for-registration): ... here.  New function.
17436         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17437         of vc-responsible-backend, pass the file name instead of the
17438         directory name.
17440 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17442         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17443         New funs.
17444         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
17445         (pcomplete-comint-setup): Don't modify a global var via
17446         accidental side-effects.
17447         (pcomplete-shell-setup): Adjust call accordingly.
17448         (pcomplete-parse-comint-arguments): Use push.
17450 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
17452         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17453         Allow uncapitalized info node names (Bug#3921).
17455         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17456         to the DEBUG file (Bug#3781).
17458 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
17460         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17461         dictionary entry (Bug#4579).
17463 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
17465         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17466         from `rfn-eshadow-update-overlay-hook' when unloading.
17467         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17468         "rsyncc".  Adjust doc string.
17469         (tramp-temp-buffer-file-name): New buffer-local defvar.
17470         (tramp-handle-insert-file-contents, tramp-handle-write-region):
17471         Keep temporary file when indicated by method ("rsync" and
17472         "rsyncc").
17473         (tramp-handle-write-region): Handle APPEND.
17474         (tramp-delete-temp-file-function): New defun.  Added to
17475         `kill-buffer-hook'.
17477 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
17479         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17481 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17483         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17484         (color-name-rgb-alist, tty-standard-colors)
17485         (tty-color-mode-alist): Change to defconst.
17487         * simple.el (mark-inactive): Purecopy message.
17489         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17490         (global-map, yank-menu):
17491         * textmodes/ispell.el (ispell-menu-map):
17492         * net/eudc.el (eudc-tools-menu):
17493         * international/mule-cmds.el (describe-language-environment-map)
17494         (setup-language-environment-map, set-coding-system-map)
17495         (mule-menu-keymap):
17496         * vc-hooks.el (vc-menu-entry, vc-menu-map):
17497         * replace.el (occur-mode-map):
17498         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17500 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
17502         * calc/calc.el (math-read-number, math-read-number-simple):
17503         Use `save-match-data'.
17505 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17507         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17508         rather than fiddling with global-map bindings, since it should only
17509         affect per-terminal settings.
17510         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17512         * minibuffer.el (completion-table-with-terminator): Allow to specify
17513         the terminator-regexp.
17515         * simple.el (switch-to-completions): Look for *Completions* in other
17516         frames as well.
17518         * pcomplete.el: Allow the use of completion-tables.
17519         (pcomplete-std-complete): New command.
17520         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17521         (pcomplete--here): Use a function for `form' rather than an expression,
17522         so it can be byte-compiled.
17523         (pcomplete-here, pcomplete-here*): Adjust accordingly.
17524         Add edebug declaration.
17525         (pcomplete-show-completions): Remove unused var `curbuf'.
17526         (pcomplete-do-complete, pcomplete-stub):
17527         Don't assume `completions' is a list of strings any more.
17529 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
17531         * find-dired.el (find-name-arg): Fix typo in docstring.
17533 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17535         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17536         (pcmpl-linux-fs-types): Same, and update to new modules layout.
17538         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17539         pcomplete-entries.
17541         * comint.el (comint-read-input-ring, comint-write-input-ring)
17542         (comint-substitute-in-file-name)
17543         (comint-dynamic-complete-as-filename)
17544         (comint-dynamic-simple-complete)
17545         (comint-dynamic-list-filename-completions)
17546         (comint-dynamic-list-completions)
17547         (comint-redirect-results-list-from-process): Minor simplifications.
17549 2009-10-21  Kevin Ryde  <user42@zip.com.au>
17551         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17552         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17553         the first form.  And insert a blank line after ";;; Code" since
17554         that's usual style.  (Bug#4612)
17556         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17558 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17560         * minibuffer.el (completion-table-with-terminator): Properly implement
17561         boundaries, in case `terminator' appears in the suffix.
17562         (completion--embedded-envvar-table): Don't return boundaries if
17563         there's no valid completion.  Simplify.
17564         (completion-file-name-table): New completion table extracted from
17565         completion--file-name-table.
17566         (completion--file-name-table): Use it.
17567         (read-file-name-predicate): Declare obsolete.
17568         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17569         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17570         completion-file-name-table, and use the `pred' argument.
17571         * files.el (locate-file-completion-table): Use the `pred' arg rather
17572         than read-file-name-predicate.
17573         (abbreviate-file-name): Use \` rather than ^ for BOS.
17575 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
17577         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17578         vc-responsible-backend to register, it causes problems.
17580 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17582         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17584 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
17586         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17587         (tramp-smb-handle-file-attributes): Use it.
17588         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17589         (tramp-smb-handle-insert-directory): Use `mapc' rather than
17590         `mapcar'.  Use `tramp-smb-get-stat-capability'.
17591         Add `dired-filename' text properties.
17592         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17593         (tramp-smb-maybe-open-connection): Simplify check for smbclient
17594         version.
17596 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17598         * subr.el (read-key-delay): Reduce to 0.01.
17599         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17600         (bug#4751).
17602 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17604         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17606         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17607         (Info-menu): Remove unused vars `last' and `completions'.
17608         (Info-index-nodes): Remove unused var `node'.
17610         * info.el (Info-complete-menu-item): Use complete-with-action.
17612 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
17614         Make vc-annotate work through copies and renames.
17615         * vc-annotate.el (vc-annotate-extract-revision-at-line):
17616         Return the file name too.
17617         (vc-annotate-revision-at-line)
17618         (vc-annotate-find-revision-at-line)
17619         (vc-annotate-revision-previous-to-line)
17620         (vc-annotate-show-log-revision-at-line): Update to get the file
17621         name from vc-annotate-extract-revision-at-line.
17622         (vc-annotate-show-diff-revision-at-line-internal): Change the
17623         argument to mean whether to show a file diff or not.  Get the file
17624         name from vc-annotate-extract-revision-at-line.
17625         (vc-annotate-show-diff-revision-at-line):
17626         Update vc-annotate-show-diff-revision-at-line call.
17627         (vc-annotate-warp-revision): Add an optional file argument.
17629         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17630         (vc-git-annotate-extract-revision-at-line): Also return the file
17631         name if found.
17633         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17634         command.  Remove unused code.
17635         (vc-hg-annotate-re): Update to match --follow output.
17636         (vc-hg-annotate-extract-revision-at-line): Also return the file
17637         name if found.
17639         * vc.el: Update annotate-extract-revision-at-line documentation.
17641 2009-10-18  Kevin Ryde  <user42@zip.com.au>
17643         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17644         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17646         * net/browse-url.el (browse-url): Identify alist with "consp and
17647         not functionp" and let all other things go down the `apply' leg,
17648         as suggested by Stefan.  (Further to bug#4531.)
17650 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
17652         * minibuffer.el (read-file-name): Check for repeat before putting
17653         a default argument in file-name-history (Bug#4657).
17655         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17656         read syntax (Bug#4737).
17658         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17660 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
17662         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17663         (html-tag-alist, html-tag-help): Add descriptions for undocumented
17664         entries and make note of obsolete tags.
17666 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17668         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17670 2009-10-18  Glenn Morris  <rgm@gnu.org>
17672         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17673         grep, so that binary files (eg international/uni-bidi.el) can match.
17674         Remove test for "UnicodeData" files, since it is hopefully unnecessary
17675         now, and in any case the file header format has changed.
17677 2009-10-17  Glenn Morris  <rgm@gnu.org>
17679         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17680         (flyspell-get-word, flyspell-large-region)
17681         (flyspell-auto-correct-previous-word): Doc/error message fixes.
17683 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
17685         * Makefile.in (ELCFILES): Add ede/shell.
17687 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
17689         * term/common-win.el (x-colors): Purecopy it.
17691 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17693         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17694         permissive for when the buffer is empty.
17695         (tar-header-block-tokenize): Decode the username and groupname.
17696         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17698 2009-10-17  Eric Ludlam  <zappo@gnu.org>
17700         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17701         contains multibyte characters, choose first applicable coding
17702         system automatically.
17704 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17706         * international/mule-cmds.el (select-safe-coding-system): If the file
17707         has a coding cookie, use it regardless of any other setting (bug#4712).
17709 2009-10-17  Glenn Morris  <rgm@gnu.org>
17711         * foldout.el (foldout-mouse-swallow-events):
17712         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17714         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17715         (dired-keep-marker-copy, dired-keep-marker-hardlink)
17716         (dired-keep-marker-symlink, dired-dwim-target)
17717         (dired-copy-preserve-time): Do not autoload these defcustoms.
17719         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17720         messages from messing up the file coding.  (Bug#4623)
17722 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
17724         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17725         if no match is found for the current dictionary.  (Bug#4578)
17727         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17728         optional, since that is how it is documented, and this is often called
17729         with a nil argument.  (Bug#4577)
17730         (flyspell-external-point-words, flyspell-auto-correct-word)
17731         (flyspell-correct-word-before-point, flyspell-word-search-forward)
17732         (flyspell-word-search-backward): Remove nil argument in calls to
17733         flyspell-get-word, since it is not needed now.
17735 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
17737         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
17739 2009-10-16  Glenn Morris  <rgm@gnu.org>
17741         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17743 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
17745         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17746         (ange-ftp-file-size): New function.
17747         (ange-ftp-file-attributes): Use it.
17749 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
17751         * net/tramp-smb.el (tramp-smb-version): New defvar.
17752         (tramp-smb-maybe-open-connection): Use it, in order to avoid
17753         repeated checks.
17755 2009-10-16  Glenn Morris  <rgm@gnu.org>
17757         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17758         Maybe copy some custom properties from old to new name.  (Bug#4706)
17760 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
17762         * subr.el (error, sit-for, start-process-shell-command)
17763         (start-file-process-shell-command): Set the calling convention
17764         after the function definition.
17766 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17768         * subr.el (error, sit-for, start-process-shell-command)
17769         (start-file-process-shell-command): Use the new
17770         set-advertised-calling-convention feature.
17772 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
17774         * international/ucs-normalize.el (ucs-normalize-version):
17775         Change to 1.2.
17776         (check-range): Adjust for Unicode 5.2.
17778 2009-10-15  Juri Linkov  <juri@jurta.org>
17780         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17781         to the `menu-item' format.
17783 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
17785         * net/tramp.el (tramp-replace-environment-variables): Do not fail
17786         if the environment variable does not exist.
17788         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17789         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17790         parameter.
17791         (tramp-smb-handle-add-name-to-file)
17792         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17793         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17794         (tramp-smb-handle-file-attributes)
17795         (tramp-smb-do-file-attributes-with-stat)
17796         (tramp-smb-handle-file-local-copy)
17797         (tramp-smb-handle-insert-directory)
17798         (tramp-smb-handle-make-directory)
17799         (tramp-smb-handle-make-directory-internal)
17800         (tramp-smb-handle-make-symbolic-link)
17801         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17802         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17803         (tramp-smb-maybe-open-connection): Apply the changed parameters.
17804         (tramp-smb-read-file-entry): Read Disk names in compressed format.
17805         Handle long file names.
17806         (tramp-smb-get-cifs-capabilities): Check, whether the connection
17807         process is running.
17808         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17809         Read share names with "-g" option.
17811 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
17813         * net/rcirc.el (rcirc-view-log-file): New command.
17814         (rcirc-track-minor-mode-map): Remove C-c ` binding.
17815         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17816         specified.
17818 2009-10-15  Glenn Morris  <rgm@gnu.org>
17820         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17821         from the second command-line argument.
17822         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17823         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17824         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17825         w32-batch-update-autoloads.
17826         * emacs-lisp/autoload.el (autoload-make-program): New variable.
17827         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17829         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17830         the headers cannot be located.  Simplify, subtracting superflous
17831         save-excursions.
17833 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17835         Replace completion-base-size by completion-base-position to fix bugs
17836         such as (bug#4699).
17837         * simple.el (completion-base-position): New var.
17838         (completion-base-size): Mark as obsolete.
17839         (choose-completion): Make it work for mouse events as well.
17840         Pass the new base-position to choose-completion-string.
17841         (choose-completion-guess-base-position): New function, extracted from
17842         choose-completion-delete-max-match.
17843         (choose-completion-delete-max-match): Use it.  Make obsolete.
17844         (choose-completion-string): Use the new base-position info.
17845         (completion-root-regexp): Delete.
17846         (completion-setup-function): Preserve completion-base-position.
17847         Eliminate obsolete base-size manipulation.
17848         * minibuffer.el (display-completion-list): Don't mess with base-size.
17849         (minibuffer-completion-help): Set completion-base-position instead.
17850         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17851         choose-completion.
17852         * textmodes/bibtex.el (bibtex-complete):
17853         * emacs-lisp/crm.el (crm--choose-completion-string):
17854         Adjust to new calling convention.
17855         * complete.el (partial-completion-mode): Use minibufferp to avoid
17856         bumping into incompatible change to choose-completion-string-functions.
17857         * ido.el (ido-choose-completion-string): Make its calling convention
17858         more permissive.
17859         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17860         base-size manipulation.
17861         (comint-dynamic-list-input-ring): Use dotimes and push.
17862         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17863         fundamental-mode.  Use `or'.
17865 2009-10-14  Juri Linkov  <juri@jurta.org>
17867         * misearch.el (multi-isearch-next-buffer-from-list)
17868         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
17870 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17872         * Makefile.in (compile-onefile): Load `bytecomp' rather than
17873         `bytecomp.el'.
17875         * minibuffer.el (completion-pcm--merge-completions): Make sure the
17876         string we return is all made up of text from the completions rather
17877         than part from the completions and part from the input (bug#4219).
17879         * ido.el (ido-everywhere): Use define-minor-mode.
17881         * buff-menu.el (list-buffers, ctl-x-map):
17882         Mark the entry points with ;;;###autoload cookies.
17884 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
17886         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17887         correctly in the detached head case.
17888         (vc-git-print-log): Remove unused binding.
17890         * vc.el (vc-responsible-backend): When a directory is passed for
17891         for registration create a VC repository if no backend is
17892         responsible for the directory argument.
17893         (vc-deduce-fileset): Tell vc-responsible-backend to register.
17895         * vc.el: Move comments about RCS and SCCS ...
17896         * vc-rcs.el:
17897         * vc-sccs.el: ... here, respectively.
17899 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17901         * minibuffer.el (completion--file-name-table): Return nil if there's
17902         no file completion, even if substitute-in-file-name changed
17903         the string (bug#4708).
17905 2009-10-13  Juri Linkov  <juri@jurta.org>
17907         * files-x.el (read-file-local-variable-value): Don't filter out
17908         minor modes from mode name completion (bug#4664).
17910 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17912         * international/mule-cmds.el (ucs-names): Remove exclusion of
17913         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17915 2009-10-13  Kenichi Handa  <handa@m17n.org>
17917         * international/uni-name.el: Regenerated.
17919 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17921         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
17922         should be automatically buffer-local, but isn't.)
17924 2009-10-12  Sam Steingold  <sds@gnu.org>
17926         * progmodes/compile.el (compilation-next-error-function): Fix the
17927         timestamps if the buffer has been visited before.
17928         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17929         non-anchored patterns, like the perl one (bug#3928).
17931 2009-10-12  Glenn Morris  <rgm@gnu.org>
17933         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17934         Let-bind `size'.
17936 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
17938         * proced.el (proced-unload-function): New function.
17940         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17941         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17942         Doc fix.
17944         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17946 2009-10-11  Juri Linkov  <juri@jurta.org>
17948         * files-x.el (read-file-local-variable-value):
17949         Provide default value only for bound variables (bug#4664).
17951 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
17953         * net/tramp.el (tramp-local-host-p): Function shall return nil for
17954         connection methods like smb.
17956         * net/tramp-cache.el (tramp-flush-connection-property): The hash
17957         can be empty.
17959         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17960         (tramp-smb-file-name-handler-alist): Add handlers for
17961         `add-name-to-file', `make-symbolic-link'.
17962         (tramp-smb-handle-add-name-to-file)
17963         (tramp-smb-do-file-attributes-with-stat)
17964         (tramp-smb-handle-make-symbolic-link)
17965         (tramp-smb-get-cifs-capabilities): New defuns.
17966         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17967         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17968         (tramp-smb-handle-file-local-copy)
17969         (tramp-smb-handle-make-directory-internal)
17970         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17971         The file name syntax depends on cifs capabilities.
17972         (tramp-smb-handle-file-attributes):
17973         Call `tramp-smb-do-file-attributes-with-stat' if possible.
17974         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17975         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17977 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
17979         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17980         (eieio-defclass): Apply deftype handler and setf-method properties
17981         directly.
17982         (eieio-add-new-slot): Avoid union function from cl library.
17983         (eieio--typep): New function.
17984         (eieio-perform-slot-validation): Use it.
17986 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17988         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17989         Update documentation to refer to the variables documented in r1.135.
17990         (Bug#4188)
17992 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17994         * bookmark.el (Info-suffix-list): Remove this unused variable.
17995         (bookmark-current-point): Remove this obsolete variable.
17996         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17997         Adjust for removal of bookmark-current-point.
17999         (bookmarks-already-loaded, bookmark-current-buffer)
18000         (bookmark-yank-point): Document.  (Bug#4188)
18002 2009-10-10  Glenn Morris  <rgm@gnu.org>
18004         * frame.el (frame-height): Doc fix.
18006         * calendar/calendar.el (calendar-split-width-threshold): New option.
18007         (calendar-basic-setup): Use calendar-split-width-threshold.
18009 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
18011         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18012         Ideographic Supplement" range (U+1F200..U+1F2FF).
18014 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
18016         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18017         since the list will have been rebuilt anyway.  (Bug#4349)
18019 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
18021         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18022         (bookmark-bmenu-execute-deletions): Don't save here, as
18023         bookmark-delete will now do so if necessary.
18024         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18025         (Bug#4348)
18027 2009-10-09  Glenn Morris  <rgm@gnu.org>
18029         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18031 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
18033         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18034         (bookmark-jump-other-window): Just invoke bookmark-jump with new
18035         argument now, so the two function's behaviors will match.  (Bug#3645)
18037 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
18039         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18040         (tramp-file-name-real-host, tramp-file-name-port):
18041         Apply `save-match-data'.
18043         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18044         case both directories are remote.
18045         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18046         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18048 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
18050         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18052 2009-10-07  Glenn Morris  <rgm@gnu.org>
18054         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18055         of concat.
18057 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18059         * files-x.el (read-file-local-variable): Include some
18060         non-user-variables in the completion table (bug#4664).
18062 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
18064         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18065         message.
18067         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18068         (tramp-smb-file-name-handler-alist): Add handler for
18069         `copy-directory', `expand-file-name', `set-file-modes'.
18070         (tramp-smb-handle-copy-directory)
18071         (tramp-smb-handle-expand-file-name)
18072         (tramp-smb-handle-set-file-modes): New defuns.
18073         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18074         (tramp-smb-handle-file-attributes): Simplify check for retrieving
18075         entry.
18076         (tramp-smb-handle-insert-directory): Don't flush the cache.
18077         (tramp-smb-maybe-open-connection): Check for samba client and
18078         server versions.
18080 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
18082         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18083         to not error out of search for "^lisp=" fails.
18085 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
18087         * makefile.w32-in (WINS_UPDATES): New macro.
18088         (custom-deps, finder-data, autoloads): Use it.
18090 2009-10-07  Glenn Morris  <rgm@gnu.org>
18092         * Makefile.in (autoloads): Revert previous change.
18093         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18094         the list of preloaded files passed on the command-line, get
18095         it from src/Makefile.
18097         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18098         show the original buffer rather than a random one.
18100 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
18102         * help.el (describe-no-warranty): Place point in a slightly better
18103         position in the GPLv3 text.
18105 2009-10-06  Sam Steingold  <sds@gnu.org>
18107         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18108         the comm attribute is present before calling regexp-quote.
18110 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
18112         * play/animate.el (animate-string): For good effect, make sure
18113         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18115         * play/animate.el (animate-sequence, animate-birthday-present):
18116         * misc.el (butterfly): Don't set `indent-tabs-mode'.
18118 2009-10-06  Glenn Morris  <rgm@gnu.org>
18120         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18122         * emacs-lisp/autoload.el (autoload-excludes): New variable.
18123         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18124         (batch-update-autoloads): Process a string value of autoload-excludes,
18125         set during the build process.
18126         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
18128         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18129         inside with-parsed...  macro so that `v' is defined.
18131         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18132         * progmodes/fortran.el (fortran-end-of-block)
18133         (fortran-beginning-of-block):
18134         Also push mark in the macro case.
18136         * emerge.el (emerge-show-file-name):
18137         * calc/calc.el (calc-quit):
18138         * calc/calc-misc.el (calc-big-or-small):
18139         * calc/calc-graph.el (calc-graph-view):
18140         * calc/calc-ext.el (calc-reset):
18141         * calendar/calendar.el (calendar-basic-setup):
18142         Use window-full-height-p.
18144         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18145         header we don't understand, don't insert another.  (Bug#4624)
18146         If changing mime charset, insert the new one in the right place.
18148 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
18150         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18151         (cal-tex-cursor-month): Correctly increment the end date for diary and
18152         holiday listing.  (Bug#4626)
18154 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18156         * help-fns.el (describe-function-1): Don't burp if the function is not
18157         a symbol.
18159 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
18161         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18162         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18163         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18164         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18166         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18167         (eieio-default-superclass): Reflow docstrings.
18168         (this, class-option-assoc, defclass, eieio-class-un-autoload)
18169         (eieio-unbind-method-implementations, defmethod)
18170         (eieio-validate-slot-value, eieio-validate-class-slot-value)
18171         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18172         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18173         (eieio-slot-originating-class-p, eieio-slot-name-index)
18174         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18175         (constructor, initialize-instance, no-next-method, object-print)
18176         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18177         Fix typos in docstrings.
18178         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18179         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18180         (next-method-p): Doc fixes.
18181         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18182         Fix typos in error messages.
18183         (eieio-defmethod): Fix typo in description of generic method.
18185         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18186         (eieio-persistent-save-interactive, slot-missing):
18187         Fix typos in docstrings.
18188         (eieio-instance-inheritor-slot-boundp): Doc fix.
18190         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18191         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18193         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18194         (eieio-custom-object-apply-reset):
18195         Fix typos in docstrings and error messages.
18197         * emacs-lisp/eieio-datadebug.el (data-debug-show):
18198         Fix typo in docstring.
18200         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18201         (eieio-browse-tree): Doc fix.
18202         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18203         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18204         Fix typos in docstrings.
18206         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18207         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18208         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18209         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18210         Reflow docstrings.
18212 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
18214         * vc-hg.el (log-view-vc-backend): Declare for compiler.
18215         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18216         Set log-view-vc-backend so that diff can work.
18218         * log-view.el (log-view-diff): Use vc-diff-internal instead of
18219         vc-version-diff.
18220         (vc-diff-internal): Autoload this instead of vc-version-diff.
18222 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
18224         * simple.el (eval-expression): Doc fix.
18226         * progmodes/cwarn.el (cwarn-mode): Doc fix.
18228 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
18230         * files.el (directory-files-no-dot-files-regexp): New defconst.
18231         (delete-directory): Use it.
18232         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
18234         * net/tramp.el (tramp-verbose): Fix docstring.
18235         (tramp-methods): Add recursive option to `tramp-copy-args'.
18236         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
18237         "scp1_old", "scp2_old", "rsync", "rsyncc".
18238         (tramp-default-method): Check also for `auth-source-user-or-password'.
18239         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18240         Add handler for `copy-directory'.
18241         (tramp-handle-copy-directory): New defun.
18242         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18243         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18244         Optimize sent command.
18246 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18248         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18249         window if necessary.
18251         * calendar/calendar.el (calendar-basic-setup): Don't call
18252         switch-to-buffer in a dedicated window.
18254 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
18256         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18257         don't do anything related to relocating, just return nil.
18258         (bookmark-error-no-filename): New error.
18259         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18260         bookmark has no file.  Don't even attempt to handle things that
18261         are not files; the whole point of custom handlers is to keep that
18262         knowledge elsewhere anyway.  Tighten some comments.
18263         (bookmark-file-or-variation-thereof): Remove now-unused function.
18264         (bookmark-location): Doc string fix.
18265         (Bug#4250)
18267 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18269         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18270         don't use a file dialog, because they usually don't know how to read
18271         a directory target from the user.  (Bug#4230)
18272         Also, make sure the prompt can display directories as well as files.
18274 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18276         * bookmark.el (bookmark-set, bookmark-buffer-name):
18277         Improve doc strings.  (Bug#1193)
18279 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18281         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18282         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18283         (bookmark-get-annotation, bookmark-set-annotation)
18284         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18285         (bookmark-set-position, bookmark-get-front-context-string)
18286         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18287         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18288         (bookmark-jump-other-window, bookmark-handle-bookmark)
18289         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18290         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18291         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18292         Improve doc strings to say whether bookmark can be a string or
18293         a record or both, and make other consistency and clarity fixes.
18294         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18295         (bookmark-default-annotation-text, bookmark-yank-word)
18296         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18297         (bookmark-import-new-list, bookmark-maybe-rename)
18298         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18299         (bookmark-bmenu-bookmark): Give these doc strings.
18300         (bookmark-bmenu-check-position): Give this a doc string, but also
18301         add a FIXME comment about how the function may be pointless.
18302         (bookmark-default-handler): Rework doc string and change a
18303         parameter name, to clarify that this takes a bookmark record
18304         not a bookmark name.
18305         (bookmark-set): Change a parameter name to indicate its meaning,
18306         and improve the doc string a bit.
18307         (Bug#4188)
18309 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18311         * bookmark.el (bookmark-alist): Document the new `handler' element
18312         in the param alist.
18313         (bookmark-make-record-function): Adjust documentation for above.
18314         (Bug#4193)
18316 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18318         * info.el (Info-bookmark-make-record): Document this function.
18319         (Info-bookmark-jump): Document with a doc string, not just a comment.
18320         (Bug#4203)
18322 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
18324         * files.el (copy-directory): New defun.
18326         * dired-aux.el (dired-copy-file-recursive): Use it.
18328 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
18330         * files-x.el (modify-dir-local-variable)
18331         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18332         docstrings.
18334         * recentf.el (recentf-unload-function): New function.
18336 2009-10-04  Glenn Morris  <rgm@gnu.org>
18338         * window.el (window-full-height-p): Add doc string.
18340 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
18342         * window.el (window-full-height-p): New function.  (Bug#4543)
18344 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
18346         * vc.el: Remove commented out code.
18347         (vc-derived-from-dir-mode): Remove, unused.
18348         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18350 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
18352         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18353         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
18354         there could be recursive loading when `default-directory' is a
18355         remote file name.  (Bug#4614)
18357 2009-10-03  Glenn Morris  <rgm@gnu.org>
18359         * calendar/calendar.el (calendar-basic-setup): Handle the case where
18360         the frame is wide.
18361         (calendar-generate-window): Test for shrinkability rather than width.
18363         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18364         reusing existing buffers, in case we happen to visit two files with the
18365         same basename.  (Bug#4593)
18367 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18369         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18370         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18371         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18372         subdirs of cedet as well.
18373         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18375 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18377         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18378         Obey advertised-signature-table.
18380         * help-fns.el (help-function-arglist): Don't check
18381         advertised-signature-table.
18382         (describe-function-1): Do it here instead so it also applies to subrs.
18384 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
18386         * simple.el (start-file-process): Say in the doc-string, that file
18387         handlers might not support pty association, if PROGRAM is nil.
18389         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18390         HOST and USER are strings.  They are nil, when there are
18391         incomplete entries in ~/.netrc, for example.
18392         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
18393         root directory ("device busy" error otherwise).
18395         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18396         Flush file properties of created directory.
18398 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18400         * makefile.w32-in (WINS_BASIC): Remove cedet.
18401         (WINS_CEDET): Add cedet.
18402         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18404 2009-10-02  Kevin Ryde  <user42@zip.com.au>
18406         * net/browse-url.el (browse-url): Pass any symbol in
18407         browse-url-browser-function to `apply', since if you've mistakenly put
18408         an unbound symbol then the error is clearer.  (Bug#4531)
18410 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18412         * allout.el (allout-init, allout-back-to-current-heading)
18413         (allout-beginning-of-current-entry, allout-ascend-to-depth)
18414         (allout-ascend, allout-up-current-level, allout-end-of-level)
18415         (allout-previous-visible-heading, allout-forward-current-level)
18416         (allout-backward-current-level, allout-show-children):
18417         * apropos.el (apropos-describe-plist):
18418         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18419         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18420         * completion.el (add-completion, add-permanent-completion):
18421         * descr-text.el (describe-text-category, describe-char):
18422         * desktop.el (desktop-lazy-abort):
18423         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18424         * dired.el (dired-build-subdir-alist):
18425         * ediff.el (ediff-version):
18426         * elide-head.el (elide-head, elide-head-show):
18427         * emerge.el (emerge-version):
18428         * env.el (getenv):
18429         * face-remap.el (variable-pitch-mode):
18430         * faces.el (describe-face):
18431         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18432         (dired-at-point):
18433         * files.el (find-file-existing, auto-save-mode):
18434         * font-lock.el (font-lock-fontify-buffer):
18435         * help-fns.el (describe-function, describe-variable)
18436         (describe-syntax, describe-categories):
18437         * help.el (view-lossage, describe-bindings, describe-key)
18438         (describe-mode):
18439         * hexl.el (hexl-current-address):
18440         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18441         * info.el (Info-goto-emacs-key-command-node):
18442         * log-edit.el (log-edit-insert-cvs-template)
18443         (log-edit-insert-cvs-rcstemplate):
18444         * menu-bar.el (menu-bar-mode):
18445         * mouse.el (mouse-appearance-menu):
18446         * newcomment.el (comment-indent-new-line):
18447         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18448         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18449         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18450         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18451         * recentf.el (recentf-mode):
18452         * savehist.el (savehist-mode, savehist-save):
18453         * shadowfile.el (shadow-copy-files):
18454         * simple.el (kill-ring-save, next-line, previous-line)
18455         (normal-erase-is-backspace-mode):
18456         * strokes.el (strokes-update-window-configuration)
18457         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18458         (strokes-xpm-for-stroke):
18459         * time.el (emacs-uptime, emacs-init-time):
18460         * tutorial.el (tutorial--describe-nonstandard-key)
18461         (tutorial--detailed-help):
18462         * type-break.el (type-break-mode)
18463         (type-break-mode-line-message-mode, type-break-query-mode)
18464         (type-break-guesstimate-keystroke-threshold):
18465         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18466         * version.el (emacs-version):
18467         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18468         * winner.el (winner-mode):
18469         * calendar/timeclock.el (timeclock-in, timeclock-out)
18470         (timeclock-status-string, timeclock-change)
18471         (timeclock-workday-remaining-string)
18472         (timeclock-workday-elapsed-string)
18473         (timeclock-when-to-leave-string):
18474         * calendar/todo-mode.el (todo-add-category):
18475         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18476         * emacs-lisp/autoload.el (update-file-autoloads):
18477         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18478         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18479         (checkdoc-message-text, checkdoc-defun):
18480         * emacs-lisp/debug.el (debugger-list-functions):
18481         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18482         * emacs-lisp/eieio-opt.el (eieio-describe-class)
18483         (eieio-describe-generic):
18484         * emacs-lisp/lisp-mnt.el (lm-synopsis):
18485         * emacs-lisp/shadow.el (list-load-path-shadows):
18486         * emulation/cua-base.el (cua-mode):
18487         * emulation/edt.el (edt-set-scroll-margins):
18488         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18489         (tpu-toggle-regexp, tpu-toggle-search-direction)
18490         (tpu-toggle-rectangle, tpu-toggle-control-keys):
18491         * emulation/tpu-extras.el (tpu-set-scroll-margins):
18492         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18493         (viper-set-parsing-style-toggling-macro)
18494         (viper-set-emacs-state-searchstyle-macros):
18495         * emulation/viper.el (viper-set-hooks):
18496         * eshell/esh-mode.el (eshell-truncate-buffer):
18497         * international/mule-cmds.el (prefer-coding-system)
18498         (describe-input-method, describe-language-environment):
18499         * international/mule-diag.el (list-character-sets)
18500         (describe-character-set, describe-coding-system)
18501         (describe-fontset, list-fontsets, list-input-methods):
18502         * mail/sendmail.el (mail-signature):
18503         * net/ange-ftp.el (ange-ftp-copy-file):
18504         * net/browse-url.el (browse-url):
18505         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18506         * net/quickurl.el (quickurl-add-url):
18507         * net/rcirc.el (names, topic):
18508         * net/xesam.el (xesam-mode):
18509         * play/5x5.el (5x5-new-game):
18510         * play/yow.el (apropos-zippy):
18511         * progmodes/ada-mode.el (ada-mode-version):
18512         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18513         (f90-end-of-block)
18514         (f90-beginning-of-block):
18515         * progmodes/fortran.el (fortran-end-of-block)
18516         (fortran-beginning-of-block):
18517         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18518         * progmodes/python.el (python-describe-symbol, python-shell):
18519         * term/ns-win.el (ns-print-buffer):
18520         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18521         * textmodes/flyspell.el (flyspell-mode-on):
18522         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18523         (pages-directory-for-addresses):
18524         * textmodes/table.el (table-recognize-cell)
18525         (table-query-dimension, table-generate-source)
18526         (table-insert-sequence, table--warn-incompatibility):
18527         * textmodes/tex-mode.el (tex-validate-buffer):
18528         * textmodes/texinfmt.el (texinfmt-version)
18529         (texinfo-format-buffer):
18530         Use `called-interactively-p' instead of `interactive-p'.
18532 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18534         * image-mode.el (image-toggle-display):
18535         * emacs-lisp/elp.el (elp-instrument-function):
18536         * emacs-lisp/advice.el (ad-make-advised-definition):
18537         * emacs-lisp/easy-mmode.el (define-minor-mode):
18538         * net/browse-url.el (browse-url-maybe-new-window):
18539         * progmodes/sh-script.el (sh-learn-buffer-indent):
18540         Pass new argument 'any to `called-interactively-p'.
18542 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
18544         * international/uni-bidi.el:
18545         * international/uni-category.el:
18546         * international/uni-combining.el:
18547         * international/uni-comment.el:
18548         * international/uni-decimal.el:
18549         * international/uni-decomposition.el:
18550         * international/uni-digit.el:
18551         * international/uni-lowercase.el:
18552         * international/uni-mirrored.el:
18553         * international/uni-name.el:
18554         * international/uni-numeric.el:
18555         * international/uni-old-name.el:
18556         * international/uni-titlecase.el:
18557         * international/uni-uppercase.el:
18558         Regenerate from Unicode 5.2.0 data.
18560 2009-10-01  Glenn Morris  <rgm@gnu.org>
18562         * Makefile.in (ELCFILES): Regenerate.
18564 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18566         * subr.el (interactive-p): Mark obsolete.
18567         (called-interactively-p): Make the optional-ness of `kind' obsolete.
18568         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18569         advertised-signature-table for subroutines as well.
18571         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18572         (set-advertised-calling-convention): New function.
18573         (make-obsolete, define-obsolete-function-alias)
18574         (make-obsolete-variable, define-obsolete-variable-alias):
18575         Make the optional-ness of `when' obsolete.
18576         (define-obsolete-face-alias): Make `when' non-optional.
18577         * help-fns.el (help-function-arglist):
18578         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18579         Use advertised-signature-table.
18581 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
18583         * files.el (delete-directory): New defun.  The original function
18584         in fileio.c has been renamed to `delete-directory-internal'.
18586         * dired.el (dired-delete-file): Call `delete-directory' with
18587         RECURSIVE parameter.
18589         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18590         parameter RECURSIVE.  Implementation is missing.
18592         * net/tramp.el (tramp-handle-make-directory): Flush upper
18593         directory's file properties.
18594         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18595         (tramp-handle-dired-recursive-delete-directory): Flush directory
18596         properties after the remove command only.
18598         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18599         Handle optional parameter RECURSIVE.
18601         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18602         Handle optional parameter RECURSIVE.
18604         * net/tramp-smb.el (tramp-smb-errors): Add error message for
18605         connection timeout.
18606         (tramp-smb-handle-delete-directory): Handle optional parameter
18607         RECURSIVE.
18609 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18611         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18612         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18613         (byte-compile-defmacro): Use backquotes.
18615         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18617         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18618         has no associated file.
18619         (vc-resynch-buffer): Use vc-dir-buffers.
18621 2009-10-01  Glenn Morris  <rgm@gnu.org>
18623         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18624         (chart-file-count):
18625         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18626         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18627         * emacs-lisp/eieio-opt.el (eieio-describe-class):
18628         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18629         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18630         (eieio-copy-parents-into-subclass, make-instance, class-children)
18631         (eieio-generic-form):
18633         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18634         match-data.  (Bug#4555).
18636         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18637         rather than parsing it as a regexp.  This relaxes the layout
18638         requirements and makes errors easier to detect.
18639         (check-declare-verify): Check file is regular.
18640         (check-declare-directory): Doc fix.
18641         * subr.el (declare-function): Doc fix.
18643         * ibuffer.el (ibuffer-format-qualifier):
18644         * isearch.el (hi-lock-regexp-okay):
18645         * calc/calc.el (math-zerop):
18646         * mail/uce.el (rmail-msgbeg, rmail-msgend):
18647         * term/w32-win.el (setup-default-fontset, set-fontset-font):
18648         Remove unused declarations.
18650 2009-09-30  Eric Ludlam  <zappo@gnu.org>
18652         * emacs-lisp/eieio.el (boolean-p): Delete.
18654 2009-09-30  Glenn Morris  <rgm@gnu.org>
18656         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18658         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18659         filename is not a string.
18661 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
18663         * files.el (safe-local-eval-forms): Fix typo.
18665 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18667         * vc-hooks.el (vc-dir-buffers): New var.
18668         (vc-state-refresh): New function.
18669         (vc-state): Use it.
18670         (vc-after-save): Always ask the backend to recompute the new state.
18671         Always call vc-dir if necessary, using vc-dir-buffers.
18672         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18673         Use vc-dir-buffers.
18674         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18675         (vc-dir-prepare-status-buffer, vc-dir-update)
18676         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18677         Don't call expand-file-name on default-directory.
18679 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18681         * speedbar.el (speedbar-item-delete):
18682         * calc/calc-prog.el (calc-kbd-if):
18683         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18685         * epa.el (epa-key-list-mode-map):
18686         * hi-lock.el (hi-lock-menu): Fix typos in menus.
18688         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18689         (hs-show-hook): Fix typo in docstring.
18691 2009-09-29  Glenn Morris  <rgm@gnu.org>
18693         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18694         file-name-nondirectory call preventing location of cedet files.
18695         (check-declare-verify): Use literal search rather than re-search.
18696         Add basic defmethod and defclass, and define-overloadable-function.
18698         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18699         Use tramp-compat-file-attributes rather than nonexistent
18700         tramp-compat-handle-file-attributes.
18702         * Makefile.in (lisptagsfiles4): New.
18703         (AUTOGENEL): Add cedet loaddefs files.
18704         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18705         (update-elclist, compile-always, backup-compiled-files)
18706         (bootstrap-clean): Add yet another directory level.
18707         (update-elclist): Use LC_COLLATE rather than COLLATE.
18708         (ELCFILES): Update, via `make update-elclist'.
18710 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18712         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18713         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18714         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18716 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18718         * Makefile.in (lisptagsfiles3): Define.
18719         (TAGS, TAGS-LISP): Use it.
18720         (update-elclist): Add third directory level to look for elc files.
18721         (compile-always): Likewise.
18722         (backup-compiled-files): Likewise.
18723         (bootstrap-clean): Likewise.
18724         (ELCFILES): Update.
18726 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
18728         * Makefile.in (ELCFILES): Add CEDET files.
18730 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
18732         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18734         * net/tramp.el (top): Require tramp-imap.
18736         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18737         Use `tramp-compat-handle-file-attributes'.
18739 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
18741         * net/tramp-imap.el: New package.
18743 2009-09-28  Eric Ludlam  <zappo@gnu.org>
18745         * emacs-lisp/chart.el:
18746         * emacs-lisp/eieio-base.el:
18747         * emacs-lisp/eieio-comp.el:
18748         * emacs-lisp/eieio-custom.el:
18749         * emacs-lisp/eieio-datadebug.el:
18750         * emacs-lisp/eieio-opt.el:
18751         * emacs-lisp/eieio-speedbar.el:
18752         * emacs-lisp/eieio.el: New files.
18754 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18756         * whitespace.el (whitespace-trailing-regexp)
18757         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18758         Fix doc string.
18760 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
18762         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18763         menu.
18765         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18766         menu-bar-ediff-menu.
18768         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18769         define-overloadable-function.
18771         * progmodes/autoconf.el: Provide autoconf as well, so that this
18772         file can be `require'd.
18774         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18776         * emacs-lisp/autoload.el (generated-autoload-feature)
18777         (generated-autoload-load-name): New vars.
18778         (autoload-rubric, autoload-generate-file-autoloads): Use them.
18779         (make-autoload): Recognize define-overloadable-function and
18780         defclass forms (for EIEIO).
18782         * Makefile.in (update-subdirs): Exclude cedet directory.
18784 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
18786         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
18788         * faces.el: Default light-background background for region face to
18789         ns_selection_color under NS.
18791 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
18793         * net/imap-hash.el: New library, see NEWS.
18795         * Makefile.in (ELCFILES): Add imap-hash.el.
18797 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18799         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18800         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18801         * help-macro.el (make-help-screen): Avoid using an ambiguous function
18802         definition where the docstring could be taken for the return value.
18804 2009-09-26  Glenn Morris  <rgm@gnu.org>
18806         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18807         Add option to only show images below a certain size.
18808         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18809         save-excursion calls.
18811 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
18813         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18814         subdirectories) and eieio.
18816 2009-09-26  Alan Mackenzie  <acm@muc.de>
18818         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18819         Correct buggy bracketing.  (Bug#4289)
18821         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18822         character constants (as case labels).  (Bug#4289)
18824 2009-09-25  Juri Linkov  <juri@jurta.org>
18826         * files.el (safe-local-eval-forms): Allow time-stamp in
18827         before-save-hook (Bug#4554).
18829 2009-09-25  Drew Adams  <drew.adams@oracle.com>
18831         * menu-bar.el (list-buffers-directory): Doc fix.
18833 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18835         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18836         Try and avoid copying twice the same paragraph.
18837         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18838         Remove save-excursion.
18839         (log-edit-changelog-entry): Do it here instead.
18841 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
18843         * bs.el (bs--get-file-name): Use `list-buffers-directory'
18844         when available, instead of hardcoding mode names.  Doc fix.
18846         * menu-bar.el (list-buffers-directory): Add docstring.
18847         Make automatically buffer-local.
18849         * dired.el (dired-mode):
18850         * files.el (cd-absolute):
18851         * pcvs.el (cvs-temp-buffer):
18852         * pcvs-util.el (cvs-get-buffer-create):
18853         * shell.el (shell-mode):
18854         * vc-dir.el (vc-dir-mode):
18855         Don't make `list-buffers-directory' buffer local.
18857 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
18859         * comint.el (comint-exec, comint-run, make-comint):
18860         Doc fixes (Bug#4542).
18862 2009-09-25  Glenn Morris  <rgm@gnu.org>
18864         * mail/rmailmm.el (rmail-mime): New custom group.
18865         Move all defcustoms in this file into this group.
18866         (rmail-mime-media-type-handlers-alist): Revert previous change.
18867         (rmail-mime-show-images): New option.
18868         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18869         references to it, since it wasn't actually used for anything.
18870         (rmail-mime-insert-image): New function.
18871         (rmail-mime-image): Use rmail-mime-insert-image.
18872         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18873         obey the value of `rmail-mime-show-images' option.  Print the size of
18874         attachments.
18876 2009-09-25  David Engster  <deng@randomsample.de>
18878         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
18880 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18882         * whitespace.el: Does not highlight trailing spaces While point is
18883         at end of line.  Does not highligt spaces at beginning of buffer
18884         while point is at beginning of buffer.  Does not highlight spaces
18885         at end of buffer while point is at end of buffer.  (Bug#4177)
18886         New version 12.0.
18887         (whitespace-display-mappings): Adjust initialization.
18888         (whitespace-point, whitespace-font-lock-refontify): New vars.
18889         (whitespace-color-on, whitespace-color-off): Adjust code.
18890         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18891         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18892         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18894 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
18896         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18898         * textmodes/sgml-mode.el: Remove xml-mode alias.
18900         * files.el (auto-mode-alist, conf-mode-maybe)
18901         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18903 2009-09-24  Alan Mackenzie  <acm@muc.de>
18905         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18906         c-forward-conditionals, but it doesn't move point and doesn't set
18907         the mark.
18908         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18909         (c-down-conditional-with-else, c-backward-conditional)
18910         (c-forward-conditional): Refactor to use c-scan-conditionals.
18912 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18914         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18915         (help-default-arg-highlight): Remove.
18916         (help-highlight-arg): New function.
18917         (help-do-arg-highlight): Use it.
18918         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
18920 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18922         * term.el (term-set-scroll-region, term-handle-ansi-escape):
18923         Undo last change, which didn't fix the problem and introduced others.
18925 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
18927         * progmodes/gdb-mi.el: Don't require speedbar.
18928         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18930 2009-09-24  Glenn Morris  <rgm@gnu.org>
18932         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18934         * term/ns-win.el (ns-reg-to-script): Define for compiler.
18936         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18937         there is no newline after the final mime boundary.  (Bug#4539)
18938         Move markers on insertion so that any buttons inserted don't end up in
18939         the next part of a multipart message.
18940         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
18941         (rmail-mime-bulk-handler): Optionally handle images.
18942         (rmail-mime-image): New button action.
18943         (rmail-mime-image-handler): New function.
18944         (rmail-mime-mode): New mode.
18945         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
18947 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18949         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18950         than just dropping elements from it (bug#4504).
18952         * term.el (term-set-scroll-region): Don't move cursor any more.
18953         (term-handle-ansi-escape): Call term-goto here instead.
18954         Suggested by Ivan Kanis <apple@kanis.eu>.
18956         * term.el: Require CL.
18957         (term-ansi-reset): New function.
18958         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18959         (term-handle-colors-array): Simplify.
18961 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18963         * allout.el (allout-overlay-interior-modification-handler)
18964         (allout-obtain-passphrase):
18965         * epa-file.el (epa-file-write-region):
18966         * ps-print.el (ps-begin-job):
18967         * vc-hooks.el (vc-toggle-read-only):
18968         * vc-rcs.el (vc-rcs-rollback):
18969         * vc-sccs.el (vc-sccs-rollback):
18970         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18971         (vc-version-diff, vc-revert, vc-rollback):
18972         * wdired.el (wdired-check-kill-buffer):
18973         * emacs-lisp/authors.el (authors):
18974         * net/socks.el (socks-open-connection):
18975         * net/zeroconf.el (zeroconf-service-add-hook):
18976         * obsolete/vc-mcvs.el (vc-mcvs-register):
18977         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18978         (gdb-select-frame):
18979         * progmodes/grep.el (lgrep, rgrep):
18980         * progmodes/idlw-help.el (idlwave-help-check-locations)
18981         (idlwave-help-html-link, idlwave-help-assistant-open-link):
18982         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18983         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18984         (reftex-toc-rename-label): Fix typos in error messages.
18986         * dired-aux.el (dired-do-shell-command): Reflow docstring.
18987         (dired-copy-how-to-fn): Doc fix.
18988         (dired-files-attributes, dired-read-shell-command):
18989         Fix typos in docstrings.
18991         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18992         (dired-x-find-file-other-window): Reflow docstrings.
18993         (dired-omit-marker-char, dired-read-shell-command)
18994         (dired-x-submit-report): Fix typos in docstrings.
18996         * shell.el (shell-mode-hook):
18997         * view.el (View-scroll-line-forward):
18998         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18999         Fix typos in docstrings.
19001         * net/dig.el (dig-invoke): Fix typo in docstring.
19002         (query-dig): Reflow docstring.
19004         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19005         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19006         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19007         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19008         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19009         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19010         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19011         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19012         (idlwave-completion-map, idlwave-current-indent)
19013         (idlwave-custom-ampersand-surround, idlwave-customize)
19014         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19015         (idlwave-define-abbrev, idlwave-determine-class-special)
19016         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19017         (idlwave-end-block-reg, idlwave-end-of-statement)
19018         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19019         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19020         (idlwave-explicit-class-listed, idlwave-file-header)
19021         (idlwave-fill-paragraph, idlwave-find-class-definition)
19022         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19023         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19024         (idlwave-in-quote, idlwave-indent-action-table)
19025         (idlwave-indent-expand-table, idlwave-indent-line)
19026         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19027         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19028         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19029         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19030         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19031         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19032         (idlwave-outlawed-buffers, idlwave-popup-select)
19033         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19034         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19035         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19036         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19037         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19038         (idlwave-statement-type, idlwave-struct-skip)
19039         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19040         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19041         (idlwave-what-module-find-class): Fix typos in docstrings.
19042         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19043         (idlwave-calculate-cont-indent, idlwave-expand-equal)
19044         (idlwave-find-module, idlwave-find-structure-definition)
19045         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19046         (idlwave-list-load-path-shadows, idlwave-next-statement)
19047         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19048         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19049         (idlwave-template): Reflow docstrings.
19051         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19052         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19053         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19054         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19055         (idlwave-shell-display-line, idlwave-shell-display-wframe)
19056         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19057         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19058         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19059         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19060         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19061         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19062         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19063         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19064         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19065         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19066         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19067         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19068         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19069         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19070         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19071         Fix typos in docstrings.
19072         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19073         (idlwave-shell-hide-output, idlwave-shell-mode)
19074         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19075         Reflow docstrings.
19077         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19079 2009-09-24  Ivan Kanis  <apple@kanis.eu>
19081         * term.el (term-bold-attribute): New var.
19082         (term-handle-colors-array): Use it.
19084 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
19086         * progmodes/gdb-mi.el (gdb-version): New variable.
19087         (gdb-non-stop-handler): Set gdb-version.
19088         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19089         Condition "--thread" option on gdb-version.
19090         (gdb-invalidate-threads): Remove unused argument.
19092 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19094         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19095         to looking-back to avoid ridiculous slow down in large files (bug#4511).
19097 2009-09-23  Glenn Morris  <rgm@gnu.org>
19099         * mail/rmail.el (rmail-reply): Don't try to add a References header when
19100         replying to mail without References or Message-Id.  (Bug#4525)
19102 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
19104         * term/ns-win.el (ns-reg-to-script): New variable.
19106 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
19108         * epg.el (epg-wait-for-status): Preserve existing 'error results.
19110 2009-09-22  Sam Steingold  <sds@gnu.org>
19112         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19113         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19114         to 1 because hg returns status 1 when nothing is found.
19115         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19117 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19119         * textmodes/fill.el: Convert to utf-8 encoding.
19120         (fill-french-nobreak-p): Remove redundant » and « inherited from our
19121         pre-Unicode days.
19123         * add-log.el (change-log-fill-forward-paragraph): New function.
19124         (change-log-mode): Use it so fill-region DTRT.
19125         Set fill-indent-according-to-mode here rather than in
19126         change-log-fill-paragraph.
19127         (change-log-fill-paragraph): Remove.
19129 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
19131         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19132         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
19134 2009-09-22  Glenn Morris  <rgm@gnu.org>
19136         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19137         the scroll-bar scroll the calendar window rather than the buffer.
19139         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19140         commands that move point (as opposed to scrolling).
19142         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19144         * emacs-lisp/elint.el (elint): New custom group.
19145         (elint-log-buffer): Make it a defcustom.
19146         (elint-scan-preloaded, elint-ignored-warnings)
19147         (elint-directory-skip-re): New options.
19148         (elint-builtin-variables): Doc fix.
19149         (elint-preloaded-env): New variable.
19150         (elint-unknown-builtin-args): Add an entry for encode-time.
19151         (elint-extra-errors): Make it a variable rather than a constant.
19152         (elint-preloaded-skip-re): New constant.
19153         (elint-directory): Skip files matching elint-directory-skip-re.
19154         (elint-features): New variable, local to linted buffers.
19155         (elint-update-env): Initialize elint-features.  Possibly add
19156         elint-preloaded-env to the buffer's environment.
19157         (elint-get-top-forms): Bind elint-current-pos, for log messages.
19158         Skip quoted forms.
19159         (elint-init-form): New function, extracted from elint-init-env.
19160         Make non-list forms a warning rather than an error.
19161         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
19162         easy-menu-define, put that adds an error-condition, and provide.
19163         When requiring cl, also require cl-macs.  Really require cl, to handle
19164         some cl macros.  Store required libraries in the list elint-features,
19165         so as not to re-load them.  Treat cc-require like require.
19166         (elint-init-env): Call elint-init-form to do the work.
19167         Handle eval-and-compile and such like.
19168         (elint-add-required-env): Do not clear messages.
19169         (elint-special-forms): Add handlers for function, defalias, if, when,
19170         unless, and, or.
19171         (elint-form): Add optional argument to ignore elint-special-forms,
19172         useful to prevent recursive calls from handlers.  Doc fix.
19173         Respect elint-ignored-warnings.
19174         (elint-form): Respect elint-ignored-warnings.
19175         (elint-bound-variable, elint-bound-function): New variables.
19176         (elint-unbound-variable): Respect elint-bound-variable.
19177         (elint-get-args): Respect elint-bound-function.
19178         (elint-check-cond-form): Add some simple handling for (f)boundp and
19179         featurep tests.
19180         (elint-check-defalias-form): New handler.
19181         (elint-check-let-form): Make an empty let a warning rather than an
19182         error.
19183         (elint-check-setq-form): Make an empty setq a warning rather than an
19184         error.  Respect elint-ignored-warnings.
19185         (elint-check-defvar-form): Accept null doc-strings.
19186         (elint-check-conditional-form): New handler.  Does some simple-minded
19187         checking of featurep and (f)boundp tests.
19188         (elint-put-function-args): New function.
19189         (elint-initialize): Use elint-scan-doc-file rather than
19190         elint-find-builtin-variables.  Use elint-put-function-args.
19191         Possibly scan preloaded-file-list.
19192         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19193         extend to handle functions as well.
19195 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
19197         * linum.el (linum-delete-overlays, linum-update-window):
19198         Do not modify the right margin.  (Bug#3971)
19200 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
19202         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19203         Use nxml-mode instead of xml-mode.
19205 2009-09-21  Kevin Ryde  <user42@zip.com.au>
19207         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
19209 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19211         * net/dig.el (dig-mode): Use define-derived-mode.
19213 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
19215         * vc-dispatcher.el (vc-do-command): Return the process object in
19216         the asynchronous case.  Use when instead of if.  Do not run
19217         vc-exec-after to display a message if not enabled.  (Bug#4463)
19219         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19220         properties to the stash strings.
19221         (vc-git-stash-list): Return a list of strings.
19222         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19223         (vc-git-stash-show-at-point): New functions.
19224         (vc-git-stash-map): New keymap.
19226         * register.el (ctl-x-r-map): Define the keys here instead of
19227         using autoload.
19229 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
19231         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19232         list, to workaround performance problem (bug#4485).
19234 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
19236         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19238 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
19240         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19241         Document that this option is not recommended to use.
19243 2009-09-19  Glenn Morris  <rgm@gnu.org>
19245         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19246         variable `var'.
19248         * calc/calc-alg.el (var):
19249         * calc/calcalg2.el (var): Define for compiler.
19251 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
19253         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19254         Doc fix (Bug#3932).
19256         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19258         * time-stamp.el (time-stamp-month-dd-yyyy)
19259         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19260         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19261         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19262         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19263         Remove functions that have been obsolete since 1995 (Bug#4436).
19265         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19266         indent buffer only if called interactively (Bug#4452).
19268 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
19269             Eli Zaretskii  <eliz@gnu.org>
19271         This fixes bug#4197 (merged to bug#865, though not identical).
19272         * server.el (server-auth-dir): Add docstring note about FAT32.
19273         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19274         but warn against using them.
19276 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
19278         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19279         older GDB where there is no has_more field.
19281 2009-09-19  Glenn Morris  <rgm@gnu.org>
19283         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19285 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
19287         * files.el (auto-mode-alist): Change default for XML files to nXML
19288         mode (Bug#4169).
19290 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
19292         * server.el (server-ensure-safe-dir): Pass 'integer
19293         to `file-attributes', as suggested.
19295 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19297         * dired-aux.el (dired-query-alist): Remove spurious backslash.
19298         (dired-query): Use read-key.
19300 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
19302         * cus-start.el (ns-use-qd-smoothing): Remove.
19304 2009-09-18  Glenn Morris  <rgm@gnu.org>
19306         * allout.el (top-level): Remove unnecessary progn.
19308         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19310         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19311         definition of abbrev table.
19313         * speedbar.el (speedbar-track-mouse):
19314         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19315         * net/eudc.el (eudc-expand-inline):
19316         * net/newst-backend.el (newsticker--cache-read-feed):
19317         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19318         condition-case handlers.
19320 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
19322         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19323         (gdb-var-list): Add an element for has_more field.
19324         (gdb-non-stop-handler): Enable pretty printing for STL containers.
19325         (gdb-var-create-handler, gdb-var-list-children-handler-1)
19326         (gdb-var-update-handler-1): Parse output of dynamic variable
19327         objects (STL containers).
19328         (gdb-var-delete-1): Pass var1 as an explicit second argument.
19329         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
19331         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19332         gdb-var-list.
19333         (gud-speedbar-buttons): Make node expandable if expression "has more"
19334         children.
19336 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
19338         * startup.el (emacs-quick-startup): Remove variable and all uses.
19339         (command-line): Set `inhibit-x-resources' instead.
19340         (command-line-1): Use `inhibit-x-resources' instead.
19342 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
19344         * subr.el: Fix last change to avoid using the `unless' macro,
19345         which breaks bootstrapping.
19347 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19349         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19350         extended definitions, in case we reload subr.el after having
19351         loaded CL.
19352         (eval-next-after-load): Mark as obsolete.
19354 2009-09-17  Juri Linkov  <juri@jurta.org>
19356         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19357         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19358         (menu-bar-showhide-menu, menu-bar-tools-menu)
19359         (menu-bar-describe-menu, menu-bar-help-menu)
19360         (minibuffer-local-completion-map, minibuffer-local-map):
19361         Fix list quoting.
19363 2009-09-17  Glenn Morris  <rgm@gnu.org>
19365         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19366         arguments, whether or not it has a handler.
19368         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19370         * simple.el (hard-newline): Give it a doc-string.
19372         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19373         (lisp-mode-syntax-table): Give them doc-strings.
19375 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
19377         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19378         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19379         (menu-bar-options-menu, menu-bar-showhide-menu)
19380         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19381         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19382         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19383         (menu-bar-options-menu, menu-bar-tools-menu)
19384         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19385         (menu-bar-help-menu):
19386         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19387         string arguments.
19389         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19390         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19391         calls for the menu names and :help.
19393 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19395         * mouse.el (minor-mode-menu-from-indicator): Pay attention
19396         to :minor-mode-function (bug#4455).
19398 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19400         * startup.el (command-line): Initialize the window-system after
19401         processing the command-line.
19403         * textmodes/page.el (what-page): Make sure we don't inf-loop if
19404         page-delimiter matches the empty string.
19406 2009-09-16  Glenn Morris  <rgm@gnu.org>
19408         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19409         byte-compile-not-obsolete-var.  It's a list now.
19410         (byte-compile-not-obsolete-funcs): New variable.
19411         (byte-compile-warn-obsolete): Don't warn about functions if they are in
19412         byte-compile-not-obsolete-funcs.
19413         (byte-compile-variable-ref, byte-compile-defvar): Update for
19414         byte-compile-not-obsolete-vars name-change and list nature.
19415         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19416         and variables behind (f)boundp tests.
19417         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19419 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19421         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19423 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19425         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19426         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19427         Don't autoload.
19429 2009-09-15  Stephen Eglen  <stephen@gnu.org>
19431         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19432         the virtual-buffers, use the name of the buffer specified by
19433         find-file-noselect, as the match may be a symlink.  (This was a
19434         problem if the target and the symlink had different names.)
19436 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19438         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19440         * desktop.el (desktop-path): Check user-emacs-directory.
19442         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19444         * loadup.el: Use after-load-functions to GC after loading each file.
19445         Remove the explicit GC calls that used to be sprinkled around.
19447         * subr.el (after-load-functions): New hook.
19448         (do-after-load-evaluation): Run it.  Use string-match-p to detect
19449         `obsolete' packages, rather than painfully extracting the relevant
19450         directory name.
19452 2009-09-15  Glenn Morris  <rgm@gnu.org>
19454         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19455         free variable `doc'.
19457         * dired.el (dired-mode-map): Add menu entry for async shell command.
19459         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19460         variables, also consider the .elc files, since the .el files are
19461         normally gzipped (subsequent code locates the .el.gz from the .elc).
19463         * calc/calc-prog.el (arglist): Define for compiler.
19465         * calendar/diary-lib.el (diary-display-function): Change the default to
19466         fancy display.
19467         (body): Define for compiler.
19469         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19470         (byte-compile-file-form, byte-compile-lambda)
19471         (byte-compile-top-level-body, byte-compile-form)
19472         (byte-compile-variable-ref, byte-compile-setq)
19473         (byte-compile-setq-default, byte-compile-body)
19474         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19475         (batch-byte-compile): Give some more local variables with common names
19476         a "bytecomp-" prefix to avoid masking warnings about free variables.
19478         * startup.el (command-line-1): Give local variables with common names a
19479         distinguishing prefix, so as not to hide free variable warnings during
19480         bootstrap.
19482         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19483         clever and add a suffix to make a unique name, just let the user decide
19484         whether or not to overwrite it.  If the input is a directory, write the
19485         default filename to that directory.  (Bug#4388)
19486         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19487         is a filename-as-a-directory.
19489 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19491         * textmodes/page.el (what-page): Don't move to beginning of line.
19492         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19494 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19496         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19498 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
19500         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19501         * help.el (help-for-help-internal): Add purecopy calls for text.
19503         * vc.el (top): print-log method now takes an optional SHORTLOG
19504         argument.  Add a new method: root.
19505         (vc-root-diff, vc-print-root-log): New functions.
19506         (vc-log-short-style): New variable.
19507         (vc-print-log-internal): Add support for showing short logs.
19509         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19510         vc-print-root-log and vc-print-root-diff.
19512         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19513         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19514         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19515         short logs.
19517         * vc-cvs.el (vc-cvs-print-log):
19518         * vc-mtn.el (vc-mtn-print-log):
19519         * vc-rcs.el (vc-rcs-print-log):
19520         * vc-sccs.el (vc-sccs-print-log):
19521         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19522         that is ignored for now.
19524         * vc-mtn.el (vc-mtn-annotate-command):
19525         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19527 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19529         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19530         to function-key-map, and give them ascii-character property.
19531         * term/x-win.el (x-alternatives-map):
19532         * term/ns-win.el (ns-alternatives-map):
19533         * term/internal.el (msdos-key-remapping-map):
19534         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19536 2009-09-14  Glenn Morris  <rgm@gnu.org>
19538         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19539         temp-buffers (2009-09-12).
19541 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19543         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19544         the new read-key function.
19546 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19548         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19549         is defined (Bug#4405).
19551 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
19553         * recentf.el (recentf-cleanup): Use a hash table to find
19554         duplicates (Bug#4407).
19556 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
19558         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19559         kp-0 to ascii equivalents (Bug#4325).
19561 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19563         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19565         * eshell/em-hist.el:
19566         * eshell/em-dirs.el (eshell-complete-user-reference):
19567         Declare pcomplete functions and variables to avoid compiler warnings.
19569 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
19571         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19572         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19573         * eshell/em-alias.el (eshell-aliases-file):
19574         * eshell/em-hist.el (eshell-history-file-name):
19575         Use expand-file-name instead of concat to make file names (Bug#4308).
19577 2009-09-13  Glenn Morris  <rgm@gnu.org>
19579         * ediff-merg.el (ediff-do-merge):
19580         * filesets.el (filesets-run-cmd):
19581         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19582         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19583         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19584         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19585         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19586         Replace empty `let's with `progn'.
19588 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19590         * mail/sendmail.el (send-mail-function):
19591         * tooltip.el (tooltip-mode):
19592         * simple.el (transient-mark-mode):
19593         * rfn-eshadow.el (file-name-shadow-mode):
19594         * frame.el (blink-cursor-mode):
19595         * font-core.el (global-font-lock-mode):
19596         * files.el (temporary-file-directory)
19597         (small-temporary-file-directory, auto-save-file-name-transforms):
19598         * epa-hook.el (auto-encryption-mode):
19599         * composite.el (global-auto-composition-mode):
19600         Use custom-initialize-delay.
19601         * startup.el (command-line): Don't explicitly call
19602         custom-reevaluate-setting for all the above vars.
19603         * custom.el (custom-initialize-safe-set)
19604         (custom-initialize-safe-default): Delete.
19606 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19608         * term/x-win.el (x-initialize-window-system):
19609         * term/w32-win.el (w32-initialize-window-system):
19610         * term/ns-win.el (ns-initialize-window-system): Don't call
19611         mouse-wheel-mode since it's enabled globally by default already.
19613         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19614         actually define the variable, but only silences the byte-compiler.
19615         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19616         before looking it up.
19617         (mouse-wheel-scroll-amount): Also reset the bindings if this value
19618         is changed.
19620 2009-09-12  Glenn Morris  <rgm@gnu.org>
19622         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19623         1000.
19624         (elint-add-required-env): Don't beep on error.
19625         (elint-forms): In case of error, return ENV unchanged.
19626         (elint-init-env): Skip non-list forms.
19627         (elint-log): Handle unknown file positions.
19629 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
19631         * epg.el (epg-make-context): Add autoload cookie.
19632         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19633         (epg-decrypt-string, epg-start-verify, epg-verify-file)
19634         (epg-verify-string, epg-start-sign, epg-sign-file)
19635         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19636         (epg-encrypt-string, epg-start-export-keys)
19637         (epg-export-keys-to-file, epg-export-keys-to-string)
19638         (epg-start-import-keys, epg-import-keys-from-file)
19639         (epg-import-keys-from-string, epg-start-receive-keys)
19640         (epg-receive-keys, epg-import-keys-from-server)
19641         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19642         (epg-sign-keys, epg-start-generate-key)
19643         (epg-generate-key-from-file, epg-generate-key-from-string):
19644         Remove autoload cookie.
19646 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
19648         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19649         reevaluation of trash-directory.
19651         * mwheel.el: Fix last change.
19652         (mouse-wheel-mode): New defvar.
19653         (mouse-wheel-mode): Remove autoload cookie.
19655 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19657         * mwheel.el (mwheel-installed-bindings): New var.
19658         (mouse-wheel-mode): Use it, so as to make sure we really remove all
19659         the bindings we set last time.  Use custom-initialize-delay.
19660         * loadup.el: Load mwheel after term/*-win.el.
19661         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19662         and mouse-wheel-up-event now that their first evaluation is done
19663         sufficiently late to be correct.
19665         * startup.el (tutorial-directory): Make it a defcustom.
19666         Use custom-initialize-delay rather than eval-at-startup to set it.
19667         * image.el (image-load-path): Make it a defcustom.
19668         Use custom-initialize-delay rather than eval-at-startup to set it.
19669         * subr.el (eval-at-startup): Remove.
19670         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19672         * subr.el (do-after-load-evaluation): Warn the user after loading an
19673         obsolete package.
19675 2009-09-12  Glenn Morris  <rgm@gnu.org>
19677         * proced.el (proced-mark-alt): Remove alias.
19678         (proced-mode-map): Remove proced-mark-alt.
19680         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19681         Elint file and directory.  Remove initialization entry.
19683         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19684         commands.
19685         (elint-current-buffer): Set mode-line-process.
19686         (elint-init-env): Handle define-derived-mode.
19687         Fix declare-function with unspecified arglist.  Guard against odd
19688         defalias statements (eg iso-insert's 8859-1-map).
19689         (elint-add-required-env): Use a temp buffer.
19690         (elint-form): Just print the function/macro name, not the whole form.
19691         Return env unchanged if we fail to parse a macro.
19692         (elint-forms): Guard against parse errors.
19693         (elint-output): New function, to handle batch mode.
19694         (elint-log-message): Add optional argument.  Use elint-output.
19695         (elint-set-mode-line): New function.
19697 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
19699         * emacs-lisp/elp.el (elp-not-profilable): Add more
19700         functions (Bug#4233).
19702 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
19704         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19705         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19707 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19709         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19710         (gdb-var-list-children): Use json parsing.
19712 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
19714         * progmodes/js.el (js--proper-indentation): Handle the case where
19715         char-before is null.  Reported by Deniz Dogan.
19717 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19719         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19721 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
19723         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19724         (epg-digest-algorithm-alist): Add SHA224.
19725         (epg-context-set-passphrase-callback)
19726         (epg-context-set-progress-callback): Add description about
19727         callback function.
19729 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19731         * custom.el (custom-delayed-init-variables): New var.
19732         (custom-initialize-delay): New function.
19733         * startup.el (command-line): "Re"evaluate all vars in
19734         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
19735         explicitly any more.
19736         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19737         to avoid creating a ~/.emacs.d at build-time (bug#4347).
19739         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19741 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19743         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19744         (gdb-var-update-handler): Use json parsing.
19746 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19748         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19749         decode annotated text, regardless of language environment.  (Bug#2741)
19751 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19753         * Makefile.in (autoloads): Make rmail.el writable as well.
19755 2009-09-11  Glenn Morris  <rgm@gnu.org>
19757         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19758         loaddefs.el.
19759         * dired.el: Regenerate with extracted autoloads.
19760         * Makefile.in (autoloads): Make dired.el writable.
19762         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19763         * ibuffer.el: Regenerate with extracted autoloads.
19764         * Makefile.in (autoloads): Make ibuffer.el writable.
19766         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19767         * version.el (emacs-copyright, emacs-major-version)
19768         (emacs-minor-version): Reformat doc-strings for make-docfile.
19770         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19771         functions and variables, since they must be stuff specific to some other
19772         platform.
19773         (apropos-print): Make mouse-click message less specific about button.
19775         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19776         that records where a macro was defined.
19777         * help-fns.el (describe-function-1): Mention if a function has a
19778         compiler-macro.
19779         * help-mode.el (help-function-cmacro): New button.
19781         * locate.el (top-level): Always require dired.
19782         (locate-mode-map): Initialize inside the defvar.
19784         * net/ange-ftp.el (dired-compress-file): Declare.
19785         (ange-ftp-dired-compress-file): Add doc string.
19787         * term/ns-win.el (x-display-name, x-setup-function-keys):
19788         Unify doc-strings with X versions.
19790 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19792         * emulation/crisp.el (crisp-mode-map): Move initialization
19793         into declaration.
19794         (crisp-mode): Use define-minor-mode.
19796         * progmodes/xscheme.el (xscheme-evaluation-commands):
19797         Put a :advertised-binding property rather than using
19798         advertised-xscheme-send-previous-expression.
19799         (advertised-xscheme-send-previous-expression): Declare obsolete.
19800         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19801         `advertised-undo'.
19802         (crisp-mode): Add corresponding bindings to
19803         undo's :advertised-binding instead.
19804         * dired.el (dired-mode-map): Put a :advertised-binding property rather
19805         than using dired-advertised-find-file.
19806         (dired-advertised-find-file):
19807         * simple.el (advertised-undo):
19808         * wid-edit.el (advertised-widget-backward): Declare obsolete.
19809         (widget-keymap): Put a :advertised-binding property rather
19810         than using advertised-widget-backward.
19811         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19812         than using advertised-undo.
19813         * tutorial.el (tutorial--default-keys): Adjust accordingly.
19815 2009-09-10  Simon South  <ssouth@slowcomputing.org>
19817         * progmodes/delphi.el (delphi-tab): Indent region when Transient
19818         Mark mode is enabled and region is active; otherwise indent or
19819         insert TAB as usual.
19820         (delphi-mode): Update description of TAB-key binding.
19822 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19824         * subr.el (define-key-rebound-commands): Mark obsolete.
19825         * startup.el (precompute-menubar-bindings): Remove.
19826         (normal-top-level): Remove obsolete code that tried to precompute
19827         menubar bindings.
19828         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19829         define-key-rebound-commands and precompute-menubar-bindings.
19831 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
19833         * net/imap.el (imap-interactive-login): Better messages.
19834         (imap-open): Fix bug with renamed buffer on reconnect.
19835         (imap-authenticate): Add buffer-local imap-last-authenticator variable
19836         for easier debugging and cleaner code.  On successful (guessed based on
19837         server capabilities) secondary authentication, set imap-state
19838         correctly.
19839         (imap-last-authenticator): Define imap-last-authenticator as a variable
19840         to avoid warnings.
19842 2009-09-10  Glenn Morris  <rgm@gnu.org>
19844         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19846         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19847         (byte-compile-file-form-autoload): Don't warn about unknown functions
19848         where the autoload statement comes after the use.
19849         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19850         that any handlers inside the body (eg require) are in turn respected.
19852         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19853         effects.
19855         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19856         and syntax and abbrev tables basic docs, if they don't have any.
19858         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19860         * international/mule-cmds.el (top-level): Require cl when compiling.
19861         (view-hello-file): Use default-value rather than
19862         default-enable-multibyte-characters.
19864         * progmodes/fortran.el: Move all safe and risky properties into the
19865         defcustoms.
19867         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19868         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19869         * mail/undigest.el:
19870         Put autoloads in rmail.el rather than loaddefs.el.
19871         * mail/rmail.el: Regenerate with extracted autoloads.
19873         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19874         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19876 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
19878         Reported in thread for Bug#4375.
19879         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19880         "-data-evaluate-expression" instead of print.
19881         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19882         (gdb-tooltip-print): Parse output from above MI command.
19883         (gdb): Revert 2009-08-11 change.  User should detach inferior
19884         manually.
19886         Remove the word "separate" from IO functions as inferior
19887         output is now never displayed in the GUD buffer.
19889 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
19891         * startup.el (command-line-normalize-file-name): On Windows and
19892         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19894 2009-09-10  Juri Linkov  <juri@jurta.org>
19896         * isearch.el (isearch-text-char-description): Propertize escape
19897         character sequences with the `escape-glyph' face.  (Bug#4344)
19899         * simple.el (shell-command): Set asynchronous process filter to
19900         `comint-output-filter'.  (Bug#4343)
19902         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19903         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
19904         the list.  Move "asm" to the bottom.
19905         (grep-find-ignored-directories): Add `choice' with nil value
19906         to empty the list easily.
19907         (grep-find-ignored-files): New option.
19908         (grep-files-history): Set to nil by default instead of '("ch" "el").
19909         (grep-compute-defaults): Add "<X>" to `grep-template'.
19910         (grep-read-files): Bind new local variables `default-alias' and
19911         `default-extension'.  Use a list of default values for the file prompt.
19912         (lgrep): Add `--exclude=' command line options composed from
19913         `grep-find-ignored-files'.
19914         (rgrep): Add `-name' command line options composed from
19915         `grep-find-ignored-files'.  (Bug#4301)
19917 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19919         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19920         (bug#4368).
19922 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
19924         * calendar/time-date.el (autoload):
19925         Expand define-obsolete-function-alias into defalias and make-obsolete
19926         for old Emacsen that Gnus supports.
19927         (with-no-warnings): Define it for old Emacsen.
19928         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19929         is available.
19930         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19931         float-time is available; suppress compile warning for time-to-seconds.
19933 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
19935         * net/imap.el (imap-message-map): Docstring fix.
19937 2009-09-09  Glenn Morris  <rgm@gnu.org>
19939         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19940         line numbers too.  (Bug#4374)
19942 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19944         * smerge-mode.el (smerge-remove-props, smerge-refine):
19945         Use with-silent-modifications (bug#4342).
19947         * subr.el (with-silent-modifications): New macro.
19949 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
19951         * files.el (top-level): Require `cl' when compiling.
19953 2009-09-07  Glenn Morris  <rgm@gnu.org>
19955         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19957         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19958         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
19960 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
19962         * vc-git.el (vc-git-annotate-command): Use separator to parse
19963         arguments correctly.
19965 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
19967         * proced.el (proced-mode): Doc fix.
19969 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
19971         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19972         lstat fails.
19973         (tramp-do-file-attributes-with-ls): Check for file existence at
19974         remote end.
19975         (tramp-do-file-attributes-with-stat): Likewise.
19976         (tramp-convert-file-attributes): Return nil when attr is nil.
19978 2009-09-05  Glenn Morris  <rgm@gnu.org>
19980         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19981         properties to this button.
19982         (diary-fancy-display): Don't extend the button to the final newline.
19983         (diary-fancy-display-mode): Continue to define "q" as a local key.
19985         * calendar/cal-china.el (holiday-chinese): Make it slightly more
19986         efficient.
19988         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19990         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19991         (byte-compile-dest-file-function): New option.
19992         (byte-compile-dest-file): Doc fix.
19993         Obey byte-compile-dest-file-function.
19994         (byte-compile-cl-file-p): New function.
19995         (byte-compile-eval): Only suppress noruntime warnings about cl functions
19996         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
19997         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19998         than for file being previously loaded.
19999         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20000         (byte-compile-file-form-require): Handle the case where requiring a file
20001         indirectly causes CL to be loaded.
20003 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
20005         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20006         before killing the old buffer, since by the time `kill-buffer' is
20007         run so many buffer variables have been set to nil that it may not
20008         behave as expected.  (Bug#4061)
20010 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
20012         * files.el (find-alternate-file): If the old buffer is modified
20013         and visiting a file, behave similarly to `kill-buffer' when
20014         killing it, thus reverting to the pre-1.878 behavior; see
20015         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20016         for discussion.  Also, consult `buffer-file-name' as a variable
20017         not as a function, for consistency with the rest of the code.
20019 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
20021         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20022         also when adding a new directory.
20024         * net/tramp-compat.el (tramp-compat-line-beginning-position):
20025         New defun.
20027 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20029         * files.el (locate-file-completion-table): Make it provide boundary
20030         information, so partial-completion works better.
20032 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
20034         * mail/footnote.el (Footnote-text-under-cursor):
20035         Check footnote-text-marker-alist before using it (bug#4324).
20037 2009-09-04  Glenn Morris  <rgm@gnu.org>
20039         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20040         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20041         * play/solitaire.el, play/tetris.el:
20042         Remove leading * from defcustom and defface docs.
20044         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20045         necessary.
20046         (diary-fancy-overriding-map): New variable.
20047         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20048         Use view-mode.
20050         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20051         goto-line.
20053 2009-09-03  Glenn Morris  <rgm@gnu.org>
20055         * arc-mode.el (archive-mode):
20056         * dos-fns.el (set-default-process-coding-system):
20057         * man.el (Man-getpage-in-background):
20058         * menu-bar.el (menu-bar-describe-menu):
20059         * server.el (server-process-filter):
20060         * startup.el (command-line):
20061         * tar-mode.el (tar-header-block-tokenize, tar-extract):
20062         * w32-fns.el (set-default-process-coding-system):
20063         * x-dnd.el (x-dnd-handle-file-name):
20064         * international/mule-cmds.el (mule-menu-keymap)
20065         (set-default-coding-systems, language-info-alist, set-language-info)
20066         (set-language-environment, standard-display-european-internal)
20067         (set-locale-environment):
20068         * international/mule-diag.el (mule-diag):
20069         * mail/emacsbug.el (report-emacs-bug):
20070         * mail/rmail.el (rmail-mode):
20071         * mail/sendmail.el (mail-setup):
20072         Use default-value rather than default-enable-multibyte-characters.
20074         * progmodes/f90.el: Move all safe properties into the defcustoms.
20075         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20077         * calendar/appt.el (appt-check):
20078         * calendar/diary-lib.el (diary-set-header, diary-live-p)
20079         (diary-check-diary-file, diary-list-entries)
20080         (diary-include-other-diary-files, diary-simple-display)
20081         (diary-fancy-display, diary-print-entries)
20082         (diary-mark-included-diary-files, diary-make-entry):
20083         Don't call substitute-in-file-name on diary-file.
20085 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
20086             Stefan Monnier  <monnier@iro.umontreal.ca>
20088         * mail/footnote.el (footnote-prefix): Make it a defcustom.
20089         (footnote-mode-map): Move initialization into the declaration.
20090         (footnote-minor-mode-map): Define it rather than changing global-map.
20091         (footnote-mode): Use define-minor-mode.
20093 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
20095         * net/tramp.el (tramp-handle-file-attributes-with-ls)
20096         (tramp-do-file-attributes-with-perl)
20097         (tramp-do-file-attributes-with-stat): Rename from
20098         `tramp-handle-file-attributes-with-*'.
20099         (tramp-handle-file-attributes): Use them.
20100         (tramp-do-directory-files-and-attributes-with-perl)
20101         (tramp-do-directory-files-and-attributes-with-stat): Rename from
20102         `tramp-handle-directory-files-and-attributes-with-*'.
20103         (tramp-handle-directory-files-and-attributes): Use them.
20104         (tramp-method-out-of-band-p): Additional parameter SIZE.
20105         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20106         (tramp-handle-write-region): Use it.
20107         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20108         (tramp-handle-vc-registered): Check, whether the first run did
20109         return files to be tested.
20110         (tramp-advice-make-auto-save-file-name): Do not call directly
20111         `tramp-handle-make-auto-save-file-name', because this would bypass
20112         the locking mechanism.
20114         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20115         (file-remote-p, process-file, start-file-process, set-file-times)
20116         (tramp-compat-file-attributes): Compatibility functions shall not
20117         call directly `tramp-handle-*', because this would bypass the
20118         locking mechanism.
20119         (tramp-compat-number-sequence): New defun.
20121 2009-09-02  Glenn Morris  <rgm@gnu.org>
20123         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20124         alias for float-time.
20125         (time-to-number-of-days): In Emacs, use float-time.
20126         * net/newst-backend.el (time-add): Suppress warnings from compat
20127         function.
20128         * time.el (emacs-uptime, emacs-init-time):
20129         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20130         Use float-time rather than time-to-seconds.
20132         * minibuffer.el (completion-initials-expand): Fix typo.
20134         * faces.el (modeline, modeline-inactive, modeline-highlight)
20135         (modeline-buffer-id):
20136         * info.el (info-menu-5): Mark these face aliases as obsolete.
20138 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
20140         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20141         space ...
20142         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20143         no "--thread" option.
20144         (gdb-stopped): Don't print "Switched to thread" message when it is
20145         unchanged.
20147 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20149         * minibuffer.el (completion-try-completion)
20150         (completion-all-completions): Remove ill-defined (and
20151         mistakenly installed and luckily never used nor documented)
20152         `completion-styles' property.
20153         (completion-initials-expand, completion-initials-all-completions)
20154         (completion-initials-try-completion): New functions.
20155         (completion-styles-alist): Add doc to each entry.
20156         Add new `initials' entry.
20158 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
20160         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20161         MI command -var-evaluate-expression.
20162         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20163         and tweak for case of string child.
20164         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20166 2009-09-01  Glenn Morris  <rgm@gnu.org>
20168         * add-log.el (change-log-date-face, change-log-name-face)
20169         (change-log-email-face, change-log-file-face, change-log-list-face)
20170         (change-log-conditionals-face, change-log-function-face)
20171         (change-log-acknowledgement-face):
20172         * cus-edit.el (custom-invalid-face, custom-rogue-face)
20173         (custom-modified-face, custom-set-face, custom-changed-face)
20174         (custom-saved-face, custom-button-face, custom-button-pressed-face)
20175         (custom-documentation-face, custom-state-face, custom-comment-face)
20176         (custom-comment-tag-face, custom-variable-tag-face)
20177         (custom-variable-button-face, custom-face-tag-face)
20178         (custom-group-tag-face-1, custom-group-tag-face):
20179         * diff-mode.el (diff-header-face, diff-file-header-face)
20180         (diff-index-face, diff-hunk-header-face, diff-removed-face)
20181         (diff-added-face, diff-changed-face, diff-function-face)
20182         (diff-context-face, diff-nonexistent-face):
20183         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20184         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20185         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20186         (Info-title-4-face):
20187         * isearch.el (isearch-lazy-highlight-face):
20188         * log-view.el (log-view-file-face, log-view-message-face):
20189         * paren.el (show-paren-match-face, show-paren-mismatch-face):
20190         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20191         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20192         (cvs-msg-face):
20193         * smerge-mode.el (smerge-mine-face, smerge-other-face)
20194         (smerge-base-face, smerge-markers-face):
20195         * wid-edit.el (widget-documentation-face, widget-button-face)
20196         (widget-field-face, widget-single-line-field-face)
20197         (widget-inactive-face, widget-button-pressed-face):
20198         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20199         (woman-addition-face):
20200         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20201         (eshell-ls-executable-face, eshell-ls-readonly-face)
20202         (eshell-ls-unreadable-face, eshell-ls-special-face)
20203         (eshell-ls-missing-face, eshell-ls-archive-face)
20204         (eshell-ls-backup-face, eshell-ls-product-face)
20205         (eshell-ls-clutter-face):
20206         * eshell/em-prompt.el (eshell-prompt-face):
20207         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20208         * obsolete/old-whitespace.el (whitespace-highlight-face):
20209         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20210         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20211         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20212         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20213         (antlr-font-lock-literal-face):
20214         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20215         (ebrowse-root-class-face, ebrowse-file-name-face)
20216         (ebrowse-default-face, ebrowse-member-attribute-face)
20217         (ebrowse-member-class-face, ebrowse-progress-face):
20218         * progmodes/make-mode.el (makefile-space-face):
20219         * progmodes/sh-script.el (sh-heredoc-face):
20220         * textmodes/flyspell.el (flyspell-incorrect-face)
20221         (flyspell-duplicate-face):
20222         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20223         * textmodes/texinfo.el (texinfo-heading-face):
20224         Mark face aliases with "-face" suffix as obsolete.
20226         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20227         compiler.
20229         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20230         (eudc-bob-sound-menu): Use defvar rather than defconst, since
20231         easy-menu-define wants to modify these.
20233         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20235         * net/browse-url.el (browse-url-file-url):
20236         * term/internal.el (dos-codepage-setup):
20237         Use default-value rather than default-enable-multibyte-characters.
20239         * progmodes/etags.el (etags-goto-tag-location):
20240         * progmodes/flymake.el (flymake-highlight-line)
20241         (flymake-goto-file-and-line, flymake-goto-line):
20242         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20243         (gdb-goto-breakpoint):
20244         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20245         * progmodes/python.el (python-find-function)
20246         (python-pdbtrack-track-stack-file):
20247         * progmodes/verilog-mode.el (verilog-surelint-off):
20248         * term/ns-win.el (ns-open-file-select-line):
20249         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20250         Use forward-line rather than goto-line.
20252         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20253         * textmodes/reftex-index.el (reftex-display-index):
20254         * textmodes/reftex-ref.el (reftex-offer-label-menu):
20255         * textmodes/reftex-toc.el (reftex-toc):
20256         Remove unnecessary bindings of default-major-mode (all are followed by
20257         major-mode check and possible mode switch).
20259 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20261         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20262         Handle watchpoints (bug#4282).
20263         (def-gdb-thread-buffer-command): Enable thread to be selected by
20264         clicking without selecting threads buffer first.
20265         (gdb-current-context-command): Use selected frame so that "up",
20266         "down" etc work in the GUD buffer.
20267         (gdb-update): Find selected frame before rendering stack buffer.
20268         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20270 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20272         * progmodes/sym-comp.el (displayed-completions): Remove.
20273         (symbol-complete): Use minibuffer-complete.
20275 2009-08-31  Glenn Morris  <rgm@gnu.org>
20277         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20279         * apropos.el (apropos-symbols-internal):
20280         Handle (obsolete) face aliases.
20282         * faces.el (describe-face): Adjust the output format to be more like
20283         describe-variable, and to mention (obsolete) face aliases.
20284         Adjust the whitespace so that help-setup-xref works.
20286         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20287         * calendar/diary-lib.el (diary-button-face):
20288         Mark these face aliases as obsolete.
20290         * calendar/calendar.el (calendar-today): Doc fix.
20292 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20294         * progmodes/gdb-mi.el (gdb-control-all-threads)
20295         (gdb-control-current-thread): Force tool bar update.
20296         (gdb-non-stop-handler): New function.
20297         (gdb-init-1): Use it to test if non-stop mode is supported.
20298         Remove unused gdbmi buffer type.
20300 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
20302         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20303         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
20305 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
20307         * comint.el (comint-exec-1): Check command is non-null first.
20308         Part of gdb-mi.el change (2009-08-28).
20310 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20312         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20314 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
20316         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20317         instead of `dolist' to avoid a recursive require when bootstrapping.
20319 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20321         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20323         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20325         * net/imap.el (imap-send-command): Simplify.
20326         (imap-wait-for-tag): point-max -> buffer-size.
20328         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20330         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20331         with constant argument.
20333         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20335         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20337         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20338         Change default, since most of our files don't have a history.
20339         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20340         the user.
20342         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20343         Add comint-run.
20345         * calc/calc.el: Improve commenting convention.
20346         (calc-digit-map, toplevel): Simplify.
20348         * comint.el (comint-insert-input): Be careful to only set point if we
20349         don't delegate to some other command.
20351         * proced.el (proced-signal-list): Make it an alist.
20352         (proced-grammar-alist): Capitalize names.
20353         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20354         Disable undo manually and make it read-only.
20355         Use completion-annotate-function.
20357         * minibuffer.el (minibuffer-message): If the current buffer is not
20358         a minibuffer, insert the message in the echo area rather than at the
20359         end of the buffer.
20360         (completion-annotate-function): New variable.
20361         (minibuffer-completion-help): Use it.
20362         (completion--embedded-envvar-table): Environment vars are
20363         always case-sensitive.
20365 2009-08-30  Glenn Morris  <rgm@gnu.org>
20367         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20368         from fortran-current-defun.
20369         (fortran-beginning-of-subprogram): Be more precise about finding the
20370         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
20371         (fortran-end-of-subprogram): Simplify.
20372         (fortran-current-defun): Use fortran-start-prog-re.
20374 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
20376         * subr.el (do-after-load-evaluation): Simplify.
20378 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
20380         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20382         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
20383         (vc-rcs-print-log): Use it.
20385         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20387 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20389         * paths.el (abbrev-file-name): Move to abbrev.el.
20390         * abbrev.el (abbrev-file-name): Move from paths.el.
20391         Obey user-emacs-directory.
20392         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20393         user-emacs-directory.
20394         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20395         abbrev-file-name and calc-settings-file any more.
20396         * startup.el (command-line): Recompute abbrev-file-name and
20397         abbreviated-home-dir.
20398         (normal-no-mouse-startup-screen): Improve the generic code and get rid
20399         of the special code for when C-h bindings haven't been changed.
20400         (display-startup-echo-area-message): Use with-current-buffer.
20401         (command-line-1): Use a list of strings, rather than a list of lists
20402         of strings for longopts.
20404         * files.el (get-free-disk-space): Use / for default-directory.
20406         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20407         Use with-current-buffer.
20409         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20410         Recognize immutable variables like most-positive-fixnum.
20411         (byte-compile-setq-default): Check and warn if trying to assign
20412         to an immutable variable, or a non-variable.
20414         * progmodes/cc-vars.el (c-comment-continuation-stars):
20415         * progmodes/cc-engine.el (c-looking-at-bos):
20416         * progmodes/cc-cmds.el (c-toggle-auto-state)
20417         (c-forward-into-nomenclature, c-backward-into-nomenclature)
20418         (c-comment-line-break-function): Add version of obsolescence.
20420 2009-08-28  Juri Linkov  <juri@jurta.org>
20422         * files.el (magic-fallback-mode-alist): Add ZIP magic number
20423         associated with `archive-mode'.
20425         * image.el (image-type-header-regexps): Use only JPEG magic number
20426         to determine JPEG images, and don't use `image-jpeg-p' because
20427         Emacs can display non-JFIF non-Exif JPEG images.
20429 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20431         * arc-mode.el (archive-mode):
20432         * emacs-lisp/re-builder.el (re-builder-unload-function):
20433         Protect against the default value of `major-mode' being nil.
20435 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20437         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20438         Fix typos in docstrings.
20440         * progmodes/js.el (js--macro-decl-re): Doc fix.
20441         (js--plain-method-re, js--split-name): Refloc docstring.
20442         (js--class-styles, js--make-merged-item, js--splice-into-items):
20443         Fix typos in docstrings; reflow docstrings.
20444         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20445         (js--variable-decl-matcher, js--inside-pitem-p)
20446         (js--parse-state-at-point, js--get-all-known-symbols)
20447         (js--symbol-history, js-find-symbol, js--js-references)
20448         (js--moz-interactor, js--js-encode-value, js--read-tab):
20449         Fix typos in docstrings.
20451 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20453         * textmodes/reftex.el (reftex-get-file-buffer-force):
20454         * progmodes/verilog-mode.el (verilog-batch-execute-func):
20455         * emulation/viper.el (viper-go-away, viper-set-hooks):
20456         * emacs-lisp/re-builder.el (re-builder-unload-function):
20457         * emacs-lisp/bytecomp.el (byte-compile-file):
20458         * ses.el (ses-unload-function):
20459         * hexl.el (hexl-find-file):
20460         * files.el (normal-mode):
20461         * ehelp.el (with-electric-help):
20462         * autoinsert.el (auto-insert-alist):
20463         * arc-mode.el (archive-mode):
20464         Use (default-value 'major-mode) instead of default-major-mode.
20466         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20467         * international/mule.el (load-with-code-conversion):
20468         * emacs-lisp/debug.el (debug):
20469         * ediff-vers.el (ediff-rcs-get-output-buffer):
20470         * dired.el (dired-internal-noselect): Don't let-bind
20471         default-major-mode around code that doesn't use it.
20472         E.g. buffer creation via get-buffer-create doesn't use it.
20474 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
20476         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20477         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20478         when writing the temp file.  Otherwise, epa-file gets confused.
20479         (tramp-register-file-name-handlers): Make it a defun.  Move also
20480         `epa-file-handler' to the front of `file-name-handler-alist'.
20482 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20484         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20485         start right after a ^M.
20486         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20487         (tramp-completion-file-name-regexp-separate)
20488         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20489         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20490         Don't modify last-coding-system-used by accident.
20491         (tramp-completion-file-name-handler): Apply the checks here,
20492         instead during registration.
20493         (tramp-register-file-name-handlers): Rename from
20494         `tramp-register-file-name-handler'.  Register both
20495         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20496         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
20498 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
20500         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20501         Remove variable ...
20502         (gdb-init-1, gdb-display-separate-io-buffer)
20503         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20504         references to it.
20505         (gdb-inferior-io-mode): Use make-comint-in-buffer.
20506         (gdb-inferior-filter): Use comint-output-filter to stop
20507         echoing and remove ^M characters.
20509 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20511         * emulation/viper-init.el (viper-restore-cursor-type):
20512         * emulation/cua-base.el (cua--update-indications):
20513         Replace default-cursor-type with (default-value 'cursor-type).
20515         * mail/sendmail.el (mail-recover-1):
20516         * international/mule-diag.el (describe-current-coding-system-briefly)
20517         (describe-current-coding-system):
20518         * international/mule-cmds.el (select-safe-coding-system)
20519         (select-message-coding-system)
20520         (set-language-environment-coding-systems, set-locale-environment):
20521         * hexl.el (hexl-insert-multibyte-char):
20522         * dos-w32.el (find-buffer-file-type-coding-system):
20523         * simple.el (what-cursor-position):
20524         Replace uses of default-buffer-file-coding-system
20525         with (default-value 'buffer-file-coding-system).
20527         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20528         Replace uses of default-cursor-in-non-selected-windows
20529         with (default-value 'cursor-in-non-selected-windows).
20530         Use with-current-buffer.
20532         * mail/feedmail.el: Use CL macros.
20533         (feedmail-run-the-queue, feedmail-send-it-immediately):
20534         * dos-w32.el (find-buffer-file-type): Replace uses of
20535         default-buffer-file-type with (default-value 'buffer-file-type).
20537 2009-08-28  Glenn Morris  <rgm@gnu.org>
20539         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20540         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20541         Use default-value of major-mode rather than default-major-mode.
20543 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20545         * Makefile.in (update-elcfiles): Report left over elc files.
20547         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20548         expand-file-name and with-current-buffer.
20549         (mail-get-names, mail-directory): Use with-current-buffer.
20551         * vc.el (vc-read-revision): New function.
20552         (vc-version-diff, vc-merge): Use it.
20554 2009-08-27  Sam Steingold  <sds@gnu.org>
20556         * simple.el (kill-do-not-save-duplicates): New user option.
20557         (kill-new): When it is non-nil, and the new string is the same as
20558         the latest kill, set replace to t to avoid duplicates in kill-ring.
20560 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
20562         * net/tramp.el (tramp-handle-process-file): Do not flush all
20563         caches when `process-file-side-effects' is set.
20564         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20565         instead of `tramp-find-file-exists-command'.
20566         Unset `process-file-side-effects'.
20568 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
20570         * net/tramp.el (tramp-methods): New method "rsyncc".
20571         (top): Add completion function for "rsyncc".
20572         (tramp-message-show-message): New defvar.
20573         (tramp-message, tramp-error): Use it.
20574         (tramp-do-copy-or-rename-file-directly): Extend check for direct
20575         remote copying.
20576         (tramp-do-copy-or-rename-file-out-of-band): Handle new
20577         `tramp-methods' entry `copy-env' of "rsyncc".
20578         (tramp-vc-registered-read-file-names): New defconst.
20579         (tramp-vc-registered-file-names): New defvar.
20580         (tramp-handle-vc-registered): Implement optimization strategy.
20581         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20582         (tramp-vc-file-name-handler): New defun.
20583         (tramp-get-ls-command, tramp-get-test-command)
20584         (tramp-get-file-exists-command, tramp-get-remote-ln)
20585         (tramp-get-remote-perl, tramp-get-remote-stat)
20586         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20588         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20589         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
20590         timestamps.
20591         (tramp-get-file-property): Check for timestamps in
20592         `tramp-cache-inhibit-cache'.
20593         (tramp-set-file-property): Write timestamp.
20595 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20597         * language/japan-util.el (japanese-symbol-table): Add entries for
20598         cp932-2-byte.
20600         * international/characters.el: Add category `j' to cp932-2-byte.
20602 2009-08-27  Kenichi Handa  <handa@m17n.org>
20604         * international/fontset.el (build-default-fontset-data): New macro.
20605         (setup-default-fontset): Use build-default-fontset-data for CJK,
20606         tibetan, ethiopic, and ipa.
20608 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20610         * cus-start.el (default-major-mode): Customize `major-mode' instead.
20611         (enable-multibyte-characters): Not customizable any more.
20613         * subr.el (default-mode-line-format, default-header-line-format)
20614         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20615         (default-direction-reversed, default-truncate-lines)
20616         (default-left-margin, default-tab-width, default-case-fold-search)
20617         (default-left-margin-width, default-right-margin-width)
20618         (default-left-fringe-width, default-right-fringe-width)
20619         (default-fringes-outside-margins, default-scroll-bar-width)
20620         (default-vertical-scroll-bar, default-indicate-empty-lines)
20621         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20622         (default-fringe-cursor-alist, default-scroll-up-aggressively)
20623         (default-scroll-down-aggressively, default-fill-column)
20624         (default-cursor-type, default-buffer-file-type)
20625         (default-cursor-in-non-selected-windows)
20626         (default-buffer-file-coding-system, default-major-mode)
20627         (default-enable-multibyte-characters): Mark as obsolete.
20629 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
20631         * vc-dir.el (vc-dir-update): Remove debug helper.
20633         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20635 2009-08-26  Sam Steingold  <sds@gnu.org>
20637         * simple.el (save-interprogram-paste-before-kill): New user option.
20638         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20639         save the interprogram-paste into kill-ring before overriding it
20640         with the Emacs kill.
20642 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20644         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20645         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20646         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20647         and move to vc-rcs.el.
20648         (vc-default-next-revision): Rename to vc-rcs-next-revision and
20649         move to vc-rcs.el.
20650         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20651         (vc-rcs-update-changelog): Remove.
20652         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20653         and move to vc-rcs.el.
20655         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20656         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20657         renaming.
20658         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20659         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20660         vc.el, renamed to be RCS specific.
20662         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20663         New functions.
20664         (vc-cvs-update-changelog): Move here from vc.el.
20666         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20667         New functions.
20669 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20671         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20673 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20675         * vc-git.el (vc-git-register): Use "git add" for directories.
20676         (vc-git-stash, vc-git-stash-show): New functions.
20677         (vc-git-extra-menu-map): Bind them.
20679         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20680         directory correctly in case the item is a directory itself.
20682         * vc.el: Document the desired behavior for reverted files in the
20683         `added' state.
20684         (vc-default-prettify-state-info): Remove function, unused.
20686         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20688 2009-08-26  Glenn Morris  <rgm@gnu.org>
20690         * bindings.el (standard-mode-line-format): Reposition dashes in
20691         which-func entry.  (Bug#4217)
20693         * files.el (enable-local-variables, enable-local-eval)
20694         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20695         the defcustoms.
20696         (auto-mode-alist, ignored-local-variables)
20697         (save-some-buffers-action-alist): Move risky declarations to the
20698         definitions.
20699         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20700         (font-lock-defaults, format-alist, imenu--index-alist)
20701         (imenu-generic-expression, input-method-alist, minor-mode-alist)
20702         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20703         (mode-line-modified, mode-line-mule-info, mode-line-position)
20704         (mode-line-process, mode-line-remote, outline-level)
20705         (parse-time-rules, rmail-output-file-alist)
20706         (special-display-buffer-names, vc-mode):
20707         Move risky declarations to the relevant files.
20708         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20709         (mode-line-modified, mode-line-process, mode-line-position)
20710         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20711         * font-core.el (font-lock-defaults):
20712         * format.el (format-alist):
20713         * vc-hooks.el (vc-mode):
20714         * window.el (special-display-buffer-names):
20715         * international/mule-cmds.el (input-method-alist):
20716         Define riskiness here (dumped file) rather than in files.el.
20717         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20718         * imenu.el (imenu-generic-expression, imenu--index-alist):
20719         * outline.el (outline-level):
20720         * time.el (display-time-string):
20721         * calendar/parse-time.el (parse-time-rules):
20722         * mail/rmailout.el (rmail-output-file-alist):
20723         Autoload riskiness here, rather than placing in files.el.
20725 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
20727         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20729 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
20731         * simple.el (process-file-side-effects): New defvar.
20733         * dired-aux.el (dired-show-file-type):
20734         * vc.el (vc-diff-internal):
20735         * vc-arch.el (vc-arch-diff):
20736         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20737         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20738         * vc-git.el (vc-git-registered, vc-git-working-revision)
20739         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20740         (vc-git--empty-db-p):
20741         * vc-hooks.el (vc-user-login-name):
20742         * vc-svn.el (vc-svn-registered, vc-svn-state)
20743         (vc-svn-dir-extra-headers, vc-svn-find-revision):
20744         * progmodes/grep.el (grep-probe): Let-bind
20745         `process-file-side-effects' with nil.
20747         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20749         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20750         daemon.  Replace ping by checking for running service for bluez
20751         and zeroconf.  (Bug#4239)
20753 2009-08-25  Kevin Ryde  <user42@zip.com.au>
20755         * net/dig.el (dig): Add autoload cookie.
20757 2009-08-25  Glenn Morris  <rgm@gnu.org>
20759         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20760         load-history for absolute file-names.
20761         (byte-compile-file-form-require): Warn about use of the cl package.
20763         * format.el (format-alist): Doc fix.
20765         * play/bubbles.el (top-level): Don't require cl at run-time.
20767         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20768         run-time cl).
20770 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
20772         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20773         from cl package.
20774         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20776 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
20778         * calc/calc-alg.el (math-trig-rewrite)
20779         (math-hyperbolic-trig-rewrite): New functions.
20780         (calc-simplify): Simplify trig functions when asked.
20782 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20784         * diff-mode.el (diff-find-source-location): Avoid goto-line.
20786 2009-08-24  Kenichi Handa  <handa@m17n.org>
20788         * language/ind-util.el (mapthread): Delete it.
20789         (combinatorial): New function.
20790         (indian--puthash-cv): Use combinatorial instead of mapthread.
20792 2009-08-22  Kevin Ryde  <user42@zip.com.au>
20794         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20795         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20796         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20797         Clarify docstring that the value is strings not symbols.
20798         (checkdoc-list-of-strings-p): New function.
20800 2009-08-22  Glenn Morris  <rgm@gnu.org>
20802         * files.el (auto-mode-alist):
20803         * hippie-exp.el (he-concat-directory-file-name):
20804         * lpr.el (lpr-windows-system, printer-name):
20805         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20806         * ps-print.el (ps-windows-system):
20807         * startup.el (command-line):
20808         * emulation/viper-ex.el (viper-glob-function):
20809         * international/mule-cmds.el (set-language-environment-coding-systems):
20810         * net/ange-ftp.el (ange-ftp-write-region):
20811         * obsolete/fast-lock.el (fast-lock-cache-name):
20812         Remove code for defunct system-types emx, macos, mswindows, next-mach,
20813         unisoft-unix, vax-vms, win32, w32.
20815         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20816         given name if the pattern is not more specific.
20818         * calendar/lunar.el (lunar-phase-names): New option.
20819         (lunar-phase): Doc fix.
20820         (lunar-cycles-per-year): New constant.
20821         (lunar-index): New function.
20822         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20823         (lunar-phase-name): Use lunar-phase-names.
20824         (calendar-lunar-phases): Use format.
20825         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20827         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20828         Copy imenu-example--name-and-position function here for own use.
20829         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20831         * bs.el (bs--redisplay):
20832         * cus-edit.el (custom-redraw):
20833         * ibuffer.el (ibuffer-bury-buffer):
20834         * server.el (server-goto-line-column):
20835         * startup.el (command-line-1):
20836         * strokes.el (strokes-xpm-for-stroke):
20837         * term.el (term-display-buffer-line):
20838         * view.el (View-goto-line):
20839         * calc/calc.el (calc-do, calc-trail-buffer):
20840         * play/gamegrid.el (gamegrid-add-score-insecure):
20841         * progmodes/ada-mode.el (ada-compile-goto-error):
20842         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20843         (ebrowse-select-1st-to-9nth):
20844         * progmodes/cperl-mode.el (cperl-time-fontification):
20845         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20846         * progmodes/gud.el (gud-display-line):
20847         (idlwave-shell-display-line):
20848         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20849         * progmodes/make-mode.el (makefile-browser-toggle):
20850         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20851         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20852         * textmodes/picture.el (picture-draw-rectangle):
20853         * textmodes/reftex-index.el (reftex-index-goto-letter):
20854         (reftex-select-jump-to-previous):
20855         * textmodes/reftex-sel.el (reftex-find-start-point)
20856         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20857         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20858         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20859         * textmodes/tex-mode.el (tex-compilation-parse-errors):
20860         * textmodes/two-column.el (2C-associated-buffer):
20861         Use forward-line rather than goto-line.
20863         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20864         goto-line.
20866         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20867         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20868         (quick-check-list-to-regexp): Declare.
20870         * progmodes/make-mode.el (makefile-browser-insert-selection):
20871         Use goto-char rather than goto-line.
20873         * progmodes/prolog.el (compilation-error-regexp-alist)
20874         (compilation-forget-errors): Declare.
20876 2009-08-22  Juri Linkov  <juri@jurta.org>
20878         * progmodes/grep.el (lgrep, rgrep): At the beginning
20879         set `dir' to `default-directory' unless `dir' is a non-nil
20880         readable directory.  (Bug#4052)
20881         (lgrep, rgrep): Change a weird way to report an error
20882         from using `read-string' to using `error'.
20883         Instead of using interactive arguments in the function body,
20884         add new argument `confirm'.
20886 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20888         * textmodes/remember.el (remember-buffer):
20889         * progmodes/cperl-mode.el (cperl-vc-header-alist):
20890         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20891         (icalendar-extract-ical-from-buffer):
20892         * net/newst-treeview.el (newsticker-groups-filename):
20893         * net/newst-backend.el (newsticker-cache-filename):
20894         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20895         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20896         (speedbar-add-ignored-path-regexp, speedbar-line-path)
20897         (speedbar-buffers-line-path, speedbar-path-line)
20898         (speedbar-buffers-line-path):
20899         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20900         (epg-sign-keys):
20901         * epa.el (epa-display-verify-result):
20902         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20904 2009-08-21  Glenn Morris  <rgm@gnu.org>
20906         * progmodes/js.el (inferior-moz-process): Fix declaration.
20908         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20910         * obsolete/rnewspost.el (news-mail-reply):
20911         Use goto-char rather than goto-line.
20913         * term/ns-win.el (ns-open-file-select-line):
20914         Use line-beginning-position rather than goto-line.
20916         * apropos.el (apropos-command):
20917         * ehelp.el (electric-helpify):
20918         * printing.el (pr-show-setup):
20919         * strokes.el (strokes-help):
20920         * tutorial.el (tutorial--describe-nonstandard-key)
20921         (tutorial--detailed-help):
20922         * woman.el (woman-mini-help, woman-display-extended-fonts):
20923         * calc/calc-help.el (calc-describe-key):
20924         * emulation/edt.el (edt-electric-helpify):
20925         * international/mule-diag.el (mule-diag):
20926         * play/yow.el (apropos-zippy):
20927         * progmodes/python.el (python-describe-symbol):
20928         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20929         * textmodes/table.el (*table--cell-describe-mode)
20930         (*table--cell-describe-bindings):
20931         Use help-print-return-message rather than the now obsolete alias.
20933         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20934         (calendar-cursor-to-visible-date):
20935         * play/5x5.el (5x5-position-cursor):
20936         * play/decipher.el (decipher):
20937         * play/gomoku.el (gomoku-goto-xy):
20938         * play/landmark.el (lm-goto-xy):
20939         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20940         (mpuz-paint-digit):
20941         Use forward-line, not goto-line.
20943         * mail/rmail.el (rmail-obsolete): Delete custom group.
20944         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20945         (rmail-remote-password, rmail-remote-password-required):
20946         Remove unneeded :set-after and :set properties.
20948 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
20950         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20952 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
20954         * loadup.el: Remove leftover macos code.
20956         * vc-git.el (vc-git-annotate-command): Run asynchronously.
20957         Explicitly pass the date format to git blame so that user local
20958         so that the output format can be parsed.
20960 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
20962         * net/dbus.el (top): Don't check for (getenv
20963         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
20965 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
20967         * log-edit.el (log-edit-strip-single-file-name): New var.
20968         (log-edit-insert-changelog): Use it.  Bug#3571.
20970 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20972         * subr.el (read-passwd): Use read-key so keypad keys work as well.
20973         Bug#3287.
20975         * help.el (help-print-return-message): Rename from
20976         print-help-return-message.
20978         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20979         cvs-mode-map parent hack.
20980         (log-view-mode): Derive from special-mode.
20982         * linum.el (linum-mode): window-size-change-functions is redundant.
20983         Adapt to new window-configuration-change-hook behavior.
20984         (linum-after-size, linum-after-config): Remove.
20986         * imenu.el (imenu-example--name-and-position)
20987         (imenu-example--lisp-extract-index-name)
20988         (imenu-example--create-lisp-index, imenu-example--create-c-index):
20989         Mark as obsolete.
20991         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20992         (inferior-prolog-mode): Use it.
20993         (inferior-prolog-load-file): Reset list of errors.
20995 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20997         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20999         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21001 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
21003         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21004         is running already.
21006 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21008         * subr.el (listify-key-sequence-1): Use normal syntax since those
21009         integers are nowadays always represented by the same (positive) number
21010         on all platforms.
21011         (read-key-empty-map): New const.
21012         (read-key-delay): New var.
21013         (read-key): New function.
21014         (force-mode-line-update): Use with-current-buffer.
21015         (locate-user-emacs-file): Don't forget to abbreviate the file name.
21016         (start-process-shell-command, start-file-process-shell-command):
21017         Discourage the use of command-args.
21019 2009-08-19  Glenn Morris  <rgm@gnu.org>
21021         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21023 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21025         * simple.el (choose-completion-string): Don't rely on
21026         minibuffer-completing-file-name and ad-hoc checks to decide whether
21027         to continue completion or not.
21029         * minibuffer.el (minibuffer-hide-completions): New function.
21030         (completion--do-completion): Use it.
21031         (completions-annotations): New face.
21032         (completion--insert-strings): Use it.
21033         (completion-pcm--delim-wild-regex): Add docstring.
21034         (completion-pcm--string->pattern): Add support for 0-width delimiters
21035         in completion-pcm--delim-wild-regex.
21037 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
21039         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21040         Remove unused var `buffer-modified-p'.
21042         * minibuffer.el (completion--do-completion): Move point for the #b001
21043         case as well (bug#4176).
21044         (minibuffer-complete, minibuffer-complete-word): Don't move point.
21046 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
21048         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
21049         and :session buses.
21051 2009-08-18  Kenichi Handa  <handa@m17n.org>
21053         * international/ucs-normalize.el (ucs-normalize-version):
21054         Change to 1.1.
21055         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21056         (utf-8-hfs): Make it perform normalization on encoding too.
21058         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
21059         (sentence-end-without-space): Delete duplicated chars.
21060         (sentence-end-base): Likewise.
21062         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
21063         (html-mode): Delete duplicated chars from sentence-end-base.
21065         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
21066         (texinfo-mode): Delete duplicated chars from sentence-end-base.
21068 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
21070         * files.el (hack-one-local-variable): If the mode function is for
21071         a minor mode, pass it an argument (Bug#4148).
21073 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
21075         * net/tramp.el (tramp-register-completion-file-name-handler):
21076         Check also for (member 'partial-completion completion-styles).
21078 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21080         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21081         abbrev (Bug#3943).
21083 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
21085         * progmodes/cperl-mode.el: Merge upstream 6.2.
21086         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21087         (cperl-forward-re): Check cperl-brace-recursing.
21088         (cperl-highlight-charclass): New function.
21089         (cperl-find-pods-heres): Use it.
21090         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21091         (cperl-beautify-regexp-piece): Fix column calculation.
21092         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21093         (cperl-beautify-level): Don't process entire regexp.
21094         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21095         calling man.
21096         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21097         (cperl-init-faces): Build a list in the normal way.
21099 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21101         * calendar/parse-time.el (parse-time-string-chars): Save match
21102         data.
21104 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21106         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21107         (sql-product): Use it.
21108         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21109         (sql-set-product): Add completion.
21110         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21111         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21112         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21113         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21114         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21115         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21116         (sql-highlight-db2-keywords): Remove.
21117         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21118         (sql-highlight-product): Use derived-mode-p.
21119         (sql-set-sqli-buffer): Use with-current-buffer.
21120         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21121         Simplify.
21123         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21125         * term.el: Fix commenting convention, turn comments into docstrings.
21127 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
21129         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21131 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
21133         * calendar/parse-time.el (parse-time-string-chars): Compute using
21134         character classes, to handle non-ascii characters (Bug#3190).
21136 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21138         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21139         another heredoc if the user adds another < (Bug#3226).
21141         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21142         Don't initialize based on window-system (Bug#4124).
21144         * facemenu.el (facemenu-read-color): Use a completion function
21145         that accepts any defined color, such as RGB triplets (Bug#3677).
21147         * files.el (get-free-disk-space): Change fallback default
21148         directory to /.  Expand DIR argument before switching to fallback.
21149         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21151 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
21153         * files.el (load-library): Doc fix.
21155 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
21157         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21158         (viper-if-string): Redefine C-s in the minibuffer to insert the last
21159         incremental search string.
21161         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21162         XEmacs.
21164         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21165         (ediff-merge-region-is-non-clash)
21166         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21167         Also check if the job is really a merge job.
21169         * ediff.el (ediff-current-file): New function.
21171 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
21173         * progmodes/js.el: Edit docstrings throughout to follow Emacs
21174         conventions.
21175         (js-insert-and-indent): Delete function.
21176         (js-mode-map): Don't bind keys to js-insert-and-indent.
21177         (js-beginning-of-defun): Rename from js--beginning-of-defun.
21178         (js-end-of-defun): Rename from js--end-of-defun.
21179         (js-auto-indent-flag): Delete variable.
21181 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
21183         * progmodes/js.el: Remove proclaim statement.
21184         Defvar which-func-imenu-joiner-function to silence compiler.
21186         * files.el (auto-mode-alist): Use js-mode for .js files.
21188         * progmodes/js2-mode.el: Remove file.
21190         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21192         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21194         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21196 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
21197             Karl Landstrom  <karl.landstrom@brgeight.se>
21199         * progmodes/js.el: New file.
21201 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
21203         * timezone.el (timezone-parse-date): Add ability to understand ISO
21204         basic format (minimal separators) dates in addition to the
21205         already-supported extended format dates.
21207 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
21209         * international/ucs-normalize.el: Add a `coding' file variable.
21211         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21213 2009-08-14  Sam Steingold  <sds@gnu.org>
21215         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21217 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
21219         * faces.el (help-argument-name): Define it here instead of
21220         help-fns.el, because in daemon mode help-fns.el may be loaded when
21221         faces are still uninitialized (Bug#1078).
21223         * help-fns.el (help-argument-name): Move defface to faces.el.
21225 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
21227         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21228         create buffer with a pty but no process so that GDB can make the
21229         inferior the controlling process.
21231 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
21233         * international/ucs-normalize.el: New file.
21235 2009-08-13  Richard Stallman  <rms@gnu.org>
21237         * mail/rmail.el (rmail-get-attr-names):
21238         Accept an attribute header that is too short.
21240         * mail/rmail.el (rmail-forget-messages):
21241         Ignore nil elt in rmail-message-vector.  Use dotimes.
21243         * progmodes/compile.el (compilation-goto-locus):
21244         Use next-error-move-function.
21246         * simple.el (next-error-move-function): New variable.
21248 2009-08-12  Juri Linkov  <juri@jurta.org>
21250         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21251         always non-nil.  (Bug#4052)
21253         * replace.el (read-regexp): Return empty string when
21254         `default-value' is nil.
21255         (keep-lines-read-args): Don't use empty string as the
21256         default value for `read-regexp'.  (Bug#2495)
21258 2009-08-12  Juri Linkov  <juri@jurta.org>
21260         * international/mule-cmds.el (ucs-insert): Change arguments
21261         from `arg' to `character', `count', `inherit' to be the same
21262         as in `insert-char'.  Doc fix.  (Bug#4039)
21264         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21266 2009-08-12  Juri Linkov  <juri@jurta.org>
21268         * files-x.el: New file.
21270         * files.el: Move code that deals with adding/deleting
21271         file/directory-local variables to files-x.el.
21273         * Makefile.in (ELCFILES): Add files-x.elc.
21275 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
21277         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21278         to use `goto-line'.
21279         (gdb-place-breakpoints, gdb-get-location): Rewritten without
21280         `goto-line'.
21281         (gdb-invalidate-disassembly): Do not refresh upon receiving
21282         'update signal.  Instead, update all disassembly buffers only after
21283         threads list.
21284         (gdb): Send -target-detach when buffer is killed (Bug#3794).
21285         (gdb-starting): Move -data-list-register-names...
21286         (gdb-stopped): ...here so it's sent when first thread stops.
21287         (gdb-registers-handler-custom): Do nothing if register names are
21288         unknown yet.
21290         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21291         from `gdb-mi.el' to avoid extra tangling.
21293         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21294         change which breaks `gud-def' definitions used in `gdb'.
21295         (gdb-update-gud-running): No extra fuss for updating frame number.
21297 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
21299         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21300         (describe-language-environment-map, setup-language-environment-map)
21301         (set-coding-system-map): Move initialization into declaration.
21302         (set-language-info-alist): Last arg to define-key-after can be skipped.
21304         * international/quail.el (quail-completion-1): Simplify.
21305         (quail-define-rules): Use slightly more compact code.
21306         (quail-insert-decode-map): Propertize keys, compact columns.
21308         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21309         Add goto-line.
21311 2009-08-10  Miles Bader  <miles@gnu.org>
21313         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21314         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21315         (js2-instance-member, js2-private-member, js2-private-function-call)
21316         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21317         (js2-magic-paren, js2-external-variable):
21318         Remove "-face" suffix from face names.
21319         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21320         (js2-highlight-undeclared-vars, js2-peek-token)
21321         (js2-parse-function-params, js2-mode-show-errors)
21322         (js2-mode-show-warnings, js2-make-magic-delimiter)
21323         (js2-mode-highlight-magic-parens): Update to use new face names.
21325 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
21327         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21328         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
21330 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
21332         * subr.el: Provide hashtable-print-readable.
21334         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21335         hs-c-like-adjust-block-beginning.
21336         (hs-hide-block-at-point): Stop hiding at the beginning of
21337         hs-block-end-regexp (Bug#700).
21339 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
21341         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21342         a macro.
21343         (gdb-registers-handler-custom): Do not fail when register names
21344         are unavailable.
21346 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21348         * progmodes/gdb-mi.el (gdb-control-all-threads)
21349         (gdb-control-current-thread): Interactive setters for
21350         `gdb-gud-control-all-threads' to use in menu.
21351         (gdb-show-run-p): Show «Go» when process is not active.
21352         (gud-tool-bar-map): Add non-stop/A,T indicator.
21353         Uses gud/thread.xpm and gud/all.xpm.
21355 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
21357         * net/net-utils.el (net-utils-font-lock-keywords): New var.
21358         (nslookup-font-lock-keywords): Make it a variable.
21359         (net-utils-mode): New mode for viewing diagnostic network output.
21360         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21361         (net-utils-run-simple): New function.
21362         (ifconfig, iwconfig, netstat, arp, route): Use it.
21364 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21366         * progmodes/gdb-mi.el (gdb-read-memory-custom)
21367         (gdb-memory-set-address, def-gdb-set-positive-number)
21368         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21369         after changing settings.
21370         (gdb-invalidate-disassembly): Update when first shown.
21371         (gdb-edit-locals-value): Fix.
21372         (gdb-registers-handler-custom): Print registers in right order and
21373         allow changing register values (only for current thread yet).
21374         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21375         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21376         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21377         (gdb-locals-handler-custom, gdb-registers-handler-custom):
21378         Thread info in mode name.
21379         (gdb-registers-mode-map): TAB to switch to locals.
21381 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
21383         * mail/rmail.el (rmail-add-mbox-headers)
21384         (rmail-set-message-counters-counter): Search for
21385         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
21387 2009-08-08  Glenn Morris  <rgm@gnu.org>
21389         * Makefile.in (ELCFILES): Update.
21391 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21393         * mail/sendmail.el (mail-yank-original):
21394         Set buffer-file-coding-system from the one used by the message whose
21395         text is yanked.
21397         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21398         to "windows" when "pgnuplot" is used.
21399         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21400         Don't call accept-process-output if "pgnuplot" is used.
21401         (calc-graph-init): Don't send -display and -geometry to
21402         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
21403         running "pgnuplot -V" with shell-command-to-string.
21405         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21406         the default.
21408 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21410         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21411         org/org-latex.elc.
21413 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
21415         * vc-dispatcher.el (vc-resynch-window): Update comment.
21417         * term.el (term-handle-ansi-escape): Add comments with the
21418         terminfo capabilities implemented.
21420 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
21422         * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21423         (gdb-var-create-handler): Rewritten using JSON parser.
21424         (gdb-propertize-header): Move earlier.
21425         (gdb-set-header): Remove to avoid duplication.
21426         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21427         Refresh disassembly buffers only after threads list have been
21428         update.
21429         (gdb-threads-header, gdb-registers-header): Per-buffer header line
21430         variables.
21432 2009-08-04  Juri Linkov  <juri@jurta.org>
21434         * files.el: Commands to add/delete file/directory-local variables.
21435         (read-file-local-variable, read-file-local-variable-value)
21436         (read-file-local-variable-mode, modify-file-local-variable)
21437         (modify-file-local-variable-prop-line)
21438         (modify-dir-local-variable): New functions.
21439         (add-file-local-variable, delete-file-local-variable)
21440         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21441         (add-dir-local-variable, delete-dir-local-variable)
21442         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21443         (copy-dir-locals-to-file-locals-prop-line): New commands.
21445 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
21447         * abbrev.el (insert-abbrev-table-description): Prettify output.
21448         Suggested by Karl Chen.
21450 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
21452         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21453         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21454         (gdb-overlay-arrow-position, gdb-thread-position)
21455         (gdb-disassembly-position): Declare variables.
21456         (gdb-wait-for-pending): Function now.
21457         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21458         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21459         compilation goes smoothly.
21460         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21461         (gdb-non-stop-setting): New customization setting which replaces
21462         `gdb-non-stop' so changing it doesn't break active GDB session.
21463         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21464         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21465         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21466         (gdb-show-threads-by-default): New customization options.
21467         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21468         routines.
21469         (gdb-get-buffer-create): Send buffers update signal when they are
21470         created.
21471         (gdb-invalidate-locals, gdb-invalidate-registers)
21472         (gdb-invalidate-breakpoints)
21473         (gdb-invalidate-threads, gdb-invalidate-disassembly)
21474         (gdb-invalidate-memory): Accept update signal.
21475         (gdb-current-context-command): Use --frame option.
21476         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21477         Implement `gdb-frame-number' selection logic.
21478         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21479         whether to show GUD toolbar buttons.
21480         (gdb-thread-exited): Unselect current thread when it exits.
21481         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21482         (gdb-mark-line): Routine which sets overlay arrow or inverses
21483         video on fringeless displays.
21484         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21485         to build aligned columns of data in GDB buffers and set text
21486         properties line-by-line.
21487         (gdb-invalidate-breakpoints)
21488         (gdb-breakpoints-list-handler-custom)
21489         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21490         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21491         (gdb-registers-handler-custom): Align data columns.
21492         (gdb-locals-handler-custom): Now prints data like in variable
21493         declarations.
21494         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21495         Remove confusing buttons.
21496         (gdb-invalidate-threads): Append --frame.
21497         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21498         between breakpoints/threads buffers.
21499         (gdb-set-window-buffer): Now can ignore dedicated windows.
21500         (gdb-propertize-header): Use `gdb-set-window-buffer'.
21501         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21502         (def-gdb-thread-buffer-gud-command): Replaces
21503         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21504         for fine thread control.
21505         (gdb-preempt-existing-or-display-buffer): New function used to
21506         display bound buffers without breaking window layout.
21507         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21508         (gdb-select-frame): New version of `gdb-frames-select' which now
21509         sets `gdb-frame-number' so commands may use --frame option instead
21510         of inner debugger state.
21511         (gdb-frame-handler): Do not set `gdb-frame-number'.
21512         (gdb-threads-mode-map): Select threads with mouse.
21514         * progmodes/gud.el (gdb-gud-context-call): Declare function to
21515         avoid compilation warning.
21516         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21517         `gdb-show-stop-p`.
21519         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21520         Argument `key' renamed to `buffer-type'.
21521         (gdb-current-context-buffer-name): Do not add thread info to
21522         buffer name when no thread is selected.
21523         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21524         command (bug 3794).
21525         (gdb-thread-selected): Handle `=thread-selected' notification.
21526         (gdb-wait-for-pending): New macro to deal with congestion problems.
21527         (gdb-breakpoints-list-handler-custom): Don't fail on pending
21528         breakpoints.
21529         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21530         This fixes problem similar to one described in bug 3947.
21531         (gud-menu-map): More menu items.
21532         (gdb-init-1): Reset `gdb-thread-number' to nil.
21534         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21535         non-stop settings.
21537         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21538         (gdb-current-context-command): Do not append --thread if
21539         `gdb-thread-number' is nil.
21540         (gdb-running-threads-count, gdb-stopped-threads-count):
21541         New variables.
21542         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21543         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21544         New customization options.
21545         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21546         GUD commands.
21547         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21548         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21549         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21550         set `gdb-thread-number' and update `gud-running' properly.
21551         (gdb-running): Update threads list when new threads appear.
21552         (gdb-stopped): Support non-stop operation and new thread switching
21553         logic.
21554         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21555         (gdb-json-partial-output): New set of JSON routines.
21556         (def-gdb-auto-update-trigger): New `signal-list' optional
21557         argument.
21558         (gdb-thread-list-handler-custom): Update `gud-running',
21559         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21560         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21561         (gdb-continue-thread, gdb-step-thread): New commands for fine
21562         thread execution control.
21563         (gud-menu-map): New menu items to switch non-stop options.
21564         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21565         (gdb-send): Mimic RET properly (bug 3794).
21567         * progmodes/gdb-mi.el (gdb-rules-name-maker)
21568         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21569         gdb-buffer-rules.
21570         (def-gdb-auto-update-handler): New nopreserve optional argument.
21571         (gdb-stack-list-frames-custom): Print stack from top to bottom.
21573         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21574         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21575         (gdb-parent-mode): New mode to derive other GDB modes from.
21576         (gdb-display-disassembly-for-thread)
21577         (gdb-frame-disassembly-for-thread): New commands for threads
21578         buffer.
21580         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21581         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21582         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21583         (gdb-update): We now store all GDB buffers in a list so that they
21584         can be updated by traversing a list instead of calling invalidate
21585         triggers explicitly.
21586         (def-gdb-trigger-and-handler): New macro to define trigger-handler
21587         pair for GDB buffer.
21588         (gdb-stack-buffer-name): Add thread information.
21589         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21590         handle pending triggers.
21591         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21592         (def-gdb-thread-buffer-simple-command)
21593         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21594         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21595         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21596         New commands which show buffers bound to thread.
21597         (gdb-stack-list-locals-regexp): Remove unused regexp.
21599         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21600         (gdb-locals-buffer-name, gdb-registers-buffer-name)
21601         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21602         to (gud-comint-buffer) in *-buffer-name functions
21603         because (gdb-get-target-string) already does that.
21604         (gdb-locals-handler-custom, gdb-registers-handler-custom)
21605         (gdb-changed-registers-handler): Rewritten without regexps.
21607         * progmodes/gdb-mi.el: Basic thread selection support.
21608         (gdb-thread-number): New variable.
21609         (gdb-current-context-command): New macro which adds --thread
21610         option to command.
21611         (gdb-threads-mode-map): Select thread with SPC.
21612         (gdb-thread-list-handler-custom): Mark current thread with overlay
21613         arrow.  Synchronize GDB thread and Emacs thread.
21614         (gdb-select-thread): New command which selects current thread.
21615         (gdb-invalidate-frames, gdb-invalidate-locals)
21616         (gdb-invalidate-registers): Use --thread option.
21618 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
21620         * net/tramp.el (top): Make check for tramp-gvfs loading more
21621         robust.  (Bug#3977)
21622         (tramp-handle-insert-file-contents): `unwind-protect' must be
21623         inside `with-parsed-tramp-file-name'.
21625         * net/tramp-gvfs.el (top): Remove superfluous message when loading
21626         fails.
21628 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
21630         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21631         directory if CLASSPATH is not set.
21633 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
21635         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21636         New defconst.
21637         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
21639 2009-08-02  Kevin Ryde  <user42@zip.com.au>
21641         * net/newst-backend.el (newsticker--raw-url-list-defaults):
21642         Update freshmeat link.  Delete newsforge.com as it seems gone.
21644 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21646         * select.el (x-set-selection): Doc fix (Bug#4021).
21648         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21650         * help-fns.el (describe-variable): Treat list return values from
21651         dir-locals-find-file properly (Bug#4005).
21653 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
21655         * net/tramp.el (tramp-debug-message): Print also microseconds.
21657 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
21659         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21660         or END is non-nil.
21661         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21662         (tramp-get-debug-buffer): Change `outline-regexp' according to new
21663         format.
21665         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21666         (tramp-get-file-property): Use it.
21668         * autorevert.el (auto-revert-handler):
21669         Allow `auto-revert-tail-mode' for remote files.
21671 2009-08-02  Jason Rumney  <jasonr@gnu.org>
21673         * minibuffer.el (read-file-name): Treat confirm options to
21674         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
21676 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21678         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21679         (font-lock-variable-name-face, font-lock-constant-face):
21680         Darken the colors for light backgrounds.
21682 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
21684         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21685         month names.  (Bug#3987)
21687 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
21689         * simple.el (line-move-finish): Pass whole number to
21690         line-move-to-column.
21691         (line-move-visual): Perform hscroll to the recorded position.
21693 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
21695         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21697 2009-07-29  Alan Mackenzie  <acm@muc.de>
21699         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21701 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
21703         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21704         (gdb-place-breakpoints): Use full path when setting breakpoints.
21706 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
21708         * calc/calc.el (calc-mode-map): Add keybinding for
21709         `calc-transpose-lines'.
21711 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
21713         * calc/calc-misc.el (calc-transpose-lines): New function.
21715 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
21717         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21718         Simplify check for out-of-band methods.
21719         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21720         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
21722 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
21724         * vc-git.el (vc-git-checkin): Fix typo.
21726 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
21728         * progmodes/js2-mode.el: New file.
21730 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
21732         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21733         (gud-menu-map): Adjust tooltip accordingly.
21735 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
21737         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21738         (vc-bzr-log-view-mode): Adjust log-view-file-re.
21740         * add-log.el (change-log-mode-map): Add a menu.
21742 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
21744         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21745         function returns nil.
21746         (dbus-handle-event): Handle special return value :ignore.
21747         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21749 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
21751         * view.el (view-mode-enable): Don't define Helper-return-blurb if
21752         it's not needed.
21754 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
21756         Fix Bug#3888:
21758         * w32-vars.el (x-select-enable-clipboard): Doc fix.
21760         * term/pc-win.el (x-display-name, x-colors)
21761         (x-select-enable-clipboard, x-select-text): Doc fix.
21763         * term/common-win.el (x-display-name, x-colors): Doc fix.
21765         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21766         (xw-defined-colors): Doc fix.
21768         * w32-fns.el (x-select-text, x-setup-function-keys)
21769         (x-get-selection, x-set-selection): Doc fix.
21771         * term/x-win.el (x-select-text, x-setup-function-keys)
21772         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21774         * select.el (x-set-selection): Doc fix.
21776 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
21778         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21779         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
21780         "IsNSSSupportAvailable" method is not available.
21781         Reported by Steve Youngs <steve@sxemacs.org>.
21783 2009-07-24  Kenichi Handa  <handa@m17n.org>
21785         * international/characters.el: Fix setting of category ?C, ?|, ?K,
21786         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
21787         (build-unicode-category-table): Fix range checks.
21789 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
21791         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21792         the buffer we try to sync is current when calling
21793         vc-resynch-buffer.
21795         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21796         not show up to date files.
21798 2009-07-24  Glenn Morris  <rgm@gnu.org>
21800         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21801         Add autoload cookies.  If necessary, initialize.
21802         (elint-log): Handle non-file buffers.
21803         (elint-initialize): Add optional argument to reinitialize.
21804         (elint-find-builtin-variables): Save excursion.
21806 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
21808         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21809         for Lint.
21811 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
21813         * vc.el (vc-print-log-internal): New function, split out from ...
21814         (vc-print-log): ... here.
21815         (vc-dir-move-to-goal-column): Declare.
21817         * vc-git.el (vc-git-add-signoff): New variable.
21818         (vc-git-checkin): Use it.
21819         (vc-git-toggle-signoff): New function.
21820         (vc-git-extra-menu-map): Bind it to menu.
21821         (vc-git--run-command-string): Accept a nil FILE argument.
21822         (vc-git-stash-list): New function.
21823         (vc-git-dir-extra-headers): Use it.
21825 2009-07-23  Glenn Morris  <rgm@gnu.org>
21827         * help-fns.el (describe-variable): Describe ignored and risky local
21828         variables in a similar way to that in which we describe safe ones.
21830         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21831         (byte-compile-output-file-form, byte-compile-output-docform)
21832         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21833         Give some more local variables with common names a "bytecomp-" prefix,
21834         so as not to shadow things during compilation.
21835         * emacs-lisp/cl-macs.el (load-time-value)
21836         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21837         `outbuffer' to `bytecomp-outbuffer'.
21839         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21840         since the next two variables cover them automatically now.
21841         (elint-builtin-variables, elint-autoloaded-variables): New.
21842         (elint-unknown-builtin-args): Remove all members, since they can be
21843         parsed automatically now.
21844         (elint-extra-errors): New.
21845         (elint-env-add-env, elint-env-add-macro): Use cadr.
21846         (elint-current-buffer): Use or.  Change final message.
21847         (elint-get-top-forms): Use line-end-position.
21848         (elint-init-env): Use cadr.  Handle autoload, declare-function,
21849         and defalias.
21850         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
21851         (regexp-assoc): Remove unused function.
21852         (elint-top-form): Set elint-current-pos, to record the start of the
21853         top-level form, for compilation-mode.
21854         (elint-form): Trap errors in macro expansion.  Use dolist.
21855         (elint-unbound-variable): Use elint-builtin-variables and
21856         elint-autoloaded-variables.
21857         (elint-get-args): Use cadr, or.
21858         (elint-check-cond-form): Use dolist, cadr.
21859         (elint-check-condition-case-form): Doc fix.  Use cadr.
21860         Use elint-extra-errors.
21861         (elint-log): New function.
21862         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21863         Distinguish errors and warnings.
21864         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
21865         Use a bytecomp-style format.
21866         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
21867         (elint-get-log-buffer): Use compilation mode.  Disable undo.
21868         Don't truncate lines.
21869         (elint-initialize): Set builtin and autoloaded variable lists.
21870         Only process elint-unknown-builtin-args if non-nil.
21871         (elint-find-builtin-variables, elint-find-autoloaded-variables):
21872         New functions.
21873         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
21875 2009-07-22  Kevin Ryde  <user42@zip.com.au>
21877         * net/newst-backend.el (newsticker--parse-atom-1.0)
21878         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21879         (newsticker--parse-rss-1.0):
21880         * progmodes/idlwave.el (idlwave-mode):
21881         * progmodes/idlw-shell.el (idlwave-shell-mode):
21882         * progmodes/vera-mode.el (vera-mode):
21883         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21884         * progmodes/vhdl-mode.el (vhdl-mode):
21885         * textmodes/table.el (table-generate-source)
21886         (table--warn-incompatibility):
21887         Hyperlink urls in docstrings with URL `...'.
21889 2009-07-22  Glenn Morris  <rgm@gnu.org>
21891         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21892         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21893         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21894         Remove leading * from defcustom docs.
21896         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
21898         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21899         defcustom doc.
21900         (list-load-path-shadows): Optionally, just return shadows as a string.
21902         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21904 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
21906         * mail/rmailedit.el (rmail-edit-mode):
21907         Use auto-save-include-big-deletions.
21909         * mail/rmail.el (rmail-variables):
21910         Use auto-save-include-big-deletions.
21912         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21913         changes.
21915 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
21917         * calc/calc.el (calc-undo-length): New variable.
21918         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21920 2009-07-21  Richard Stallman  <rms@gnu.org>
21922         * files.el (auto-save-mode): Handle buffer-save-size = -2
21923         for toggling mode.
21925 2009-07-21  Glenn Morris  <rgm@gnu.org>
21927         * textmodes/ispell.el (ispell-looking-back): Update declaration.
21929         * calendar/todo-mode.el (calendar-current-date): Update declaration.
21931         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21932         silence compiler.  Instead...
21933         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21934         (ps-print-ensure-fontified): Update for above function name changes.
21936         * printing.el (pr-mh-get-msg-num, pr-mh-show)
21937         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21938         silence compiler.  Instead...
21939         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21940         (mh-show-buffer): Only define for compiler.
21941         (pr-mh-current-message): Update for above function name changes.
21943         * files.el (abort-if-file-too-large): Explicitly pass `filename'
21944         as an argument.
21945         (find-file-noselect, insert-file-1): Update for above change.
21947         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21949         * mail/mailclient.el (mailclient-send-it): Fix message.
21951         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21952         (edebug-eval): Check cl-debug-env is bound.
21953         (print-level, print-circle): Don't redefine built-in variables.
21955         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21956         (custom-print-vectors): Remove old comments from doc.
21958         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21959         (emerge-version): Make the variable an obsolete alias for the
21960         emacs-version variable.  Make the function obsolete.
21961         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21962         Emerge options, rather than merging in into the main Options menu.
21963         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
21964         and auto advance modes.  Disable edit/fast items when not relevant.
21966 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
21968         * term/vt420.el (terminal-init-vt420): Fix typo.
21970 2009-07-20  Sam Steingold  <sds@gnu.org>
21972         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21973         variable (removed from compile.el on 2004-03-11).
21975 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
21977         * files.el (hack-local-variables-filter): Fix last change.
21979 2009-07-19  Juri Linkov  <juri@jurta.org>
21981         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21982         (dir-local-variables-alist): New buffer-local variable.
21983         (hack-local-variables-filter): If variable is not dir-local,
21984         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21985         because file-local overrides dir-local.
21986         (c-postprocess-file-styles) <declare-function>:
21987         Remove obsolete declaration.
21988         (hack-dir-local-variables): Add dir-local variable/value pair to
21989         `dir-local-variables-alist' and remove duplicates.  Doc fix.
21991         * help-fns.el (describe-variable): Add information about
21992         file-local and dir-local variables.
21994 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
21996         * files.el (hack-local-variables-filter): Rewrite.
21998 2009-07-19  Glenn Morris  <rgm@gnu.org>
22000         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22001         Silence compiler by only defining on XEmacs.
22003         * international/mule.el (auto-coding-regexp-alist): Only match
22004         BABYL... at the start of buffer, not of lines.  (Bug#3790)
22006         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22007         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
22008         (cal-menu-context-mouse-menu): Doc fix.
22010         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22012         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
22014 2009-07-18  Juri Linkov  <juri@jurta.org>
22016         * info.el: Virtual Info keyword finder.
22017         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22018         (Info-finder-file): New variable.
22019         (Info-finder-find-file): New function.
22020         (finder-known-keywords, finder-package-info)
22021         (find-library-name, lm-commentary): Use defvar and
22022         declare-function to silence compiler warnings.
22023         (Info-finder-find-node): New function.
22024         (info-finder): New command.
22026         * subr.el (process-kill-buffer-query-function): New function.
22027         (add-hook)<kill-buffer-query-functions>: Add hook
22028         `process-kill-buffer-query-function'.
22030 2009-07-18  Alan Mackenzie  <acm@muc.de>
22032         * progmodes/cc-mode.el (c-before-hack-hook)
22033         (c-postprocess-file-styles): Give invocation of `c-set-style'
22034         DONT-OVERRIDE parameter of t.  Already set style variables will
22035         thus not be overridden by style settings given by `c-file-syle'.
22037         * files.el (hack-local-variables-filter): Remove entries with
22038         duplicate keys from `file-local-variables-alist'.
22040 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
22042         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22043         x-set-selection if display-selections-p returns nil for the
22044         current frame.
22046 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
22048         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22050 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
22052         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22053         Accept nil in addition to a regexp.
22054         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22055         Accept nil in addition to a regexp.
22056         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22057         buffers that have an associated file.  Handle nil values of
22058         desktop-buffers-not-to-save and desktop-files-not-to-save.
22059         (Bug#3833)
22061         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22062         (x-disown-selection-internal): New functions.
22064 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
22066         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22067         warning.
22068         (gdb-breakpoints-header): Move forward to avoid compiler warning.
22069         (gdb-make-header-line-mouse-map): Remove duplicate definition.
22071 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
22073         * simple.el (set-mark): Revert last change.
22075 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
22077         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22078         rendering of pngs is not possible instead of messaging a long
22079         description.
22081 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
22083         * w32-fns.el (x-selection-owner-p): New function.
22085         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22086         (mouse-yank-at-click, mouse-yank-primary):
22087         If select-active-regions is non-nil, deactivate the mark before
22088         insertion.
22090         * simple.el (deactivate-mark, set-mark): Only save selection if we
22091         own it.
22093 2009-07-17  Kenichi Handa  <handa@m17n.org>
22095         * case-table.el (describe-buffer-case-table): Fix for the case
22096         that KEY is a cons.
22098 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
22100         * vc-rcs.el (vc-rcs-find-file-hook):
22101         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22103 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
22105         * net/tramp.el (tramp-wait-for-output): Handle the case when
22106         commands do not return a newline but a null byte before the shell
22107         prompt.  (Bug#3858)
22109 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
22111         * term/ns-win.el (ns-set-alpha): Don't declare.
22112         (ns-set-background-alpha): Remove function.
22114 2009-07-16  Kevin Ryde  <user42@zip.com.au>
22116         * emacs-lisp/copyright.el (copyright-update): Save match-data across
22117         y-or-n-p, for safety.
22119 2009-07-16  Richard Stallman  <rms@gnu.org>
22121         * files.el (auto-save-mode): If buffer-saved-size is -2,
22122         don't clobber it.
22124         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22125         (rmail-retry-ignored-headers): Add more uninteresting fields.
22127 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
22129         * net/rcirc.el (rcirc): Use history variables.
22130         (rcirc-server-name-history, rcirc-nick-name-history)
22131         (rcirc-server-port-history): New variables.
22133 2009-07-15  Kenichi Handa  <handa@m17n.org>
22135         * international/mule-cmds.el (set-language-environment-charset):
22136         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22137         ignore them.
22139         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22140         Delete unibyte-display.
22142 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
22144         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22146 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
22148         * simple.el (deactivate-mark): Optional argument FORCE.
22149         (set-mark): Use deactivate-mark.
22151         * info.el (Info-search): No need to check transient-mark-mode
22152         before calling deactivate-mark.
22154         * select.el (x-set-selection): Doc fix.
22155         (x-valid-simple-selection-p): Allow buffer values.
22156         (xselect--selection-bounds): Handle buffer values.
22157         Suggested by David De La Harpe Golden.
22159         * mouse.el (mouse-set-region, mouse-drag-track):
22160         Call copy-region-as-kill before setting the mark, to let
22161         select-active-regions work.
22163 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
22165         * simple.el (deactivate-mark): If select-active-regions is
22166         non-nil, copy the selection data into a string.
22167         (activate-mark): If select-active-regions is non-nil, set the
22168         selection to the current buffer.
22169         (set-mark): Update selection if select-active-regions is non-nil.
22171         * select.el (x-valid-simple-selection-p): Allow buffer values.
22173 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
22175         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22176         and more featureful message-mode.
22178 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
22180         * select.el (x-set-selection): Doc fix.
22181         (x-valid-simple-selection-p): Disallow selection data consisting
22182         of a list or cons of integers, since that is not used.
22183         (xselect--selection-bounds, xselect--int-to-cons): New functions.
22184         (xselect-convert-to-string, xselect-convert-to-length)
22185         (xselect-convert-to-filename, xselect-convert-to-charpos)
22186         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22188 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
22190         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22191         output in -break-info command (Emacs bug #3794).
22193 2009-07-14  Glenn Morris  <rgm@gnu.org>
22195         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22196         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22197         (edebug-print-length, edebug-print-level, edebug-print-circle)
22198         (edebug-sit-for-seconds, edebug-view-outside)
22199         (edebug-bounce-point, edebug-set-global-break-condition)
22200         (edebug-Go-nonstop-mode, edebug-trace-mode)
22201         (edebug-Trace-fast-mode, edebug-continue-mode)
22202         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22203         (edebug-visit-eval-list): Doc fixes.
22205         * subr.el (def-edebug-spec): Doc fix.
22207 2009-07-14  Kenichi Handa  <handa@m17n.org>
22209         * international/characters.el: Fix setting of category ?C.
22211 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
22213         * term/ns-win.el (x-select-font): defalias x-select-font to
22214         ns-popup-font-panel instead of generate-fontset-menu.
22216 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
22218         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
22220 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
22222         * arc-mode.el (archive-find-type): Allow for a PK00 string before
22223         the PK\003\004 header (Bug#3770).
22225 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
22227         * pcomplete.el (pcomplete-comint-setup): Check for
22228         shell-dynamic-complete-filename too.
22230 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
22232         * simple.el (temporary-goal-column): Change the value for
22233         line-move-visual to a cons cell.
22234         (line-move-visual): Record or set the window hscroll, if
22235         necessary (Bug#3494).
22236         (line-move-1): Handle cons value of temporary-goal-column.
22238 2009-07-11  Kenichi Handa  <handa@m17n.org>
22240         * international/mule-diag.el (describe-character-set): Don't show
22241         width.
22243 2009-07-10  Sam Steingold  <sds@gnu.org>
22245         * progmodes/compile.el (compilation-mode-font-lock-keywords):
22246         Omake sometimes indents the errors it prints, so allow all
22247         regexps to start with spaces.
22249 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
22251         * cus-edit.el (customize-changed-options-previous-release):
22252         Bump value to 22.1.  (Bug#3804)
22254 2009-07-08  Sam Steingold  <sds@gnu.org>
22256         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22257         to be a cons cell (test . ignored-directory) to selectively ignore
22258         some directories depending on the location of the search.
22260 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
22262         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22263         remote user is root, on the local host.
22264         (tramp-local-host-p): Either the local user or the remote user
22265         must be root.  (Bug#3771)
22267 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22269         * progmodes/gdb-mi.el (gdb): Remove description of
22270         gdb-use-separate-io-buffer.
22271         (menu): Don't allow toggling of or enable
22272         gdb-use-separate-io-buffer from menubar.
22274 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
22276         * mail/unrmail.el (unrmail): Make sure the message ends with two
22277         newlines (Bug#3769).
22279 2009-07-08  Glenn Morris  <rgm@gnu.org>
22281         * calendar/calendar.el (calendar-current-date): Rework previous change.
22283 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
22285         * calendar/calendar.el (calendar-current-date):
22286         Add an optional argument giving an offset from today.
22288 2009-07-08  Glenn Morris  <rgm@gnu.org>
22290         * tutorial.el (tutorial--describe-nonstandard-key):
22291         Adjust the message for when a key has been unbound.
22292         (help-with-tutorial): Hide the arch-tag.
22294 2009-07-08  Kenichi Handa  <handa@m17n.org>
22296         * international/fontset.el (setup-default-fontset): For each
22297         script, append (not set) font-specs.
22299         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22300         docstring.
22302 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22304         * progmodes/gdb-mi.el (gdb-init-1): Move sending
22305         -data-list-register-names to ...
22306         (gdb-starting): ... here because GDB 7.0 requires execution to
22307         have started when using this MI command.
22308         (gdb-set-header): New function to distinguish select and
22309         unselected tabs in gdb buffers.
22310         (gdb-propertize-header): New macro that uses gdb-set-header.
22311         (gdb-breakpoints-header, gdb-locals-header): Use it.
22312         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22314 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
22316         * Makefile.in (ELCFILES): Remove fadr.elc.
22318 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
22320         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22321         may contain frame information, so `string-match' should be used.
22322         (gdb-update): Disassembly is invalidated through
22323         `gdb-get-selected-frame'.
22324         (gdb-pad-string): New function to pad string with spaces.
22325         (gdb-invalidate-disassembly): Invalidate only if the buffer
22326         exists.
22327         (gdb-disassembly-handler-custom): Column alignment.
22328         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22329         placing new ones.
22330         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22331         end of line, too.
22332         (gdb-frame-handler): Match convention to for disassembly buffer
22333         mode name.
22334         (gdb-stack-list-frames-handler): Rewritten without regexps.
22335         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22336         not highlight breakpoints without line information.
22337         (gdb-input): Add trailing newline to command.
22339         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22340         buffer properly.
22341         (gdb-breakpoints-list-handler-custom): Replacement for
22342         `gdb-break-list-handler'.  Using real parser instead of regexps
22343         now.
22344         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22345         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22346         to place breakpoints.
22347         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22348         functions.
22349         (gdb-disassembly-handler-custom): Show overlay arrow.
22350         (gdb-disassembly-place-breakpoints): Show breakpoints in
22351         disassembly buffer.
22352         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22353         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22354         instead of parsing breakpoints buffer.  Fixed old menu references
22355         in `gud-menu-map'.
22357         * fadr.el: Remove.
22359         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22360         (gdb-memory-address): New variable which holds top address of
22361         memory page shown in memory buffer.
22362         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22363         New customization variables.
22364         New functions:
22365         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22366         display the memory buffer.
22367         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22368         buffer display parameters.
22369         (def-gdb-memory-format, gdb-memory-format-binary)
22370         (gdb-memory-format-octal, gdb-memory-format-unsigned)
22371         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22372         Functions for setting memory buffer format.
22373         (gdb-memory-unit-word, gdb-memory-unit-halfword)
22374         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22375         unit size used in memory buffer.
22376         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22377         Switch to next/previous page of memory buffer.
22378         Now using (bindat-get-field) instead of fadr functions.
22380 2009-07-07  Sam Steingold  <sds@gnu.org>
22382         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22383         non-top-level files.
22385 2009-07-07  Kenichi Handa  <handa@m17n.org>
22387         * international/mule-cmds.el (reset-language-environment):
22388         Put the highset priority to the charset iso-8859-1.
22390 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22392         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22393         to the end of the line when locating the block (Bug#700).
22395 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
22397         * net/tramp.el (tramp-handle-write-region): Flush file properties
22398         in case of short track.
22400 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
22402         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22403         Coded custom representation of verilog error regular expressions
22404         to work with Emacs-22's new format.
22405         (verilog-error-regexp-xemacs-alist): Coded custom representation
22406         of verilog error regular expressions to work with XEmacs format.
22407         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22408         error recognition into XEmacs.
22409         (verilog-error-regexp-add-emacs): Hook routine to install verilog
22410         error recognition into Emacs-22.
22412 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22414         * woman.el: Remove stand-alone closing parentheses.
22415         (woman-file-name, woman2-format-paragraphs)
22416         (woman-leave-blank-lines): Code cleanup.
22417         (woman-use-own-frame): Change default to nil.
22418         (woman-italic, woman-bold, woman-unknown, woman-addition):
22419         Change defaults to inherit from default faces.
22420         (woman2-process-escapes): Consume the newline after a stand-alone
22421         filler character (Bug#3651).
22423 2009-07-06  Glenn Morris  <rgm@gnu.org>
22425         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22426         (top-level): Move provide to the end.
22427         (ffap): Remove defunct URL from custom group.
22429         * subr.el (eval-after-load): Doc fix.
22431 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
22433         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22434         `calc-embedded-word' is called twice.
22436 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22438         * files.el (find-alternate-file-other-window, find-alternate-file):
22439         Obey confirm-nonexistent-file-or-buffer.
22441 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
22443         * dired-aux.el (dired-show-file-type): Handle remote files.
22445 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
22447         * desktop.el (desktop-globals-to-save):
22448         Add file-name-history (Bug#2750).
22450 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
22452         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22454 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
22456         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22457         property on entire argument since this is what eshell-lisp-command
22458         expects.
22460 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
22462         * net/tramp-gvfs.el (tramp-gvfs-methods)
22463         (tramp-gvfs-zeroconf-domain)
22464         (tramp-bluez-discover-devices-timeout): Add version flag.
22465         (tramp-gvfs-handler-mounted-unmounted)
22466         (tramp-gvfs-connection-mounted-p): Polish handling of
22467         incompatibilities between GVFS 0.2 and 1.0.
22469 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
22471         * cus-start.el (all): Add make-pointer-invisible.
22473 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
22475         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22476         formatted correctly.
22478 2009-07-02  Juri Linkov  <juri@jurta.org>
22480         * info.el: Virtual Info files and nodes.
22481         (Info-virtual-files, Info-virtual-nodes): New variables.
22482         (Info-current-node-virtual): New variable.
22483         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22484         New functions.
22485         (Info-file-supports-index-cookies): Use Info-virtual-file-p
22486         to check for a virtual file instead of checking a fixed list
22487         of node names.
22488         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22489         instead of ad-hoc processing of "dir" and (apropos history toc).
22490         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22491         instead of ad-hoc processing of "dir" and (apropos history toc).
22492         Reread a file when moving from a virtual node.
22493         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22494         (Info-directory-toc-nodes, Info-directory-find-file)
22495         (Info-directory-find-node): New functions.
22496         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22497         (Info-history): Move part of code to
22498         `Info-history-find-node'.
22499         (Info-history-toc-nodes, Info-history-find-file)
22500         (Info-history-find-node): New functions.
22501         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22502         (Info-toc): Move part of code to `Info-toc-find-node'.
22503         (Info-toc-find-node): New function.
22504         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
22505         the current Info file name to references because now the node
22506         "*TOC*" belongs to the same Info manual.
22507         (Info-toc-build): Rename from `Info-build-toc'.
22508         (Info-toc-nodes): Rename input argument `file' to `filename'.
22509         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22510         instead of ad-hoc processing of ("dir" apropos history toc).
22511         (Info-index-nodes): Use Info-virtual-file-p
22512         to check for a virtual file instead of checking a fixed list
22513         of node names.
22514         (Info-index-node): Add check for `Info-current-node-virtual'.
22515         Raise `save-match-data' higher up the tree to contain
22516         `search-forward' too (bug fix).
22517         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22518         (Info-virtual-index-nodes): New variable.
22519         (Info-virtual-index-find-node, Info-virtual-index): New functions.
22520         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22521         (Info-apropos-file, Info-apropos-nodes): New variables.
22522         (Info-apropos-toc-nodes, Info-apropos-find-file)
22523         (Info-apropos-find-node, Info-apropos-matches): New functions.
22524         (info-apropos): Move part of code to `Info-apropos-find-node' and
22525         `Info-apropos-matches'.
22526         (Info-mode-map): Bind "I" to `Info-virtual-index'.
22527         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22528         for a virtual file instead of checking a fixed list of node names.
22530         * simple.el (async-shell-command): New command.
22532         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22534         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22535         instead of `mount-info'.
22537 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
22539         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22540         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22542 2009-07-02  Kenichi Handa  <handa@m17n.org>
22544         * international/mule.el (set-keyboard-coding-system): Force *-unix
22545         coding-system to avoid eol conversion.
22547 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
22549         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22550         Add handler for `process-file', `shell-command' and
22551         `start-file-process'.
22552         (tramp-gvfs-handle-shell-command)
22553         (tramp-gvfs-handle-start-file-process)
22554         (tramp-gvfs-handle-process-file): New defuns.
22555         (tramp-synce-list-devices): Simplify check for existence of property.
22557 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
22559         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22561 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
22563         * language/korean.el (set-language-info-alist): Add korean-cp949,
22564         cp949 to spec.
22566 2009-07-01  Kenichi Handa  <handa@m17n.org>
22568         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22570         * international/encoded-kb.el: Deleted.
22572         * international/mule.el (set-keyboard-coding-system): Perform the
22573         necessary setup here instead of calling encoded-kbd-setup-display.
22575 2009-07-01  Glenn Morris  <rgm@gnu.org>
22577         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22579 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
22581         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
22583 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
22585         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22586         Handle also the 'rename case, when setting file modes.  (Bug#3712)
22587         (tramp-default-file-modes): Remove execute permissions.
22589         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22590         (top): Add a default for "synce" in `tramp-default-user-alist'.
22591         Add completion function for "synce" method.
22592         (tramp-hal-service, tramp-hal-path-manager)
22593         (tramp-hal-interface-manager, tramp-hal-interface-device):
22594         New defconst.
22595         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22596         (tramp-synce-list-devices, tramp-synce-parse-device-names):
22597         New defuns.
22599         * net/trampver.el: Update release number.
22601 2009-06-30  Kenichi Handa  <handa@m17n.org>
22603         * international/fontset.el (setup-default-fontset): Add CJK fonts
22604         for symbols and the other miscellaneous characters.
22606         * language/korea-util.el (setup-korean-environment-internal):
22607         Make char-width-table suitable for Korean environments.
22608         (exit-korean-environment): Cancel above.
22610         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22611         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22612         setup-function to make char-width-table suitable for respective
22613         environments, and an exit-function to cancel that.
22615         * language/japan-util.el (setup-japanese-environment-internal):
22616         Call use-cjk-char-width-table with arg `ja_JP'.
22618         * international/characters.el (cjk-char-width-table): Delete it.
22619         (cjk-char-width-table-list): New variable.
22620         (use-cjk-char-width-table): New arg local-name.
22621         (use-default-char-width-table): Fix for the case that Emacs is
22622         already using the default char-width-table.
22624 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
22626         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22627         modes mandatory.  (Bug#3712)
22629 2009-06-29  Alan Mackenzie  <acm@muc.de>
22631         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22632         correction between the visible width of TABs and their number of bytes.
22634 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
22636         * server.el (server-buffer-done): Prevent kill-buffer from
22637         prompting by clearing the buffer modification flag (Bug#3696).
22639 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
22641         * progmodes/verilog-mode.el (verilog-beg-of-statement)
22642         (verilog-endcomment-reason-re): Support unique case and priority case.
22643         (verilog-basic-complete-re): Support localparam lineup.
22644         (verilog-beg-of-statement-1): Fix for robustness, unique case.
22645         (verilog-set-auto-endcomments): Fix for unique case, always_comb
22646         commenting.
22647         (verilog-leap-to-case-head): Now support *nested* unique &
22648         priority case statements.
22649         (verilog-auto-lineup): Make just declarations the default (as it
22650         had been).
22651         (verilog-leap-to-case-head): Support priority/unique case statements.
22652         (verilog-auto-lineup): Rework to give users radio buttons to
22653         select the various styles of automatic lineup.
22654         (verilog-error-regexp-alist): Rework to support the XEmacs style
22655         of error regular expressions from compilers, lint tools &
22656         simulators.  Note that GNU Emacs has made it impossible for a mode
22657         to load such things.
22658         (electric-verilog-terminate-line, verilog-indent-declaration)
22659         (verilog-auto-wiure): Rework for radio button selection of
22660         auto-lineup selection of specification of auto lineup.
22661         (verilog-beg-of-statement-1): Redesign to support proper operation
22662         in additional code, based on testing with auto-lineup.
22663         (verilog-calculate-indent, assignments & declarations)
22664         (verilog-backward-token): Enhance to support auto-lineup of
22665         assignments & declarations.
22666         (verilog-in-directive-p, verilog-at-struct-p): New function for
22667         easy test of whether we are.
22668         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22669         to support safe execution at almost anyline.
22670         (verilog-calc-1): Properly support indenting deep inside generate
22671         blocks.
22672         (verilog-init-font): Remove definition & use of verilog-init-font,
22673         as it is redundant with font-lock-defaults.
22674         (verilog-mode): Alter the definition of verilog-font-lock-defaults
22675         to avoid circular calls if syntax-ppss is a function (as is the
22676         case now in 22.x GNU Emacs) as that function would sometimes call
22677         itself, leading to (nearly) infinite recursion.
22678         (verilog-ovm-begin-re, verilog-ovm-end-re)
22679         (verilog-ovm-statement-re, verilog-leap-to-head)
22680         (verilog-backward-token): Add support for OVM macros.  Some are
22681         complete statements, and others open and close scopes like begin
22682         and end.
22683         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22684         (verilog-defun-level-generate-only-re): Really fix the defun-list
22685         compilation issue.
22686         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22687         coverpoint, constraint and cross statements.
22688         (verilog-defun-level-list, verilog-generate-defun-level-list)
22689         (verilog-all-defun-level-list): Redo these specifications - it is
22690         too hard to support eval-when compile aggregation of lists also
22691         built at when-compile time.
22692         (verilog-defun-level-list): Place defconsts of variables used in
22693         building regular expressions which are built in eval-when-compile
22694         bodies in the same eval-when-compile body to facilitate compile
22695         without load.
22696         (verilog-beg-block-re-ordered): Support indenting
22697         virtual/protected tasks and functions.
22698         (verilog-defun-level-list, verilog-in-generate-region-p)
22699         (verilog-backward-ws&directives, verilog-calc-1): Speed up
22700         indentation of some module items (generate items).
22701         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22702         across virtual/protected tasks and functions.
22704 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
22706         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22707         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
22708         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22709         in concatenations.  Reported by Yishay Belkind.
22710         (verilog-auto-ascii-enum): Support one-hot state machines in
22711         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
22712         (verilog-auto-inst, verilog-auto-inst-port): Include interface
22713         modport in AUTOINST and add vl-modport for users.
22714         Reported by David Rogoff.
22715         (verilog-auto-inout-module, verilog-auto-inst)
22716         (verilog-decls-get-interfaces, verilog-insert-definition)
22717         (verilog-insert-one-definition, verilog-read-decls)
22718         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22719         (verilog-sig-modport, verilog-signals-combine-bus)
22720         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22721         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22722         Suggested by David Rogoff.
22723         (verilog-repair-open-comma): Fix non-insertion of comma when
22724         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
22725         (verilog-make-width-expression): Simplify [A-1:0] expression
22726         widths to just {A{1'b0}}.
22727         (verilog-mode): Cleanup checkdoc warnings.
22728         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22729         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22730         inputs/outputs or data type.  Suggested by Vasu Kandadi.
22731         (next-error-last-buffer): Fix byte-compiler warning.
22732         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22733         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22734         or shell command text during AUTO expansion.  Suggested by Tad Truex.
22735         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22736         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22737         Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22738         in AUTOINOUT.  Reported by Matthew Lovell.
22739         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22740         causing use of <= assignments.  Reported by Alex Reed.
22741         (verilog-read-decls): Fix triand, trior, wand, wor to be
22742         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
22743         (verilog-extended-complete-re): Support import "DPI-C" functions.
22744         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22745         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
22746         (verilog-insert-date, verilog-insert-year)
22747         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22748         Windows systems.  Reported by Michael Potts.
22749         (verilog-read-module-name): Fix AUTOINST when the child module
22750         declaration's name is a tick define.  Reported by Elliot Mednick.
22751         (verilog-read-decls): Fix V2K parameter bit subscripts getting
22752         passed to next parameter's definition.  Reported by Bruce T.
22753         (verilog-read-decls): Fix detecting "parameter int" when using
22754         AUTOINSTPARAM.  Reported by Bruce T.
22755         (verilog-goto-defun): Fix goto not finding modules unless first
22756         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
22757         (verilog-mode): Expand -f flag arguments on entry to mode so
22758         verilog-goto-defun will work.  Reported by Lawrence Butcher.
22759         (verilog-getopt): Expand environment variables in -f file
22760         arguments.  Suggested by Lawrence Butcher.
22761         (verilog-set-define): Fix "Symbol's value as variable is void"
22762         when reading enumerations.
22763         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22764         Suggested by Stephen Peltan.
22765         (verilog-read-defines): Fix reading of enumerations in include
22766         files.  Reported by Steve Peltan.
22768 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22770         * files.el (trash-directory): Fix defcustom type.
22772 2009-06-28  Juri Linkov  <juri@jurta.org>
22774         * help-fns.el (describe-function-1): Correctly locate adviced
22775         functions in hyperlink (Bug#2438).
22777 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
22779         * files.el (trash-directory): Change default to nil.
22780         (move-file-to-trash): If trash-directory is nil and
22781         system-move-file-to-trash is unbound, perform freedesktop-style
22782         trashing.
22784 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22786         * files.el (move-file-to-trash): Add freedesktop trash
22787         support (Bug#973).
22789 2009-06-28  Glenn Morris  <rgm@gnu.org>
22791         * autorevert.el (global-auto-revert-non-file-buffers)
22792         (global-auto-revert-mode): Doc fixes.
22794 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
22796         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22798 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
22800         * faces.el (x-handle-named-frame-geometry): Ensure that we have
22801         opened an X connection before calling x-get-resource (Bug#3194).
22803         * play/doctor.el: Remove reference to obsolete website.
22804         (make-doctor-variables): Correct grammar mistake (Bug#2633).
22806 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
22808         Remove find-file-not-found-hook VC method.  (Bug#2757)
22809         * vc-hooks.el (vc-file-not-found-hook)
22810         (vc-default-find-file-not-found-hook): Remove functions.
22811         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22812         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22813         * vc.el:
22814         * vc-hg.el:
22815         * vc-git.el: Do not mention find-file-not-found-hook VC method.
22817 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
22819         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22820         compatibility function for `looking-back'.
22822         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22823         Use `ispell-looking-back'.
22825 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
22827         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22828         rather than `filename'.
22830 2009-06-23  Miles Bader  <miles@gnu.org>
22832         * face-remap.el (text-scale-set): New function.
22834 2009-06-23  Glenn Morris  <rgm@gnu.org>
22836         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22838         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22840         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22842         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22844         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22845         Simplify Persian conditionals.
22847         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22848         variable `filename'.
22850         * comint.el (comint-insert-input): Doc fix.
22852         * Makefile.in (ELCFILES): Fix typo in previous change.
22854 2009-06-23  Miles Bader  <miles@gnu.org>
22856         * cus-start.el: Add entry for `recenter-redisplay'.
22858 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22860         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22861         Add an optional argument for the backend, use it instead of
22862         calling vc-backend.
22863         (vc-mode-line): Add an optional argument for the backend.
22864         Pass the backend to vc-state and vc-working-revision.  Move code for
22865         special handling for vc-state being a buffer to ...
22867         * vc-rcs.el (vc-rcs-find-file-hook):
22868         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
22870         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22871         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22872         vc-stay-local-p and vc-mode-line calls.
22874         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22875         (vc-cvs-diff, vc-cvs-annotate-command)
22876         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22877         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22878         vc-mode-line calls.
22880         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22881         direct comparison.
22882         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22883         backend when calling vc-mode-line.
22884         (vc-register): Do not create a closure for calling the vc register
22885         function, call it directly.
22887 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22889         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22890         to make it obvious item can be clicked.
22892         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22894 2009-06-23  Kenichi Handa  <handa@m17n.org>
22896         * language/korea-util.el (korean-key-bindings): Change the binding
22897         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
22898         same command.
22900 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
22902         Sync with Tramp 2.1.16.
22904         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22906         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
22907         when a loading of a package fails.  Completion function for rsync
22908         is `tramp-completion-function-alist-ssh'.
22909         (all): Replace all calls of `split-string' and
22910         `tramp-split-string' by `tramp-compat-split-string'.
22911         (tramp-default-method): Use `tramp-compat-process-running-p'.
22912         (tramp-default-proxies-alist): Allow also Lisp forms.
22913         (tramp-remote-path): Add choice "Private Directories".
22914         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22915         (tramp-domain-regexp): Allow also "-", "_" and ".".
22916         (tramp-end-of-output): Remove newlines, and add "$" at the end.
22917         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22918         (tramp-debug-message): Insert header line in debug buffer.
22919         (tramp-handle-directory-files-and-attributes-with-stat):
22920         Care about filenames with spaces, or starting with "-".
22921         (tramp-handle-dired-uncache): New defun.
22922         (tramp-handle-insert-directory): Don't flush the directory from
22923         cache, this is handled by `dired-uncache' now.
22924         (tramp-handle-insert-file-contents): Improve error handling.
22925         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22926         Quote `tramp-end-of-output'.
22927         (tramp-action-password): Improve trace message.
22928         (tramp-check-for-regexp): Both echoes must be present, before removing.
22929         (tramp-open-connection-setup-interactive-shell): Trace coding system.
22930         (tramp-compute-multi-hops): Eval cons cells of
22931         `tramp-default-proxies-alist'.
22932         (tramp-maybe-open-connection): Use the same command pattern for
22933         first hop and further hops.
22934         (tramp-wait-for-output): Remove handling of newlines.
22935         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22936         (tramp-split-string): Remove function.  It is handled in
22937         tramp-compat now.
22939         * net/tramp-cmds.el (tramp-bug):
22940         Recommend `tramp-cleanup-all-connections' in the bug mail.
22942         * net/tramp-compat.el (tramp-compat-split-string)
22943         (tramp-compat-process-running-p): New defuns.
22945         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22946         for `dired-uncache'.
22948         * net/tramp-gvfs.el: New package.
22950         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22951         Add handler for `dired-uncache'.
22952         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22954         * net/trampver.el: Update release number.  Make version check fit
22955         for SXEmacs 22.
22957 2009-06-22  Jim Meyering  <meyering@redhat.com>
22959         Automatically handle .xz suffix (XZ-compressed files), too.
22960         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22961         XZ is the successor to LZMA: <http://tukaani.org/xz/>
22963 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
22964             Nick Roberts  <nickrob@snap.net.nz>
22966         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22967         repository (http://sphinx.net.ru/hg/gdb-mi/).
22969 2009-06-22  Glenn Morris  <rgm@gnu.org>
22971         * files.el (dir-locals-collect-mode-variables): Allow for any number of
22972         `mode' and `eval' entries.  (Bug#3430)
22974         * Makefile.in (ELCFILES): Add fadr.elc.
22976         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22977         differing behavior of \n and ^ in strings.  (Bug#3385)
22979         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22981         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22982         property.
22983         (lisp-indent-function): Make it a defcustom.
22985 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
22987         * progmodes/gdb-ui.el: Replace with ...
22988         * progmodes/gdb-mi.el: ... this file.
22989         * progmodes/gud.el: Modify for gdb-mi.el.
22991 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
22993         * fadr.el: New file.
22995 See ChangeLog.14 for earlier changes.
22997 ;; Local Variables:
22998 ;; coding: utf-8
22999 ;; End:
23001   Copyright (C) 2009-2011  Free Software Foundation, Inc.
23003   This file is part of GNU Emacs.
23005   GNU Emacs is free software: you can redistribute it and/or modify
23006   it under the terms of the GNU General Public License as published by
23007   the Free Software Foundation, either version 3 of the License, or
23008   (at your option) any later version.
23010   GNU Emacs is distributed in the hope that it will be useful,
23011   but WITHOUT ANY WARRANTY; without even the implied warranty of
23012   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23013   GNU General Public License for more details.
23015   You should have received a copy of the GNU General Public License
23016   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.