* lisp/electric.el (electric-pair-pairs): New var.
[emacs.git] / lisp / ChangeLog
blob99dff70118a0be7a399b505f3b15aa882bc61a1c
1 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * electric.el (electric-pair-pairs): New var.
4         (electric-pair-post-self-insert-function): Use it.
5         (electric-layout-post-self-insert-function): Don't insert a before
6         newline unless it's actually needed.
8 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10         * progmodes/python.el (run-python): Explain why we remove the current
11         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
13         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
15 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17         * progmodes/octave-mod.el: Rely on elecric-*-modes.
18         (octave-mode-map): Don't bind ;, SPC, and LF.
19         (octave-auto-indent, octave-auto-newline): Remove.
20         (electric-layout-rules): Declare.
21         (octave-mode): Set electric-layout-rules.
22         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
23         (octave-reindent-then-newline-and-indent, octave-electric-semi)
24         (octave-electric-space): Remove.
26         * electric.el (electric-layout-mode): New minor mode.
27         (electric--after-char-pos): New function.
28         (electric-indent-post-self-insert-function): Use it.
29         (electric-layout-rules): New var.
30         (electric-layout-post-self-insert-function): New function.
31         (electric-indent-mode): Make them interact better.
33 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
35         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
36         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
37         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
39 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
41         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
42         Make sure to check inside the word (Bug#6761).
44 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
46         * startup.el (command-line): If the cursorColor resource is set,
47         change the cursor face-spec (Bug#7392).
49 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
51         The main features of the following allout.el changes are:
52         - implement user customization for the allout key bindings
53         - add a customization control by which the user can inhibit use of
54           a trailing Ctrl-H, so by default it's reserved for use with
55           describe-prefix-bindings
56         - adapt to new version of called-interactively-p, while
57           maintaining backwards compatibility with old version
58         - fix hotspot navigation so i works properly with meta-modified keys
60         * allout.el (allout-keybindings, allout-bind-keys)
61         (allout-keybindings-binding, allout-prefixed-keybindings)
62         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
63         (allout-keybindings-list, allout-mode-map-adjustments)
64         (allout-setup-mode-map): Establish allout-mode keymaps as user
65         customizable settings, and also establish a customizable setting which
66         regulates whether or not a trailing control-h is reserved for use with
67         describe-prefix-bindings - and inhibit it by default, so that control-h
68         *is* reserved for describe-prefix-bindings unless the user changes it.
70         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
71         and accurately between modified and unmodified events, and handle
72         modified events more comprehensively.
74         * allout.el (allout-substring-no-properties):
75         Alias to use or provide version of `substring-no-properties'.
76         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
78         * allout.el (allout-next-single-char-property-change):
79         Alias to use or provide version of `next-single-char-property-change'.
80         (allout-annotate-hidden, allout-hide-by-annotation):
81         Use `allout-next-single-char-property-change'.
83         * allout.el (allout-select-safe-coding-system):
84         Alias to use or provide version of `select-safe-coding-system'.
85         (allout-toggle-subtree-encryption):
86         Use `allout-select-safe-coding-system'.
88         * allout.el (allout-set-buffer-multibyte):
89         Alias to use or provide version of `set-buffer-multibyte'.
90         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
92         * allout.el (allout-called-interactively-p): Macro for using the
93         different versions of called-interactively-p identically, depending on
94         the subroutine's argument signature.
95         (allout-back-to-current-heading, allout-beginning-of-current-entry):
96         Use `(interactive "p")' instead of `(called-interactively-p)'.
98         * allout.el (allout-init, allout-ascend, allout-end-of-level)
99         (allout-previous-visible-heading, allout-forward-current-level)
100         (allout-backward-current-level, allout-show-children):
101         Use `allout-called-interactively-p' instead of `called-interactively-p'.
103         * allout.el (allout-before-change-handler):
104         Exempt edits to the (overlaid) character after the allout outline
105         bullet from edit confirmation prompt.
107         * allout.el (allout-add-resumptions):
108         Ensure that it respects correct buffer for keybindings.
110         * allout.el (allout-beginning-of-line):
111         Use `allout-previous-single-char-property-change' alias for the sake of
112         diverse compatibility.
114         * allout.el (allout-end-of-line):
115         Use `allout-mark-active-p' to encapsulate respect for mark activity.
117 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
119         * frame.el (frame-notice-user-settings): Don't clobber other
120         user-set parameters when calling face-set-after-frame-default in
121         response to background-color parameter (Bug#7373).
123 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
125         * international/characters.el (glyphless-char-display-control):
126         Renamed from glyphless-char-control; all users changed.  Doc fix.
127         Signal an error if display method is not one of the recognized
128         symbols.
130 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
132         * net/tramp-compat.el (tramp-compat-line-beginning-position)
133         (tramp-compat-line-end-position): Remove them.
135         * net/tramp.el (tramp-parse-rhosts-group)
136         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
137         (tramp-parse-hosts-group, tramp-parse-passwd-group)
138         (tramp-parse-netrc-group, tramp-parse-putty-group)
139         * net/tramp-cmds.el (tramp-append-tramp-buffers)
140         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
141         (tramp-sh-handle-file-selinux-context)
142         (tramp-sh-handle-file-name-all-completions)
143         (tramp-sh-handle-insert-directory)
144         (tramp-sh-handle-expand-file-name, tramp-find-executable)
145         (tramp-wait-for-output, tramp-send-command-and-read)
146         * net/tramp-smb.el (tramp-smb-read-file-entry)
147         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
149         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
150         `point-at-bol'.
151         (tramp-remote-coding-commands): Add an alternative using "base64
152         -d -i".  This is needed for older base64 versions from GNU
153         coreutils.  Reported by Klaus Reichl
154         <Klaus.Reichl@thalesgroup.com>.
156 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
158         * simple.el (count-words-region): New function.
160 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
162         * shell.el (shell-dir-cookie-re): New custom variable.
163         (shell-dir-cookie-watcher): New function.
165         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
166         and compilation-mode (bug#7350).
168         * vc/smerge-mode.el (smerge-refine): Choose better default part to
169         highlight when one of them is empty.
171         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
172         trailing space.
173         (skeleton-newline): New function.
174         (skeleton-internal-1): Use it.
176         * simple.el (open-line): `newline' may strip trailing space.
178 2010-11-12  Kevin Ryde  <user42@zip.com.au>
180         * international/mule-cmds.el (princ-list): Use mapc.
182 2010-11-12  Glenn Morris  <rgm@gnu.org>
184         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
185         Use it to replace all instances of "*Compile-Log*"
187 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
189         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
190         indentation specs.
192 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
194         * progmodes/modula2.el: Use SMIE and skeleton.
195         (m2-mode-syntax-table): (*..*) can be nested.
196         Add //...\n.  Fix paren syntax.
197         (m2-mode-map): Remove LF and TAB bindings.
198         (m2-indent): Add safety property.
199         (m2-smie-grammar): New var.
200         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
201         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
202         (m2-mode): Use define-derived-mode.
203         (m2-newline, m2-tab): Remove.
204         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
205         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
206         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
207         (m2-import): Use define-skeleton.
209 2010-11-11  Glenn Morris  <rgm@gnu.org>
211         * obsolete/lucid.el: Don't warn about any CL functions in this file.
213         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
214         (ls-lisp-verbosity): Add custom :set-after property.
215         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
216         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
217         (ls-lisp-insert-directory): Update caller.
218         (ls-lisp-set-options): New function.
219         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
220         Doc fix.
222         * play/landmark.el (lm-prompt-for-move):
223         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
225         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
227         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
228         (idlwave-study-twins): Prefix dynamic local variable `name'.
229         (idlwave-routine-twin-compare): Update for above change.
231         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
232         Prefix dynamic local variables `name', `kwd', and `link'.
233         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
234         * progmodes/idlw-complete-structtag.el
235         (idlwave-complete-structure-tag-help):
236         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
237         (idlwave-complete-sysvar-tag-help)
238         (idlwave-complete-class-structure-tag-help):
239         Update for above name changes.
241 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
243         * net/browse-url.el (browse-url-browser-function): Change the
244         default to use `browse-url-mail' on mailto: URLs.
246 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
248         * emacs-lisp/package.el (package-read-all-archive-contents):
249         Reset package-archive-contents to nil before re-reading.
251 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
253         * textmodes/flyspell.el (flyspell-word): Do not re-check words
254         already found as misspellings by (flyspell-large-region), just
255         do highlighting (bug#7322).
257 2010-11-10  Glenn Morris  <rgm@gnu.org>
259         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
261         * emulation/edt.el (edt-with-position): New macro.
262         (edt-find-forward, edt-find-backward, edt-find-next-forward)
263         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
264         (edt-paragraph-forward, edt-paragraph-backward): Use it.
266         * emulation/tpu-extras.el (tpu-with-position): New macro.
267         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
269         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
271         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
272         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
273         (texinfo-master-menu, texinfo-insert-node-lines)
274         (texinfo-multiple-files-update):
275         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
276         Use line-beginning-position.
278         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
279         No recent Emacs supports system-type `emx'.
281         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
282         (ada-command-separator, ada-default-prj-properties)
283         (ada-find-any-references): Update for above name change.
285         * dirtrack.el (dirtrack-directory-function)
286         (dirtrack-canonicalize-function):
287         * filecache.el (file-cache-completion-ignore-case)
288         (file-cache-case-fold-search, file-cache-ignore-case):
289         * term.el (serial-port-is-file-p): Cosmetic change.
291         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
292         Remove non-existent `windows-95' system-type.
293         * dired.el (dired-chown-program): Remove non-existent `linux'
294         system-type.
296         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
297         (ping-program-options): Remove non-existent `linux' system-type.
299         * startup.el (package-initialize): Update declaration.
301         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
302         (ls-lisp-handle-switches): Use time-less-p.
303         (ls-lisp-format-time): Use float-time.
305         * textmodes/remember.el (remember-time-to-seconds): Remove.
306         (remember-store-in-mailbox): Use float-time.
308         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
310         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
311         never a real function.
312         (with-no-warnings): Remove compat stub, now unused.
313         (time-less-p): Doc fix.
314         (time-to-number-of-days): Simplify.
316         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
317         Remove.
318         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
319         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
320         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
321         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
322         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
324         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
325         (eshell-shuffle-files, eshell-shorthand-tar-command)
326         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
327         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
328         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
329         Prefix dynamic local variable `matches'.
331         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
332         Prefix dynamic local variable `skeleton'.
334 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
336         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
337         in mail buffer; make yank-action always a command that yanks original
338         buffer.
340 2010-11-09  Glenn Morris  <rgm@gnu.org>
342         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
344 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
346         * minibuffer.el (minibuffer-completion-help): Specify the end of the
347         completion field (bug#7211).
349         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
350         Fix handling of backslash escapes.
351         (python-quote-syntax): Adjust accordingly.
353 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
355         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
356         (vc-mtn-workfile-branch): Adjust to new output format.
358 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
360         * international/mule-cmds.el (princ-list): Mark as obsolete.
362 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
364         * emacs-lisp/smie.el: New package.
366 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
368         * files.el (backup-by-copying-when-mismatch):
369         Set `permanent-local' property.
371         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
372         `permanent-local' property for `backup-by-copying-when-mismatch'.
374 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
376         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
378 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
380         * progmodes/verilog-mode.el (verilog-insert-one-definition)
381         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
382         AUTOINOUT for SV style multidimensional arrays, bug294.
383         Reported by Eric Mastromarchi.
384         (verilog-preprocess): Use with-current-buffer and
385         font-lock-fontify-buffer to cleanup style issues.
387 2010-11-09  Glenn Morris  <rgm@gnu.org>
389         * locate.el (locate, locate-mode): Doc fixes.
391 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
393         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
394         user for confirmation.
395         (server-force-stop): Use it.
396         (server-start): Use server-force-stop for kill-emacs-hook, to
397         avoid user interaction while killing Emacs.
399 2010-11-09  Glenn Morris  <rgm@gnu.org>
401         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
402         (meta-indent-line): Simplify.
404         * vc/emerge.el (emerge-line-number-in-buf):
405         * textmodes/ispell.el (ispell-region):
406         * textmodes/fill.el (current-fill-column):
407         * progmodes/xscheme.el (xscheme-send-current-line):
408         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
409         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
410         * progmodes/sh-script.el (sh-handle-prev-do):
411         * progmodes/meta-mode.el (meta-indent-line):
412         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
413         (idlwave-in-quote):
414         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
415         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
416         * progmodes/fortran.el (fortran-looking-at-if-then):
417         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
418         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
419         (cperl-find-pods-heres):
420         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
421         * net/quickurl.el (quickurl-list-insert):
422         * net/ldap.el (ldap-search-internal):
423         * net/eudc.el (eudc-expand-inline):
424         * mail/sendmail.el (sendmail-send-it):
425         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
426         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
427         (viper-brac-function):
428         * calc/calc-yank.el (calc-do-grab-region):
429         * calc/calc-keypd.el (calc-keypad-press):
430         * term.el (term-move-columns, term-insert-spaces):
431         * speedbar.el (speedbar-highlight-one-tag-line):
432         * simple.el (current-word):
433         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
434         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
435         (Info-scroll-down):
436         * hippie-exp.el (he-line-beg):
437         * epa.el (epa--marked-keys):
438         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
439         (dired-update-file-line, dired-add-entry, dired-remove-entry)
440         (dired-relist-entry):
441         * buff-menu.el (Buffer-menu-buffer):
442         * array.el (current-line):
443         * allout.el (allout-resolve-xref)
444         (allout-latex-verbatim-quote-curr-line):
445         Replace yet more uses of end-of-line etc with line-end-position, etc.
447 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
449         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
450         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
451         (checkdoc-syntax-table): Initialize in the declaration.
452         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
453         the mode on unconditionally.
455         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
456         (extent-end-position, extent-start-position): Remove setf method for
457         non-existing functions (bug#7319).
459 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
461         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
462         (smie-precs->prec2): Rename from smie-precs-precedence-table.
463         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
464         (smie-prec2->grammar): Rename from smie-prec2-levels.
465         (smie-grammar): Rename from smie-op-levels.
466         (smie-indent--hanging-p): Rename from smie-hanging-p.
467         (smie-rule-hanging-p): New alias.
468         (smie-indent--bolp): Rename from smie-bolp.
469         (smie-indent--hanging-p): New alias.
470         (smie--token): New dynamically bound variable.
471         (smie-indent--parent): New function.
472         (smie-rule-parent-p): Use it; rename from smie-parent-p.
473         (smie-rule-next-p): Rename from smie-next-p.
474         (smie-rule-prev-p): Rename from smie-prev-p.
475         (smie-rule-sibling-p, smie-rule-parent)
476         (smie-indent--separator-outdent, smie-rule-separator): New functions.
477         (smie-rule-separator-outdent): New var.
478         (smie-indent--rule): Merge with smie-indent--column.
479         (smie-indent-forward-token, smie-indent-backward-token):
480         Also recognize close parens.
481         (smie-indent-keyword): Don't use smie-indent--column any more.
482         (smie-indent-after-keyword): Ignore closers by default.
483         (smie-indent-line): Use with-demoted-errors.
484         * progmodes/octave-mod.el (octave-smie-grammar):
485         Rename from octave-smie-op-levels.
486         (octave-smie-rules): Adjust to new behavior.
487         * progmodes/prolog.el (prolog-smie-grammar):
488         Rename from prolog-smie-op-levels.
490 2010-11-07  Glenn Morris  <rgm@gnu.org>
492         * eshell/esh-util.el (subst-char-in-string)
493         (directory-files-and-attributes): These compatibility definitions are
494         not needed on any version of Emacs since at least 21.4.
496         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
497         (verilog-get-end-of-line): Remove.
498         (verilog-within-string, verilog-re-search-forward-substr)
499         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
500         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
501         Use point-at-bol, point-at-eol.
502         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
503         Remove.
504         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
505         (electric-pascal-terminate-line, pascal-set-auto-comments)
506         (pascal-indent-paramlist, pascal-indent-declaration)
507         (pascal-get-lineup-indent, pascal-func-completion)
508         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
509         Use point-at-bol, point-at-eol.
510         * progmodes/flymake.el (flymake-line-beginning-position)
511         (flymake-line-end-position): Remove.
512         (flymake-highlight-line): Use point-at-bol, point-at-eol.
513         * eshell/esh-util.el (line-end-position, line-beginning-position):
514         Remove compat definitions.
516         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
517         Use end-of-line N.
518         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
519         Use line-end-position.
521         * emacs-lisp/chart.el (chart-zap-chars):
522         * play/decipher.el (decipher-set-map):
523         * progmodes/ada-mode.el (ada-get-current-indent)
524         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
525         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
526         * progmodes/ada-xref.el (ada-initialize-runtime-library)
527         (ada-get-all-references):
528         * progmodes/cperl-mode.el (cperl-electric-paren)
529         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
530         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
531         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
532         (cperl-word-at-point-hard):
533         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
534         (idlwave-shell-filename-string, idlwave-shell-batch-command)
535         (idlwave-shell-display-line):
536         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
537         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
538         * progmodes/js.el (js--re-search-forward-inner)
539         (js--re-search-backward-inner):
540         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
541         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
542         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
543         * textmodes/flyspell.el (flyspell-process-localwords):
544         * textmodes/ispell.el (ispell-buffer-local-parsing)
545         (ispell-buffer-local-dict, ispell-buffer-local-words):
546         Use point-at-bol and point-at-eol.
548         * speedbar.el (speedbar-generic-item-info)
549         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
550         (speedbar-add-indicator, speedbar-check-vc-this-line)
551         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
552         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
553         Replace more uses of end-of-line etc with line-end-position.
555 2010-11-06  Glenn Morris  <rgm@gnu.org>
557         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
558         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
559         (texinfo-delete-existing-pointers, texinfo-find-pointer)
560         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
561         (texinfo-multiple-files-update):
562         * textmodes/table.el (table--probe-cell-left-up)
563         (table--probe-cell-right-bottom):
564         * textmodes/picture.el (picture-tab-search):
565         * textmodes/page-ext.el (pages-copy-header-and-position)
566         (pages-directory-for-addresses):
567         * progmodes/vera-mode.el (vera-get-offset):
568         * progmodes/simula.el (simula-calculate-indent):
569         * progmodes/python.el (python-pdbtrack-overlay-arrow):
570         * progmodes/prolog.el (end-of-prolog-clause):
571         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
572         * progmodes/icon.el (indent-icon-exp):
573         * progmodes/etags.el (tag-re-match-p):
574         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
575         * progmodes/ebnf2ps.el (ebnf-begin-file):
576         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
577         (dcl-save-local-variable):
578         * play/life.el (life-setup):
579         * play/gametree.el (gametree-looking-at-ply):
580         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
581         * mail/sendmail.el (mail-mode-auto-fill):
582         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
583         * emacs-lisp/edebug.el (edebug-overlay-arrow):
584         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
585         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
586         (woman-tab-to-tab-stop, WoMan-warn-ignored):
587         * type-break.el (type-break-file-keystroke-count):
588         * term.el (term-replace-by-expanded-history-before-point)
589         (term-skip-prompt, term-extract-string):
590         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
591         (speedbar-contract-line, speedbar-toggle-line-expansion)
592         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
593         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
594         * sort.el (sort-skip-fields):
595         * skeleton.el (skeleton-internal-list):
596         * simple.el (line-move-finish, line-move-to-column):
597         * shell.el (shell-forward-command):
598         * misc.el (copy-from-above-command):
599         * makesum.el (double-column):
600         * ebuff-menu.el (electric-buffer-update-highlight):
601         * dired.el (dired-move-to-end-of-filename):
602         * dframe.el (dframe-popup-kludge):
603         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
604         * arc-mode.el (archive-get-lineno):
605         Use line-end-position and line-beginning-position.
607         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
608         (idlwave-study-twins): Prefix dynamic local `class'.
609         (idlwave-routine-twin-compare): Update for above name change.
611         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
612         Use boundp tests to silence compiler.  Update for changed name of
613         bytecomp-filename variable.
615         * emulation/viper-cmd.el (viper-read-string-with-history):
616         Prefix dynamic local `initial'.
617         (viper-minibuffer-standard-hook): Update for above name change.
619         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
620         (elint-init-form): Update for above name change.
622         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
623         local variables `cbeg' and `cend' a prefix.
624         (mail-extr-voodoo): Update for above name change.
626         * textmodes/reftex-toc.el (reftex-toc-do-promote)
627         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
628         (reftex-toc-promote-action): Doc fix.
630         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
631         `prompt', `data' a prefix.
632         (reftex-select-post-command-hook, reftex-select-callback)
633         (reftex-select-mouse-accept, reftex-select-read-cite):
634         Update for above name changes.
636         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
637         `refstyle' to reftex-refstyle.
638         (reftex-offer-label-menu): Update for above name change.
639         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
640         `refstyle' name change.
642         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
643         with with-current-buffer.
644         (diff, template): Give dynamic local variables a prefix.
645         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
646         (emerge-line-number-in-buf): Update for above name change.
647         (emerge-combine-versions-internal): Rename local `template' to
648         emerge-combine-template.
649         (emerge-combine-versions-edit): Update for above name change.
651 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
653         * textmodes/reftex-cite.el
654         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
655         entries with whitespace after \bibitem.
656         (reftex-create-bibtex-file): Match entries containing numbers and
657         symbol constituents.  Make sure that entries with whitespace at
658         various places are found.
660 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
662         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
664 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
666         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
668 2010-11-05  Glenn Morris  <rgm@gnu.org>
670         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
671         (woman2-roff-buffer): Give local variable `request' a prefix.
672         (woman0-macro): Rename argument `request' in the same way.
673         (woman-request): New name for `request' dynamic variable.
674         (woman-unquote, woman-forward-arg): Update for above name change.
675         (woman1-roff-buffer): Give local variable `unquote' a prefix.
676         (woman1-unquote): New name for `unquote' dynamic variable.
677         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
678         (woman-translations): Rename from `translations'.  No longer global.
679         (woman2-tr, woman-translate): Update for above name change.
680         (woman-translate): Check for bound variable.
681         (woman2-roff-buffer): Give local variable `translations' a prefix.
683         * play/doctor.el: Give all local variables a prefix.  Update callers.
684         (doc$, doctor-put-meaning): Use backquote.
686         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
687         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
689         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
690         variables bytes, ptr, op a prefix.
691         (disassemble-offset): Update for above change.
693 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
695         * emacs-lisp/package.el (package-unpack): Remove no-op.
696         (package--builtins, package--dir): Doc fix.
697         (package-activate-1, package-activate, package-install)
698         (package-compute-transaction): Fix error message.
699         (package-delete): Use delete-directory.  Omit system packages.
700         (package-initialize): Set package-alist to nil first.
701         (package-menu-mark-delete, package-menu-mark-install): Don't add
702         symbols that are inconsistent with the package state.
703         (package-menu-execute): Perform deletions and installations as
704         single batch operations.
706 2010-11-03  Glenn Morris  <rgm@gnu.org>
708         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
709         (props): Remove unnecessary declaration.
711         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
712         set-process-query-on-exit-flag.
714         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
715         (reftex-toc-do-promote): Remove unused local `mpos'.
716         (reftex-toc-restore-region): Make `mpos' local to this function.
718         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
720         * play/landmark.el (lm-losing-threshold): Correct spelling.
721         (lm-human-plays): Use new name.
723         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
724         (gomoku-human-plays): Use new name.
726         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
727         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
728         (gomoku-score-trans-table, gomoku-winning-threshold)
729         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
731 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
733         * emacs-lisp/package.el: Don't put built-in packages in
734         package-alist, to avoid loading inefficiencies.
735         (package-built-in-p): Make VERSION optional, and treat it as a
736         minimum acceptable version.
737         (package-activate): Search separately for built-in packages.  Emit
738         a warning if a dependency fails.
739         (define-package): Handle most common case, where there is no
740         obsolete package, first.
741         (package-compute-transaction): Print required version in error.
742         (package--initialized): New variable.
743         (list-packages): Use it.
744         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
745         built-in packages in packages-alist; keep it separate.  Set
746         package--initialized.
747         (describe-package): Avoid activating packages as a side-effect.
748         Search separately for built-in packages.
749         (describe-package-1): Handle the case where an elpa package is
750         simultaneously built-in and available/installed.
751         (package-installed-p, package--generate-package-list): Search
752         separately for built-in packages.
753         (package-load-descriptor): Doc fix.
755 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
757         * progmodes/perl-mode.el (perl-syntax-propertize-function):
758         Handle __DATA__ and __END__.
760 2010-11-02  Noah Friedman  <friedman@splode.com>
762         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
763         nil, do not ask to recompile files that are not already compiled,
764         and do not recompile them.
766 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
768         * emacs-lisp/package.el (package-initialize): Ensure that
769         obsoleted built-in packages are not in package-activated-list
770         during activation.
771         (describe-package-1): Make the "installed" status override
772         "built-in".
774 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
776         * subr.el (version-separator, version-regexp-alist): Remove '*'
777         from docstring.
778         (version-list-<=, version<=, version=): Doc fix.
780 2010-11-01  Kenichi Handa  <handa@m17n.org>
782         * faces.el (glyphless-char): Inherit underline for tty.
784 2010-11-01  Kenichi Handa  <handa@m17n.org>
786         Implement various display methods for glyphless characters.
788         * international/characters.el (char-acronym-table): New variable.
789         (glyphless-char-control): New variable.
790         (update-glyphless-char-display): New funciton.
792         * faces.el (glyphless-char): New face.
794 2010-11-01  Glenn Morris  <rgm@gnu.org>
796         * calendar/holidays.el (general-holidays, oriental-holidays)
797         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
798         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
799         the definitions of their targets.
801         * emacs-lisp/smie.el (smie): New custom group.
802         (smie-blink-matching-inners, smie-indent-basic): Add :group.
804         * faces.el (xw-defined-colors, x-setup-function-keys):
805         * mouse-sel.el (x-select-text):
806         * term/w32console.el (x-setup-function-keys): Update declarations.
808         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
810         * textmodes/ispell.el (comment-add): Declare.
812         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
813         Declare.
815         * info.el (finder-keywords-hash, package-alist): Declare.
817 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
819         * finder.el (finder-compile-keywords): Don't use intern-soft,
820         since package names may not yet exist in the obarray.
822 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
824         * vc/vc-arch.el (vc-arch-checkin):
825         * vc/vc-cvs.el (vc-cvs-checkin):
826         * vc/vc-mtn.el (vc-mtn-checkin):
827         * vc/vc-rcs.el (vc-rcs-checkin):
828         * vc/vc-sccs.el (vc-sccs-checkin):
829         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
830         since 2010-04-21 commit by Stefan Monnier.
832 2010-11-01  Glenn Morris  <rgm@gnu.org>
834         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
836         * startup.el (package-enable-at-startup, package-initialize):
837         Silence compiler.
839         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
840         Silence compiler.
842 2010-10-31  Julien Danjou  <julien@danjou.info>
844         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
845         (byte-recompile-directory):
846         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
847         Use `byte-recompile-file'.
849 2010-10-31  Glenn Morris  <rgm@gnu.org>
851         * cus-start.el: Handle standard values via a keyword.
852         Only set version property if specified.
853         (cursor-in-non-selected-windows, menu-bar-mode)
854         (tool-bar-mode, show-trailing-whitespace):
855         Do not specify standard values.
856         (transient-mark-mode, temporary-file-directory): Use :standard.
858 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
860         * term/x-win.el (x-get-selection-value): New function that gets
861         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
863 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
865         * net/tramp.el (tramp-handle-insert-file-contents): For root,
866         preserve owner and group when editing files.  (Bug#7289)
868 2010-10-31  Glenn Morris  <rgm@gnu.org>
870         * speedbar.el (speedbar-mode):
871         * play/fortune.el (fortune-in-buffer, fortune):
872         * play/gomoku.el (gomoku-mode):
873         * play/landmark.el (lm-mode):
874         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
875         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
877         * select.el (x-selection): Mark it as an obsolete alias.
879 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
881         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
882         major-mode (bug#7284).
884 2010-10-31  Glenn Morris  <rgm@gnu.org>
886         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
887         rather than just an unused variable that inherits from the real one.
889 2010-10-31  Alan Mackenzie  <acm@muc.de>
891         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
892         This fixes bug #7185.
894 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
896         * startup.el (command-line): Search for package directories, and
897         don't load package.el if none are found.
899         * emacs-lisp/package.el (describe-package, list-packages): Call
900         package-initialize if it has not been called yet.
902 2010-10-30  Alan Mackenzie  <acm@muc.de>
904         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
905         which fontifies the tail of an enum.
906         (c-basic-matchers-after): Insert a call to the above new function.
907         This fixes bug #7264.
909 2010-10-30  Glenn Morris  <rgm@gnu.org>
911         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
912         tool-bar-mode, transient-mark-mode.  (Bug#7306)
913         Include the :set property in the dumped Emacs.
915 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
917         SMIE: change indent rules format, improve smie-setup.
918         * emacs-lisp/smie.el (smie-precs-precedence-table)
919         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
920         Mark them pure so the tables gets built at compile time.
921         (smie-bnf-precedence-table): Store the closer-alist in the table.
922         (smie-prec2-levels): Preserve the closer-alist.
923         (smie-blink-matching-open): Be more forgiving in case of indentation.
924         (smie-hanging-p): Rename from smie-indent--hanging-p.
925         (smie-bolp): Rename from smie-indent--bolp.
926         (smie--parent, smie--after): New dynamic vars.
927         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
928         (smie-indent-rules): Remove.
929         (smie-indent--offset-rule): Remove fun.
930         (smie-rules-function): New var.
931         (smie-indent--rule): New fun.
932         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
933         (smie-indent-exps): Use it.
934         (smie-setup): Setup paren blinking; add keyword args for token
935         functions; extract closer-alist from op-levels.
936         (smie-indent-debug-log): Remove var.
937         (smie-indent-debug): Remove fun.
938         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
939         (prolog-smie-rules): New fun to replace it.
940         (prolog-mode-variables): Simplify.
941         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
942         it's setup automatically.
943         (octave-smie-indent-rules): Remove.
944         (octave-smie-rules): New fun to replace it.
945         (octave-mode): Simplify.
947 2010-10-29  Glenn Morris  <rgm@gnu.org>
949         * files.el (temporary-file-directory): Remove (already defined in C).
950         * cus-start.el: Add temporary-file-directory.
952         * abbrev.el (abbrev-mode):
953         * composite.el (auto-composition-mode):
954         * menu-bar.el (menu-bar-mode):
955         * simple.el (transient-mark-mode):
956         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
957         that they do not define the associated variables twice.
958         * simple.el (transient-mark-mode): Remove defvar.
959         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
960         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
961         Handle multiple groups, and also custom-delayed-init-variables.
962         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
964 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
966         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
967         (pcase-if): Add one minor optimization.
968         (pcase-split-equal): Rename from pcase-split-eq.
969         (pcase-split-member): Rename from pcase-split-memq.
970         (pcase-u1): Add strings to the member optimization.
971         Add `guard' variant of predicates.
972         (pcase-q1): Add string patterns.
974 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
976         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
978 2010-10-28  Glenn Morris  <rgm@gnu.org>
980         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
981         Move menu-bar related settings to ../menu-bar.el.
982         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
983         Move ns-specific settings here from term/ns-win.el.
985         * simple.el (x-selection-owner-p): Remove unused declaration.
987 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
989         * minibuffer.el (completion-cycling): New var (bug#7266).
990         (minibuffer-complete, completion--do-completion):
991         Use completion--flush-all-sorted-completions.
992         (minibuffer-complete): Only cycle if completion-cycling is set.
993         (completion--flush-all-sorted-completions): Unset completion-cycling.
994         (minibuffer-force-complete): Set completion-cycling.
995         (completion-all-sorted-completions): Move declaration before first use.
997 2010-10-28  Leo  <sdl.web@gmail.com>
999         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1000         which changes the order of matches seen by users (bug#7231).
1002 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
1004         * progmodes/compile.el (compilation-mode-font-lock-keywords):
1005         Don't confuse -omega as "-o mega".
1007 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1009         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1010         (log-edit-author): New dynamic var.
1011         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1012         to return the author if different from committer.
1013         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1015         * play/landmark.el: Adjust commenting convention.
1016         (lm-nil-score): Rename from nil-score.
1017         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1018         (OOOOscore): Move into a let in lm-score-trans-table.
1019         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1021         * electric.el (electric-indent-chars): Autoload.
1022         * progmodes/octave-mod.el (octave-mode):
1023         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1024         (ruby-mode-abbrev-table): Merge initialization and declaration.
1026 2010-10-27  Glenn Morris  <rgm@gnu.org>
1028         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1029         variable.
1031         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1033         * term/ns-win.el: Restore require of cl when compiling.
1034         (menu-bar-final-items): Remove non-existent `windows' menu.
1035         (ns-handle-nxopen): Optionally handle the temp-case.
1036         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1037         (ns-insert-file, ns-find-file): Use `pop'.
1039 2010-10-26  Glenn Morris  <rgm@gnu.org>
1041         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1043 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
1045         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1046         global map.
1047         * term/common-win.el (x-setup-function-keys): Remove most of the
1048         keymappings.  Comment on the remaining ones.
1050 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
1052         * server.el (server-port): New option.  (Bug#854)
1053         (server-start): Use server-port.
1055 2010-10-26  Glenn Morris  <rgm@gnu.org>
1057         * term/ns-win.el (ns-version-string): Remove unused declaration.
1058         (ns-invocation-args): Change to x-invocation-args.
1059         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1060         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1061         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1062         Use x-invocation-args instead of ns-invocation-args.
1063         (ns-initialize-window-system, handle-args-function-alist):
1064         Use x-handle-args instead of ns-handle-args.
1065         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1066         * startup.el (command-line-ns-option-alist): Replace
1067         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1068         ns-handle-iconic with the x- equivalents.
1070         * term/common-win.el (x-select-enable-clipboard):
1071         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1073         * term/ns-win.el: No need to require cl when compiling.
1074         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1075         (xw-defined-colors): Use the common-win definitions.
1076         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1077         (ns-handle-iconic): Make it an alias for x-handle-iconic.
1078         * term/common-win.el (x-select-text, x-alternatives-map)
1079         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1080         * loadup.el [ns]: Load common-win.
1082 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
1084         * epa-mail.el (epa-mail-encrypt): Handle local-part only
1085         recipients; expand mail aliases (Bug#7280).
1087 2010-10-25  Glenn Morris  <rgm@gnu.org>
1089         * term/common-win.el (x-handle-switch): Simplify with pop.
1090         Optionally handle numeric switches.
1091         (x-handle-numeric-switch): Just call x-handle-switch.
1092         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1093         (x-handle-name-switch, x-handle-display, x-handle-args):
1094         Simplify with pop.
1096         * term/ns-win.el: Do not require easymenu.
1097         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1098         <spell>: Move adjustments to menu-bar.el.
1099         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1100         <separator-undo, spell>: Move ns-win's adjustments here.
1101         * loadup.el [ns]: Do not load easymenu.
1103 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1105         * image.el (image-checkbox-checked, image-checkbox-unchecked):
1106         Delete (Bug#7222).
1108         * startup.el (fancy-startup-tail): Instead of using inline images,
1109         refer to image files from etc/.
1111         * wid-edit.el (checkbox): Likewise.
1112         (widget-image-find): Center image specs.
1114 2010-10-24  Glenn Morris  <rgm@gnu.org>
1116         * term/ns-win.el (x-select-text): Doc fix.
1117         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1118         (x-select-text): Move to term/common-win.
1119         * term/w32-win.el (xw-defined-colors): Move to common-win.
1120         * term/x-win.el (xw-defined-colors, x-alternatives-map)
1121         (x-setup-function-keys, x-select-text): Move to common-win.
1122         * term/common-win.el (x-select-text, x-alternatives-map)
1123         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1124         definitions here.
1126 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
1128         * net/mairix.el (mairix-searches-mode-map):
1129         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1131 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
1133         * verilog-mode.el (verilog-directive-re): Make this variable
1134         auto-built for efficiency of execution and updating.
1135         (verilog-extended-complete-re): Support 'pure' fucntion & task
1136         declarations (these have no bodies).
1137         (verilog-beg-of-statement): General cleanup to enable support of
1138         'pure' fucntion & task declarations (these have no bodies).
1139         These efforts together fix Verilog bug210 from veripool; which was also
1140         noticed by Steve Pearlmutter.
1141         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
1142         (verilog-directive-nest-re, verilog-set-auto-endcomments):
1143         Support `elsif.  Reported by Shankar Giri.
1144         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1145         attribute handling for lining up declarations and assignments.
1146         (verilog-beg-of-statement-1): Fix issue where continued declaration
1147         is indented differently if it is after a begin..end clock.
1148         (verilog-in-attribute-p, verilog-skip-backward-comments)
1149         (verilog-skip-forward-comment-p): Support proper treatment of
1150         attributes by indent code. Reported by Jeff Steele.
1151         (verilog-in-directive-p): Fix comment to correctly describe function.
1152         (verilog-backward-up-list, verilog-in-struct-region-p)
1153         (verilog-backward-token, verilog-in-struct-p)
1154         (verilog-in-coverage-p, verilog-do-indent)
1155         (verilog-pretty-declarations): Use verilog-backward-up-list as
1156         wrapper around backward-up-list inorder to properly skip comments.
1157         Reported by David Rogoff.
1158         (verilog-property-re, verilog-endcomment-reason-re)
1159         (verilog-beg-of-statement, verilog-set-auto-endcomments)
1160         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1161         of if). Reported by Max Bjurling and
1162         (verilog-calc-1): Fix for clocking block in modport
1163         declaration. Reported by Brian Hunter.
1165 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
1167         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1168         (verilog-gate-keywords, verilog-read-sub-decls)
1169         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1170         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1171         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
1172         (verilog-read-decls): Fix spaces in V2K module parameters causing
1173         mis-identification as interfaces, bug287.
1174         (verilog-read-decls): Fix not treating "parameter string" as a
1175         parameter in AUTOINSTPARAM.
1176         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1177         treating `elsif similar to `endif inside AUTOSENSE.
1178         (verilog-do-indent): Implement correct automatic or static task or
1179         function end comment highlight. Reported by Steve Pearlmutter.
1180         (verilog-font-lock-keywords-2): Fix highlighting of single
1181         character pins, bug264.  Reported by Michael Laajanen.
1182         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1183         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1184         (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
1185         interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
1186         (verilog-pretty-expr): Fix interactive arguments, bug272.
1187         Reported by Mark Johnson.
1188         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1189         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1190         bug269. Suggested by Gary Delp.
1191         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
1192         (verilog-preprocessor, verilog-set-compile-command):
1193         Create verilog-preprocess and verilog-preprocessor to show
1194         preprocessed output.
1195         (verilog-get-beg-of-line, verilog-get-end-of-line)
1196         (verilog-modi-file-or-buffer, verilog-modi-name)
1197         (verilog-modi-point, verilog-within-string): Move defmacro's
1198         before first use to avoid warning. Reported by Steve Pearlmutter.
1199         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1200         (verilog-colorize-region, verilog-highlight-buffer)
1201         (verilog-highlight-includes, verilog-highlight-modules)
1202         (verilog-highlight-region, verilog-mode): Rename colorize to
1203         highlight to match other packages.  Disable module highlighting,
1204         as received speed complaints, reenable for experimentation only
1205         using new verilog-highlight-modules.
1206         (verilog-read-decls): Fix regexp stack overflow in very large
1207         AUTO_TEMPLATEs, bug250.
1208         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1209         (verilog-scan): Create verilog-save-buffer-state to standardize
1210         making insignificant changes that shouldn't call hooks.
1211         (verilog-save-no-change-functions, verilog-save-scan-cache)
1212         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1213         Create verilog-save-no-change-functions to wrap verilog-scan
1214         preservation, and fix to work with nested preserved calls.
1215         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1216         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1217         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
1218         (verilog-submit-bug-report): Update variable list to be complete.
1219         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1220         breaking on-the-fly font-locking.
1221         (verilog-colorize-buffer, verilog-colorize-include-files)
1222         (verilog-colorize-include-files-buffer, verilog-colorize-region)
1223         (verilog-load-file-at-mouse, verilog-load-file-at-point)
1224         (verilog-mode, verilog-read-inst-module-matcher): With point on a
1225         AUTOINST cell instance name, middle mouse button now finds-file on
1226         it.  Suggested by Brad Dobbie.
1227         (verilog-alw-get-temps, verilog-auto-reset)
1228         (verilog-auto-sense-sigs, verilog-read-always-signals)
1229         (verilog-read-always-signals-recurse): Fix loop indexes being
1230         AUTORESET. AUTORESET now assumes any variables in the
1231         initialization section of a for() should be ignored.  Reported by
1232         Dan Dever.
1233         (verilog-error-font-lock-keywords)
1234         (verilog-error-regexp-emacs-alist)
1235         (verilog-error-regexp-xemacs-alist): Fix error detection of
1236         Cadence HAL, reported by David Asher.  Repair drift between the
1237         three similar error variables.
1238         (verilog-modi-lookup, verilog-modi-lookup-cache)
1239         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1240         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1241         Fix slow verilog-auto expansion on very large files.
1242         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1243         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
1244         "{1*2{...".  Broke in last revision.
1245         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1246         submodule connections with replications "{#{a},#{b}}".
1248 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
1250         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1251         Fix typo in docstring.
1253 2010-10-24  Kenichi Handa  <handa@m17n.org>
1255         * face-remap.el (text-scale-adjust): Call read-event with a proper
1256         prompt.
1258 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1260         * emacs-lisp/unsafep.el: Don't mark functions that display
1261         messages as safe.  Suggested by Johan Bockgård.
1263 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1265         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1266         Turn comments into docstrings.
1268         * minibuffer.el (completion--replace): Move point where it belongs
1269         when there's a common suffix (bug#7215).
1271 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1273         Merge read-color and facemenu-read-color (Bug#7242).
1275         * faces.el (read-color): Use the completion code from
1276         facemenu-read-color.  Require match in completion.  Doc fix.
1278         * facemenu.el (facemenu-read-color): Alias for read-color.
1279         (facemenu-set-foreground, facemenu-set-background): Use
1280         read-color.
1282         * frame.el (set-background-color, set-foreground-color)
1283         (set-cursor-color, set-mouse-color, set-border-color): Use
1284         read-color.
1286 2010-10-24  Leo  <sdl.web@gmail.com>
1288         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1289         argument of delete-file and delete-directory (Bug#7011).
1291 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1293         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1294         button-buffer-map.
1296 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
1298         * emacs-lisp/package.el (package--generate-package-list): Make the
1299         *Packages* buffer read-only.
1301 2010-10-24  Alan Mackenzie  <acm@muc.de>
1303         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1304         result of `c-beginning-of-decl-1' between invocations of a lambda
1305         function (Bug #7265).
1307 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
1309         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1310         executable is not available on the system (Bug#7268).
1312 2010-10-24  Glenn Morris  <rgm@gnu.org>
1314         * select.el (selection-coding-system, next-selection-coding-system):
1315         Sync doc with C versions.
1317         * w32-vars.el (x-select-enable-clipboard):
1318         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1319         * term/common-win.el (x-select-enable-clipboard): Move here.
1321         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1322         definition of C variable.
1324         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1325         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1326         Don't redefine things that are defined in C.
1327         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1328         (show-trailing-whitespace, auto-hscroll-mode)
1329         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1330         Set up the appropriate custom properties.
1332 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1334         Bind "C-c ]" to ...
1335         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
1336         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
1337         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
1338         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
1340 2010-10-23  Glenn Morris  <rgm@gnu.org>
1342         * textmodes/flyspell.el (flyspell-mode): If there was an error,
1343         say what it was.
1345         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
1346         Sync docs with C version.
1348         * term/ns-win.el (xw-defined-colors):
1349         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
1351         * term/pc-win.el (x-select-enable-clipboard):
1352         * term/x-win.el (x-select-enable-clipboard):
1353         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
1355         * comint.el (comint-password-prompt-regexp): Make it less vague.
1356         Bump version.
1358         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
1360         * help.el (finder-by-keyword): Remove unnecessary autoload.
1362 2010-10-22  Glenn Morris  <rgm@gnu.org>
1364         * loadup.el: Unconditionally load float-sup.
1365         * paren.el (show-paren-delay):
1366         * emacs-lisp/float-sup.el:
1367         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
1368         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
1369         (lazy-lock-stealth-verbose): Assume float support.
1370         * ps-print.el: Assume float support on Emacs.
1371         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
1372         Remove non-float branch.
1374         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
1375         src/Makefile no longer being pre-processed.
1377 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1379         * emacs-lisp/find-func.el (find-library): Use test-completion.
1381 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1383         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
1385 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
1387         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
1388         space in stat format string.
1389         (tramp-send-command): Unset $PS1 when using here documents, in
1390         order not to get several prompts.
1391         (tramp-get-inline-coding): Return `nil' in case of errors.
1393 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
1395         * hexl.el (hexl-mode, hexl-mode-exit):
1396         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
1397         (hexl-revert-buffer-function): New function.
1398         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
1400 2010-10-19  Alan Mackenzie  <acm@muc.de>
1402         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1403         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
1404         that these keywords aren't wrongly matched as identifiers.
1406         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1407         setting of c-new-BEG and c-new-END from c-before-change to
1408         c-after-change.  (Bug#7181)
1410 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1412         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
1413         Don't mark as safe.
1415         * custom.el (custom-theme-set-variables): Likewise.
1416         (load-theme): Add custom-theme-set-faces and
1417         custom-theme-set-variables to safe-functions while loading.
1418         (custom-enabled-themes): Mark as risky.
1420 2010-10-18  Julien Danjou  <julien@danjou.info>
1422         * bindings.el: Remove end dashes in default mode-line-format.
1424 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1426         * bindings.el (global-map): Bind C-d to delete-char and deletechar
1427         to delete-forward-char.
1429         * simple.el (normal-erase-is-backspace-mode): Remap delete to
1430         deletechar, and hence delete-forward-char.
1432 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1434         * repeat.el (repeat): Use read-key (bug#6256).
1436 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1438         * emacs-lisp/unsafep.el: Don't mark functions that display
1439         messages as safe.  Suggested by Johan Bockgård.
1441 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1443         * minibuffer.el (completion--replace): Move point where it belongs
1444         when there's a common suffix (bug#7215).
1446 2010-10-19  Kenichi Handa  <handa@m17n.org>
1448         * international/characters.el: Add category '|' (word breakable)
1449         to fullwidth characters.
1451 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
1453         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
1454         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
1455         order to make stat results a float.  Patch by Andreas Schwab
1456         <schwab@linux-m68k.org>.
1458 2010-10-18  Julien Danjou  <julien@danjou.info>
1460         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
1461         hidden by `make-pointer-invisible'.
1463 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1465         * files.el (locate-file-completion-table): Strip non-matching elements
1466         before checking length of list (bug#7238).
1468 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
1470         * custom.el (custom-theme-set-variables): Mark as a safe function.
1471         (load-theme): Check forms using unsafep.
1473         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
1475 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
1477         * textmodes/ispell.el (ispell-aspell-find-dictionary):
1478         Fix aspell data file searching (bug#7230).
1480 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
1482         * cus-theme.el (custom-theme--migrate-settings): New var.
1483         (customize-create-theme): Allow editing the `user' theme.
1484         (custom-theme-add-variable, custom-theme-add-var-1)
1485         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
1486         to the front of each variable or face widget.
1487         (custom-theme-write): Save theme settings in the correct order.
1488         Optionally, remove saved settings from user customizations.
1489         (custom-theme-write-variables, custom-theme-write-faces):
1490         Save only the checked widgets.
1491         (customize-themes): Add a link for migrating custom settings.
1493         * custom.el (custom-declare-theme, provide-theme):
1494         Use custom-theme-name-valid-p.
1495         (custom-theme-name-valid-p): Remove checks that are now
1496         unnecessary since themes no longer obey load-path.
1498         * cus-edit.el (custom-variable-value-create): For the simple
1499         style, hide documentation string when hidden.
1501 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
1503         * cus-edit.el (custom-variable, custom-face): Combine the
1504         :inhibit-magic and :display-style properties into a single
1505         :custom-style property.
1506         (custom-toggle-hide-variable, custom-toggle-hide-face):
1507         New functions.  If hiding an edited value, save it to :shown-value.
1508         (custom-variable-value-create, custom-face-value-create): Use them.
1509         (custom-magic-reset): Allow magic property to be unset.
1511         * custom.el: Custom themes no longer use load-path.
1512         (custom-theme-load-path): New option.  Change built-in theme
1513         directory to etc/.
1514         (custom-enabled-themes): Add custom-theme-load-path dependency.
1515         (custom-theme--load-path): New function.
1516         (load-theme, custom-available-themes): Use it.
1518         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
1519         (customize-themes): Link to custom-theme-load-path variable.
1520         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
1521         :custom-style property.
1523         * themes/*.el: Moved to etc/.
1525 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
1527         * textmodes/reftex-cite.el
1528         (reftex-extract-bib-entries-from-thebibliography): Do not move
1529         point when searching for \bibitem entries.  Match entries with
1530         spaces or tabs in front of arguments.
1532 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
1534         * cus-theme.el (customize-create-theme): Delete overlays after
1535         erasing.  If given a THEME arg, display only the faces of that arg
1536         instead of custom-theme--listed-faces.
1537         (custom-theme-variable-menu, custom-theme-variable-action)
1538         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
1539         (custom-theme-add-variable, custom-theme-add-face): Apply value
1540         from the theme settings, instead of the current value.
1541         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
1542         (custom-theme-visit-theme): Allow calling outside theme buffers.
1543         (custom-theme-merge-theme): Don't enable the theme when merging.
1544         (custom-theme-write-variables, custom-theme-write-faces): Use the
1545         :shown-value properties to save buffer values, not global ones.
1546         (customize-themes): Display a warning about user customizations.
1548         * cus-edit.el (custom-variable-value-create)
1549         (custom-face-value-create): Obey new special properties
1550         :shown-value and :inhibit-magic.
1552 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
1554         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1555         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
1556         <dale@codefu.org>.
1558 2010-10-14  Kenichi Handa  <handa@m17n.org>
1560         * mail/rmail.el (rmail-show-message-1): Catch an error of
1561         base64-decode-region and just show an error message (bug#7165).
1563         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
1564         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
1565         a font-spec (bug#7197).
1567 2010-10-14  Glenn Morris  <rgm@gnu.org>
1569         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
1571 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
1573         * international/mule.el (define-coding-system):
1574         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1575         * composite.el (compose-region): Fix typo in docstring.
1577 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
1579         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
1580         only after checking the theme-face property.
1582         * faces.el (face-spec-reset-face): Reset all attributes in one
1583         single call to set-face-attribute.
1584         (face-spec-match-p): Make it a defsubst.
1585         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
1586         (x-create-frame-with-faces, tty-create-frame-with-faces)
1587         (tty-set-up-initial-frame-faces): Don't recompute face specs in
1588         frame-set-background-mode, since they are recomputed immediately
1589         afterwards in face-set-after-frame-default.
1590         (face-set-after-frame-default): Minor optimization.
1591         (cursor): Provide non-trivial defface spec.
1593         * custom.el (custom-theme-recalc-face): Simplify.
1595 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
1597         * calc/calc-alg.el (math-var): Rename from `var'.
1598         (math-is-polynomial, math-is-poly-rec): Replace `var'
1599         with `math-var'.
1601         * calc/calcalg2.el (math-var): Rename from `var'.
1602         (calcFunc-table, math-scan-for-limits): Replace `var'
1603         with `math-var'.
1605 2010-10-13  Glenn Morris  <rgm@gnu.org>
1607         * subr.el (last): Deal with dotted lists (reported in bug#7174).
1609 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
1611         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
1613 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1615         * net/tls.el (tls-program): Remove spurious %s from openssl.
1616         (tls-starttls-switches): Remove starttls hack.
1617         (open-tls-stream): Ditto.
1618         (tls-find-starttls-argument): Ditto.
1620 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1622         * image.el (image-library-alist): Declare as obsolete alias.
1623         (image-type-available-p): Use `dynamic-library-alist'.
1625         * term/w32-win.el (dynamic-library-alist):
1626         Use instead of `image-library-alist'.
1628 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
1630         * subr.el (last): Make it faster.  (Bug#7174)
1632 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
1634         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
1636 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
1638         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
1639         (describe-theme-1): Extract doc from unloaded themes.
1641         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
1643         * themes/tango-theme.el:
1644         * themes/tango-dark-theme.el:
1645         * themes/wheatgrass-theme.el: New files.
1647 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
1649         * cus-theme.el (describe-theme, customize-themes)
1650         (custom-theme-save): New commands.
1651         (custom-new-theme-mode-map): Bind C-x C-s.
1652         (custom-new-theme-mode): Use custom--initialize-widget-variables.
1653         (customize-create-theme): New optional arg THEME.
1654         (custom-theme-revert): Use it.
1655         (custom-theme-visit-theme): Remove dead code.
1656         (custom-theme-merge-theme): Use custom-available-themes.
1657         (custom-theme-write): Make interactive.
1658         (custom-theme-write): Use custom-theme-name-valid-p.
1659         (describe-theme-1, custom-theme-choose-revert)
1660         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
1661         New funs.
1662         (custom-theme-allow-multiple-selections): New option.
1663         (custom-theme-choose-mode): New major mode.
1665         * custom.el (custom-theme-set-variables): Remove dead code.
1666         Obey custom--inhibit-theme-enable.
1667         (custom--inhibit-theme-enable): New var.
1668         (provide-theme): Obey it.
1669         (load-theme): Replace load with manual read/eval, in order to
1670         check for correctness.  Use custom-theme-name-valid-p.
1671         (custom-theme-name-valid-p): New function.
1672         (custom-available-themes): Use it.
1674         * cus-edit.el (custom--initialize-widget-variables): New function.
1675         (Custom-mode): Use it.
1677         * cus-face.el (custom-theme-set-faces): Remove dead code.
1678         Obey custom--inhibit-theme-enable.
1680         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
1682 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
1684         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
1686 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
1688         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
1689         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
1690         (mac-right-option-modifier): New alias for ns-right-option-modifier.
1692         * cus-start.el (all): ns-right-alternate-modifier is new.
1694 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1696         * emacs-lisp/lisp.el (lisp-completion-at-point):
1697         Use emacs-lisp-mode-syntax-table for the whole function.
1699 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
1701         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
1702         instead of font-lock-mode before adding keywords.
1703         Remove hi-lock-mode off code.  Remove inhibit hack.
1704         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
1705         non-nil; removed hook inhibit hack.
1707 2010-10-12  Glenn Morris  <rgm@gnu.org>
1709         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
1710         (load-path-shadows-find): ... to this.
1711         (list-load-path-shadows): Update for above change.
1713         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
1715 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1717         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
1718         Fix comment for declare-function.
1720 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
1722         * custom.el (custom-fix-face-spec): New function; code moved from
1723         custom-face-edit-fix-value.
1724         (custom-push-theme): Use it when checking if a face has been
1725         changed outside customize.
1726         (custom-available-themes): New function.
1727         (load-theme): Use it.
1729         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
1731         * custom.el (custom-push-theme): Cleanup (use cond).
1732         (disable-theme): Recompute the saved-face property.
1733         (custom-theme-recalc-face): Follow face alias before setting prop.
1735         * image.el (image-checkbox-checked, image-checkbox-unchecked):
1736         New variables, containing checkbox images.
1738         * startup.el (fancy-startup-tail):
1739         * wid-edit.el (checkbox): Use them.
1741 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
1743         * shell.el (shell-mode-map):
1744         * progmodes/modula2.el (m2-mode-map):
1745         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
1746         * play/mpuz.el (mpuz-mode-map):
1747         * play/landmark.el (lm-mode-map):
1748         * play/decipher.el (decipher-mode-map):
1749         * play/5x5.el (5x5-mode-map):
1750         * net/telnet.el (telnet-mode-map):
1751         * net/quickurl.el (quickurl-list-mode-map):
1752         * net/mairix.el (mairix-searches-mode-map):
1753         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
1754         * net/dig.el (dig-mode-map):
1755         * mail/mspools.el (mspools-mode-map):
1756         * hexl.el (hexl-mode-map):
1757         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
1758         (wordstar-C-o-map, wordstar-C-q-map):
1759         * emacs-lisp/edebug.el (edebug-eval-mode-map):
1760         * emacs-lisp/chart.el (chart-map):
1761         * edmacro.el (edmacro-mode-map):
1762         * erc/erc-list.el (erc-list-menu-mode-map):
1763         * array.el (array-mode-map): Declare and define in one step.
1765         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
1767 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
1769         * epa.el (epa-passphrase-callback-function): Display filename
1770         passed as the 3rd arg.
1771         * epa-file.el (epa-file-passphrase-callback-function):
1772         Pass filename to epa-passphrase-callback-function.
1774 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
1776         * cus-edit.el (custom-face-widget-to-spec)
1777         (custom-face-get-current-spec, custom-face-state): New functions.
1778         (custom-face-set, custom-face-mark-to-save)
1779         (custom-face-value-create, custom-face-state-set): Use them.
1781         * cus-theme.el (custom-theme--listed-faces): New var.
1782         (customize-create-theme): Use *Custom Theme* as the buffer name.
1783         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
1784         faces listed in custom-theme--listed-faces.
1785         (custom-theme-revert): New function.
1786         (custom-theme-add-variable, custom-theme-add-face): Insert at the
1787         bottom of the list.
1788         (custom-theme-write): Prompt for theme name if empty.
1789         (custom-theme-write-variables): Use dolist.
1790         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
1792 2010-10-09  Alan Mackenzie  <acm@muc.de>
1794         Enhance fontification of declarators to take account of the
1795         presence/absence of "typedef".
1797         * cc-engine.el (c-forward-type): New &optional param
1798         "brace-block-too".
1799         (c-forward-decl-or-cast-1): cdr of return value now indicates the
1800         presence of either or both of a "struct"-like keyword and "typedef".
1802         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
1803         fontification of declarators which follow a "}".
1804         (c-font-lock-declarations): Fontify declarators according to the
1805         presence/absence of "typedef".
1807         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
1808         for "typedef".
1809         (c-typedef-decl-key): New lang variable built from
1810         c-typedef-decl-kwds.
1812 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1814         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
1815         since that's too annoying.  Move the filter groups commands to
1816         TAB/backtab.
1818         * epa.el (epa-passphrase-callback-function): Say what we're
1819         querying the password for.
1821         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
1822         behaviour, don't bury the ibuffer buffer when visiting other buffers.
1824 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
1826         * cus-edit.el (custom-commands, custom-buffer-create-internal)
1827         (custom-magic-value-create): Pad button tags with spaces.
1828         (custom-face-edit): New variable.
1829         (custom-face-value-create): Determine whether to use the usual
1830         face editor here, instead of using custom-face-selected.
1831         Pass face defaults to custom-face-edit widget.
1832         (custom-face-selected, custom-display-unselected): Delete widgets.
1833         (custom-display-unselected-match): Function removed.
1834         (custom-face-set, custom-face-mark-to-save):
1835         Accept custom-face-edit widgets as the direct widget child.
1837         * wid-edit.el (widget--completing-widget): New var.
1838         (widget-default-complete): Bind it when doing completion.
1839         (widget-string-complete, widget-file-complete): Use it.
1841 2010-10-09  Glenn Morris  <rgm@gnu.org>
1843         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
1844         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
1845         (holiday-hebrew-misc): Small simplifications.
1847         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
1849         * net/browse-url.el: Don't require thingatpt, term, dired,
1850         executable, or w3-auto when compiling.
1851         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
1852         Declare.
1853         (browse-url-text-emacs): Require term.
1855 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
1857         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
1859 2010-10-08  Glenn Morris  <rgm@gnu.org>
1861         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
1863         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
1864         (shadows-compare-text-p): Make it an obsolete alias for...
1865         (load-path-shadows-compare-text): ... new name.
1866         (find-emacs-lisp-shadows): Update for above name change.
1867         (load-path-shadows-same-file-or-nonexistent): New name for the old
1868         shadow-same-file-or-nonexistent.
1870 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
1872         * minibuffer.el (completion--some, completion--do-completion)
1873         (minibuffer-complete-and-exit, minibuffer-completion-help)
1874         (completion-basic-try-completion)
1875         (completion-basic-all-completions)
1876         (completion-pcm--find-all-completions): Use lexical-let to
1877         avoid some false matches in variable completion (Bug#7056)
1879 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
1881         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
1883 2010-10-08  Leo  <sdl.web@gmail.com>
1885         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
1886         return non-nil if the file exists (Bug#7090).
1888 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1890         * minibuffer.el (completion--replace):
1891         Better preserve markers (bug#7138).
1893 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
1895         * server.el (server-process-filter): Doc fix.
1897 2010-10-08  Drew Adams  <drew.adams@oracle.com>
1899         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
1901 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
1903         * Makefile.in (ELCFILES): Update.
1905 2010-10-08  Glenn Morris  <rgm@gnu.org>
1907         * vc/ediff-wind.el (ediff-setup-control-frame):
1908         * vc/ediff-ptch.el (ediff-default-backup-extension):
1909         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
1910         (ediff-exec-process): Remove system-types emx, windows-95.
1912         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
1914 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
1916         * cus-edit.el (custom-variable, custom-face): Doc fix.
1917         (custom-face-edit): Add value-create attribute.
1918         (custom-face-edit-value-create)
1919         (custom-face-edit-value-visibility-action): New functions.
1920         Hide unused face attributes by default, and add a visibility toggle.
1921         (custom-face-edit-deactivate): Show empty values with shadow face.
1922         (custom-face-selected): Only use this for face specs with default
1923         attributes.
1924         (custom-face-value-create): Cleanup.
1926         * wid-edit.el (widget-checklist-value-create): Use dolist.
1927         (widget-checklist-match-find): Make second arg optional.
1929 2010-10-07  Glenn Morris  <rgm@gnu.org>
1931         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
1932         Prefix things.
1934         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
1935         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
1936         load-path-shadows-mode, update references.
1937         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
1938         Rename variable and button.
1939         (list-load-path-shadows): Update button caller.
1941 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1943         * emacs-lisp/smie.el (smie-bnf-classify): New function.
1944         (smie-bnf-precedence-table): Use it to remember the closers/openers.
1945         (smie-merge-prec2s): Handle those new entries.
1946         (smie-prec2-levels): Only set precedence to nil for actual
1947         openers/closers.
1948         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
1949         that is now unnecessary.
1951 2010-10-07  Miles Bader  <miles@gnu.org>
1953         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
1955 2010-10-07  Glenn Morris  <rgm@gnu.org>
1957         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
1958         (mail-position-on-field): Remove declarations.
1959         (mail-position-on-field): Autoload it.
1960         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
1961         and mail-header-end.  Don't require sendmail.
1963         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
1964         (shadow-mode): New mode.
1965         (shadow-find-file): New button.
1966         (list-load-path-shadows): Use shadow-mode and buttons.
1968         * iimage.el (iimage-version): Remove.
1969         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
1970         Turn into defcustoms.
1971         (iimage-mode-map): Give it a doc string.
1973         * calendar/appt.el (appt-activate): Give a warning rather than an error
1974         if there is no diary-file.
1976 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
1978         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1979         Use `tramp-handle-find-backup-file-name'.
1981 2010-10-06  Glenn Morris  <rgm@gnu.org>
1983         * font-core.el (font-lock-defaults-alist): Remove variable.
1984         (font-lock-mode): Doc fix.
1985         (font-lock-default-function): Do not consult font-lock-defaults-alist.
1986         * font-lock.el (font-lock-refresh-defaults): Doc fix.
1987         (font-lock-set-defaults): Doc fix.
1988         Do not consult font-lock-defaults-alist.
1990         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
1992         * emacs-lisp/cl.el: No longer provide cl-19.
1994 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
1996         * net/tramp.el (tramp-handle-directory-files-and-attributes)
1997         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
1998         New defuns, taken from tramp-smb.el.
1999         (tramp-coding-system-change-eol-conversion)
2000         (tramp-set-process-query-on-exit-flag): Remove.
2002         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2003         (tramp-compat-coding-system-change-eol-conversion)
2004         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2005         from tramp.el.
2007         * net/tramp-gvfs.el:
2008         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2009         by `tramp-compat-set-process-query-on-exit-flag'.
2011         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2012         Use `tramp-handle-directory-files-and-attributes',
2013         `tramp-handle-file-exists-p' and
2014         `tramp-handle-file-newer-than-file-p'.
2015         (tramp-imap-handle-file-exists-p)
2016         (tramp-imap-handle-file-executable-p)
2017         (tramp-imap-handle-file-readable-p)
2018         (tramp-imap-handle-directory-files-and-attributes)
2019         (tramp-imap-handle-file-newer-than-file-p): Remove.
2021         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2022         by `tramp-compat-set-process-query-on-exit-flag' and
2023         `tramp-coding-system-change-eol-conversion' by
2024         `tramp-compat-coding-system-change-eol-conversion'.
2026         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2027         Use `tramp-handle-directory-files-and-attributes',
2028         `tramp-handle-file-exists-p' and
2029         `tramp-handle-file-newer-than-file-p'.
2030         (tramp-smb-handle-directory-files-and-attributes)
2031         (tramp-smb-handle-file-exists-p)
2032         (tramp-smb-handle-file-newer-than-file-p): Remove.
2033         (tramp-smb-maybe-open-connection):
2034         Replace `tramp-set-process-query-on-exit-flag' by
2035         `tramp-compat-set-process-query-on-exit-flag'.
2037 2010-10-05  Glenn Morris  <rgm@gnu.org>
2039         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2041 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
2043         Continue reorganization of load dependencies.  (Bug#7156)
2045         * net/tramp.el (tramp-handle-file-local-copy-hook)
2046         (tramp-delete-temp-file-function): Move down.
2047         (tramp-exists-file-name-handler): Move up.
2048         (tramp-register-file-name-handlers): Simplify autoload.
2049         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2050         (tramp-handle-directory-files, tramp-handle-dired-uncache)
2051         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2052         (tramp-handle-file-name-completion)
2053         (tramp-handle-file-name-directory)
2054         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2055         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2056         (tramp-handle-find-backup-file-name)
2057         (tramp-handle-insert-file-contents, tramp-handle-load)
2058         (tramp-handle-substitute-in-file-name)
2059         (tramp-handle-unhandled-file-name-directory)
2060         (tramp-mode-string-to-int, tramp-local-host-p)
2061         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
2063         * net/tramp-gvfs.el (top):
2064         * net/tramp-smb.el (top): Do not require 'tramp-sh.
2066         * net/tramp-sh.el (all): Move several objects to tramp.el, see
2067         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2069 2010-10-04  Glenn Morris  <rgm@gnu.org>
2071         * calendar/appt.el (appt-add): Ensure reminders are enabled.
2072         (appt-activate): Give status messages.
2074 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
2076         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
2077         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
2078         `gnutls-negotiate' (formerly `starttls-negotiate').
2079         Remove trivial wrapper `starttls-open-stream'.
2081 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
2083         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2084         log-outgoing commands.
2085         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2086         to create a buffer local revert-buffer-function variable.
2087         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2088         revert-buffer-function lambda.
2090 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
2092         * net/gnutls.el (starttls-negotiate): Use the plist interface to
2093         `gnutls-boot'.  Make TYPE the only required parameter.
2094         Allow TRUSTFILES and KEYFILES to be lists.
2095         (open-ssl-stream): Use it.
2097 2010-10-03  Glenn Morris  <rgm@gnu.org>
2099         * subr.el (directory-sep-char): Remove obsolete variable.
2100         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2101         it is "necessary".
2103         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2104         * vc/vc.el (vc-static-header-alist): Doc fix.
2105         * vc/vc-cvs.el (vc-cvs-header):
2106         * vc/vc-rcs.el (vc-rcs-header):
2107         * vc/vc-sccs.el (vc-sccs-header):
2108         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2109         * obsolete/vc-mcvs.el (vc-mcvs-header):
2110         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2111         on XEmacs.
2113 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
2115         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2116         Remove obsolete use of binary-overwrite-mode (Bug#7001).
2118 2010-10-03  Glenn Morris  <rgm@gnu.org>
2120         * obsolete/x-menu.el: Remove file, obsolete since 21.1
2122         * textmodes/rst.el (rst-font-lock-keywords-function):
2123         Drop Emacs 20 code.
2125         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2127         * printing.el: Drop Emacs 20 code.
2129         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2130         without having used appt.el already).
2132         * subr.el (make-local-hook): Remove function obsolete since 21.1.
2133         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2134         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2135         XEmacs.
2136         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2137         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2139         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2140         (charset-width, find-charset-region, chars-in-region, forward-point)
2141         (encode-coding-string, coding-system-p, ccl-execute-on-string)
2142         (define-ccl-program, multibyte-string-p, string-make-multibyte):
2143         Remove compatibility cruft (none of these are used by ps*.el).
2145 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
2147         * subr.el (booleanp): Return t instead of a list (Bug#7086).
2149 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
2151         * server.el (server-process-filter, server-return-error):
2152         Give emacsclient time to shut down after receiving an error string.
2154 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
2156         * files.el (remote-file-name-inhibit-cache): New defcustom.
2158         * time.el (display-time-file-nonempty-p):
2159         Use `remote-file-name-inhibit-cache'.
2161         * net/tramp.el (tramp-completion-reread-directory-timeout):
2162         Fix docstring.
2164         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2165         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2166         `remote-file-name-inhibit-cache'.  Check also for an integer
2167         value.  Add/increase counter when `tramp-verbose' >= 10.
2168         (tramp-set-file-property): Add/increase counter when
2169         `tramp-verbose' >= 10.
2171         * net/tramp-cmds.el (tramp-cleanup-all-connections)
2172         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2173         (tramp-bug): Set tramp-autoload cookie.  Report all interned
2174         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
2175         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
2176         characters only in strings.
2178         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2179         to backward compatibility.
2181         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2182         (tramp-handle-file-name-all-completions)
2183         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2184         (tramp-open-connection-setup-interactive-shell):
2185         Call `tramp-cleanup-connection' directly.
2187 2010-10-02  Glenn Morris  <rgm@gnu.org>
2189         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2191         * subr.el (char-bytes): Remove obsolete function.
2193         * isearch.el (isearch-return-char): Remove obsolete function.
2195         * mouse.el: No longer provide mldrag.
2196         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2197         Remove obsolete aliases.
2199         * comint.el (comint-kill-output): Remove obsolete alias.
2201         * composite.el (decompose-composite-char): Remove obsolete function.
2202         * ps-def.el (decompose-composite-char): Remove unused function.
2204         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2206         * outline.el (outline-visible): Remove obsolete function.
2208         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2209         * faces.el (internal-find-face, internal-get-face)
2210         (frame-update-faces, frame-update-face-colors)
2211         (x-frob-font-weight, x-frob-font-slant)
2212         (internal-frob-font-weight, internal-frob-font-slant)
2213         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2214         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2215         (x-make-font-bold-italic): Remove functions and aliases, obsolete
2216         since Emacs 21.1.
2217         * emulation/viper-util.el (viper-get-face):
2218         * obsolete/lucid.el (find-face, get-face): Use facep.
2219         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2220         Remove unused functions.
2221         * vc/ediff-util.el (ediff-submit-report): Doc fix.
2223         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2224         delete tempfile if interrupted during compilation.
2226 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2228         * net/tls.el (tls-starttls-switches): Give up on using starttls with
2229         gnutls-cli.
2230         (tls-program): Add --insecure to be consistent with the defaults from
2231         openssl s_client.  Now all three commands are insecure.
2233 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
2235         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2236         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2237         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2239 2010-10-01  Glenn Morris  <rgm@gnu.org>
2241         * obsolete/sc.el: Remove file.
2243         * files.el (temporary-file-directory): On darwin, also try
2244         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2246 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
2248         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
2249         Let's not break compatibility gratuitously, shall we?
2251 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2253         * net/tls.el (tls-starttls-switches): New variable.
2254         (tls-find-starttls-argument): Use it.
2255         (open-tls-stream): Ditto.
2257         * net/netrc.el (netrc-credentials): Return the value of the "default"
2258         entry.
2259         (netrc-machine): Ditto.
2261 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
2263         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2265 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
2267         * server.el (server-start): Don't write pid to the authentication file.
2268         (server-create-tty-frame): Don't send pid.
2269         (server-process-filter): Send pid at the start of every connection.
2271 2010-09-30  Glenn Morris  <rgm@gnu.org>
2273         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2274         (show-all-diary-entries): Remove obsolete function aliases.
2276         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2277         Remove options, obsolete since 22.1.
2278         (appt-display-format, appt-display-message): Remove
2279         backwards-compatibility code.
2280         (appt-check): No longer check appt-issue-message.
2281         (appt-make-list): No longer autoload it.  Doc fix.  No longer
2282         activate the package.
2284 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2286         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2287         (starttls-negotiate): Just call boot, and let the handshake be
2288         triggered from the read loop.
2290 2010-09-29  Glenn Morris  <rgm@gnu.org>
2292         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2293         not displaying the diary.
2294         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2295         * calendar/appt.el (appt-check): No longer need to kill diary.
2297         * calendar/diary-lib.el (diary-list-entries): Move the
2298         "Preparing..." message entirely here.
2299         (diary-simple-display, diary-fancy-display): Move "Preparing..."
2300         messages to diary-list-entries.
2301         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2302         diary-display-function.
2304         * calendar/diary-lib.el (diary-include-other-diary-files):
2305         Trap some recursive includes.
2307         * calendar/appt.el (appt-activate): Check diary file.
2309 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
2311         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2312         construction.
2314         * calendar/time-date.el: No need to require cl for Emacs 21.
2316 2010-09-28  Glenn Morris  <rgm@gnu.org>
2318         * calendar/appt.el (appt-check): Minor simplification.
2320 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
2322         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2323         citation prefix.
2325 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
2327         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2328         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
2330 2010-09-27  Kenichi Handa  <handa@m17n.org>
2332         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2333         "ustar" format.
2335 2010-09-27  Kenichi Handa  <handa@m17n.org>
2337         * international/mule.el (define-coding-system): Docstring fixed.
2339         * international/mule-diag.el (describe-character-set): Use princ
2340         with proper print-length and print-level instead of insert.
2342 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
2344         * window.el (walk-windows): Doc fix (bug#7105).
2346 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2348         * emacs-lisp/float-sup.el (e): Remove.
2350 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
2352         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
2353         variable.
2354         (starttls-negotiate): Use it.
2356 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2358         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
2359         back.
2361 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2363         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
2365 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2367         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
2369         * net/netrc.el (netrc-store-data): New function.
2371 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
2373         * net/gnutls.el: GnuTLS glue code to set up a connection.
2375 2010-09-25  Julien Danjou  <julien@danjou.info>
2377         * notifications.el: Call dbus-register-signal only if it is bound.
2379 2010-09-25  Glenn Morris  <rgm@gnu.org>
2381         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2382         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2383         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2384         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2385         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2386         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
2387         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
2388         * eshell/esh-util.el, eshell/esh-var.el:
2389         Remove leading `*' from docs of faces and defcustoms.
2391 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
2393         * eshell/em-ls.el (eshell-ls-archive-regexp):
2394         * eshell/esh-util.el (eshell-tar-regexp):
2395         * ibuffer.el (ibuffer-compressed-file-name-regexp):
2396         * info.el (Info-suffix-list):
2397         * international/mule.el (auto-coding-alist):
2398         * woman.el (woman-file-regexp, woman-file-compression-regexp):
2399         * progmodes/etags.el (tags-compression-info-list):
2400         Support xz compression.
2402 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
2404         * files.el (get-free-disk-space): Don't assume the "df" output
2405         columns line up (Bug#6995).
2407 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
2409         * finder.el (finder-unknown-keywords):
2410         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2411         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2413 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
2415         * server.el (server-start): Revert part of 2010-08-08 change.  Using
2416         address 127.0.0.1 for local host is now done in Fmake_network_process.
2418 2010-09-24  Glenn Morris  <rgm@gnu.org>
2420         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
2421         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
2422         * textmodes/css-mode.el, textmodes/dns-mode.el:
2423         Move autoloaded auto-mode-alist entries to files.el.
2424         * files.el (auto-mode-alist): Move entries here.
2426 2010-09-23  Glenn Morris  <rgm@gnu.org>
2428         * isearch.el (isearch-lazy-highlight-cleanup)
2429         (isearch-lazy-highlight-initial-delay)
2430         (isearch-lazy-highlight-interval)
2431         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
2432         * net/net-utils.el (ipconfig-program-options):
2433         Move aliases to options before the associated definitions.
2435 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2437         * newcomment.el (comment-normalize-vars): Better test validity of
2438         comment-end-skip.
2440 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2442         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
2443         (float-e): New name for `e'.
2444         (degrees-to-radians, radians-to-degrees):
2445         * calendar/solar.el (solar-longitude):
2446         * calculator.el (calculator-registers, calculator-funcall):
2447         * textmodes/artist.el (artist-spray-random-points):
2448         * play/bubbles.el (bubbles--initialize-images): Use new names.
2450 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
2452         Update to CEDET 1.0's version of EIEIO.
2454         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
2455         New function.
2456         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
2457         (eieio-default-eval-maybe): Eval val instead of unquoting only.
2458         (class-precedence-list): If class is nil, return nil.
2459         (eieio-generic-call): If class of first input arg is nil, don't
2460         look up static methods, and do check for primary methods.
2461         (initialize-instance): See if the default needs to be evaluated
2462         during the constructor.
2463         (eieio-perform-slot-validation-for-default): Don't do the check
2464         for values that will eventually be evaluated.
2465         (eieio-eval-default-p): New function.
2466         (eieio-default-eval-maybe): Use it.
2468 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2470         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
2471         method-invocation-order.
2472         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
2473         (eieio-class-precedence-dfs): Compute class precedence list using
2474         dfs algorithm.
2475         (eieio-class-precedence-bfs): Compute class precedence list using
2476         bfs algorithm.
2477         (eieio-class-precedence-c3): Compute class precedence list using
2478         c3 algorithm.
2479         (class-precedence-list): New function.
2480         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
2481         (inconsistent-class-hierarchy): New error symbol.
2482         (call-next-method): Stow the replacement argument list for future
2483         call-next-method invocations.
2485 2010-09-23  Glenn Morris  <rgm@gnu.org>
2487         * calendar/appt.el (appt-check): If not displaying the diary,
2488         use (diary 1) to only get the entries we need.
2489         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
2490         that it is in day order.  (Bug#7019)
2492         * calendar/appt.el (appt-check): Rather than showing the diary,
2493         just turn off invisible display, and only if needed.
2495         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
2497 2010-09-23  Glenn Morris  <rgm@gnu.org>
2499         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2500         (byte-compile-defvar, byte-compile-cl-warn):
2501         Start warnings with lower-case, like the majority.
2503         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
2505         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
2507         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
2508         * files.el (auto-mode-alist): Move ld-script entries here, further down
2509         the list.
2511         * vc/add-log.el: Don't require timezone when compiling.
2512         (timezone-make-date-sortable): Autoload it.
2513         (change-log-sortable-date-at): Don't require timezone.
2514         Use `ignore-errors'.
2516         * comint.el (comint-use-prompt-regexp-instead-of-fields):
2517         Move alias before definition, so it does not need autoloading.
2519         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
2520         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
2521         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
2522         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
2523         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
2524         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
2525         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
2526         * textmodes/tex-mode.el, textmodes/two-column.el:
2527         Remove leading `*' from docs of defcustoms etc.
2529 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
2531         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
2533 2010-09-22  Dan Christensen  <jdc@uwo.ca>
2535         * calendar/time-date.el (date-to-time): Try using parse-time-string
2536         first before using the slower timezone-make-date-arpa-standard.
2538 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
2540         * calendar/time-date.el (format-seconds): Comment fix.
2542 2010-09-22  Glenn Morris  <rgm@gnu.org>
2544         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
2545         is not automatically buffer-local.
2547 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2549         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
2550         (smie-indent-comment): Be more careful with comment-start-skip.
2551         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
2552         (smie-indent-functions): Use them.
2554 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
2556         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
2558 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
2560         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
2561         tool-bar-position.  Don't modify frame parameters here.
2562         (menu-bar-options-save): Add tool-bar-position.
2564         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
2566 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2568         * textmodes/reftex-parse.el (reftex-what-macro)
2569         (reftex-context-substring): Let-bind forward-sexp-function to nil
2570         since we don't need/want to treat \begin...\end as a block (bug#7053).
2572         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
2574         * simple.el (blink-matching-open): Use syntax-class.
2576         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
2577         Set invisibility spec for pascal's outline mode.
2578         (pascal-outline-change): Clean up calling convention.
2579         (pascal-show-all, pascal-hide-other-defuns): Update callers.
2581         * progmodes/prolog.el (prolog-smie-forward-token)
2582         (prolog-smie-backward-token): New functions.
2583         (prolog-mode-variables): Use them to parse "!," correctly.
2584         Set up smie-blink-matching for ".".
2586         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
2587         and `end'.
2588         (ispell-region, ispell-process-line): Update users.
2590         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
2591         point-min==1.
2593         * textmodes/ispell.el: Fix commenting convention.
2594         (ispell-parse-output): Simplify, use push.
2595         (ispell-region): Use match-string-no-properties.
2596         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
2597         (ispell-minor-mode): Use define-minor-mode.
2598         (ispell-message): Remove unused var `skip-regexp'.
2599         (ispell-add-per-file-word-list): Use dynamic let-binding.
2600         Try and use the proper comment marker.
2602         * mail/sendmail.el: Fix commenting convention.
2603         (sendmail-send-it): Use line-beginning-position.
2605         * help-fns.el (describe-variable): Add original value, if applicable.
2607 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
2609         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
2611         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
2613 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2615         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
2616         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
2617         (smie-prec2-levels): Use them to better diagnose precedence cycles.
2618         (smie-blink-matching-check): Don't signal a mismatch if car is t.
2619         (smie-blink-matching-open): Rewrite to remove assumptions, so that
2620         something like "." can also be a closer.
2621         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
2622         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
2623         Rename internal functions to use "--".  Update callers.
2625         * frame.el (make-frame-names-alist): Don't list frames on other displays.
2627         * fringe.el (fringe-styles): New var.
2628         (fringe-mode, fringe-query-style): Use it.
2630 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
2632         * progmodes/sql.el: Version 2.8
2633         (sql-login-params): Update widget structure; changes still needed.
2634         (sql-product-alist): Add :list-all and :list-table features for
2635         SQLite, Postgres and MySQL products.
2636         (sql-redirect): Handle default value.
2637         (sql-execute, sql-execute-feature): New functions.
2638         (sql-read-table-name): New function.
2639         (sql-list-all, sql-list-table): New functions.  User API.
2640         (sql-mode-map, sql-interactive-mode-map): Add key definitions
2641         for above functions.
2642         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
2643         for above functions.
2644         (sql-postgres-login-params): Add user and database defaults.
2645         (sql-buffer-live-p): Bug fix.
2646         (sql-product-history): New variable.
2647         (sql-read-product): New function. Use it.
2648         (sql-set-product, sql-product-interactive): Use it.
2649         (sql-connection-history): New variable.
2650         (sql-read-connection): New function.  Use it.
2651         (sql-connect): New function.
2652         (sql-for-each-login): Redesign function interface.
2653         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
2654         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
2655         (sql-comint): Check for program.  Existing live buffer.
2656         (sql-comint-postgres): Add port parameter.
2658 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2660         * emacs-lisp/warnings.el: Fix commenting convention.
2661         (display-warning): Use special mode and make the buffer read-only.
2663 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
2665         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
2666         empty string when it follows a repeated or optional pattern.
2668 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2670         * indent.el (indent-according-to-mode): Apply syntax-propertize.
2671         (indent-region): Use indent-according-to-mode.
2673 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
2675         * fringe.el (fringe-mode): Doc fix.
2677 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
2679         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
2680         refreshing the preview buffer.
2682 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2684         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
2685         (latex-syntax-propertize-rules): New consts; replace
2686         tex-font-lock-syntactic-keywords.
2687         (tex-env-mark, latex-env-before-change): New functions.
2688         (latex-electric-env-pair-mode): New minor mode.
2689         (tex-font-lock-verb): Change arguments; do move point.
2690         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
2691         representation as a form of comment.
2692         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
2693         (doctex-syntax-propertize-rules): New const; replaces
2694         doctex-font-lock-syntactic-keywords.
2695         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
2697         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
2698         (fortran-make-syntax-propertize-function): New function; replaces
2699         fortran-font-lock-syntactic-keywords.
2700         (fortran-mode): Use it.
2701         (fortran-line-length): Use it.  Improve interactive spec.
2703         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
2704         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
2705         when adding surrounding \(..\).
2707         * progmodes/js.el (js-mode): Fix last change (bug#7054).
2709 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2711         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
2712         Use with-current-buffer.
2714         * isearch.el (isearch-face): Rename from `isearch'.
2715         (isearch-highlight): Use new name.
2717 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
2719         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
2720         5, for `half' width fringes.  (Bug#6933)
2722 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2724         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2725         (byte-compile-defvar): "foo/bar" does not lack a prefix.
2727         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
2729 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
2731         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
2732         in calculating new frame position.  Add more space between new and
2733         parent on the left (Bug#7048).
2735 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
2737         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
2738         defmacro.
2740 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
2742         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
2744         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
2745         obsolete alias for x-selection-value.
2747         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
2749 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
2751         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
2752         cookie.
2754 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
2756         * net/tramp-compat.el (tramp-compat-with-temp-message)
2757         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
2758         (tramp-compat-process-put): New defuns.
2760         * net/tramp.el (top):
2761         * net/tramp-gvfs.el (top):
2762         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
2764         * net/tramp.el (tramp-progress-reporter-update):
2765         Use `tramp-compat-funcall'.
2767         * net/tramp.el (tramp-process-actions):
2768         * net/tramp-gvfs.el (tramp-handle-vc-registered):
2769         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
2770         (tramp-get-remote-stat, tramp-get-remote-readlink):
2771         Use `tramp-compat-with-temp-message'.
2773         * net/tramp-sh.el (top): Require 'cl.
2774         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
2775         (tramp-open-connection-setup-interactive-shell):
2776         Use `tramp-compat-process-put'.
2778 2010-09-15  Alan Mackenzie  <acm@muc.de>
2780         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
2781         indentation.
2782         (c-forward-<>-arglist-recur): Fix an infinite recursion.
2784 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2786         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
2787         `lexical' for warnings related to lexical scoping.
2788         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
2789         global vars which don't have a prefix and could hence affect lexical
2790         scoping in unrelated files.
2792 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2794         * net/imap.el: Revert back to version
2795         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
2796         seem problematic.
2798 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
2800         * obsolete/old-whitespace.el (whitespace-unload-function):
2801         Explicitly pass `obarray' to `unintern' to avoid a warning.
2803 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2805         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
2806         Add `when' argument.  Update callers.
2808         * subr.el (unintern): Declare the obarray arg mandatory.
2810 2010-09-14  Glenn Morris  <rgm@gnu.org>
2812         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
2813         Doc fixes.
2815         * calendar/diary-lib.el (diary-included-files): New variable.
2816         (diary-list-entries): Maybe initialize diary-included-files.
2817         (diary-include-other-diary-files): Append to diary-included-files.
2818         * calendar/appt.el (appt-update-list): Also check the members of
2819         diary-included-files.  (Bug#6999)
2820         (appt-check): Doc fix.
2822 2010-09-14  David Reitter  <david.reitter@gmail.com>
2824         * simple.el (line-move-visual): Do not truncate goal column to
2825         integer size.  (Bug#7020)
2827 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2829         * repeat.el (repeat): Allow repeating when the last event is a click.
2830         Suggested by Drew Adams (bug#6256).
2832 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
2834         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
2835         Replace setting HGRCPATH to "" by some less invasive --config options.
2837 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2839         * font-lock.el (font-lock-beginning-of-syntax-function):
2840         Mark as obsolete.
2842 2010-09-14  Glenn Morris  <rgm@gnu.org>
2844         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
2845         and tool-bar modes.  (Bug#6211)
2846         (menu-bar-mode): Move setting of standard-value after the
2847         minor-mode definition, otherwise it seems to have no effect.
2849 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
2851         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
2852         Fix typo.  (Bug#6976)
2854 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2856         * whitespace.el: Allow cleaning up blanks without blank
2857         visualization (Bug#6651).  Adjust help window for
2858         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
2859         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
2860         (whitespace-style): Add new value 'face.  Adjust docstring.
2861         (whitespace-space, whitespace-hspace, whitespace-tab):
2862         Adjust foreground property face.
2863         (whitespace-line-column): Adjust docstring and type declaration.
2864         (whitespace-style-value-list, whitespace-toggle-option-alist)
2865         (whitespace-help-text): Adjust const initialization.
2866         (whitespace-toggle-options, global-whitespace-toggle-options):
2867         Adjust docstring.
2868         (whitespace-display-window, whitespace-interactive-char)
2869         (whitespace-style-face-p, whitespace-color-on): Adjust code.
2870         (whitespace-help-scroll): New fun.
2872 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
2874         * calendar/time-date.el (format-seconds): Comment fix.
2876 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
2878         * progmodes/sql.el: Version 2.7.
2879         (sql-buffer-live-p): Improve detection.
2880         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2881         (sql-set-sqli-buffer): Use it.
2882         (sql-product-interactive): Run `sql-set-sqli-hook'.
2883         (sql-rename-buffer): Code cleanup.
2884         (sql-redirect, sql-redirect-value): New functions.  More to come.
2886 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
2888         Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
2889         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2890         (TRAMP_SRC): New macro.
2891         ($(lisp)/net/tramp-loaddefs.el): New target.
2893 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
2895         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
2897         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
2899         * net/tramp.el (top): Don't show loading message.  Require just
2900         'tramp-compat, everything else is required there.
2901         Use `ignore-errors' where appropriate.
2902         (tramp-inline-compress-start-size, tramp-copy-size-limit)
2903         (tramp-terminal-type, tramp-end-of-output)
2904         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
2905         (tramp-completion-function-alist-ssh)
2906         (tramp-completion-function-alist-telnet)
2907         (tramp-completion-function-alist-su)
2908         (tramp-completion-function-alist-putty, tramp-remote-path)
2909         (tramp-remote-process-environment, tramp-sh-extra-args)
2910         (tramp-actions-before-shell, tramp-uudecode)
2911         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
2912         (tramp-perl-file-attributes)
2913         (tramp-perl-directory-files-and-attributes)
2914         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
2915         (tramp-perl-encode, tramp-perl-decode)
2916         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
2917         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
2918         (tramp-handle-make-symbolic-link, tramp-handle-load)
2919         (tramp-handle-file-name-as-directory)
2920         (tramp-handle-file-name-directory)
2921         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2922         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
2923         (tramp-do-file-attributes-with-ls)
2924         (tramp-do-file-attributes-with-perl)
2925         (tramp-do-file-attributes-with-stat)
2926         (tramp-handle-set-visited-file-modtime)
2927         (tramp-handle-verify-visited-file-modtime)
2928         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
2929         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
2930         (tramp-handle-file-selinux-context)
2931         (tramp-handle-set-file-selinux-context)
2932         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
2933         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
2934         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
2935         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
2936         (tramp-handle-file-ownership-preserved-p)
2937         (tramp-handle-directory-file-name, tramp-handle-directory-files)
2938         (tramp-handle-directory-files-and-attributes)
2939         (tramp-do-directory-files-and-attributes-with-perl)
2940         (tramp-do-directory-files-and-attributes-with-stat)
2941         (tramp-handle-file-name-all-completions)
2942         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
2943         (tramp-handle-copy-file, tramp-handle-copy-directory)
2944         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
2945         (tramp-do-copy-or-rename-file-via-buffer)
2946         (tramp-do-copy-or-rename-file-directly)
2947         (tramp-do-copy-or-rename-file-out-of-band)
2948         (tramp-handle-make-directory, tramp-handle-delete-directory)
2949         (tramp-handle-delete-file)
2950         (tramp-handle-dired-recursive-delete-directory)
2951         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
2952         (tramp-handle-insert-directory)
2953         (tramp-handle-unhandled-file-name-directory)
2954         (tramp-handle-expand-file-name)
2955         (tramp-handle-substitute-in-file-name)
2956         (tramp-handle-executable-find, tramp-process-sentinel)
2957         (tramp-handle-start-file-process, tramp-handle-process-file)
2958         (tramp-handle-call-process-region, tramp-handle-shell-command)
2959         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
2960         (tramp-handle-insert-file-contents)
2961         (tramp-handle-insert-file-contents-literally)
2962         (tramp-handle-find-backup-file-name)
2963         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
2964         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
2965         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
2966         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
2967         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
2968         (tramp-find-file-exists-command, tramp-open-shell)
2969         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
2970         (tramp-open-connection-setup-interactive-shell)
2971         (tramp-local-coding-commands, tramp-remote-coding-commands)
2972         (tramp-find-inline-encoding, tramp-call-local-coding-command)
2973         (tramp-inline-compress-commands, tramp-find-inline-compress)
2974         (tramp-compute-multi-hops, tramp-maybe-open-connection)
2975         (tramp-send-command, tramp-wait-for-output)
2976         (tramp-send-command-and-check, tramp-barf-unless-okay)
2977         (tramp-send-command-and-read, tramp-mode-string-to-int)
2978         (tramp-convert-file-attributes, tramp-check-cached-permissions)
2979         (tramp-file-mode-from-int, tramp-file-mode-permissions)
2980         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
2981         (tramp-method-out-of-band-p, tramp-local-host-p)
2982         (tramp-get-remote-path, tramp-get-remote-tmpdir)
2983         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
2984         (tramp-get-test-command, tramp-get-test-nt-command)
2985         (tramp-get-file-exists-command, tramp-get-remote-ln)
2986         (tramp-get-remote-perl, tramp-get-remote-stat)
2987         (tramp-get-remote-readlink, tramp-get-remote-trash)
2988         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
2989         (tramp-get-local-uid, tramp-get-local-gid)
2990         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
2991         tramp-sh.el.
2992         (tramp-methods, tramp-default-method-alist)
2993         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
2994         Move initialization to tramp-sh.el.
2995         (tramp-temp-name-prefix): Make it a defconst.
2996         (tramp-dissect-file-name): Don't check anymore for multi-hop
2997         methods.
2998         (tramp-debug-outline-regexp): Add a docstring.
2999         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3000         (tramp-get-debug-buffer): Use it.
3002         * net/tramp-cache.el (top): Set tramp-autoload cookie for
3003         initialization forms.
3004         (tramp-set-connection-property): Don't protect `tramp-message'
3005         call, it isn't necessary any longer.
3006         (tramp-dump-connection-properties): Use `ignore-errors'.
3008         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3009         'password-cache and 'auth-source.
3011         * net/tramp-gvfs.el (top):
3012         * net/tramp-smb.el (top): Require 'tramp-sh.
3014         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3016         * net/tramp-sh.el: New file, derived from tramp.el.
3017         (top): Initialize `tramp-methods', `tramp-default-method-alist',
3018         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3019         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3020         Use `ignore-errors' where appropriate.
3021         (tramp-sh-file-name-handler-alist): Rename from
3022         `tramp-file-name-handler-alist'.
3023         (tramp-send-command-and-check): Return t or nil.  Remove all
3024         `zerop' checks, where called.
3025         (tramp-handle-set-file-modes)
3026         (tramp-do-copy-or-rename-file-directly)
3027         (tramp-handle-delete-directory, tramp-handle-delete-file)
3028         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
3029         (tramp-sh-file-name-handler, tramp-send-command-and-check)
3030         (tramp-get-remote-ln): Set tramp-autoload cookie.
3032         * net/tramp-fish.el: Remove file.
3034 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
3036         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3037         buffer-file-name to avoid file-locking.  (Bug#7026)
3039 2010-09-13  Julien Danjou  <julien@danjou.info>
3041         * notifications.el (notifications-notify): Add support for
3042         image-path and sound-name.
3043         (notifications-specification-version): Add this variable.
3045 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3047         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
3049 2010-09-12  Leo  <sdl.web@gmail.com>
3051         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3052         (rcirc-completion-start): New variables.
3053         (rcirc-nick-completions): Rename to rcirc-completions.
3054         (rcirc-nick-completion-start-offset): Delete.
3055         (rcirc-completion-at-point): New function for constructing
3056         completion data for both nicks and irc commands.  Add to
3057         completion-at-point-functions in rcirc mode.
3058         (rcirc-complete): Rename from rcirc-nick-complete; use
3059         rcirc-completion-at-point.
3060         (defun-rcirc-command): Update rcirc-client-commands.
3062 2010-09-11  Glenn Morris  <rgm@gnu.org>
3064         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3065         atomically, to avoid parallel build errors.  (Bug#4196)
3067 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
3069         * progmodes/sql.el: Version 2.6
3070         (sql-dialect): Synonym for "sql-product".
3071         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3072         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3073         Set "sql-buffer" to buffer name not buffer object so multiple sql
3074         interactive buffers work properly.  Reverts misguided changes in
3075         earlier work.
3076         (sql-comint): Make sure different buffer name is used if "*SQL*"
3077         buffer is for a different product.
3078         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3079         login param.
3080         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3081         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3082         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3083         Accept new buffer name or prompt for one.
3084         (sql-port): Default to zero.
3085         (sql-comint-mysql): Handle "sql-port" as a numeric.
3086         (sql-port-history): Delete unused variable.
3087         (sql-get-login): Default "sql-port" to a number.
3088         (sql-product-alist): Correct Postgres prompt and terminator regexp.
3089         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3090         "sqlite3" executables.
3091         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
3092         (sql-buffer-live-p): New function.
3093         (sql-mode-menu, sql-send-string): Use it.
3094         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3095         syntax pattern.
3096         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3097         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3099 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3101         * net/netrc.el (netrc-credentials): New convenience function.
3103 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3105         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3106         to replace texinfo-font-lock-syntactic-keywords.
3107         (texinfo-mode): Use it.
3109         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3110         Use syntax-propertize-function.
3112         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3113         replace sgml-font-lock-syntactic-keywords.
3114         (sgml-mode): Use it.
3116         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3117         since we don't use it.
3119         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3121         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3122         if available.
3123         (vhdl-fontify-buffer): Adjust.
3125         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3126         replace tcl-font-lock-syntactic-keywords.
3127         (tcl-mode): Use it.
3129         * progmodes/simula.el (simula-syntax-propertize-function): New var to
3130         replace simula-font-lock-syntactic-keywords.
3131         (simula-mode): Use it.
3133         * progmodes/sh-script.el (sh-st-symbol): Remove.
3134         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3135         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3136         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3137         (sh-font-lock-paren): Set syntax-multiline.
3138         (sh-font-lock-syntactic-keywords): Remove.
3139         (sh-syntax-propertize-function): New function to replace it.
3140         (sh-mode): Use it.
3142         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3143         Define while compiling.
3144         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3145         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3146         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3147         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3148         (ruby-here-doc-end-syntax): Only define when
3149         syntax-propertize is not available.
3150         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3151         New functions.
3152         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3153         (electric-indent-chars): Silence bytecompiler.
3154         (ruby-mode): Use prog-mode, syntax-propertize-function, and
3155         electric-indent-chars.
3157         * progmodes/python.el (python-syntax-propertize-function): New var to
3158         replace python-font-lock-syntactic-keywords.
3159         (python-mode): Use it.
3160         (python-quote-syntax): Simplify and adjust to new use.
3162         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3163         replace perl-font-lock-syntactic-keywords.
3164         (perl-syntax-propertize-special-constructs): New fun to replace
3165         perl-font-lock-special-syntactic-constructs.
3166         (perl-font-lock-syntactic-face-function): New fun.
3167         (perl-mode): Use it.
3169         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3170         to replace octave-font-lock-close-quotes.
3171         (octave-syntax-propertize-function): New function to replace
3172         octave-font-lock-syntactic-keywords.
3173         (octave-mode): Use it.
3175         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3176         replaces mixal-font-lock-syntactic-keywords.
3177         (mixal-mode): Use it.
3179         * progmodes/make-mode.el (makefile-syntax-propertize-function):
3180         New var; replaces makefile-font-lock-syntactic-keywords.
3181         (makefile-mode): Use it.
3182         (makefile-imake-mode): Adjust.
3184         * progmodes/js.el (js--regexp-literal): Define while compiling.
3185         (js-syntax-propertize-function): New var; replaces
3186         js-font-lock-syntactic-keywords.
3187         (js-mode): Use it.
3189         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3190         replaces gdb-script-font-lock-syntactic-keywords.
3191         (gdb-script-mode): Use it.
3193         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3194         (fortran--font-lock-syntactic-keywords): New var.
3195         (fortran-line-length): Update syntax-propertize-function and
3196         fortran--font-lock-syntactic-keywords.
3198         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3200         * progmodes/cfengine.el (cfengine-mode):
3201         Use syntax-propertize-function.
3202         (cfengine-font-lock-syntactic-keywords): Remove.
3204         * progmodes/autoconf.el (autoconf-mode):
3205         Use syntax-propertize-function.
3206         (autoconf-font-lock-syntactic-keywords): Remove.
3208         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3209         (ada-after-change-function, ada-initialize-syntax-table-properties)
3210         (ada-handle-syntax-table-properties): Only define when
3211         syntax-propertize is not available.
3212         (ada-mode): Use syntax-propertize-function.
3214         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3215         (font-lock-fontify-syntactic-keywords-region): Move handling of
3216         font-lock-syntactically-fontified to...
3217         (font-lock-default-fontify-region): ...here.
3218         Let syntax-propertize-function take precedence.
3219         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3221         * emacs-lisp/syntax.el (syntax-propertize-function)
3222         (syntax-propertize-chunk-size, syntax-propertize--done)
3223         (syntax-propertize-extend-region-functions): New vars.
3224         (syntax-propertize-wholelines, syntax-propertize-multiline)
3225         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3226         (syntax-propertize): New functions.
3227         (syntax-propertize-rules): New macro.
3228         (syntax-ppss-flush-cache): Set syntax-propertize--done.
3229         (syntax-ppss): Call syntax-propertize.
3231         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3233 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
3235         * textmodes/ispell.el (ispell-init-process): Improve comments.
3236         XEmacs compatibility changes regarding (add-hook) 'local option
3237         and (set-process-query-on-exit-flag).
3239 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
3241         * net/tramp-cache.el (tramp-parse-connection-properties):
3242         Set tramp-autoload cookie.
3244 2010-09-09  Glenn Morris  <rgm@gnu.org>
3246         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3247         (imagemagick-register-types): Doc fix.
3249 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3251         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3253         * progmodes/js.el (require): Require is already "eval-and-compile".
3254         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
3255         (js--re-search-backward): Use js--re-search-forward.
3257         * progmodes/fortran.el (fortran-line-length): Don't recompute
3258         syntactic keywords redundantly a second time.
3260         * progmodes/ada-mode.el: Replace "(set '" with setq.
3261         (ada-mode): Simplify.
3262         (ada-create-case-exception, ada-adjust-case-interactive)
3263         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3264         (ada-search-ignore-string-comment, ada-move-to-start)
3265         (ada-move-to-end): Use with-syntax-table.
3267         * font-lock.el (save-buffer-state): Remove `varlist' arg.
3268         (font-lock-unfontify-region, font-lock-default-fontify-region):
3269         Update usage correspondingly.
3270         (font-lock-fontify-syntactic-keywords-region):
3271         Set parse-sexp-lookup-properties buffer-locally here.
3272         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3274         * simple.el (blink-matching-open): Don't burp if we can't find a match.
3276 2010-09-08  Glenn Morris  <rgm@gnu.org>
3278         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3279         Error if not compiled with -DBYTE_CODE_METER.
3281         * emacs-lisp/bytecomp.el (byte-recompile-directory):
3282         Ignore dir-locals-file.
3284 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3286         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3287         Not a const.
3288         (compilation-error-regexp-alist-alist): Rule out ": " in file names
3289         for the `gnu' messages.
3290         (compilation-set-skip-threshold): New command.
3291         (compilation-start): Use \' rather than $.
3292         (compilation-forget-errors): Use clrhash.
3294 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
3296         * textmodes/ispell.el (ispell-valid-dictionary-list):
3297         Simplify logic.
3299 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
3301         Migrate to Tramp 2.2.  Rearrange load dependencies.
3302         (Bug#1529, Bug#5448, Bug#5705)
3304         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3305         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3306         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3308         * net/tramp.el (top): Remove all other tramp-* loads except
3309         tramp-compat.el.  Remove all changes to tramp-unload-hook for
3310         other tramp-* packages.  Rearrange defun order.  Change calls of
3311         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3312         `tramp-compat-octal-to-decimal' to new function names.
3313         (tramp-terminal-type, tramp-initial-end-of-output)
3314         (tramp-methods, tramp-foreign-file-name-handler-alist)
3315         (tramp-tramp-file-p, tramp-completion-mode-p)
3316         (tramp-send-command-and-check, tramp-get-remote-path)
3317         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3318         (tramp-shell-quote-argument): Set tramp-autoload cookie.
3319         (with-file-property, with-connection-property): Move to
3320         tramp-cache.el.
3321         (tramp-local-call-process, tramp-decimal-to-octal)
3322         (tramp-octal-to-decimal): Move to tramp-compat.el.
3323         (tramp-handle-shell-command): Do not require 'shell.
3324         (tramp-compute-multi-hops): No special handling for tramp-gw-*
3325         symbols.
3326         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3328         * net/tramp-cache.el (top): Require 'tramp.  Add to
3329         `tramp-unload-hook'.
3330         (tramp-cache-data, tramp-get-file-property)
3331         (tramp-set-file-property, tramp-flush-file-property)
3332         (tramp-flush-directory-property, tramp-get-connection-property)
3333         (tramp-set-connection-property, tramp-flush-connection-property)
3334         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3335         cookie.
3336         (with-file-property, with-connection-property): New defuns, moved
3337         from tramp.el.
3338         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
3339         macro.
3341         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
3342         (tramp-version): Set tramp-autoload cookie.
3344         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
3345         changes to tramp-unload-hook for other tramp-* packages.  Add to
3346         `tramp-unload-hook'.
3347         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
3348         (tramp-compat-call-process): New defuns, moved from tramp.el.
3350         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
3351         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
3352         to `tramp-unload-hook'.  Change call of
3353         `tramp-compat-decimal-to-octal' to new function name.
3354         (tramp-fish-method): Make it a defconst.
3355         (tramp-fish-file-name-p): Make it a defsubst.
3356         (tramp-fish-method, tramp-fish-file-name-handler)
3357         (tramp-fish-file-name-p): Set tramp-autoload cookie.
3359         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
3360         `tramp-foreign-file-name-handler-alist'.  Add to
3361         `tramp-unload-hook'.
3362         (tramp-ftp-method): Make it a defconst.
3363         (tramp-ftp-file-name-p): Make it a defsubst.
3364         (tramp-ftp-method, tramp-ftp-file-name-handler)
3365         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
3367         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
3368         `tramp-foreign-file-name-handler-alist'.  Add to
3369         `tramp-unload-hook'.  Change checks, whether package can be
3370         loaded.
3371         (tramp-gvfs-file-name-p): Make it a defsubst.
3372         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
3373         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
3374         (tramp-gvfs-handle-file-directory-p): New defun.
3375         (tramp-gvfs-file-name-handler-alist): Use it.
3377         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
3378         `tramp-foreign-file-name-handler-alist'.  Add to
3379         `tramp-unload-hook'.
3380         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
3381         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
3382         defconst.
3383         (tramp-gw-tunnel-method, tramp-gw-socks-method)
3384         (tramp-gw-open-connection): Set tramp-autoload cookie.
3386         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
3387         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
3388         to `tramp-unload-hook'.  Change checks, whether package can be
3389         loaded.
3390         (tramp-imap-file-name-p): Make it a defsubst.
3391         (tramp-imap-method, tramp-imaps-method)
3392         (tramp-imap-file-name-handler)
3393         (tramp-imap-file-name-p): Set tramp-autoload cookie.
3395         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
3396         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
3397         to `tramp-unload-hook'.  Change checks, whether package can be
3398         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
3399         function name.
3400         (tramp-smb-tunnel-method): Make it a defconst.
3401         (tramp-smb-file-name-p): Make it a defsubst.
3402         (tramp-smb-method, tramp-smb-file-name-handler)
3403         (tramp-smb-file-name-p): Set tramp-autoload cookie.
3405         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3406         (tramp-uuencode-region): Set tramp-autoload cookie.
3408         * net/trampver.el (top) Add to `tramp-unload-hook'.
3409         (tramp-version, tramp-bug-report-address): Set tramp-autoload
3410         cookie.  Update release number.
3412 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
3414         * textmodes/ispell.el (ispell-start-process): Make sure original
3415         arg list is properly initialized (Bug#6993, Bug#6994).
3417 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
3419         * files.el (directory-abbrev-alist): Use \` as default regexp.
3421         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
3422         chars like - or ] (bug#6984).
3423         (rx-any-condense-range): Explode 2-char ranges.
3425 2010-09-06  Glenn Morris  <rgm@gnu.org>
3427         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
3429 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3431         * textmodes/bibtex.el:
3432         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
3434 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3436         * net/imap.el (imap-message-map): Remove optional buffer parameter,
3437         since no callers use it.
3438         (imap-message-get): Ditto.
3439         (imap-message-put): Ditto.
3440         (imap-mailbox-map): Ditto.
3441         (imap-mailbox-put): Ditto.
3442         (imap-mailbox-get): Ditto.
3443         (imap-mailbox-get): Revert last change for this function.
3445 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3447         * net/imap.el (imap-fetch-safe): Remove function, and alter all
3448         callers to use `imap-fetch' instead.  According to the comments, this
3449         should be safe, since all other IMAP clients use the 1:* syntax.
3450         (imap-enable-exchange-bug-workaround): Remove.
3451         (imap-debug): Remove -- doesn't seem very useful.
3453 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3455         * net/imap.el (imap-log): New convenience function used throughout
3456         instead of repeating the same code all over the place.
3458 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
3460         * mouse.el (mouse-save-then-kill): Save region to kill-ring
3461         when mouse-drag-copy-region is non-nil (Bug#6956).
3463 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
3465         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
3466         Improve regexps (Bug#6987).
3467         (dired-sort-toggle): Search more robustly for -t flag.
3469         * files.el (get-free-disk-space): Search more robustly for
3470         "available" column.  Suggested by Ehud Karni
3471         <ehud@unix.mvs.co.il>.
3473 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
3475         * international/uni-bidi.el:
3476         * international/uni-category.el:
3477         * international/uni-combining.el:
3478         * international/uni-decimal.el:
3479         * international/uni-mirrored.el:
3480         * international/uni-name.el: Regenerate.
3482 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3484         * electric.el (electric-indent-post-self-insert-function):
3485         Don't reindent with a sloppy indentation function.
3487         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
3488         border case in change-log-mode.
3490 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
3492         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3493         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
3494         Recognize leading tab in gcc-include regexp.  Ignore names with
3495         leading "from" or "in" in gnu regexp (Bug#6937).
3497 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3499         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
3500         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
3501         (ispell-start-process): Avoid setq and simplify logic.
3502         (ispell-init-process): Setup kill-buffer-hook locally when needed.
3503         (kill-buffer-hook): Don't use it globally with code that uses
3504         expand-file-name since that may call kill-buffer via
3505         code_conversion_restore.
3507 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
3509         * emacs-lisp/package.el (package-directory-list): Only call
3510         file-name-nondirectory on a string.
3512 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
3514         * emacs-lisp/package.el (package--download-one-archive):
3515         Ensure that archive-contents is valid before saving it.
3516         (package-activate-1, package-mark-obsolete, define-package)
3517         (package-compute-transaction, package-list-maybe-add): Use push.
3519 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3521         Use SMIE's blink-paren for octave-mode.
3522         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
3523         Backslashes do not escape single-quotes, single-quotes do.
3524         (octave-block-else-regexp, octave-block-end-regexp)
3525         (octave-block-match-alist): Remove.
3526         (octave-smie-bnf-table): New var, with old content.
3527         (octave-smie-op-levels): Use it.
3528         (octave-smie-closer-alist): New var.
3529         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
3530         (octave-blink-matching-block-open): Remove.
3531         (octave-reindent-then-newline-and-indent, octave-electric-semi)
3532         (octave-electric-space): Let self-insert-command run expand-abbrev and
3533         blink parens.
3535         * electric.el (electricity): New group.
3536         (electric-indent-chars): New var.
3537         (electric-indent-post-self-insert-function): New fun.
3538         (electric-indent-mode): New minor mode.
3539         (electric-pair-skip-self): New custom.
3540         (electric-pair-post-self-insert-function): New function.
3541         (electric-pair-mode): New minor mode.
3543         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
3544         calcAlg-blink-matching-open.
3545         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
3546         (calc-do-alg-entry): Only touch the part of the keymap that varies.
3547         Use the new blink-matching-check-function.
3549         Provide blink-matching support to SMIE.
3550         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
3551         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
3552         (smie-blink-matching-check, smie-blink-matching-open): New functions.
3554         * simple.el (newline): Fix last change to properly remove itself from
3555         the hook.
3557 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3559         * simple.el (newline): Eliminate optimization.
3560         Use post-self-insert-hook to set hard-newline and things before
3561         running post-self-insert-hook.
3562         (blink-matching-check-mismatch): New function.
3563         (blink-matching-check-function): New variable.
3564         (blink-matching-open): Use them.
3565         Skip back forward over prefix chars skipped by forward-sexp.
3566         Don't check if the parens are backslash escaped.
3567         (blink-paren-post-self-insert-function): Check backslash escaping here.
3569 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
3571         * emacs-lisp/package.el (package-menu-mode-map):
3572         Change package-menu-revert bindings to revert-buffer.
3573         (package-menu-mode): Set revert-buffer-function.
3574         (package-menu-revert): Doc fix.
3576 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
3578         * textmodes/ispell.el (ispell-init-process): Use "~/" as
3579         `default-directory' unless using Ispell per-directory personal
3580         dictionaries and not in a mini-buffer under XEmacs.
3581         (kill-buffer-hook): Do not kill ispell process on exit when
3582         `ispell-process-directory' is "~/".  (Bug#6143)
3584 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
3586         * simple.el (kill-new): Call interprogram-cut-function with only
3587         one argument.
3589         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
3590         Remove cut buffer from error message.
3592         * term/x-win.el (x-select-text):
3593         * term/pc-win.el (x-selection-value):
3594         * term/ns-win.el (x-selection-value):
3595         * eshell/em-term.el:
3596         * w32-fns.el (x-get-selection-value):
3597         * mouse-sel.el (mouse-sel-set-selection-function):
3598         * frame.el (display-selections-p): Remove cut-buffer in documentation.
3600         * term/x-win.el: Update documentation for x-last-selected-text-*.
3601         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
3602         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
3603         (x-select-text): Remove argument PUSH, update documentation.  Remove
3604         cut-buffer code.
3605         (x-selection-value-internal): Was previously x-selection-value.
3606         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
3607         Update documentation, remove cut-buffer code.  Call
3608         x-selection-value-internal.
3609         (x-clipboard-yank): Call x-selection-value-internal.
3610         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
3612         * term/pc-win.el (x-last-selected-text):
3613         x-cut-buffer-or-selection-value renamed to x-selection-value
3614         (x-select-text): Remove argument PUSH, update documentation.
3616         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
3617         x-cut-buffer-or-selection-value renamed to x-selection-value
3618         (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
3619         (x-select-text): Remove argument PUSH, update documentation.
3621         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
3623         * w32-fns.el (x-last-selected-text):
3624         x-cut-buffer-or-selection-value renamed to x-selection-value.
3625         (x-cut-buffer-max): Remove.
3626         (x-select-text): Remove argument PUSH, update documentation.
3628         * simple.el (interprogram-cut-function): Remove mention of PUSH.
3630         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
3632         * mouse-sel.el (mouse-sel-get-selection-function):
3633         x-cut-buffer-or-selection-value renamed to x-selection-value.
3634         (x-select-text): Remove optional push.
3636 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3638         * simple.el (blink-paren-function): Move from C to here.
3639         (blink-paren-post-self-insert-function): New function.
3640         (post-self-insert-hook): Use it.
3642         * emacs-lisp/pcase.el (pcase-split-memq):
3643         Fix overenthusiastic optimisation.
3644         (pcase-u1): Handle the case of a lambda pred.
3646 2010-08-31  Kenichi Handa  <handa@m17n.org>
3648         * international/mule-cmds.el (standard-display-european-internal):
3649         Setup standard-display-table for 8-bit characters by storing 8-bit
3650         characters in the element vector.
3652         * disp-table.el (standard-display-8bit):
3653         Setup standard-display-table for 8-bit characters by storing 8-bit
3654         characters in the element vector.
3655         (standard-display-european): Likewise.
3657 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
3659         * textmodes/nroff-mode.el (nroff-view): New command.
3660         (nroff-mode-map): Bind it to C-c C-c.
3662 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3664         * emacs-lisp/smie.el (smie-down-list): New command.
3666         Remove old indentation and navigation code on octave-mode.
3667         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
3668         smie-down-list rather than add a binding for octave-down-block.
3669         (octave-mark-block, octave-blink-matching-block-open):
3670         Rely on forward-sexp-function.
3671         (octave-fill-paragraph): Don't narrow, so you can use
3672         indent-according-to-mode.
3673         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
3674         (octave-in-block-p, octave-re-search-forward-kw)
3675         (octave-re-search-backward-kw, octave-indent-calculate)
3676         (octave-end-as-array-index-p, octave-block-end-offset)
3677         (octave-scan-blocks, octave-forward-block, octave-backward-block)
3678         (octave-down-block, octave-backward-up-block, octave-up-block)
3679         (octave-before-magic-comment-p, octave-indent-line): Remove.
3681 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
3683         * emacs-lisp/package.el (package--read-archive-file): Just use
3684         `read', to avoid copying an additional string.
3685         (package-menu-mode): Set header-line-format here.
3686         (package-menu-refresh, package-menu-revert): Signal an error if
3687         not in the Package Menu.
3688         (package-menu-package-list): New var.
3689         (package--generate-package-list): Operate on the current buffer;
3690         don't assume that it is *Packages*, since the user may rename it.
3691         Allow persistent package listings and sort keys using
3692         package-menu-package-list and package-menu-package-sort-key.
3693         (package-menu--version-predicate): Fix version calculation.
3694         (package-menu-sort-by-column): Don't select the window.
3695         (package--list-packages): Create the *Packages* buffer.
3696         Set package-menu-package-list-key.
3697         (list-packages): Sorting by status is now the default.
3698         (package-buffer-info): Use match-string-no-properties.
3699         (define-package): Add a &rest argument for future proofing, but
3700         don't use it yet.
3701         (package-install-from-buffer, package-install-buffer-internal):
3702         Merge into a single function, package-install-from-buffer.
3703         (package-install-file): Change caller.
3705         * finder.el: Load finder-inf using `require'.
3706         (finder-list-matches): Sorting by status is now the default.
3707         (finder-compile-keywords): Simpify printing.
3709 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3711         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3712         (octave-mode-map): Remove special bindings for forward/backward-block
3713         and octave-backward-up-block.  Use smie-close-block.
3714         (octave-continuation-marker-regexp): New var.
3715         (octave-continuation-regexp): Use it.
3716         (octave-operator-table, octave-smie-op-levels)
3717         (octave-operator-regexp, octave-smie-indent-rules): New vars.
3718         (octave-smie-backward-token, octave-smie-forward-token): New funs.
3719         (octave-mode): Use SMIE.
3720         (octave-close-block): Delete.
3722 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
3724         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
3725         CLIPBOARD, not in PRIMARY.  (Bug#6944)
3727 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3729         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
3730         a list of parents.
3731         (smie-indent-column): Allow indirection through variables.
3733         * composite.el (save-buffer-state): Delete, unused.
3734         * font-lock.el (save-buffer-state): Use with-silent-modifications.
3735         (font-lock-default-fontify-region): Use with-syntax-table.
3736         * jit-lock.el (with-buffer-unmodified): Remove.
3737         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
3739         Use `declare' in defmacros.
3740         * window.el (save-selected-window):
3741         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
3742         * progmodes/python.el (def-python-skeleton):
3743         * net/dbus.el (dbus-ignore-errors):
3744         * jka-cmpr-hook.el (with-auto-compression-mode):
3745         * international/mule.el (with-category-table):
3746         * emacs-lisp/timer.el (with-timeout):
3747         * emacs-lisp/lisp-mnt.el (lm-with-file):
3748         * emacs-lisp/eieio.el (with-slots):
3749         * emacs-lisp/easymenu.el (easy-menu-define):
3750         * emacs-lisp/debug.el (debugger-env-macro):
3751         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
3752         (Multiple-value-call, Multiple-value-prog1):
3753         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
3754         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
3755         edebug rule to definition.
3756         * emacs-lisp/lisp-mode.el (save-selected-window)
3757         (with-current-buffer, combine-after-change-calls)
3758         (with-output-to-string, with-temp-file, with-temp-buffer)
3759         (with-temp-message, with-syntax-table, read-if, eval-after-load)
3760         (dolist, dotimes, when, unless):
3761         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
3763 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
3765         * finder.el: Require `package'.
3766         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
3767         (finder-package-info): Var deleted.
3768         (finder-keywords-hash, finder--builtins-alist): New vars.
3769         (finder-compile-keywords): Compute package--builtins and
3770         finder-keywords-hash instead of finder-keywords-hash, respecting
3771         the "Package" header.
3772         (finder-unknown-keywords, finder-list-matches):
3773         Use finder-keywords-hash and package--list-packages.
3774         (finder-mode): Don't set font-lock-defaults.
3775         (finder-exit): We don't use "*Finder-package*" and "*Finder
3776         Category*" buffers anymore.
3778         * emacs-lisp/package.el (package--builtins-base): Var deleted.
3779         (package--builtins): Set default value to nil.
3780         (package-initialize): Load precomputed value of package--builtins
3781         from finder-inf.el.
3782         (package-alist, package-compute-transaction)
3783         (package-download-transaction): Improve docstring.
3784         (package-read-all-archive-contents): Do not change
3785         package--builtins here.
3786         (list-packages): Make package-list-packages an alias for this.
3787         Sort by status by default.
3788         (package--list-packages): Add optional PACKAGES arg.
3789         (describe-package-1): Use font-lock-face property.  For built-in
3790         packages, insert file commentary.
3791         (package--generate-package-list): Rename from
3792         package-list-packages-internal; all callers changed.  Add optional
3793         PACKAGES arg.  Add alphabetical sort fallbacks.
3794         (package-menu--version-predicate, package-menu--status-predicate)
3795         (package-menu--description-predicate)
3796         (package-menu--name-predicate): New functions.
3798         * info.el (Info-finder-find-node): Search package-alist instead of
3799         finder-package-info.
3801 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
3803         * subr.el (version-regexp-alist): Don't use "a" and "b" for
3804         "alpha" and "beta".
3805         (version-to-list): Handle versions like "10.3d".
3807 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3809         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
3810         (macroexp-accumulate): Use `declare'.
3812 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3814         * whitespace.el (whitespace-style): Adjust type declaration.
3816 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
3818         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3819         empty argument to gvfs-copy.
3821 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3823         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3824         handle new TRASH arg of `delete-file'.
3826 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
3828         * net/tramp.el (tramp-handle-insert-directory): Don't use
3829         `forward-word', its default syntax could be changed.
3831 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
3832             Michael Albinus  <michael.albinus@gmx.de>
3834         Implement compression for inline methods.
3836         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
3837         (tramp-copy-size-limit): Allow also nil.
3838         (tramp-inline-compress-commands): New defconst.
3839         (tramp-find-inline-compress, tramp-get-inline-compress)
3840         (tramp-get-inline-coding): New defuns.
3841         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
3842         replaced by `tramp-get-inline-coding'.
3843         (tramp-handle-file-local-copy, tramp-handle-write-region)
3844         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
3846 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
3848         Detect ssh 'ControlMaster' argument automatically in some cases.
3850         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
3851         (tramp-default-method): Use it.
3853 2010-08-26  Karel Klíč  <kklic@redhat.com>
3855         * net/tramp.el (tramp-file-name-for-operation):
3856         Add file-selinux-context.
3858 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
3860         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
3862 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3864         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
3865         (Bug#6907).
3867 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
3869         * progmodes/js.el: Make indentation more customizable (Bug#6914).
3870         (js-paren-indent-offset, js-square-indent-offset)
3871         (js-curly-indent-offset): New options.
3872         (js--proper-indentation): Use them.
3874 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
3876         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
3877         instead of inspecting font-lock properties (Bug#6916).
3879 2010-08-26  David Reitter  <david.reitter@gmail.com>
3881         * server.el (server-visit-files): Run pre-command-hook and
3882         post-command-hook for each buffer while it is current (Bug#6910).
3883         (server-execute): Do not run hooks here.
3885 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
3887         Sync with Tramp 2.1.19.
3889         * net/tramp-cmds.el (tramp-cleanup-all-connections)
3890         (tramp-reporter-dump-variable, tramp-load-report-modules)
3891         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
3892         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
3894         * net/tramp-compat.el (top): Do not autoload
3895         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
3896         only when `start-file-process' is not bound.
3897         (byte-compile-not-obsolete-vars): Define if not bound.
3898         (tramp-compat-funcall): New defmacro.
3899         (tramp-compat-line-beginning-position)
3900         (tramp-compat-line-end-position)
3901         (tramp-compat-temporary-file-directory)
3902         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
3903         (tramp-compat-copy-file, tramp-compat-copy-directory)
3904         (tramp-compat-delete-file, tramp-compat-delete-directory)
3905         (tramp-compat-number-sequence, tramp-compat-process-running-p):
3906         Use it.
3907         (tramp-advice-file-expand-wildcards): Do not use
3908         `tramp-handle-file-remote-p'.
3909         (tramp-compat-make-temp-file): Simplify fallback implementation.
3910         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3911         (tramp-compat-copy-tree): Remove function.
3912         (tramp-compat-delete-file): New defun.
3913         (tramp-compat-delete-directory): Provide implementation for older
3914         Emacsen.
3915         (tramp-compat-file-attributes): Handle only
3916         `wrong-number-of-arguments' error.
3918         * net/tramp-fish.el (tramp-fish-handle-copy-file):
3919         Add PRESERVE_SELINUX_CONTEXT.
3920         (tramp-fish-handle-delete-file): Add TRASH arg.
3921         (tramp-fish-handle-directory-files-and-attributes):
3922         Do not use `tramp-fish-handle-file-attributes.
3923         (tramp-fish-handle-file-local-copy)
3924         (tramp-fish-handle-insert-file-contents)
3925         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
3927         * net/tramp-gvfs.el (top): Require url-util.
3928         (tramp-gvfs-mount-point): Remove.
3929         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
3930         and `set-file-selinux-context'.
3931         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
3932         (tramp-gvfs-handle-file-selinux-context)
3933         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
3934         (with-tramp-dbus-call-method): Format trace message.
3935         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
3936         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3937         Implement backup call, when operation on local files fails.
3938         Use progress reporter.  Flush properties of changed files.
3939         (tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
3940         `tramp-compat-delete-file'.
3941         (tramp-gvfs-handle-expand-file-name): Expand "~/".
3942         (tramp-gvfs-handle-make-directory): Make more traces.
3943         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
3944         (tramp-gvfs-url-file-name): Hexify file name in url.
3945         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3946         into account for the resulting file name.
3947         (tramp-gvfs-handler-askquestion): Preserve current message, in
3948         order to let progress reporter continue afterwards.  (Bug#6257)
3949         Return dummy mountpoint, when the answer is "no".
3950         See `tramp-gvfs-maybe-open-connection'.
3951         (tramp-gvfs-handler-mounted-unmounted)
3952         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3953         attribute "default_location".  Set "prefix" property.
3954         Handle default-location.
3955         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3956         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3957         exists.  Raise an error, if not (due to a corresponding answer
3958         "no" in interactive questions, for example).
3959         Use `tramp-compat-funcall'.
3961         * net/tramp-imap.el (top): Autoload `epg-make-context'.
3962         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3963         (tramp-imap-do-copy-or-rename-file)
3964         (tramp-imap-handle-insert-file-contents)
3965         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
3966         (tramp-imap-handle-delete-file): Add TRASH arg.
3968         * net/tramp-smb.el (tramp-smb-handle-copy-file):
3969         Add PRESERVE-SELINUX-CONTEXT.
3970         (tramp-smb-handle-copy-file)
3971         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3972         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
3973         Use `with-progress-reporter'.
3974         (tramp-smb-handle-delete-file): Add TRASH arg.
3976         * net/tramp.el (tramp-methods): Move hostname to the end in all
3977         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
3978         appropriate.
3979         (tramp-verbose): Describe verbose level 9.
3980         (tramp-completion-function-alist)
3981         (tramp-file-name-regexp, tramp-chunksize)
3982         (tramp-local-coding-commands, tramp-remote-coding-commands)
3983         (with-connection-property, tramp-completion-mode-p)
3984         (tramp-action-process-alive, tramp-action-out-of-band)
3985         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
3986         (tramp-exists-file-name-handler): Fix docstring.
3987         (tramp-remote-process-environment): Use `format' instead of
3988         `concat'.  Protect version string by apostroph.
3989         (tramp-shell-prompt-pattern): Do not use a shy group in case of
3990         XEmacs.
3991         (tramp-file-name-regexp-unified)
3992         (tramp-completion-file-name-regexp-unified): On W32 systems, do
3993         not regard the volume letter as remote filename.  (Bug#5447)
3994         (tramp-perl-file-attributes)
3995         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3996         (tramp-vc-registered-read-file-names): Read input as
3997         here-document, otherwise the command could exceed maximum length
3998         of command line.
3999         (tramp-file-name-handler-alist): Add `file-selinux-context' and
4000         `set-file-selinux-context'.
4001         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4002         backtrace functions.
4003         (tramp-error-with-buffer): Don't show the connection buffer when
4004         we are in completion mode.
4005         (tramp-progress-reporter-update, tramp-remote-selinux-p)
4006         (tramp-handle-file-selinux-context)
4007         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4008         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4009         New defuns.
4010         (with-progress-reporter): New defmacro.
4011         (tramp-debug-outline-regexp): New defconst.
4012         (top, tramp-rfn-eshadow-setup-minibuffer)
4013         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4014         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4015         (tramp-completion-mode-p, tramp-check-for-regexp)
4016         (tramp-open-connection-setup-interactive-shell)
4017         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4018         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4019         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4020         Use `tramp-compat-funcall'.
4021         (tramp-handle-make-symbolic-link): Flush file properties.
4022         (tramp-handle-load, tramp-handle-file-local-copy)
4023         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4024         (tramp-handle-vc-registered, tramp-maybe-send-script)
4025         (tramp-find-shell): Use `with-progress-reporter'.
4026         (tramp-do-file-attributes-with-stat): Add space in format string,
4027         in order to work around a bug in pdksh.  Reported by Gilles Pion
4028         <gpion@lfdj.com>.
4029         (tramp-handle-verify-visited-file-modtime): Do not send a command
4030         when the connection is not established.
4031         (tramp-handle-set-file-times): Simplify the check for utc.
4032         (tramp-handle-directory-files-and-attributes)
4033         (tramp-get-remote-path): Use `copy-tree'.
4034         (tramp-completion-handle-file-name-all-completions): Ensure, that
4035         non remote files are still checked.  Oops.
4036         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4037         Handle PRESERVE-SELINUX-CONTEXT.
4038         (tramp-do-copy-or-rename-file): Add progress reporter.
4039         (tramp-do-copy-or-rename-file-directly): Do not use
4040         `tramp-handle-file-remote-p'.
4041         (tramp-do-copy-or-rename-file-out-of-band):
4042         Use `tramp-compat-delete-directory'.
4043         (tramp-do-copy-or-rename-file-out-of-band)
4044         (tramp-compute-multi-hops, tramp-maybe-open-connection):
4045         Use `format-spec-make'.
4046         (tramp-handle-delete-file): Add TRASH arg.
4047         (tramp-handle-dired-uncache): Flush directory cache, not only file
4048         cache.
4049         (tramp-handle-expand-file-name)
4050         (tramp-completion-handle-file-name-all-completions)
4051         (tramp-completion-handle-file-name-completion):
4052         Use `tramp-connectable-p'.
4053         (tramp-handle-start-file-process): Set connection property "vec".
4054         Use it, in order to invalidate file caches.  Check only for
4055         `remote-tty' process property.
4056         Implement tty setting.  (Bug#4604, Bug#6360)
4057         (tramp-file-name-for-operation): Add `call-process-region' and
4058         `set-file-selinux-context'.
4059         (tramp-find-foreign-file-name-handler)
4060         (tramp-advice-make-auto-save-file-name)
4061         (tramp-set-auto-save-file-modes): Remove superfluous check for
4062         `stringp'.  This is done inside `tramp-tramp-file-p'.
4063         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
4064         operations when we are in completion mode.  This gives the user
4065         the chance to correct the file name in the minibuffer.
4066         (tramp-completion-mode-p): Use `non-essential'.
4067         (tramp-handle-file-name-all-completions): Backward/ XEmacs
4068         compatibility: Use `completion-ignore-case' if
4069         `read-file-name-completion-ignore-case' does not exist.
4070         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4071         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4072         `tramp-open-shell'.
4073         (tramp-action-password): Hide password prompt before next run.
4074         (tramp-process-actions): Widen connection buffer for the trace.
4075         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4076         process property.  Trace stty settings if `tramp-verbose' >= 9.
4077         Apply workaround for IRIX64 bug.  Move argument of last
4078         `tramp-send-command' where it belongs to.
4079         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4080         front of `login-args'.
4081         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4082         on "/dev/null" instead of "/".
4083         (tramp-get-ls-command-with-dired): Make test for "--dired"
4084         stronger.
4085         (tramp-set-auto-save-file-modes): Adapt version check.
4086         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4087         (tramp-handle-process-file): Call the program in a subshell, in
4088         order to preserve working directory.
4089         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4090         `tramp-remote-sh' from `tramp-methods'.
4091         (tramp-get-ls-command): Make test for "--color=never" stronger.
4092         (tramp-check-for-regexp): Use (forward-line 1).
4094         * net/trampver.el: Update release number.
4096 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4098         * help.el (help-map): Bind `C-h P' to describe-package.
4100         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4102         * emacs-lisp/package.el (package-refresh-contents): Catch errors
4103         when downloading archives.
4104         (describe-package-1): Add package commentary.
4105         (package-install-button-action): New function.
4106         (package-menu-mode-map): Bind ? to package-menu-describe-package.
4107         (package-menu-view-commentary): Function removed.
4108         (package-list-packages-internal): Hide the `package' package too.
4110 2010-08-25  Kenichi Handa  <handa@m17n.org>
4112         * language/misc-lang.el ("Arabic"): New language environment.
4113         Setup composition-function-table for Arabic characters.
4115         * international/fontset.el (setup-default-fontset): Fix typo for
4116         arabic OTF spec (fini->fina).
4118 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
4120         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4121         on all frames.
4123 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4125         * whitespace.el: Allow cleaning up blanks without blank
4126         visualization (Bug#6651).  Adjust help window for
4127         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
4128         instead of whitespace-line-column (from EmacsWiki).  New version
4129         13.1.
4130         (whitespace-style): Added new value 'face.  Adjust docstring.
4131         (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
4132         foreground property face.
4133         (whitespace-line-column): Adjust docstring and type declaration.
4134         (whitespace-style-value-list, whitespace-toggle-option-alist)
4135         (whitespace-help-text): Adjust const initialization.
4136         (whitespace-toggle-options, global-whitespace-toggle-options):
4137         Adjust docstring.
4138         (whitespace-display-window, whitespace-interactive-char)
4139         (whitespace-style-face-p, whitespace-color-on): Adjust code.
4140         (whitespace-help-scroll): New fun.
4142 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
4144         * emacs-lisp/package.el (list-packages): Alias for
4145         package-list-packages.
4147 2010-08-24  Kevin Ryde  <user42@zip.com.au>
4149         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4150         (Bug#5651).
4152         * progmodes/ruby-mode.el (ruby): Add defgroup.
4154 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
4156         * progmodes/python.el: Add Ipython support (Bug#5390).
4157         (python-shell-prompt-alist)
4158         (python-shell-continuation-prompt-alist): New options.
4159         (python--set-prompt-regexp): New function.
4160         (inferior-python-mode, run-python, python-shell): Require
4161         ansi-color.  Use python--set-prompt-regexp to set the comint
4162         prompt based on the Python interpreter.
4163         (python--prompt-regexp): New var.
4164         (python-check-comint-prompt)
4165         (python-comint-output-filter-function): Use it.
4166         (run-python): Use a pipe (Bug#5694).
4168 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
4170         * progmodes/python.el (python-send-region): Send a different
4171         Python command if Ipython is in use.
4172         (python-check-version): Use a Python command to find the version.
4174 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
4176         * mouse.el (mouse-yank-primary): Avoid setting primary when
4177         deactivating the mark (Bug#6872).
4179 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
4181         * progmodes/python.el (python-block-pairs): Allow use of "finally"
4182         with "else" (Bug#3991).
4184 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
4186         * net/dbus.el: Accept UNIX domain sockets as bus address.
4187         (top): Don't initialize `dbus-registered-objects-table' anymore,
4188         this is done in dbusbind,c.
4189         (dbus-check-event): Adapt test for bus.
4190         (dbus-return-values-table, dbus-unregister-service)
4191         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4192         Adapt doc string.
4194 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
4196         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4198 2010-08-22  Juri Linkov  <juri@jurta.org>
4200         * simple.el (read-extended-command): New function with the logic
4201         for `completing-read' moved to Elisp from `execute-extended-command'.
4202         Use `function-called-at-point' in `minibuffer-default-add-function'
4203         to get a command name for M-n (bug#5364, bug#5214).
4205 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4207         * startup.el (command-line-1): Issue warning for ignored arguments
4208         --unibyte, etc (Bug#6886).
4210 2010-08-22  Leo  <sdl.web@gmail.com>
4212         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4213         (ignore, bright, dim, keyword): Split list of nicknames before
4214         passing to rcirc-add-or-remove (Bug#6894).
4216 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4218         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4220 2010-08-22  Leo  <sdl.web@gmail.com>
4222         Fix buffer-list rename&refresh after killing a buffer in ido.
4223         * ido.el: Revert Óscar's.
4224         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4225         Remember the buffers at head, rather than their name.
4226         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
4228 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
4229             Stefan Monnier  <monnier@iro.umontreal.ca>
4231         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4232         extra backslash added to each line (bug#6890).
4234 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4236         * subr.el (read-key): Don't echo keystrokes (bug#6883).
4238 2010-08-22  Glenn Morris  <rgm@gnu.org>
4240         * menu-bar.el (menu-bar-games-menu): Add landmark.
4242 2010-08-22  Glenn Morris  <rgm@gnu.org>
4244         * align.el (align-regexp): Make group and spacing arguments
4245         use the interactive defaults when non-interactive.  (Bug#6698)
4247         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4248         expansion, so as not to need sendmail.
4249         (mail-text-start): Remove declaration.
4250         (rmail-retry-failure): Require sendmail.
4252 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4254         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4256 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
4258         * progmodes/flymake.el (flymake-start-syntax-check-process):
4259         Use `start-file-process' in order to let it run also on remote hosts.
4261 2010-08-22  Kenichi Handa  <handa@m17n.org>
4263         * files.el: Add `word-wrap' as safe local variable.
4265 2010-08-22  Glenn Morris  <rgm@gnu.org>
4267         * woman.el (woman-translate): Case matters.  (Bug#6849)
4269 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4271         * simple.el (kill-region): Doc fix (Bug#6787).
4273 2010-08-22  Glenn Morris  <rgm@gnu.org>
4275         * calendar/diary-lib.el (diary-header-line-format):
4276         Fit it to the window, not the frame.
4278 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
4280         * subr.el (ignore-errors): Add debug declaration.
4282 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
4284         * whitespace.el (whitespace-color-off): Remove post-command-hook
4285         locally.
4287 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4289         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4291 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
4293         * cus-edit.el (custom-group-value-create): Add extra newline
4294         before end line (Bug#6876).
4296 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
4298         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4299         when extending it.  Before killing on the second click, check if
4300         the buffer is the correct one.  Doc fix.
4301         (mouse-secondary-save-then-kill): Allow usage without first
4302         calling mouse-start-secondary, by defaulting to point.  Don't save
4303         an empty secondary selection.  Doc fix.
4305 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4307         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
4308         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4309         New version 13.0.
4310         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4311         Adjust initialization.
4312         (whitespace-bob-marker, whitespace-eob-marker)
4313         (whitespace-buffer-changed): New vars.
4314         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4315         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4316         (whitespace-post-command-hook, whitespace-display-char-on):
4317         Adjust code.
4318         (whitespace-looking-back, whitespace-buffer-changed): New funs.
4319         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4321 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4323         * files.el (locate-file-completion-table): Only list the .el and .elc
4324         extensions if there's no other choice (bug#5955).
4326         * facemenu.el (facemenu-self-insert-data): New var.
4327         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4328         New functions.
4329         (facemenu-add-face): Use them.
4331         * simple.el (blink-matching-open): Obey forward-sexp-function.
4333 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4335         * simple.el (prog-mode-map): New var.
4336         (prog-indent-sexp): New command.
4338         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
4340         * progmodes/prolog.el (smie): Require.
4342         * emacs-lisp/smie.el (smie-default-backward-token)
4343         (smie-default-forward-token): Strip properties.
4344         (smie-next-sexp): Be more careful with associative operators.
4345         (smie-forward-sexp-command): Generalize.
4346         (smie-backward-sexp-command): Simplify.
4347         (smie-closer-alist): New var.
4348         (smie-close-block): New command.
4349         (smie-indent-debug-log): New var.
4350         (smie-indent-offset-rule): Add a few more cases.
4351         (smie-indent-column): New function.
4352         (smie-indent-after-keyword): Use it.
4353         (smie-indent-keyword): Use it.
4354         Fix up the opener code's point position.
4355         (smie-indent-comment): Only applies at BOL.
4356         (smie-indent-debug): New command.
4358         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
4359         declarations that are useful before running the macro.
4361 2010-08-18  Joakim Verona  <joakim@verona.se>
4363         * image.el (imagemagick-types-inhibit): New variable.
4364         (imagemagick-register-types): New function.
4365         * image-mode.el (image-transform-properties): New function.
4366         (image-transform-set-scale, image-transform-fit-to-height)
4367         (image-transform-set-rotation, image-transform-set-resize)
4368         (image-transform-fit-to-width, image-transform-fit-to-height):
4369         New functions.
4370         (image-toggle-display-image): Support image transforms.
4372 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
4374         * image.el (create-animated-image): Don't add heuristic mask to image
4375         (Bug#6839).
4377 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
4379         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
4380         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
4382 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4384         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
4386         Font-lock '...' strings, plus various simplifications and fixes.
4387         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4388         (octave-font-lock-close-quotes): New function.
4389         (octave-font-lock-syntactic-keywords): New var.
4390         (octave-mode): Use it.  Set beginning-of-defun-function.
4391         (octave-mode-map): Don't override the <foo>-defun commands.
4392         (octave-mode-menu): Pass it directly to easy-menu-define;
4393         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
4394         (octave-block-match-alist): Fix up last change so that
4395         octave-close-block uses the more specific keyword.
4396         (info-lookup-mode): Silence byte-compiler.
4397         (octave-beginning-of-defun): Not interactive any more.
4398         Optimize slightly.
4399         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
4400         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4401         (octave-completion-at-point-function): Make sure point is within
4402         beg..end.
4403         (octave-reindent-then-newline-and-indent):
4404         Use reindent-then-newline-and-indent.
4405         (octave-add-octave-menu): Remove.
4407 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
4409         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4410         (report-emacs-bug-can-use-xdg-email): New functions.
4411         (report-emacs-bug): Set can-xdg-email to result of
4412         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
4413         \C-cm to report-emacs-bug-insert-to-mailer and add help text
4414         about it.
4416         * net/browse-url.el (browse-url-default-browser): Add cond
4417         for browse-url-xdg-open.
4418         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
4420 2010-08-17  Glenn Morris  <rgm@gnu.org>
4422         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
4423         (c-fontify-recorded-types-and-refs): Define for compiler.
4424         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
4425         before use.
4427         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
4428         Fix format call.
4430 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
4432         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
4433         properties.
4434         (tramp-handle-process-file): Call the program in a subshell, in
4435         order to preserve working directory.
4436         (tramp-action-password): Hide password prompt before next run.
4437         (tramp-process-actions): Widen connection buffer for the trace.
4439 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4441         * net/rcirc.el (rcirc-log-process-buffers): New option.
4442         (rcirc-print): Use it.
4443         (rcirc-generate-log-filename): New function.
4444         (rcirc-log-filename-function): Change default to
4445         rcirc-generate-log-filename (Bug#6828).
4447 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
4449         * simple.el (deactivate-mark): If select-active-regions is `only',
4450         only set selection for temporarily active regions.
4452         * cus-start.el: Change defcustom for select-active-regions.
4454 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
4456         * mouse.el (mouse--drag-set-mark-and-point): New function.
4457         (mouse-drag-track): Use LOCATION arg to push-mark.
4458         Use mouse--drag-set-mark-and-point to take click-count into
4459         consideration when updating point and mark (Bug#6840).
4461 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
4463         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4464         Give the Ruby rule a lower priority than Gnu (Bug#6778).
4466 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
4468         * font-lock.el (lisp-font-lock-keywords-2):
4469         Add combine-after-change-calls, condition-case-no-debug,
4470         with-demoted-errors, and with-silent-modifications (Bug#6025).
4472 2010-08-14  Kevin Ryde  <user42@zip.com.au>
4474         * emacs-lisp/copyright.el (copyright-update-year)
4475         (copyright-update): Temporary switch-to-buffer to ensure the
4476         buffer change being queried is visible (Bug#5394).
4478 2010-08-14  Tom Tromey  <tromey@redhat.com>
4480         * progmodes/etags.el (tags-file-name): Mark safe if stringp
4481         (Bug#6733).
4483 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
4485         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
4486         MS-DOS.  (Bug#6689)
4488 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
4490         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
4491         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4492         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4493         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
4494         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
4495         Call menu-bar-set-tool-bar-position.
4497 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4499         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
4500         comment style (bug#6834).
4501         * progmodes/scheme.el (scheme-mode-syntax-table):
4502         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
4503         "b" flag in "' 14b" syntax.
4505         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
4506         for (un)commenting the region and performing completion.
4507         (octave-mode-menu): Use standard commands for help and completion.
4508         (octave-mode-syntax-table): Support %{..%} comments (sort of).
4509         (octave-mode): Use define-derived-mode.
4510         Set completion-at-point-functions and don't set columns.
4511         Don't disable adaptive-fill-regexp.
4512         (octave-describe-major-mode, octave-comment-region)
4513         (octave-uncomment-region, octave-comment-indent)
4514         (octave-indent-for-comment): Remove.
4515         (octave-indent-calculate): Rename from calculate-octave-indent.
4516         (octave-indent-line, octave-fill-paragraph): Update caller.
4517         (octave-initialize-completions): No need to make an alist.
4518         (octave-completion-at-point-function): New function.
4519         (octave-complete-symbol): Use it.
4520         (octave-insert-defun): Use define-skeleton.
4522         * progmodes/octave-mod.el (octave-mode): Set comment-add.
4523         (octave-mode-map): Use comment-dwim (bug#6829).
4525 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
4527         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
4528         indentation of inserted comment.
4530 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
4532         * faces.el (region): Add type gtk that uses gtk colors.
4534         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4535         Handle theme-name change.
4537 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
4539         * progmodes/sql.el: Version 2.5
4540         (sql-product-alist): Add :prompt-cont-regexp property for several
4541         database products.
4542         (sql-prompt-cont-regexp): New variable.
4543         (sql-output-newline-count, sql-output-by-send):
4544         New variables.  Record number of newlines in input text.
4545         (sql-send-string): Handle multiple filters and count newlines.
4546         (sql-send-magic-terminator): Count terminator newline.
4547         (sql-interactive-remove-continuation-prompt): Filters output to
4548         remove continuation prompts; one for each newline.
4549         (sql-interactive-mode): Set up new variables, prompt regexp and
4550         output filter.
4551         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
4552         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
4554 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4556         * emacs-lisp/pcase.el: New file.
4558 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
4560         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
4561         as here-document, otherwise the command could exceed maximum
4562         length of command line.
4563         (tramp-handle-vc-registered): Call script accordingly.
4564         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
4566 2010-08-10  Kenichi Handa  <handa@m17n.org>
4568         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
4569         composable pattern.
4571 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
4573         * emacs-lisp/package.el (package-version-split)
4574         (package--version-first-nonzero, package-version-compare):
4575         Functions removed.
4576         (package-directory-list, package-load-all-descriptors)
4577         (package--built-in, package-activate, define-package)
4578         (package-installed-p, package-compute-transaction)
4579         (package-read-all-archive-contents)
4580         (package--add-to-archive-contents, package-buffer-info)
4581         (package-tar-file-info, package-list-packages-internal):
4582         Use version-to-list and version-list-*.
4584         * emacs-lisp/package-x.el (package-upload-buffer-internal):
4585         Use version-to-list.
4586         (package-upload-buffer-internal): Use version-list-<=.
4588 2010-08-09  Kenichi Handa  <handa@m17n.org>
4590         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
4591         composable pattern.
4593 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
4595         * tutorial.el (tutorial--default-keys): C-d is now bound to
4596         delete-forward-char (Bug#6826).
4598         * mouse.el (mouse-drag-track): Remove accidentally-removed check
4599         for `double' value of mouse-1-click-follows-link (Bug#6807).
4601 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
4603         * replace.el (replace-highlight): Bind isearch-forward and
4604         isearch-error, ensuring that highlighting is updated if the user
4605         switches the search direction (Bug#6808).
4607         * isearch.el (isearch-lazy-highlight-forward): New var.
4608         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4609         (isearch-lazy-highlight-update): Use it.
4611 2010-08-08  Kenichi Handa  <handa@m17n.org>
4613         * international/mule.el (define-charset): Store NAME as :base property.
4614         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
4615         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
4616         current priority.  Force using the designation of the specific
4617         charset by adding `charset' text property.  Improve the whole algorithm.
4619 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4621         * emulation/pc-select.el (pc-selection-mode-hook)
4622         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
4623         (pc-selection-mode): Fix typos in docstrings.
4625 2010-08-08  Kenichi Handa  <handa@m17n.org>
4627         * language/cyrillic.el: Don't add "microsoft-cp1251" to
4628         ctext-non-standard-encodings-alist here.
4630         * international/mule.el (ctext-non-standard-encodings-alist):
4631         Add "koi8-r" and "microsoft-cp1251".
4632         (ctext-standard-encodings): New variable.
4633         (ctext-non-standard-encodings-table): List only elements for
4634         non-standard encodings.
4635         (ctext-pre-write-conversion): Adjust for the above change.
4636         Check ctext-standard-encodings.
4638         * international/mule-conf.el (compound-text): Doc fix.
4639         (ctext-no-compositions): Doc fix.
4640         (compound-text-with-extensions): Doc fix.
4642 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4644         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
4646 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4648         * progmodes/which-func.el (which-func-format): Split help-echo text
4649         into lines, like other mode-line tooltips.
4651         * server.el (server-start): When using TCP sockets, force IPv4
4652         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
4654 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4656         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
4658 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4660         * term.el (term-delimiter-argument-list): Reflow docstring.
4661         (term-read-input-ring, term-write-input-ring, term-send-input)
4662         (term-bol, term-erase-in-display, serial-supported-or-barf):
4663         Fix typos in docstrings.
4665 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4667         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
4669 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4671         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
4673 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
4675         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
4676         Fix typo in docstring (bug#6747).
4678 2010-08-08  Leo  <sdl.web@gmail.com>
4680         * eshell/esh-io.el (eshell-get-target): Better detection of
4681         read-only file (Bug#6762).
4683 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4685         * align.el (align-default-spacing): Doc fix.
4686         (align-region-heuristic, align-regexp): Fix typos in docstrings.
4688 2010-08-08  Stephen Peters  <speters@itasoftware.com>
4690         * calendar/icalendar.el
4691         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
4692         (icalendar--get-weekday-numbers): New.
4693         (icalendar--convert-recurring-to-diary): Handle multiple byday
4694         values in weekly rules.  (Bug#6766)
4696 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
4698         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
4699         (icalendar--create-uid, icalendar-export-region)
4700         (icalendar--parse-summary-and-rest): Code formatting.
4702 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
4704         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
4705         to italicize headers.
4706         (calc-highlight-selections-with-faces): New variable.
4707         (calc-selected-face, calc-nonselected-face): New faces.
4709         * calc/calccomp.el (math-comp-highlight-string): Use
4710         `calc-highlight-selections-with-faces' to determine how to highlight
4711         sub-formulas.
4713         * calc/calc-sel.el (calc-show-selections): Change message to when
4714         using faces to highlight selections.
4716 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
4718         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
4719         Add SQLite 3 keywords, functions and datatypes.
4720         (sql-interactive-mode): Remove `comint-process-echoes' set to t
4721         (Bug#6686).
4723 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
4725         * simple.el (select-active-regions): Move to keyboard.c.
4726         (deactivate-mark): Used saved-region-selection.
4727         (select-active-region): Function removed.
4728         (activate-mark, set-mark, push-mark-command)
4729         (handle-shift-selection): Don't call it.
4730         (keyboard-quit): Avoid adding the region to the window selection.
4732         * mouse.el (mouse-drag-track): Remove hacks to deal with old
4733         select-active-regions implementation.
4734         (mouse-yank-at-click): Doc fix.
4736         * cus-start.el: Add custom declaration for select-active-regions.
4738 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
4740         * simple.el (delete-forward-char): Doc fix.
4742         * tutorial.el (help-with-tutorial): Hack safe file-local variables
4743         after reading the tutorial.
4745 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
4747         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
4748         for the case that a C style comment has its delimiters alone on
4749         their respective lines.
4751 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
4753         * net/tramp.el (tramp-handle-start-file-process): Set connection
4754         property "vec".
4755         (tramp-process-sentinel): Use it for flushing the cache.  We
4756         cannot do it via the process buffer, the buffer could be deleted
4757         already when running the sentinel.
4759 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
4761         * comint.el (comint-mode): Make directory tracking functions
4762         functional on remote files.  (Bug#6764)
4764 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
4766         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
4768 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
4770         * emacs-lisp/find-gc.el (find-gc-source-files): Rename
4771         unexec.c => unexcoff.c.
4773         * emacs-lisp/authors.el (authors-fixed-entries): Rename
4774         unexec.c => unexcoff.c.
4776 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
4778         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
4779         cache, not only file cache.
4780         (tramp-process-sentinel): New defun.
4781         (tramp-handle-start-file-process): Use it, in order to invalidate
4782         file caches.
4784 2010-08-03  Leo  <sdl.web@gmail.com>
4786         * server.el (server-start): Simplify loop.
4788 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4790         * frame.el (screen-height, screen-width, set-screen-width)
4791         (set-screen-height): Remove ancient compatibility aliases.
4793         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
4794         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
4796         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
4797         that change current buffer.
4799 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4801         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
4802         beginning of the string.  Use `string-match-p'.  (Bug#6765)
4804 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
4806         * cus-start.el (x-gtk-use-system-tooltips): New variable.
4808 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
4810         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
4811         (package--builtins): Tweak descriptions.
4812         (package-print-package): Upcase descriptions if necessary.
4813         Show all built-in packages in font-lock-builtin-face.
4814         (package-list-packages-internal): Omit "emacs" package.
4815         Show status of built-in packages as "built-in".
4817 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
4819         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
4820         before killing to preserve the primary selection (Bug#6701).
4822         * term/x-win.el (x-select-text): Doc fix.
4824 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
4826         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
4827         The following functions were modified or created:
4829         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
4830         (objc-font-lock-extra-types):
4831         * progmodes/cc-mode.el (c-basic-common-init):
4832         * progmodes/cc-langs.el (c-make-mode-syntax-table)
4833         (c++-make-template-syntax-table)
4834         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
4835         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
4836         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
4837         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
4838         * progmodes/cc-fonts.el (c-make-inverse-face)
4839         (c-basic-matchers-after):
4840         * progmodes/cc-engine.el (c-forward-keyword-clause)
4841         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
4842         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
4843         (c-guess-continued-construct, c-guess-basic-syntax):
4845 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
4847         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
4849 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
4851         * files.el (bidi-paragraph-direction): Define safe local values.
4853         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
4854         language-info-alist.  Remove outdated FIXME in a comment.
4856 2010-07-31  Alan Mackenzie  <acm@muc.de>
4858         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
4859         Auto-fill broken in C/C++ modes.
4861 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
4863         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4864         (menu-bar-showhide-tool-bar-menu-customize-disable)
4865         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4866         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
4867         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
4868         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
4869         make a menu for Options => toolbar that can move it.
4871 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
4873         * emacs-lisp/package-x.el (package--make-rss-entry):
4874         (package-maint-add-news-item, package--update-news)
4875         (package-upload-buffer-internal): New arg ARCHIVE-URL.
4877         * emacs-lisp/package.el (package-archive-url): Rename from
4878         package-archive-id.
4879         (package-install): Doc fix.
4880         (package-download-single, package-download-tar, package-install)
4881         (package-menu-view-commentary): Callers changed.
4883 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
4885         * net/tramp.el (tramp-handle-start-file-process): Check only for
4886         `remote-tty' process property.
4887         (tramp-open-shell): Don't check for tty.
4888         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4889         process property.
4891         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
4892         host.
4894 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
4896         * emacs-lisp/package.el (package-load-list, package-archives)
4897         (package-archive-contents, package-user-dir)
4898         (package-directory-list, package--builtins, package-alist)
4899         (package-activated-list, package-obsolete-alist): Mark as risky.
4901 2010-07-28  Phil Hagelberg  <phil@evri.com>
4903         Add support for non-default package repositories.
4904         * emacs-lisp/package.el (package-archive-base): Var deleted.
4905         (package-archives): New variable.
4906         (package-archive-contents): Doc fix.
4907         (package-load-descriptor): Do nothing if descriptor file is missing.
4908         (package--write-file-no-coding): New function.
4909         (package-unpack-single): Use it.
4910         (package-archive-id): New function.
4911         (package-download-single, package-download-tar)
4912         (package-menu-view-commentary): Use it.
4913         (package-installed-p): Make second argument optional.
4914         (package-read-all-archive-contents): New function.
4915         (package-initialize): Use it.
4916         (package-read-archive-contents): Add ARCHIVE argument.
4917         (package--add-to-archive-contents): New function.
4918         (package-install): Don't call package-read-archive-contents.
4919         (package--download-one-archive): Store archive file in a
4920         subdirectory of package-user-dir.
4921         (package-menu-execute): Remove spurious line movement.
4923 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
4925         * cus-start.el (tool-bar-style): Add text-image-horiz.
4927 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
4929         * progmodes/gud.el (gud-common-init): Check for remoteness of
4930         `file', and not of `default-directory'.
4932 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
4934         * net/tramp.el (tramp-methods): Move hostname to the end in all
4935         ssh `tramp-login-args'.
4936         (tramp-verbose): Describe verbose level 9.
4937         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
4938         (tramp-open-connection-setup-interactive-shell): Trace stty
4939         settings if `tramp-verbose' >= 9.
4940         (tramp-handle-start-file-process): Implement tty setting.
4941         (Bug#4604, Bug#6360)
4943         * net/tramp-cmds.el (tramp-bug): Recommend setting of
4944         `tramp-verbose' to 9.
4946 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
4948         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
4949         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
4950         Remove references to package `lisp-re' (bug#4369).
4952 2010-07-27  Tom Tromey  <tromey@redhat.com>
4954         * progmodes/js.el (js-mode):
4955         * progmodes/make-mode.el (makefile-mode):
4956         * progmodes/simula.el (simula-mode):
4957         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
4959 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
4961         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
4963         * time.el (display-time-day-and-date): Remove spurious * in docstring.
4964         (display-time-world-buffer-name, display-time-world-mode-map):
4965         Fix typos in docstrings.
4967 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
4969         * image-mode.el (image-display-size): New function.
4970         (image-forward-hscroll, image-next-line, image-eol, image-eob)
4971         (image-mode-fit-frame): Use it (Bug#6639).
4973 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
4975         * dired.el (dired-buffers-for-dir): Handle list values of
4976         dired-directory (Bug#6636).
4978 2010-07-26  Sam Steingold  <sds@gnu.org>
4980         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4981         Do not call `x-get-selection' the second time, reuse the value.
4983 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
4985         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
4986         which consist of control chars only.  Suggested by Richard Stallman.
4988 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
4990         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
4991         exists before passing an error to find-file-not-found-functions
4992         (bug#6723).
4994 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
4996         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
4997         Remove leading nil element, adjust values.
4998         (tetris-shapes, tetris-shape-scores):
4999         Change representation of shapes and remove some redundancy.
5000         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5001         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5002         Adjust for working with new representation of shapes.
5003         (tetris-shape-rotations): New function.
5004         (tetris-move-bottom, tetris-move-left, tetris-move-right)
5005         (tetris-rotate-prev, tetris-rotate-next):
5006         Adjust for working with the new version of tetris-test-shape.
5008 2010-07-23  Markus Triska  <markus.triska@gmx.at>
5010         * progmodes/ps-mode.el: Use comint (bug#5954).
5011         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5012         (ps-mode-other-newline): Simplify.
5013         (ps-run-mode): Derive from comint-mode instead of
5014         fundamental-mode, yielding input history etc.
5015         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5016         (ps-run-send-string): Adapt for comint-mode.
5017         (ps-run-newline): Remove now unneeded function.
5019 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5021         * net/tramp.el (tramp-methods): Move hostname to the end in all
5022         plink `tramp-login-args'.
5024 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5026         * net/tramp.el (tramp-open-shell): New defun.
5027         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5028         Use it.
5030 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5032         * net/tramp.el (tramp-file-name-regexp-unified)
5033         (tramp-completion-file-name-regexp-unified): On W32 systems, do
5034         not regard the volume letter as remote filename.  (Bug#5447)
5036 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
5038         * custom.el (custom-declare-variable): Give a clearer error message
5039         when the docstring is missing (bug#6476).
5041 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
5043         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
5044         (sql-login-params): New widget definition.
5045         (sql-oracle-login-params, sql-mysql-login-params)
5046         (sql-solid-login-params, sql-sybase-login-params)
5047         (sql-informix-login-params, sql-ingres-login-params)
5048         (sql-ms-login-params, sql-postgres-login-params)
5049         (sql-interbase-login-params, sql-db2-login-params)
5050         (sql-linter-login-params): Use it.
5051         (sql-sqlite-login-params): Use it; Define "database" parameter as
5052         a file name.
5053         (sql-sqlite-program): Change to "sqlite3".
5054         (sql-comint-sqlite): Make sure database name is complete.
5055         (sql-for-each-login): New function.
5056         (sql-connect, sql-save-connection): Use it.
5057         (sql-get-login-ext): New function.
5058         (sql-get-login): Use it.
5059         (sql-make-alternate-buffer-name): Handle :file parameters.
5061 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
5063         * dired.el (dired-no-confirm): Document value t and fix defcustom to
5064         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
5066 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
5068         * dired.el (dired-mode-map): Use command remapping (bug#6632).
5070 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
5072         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5074 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
5076         * net/tramp.el (tramp-get-ls-command)
5077         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5078         instead of "/".
5080 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
5082         * progmodes/sql.el: Version 2.3.
5083         (sql-connection-alist): Changed keys from symbols to strings;
5084         enhanced the widget definition.
5085         (sql-mode-menu): Added submenu to select connections.
5086         (sql-interactive-mode-menu): Added "Save Connection" item.
5087         (sql-add-product): Fixed menu item.
5088         (sql-get-product-feature): Improved error handling.
5089         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5090         (sql-make-alternate-buffer-name): Simplified.
5091         (sql-product-interactive): Handle missing product.
5092         (sql-connect): Support string keys, minor improvements.
5093         (sql-save-connection): New function.
5094         (sql-connection-menu-filter): New function.
5096 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
5098         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5099         (tramp-open-connection-setup-interactive-shell): Apply
5100         workaround for IRIX64 bug.  Move argument of last
5101         `tramp-send-command' where it belongs to.
5103 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
5105         * net/tramp.el (tramp-perl-file-attributes)
5106         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5107         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5108         front of `login-args'.
5110 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
5112         * time.el (display-time-world-mode): Define with `define-derived-mode'.
5113         Set `show-trailing-whitespace' to nil.
5114         (display-time-world-display): Simplify.
5116 2010-07-18  Alan Mackenzie  <acm@muc.de>
5118         Enhance `c-file-style' in file/directory local variables.
5119         * progmodes/cc-mode.el (c-count-cfss): New function.
5120         (c-before-hack-hook): Call `c-set-style' differently according to
5121         whether c-file-style was set in file or directory local
5122         variables.
5124 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
5126         * progmodes/sql.el: Version 2.2.
5127         (sql-product, sql-user, sql-database, sql-server, sql-port): Use
5128         defcustom :safe keyword rather than putting safe-local-variable
5129         property.
5130         (sql-password): Use defcustom :risky keyword rather than putting
5131         risky-local-variable property.
5132         (sql-oracle-login-params, sql-sqlite-login-params)
5133         (sql-solid-login-params, sql-sybase-login-params)
5134         (sql-informix-login-params, sql-ingres-login-params)
5135         (sql-ms-login-params, sql-postgres-login-params)
5136         (sql-interbase-login-params, sql-db2-login-params)
5137         (sql-linter-login-params): Add `port' option.
5138         (sql-get-product-feature): Added NO-INDIRECT parameter.
5139         (sql-comint-oracle, sql-comint-sybase)
5140         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5141         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5142         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5143         (sql-comint-linter): Renamed sql-connect-* functions to
5144         sql-comint-*.
5145         (sql-product-alist, sql-mode-menu): Renamed as above and
5146         :sqli-connect-func to :sqli-comint-func.
5147         (sql-connection): New variable.
5148         (sql-interactive-mode): Set it.
5149         (sql-connection-alist): New variable.
5150         (sql-connect): New function.
5151         (sql--alt-buffer-part, sql--alt-if-not-empty)
5152         (sql-make-alternate-buffer-name): Improved alternative buffer name.
5154 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5156         * image-mode.el (image-bookmark-make-record): Do not set context
5157         in an image (Bug#6650).
5159 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
5161         * simple.el (select-active-region): New function.
5162         (push-mark-command, set-mark, activate-mark)
5163         (handle-shift-selection): Use it.
5164         (deactivate-mark): Don't check for size of region.
5166         * mouse.el (mouse-drag-track): Use select-active-region.
5168 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
5170         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5171         "--dired" stronger.
5173 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
5175         * term/x-win.el (x-select-enable-primary): Change default to nil.
5176         (x-select-enable-clipboard): Add :version keyword.
5178         * mouse.el (mouse-drag-copy-region):
5179         * simple.el (select-active-regions): Likewise.
5181 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
5183         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5184         (vc-coding-system-for-diff): Use it to decide whether to inherit
5185         from the file the EOL format for reading the diffs of that file.
5186         (Bug#4451)
5188 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
5190         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5191         unibyte, so compressed attachments are not compressed again.
5193 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
5195         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5196         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5197         (tramp-find-shell): Simplify setting connection property.
5198         (tramp-get-ls-command): Make test for "--color=never" stronger.
5200 2010-07-15  Simon South  <ssouth@member.fsf.org>
5202         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5203         blocks within record declarations (i.e. variant parts) correctly.
5205 2010-07-15  Simon South  <ssouth@member.fsf.org>
5207         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5208         over literal tokens when parsing so newlines aren't "absorbed" by
5209         single-line comments.  Corrects the indentation of case blocks
5210         that have a comment on the first line.
5212 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
5214         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5215         by Drew Adams (Bug#5504).
5217 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
5219         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
5220         now that Unicode is used (Bug#6594).
5222 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
5224         * term/x-win.el (x-select-enable-clipboard): Default to t.
5225         (x-initialize-window-system): Don't overwrite Paste menu item.
5227         * simple.el (select-active-regions): Default to t.
5228         (push-mark-command): Don't overwrite primary with empty string.
5230         * mouse.el: Bind mouse-2 to mouse-yank-primary.
5231         (mouse-drag-copy-region): Default to nil.
5233         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5234         Cut/Copy/Paste menu bar items.
5236 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5238         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5239         Patch applied by Karl Fogel.
5241         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5242         and `bookmark-current-buffer' if they have been already set in
5243         another buffer (e.g gnus-art).
5245 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
5246             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5248         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5250         * bookmark.el (bookmark-make-record-default): Allow unneeded
5251         information to be omitted from the record.
5253         Adjust declarations and calls:
5255         * info.el (bookmark-make-record-default): Adjust declaration.
5256         (Info-bookmark-make-record): Adjust call.
5258         * woman.el (bookmark-make-record-default): Adjust declaration.
5259         (woman-bookmark-make-record): Adjust call.
5261         * man.el (bookmark-make-record-default): Adjust declaration.
5262         (Man-bookmark-make-record): Adjust call.
5264         * image-mode.el (bookmark-make-record-default): Adjust declaration.
5266         * doc-view.el (bookmark-make-record-default): Adjust declaration.
5268 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
5270         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5271         This is also from Thierry Volpiatto's patch in bug #6444.  However,
5272         because it was extraneous to the functional change in that patch,
5273         and causes a re-indendation, I am committing it separately.
5275 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5277         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5278         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5279         Patch applied by Karl Fogel (Bug#6444).
5281 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
5283         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5285 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
5287         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5288         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
5289         (ns-alternatives-map): Change S-tab binding to backtab
5290         (bug#6616).
5292         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5293         under ns.
5295 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
5297         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5298         (Bug#5806)
5300         * language/tv-util.el (tai-viet-re): Remove format.
5302 2010-07-12  Kenichi Handa  <handa@m17n.org>
5304         * language/hebrew.el: Remove no-byte-compile declaration.
5305         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
5306         composition-function-table for 3-character looking back.
5307         (hebrew-font-get-precomposed): New function.
5308         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5310 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
5312         * mouse.el (mouse-drag-track): Handle select-active-regions
5313         (Bug#6612).
5315 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
5317         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5318         empty argument to gvfs-copy.
5320 2010-07-10  Glenn Morris  <rgm@gnu.org>
5322         * calendar/calendar.el (calendar-week-end-day): New function.
5323         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5324         Respect calendar-week-start-day.  (Bug#6606)
5325         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5326         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5327         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5328         respect calendar-week-start-day.
5330 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
5332         * simple.el (use-region-p): Doc fix (Bug#6607).
5334 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
5336         * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
5337         regexps for cucumber and ruby.
5339 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
5341         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
5342         (epa-file-insert-file-contents): Hack to prevent
5343         find-file from opening empty buffer when decryption failed
5344         (bug#6568).
5346 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
5348         * textmodes/ispell.el (ispell-alternate-dictionary):
5349         Use file-readable-p.
5350         Return nil if no word-list is found at default locations.
5351         (ispell-complete-word-dict): Default to nil.
5352         (ispell-command-loop): Use 'word-list' when using lookup-words.
5353         (lookup-words): Use ispell-complete-word-dict or
5354         ispell-alternate-dictionary.  Check for word-list availability
5355         and handle errors if needed with better messages (Bug#6539).
5356         (ispell-complete-word): Use ispell-complete-word-dict or
5357         ispell-alternate-dictionary.
5359 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
5361         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
5362         builtins (BufferError, BytesWarning, WindowsError; callables
5363         bin, bytearray, bytes, format, memoryview, next, print; __package__).
5365 2010-07-07  Glenn Morris  <rgm@gnu.org>
5367         * play/zone.el (top-level): Do not require timer, tabify, or cl.
5368         (zone-shift-left): Ignore intangibility, and any errors from
5369         forward-char.
5370         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
5371         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
5372         deleting, and copying text properties.
5373         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
5374         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
5375         to point-max is hard.
5376         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
5377         (zone-fill-out-screen): Ignore intangibility.
5379 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
5381         * menu-bar.el (menu-bar-mode):
5382         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
5383         if it has been set.
5385         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
5386         word/line selection (Bug#6565).
5388 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
5390         * net/dbus.el (dbus-send-signal): Declare function.
5392 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
5394         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
5395         (dbus-register-property): New optional argument EMITS-SIGNAL.
5396         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
5398 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
5400         * mouse.el (mouse-drag-overlay): Variable deleted.
5401         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5402         (mouse--remap-link-click-p): New function.
5403         (mouse-drag-track): Handle dragging by using temporary Transient
5404         Mark mode, instead of a special overlay.
5405         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5406         mouse-show-mark.
5408         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5409         deleted.
5411 2010-07-02  Juri Linkov  <juri@jurta.org>
5413         * autoinsert.el (auto-insert-alist): Fix readability
5414         by using dotted pair notation for lambda.
5416 2010-07-02  Juri Linkov  <juri@jurta.org>
5418         * faces.el (read-face-name): Rename arg `string-describing-default'
5419         to `default'.  Doc fix.  Display the default value in quotes
5420         in the prompt.  With empty input, return the `default' arg,
5421         unless the default value is a string (in which case return nil).
5422         (describe-face): Replace the string `default' arg of `read-face-name'
5423         with the symbol `default'.
5425 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
5427         * emulation/viper-cmd.el (viper-delete-backward-char)
5428         (viper-del-backward-char-in-insert)
5429         (viper-del-backward-char-in-replace, viper-change)
5430         (viper-backward-indent): Replace delete-backward-char with
5431         delete-char (Bug#6552).
5433 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
5435         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
5437 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5439         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
5440         argument passed to frame-creation-function (Bug#5378).
5442         * faces.el (x-handle-named-frame-geometry)
5443         (x-handle-reverse-video, x-create-frame-with-faces)
5444         (face-set-after-frame-default, tty-create-frame-with-faces): Don't
5445         separately consult default-frame-alist.  It is now passed as the
5446         PARAMETER argument.
5448 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
5450         * startup.el (command-line): Don't call tool-bar-setup in a
5451         tty-only build.
5453 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5455         * ruler-mode.el (ruler--save-header-line-format): New fun.
5456         (ruler-mode): Use it as a setter function, so as not to overwrite
5457         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
5459 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
5461         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
5462         (vc-root-diff, vc-print-root-log, vc-log-incoming)
5463         (vc-log-outgoing): Use it.
5464         (vc-diff-internal): Set diff-vc-backend.
5466         * vc/diff-mode.el (diff-vc-backend): New var.
5468 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
5470         * dynamic-setting.el (font-setting-change-default-font): Remove
5471         call to message.
5473 2010-06-28  Kenichi Handa  <handa@m17n.org>
5475         * international/quail.el (quail-insert-kbd-layout): Fix the
5476         showing of untranslated characters.
5478 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
5480         * simple.el (delete-active-region): New option.
5481         (delete-backward-char): Implement in Lisp.
5482         (delete-forward-char): New command.
5484         * mouse.el (mouse-region-delete-keys): Deleted.
5485         (mouse-show-mark): Simplify.
5487         * bindings.el (global-map): Bind delete and DEL, the former to
5488         delete-forward-char.
5490 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
5492         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
5493         (ruby-mode): Bind indent-line-function (Bug#5119).
5495 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
5497         * startup.el (command-line): Recognize "0" X resource value.
5499 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
5501         * startup.el (command-line): Use X resources to set the value of
5502         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
5504         * menu-bar.el (menu-bar-mode):
5505         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
5506         Set init-value to t.
5508         * frame.el (frame-notice-user-settings): Don't change
5509         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
5510         vice versa (Bug#2249).
5512 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
5514         * w32-fns.el (w32-convert-standard-filename): Doc fix.
5516 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
5518         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
5519         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
5521         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
5522         default directories are expanded (Bug#6143).
5524 2010-06-24  Juri Linkov  <juri@jurta.org>
5526         * minibuffer.el (completions-format): Change default from nil to
5527         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
5529 2010-06-24  Juri Linkov  <juri@jurta.org>
5531         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
5532         buffer-locally to lambda that re-runs the vc diff command.
5533         (Bug#6447)
5535 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
5537         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
5538         echo area is in use (Bug#3412).
5540 2010-06-22  Glenn Morris  <rgm@gnu.org>
5542         * textmodes/texinfmt.el (texinfo-format-region)
5543         (texinfo-raise-lower-sections, texinfo-format-separate-node)
5544         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
5545         (texinfo-format-option, texinfo-noindent):
5546         Use line-beginning-position and line-end-position.
5548         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
5549         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
5550         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
5551         utf-8 characters.
5553 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
5555         * play/zone.el (zone-fall-through-ws): Fix next-line ->
5556         forward-line fallout.
5558 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
5560         * mouse.el (mouse-appearance-menu): Add docstring.
5562         * help.el (describe-key): Print up-event using key-description.
5564 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
5566         * net/zeroconf.el (zeroconf-resolve-service)
5567         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
5568         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
5570 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
5572         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
5574 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
5576         Avoid displaying files with a nil state in vc-dir.
5577         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
5578         cases that cause insertion.
5579         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
5580         with a nil state.
5582 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5584         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
5586 2010-06-29  Leo  <sdl.web@gmail.com>
5588         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
5590 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
5592         * generic-x.el (bat-generic-mode): Fix regexp for command line
5593         switches (Bug#5719).
5595 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
5597         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
5598         of nconc to avoid pure storage error (Bug#6239).
5600 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
5602         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
5603         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
5604         bindings of bookmark-automatically-show-annotations (Bug#6515).
5606 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
5608         * arc-mode.el (archive-zip-extract): Don't quote the file name on
5609         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
5611 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
5613         * comint.el (make-comint, make-comint-in-buffer): Mention return
5614         value in the docstrings.  (Bug#6498)
5616 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
5618         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
5619         since it is not present when using some non-default switches.
5621 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
5623         * simple.el (compose-mail): Fix doc string to refer to
5624         `compose-mail-user-agent-warnings', instead of to the
5625         nonexistent `compose-mail-check-user-agent'.
5627 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
5629         Fix an indentation bug:
5631         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
5632         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
5633         of existing values.
5635         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
5636         (c-clear->-pair-props-if-match-before): now return t when they've
5637         cleared properties, nil otherwise.
5638         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
5639         by taking account of the existing value.
5641         * progmodes/cc-defs.el
5642         (c-clear-char-property-with-value-function): Fix this to clear the
5643         property rather than overwriting it with nil.
5645 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
5647         * emacs-lisp/package.el (package-print-package): Add link to
5648         package description via describe-package.
5649         (describe-package-1): List package requirements.  Add button to
5650         perform installation.
5651         (package-menu-describe-package): New command.
5653         * help-mode.el (help-package): New button type.
5655 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
5657         * emacs-lisp/package.el: Move package-list-packages binding to
5658         menu-bar.el.
5659         (describe-package, describe-package-1, package--dir): New funs.
5660         (package-activate-1): Use package--dir.
5662         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
5664         * help-mode.el (help-package-def): New button type.
5666         * menu-bar.el: Move package-list-packages binding here from
5667         package.el.
5669 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
5671         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
5673 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5675         * emacs-lisp/edebug.el (edebug-read-list):
5676         Phase out old-style backquotes.
5678 2010-06-17  Juri Linkov  <juri@jurta.org>
5680         * help-mode.el (help-mode): Set buffer-local variable
5681         revert-buffer-function to help-mode-revert-buffer.
5682         (help-mode-revert-buffer): New function.
5684         * info.el (Info-revert-find-node): Check for major-mode Info-mode
5685         before popping to "*info*" (like in other Info functions).
5686         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
5687         old-history-forward.  Pop to old-buffer-name or "*info*" to
5688         recreate the killed buffer.  Set Info-history-forward from
5689         old-history-forward.
5690         (Info-breadcrumbs-depth): Add :group and :version.
5692 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
5694         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
5696 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
5698         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
5699         for languages like Portuguese with pt_{BR,PT} and no plain pt.
5701 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
5703         * emacs-lisp/package.el (package-menu-mode-map):
5704         Move initialization into declaration.
5706         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
5708 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
5710         * emacs-lisp/package.el (package-archive-base): Point to
5711         elpa.gnu.org.
5712         (package-enable, package-load-list): New defcustoms.
5713         (package-user-dir, package-directory-list): Turn into defcustoms.
5714         Don't include package-user-dir in package-directory-list.
5715         (package--builtins-base): Don't include Emacs as a "package".
5716         (package-subdirectory-regexp): New var.
5717         (package-load-all-descriptors, package-compute-transaction)
5718         (package-download-transaction): Obey package-load-list.
5719         (package-activate-1): Rename from package-do-activate.
5720         (package-list-packages-internal): Check package-load-list.
5721         (package-load-descriptor, package-generate-autoloads)
5722         (package-unpack, package-unpack-single)
5723         (package--read-archive-file, package-delete): Use
5724         expand-file-name.
5726         * emacs-lisp/package-x.el: New file.  Package uploading
5727         functionality split out from package.el.
5729         * startup.el (command-line): Load packages after reading init file.
5731 2010-06-17  Tom Tromey  <tromey@redhat.com>
5733         * emacs-lisp/package.el: New file.
5735 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
5737         Fix vc-annotate for renamed files when using Git.
5738         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
5739         ls-files.  Doe not pass the object as a file name to cat-file, it
5740         is not a file name.
5741         (vc-git-annotate-command): Pass the file name using -- to avoid
5742         ambiguity with the revision.
5743         (vc-git-previous-revision): Pass a relative file name.
5745 2010-06-22  Glenn Morris  <rgm@gnu.org>
5747         * progmodes/js.el (js-mode-map): Use standard capitalization and
5748         ellipses for menu entries.
5750         * wid-edit.el (widget-complete): Doc fix.
5752 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
5754         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
5756 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
5758         Fix annotating other revisions for renamed files in vc-annotate.
5759         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
5760         VC backend.  Use it when non-nil.
5761         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
5762         (Bug#6487)
5764         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
5765         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5766         Do not pass the file name to the 'previous-revision call when we
5767         don't want a file diff.  (Bug#6489)
5769 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
5771         Fix finding revisions for renamed files in vc-annotate.
5772         * vc/vc.el (vc-find-revision): Add an optional argument for
5773         the VC backend.  Use it when non-nil.
5774         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
5775         backend to vc-find-revision.  (Bug#6487)
5777 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
5779         Fix reading file names in Git annotate buffers.
5780         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
5781         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
5783 2010-06-20  Alan Mackenzie  <acm@muc.de>
5785         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
5786         in file local variables, set it first.
5788 2010-06-19  Glenn Morris  <rgm@gnu.org>
5790         * descr-text.el (describe-char-unicode-data): Insert separating
5791         space when needed.  (Bug#6422)
5793         * progmodes/idlwave.el (idlwave-action-and-binding):
5794         Fix typo in 2009-12-03 change.  (Bug#6450)
5796 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5798         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
5799         handling for `lambda' (misunderstanding).
5801 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
5803         * calc/calc-poly.el (math-accum-factors): Make sure that
5804         constants aren't distributed after they are factored out.
5806 2010-06-16  Juri Linkov  <juri@jurta.org>
5808         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
5809         `list-colors-print'.  (Bug#6332)
5811         * subr.el (read-quoted-char): Fix up last change (bug#6290).
5813 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5815         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
5816         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
5818         * font-lock.el (font-lock-major-mode): Rename from
5819         font-lock-mode-major-mode to distinguish it from
5820         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
5821         (font-lock-set-defaults):
5822         * font-core.el (font-lock-default-function): Adjust users.
5823         (font-lock-mode): Don't set it at all.
5825 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5827         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
5829 2010-06-16  Glenn Morris  <rgm@gnu.org>
5831         * calendar/appt.el (appt-time-msg-list): Doc fix.
5832         (appt-check): Let-bind appt-warn-time.
5833         (appt-add): Make the 3rd argument optional.
5834         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
5835         Only add WARNTIME to the output list if non-nil.
5837 2010-06-16  Ivan Kanis  <apple@kanis.eu>
5839         * calendar/appt.el (appt-check): Let the 3rd element of
5840         appt-time-msg-list specify the warning time.
5841         (appt-add): Add new argument with the warning time.  (Bug#5176)
5843 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
5845         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
5846         older than version 1.6.  (Bug#6361)
5848 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
5850         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
5851         used by cl-do-arglist.  (Bug#6408)
5853 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
5855         * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
5856         portuguese casechars/not-casechars for missing 'çÇ'.
5857         Suggested by Rolando Pereira (bug#6434).
5859 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
5861         * facemenu.el (list-colors-sort): Doc fix.
5863 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
5865         * progmodes/sql.el (sql-connect-mysql): Fix typo.
5867 2010-06-14  Juri Linkov  <juri@jurta.org>
5869         Add sort option `list-colors-sort'.  (Bug#6332)
5870         * facemenu.el (color-rgb-to-hsv): New function.
5871         (list-colors-sort): New defcustom.
5872         (list-colors-sort-key): New function.
5873         (list-colors-display): Doc fix.  Sort list according to the option
5874         `list-colors-sort'.
5875         (list-colors-print): Add HSV values to `help-echo' property of
5876         RGB strings.
5878 2010-06-14  Juri Linkov  <juri@jurta.org>
5880         * compare-w.el: Move to the "vc" subdirectory.
5882 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5884         * image-mode.el (image-mode-map): Remap left-char and right-char.
5886         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
5888 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
5890         * term/common-win.el (x-colors): Add all the color names defined
5891         in rgb.txt (Bug#6332).
5893         * facemenu.el (list-colors-print): Don't print extra names if it
5894         will overflow the window width.
5896         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
5897         change (Bug#6343).
5899 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
5901         * files.el (make-directory): Doc fix (bug#6396).
5903 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
5905         * net/tramp.el (tramp-remote-process-environment): Protect version
5906         string by apostroph.
5907         (tramp-shell-prompt-pattern): Do not use a shy group in case of
5908         XEmacs.
5909         (tramp-file-name-for-operation): Add `call-process-region'.
5910         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5912         * net/tramp-compat.el (top): Do not autoload
5913         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
5914         only when `start-file-process' is not bound.
5915         (tramp-advice-file-expand-wildcards): Do not use
5916         `tramp-handle-file-remote-p'.
5917         (tramp-compat-make-temp-file): Handle the case, that
5918         `make-temp-file' has no third argument EXTENSION.
5920 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
5922         * makefile.w32-in (WINS_BASIC): Include new directory vc.
5924         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
5926 2010-06-11  Juri Linkov  <juri@jurta.org>
5928         * finder.el (finder-known-keywords): Add keyword "vc"
5929         for version control.
5931         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
5932         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
5933         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
5934         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
5936 2010-06-11  Juri Linkov  <juri@jurta.org>
5938         Move version control related files to the "vc" subdirectory.
5939         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
5940         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
5941         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
5942         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
5943         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
5944         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
5945         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
5946         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
5947         Move files to the "vc" subdirectory.
5949 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
5951         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
5952         (Bug#6367).
5954 2010-06-11  Stephen Eglen  <stephen@gnu.org>
5956         * shell.el: Bind `shell-resync-dirs' to M-RET.
5958 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
5960         * notifications.el: Move file from lisp/net, because it is
5961         supposed to talk locally to the user.
5963 2010-06-10  Julien Danjou  <julien@danjou.info>
5965         * net/notifications.el (notifications-on-action-signal)
5966         (notifications-on-closed-signal): Pass notification id as first
5967         argument to the callback functions.  Add docstrings.
5968         (notifications-notify): Fix docstring.
5970 2010-06-10  Glenn Morris  <rgm@gnu.org>
5972         * emacs-lisp/authors.el (authors-ignored-files)
5973         (authors-valid-file-names): Add some files.
5975 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5977         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
5978         merge conflict, giving preference to the emacs-23 version of the code.
5980 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5982         * emacs-lisp/advice.el (ad-compile-function):
5983         Define warning-suppress-types before we let-bind it (bug#6275).
5985         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
5986         declare it, make it buffer-local and permanent-local (bug#6324).
5987         (vc-resynch-window): Adjust name.
5988         * vc-hooks.el (vc-find-file-hook): Adjust name.
5990 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
5992         * net/notifications.el (notifications-notify): Fix docstring.
5994 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
5996         Update to Unicode 6.0.0 beta.
5997         * international/charprop.el: Update copyright.
5998         * international/mule-cmds.el (ucs-names): Update character ranges.
5999         * international/uni-bidi.el:
6000         * international/uni-category.el:
6001         * international/uni-combining.el:
6002         * international/uni-comment.el:
6003         * international/uni-decimal.el:
6004         * international/uni-decomposition.el:
6005         * international/uni-digit.el:
6006         * international/uni-lowercase.el:
6007         * international/uni-mirrored.el:
6008         * international/uni-name.el:
6009         * international/uni-numeric.el:
6010         * international/uni-old-name.el:
6011         * international/uni-titlecase.el:
6012         * international/uni-uppercase.el: Regenerate.
6014 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
6016         * emacs-lisp/smie.el (comment-string-strip): Declare function.
6017         (smie-precs-precedence-table): Fix typo in docstring.
6019         * vc-mtn.el (log-edit-extract-headers): Declare function.
6021         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6023         * net/notifications.el (dbus-register-signal): Declare function.
6024         (notifications-notify): Fix typos and reflow docstring.
6026 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
6028         Improve VC create/retrieve tag/branch.
6029         * vc.el (vc-create-tag): Do not read the directory name for VCs
6030         with repository revision granularity.  Adjust the tag/branch
6031         prompt.  Reset VC properties.
6032         (vc-retrieve-tag): Do not read the directory name for VCs
6033         with repository revision granularity.  Reset VC properties.
6035 2010-06-09  Julien Danjou  <julien@danjou.info>
6037         * net/notifications.el: New file.
6039 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
6041         Add optional support for resetting VC properties.
6042         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6043         call vc-file-clearprops when true.
6044         (vc-resynch-buffer): Add new optional argument, pass it down.
6045         (vc-resynch-buffers-in-directory): Likewise.
6047         Improve support for special markup in the VC commit message.
6048         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6049         * vc-hg.el (vc-hg-checkin): Add support for Date:.
6050         * vc-git.el (vc-git-checkin):
6051         * vc-bzr.el (vc-bzr-checkin): Likewise.
6053 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6055         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6056         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6058 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
6060         * iimage.el: Remove images as soon as the underlying text is modified.
6061         (iimage-modification-hook): New function.
6062         (iimage-mode-buffer): Use it.
6064 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6066         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6067         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
6068         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
6069         (smie-indent-keyword): Add handling of open-paren keywords.
6070         (smie-indent-comment-continue): Don't assume comment-continue.
6072 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
6074         * window.el (pop-to-buffer): Remove the conditional that
6075         compares new-window and old-window, so it will reselect
6076         the selected window unconditionally.
6077         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6079 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6081         * emacs-lisp/smie.el (smie-indent-offset-after)
6082         (smie-indent-forward-token, smie-indent-backward-token): New functions.
6083         (smie-indent-after-keyword): Use them.
6084         (smie-indent-fixindent): Only applies to the indentation of the BOL.
6085         (smie-indent-keyword): Tweak the black magic.
6086         (smie-indent-comment-continue): Strip comment-continue before use.
6087         (smie-indent-functions): Indent comments before keywords.
6089 2010-06-06  Juri Linkov  <juri@jurta.org>
6091         * isearch.el (isearch-lazy-highlight-search): Fix looping
6092         by checking for empty match.  This syncs this loop with the
6093         similar loop in `isearch-search'.  (Bug#6362)
6095 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
6097         * net/dbus.el (dbus-register-method): Declare function.
6098         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6099         (dbus-introspect): Doc fix.
6100         (dbus-event-bus-name, dbus-introspect-get-interface)
6101         (dbus-introspect-get-argument): Reflow docstrings.
6103 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
6105         vc-log-incoming/vc-log-outgoing fixes for Git.
6106         * vc-git.el (vc-git-log-view-mode): Fix font lock for
6107         incoming/outgoing logs.
6108         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6109         instead of vc-git-compute-remote.
6110         (vc-git-compute-remote): Remove.
6112 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
6114         * term/common-win.el (x-colors): Add "dark green" and "dark
6115         turquoise" (Bug#6332).
6117 2010-06-04  Juri Linkov  <juri@jurta.org>
6119         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6120         Instead of setting `replace' to t and replacing the same string
6121         with itself, don't do certain actions when
6122         kill-do-not-save-duplicates is non-nil and string is equal to car
6123         of kill-ring: don't call menu-bar-update-yank-menu, don't push
6124         interprogram-paste strings to kill-ring, and don't push the input
6125         argument `string' to kill-ring.
6126         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6128 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
6130         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6132 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
6134         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6135         (tramp-gvfs-handler-mounted-unmounted)
6136         (tramp-gvfs-connection-mounted-p): Handle default-location.
6138         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6139         move files to trash.
6141 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
6143         * international/mule-cmds.el (nonascii-insert-offset)
6144         (nonascii-translation-table): Add obsolescence information.
6146         * international/mule.el (make-translation-table-from-vector): Doc fix.
6148 2010-06-03  Glenn Morris  <rgm@gnu.org>
6150         * desktop.el (desktop-clear-preserve-buffers):
6151         Add "*Warnings*" buffer.  (Bug#6336)
6153 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
6155         vc-log-incoming/vc-log-outgoing improvements for Git.
6156         * vc-git.el (vc-git-log-outgoing): Use the same format as the
6157         short log.
6158         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
6160         Add bindings for vc-log-incoming and vc-log-outgoing.
6161         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6162         and vc-log-outgoing.
6163         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6164         and vc-log-outgoing.
6166 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
6168         * net/rcirc.el (rcirc-sort-nicknames): Remove.
6169         (rcirc-handler-366): Always sort nicknames.
6171 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
6173         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6175 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
6177         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6179 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6181         * net/rcirc.el (rcirc-sort-nicknames): Change default.
6182         (rcirc-sort-nicknames-join): Avoid setq.
6184 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
6186         * net/rcirc.el (rcirc-sort-nicknames): New custom.
6187         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6188         (rcirc-handler-366): Use them.
6190 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6192         Split smie-indent-calculate into more manageable chunks.
6193         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6194         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6195         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6196         (smie-indent-exps): Extract from smie-indent-calculate.
6197         (smie-indent-functions): New var.
6198         (smie-indent-functions): Use them.
6200 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6202         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6203         (smie-indent-calculate): Simplify and cleanup.
6205 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
6207         * net/tramp-gvfs.el (top): Require url-util.
6208         (tramp-gvfs-mount-point): Remove.
6209         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6210         New defuns.
6211         (with-tramp-dbus-call-method): Format trace message.
6212         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6213         Implement backup call, when operation on local files fails.
6214         Use progress reporter.  Flush properties of changed files.
6215         (tramp-gvfs-handle-make-directory): Make more traces.
6216         (tramp-gvfs-url-file-name): Hexify file name in url.
6217         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6218         into account for the resulting file name.
6219         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6220         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
6221         (tramp-gvfs-handler-mounted-unmounted)
6222         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6223         attribute "default_location".  Set "prefix" property.
6224         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6225         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6226         exists.  Raise an error, if not (due to a corresponding answer
6227         "no" in interactive questions, for example).
6229 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
6231         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6233 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
6235         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6236         right-*.  (Bug#6265)
6238 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
6240         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6241         * vc-git.el (vc-git-compute-remote): New function.
6242         (vc-git-log-outgoing): Use it instead of hard coding a value.
6243         (vc-git-log-incoming): New function.
6245         Improve state updating for VC tag commands.
6246         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6247         to update the state of all buffers in the directory.
6249         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6251 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6253         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6254         `file-directory-p' to the filename part rather than to the whole text.
6256 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6258         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6260 2010-05-31  Drew Adams  <drew.adams@oracle.com>
6262         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6264 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
6266         * subr.el (momentary-string-display): Just use read-event to read
6267         the exit event (Bug#6238).
6269 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
6271         * international/mule.el (define-coding-system): Doc fix (bug#6313).
6273 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
6275         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6276         Suggested by Eli Zaretskii <eliz@gnu.org>.
6278 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6280         * minibuffer.el (completion-file-name-table): Don't return a boundary
6281         past the end of `string' (bug#6299).
6282         (completion--file-name-table): Delegate to completion-file-name-table
6283         for the `boundaries' case.
6285 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
6287         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6288         movement commands.
6290         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6291         `path-separator', but maintain compatibility with Emacs 20.2.
6293 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
6295         * server.el (server-process-filter): Receive parent-id argument
6296         from emacsclient.
6297         (server-create-window-system-frame): New arg.  Pass parent-id as
6298         frame parameter.
6300 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
6302         Bidi-sensitive word movement with arrow keys.
6303         * subr.el (right-arrow-command, left-arrow-command): Move to
6304         bindings.el.
6306         * bindings.el (right-char, left-char): Move from subr.el and
6307         rename from right-arrow-command and left-arrow-command.
6308         (right-word, left-word): New functions.
6309         (global-map) <right>: Bind to right-char.
6310         (global-map) <left>: Bind to left-char.
6311         (global-map) <C-right>: Bind to right-word.
6312         (global-map) <C-left>: Bind to left-word.
6314         * ls-lisp.el (ls-lisp-classify-file): New function.
6315         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6316         (ls-lisp-classify): Call ls-lisp-classify-file.
6317         (insert-directory): Remove blanks from switches.
6319 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
6321         * ansi-color.el: Delete unused escape sequences (Bug#6085).
6322         (ansi-color-drop-regexp): New constant.
6323         (ansi-color-apply, ansi-color-filter-region)
6324         (ansi-color-apply-on-region): Delete unrecognized control sequences.
6325         (ansi-color-apply): Build string list before calling concat.
6327 2010-05-28  Juri Linkov  <juri@jurta.org>
6329         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6330         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6331         (Bug#5270)
6333 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
6335         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6336         to ignored backtrace functions.
6337         (with-progress-reporter): Expand docstring.
6338         (tramp-handle-delete-file): Implement TRASH argument.
6339         (tramp-get-remote-trash): New defun.
6341 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
6343         * net/tramp-compat.el (tramp-compat-delete-file): Use
6344         `symbol-value' for backward compatibility.
6346         * net/tramp.el (tramp-handle-make-symbolic-link)
6347         (tramp-handle-load)
6348         (tramp-do-copy-or-rename-file-via-buffer)
6349         (tramp-do-copy-or-rename-file-directly)
6350         (tramp-do-copy-or-rename-file-out-of-band)
6351         (tramp-handle-process-file, tramp-handle-call-process-region)
6352         (tramp-handle-shell-command, tramp-handle-file-local-copy)
6353         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6354         (tramp-delete-temp-file-function): Use `delete-file' instead
6355         of `tramp-compat-delete-file'.
6357         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6358         (tramp-fish-handle-make-symbolic-link)
6359         (tramp-fish-handle-process-file): Use `delete-file' instead
6360         of `tramp-compat-delete-file'.
6362         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
6363         `delete-file' instead of `tramp-compat-delete-file'.
6365         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6366         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
6367         `tramp-compat-delete-file'.
6369         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
6370         `delete-file' instead of `tramp-compat-delete-file'.
6372         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6373         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6374         (tramp-smb-handle-write-region): Use `delete-file' instead of
6375         `tramp-compat-delete-file'.
6376         (tramp-smb-handle-delete-directory): Use 'trash as arg.
6378 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6380         * dired.el (dired-delete-file): New arg TRASH.
6381         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
6382         (dired-do-flagged-delete, dired-do-delete): Use trash.
6384         * speedbar.el (speedbar-item-delete): Allow trashing.
6386         * files.el (delete-directory): New arg TRASH.
6388         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
6389         (ange-ftp-rename-remote-to-remote)
6390         (ange-ftp-rename-local-to-remote)
6391         (ange-ftp-rename-remote-to-local, ange-ftp-load)
6392         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
6393         `delete-file'.
6394         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
6395         allow trashing.
6397         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6398         handle new TRASH arg of `delete-file'.
6400         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
6401         (tramp-handle-make-symbolic-link, tramp-handle-load)
6402         (tramp-do-copy-or-rename-file-via-buffer)
6403         (tramp-do-copy-or-rename-file-directly)
6404         (tramp-do-copy-or-rename-file-out-of-band)
6405         (tramp-handle-process-file, tramp-handle-call-process-region)
6406         (tramp-handle-shell-command, tramp-handle-file-local-copy)
6407         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6408         (tramp-delete-temp-file-function): Use null TRASH arg in
6409         tramp-compat-delete-file call.
6411         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6412         (tramp-fish-handle-delete-file)
6413         (tramp-fish-handle-make-symbolic-link)
6414         (tramp-fish-handle-process-file): Use null TRASH arg in
6415         `tramp-compat-delete-file' call.
6417         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6418         arg in `tramp-compat-delete-file' call.
6420         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6421         (tramp-gvfs-handle-write-region): Use null TRASH arg in
6422         `tramp-compat-delete-file' call.
6424         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
6425         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
6426         `tramp-compat-delete-file' call.
6428         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6429         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6430         (tramp-smb-handle-write-region): Use null TRASH arg in
6431         tramp-compat-delete-file call.
6432         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
6433         (tramp-smb-handle-delete-file): Rename arg.
6435         * diff.el (diff-sentinel):
6436         * epg.el (epg--make-temp-file, epg-decrypt-string)
6437         (epg-verify-string, epg-sign-string, epg-encrypt-string):
6438         * jka-compr.el (jka-compr-partial-uncompress)
6439         (jka-compr-call-process, jka-compr-write-region):
6440         * server.el (server-sentinel): Remove optional arg from
6441         delete-file, reverting 2010-05-03 change.
6443 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6445         * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
6446         font-lock-constant-face, not obsolete font-lock-reference-face.
6448 2010-05-27  Kenichi Handa  <handa@m17n.org>
6450         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
6451         element of GSTRING is nil.
6453 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6455         * emacs-lisp/smie.el (smie-forward-token-function)
6456         (smie-backward-token-function): New vars.
6457         (smie-backward-sexp, smie-forward-sexp)
6458         (smie-indent-hanging-p, smie-indent-calculate): Use them.
6459         (smie-default-backward-token): Rename from smie-backward-token and
6460         skip comments.
6461         (smie-default-forward-token): Rename from smie-forward-token and
6462         skip comments.
6463         (smie-next-sexp): Handle nil results from next-token.
6464         (smie-indent-calculate): Add a new case for special `fixindent' comments.
6466 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6468         * progmodes/verilog-mode.el (verilog-type-font-keywords):
6469         Use font-lock-constant-face, not obsolete font-lock-reference-face.
6471 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
6473         * htmlfontify.el (hfy-face-resolve-face): New function.
6474         (hfy-face-to-style): Use it (Bug#6279).
6476 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6478         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
6479         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
6481 2010-05-26  Glenn Morris  <rgm@gnu.org>
6483         * emulation/edt.el (edt-load-keys): Use locate-library.
6485 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
6487         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
6488         (log-edit-changelog-entries): Doc fix.
6489         (log-edit-changelog-insert-entries): Args changed.
6490         Rename relative filenames in ChangeLog entries.  Delete tabs.
6491         (log-edit-insert-changelog-entries): Reorganize return value of
6492         `log-edit-changelog-entries' to pass filenames to
6493         log-edit-changelog-insert-entries.
6495 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6497         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
6498         `image-dired-dired-insert-marked-thumbs' to
6499         `image-dired-dired-toggle-marked-thumbs'.
6501         * image-dired.el: Require cl when compiling.
6502         (image-dired-dired-toggle-marked-thumbs): Rename from
6503         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
6504         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
6505         to 'no-dir.  Skip files whose names don't match
6506         `image-file-name-regexp'.  When file has a thumbnail overlay,
6507         delete it.  (Bug#5270)
6509 2010-05-25  Juri Linkov  <juri@jurta.org>
6511         * image-mode.el (image-mode): Add image-after-revert-hook to
6512         after-revert-hook.
6513         (image-after-revert-hook): New function.  (Bug#5669)
6515 2010-05-25  Juri Linkov  <juri@jurta.org>
6517         * image.el (image-animated-p): When delay between animated images
6518         is 0, set it to 10 (0.1 sec).  (Bug#6258)
6520 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
6522         * net/tramp.el (tramp-handle-insert-directory): Don't use
6523         `forward-word', its default syntax could be changed.
6525 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
6527         * net/tramp.el (tramp-progress-reporter-update): New defun.
6528         (with-progress-reporter): Use it.
6529         (tramp-process-actions):
6530         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
6531         current message, in order to let progress reporter continue
6532         afterwards.  (Bug#6257)
6534 2010-05-25  Glenn Morris  <rgm@gnu.org>
6536         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
6537         Add :version.
6539 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
6541         * net/rcirc.el (rcirc-default-user-name): Change to "user".
6542         (rcirc-default-full-name): Change to "unknown".
6543         (rcirc-user-name-history): Add variable.
6545 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
6546             Jonathan Rockway  <jon@jrock.us>
6548         * net/rcirc.el (rcirc-server-alist): Add :pass.
6549         (rcirc): When prompting for connection parameters, also prompt for
6550         username and password.
6551         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
6552         value to server when connecting.
6554 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6556         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
6557         (smie-merge-prec2s): Pass the tables as separate args.
6558         (smie-bnf-precedence-table): Adjust call accordingly.
6559         (smie-prec2-levels): Set levels at the end.
6561         Replace Lisp calls to delete-backward-char by delete-char.
6562         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
6563         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
6564         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
6565         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
6566         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
6567         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
6568         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
6569         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
6570         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
6571         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
6572         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
6573         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
6574         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
6575         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
6576         delete-backward-char by calls to delete-char.
6578 2010-05-25  Kenichi Handa  <handa@m17n.org>
6580         * language/hebrew.el (hebrew-shape-gstring): New function.
6581         Register it in composition-function-table for all Hebrew combining
6582         characters.
6584 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6586         * epa.el (epa--select-keys): Don't explicitly delete the window since
6587         that can fail (e.g. sole window in frame).  Use dedication instead.
6589 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
6591         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
6593 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
6595         * image.el (image-refresh): Define as an alias for image-flush.
6597         * image-mode.el (image-toggle-display-image): Caller changed.
6599 2010-05-21  Juri Linkov  <juri@jurta.org>
6601         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
6602         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
6603         whitespace, call wildcard-to-regexp on substrings and concat them
6604         with "\\|".  (Bug#6114)
6606 2010-05-21  Alan Mackenzie  <acm@muc.de>
6608         * progmodes/cc-engine.el (c-parse-state-get-strategy):
6609         Replace parameter `here' with `here-' and `here-plus', which sandwich
6610         any pertinent CPP construct.
6611         (c-remove-stale-state-cache-backwards): Fix a bug which happens
6612         when doing (c-parse-state) in a CPP construct: Exclude any "new"
6613         CPP construct from taking part in the scanning.
6615 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
6617         * net/tramp.el (tramp-do-copy-or-rename-file)
6618         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
6619         Tune `with-progress-reporter' messages.
6620         (tramp-handle-vc-registered):
6621         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
6622         (tramp-fish-handle-insert-file-contents)
6623         (tramp-fish-maybe-open-connection):
6624         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6625         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
6626         (tramp-imap-handle-insert-file-contents)
6627         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6629 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
6631         * add-log.el (change-log-font-lock-keywords):
6632         Highlight all authors in multi-author entries.
6634         * smerge-mode.el (smerge-refine-ignore-whitespace)
6635         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
6636         Fix typos in docstrings.
6637         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
6639 2010-05-21  Glenn Morris  <rgm@gnu.org>
6641         * progmodes/fortran.el (fortran-mode):
6642         * progmodes/f90.el (f90-mode): Derive from prog-mode.
6644         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
6645         having a relative path in src/Makefile.in.
6647 2010-05-20  Kevin Ryde  <user42@zip.com.au>
6649         * help-mode.el (help-make-xrefs): For Info node links turn
6650         newlines into spaces.  Link node names with newlines are matched
6651         by help-xref-info-regexp and buttonized, this change ensures they
6652         can be followed successfully with RET.  (Bug#6206)
6654 2010-05-20  Juri Linkov  <juri@jurta.org>
6656         * locate.el (locate): Use pop-to-buffer instead of
6657         switch-to-buffer-other-window.  (Bug#6204)
6659 2010-05-20  Juri Linkov  <juri@jurta.org>
6661         * replace.el (replace-highlight): Fix lazy-highlighting
6662         for `M-s w str M-% str RET'.
6664 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
6666         * isearch.el (isearch-yank-word-or-char): Pull next subword
6667         when `subword-mode' is activated.  (Bug#6220)
6669 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
6671         * isearch.el (isearch-update-post-hook): New hook.
6672         (isearch-update): Use the new hook.  (Bug#6225)
6674 2010-05-20  Juri Linkov  <juri@jurta.org>
6676         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
6677         [f1], [help], and (char-to-string help-char) instead of "\C-h".
6678         (Bug#6222)
6680 2010-05-20  Juri Linkov  <juri@jurta.org>
6682         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
6683         (Bug#6223)
6685 2010-05-20  Juri Linkov  <juri@jurta.org>
6687         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
6688         FILE-NAME to read from the minibuffer when called interactively
6689         with prefix argument instead of using buffer-file-name.
6690         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
6692         * dired.el: Update autoloads.
6694 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
6696         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
6697         nxml-finish-element, for consistency with SGML mode.
6699         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
6700         octave-close-block.
6702 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
6704         * composite.el: Require cl when compiling.
6705         (reference-point-alist, compose-gstring-for-graphic)
6706         (compose-gstring-for-terminal): Fix typos in docstrings.
6708 2010-05-19  Juri Linkov  <juri@jurta.org>
6710         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
6711         set-window-parameter.
6713 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
6715         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
6716         where appropriate.
6717         (tramp-maybe-open-connection): Use it.
6719 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
6721         * simple.el (move-end-of-line): Make sure we are at line beginning
6722         before backing up to end of previous line.
6724 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
6726         * password-cache.el (password-cache-remove): Fix docstring.
6728         * net/secrets.el: Autoload the widget functions.
6729         (secrets-search-items, secrets-create-item)
6730         (secrets-get-attributes, secrets-expand-item): Attributes will be
6731         stored on the password database without leading ":", as all other
6732         clients do as well.
6733         (secrets-mode): Fix docstring.
6734         (secrets-show-secrets): Provide it as autoloaded command only when
6735         D-Bus support is available.  Check existence of Secret Service API.
6737 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6739         * indent.el (indent-region): Deactivate region (bug#6200).
6741 2010-05-19  Glenn Morris  <rgm@gnu.org>
6743         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
6745 2010-05-19  Kenichi Handa  <handa@m17n.org>
6747         * composite.el: Register compose-gstring-for-graphic in
6748         composition-function-table only for combining characters (Mn, Mc, Me).
6750 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
6752         * calc/calc-trail.el (calc-trail-isearch-forward)
6753         (calc-trail-isearch-backward): Ensure that the new window
6754         point is set correctly.
6756 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6758         * subr.el (read-quoted-char): Resolve modifiers after key
6759         remapping (bug#6212).
6761 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
6763         Add visualization code for secrets.
6764         * net/secrets.el (secrets-mode): New major mode.
6765         (secrets-show-secrets, secrets-show-collections)
6766         (secrets-expand-collection, secrets-expand-item)
6767         (secrets-tree-widget-after-toggle-function)
6768         (secrets-tree-widget-show-password): New defuns.
6770 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6772         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
6773         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
6774         handled in smie-next-sexp.
6775         (smie-indent-calculate): Provide a starting indentation (so the
6776         recursion is well-founded ;-).
6778         Fix handling of non-associative equal levels.
6779         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
6780         when it's not needed.
6781         (smie-op-left, smie-op-right): New functions.
6782         (smie-next-sexp): New function, extracted from smie-backward-sexp.
6783         Better handle equal levels to distinguish the associative case from
6784         the "multi-keyword construct" case.
6785         (smie-backward-sexp, smie-forward-sexp): Use it.
6787 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
6789         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
6791         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
6792         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
6794 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6796         Provide a simple generic indentation engine and use it for Prolog.
6797         * emacs-lisp/smie.el: New file.
6798         * progmodes/prolog.el (prolog-smie-op-levels)
6799         (prolog-smie-indent-rules): New var.
6800         (prolog-mode-variables): Use them to configure SMIE.
6801         (prolog-indent-line, prolog-indent-level): Remove.
6803 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
6805         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
6806         order before computing the averages.
6808 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
6810         * calc/calc-vec.el (calc-histogram):
6811         (calcFunc-histogram): Allow vectors as inputs.
6812         (math-vector-avg): New function.
6814         * calc/calc-ext.el (math-group-float): Have the number of digits
6815         being grouped depend on the radix (Bug#6189).
6817 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
6819         * version.el (emacs-copyright, emacs-version): Don't define here,
6820         now that emacs.c defines it.
6822 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
6824         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
6825         "Describe Language Environment" menu item.
6827         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
6829         Bidi-sensitive movement with arrow keys.
6830         * subr.el (right-arrow-command, left-arrow-command): New functions.
6832         * bindings.el (global-map): Bind them to right and left arrow keys.
6834         Don't override standard definition of convert-standard-filename.
6835         * files.el (convert-standard-filename): Call
6836         w32-convert-standard-filename and dos-convert-standard-filename on
6837         the corresponding systems.
6839         * w32-fns.el (w32-convert-standard-filename): Rename from
6840         convert-standard-filename.  Doc fix.
6842         * dos-fns.el (dos-convert-standard-filename): Doc fix.
6843         (convert-standard-filename): Don't defalias.
6844         (register-name-alist, make-register, register-value)
6845         (set-register-value, intdos): Obsolete aliases for the
6846         corresponding dos-* functions and variables.
6847         (dos-intdos): Add a doc string.
6849 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
6851         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
6852         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
6853         (math-compose-tex-func):
6854         * calc/calccomp.el (math-compose-expr):
6855         * calc/calc-ext.el (math-format-flat-expr-fancy):
6856         * calc/calc-store.el (calc-read-var-name):
6857         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
6859         * calc/calc.el (var-π, var-φ, var-γ): New variables.
6860         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
6861         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
6862         (math-standard-units): Add units.
6864 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6866         * progmodes/asm-mode.el (asm-mode):
6867         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
6869         * pcomplete.el (pcomplete-completions-at-point): New function,
6870         extracted from pcomplete-std-complete.
6871         (pcomplete-std-complete): Use it.
6873 2010-05-15  Glenn Morris  <rgm@gnu.org>
6875         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6876         Remove references to CVS, RCS and Old directories.
6878 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
6880         * calc/calc-bin.el (math-format-twos-complement): Group digits when
6881         appropriate.
6883 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6885         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
6886         (sh-mode-syntax-table): Give it a default value instead.
6887         (sh-header-marker): Make buffer-local.
6888         (sh-mode): Move make-local-variable to the corresponding setq.
6889         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
6890         Use complete-with-action.
6892         * simple.el (prog-mode): New (abstract) major mode.
6893         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
6894         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
6896 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
6898         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
6899         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
6900         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
6901         (sql-make-alternate-buffer-name, sql-placeholders-filter)
6902         (sql-escape-newlines-filter, sql-input-sender)
6903         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
6905 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
6907         Add TeX open-block and close-block keybindings to SGML, and vice versa.
6909         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
6910         latex-open-block and C-c / to latex-close-block.
6912         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
6913         and C-c C-e to sgml-close-tag.
6915 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
6917         * net/tramp.el (with-progress-reporter): Create reporter object
6918         only when the message would be displayed.  Handle nested calls.
6919         (tramp-handle-load, tramp-handle-file-local-copy)
6920         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6921         (tramp-maybe-send-script, tramp-find-shell):
6922         Use `with-progress-reporter'.
6923         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
6924         Fix message text.
6926         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6927         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6928         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6929         Use `with-progress-reporter'.
6931 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
6933         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
6934         process everytime when spellchecking from the minibuffer (bug#6143).
6936 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6938         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
6940         * dos-fns.el: Add "dos-" prefix for namespace control.
6941         (convert-standard-filename): Define as alias for
6942         dos-convert-standard-filename but only if applicable.
6944 2010-05-12  Alan Mackenzie  <acm@muc.de>
6946         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
6947         Push the mark at the start of these functions when appropriate.
6949 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6951         * minibuffer.el (completion-cycle-threshold): New custom var.
6952         (completion--do-completion): Use it.
6953         (minibuffer-complete): Use cycling if appropriate.
6955 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
6957         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
6958         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
6960 2010-05-11  Juri Linkov  <juri@jurta.org>
6962         * scroll-all.el (scroll-all-check-to-scroll):
6963         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
6965 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6967         * iimage.el (iimage-mode-map): Move initialization into declaration.
6968         (iimage-mode-buffer): Use with-silent-modifications.
6969         Simplify calling convention.  Adjust callers.
6970         (iimage-mode): Don't run hook redundantly.
6972         * minibuffer.el (completion-pcm--pattern->regex):
6973         Fix last change (bug#6160).
6975 2010-05-10  Juri Linkov  <juri@jurta.org>
6977         Remove nodes visited during Isearch from the Info history.
6978         * info.el (Info-isearch-initial-history)
6979         (Info-isearch-initial-history-list): New variables.
6980         (Info-isearch-start): Record initial values of
6981         Info-isearch-initial-history and Info-isearch-initial-history-list.
6982         Add Info-isearch-end to isearch-mode-end-hook.
6983         (Info-isearch-end): New function.
6985 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
6987         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
6988         format string, in order to work around a bug in pdksh.
6989         Reported by Gilles Pion <gpion@lfdj.com>.
6990         (tramp-handle-verify-visited-file-modtime): Do not send a command
6991         when the connection is not established.
6992         (tramp-handle-set-file-times): Simplify the check for utc.
6994 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
6996         Fix use of `filter-buffer-substring' (rework previous change).
6997         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
6998         (cua-repeat-replace-region):
6999         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7000         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7001         (cua-cut-region-to-global-mark): Use it.
7003 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
7005         * progmodes/sql.el: Version 2.1.
7006         (sql-product-alist): Redesign structure of product info.
7007         (sql-product, sql-user, sql-server, sql-database): Safe variables.
7008         (sql-port, sql-port-history): New variables.
7009         (sql-interactive-product): New variable.
7010         (sql-send-terminator): New variable.
7011         (sql-imenu-generic-expression): Add "Types" imenu entry.
7012         (sql-oracle-login-params, sql-sqlite-login-params)
7013         (sql-mysql-login-params, sql-solid-login-params)
7014         (sql-sybase-login-params, sql-informix-login-params)
7015         (sql-ingres-login-params, sql-ms-login-params)
7016         (sql-postgres-login-params, sql-interbase-login-params)
7017         (sql-db2-login-params, sql-linter-login-params)
7018         (sql-oracle-scan-on): New variables.
7019         (sql-mode-map): Add C-c C-i to start interactive mode.
7020         (sql-mode-menu): Update existing menu entries.
7021         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7022         (sql-mode-oracle-font-lock-keywords)
7023         (sql-mode-postgres-font-lock-keywords)
7024         (sql-mode-ms-font-lock-keywords)
7025         (sql-mode-sybase-font-lock-keywords)
7026         (sql-mode-informix-font-lock-keywords)
7027         (sql-mode-interbase-font-lock-keywords)
7028         (sql-mode-ingres-font-lock-keywords)
7029         (sql-mode-solid-font-lock-keywords)
7030         (sql-mode-mysql-font-lock-keywords)
7031         (sql-mode-sqlite-font-lock-keywords)
7032         (sql-mode-db2-font-lock-keywords)
7033         (sql-mode-linter-font-lock-keywords): Update initialization to
7034         reduce run-time complexity.
7035         (sql-add-product, sql-del-product): New functions.
7036         (sql-set-product-feature, sql-get-product-feature): New functions.
7037         (sql-product-font-lock): Update product API.
7038         (sql-add-product-keywords): New function.
7039         (sql-highlight-product): Update product API.
7040         (sql-help-list-products): New function.
7041         (sql-help): Dynamically lists free and non-free products.
7042         (sql-get-login): Correct bug in handling history and added
7043         prompt for port.
7044         (sql-copy-column): Copy without properties.
7045         (sqli-input-sender): Apply filters to SQLi input.
7046         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7047         Implement as a filter.
7048         (sql-escape-newlines-filter): Implement as a filter.
7049         (sql-remove-tabs-filter): New function.
7050         (sql-send-magic-terminator): New function.
7051         (sql-send-string): Implement magic terminator.
7052         (sql-send-region): Use `sql-send-string'.
7053         (sql-interactive-mode): Use product API.
7054         (sql-product-interactive): Use product API.
7055         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7056         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7057         (sql-db2, sql-linter): Use `sql-product-interactive'.
7058         (sql-connect): New function.
7059         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7060         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7061         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
7062         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7063         Use `sql-connect'.
7065 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7067         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7068         New custom variable.
7069         (completion-pcm--string->pattern): Use it.
7070         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7071         Make it handle any symbol as `any'.
7072         (completion-pcm--merge-completions): Extract common suffix for the new
7073         `prefix' symbol as well.
7074         (completion-substring--all-completions): Use the new `prefix' symbol.
7076 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
7078         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7079         not bound.
7080         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7081         (tramp-compat-funcall): New defmacro.
7082         (tramp-compat-line-beginning-position)
7083         (tramp-compat-line-end-position)
7084         (tramp-compat-temporary-file-directory)
7085         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7086         (tramp-compat-copy-file, tramp-compat-copy-directory)
7087         (tramp-compat-delete-file, tramp-compat-delete-directory)
7088         (tramp-compat-number-sequence, tramp-compat-process-running-p)
7089         * net/tramp.el (top, with-progress-reporter)
7090         (tramp-rfn-eshadow-setup-minibuffer)
7091         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7092         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7093         (tramp-completion-mode-p, tramp-check-for-regexp)
7094         (tramp-open-connection-setup-interactive-shell)
7095         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7096         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7097         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7098         * net/tramp-cmds.el (tramp-cleanup-all-connections)
7099         (tramp-reporter-dump-variable, tramp-load-report-modules)
7100         (tramp-append-tramp-buffers)
7101         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7103         * net/tramp-imap.el (top): Autoload `epg-make-context'.
7105 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7107         * progmodes/compile.el (compilation-buffer-modtime): Rename from
7108         buffer-modtime.  Adjust users.
7110 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
7112         * international/mule.el (auto-coding-alist): Only purecopy
7113         car of each item, not the whole list (Bug#6083).
7115 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
7117         * progmodes/js.el (js-mode): Make paragraph variables local before
7118         calling c-setup-paragraph-variables (Bug#6071).
7120 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
7122         * composite.el (compose-region, reference-point-alist): Fix typos
7123         in the doc strings.
7125 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7127         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7128         gnuplot's "set" command.
7130 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
7132         * abbrev.el (last-abbrev-text): Doc fix.
7133         (abbrev-prefix-mark): Don't escape parenthesis.
7135 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
7137         * composite.el (find-composition): Doc fix.
7139 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
7141         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7142         (sql-oracle-program, sql-sqlite-options)
7143         (sql-query-placeholders-and-send): Doc fixes.
7144         (sql-set-product, sql-interactive-mode): Reflow docstrings.
7145         (sql-imenu-generic-expression, sql-buffer)
7146         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7147         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7148         (sql-mode-sybase-font-lock-keywords)
7149         (sql-mode-informix-font-lock-keywords)
7150         (sql-mode-interbase-font-lock-keywords)
7151         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7152         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7153         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7154         (sql-product-feature, sql-highlight-product)
7155         (comint-line-beginning-position, sql-rename-buffer)
7156         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7157         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
7158         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7159         Fix typos in docstrings.
7161 2010-05-08  Juri Linkov  <juri@jurta.org>
7163         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7164         property instead of `invisible' and `after-string' (bug#5998).
7166 2010-05-08  Juri Linkov  <juri@jurta.org>
7168         * image-mode.el (image-mode-as-text): Fix typo in docstring.
7170 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
7172         * filecache.el (file-cache-add-directory-list)
7173         (file-cache-add-directory-recursively): Fix typos in docstrings.
7175 2010-05-08  Kenichi Handa  <handa@m17n.org>
7177         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7178         (gujarati-composable-pattern): Fix typo.
7180 2010-05-08  Kenichi Handa  <handa@m17n.org>
7182         * language/indian.el (oriya-composable-pattern)
7183         (tamil-composable-pattern, malayalam-composable-pattern):
7184         Add two-part vowels to "v" (vowel sign).
7186 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
7188         * files.el (copy-directory): Handle symlinks (Bug#5982).
7190 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
7192         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7193         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
7194         (Bug#5846).
7196 2010-05-08  Glenn Morris  <rgm@gnu.org>
7198         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7200         * minibuffer.el (completion-at-point): Doc fix.
7202 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7204         * electric.el (Electric-command-loop): Minor tweak.
7206         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7207         better with dedicated windows.
7209 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
7211         * Version 23.2 released.
7213 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
7214             Stefan Monnier  <monnier@iro.umontreal.ca>
7216         Highlight vendor specific properties.
7217         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7218         (css-proprietary-property): New face.
7219         (css-font-lock-keywords): Use them.
7221 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
7223         * cus-start.el (all): Add native condition for tool-bar-* symbols.
7225 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7227         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7228         * files.el (auto-mode-alist): Remove redundant entries.
7230         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7231         * simple.el (auto-save-mode): Move from files.el.
7232         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7234 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
7236         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
7238 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
7240         * mail/binhex.el (binhex-decode-region-internal)
7241         * mail/uudecode.el (uudecode-decode-region-internal)
7242         * net/dns.el (dns-read-string-name, dns-write, dns-read)
7243         (dns-read-type, dns-query)
7244         * pgg-parse.el (pgg-parse-armor)
7245         * pgg.el (pgg-verify-region)
7246         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7247         XEmacs.
7249         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
7251 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
7253         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7255         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7256         * emulation/cua-base.el (cua-repeat-replace-region):
7257         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7258         (cua-cut-region-to-global-mark):
7259         Remove text properties with `set-text-properties'.
7261 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
7263         * net/tramp.el (top, with-progress-reporter):
7264         Use `symbol-function' inside `funcall'.
7266         * net/tramp-compat.el (tramp-compat-file-attributes)
7267         (tramp-compat-delete-file, tramp-compat-delete-directory):
7268         Handle only `wrong-number-of-arguments' error.
7270         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7271         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7272         inside `funcall'.
7274 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7276         * minibuffer.el (completion--sreverse, completion--common-suffix):
7277         New functions.
7278         (completion-pcm--merge-completions): Extract common suffix when safe.
7280         * emacs-lisp/easy-mmode.el (define-minor-mode):
7281         Make :variable more flexible.
7282         * files.el (auto-save-mode): Use it to define using define-minor-mode.
7284 2010-05-05  Juri Linkov  <juri@jurta.org>
7286         Add `slow' and `history' tags to the desktop data.
7288         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7289         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7290         (Info-finder-find-node): Require `finder.el' to be able
7291         to restore node from the desktop.
7292         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
7293         data `Info-history' and `slow' tag in the assoc list.
7294         (Info-restore-desktop-buffer): Don't restore nodes with the
7295         `slow' tag.  Restore `Info-history'.
7297 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
7299         Add FORCE argument to `delete-file'.
7301         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7302         forcing to delete the temporary file.
7303         (ange-ftp-delete-file): Add FORCE arg.
7304         (ange-ftp-rename-remote-to-remote)
7305         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7306         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7307         Force file deletion.
7309         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7311         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7312         (tramp-handle-make-symbolic-link, tramp-handle-load)
7313         (tramp-do-copy-or-rename-file-via-buffer)
7314         (tramp-do-copy-or-rename-file-directly)
7315         (tramp-do-copy-or-rename-file-out-of-band)
7316         (tramp-handle-process-file, tramp-handle-call-process-region)
7317         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7318         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7319         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7321         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7322         (tramp-fish-handle-make-symbolic-link)
7323         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7325         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7326         Use `tramp-compat-delete-file'.
7328         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7329         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7331         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7332         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7334         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7335         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7336         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
7337         `tramp-compat-delete-file'.
7339 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7341         Minor cleanups.
7342         * subr.el (add-minor-mode): Use push.
7343         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
7344         * emulation/edt.el (edt-select-mode): Simplify.
7346         Use define-minor-mode in more cases.
7347         * term/tvi970.el (tvi970-set-keypad-mode):
7348         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7349         (normal-erase-is-backspace-mode):
7350         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
7351         (set-scroll-bar-mode-1): (Re)move to its sole caller.
7352         (get-scroll-bar-mode): New function.
7353         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
7355         Use define-minor-mode for less obvious cases.
7356         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
7357         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
7358         * international/iso-ascii.el (iso-ascii-mode):
7359         * frame.el (auto-raise-mode, auto-lower-mode):
7360         * composite.el (global-auto-composition-mode): Use define-minor-mode.
7362 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
7364         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
7365         in order to see error messages for failed logins.
7367 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
7369         * diff.el (diff-sentinel):
7371         * epg.el (epg--make-temp-file, epg-decrypt-string)
7372         (epg-verify-string, epg-sign-string, epg-encrypt-string):
7374         * jka-compr.el (jka-compr-partial-uncompress)
7375         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
7377         * server.el (server-sentinel): Use delete-file's new FORCE arg
7378         (Bug#6070).
7380 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7382         Use define-minor-mode where applicable.
7383         * view.el (view-mode):
7384         * type-break.el (type-break-query-mode)
7385         (type-break-mode-line-message-mode):
7386         * textmodes/reftex.el (reftex-mode):
7387         * term/vt100.el (vt100-wide-mode):
7388         * tar-mode.el (tar-subfile-mode):
7389         * savehist.el (savehist-mode):
7390         * ibuf-ext.el (ibuffer-auto-mode):
7391         * composite.el (auto-composition-mode):
7392         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7393         Use define-minor-mode.
7394         (vhdl-mode): Use static mode-line format.
7395         (vhdl-mode-line-update): Delete.
7396         (vhdl-create-mode-menu, vhdl-activate-customizations)
7397         (vhdl-hs-minor-mode): Don't bother calling it.
7399 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7401         * simple.el (with-wrapper-hook): Move.
7402         (buffer-substring-filters): Mark obsolete.
7403         (filter-buffer-substring-functions): New variable.
7404         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
7406 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
7407             Michael Albinus  <michael.albinus@gmx.de>
7409         Implement compression for inline methods.
7411         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7412         (tramp-copy-size-limit): Allow also nil.
7413         (tramp-inline-compress-commands): New defconst.
7414         (tramp-find-inline-compress, tramp-get-inline-compress)
7415         (tramp-get-inline-coding): New defuns.
7416         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7417         replaced by `tramp-get-inline-coding'.
7418         (tramp-handle-file-local-copy, tramp-handle-write-region)
7419         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7421 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7423         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
7424         Remove unused functions.
7426         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
7427         Set find-tag-default-function as a variable rather than a property.
7429         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
7430         * progmodes/etags.el (tags-completion-at-point-function):
7431         Remove left over interactive spec.  Add autoloading stub.
7432         (complete-tag): Use tags-completion-at-point-function.
7434 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
7436         * minibuffer.el (tags-completion-at-point-function): Fix return value.
7438 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
7440         * ido.el (ido-init-completion-maps): Remove C-v binding.
7441         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
7443 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
7445         * minibuffer.el (tags-completion-at-point-function): New function.
7446         (completion-at-point-functions): Use it.
7448         * progmodes/etags.el (complete-tag): Revert last change.
7450 2010-04-29  Alan Mackenzie  <acm@muc.de>
7452         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
7453         off-by-one error (in end of macro position).
7455 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7457         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
7458         firefox is absent.  Don't autoload.
7459         (browse-url-galeon-program): Don't autoload.
7461 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
7463         * bindings.el (complete-symbol): Move into minibuffer.el.
7465         * minibuffer.el (complete-tag): Move from etags.el.  If tags
7466         completion cannot be performed, return nil instead of signalling
7467         an error.
7468         (completion-at-point): Make it an alias for complete-symbol.
7469         (complete-symbol): Move from bindings.el, and replace with the
7470         body of completion-at-point.
7472         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
7474 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
7476         * net/tramp.el (tramp-remote-selinux-p): New defun.
7477         (tramp-handle-file-selinux-context)
7478         (tramp-handle-set-file-selinux-context): Use it.
7480 2010-04-28  Sam Steingold  <sds@gnu.org>
7482         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7483         `safe-local-variable' if the value is a string or a symbol with
7484         the property `bug-reference-url-format'.
7486 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
7488         * progmodes/bug-reference.el (bug-reference-url-format):
7489         Revert 2010-04-27 change due to security risk.
7491 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7493         Make it possible to locally disable a globally enabled mode.
7494         * simple.el (fundamental-mode): Run fundamental-mode-hook.
7495         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
7496         rather than kill-all-local-variables so it runs fundamental-mode-hook.
7497         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7498         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
7499         that subsequent hooks get a chance to disable it.
7501 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7503         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7504         Avoid re-enabling a minor mode after the user turned the minor mode
7505         off if MODE-enable-in-buffers is run twice (typically once from
7506         fundamental-mode's after-change-major-mode-hook and a second time from
7507         run-mode-hook's own after-change-major-mode-hook).
7509         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
7511 2010-04-27  Sam Steingold  <sds@gnu.org>
7513         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7514         `safe-local-variable' if the value is a string or a function, as
7515         documented and implemented on 2010-04-02.
7517 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
7519         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
7520         when method is 'kill.
7522 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
7524         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
7525         condition in default directory check.
7526         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
7527         Kill ispell process when killing its associated buffer.
7529 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
7531         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
7532         but we aren't using it.
7534 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
7536         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
7537         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
7539 2010-04-24  Glenn Morris  <rgm@gnu.org>
7541         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
7542         Ignore VCS-ignore files, and deleted nextstep preferences files.
7543         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
7544         (authors-ambiguous-files): New list.
7545         (authors-valid-file-names): Add some deleted files.
7546         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
7547         (authors-disambiguate-file-name): New function.  (Bug#5501)
7548         (authors-canonical-file-name): Doc fix.
7549         Don't warn about obsolete files.
7550         (authors-canonical-file-name, authors-scan-el):
7551         Use authors-disambiguate-file-name.
7553         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7554         Add autoload cookies.
7555         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
7556         (generated-autoload-file): Set file-local value to "htmlfontify.el".
7557         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
7558         They have definitions / compiler macros in cl.el.
7559         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7560         Replace manual autoloads with generated ones.
7561         (htmlfontify-unload-rgb-file): Remove autoload.
7562         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
7564 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7566         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
7567         (byte-compile-setq-default): Optimize for the
7568         single-var case and don't call byte-compile-form in this case to avoid
7569         inf-loop with byte-compile-set-default.
7571         * progmodes/compile.el (compilation-start): Abbreviate default directory.
7573 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
7575         Implement SELINUX backends.
7577         * net/tramp.el (tramp-file-name-handler-alist):
7578         Add `file-selinux-context' and `set-file-selinux-context'.
7579         (tramp-handle-file-selinux-context)
7580         (tramp-handle-set-file-selinux-context): New defuns.
7581         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7582         Handle PRESERVE-SELINUX-CONTEXT.
7584         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7585         Add `file-selinux-context' and `set-file-selinux-context'.
7586         (tramp-gvfs-handle-file-selinux-context)
7587         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7588         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7590         * net/ange-ftp.el (ange-ftp-copy-file):
7591         * net/tramp-fish.el (tramp-fish-handle-copy-file):
7592         * net/tramp-imap.el (tramp-imap-handle-copy-file):
7593         * net/tramp-smb.el (tramp-smb-handle-copy-file):
7594         Add PRESERVE-SELINUX-CONTEXT.
7596 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7598         Synchronize with Tramp repository.
7600         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
7601         (tramp-action-process-alive, tramp-action-out-of-band)
7602         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7603         (tramp-exists-file-name-handler): Fix docstring.
7604         (with-progress-reporter): New defmacro.
7605         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
7606         (tramp-maybe-open-connection): Use it.
7608 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
7610         Detect ssh 'ControlMaster' argument automatically in some cases.
7612         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7613         (tramp-default-method): Use it.
7615 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7617         * net/tramp.el (tramp-handle-copy-file): Add new optional
7618         parameter `preserve-selinux-context'.
7619         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
7621 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7623         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
7624         Ensure, that non remote files are still checked.  Oops.
7626 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
7628         Fix Bug#5840.
7630         * icomplete.el (icomplete-completions): Use `non-essential'.
7632         * net/tramp.el (tramp-connectable-p): New defun.
7633         (tramp-handle-expand-file-name)
7634         (tramp-completion-handle-file-name-all-completions)
7635         (tramp-completion-handle-file-name-completion): Use it.
7637 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7639         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
7641 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
7643         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
7645         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
7647         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
7648         is present.
7650         * info.el (info-tool-bar-map): Add labels.
7652         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
7654         * cus-edit.el (custom-commands): Add labels for tool bar.
7655         (custom-buffer-create-internal, Custom-mode): Adjust for
7656         labels in custom-commands.
7658         * dynamic-setting.el: Renamed from font-setting.el.
7660 2010-04-21  John Wiegley  <jwiegley@gmail.com>
7662         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
7663         toggles the use of virtual buffers.
7664         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
7665         (ido-toggle-virtual-buffers): New function.
7667 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
7669         Use `define-derived-mode'; fix window selection; doc fixes.
7670         * play/tetris.el (tetris, tetris-update-speed-function)
7671         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
7672         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
7673         (tetris-rotate-next, tetris-end-game, tetris-start-game)
7674         (tetris-pause-game): Fix typos in docstrings.
7675         (tetris-mode-map, tetris-null-map):
7676         Move initialization into declaration.
7677         (tetris-mode): Define with `define-derived-mode';
7678         set show-trailing-whitespace to nil.
7679         (tetris): Prefer window already displaying the "*Tetris*" buffer.
7681 2010-04-21  Karel Klíč  <kklic@redhat.com>
7683         * files.el (backup-buffer): Handle SELinux context, and return it
7684         if a backup was made by renaming.
7685         (backup-buffer-copy): Set SELinux context to the target file.
7686         (basic-save-buffer): Set SELinux context of the newly written file.
7687         (basic-save-buffer-1): Now it also returns any SELinux context.
7688         (basic-save-buffer-2): Set SELinux context of the newly created file,
7689         and return it.
7690         * net/tramp.el (tramp-file-name-for-operation):
7691         Add file-selinux-context.
7693 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7695         Make the log-edit comments use RFC822 format throughout.
7697         * vc.el (vc-checkin, vc-modify-change-comment):
7698         Adjust to new vc-start/finish-logentry.
7699         (vc-find-conflicted-file): New command.
7700         (vc-transfer-file): Adjust to new vc-checkin.
7701         (vc-next-action): Improve scoping.
7703         * vc-hg.el (vc-hg-log-edit-mode): Remove.
7704         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
7706         * vc-git.el (vc-git-log-edit-mode): Remove.
7707         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
7708         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
7710         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
7711         (vc-start-logentry): Remove argument `extra'.
7712         (vc-finish-logentry): Remove extra args.
7714         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
7715         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
7716         (vc-bzr-conflicted-files): New function.
7718         * log-edit.el (log-edit-extra-flags)
7719         (log-edit-before-checkin-process): Remove.
7720         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
7721         (log-edit-headers-alist): New var.
7722         (log-edit-header-contents-regexp): New const.
7723         (log-edit-match-to-eoh): New function.
7724         (log-edit-font-lock-keywords): Use them.
7725         (log-edit): Insert a "Summary:" header as default.
7726         (log-edit-mode): Mark font-lock rules as case-insensitive.
7727         (log-edit-done): Cleanup headers.
7728         (log-view-process-buffer): Remove.
7729         (log-edit-extract-headers): New function to replace it.
7731 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
7733         * subr.el (default-direction-reversed): Remove obsolescence info.
7735 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7737         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
7738         windows/frames.
7740         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
7741         I.e. include text after point in the completion region.
7742         Also, return nil when we're not after/in a symbol.
7744         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
7745         default enable-multibyte-characters.
7747 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7749         * international/mule.el: Help the user choose a valid coding-system.
7750         (read-buffer-file-coding-system): New function.
7751         (set-buffer-file-coding-system): Use it.  Prompt the user if the
7752         coding-system cannot encode all the chars.
7754         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
7755         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
7756         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
7757         Don't use *vc-bzr-shelve*.
7759 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
7761         Fix the version number for added files.
7762         * vc-hg.el (vc-hg-working-revision): Check if the file is
7763         registered after hg parent fails (Bug#5961).
7765 2010-04-19  Glenn Morris  <rgm@gnu.org>
7767         * htmlfontify.el (htmlfontify-buffer)
7768         (htmlfontify-copy-and-link-dir): Autoload entry points.
7770 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
7772         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
7773         name relative to the project root (Bug#5960).
7775 2010-04-19  Glenn Morris  <rgm@gnu.org>
7777         * vc-git.el (vc-git-print-log): Doc fix.
7779 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
7781         * ido.el (ido-file-internal): Fix 2009-12-02 change.
7783 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
7785         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
7786         default settings (Bug#5928).
7788 2010-04-19  Glenn Morris  <rgm@gnu.org>
7790         * progmodes/fortran.el (fortran-match-and-skip-declaration):
7791         New function.
7792         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
7794 2010-04-19  Kenichi Handa  <handa@m17n.org>
7796         * language/indian.el (malayalam-composable-pattern): Fix previous
7797         change (add U+0D4D "SIGN VIRAMA").
7798         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
7799         (tamil-composable-pattern): Fix typo in the regexp.
7800         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
7801         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
7802         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
7804 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
7806         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
7807         paragraph-separate (Bug#5821).
7809 2010-04-19  Juri Linkov  <juri@jurta.org>
7811         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
7813         * info.el (Info-find-node-2): Comment out code that skips
7814         breadcrumbs line.
7815         (Info-mouse-follow-link): New command.
7816         (Info-link-keymap): New keymap.
7817         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
7818         Return a string with links instead of inserting breadcrumbs
7819         to the Info buffer.
7820         (Info-fontify-node): Comment out code that inserts breadcrumbs.
7821         Instead of putting the `invisible' text property over the Info
7822         header, make an overlay over the Info header with the `invisible'
7823         property and `after-string' set to the string returned by
7824         `Info-breadcrumbs'.
7826 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
7828         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
7829         Reported by monkey@sandpframing.com.
7831 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7833         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
7834         (tmm-get-keymap): Add key-binding shortcuts now that they're not
7835         available in the "keyseq cache" any more.
7837         * custom.el (defcustom): Add edebug spec.
7839 2010-04-18  Juri Linkov  <juri@jurta.org>
7841         Test for special mode-class in view-buffer instead of view-file (bug#5513).
7843         * view.el (view-file, view-buffer): Move test for special mode-class
7844         from view-file to view-buffer.
7846         * tar-mode.el (tar-extract): Turn if's into one cond
7847         like in arc-mode.el.
7849 2010-04-18  Juri Linkov  <juri@jurta.org>
7851         Add 7z archive format support (bug#5475).
7853         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
7854         (archive-7z-extract): New defcustom.
7855         (archive-find-type): Add magic string for 7z.
7856         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
7857         If `stderr-file' is non-nil, use `(t stderr-file)' for the
7858         `buffer' arg of `call-process'.
7859         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
7860         call the function `archive-7z-extract' with the variable
7861         `archive-7z-extract' let-bound to `archive-zip-extract'.
7862         (archive-7z-summarize, archive-7z-extract): New functions.
7864         * international/mule.el (auto-coding-alist):
7865         * files.el (auto-mode-alist): Add 7z file extension.
7867 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7869         * loadup.el: Setup hash-cons for pure data.
7871         Fix duplicate entries in cedet's loaddefs.el files.
7872         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
7873         Should make most file-local generated-autoload-file unnecessary.
7874         (print-readably): Silence warnings.
7875         (autoload-find-destination): Take load-name as an arg to make sure
7876         it's the same as the one that will be in the file.
7877         (autoload-generate-file-autoloads): Adjust to above changes.
7878         Try to make the dataflow a bit simpler.
7880         * cvs-status.el (cvs-refontify): Remove unused.
7882 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
7884         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
7886         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
7887         twos-complement mode.
7889 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
7891         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
7892         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
7893         (calc-inverse): Add "Option" to message, as appropriate.
7894         (calc-hyperbolic): Add "Option" to message, as appropriate.
7895         (calc-option, calc-is-option): New functions.
7897         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
7898         (calc-option-prefix-help): New function.
7900         * calc/calc-misc.el (calc-help): Add "Option" entry.
7902         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
7903         (calc-option-flag): New variable.
7904         (calc-do): Set `calc-option-flag to nil.
7905         (calc-set-mode-line): Add "Opt " as appropriate.
7907 2010-04-16  Juri Linkov  <juri@jurta.org>
7909         Move scrolling commands from simple.el to window.el
7910         because their primitives are implemented in window.c.
7912         * simple.el (scroll-error-top-bottom)
7913         (scroll-up-command, scroll-down-command, scroll-up-line)
7914         (scroll-down-line, scroll-other-window-down)
7915         (beginning-of-buffer-other-window, end-of-buffer-other-window):
7916         * window.el (scroll-error-top-bottom)
7917         (scroll-up-command, scroll-down-command, scroll-up-line)
7918         (scroll-down-line, scroll-other-window-down)
7919         (beginning-of-buffer-other-window, end-of-buffer-other-window):
7920         Move from simple.el to window.el because their primitives are
7921         implemented in window.c.
7923 2010-04-16  Juri Linkov  <juri@jurta.org>
7925         * isearch.el (isearch-lookup-scroll-key): Check both
7926         `isearch-scroll' and `scroll-command' properties.
7927         (scroll-up, scroll-down): Remove `isearch-scroll' property.
7929         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
7931         * simple.el (scroll-up-command, scroll-down-command)
7932         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
7934 2010-04-15  Juri Linkov  <juri@jurta.org>
7936         * simple.el (scroll-up-command, scroll-down-command)
7937         (scroll-up-line, scroll-down-line): Put `scroll-command'
7938         property on the these symbols.  Remove them from
7939         `scroll-preserve-screen-position-commands'.
7941         * mwheel.el (mwheel-scroll): Put `scroll-command' and
7942         `isearch-scroll' properties on the `mwheel-scroll' symbol.
7943         Remove it from `scroll-preserve-screen-position-commands'.
7945         * isearch.el (isearch-allow-scroll): Doc fix.
7947 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
7949         * net/tramp.el (tramp-error-with-buffer): Don't show the
7950         connection buffer when we are in completion mode.
7951         (tramp-file-name-handler): Catch the error for some operations
7952         when we are in completion mode.  This gives the user the chance to
7953         correct the file name in the minibuffer.
7955 2010-04-15  Glenn Morris  <rgm@gnu.org>
7957         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
7959 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
7961         Simplify by using `define-derived-mode'.
7962         * info.el (Info-mode):
7963         * calendar/todo-mode.el (todo-mode):
7964         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
7965         (gomoku-mode-map): Move initialization into declaration.
7967 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
7969         Fix Bug#5840.
7970         * ido.el (ido-file-name-all-completions-1):
7971         * minibuffer.el (minibuffer-completion-help):
7972         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
7974 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7976         * simple.el (non-essential): New var.
7978         Add a new field `location' to bookmarks for non-file bookmarks.
7979         * bookmark.el (bookmark-location): Use the new field, if present.
7980         (bookmark-insert-location): Undo last change, not needed any more.
7981         * man.el (Man-bookmark-make-record):
7982         * woman.el (woman-bookmark-make-record): Add `location' field.
7984 2010-04-14  Juri Linkov  <juri@jurta.org>
7986         * simple.el (scroll-error-top-bottom): New defcustom.
7987         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
7989         * emulation/pc-select.el (pc-select-override-scroll-error):
7990         Obsolete in favor of `scroll-error-top-bottom'.
7992 2010-04-14  Juri Linkov  <juri@jurta.org>
7994         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
7995         `scroll-up-command' and `M-v' to `scroll-down-command'.
7997         * emulation/cua-rect.el (cua--init-rectangles):
7998         * forms.el (forms--change-commands):
7999         * image-mode.el (image-mode-map):
8000         Remap scroll-down-command and scroll-up-command
8001         in addition to scroll-down and scroll-up.
8003 2010-04-14  Juri Linkov  <juri@jurta.org>
8005         * mwheel.el (scroll-preserve-screen-position-commands):
8006         Add mwheel-scroll to this list of commands.
8008         * simple.el (scroll-preserve-screen-position-commands):
8009         Add scroll-up-command, scroll-down-command, scroll-up-line,
8010         scroll-down-line to this list of commands.
8012 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8014         * obsolete/complete.el: Move from lisp/complete.el.
8016         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8018         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8019         to the minor mode function now turns the mode ON unconditionally.
8021 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8023         * vc-dir.el (vc-dir-kill-line): New command.
8024         (vc-dir-mode-map): Bind it to C-k.
8026         * bookmark.el (bookmark-insert-location): Handle a nil filename.
8028         * woman.el: Add bookmark declarations to silence the compiler.
8029         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8030         step to compatibility between man and woman bookmarks.
8031         Adjust for Man-default-bookmark-title renaming.
8032         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
8034         * man.el: Add bookmark declarations to silence the compiler.
8035         (Man-name-local-regexp): Make it match NAME as well.
8036         (Man-getpage-in-background): Return the buffer.
8037         (Man-notify-when-ready): Use `case'.
8038         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8039         Don't hardcode "NAME".  Simplify.
8040         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8041         Rename from Man-bookmark-make-record.
8042         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
8043         we have the actual man-args.  Use Man-getpage-in-background rather
8044         than `man' since the arg is already processed.  Let bookmark.el do the
8045         window handling.  Only wait for the relevant process.
8046         Don't forget to autoload.
8048         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8050 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8052         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8053         New functions.
8054         (woman-mode): Setup bookmark support.
8056         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8057         (man-bookmark-jump): New functions.
8058         (Man-mode): Setup bookmark support.
8060 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
8062         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8063         recognize ssh-keygen prompt (Bug#2817).
8065 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
8067         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8069 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
8071         Synchronize with Tramp repository.
8073         * net/tramp.el (tramp-completion-function-alist)
8074         (tramp-file-name-regexp, tramp-chunksize)
8075         (tramp-local-coding-commands, tramp-remote-coding-commands):
8076         Fix docstring.
8077         (tramp-remote-process-environment): Use `format' instead of `concat'.
8078         (tramp-handle-directory-files-and-attributes)
8079         (tramp-get-remote-path): Use `copy-tree'.
8080         (tramp-handle-file-name-all-completions): Backward/ XEmacs
8081         compatibility: Use `completion-ignore-case' if
8082         `read-file-name-completion-ignore-case' does not exist.
8083         (tramp-do-copy-or-rename-file-directly): Do not use
8084         `tramp-handle-file-remote-p'.
8085         (tramp-do-copy-or-rename-file-out-of-band):
8086         Use `tramp-compat-delete-directory'.
8087         (tramp-do-copy-or-rename-file-out-of-band)
8088         (tramp-compute-multi-hops, tramp-maybe-open-connection):
8089         Use `format-spec-make'.
8090         (tramp-find-foreign-file-name-handler)
8091         (tramp-advice-make-auto-save-file-name)
8092         (tramp-set-auto-save-file-modes): Remove superfluous check for
8093         `stringp'.  This is done inside `tramp-tramp-file-p'.
8094         (tramp-debug-outline-regexp): New defconst.
8095         (tramp-get-debug-buffer): Use it.
8096         (tramp-check-for-regexp): Use (forward-line 1).
8097         (tramp-set-auto-save-file-modes): Adapt version check.
8099         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8100         Wrap call of `featurep' for 2nd argument.
8101         (tramp-compat-make-temp-file): Simplify fallback implementation.
8102         (tramp-compat-copy-tree): Remove function.
8103         (tramp-compat-delete-directory): Provide implementation for older
8104         Emacsen.
8106         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8107         Do not use `tramp-fish-handle-file-attributes.
8109         * net/trampver.el: Update release number.
8111 2010-04-10  Glenn Morris  <rgm@gnu.org>
8113         * progmodes/compile.el (compilation-save-buffers-predicate):
8114         Add missing :version tag.
8116 2010-04-09  Sam Steingold  <sds@gnu.org>
8118         * progmodes/compile.el (compilation-save-buffers-predicate):
8119         Remove the "autoload" cookie.
8121         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8122         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8123         and `bug-reference-prog-mode' can be used in hooks directly.
8125 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
8127         Add --author support to git commit.
8128         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8129         (vc-git-log-edit-mode): New minor mode.
8130         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8131         New declarations.
8133 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
8135         * vc-hooks.el, vc-git.el: Improve documentation comments.
8137 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8139         Fix some of the problems in defsubst* (bug#5728).
8140         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8141         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8143 2010-04-07  Sam Steingold  <sds@gnu.org>
8145         * progmodes/compile.el (compilation-save-buffers-predicate):
8146         New custom variable.
8147         (compile, recompile): Pass it to `save-some-buffers'.
8149 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
8151         * wid-edit.el (widget-choose): Move cursor to the second line of
8152         the buffer (Bug#5695).
8154 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
8156         Add new VC methods: vc-log-incoming and vc-log-outgoing.
8157         * vc.el (vc-print-log-setup-buttons): New function split out from
8158         vc-print-log-internal.
8159         (vc-log-internal-common): New function, a parametrized version of
8160         vc-print-log-internal.
8161         (vc-print-log-internal): Just call vc-log-internal-common with the
8162         right arguments.
8163         (vc-incoming-outgoing-internal):
8164         (vc-log-incoming, vc-log-outgoing): New functions.
8165         (vc-log-view-type): New permanent local variable.
8167         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8169         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8170         of the dynamic bound vc-short-log.
8171         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8173         * vc-git.el (vc-git-log-outgoing): New function.
8174         (vc-git-log-view-mode): Use vc-log-view-type instead
8175         of the dynamic bound vc-short-log.
8177         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8178         of the dynamic bound vc-short-log.  Highlight the tag.
8179         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8180         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8181         (vc-hg-incoming-mode): Remove.
8182         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8184 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
8186         Fix default-directory for vc-root-diff.
8187         * vc.el (vc-root-diff): Bind default-directory to the root
8188         directory for the diff command.
8190 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
8192         * progmodes/verilog-mode.el (verilog-forward-sexp):
8193         (verilog-calc-1): Support "disable fork" and "fork wait" multi
8194         word keywords, suggested by Steve Pearlmutter.
8195         (verilog-pretty-declarations): Support lineup of declarations in
8196         port lists.
8197         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
8198         fix bug for /* / comments.
8199         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
8200         Speed up and simplfy as this is never called with a bound.
8201         (verilog-pretty-declarations): Enhance to line up declarations
8202         inside a parameter list, suggested by Alan Morgan.
8203         (verilog-pretty-expr): Tune assignment regular expression match
8204         string for corner cases; also use markers instead of character
8205         number as indent changes the later.
8207 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
8209         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8210         as missing keyword.
8211         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8212         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
8213         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8214         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
8215         Tennant.
8216         (verilog-keywords):
8217         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8218         1800-2009 keywords, including "global.".
8220 2010-04-06  John Wiegley  <jwiegley@gmail.com>
8222         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
8223         appearing in buffer list (if a live buffer name matched a recentf
8224         file basename).  Should use uniquify to offer a real solution.
8226 2010-04-06  John Wiegley  <jwiegley@gmail.com>
8228         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8229         comment to code, and add a :version tag.
8230         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
8232 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
8234         Enable recentf-mode if using virtual buffers.
8235         * ido.el (recentf-list): Declare for byte-compiler.
8236         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
8237         (ido-make-buffer-list): Simplify.
8238         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
8240 2010-04-05  Juri Linkov  <juri@jurta.org>
8242         Scrolling commands which scroll a line instead of full screen.
8243         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8245         * simple.el (scroll-up-line, scroll-down-line): New commands.
8246         Put property isearch-scroll=t on them.
8248         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8249         Remove commands.
8251 2010-04-05  Juri Linkov  <juri@jurta.org>
8253         Scrolling commands which do not signal errors at top/bottom.
8254         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8256         * simple.el (scroll-up-command, scroll-down-command): New commands.
8257         Put property isearch-scroll=t on them.
8259         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8260         `scroll-down-command' and [next] from `scroll-up' to
8261         `scroll-up-command'.
8263         * emulation/cua-base.el: Put property CUA=move on
8264         `scroll-up-command' and `scroll-down-command'.
8265         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8266         and `scroll-down-command' to `cua-scroll-down'.
8268 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
8270         * help.el (describe-mode): Return nil.
8272 2010-04-04  John Wiegley  <jwiegley@gmail.com>
8274         * ido.el (ido-use-virtual-buffers): New variable to indicate
8275         whether "virtual buffer" support is enabled for IDO.
8276         (ido-virtual): Face used to indicate virtual buffers in the list.
8277         (ido-buffer-internal): If a buffer is chosen, and no such buffer
8278         exists, but a virtual buffer of that name does (which would be why
8279         it was in the list), recreate the buffer by reopening the file.
8280         (ido-make-buffer-list): If virtual buffers are being used, call
8281         `ido-add-virtual-buffers-to-list' before the make list hook.
8282         (ido-virtual-buffers): New variable which contains a copy of the
8283         current contents of the `recentf-list', albeit pared down for the
8284         sake of speed, and with proper faces applied.
8285         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8286         create a list of "virtual buffers" to present to the user in
8287         addition to the currently open set.  Note that this logic could
8288         get rather slow if that list is too large.  With the default
8289         `recentf-max-saved-items' of 200, there is little speed penalty.
8291 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8293         * font-lock.el: Require CL when compiling.
8294         (font-lock-turn-on-thing-lock): Use `case'.
8296 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
8298         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8299         Zaretskii.
8301 2010-04-02  Juri Linkov  <juri@jurta.org>
8303         * ehelp.el (electric-help-orig-major-mode):
8304         New buffer-local variable.
8305         (electric-help-mode): Set it to original major-mode.  Doc fix.
8306         (with-electric-help): Use `electric-help-orig-major-mode' instead
8307         of (default-value 'major-mode).  Doc fix.
8308         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8310 2010-04-02  Sam Steingold  <sds@gnu.org>
8312         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8313         `vc-hg-command' with a list of flags.
8315         * progmodes/bug-reference.el (bug-reference-bug-regexp):
8316         Also accept "patch" and "RFE".
8317         (bug-reference-fontify): `bug-reference-url-format' can also be a
8318         function to be able to handle the bug kind.
8319         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8321 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
8323         * tmm.el (tmm-get-keymap): Check with symbolp before passing
8324         value to fboundp, it may not be a symbol.
8326 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8328         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
8330 2010-03-31  Juri Linkov  <juri@jurta.org>
8332         * simple.el (next-line, previous-line): Re-throw a signal
8333         with `signal' instead of using `ding'.
8334         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8336 2010-03-31  Juri Linkov  <juri@jurta.org>
8338         * simple.el (keyboard-escape-quit): Raise deselecting the active
8339         region higher than exiting the minibuffer.
8340         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
8342 2010-03-31  Juri Linkov  <juri@jurta.org>
8344         * image.el (image-animated-p): Use `image-metadata' instead of
8345         `image-extension-data'.  Get GIF extenstion data from metadata
8346         property `extension-data'.
8348 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8350         * simple.el (append-to-buffer): Simplify.
8352 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
8354         * textmodes/artist.el (artist-mode): Fix typo in docstring.
8355         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
8357 2010-03-31  Kenichi Handa  <handa@m17n.org>
8359         * language/sinhala.el (composition-function-table): Fix regexp for
8360         the new Unicode specification.
8362         * language/indian.el (devanagari-composable-pattern)
8363         (tamil-composable-pattern, kannada-composable-pattern)
8364         (malayalam-composable-pattern): Adjust for the new Unicode
8365         specification.
8366         (bengali-composable-pattern, gurmukhi-composable-pattern)
8367         (gujarati-composable-pattern, oriya-composable-pattern)
8368         (telugu-composable-pattern): New variables to cope with the new
8369         Unicode specification.  Use them in composition-function-table.
8371 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8373         Make tmm-menubar work for the Buffers menu again (bug#5726).
8374         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
8375         vectors rather than cons cells, as used in menu-bar-update-buffers.
8377 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8379         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
8380         (js-insert-and-indent): Revert 2009-08-15 change, restoring
8381         electric punctuation for "{}();,:" (Bug#5586).
8383         * mail/sendmail.el (mail-default-directory): Doc fix.
8385 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8387         * mail/sendmail.el (mail-default-directory): Doc fix.
8389 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
8391         * subr.el (version-regexp-alist, version-to-list)
8392         (version-list-<, version-list-=, version-list-<=)
8393         (version-list-not-zero, version<, version<=, version=): Doc fix.
8394         (Bug#5744).
8396 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
8398         * vc.el (vc-root-diff): Doc fix.
8400 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8402         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
8404         * simple.el (append-to-buffer): Fix last change.
8406 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8408         * simple.el (append-to-buffer): Ensure that point is preserved if
8409         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
8410         (Bug#5749)
8412 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8414         * files.el (auto-mode-case-fold): Change default to t.
8416 2010-03-30  Juri Linkov  <juri@jurta.org>
8418         * dired-x.el (dired-omit-mode): Doc fix.
8420 2010-03-30  Juri Linkov  <juri@jurta.org>
8422         * replace.el (occur-accumulate-lines): Move occur-engine related
8423         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
8424         to be located after `occur-engine'.
8426 2010-03-30  Juri Linkov  <juri@jurta.org>
8428         Make occur handle multi-line matches cleanly with context.
8429         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
8431         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
8432         (occur-engine): Add local variables `ret', `prev-after-lines',
8433         `prev-lines'.  Use more arguments for `occur-context-lines'.
8434         Set first elem of its returned list to `data', and the second elem
8435         to `prev-after-lines'.  Don't print the separator line.
8436         In the end, print remaining context after-lines.
8437         (occur-context-lines): Add new arguments `begpt', `endpt',
8438         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
8439         after-lines of the previous match with before-lines of the
8440         current match and not overlap them.  Return a list with two
8441         values: the output line and the list of context after-lines.
8443 2010-03-30  Juri Linkov  <juri@jurta.org>
8445         * replace.el (occur-accumulate-lines): Fix a bug where the first
8446         context line at the beginning of the buffer was missing.
8448 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
8450         * files.el: Make bidi-display-reordering safe variable for boolean
8451         values.
8453 2010-03-29  Phil Hagelberg  <phil@evri.com>
8454             Chong Yidong  <cyd@stupidchicken.com>
8456         * subr.el: Extend progress reporters to perform "spinning".
8457         (progress-reporter-update, progress-reporter-do-update):
8458         Handle non-numeric value arguments.
8459         (progress-reporter--pulse-characters): New var.
8461 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
8463         * progmodes/compile.el (compilation-start): Fix regexp detection
8464         of initial cd command (Bug#5771).
8466 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
8468         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
8470 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
8472         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
8473         * progmodes/gdb-mi.el: Restore.
8474         * progmodes/gdb-ui.el: Remove.
8475         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
8477 2010-03-25  Glenn Morris  <rgm@gnu.org>
8479         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
8480         all dired buffers, even tramp ones.  (Bug#5755)
8482 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8484         Add "union tags" in mpc.el.
8485         * mpc.el: Remove backward compatibility code.
8486         (mpc-browser-tags): Change default.
8487         (mpc--find-memoize-union-tags): New var.
8488         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
8489         (mpc-cmd-find): Handle the case where the playlist does not exist.
8490         Handle union-tags.
8491         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
8492         (mpc-cmd-add): Use mpc-cmd-flush.
8493         (mpc-tagbrowser-tag-name): New fun.
8494         (mpc-tagbrowser-buf): Use it.
8495         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
8497 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8499         Misc cleanup.
8500         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
8501         Use replace-regexp-in-string.
8502         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
8503         (makefile-imake-mode-syntax-table): Move init into defvar.
8504         (makefile-mode): Use define-derived-mode.
8506         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
8507         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
8508         not be present any more.
8510 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
8512         * faces.el (set-face-attribute): Fix typo in docstring.
8513         (face-valid-attribute-values): Reflow docstring.
8515 2010-03-24  Glenn Morris  <rgm@gnu.org>
8517         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
8519 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
8521         * indent.el (indent-for-tab-command): Doc fix.
8523 2010-03-24  Alan Mackenzie  <acm@muc.de>
8525         * progmodes/cc-engine.el (c-remove-stale-state-cache):
8526         Fix off-by-one error.  Fixes bug #5747.
8528 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
8530         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
8531         (image-dired-read-comment): Doc fix.
8533         * json.el (json-object-type, json-array-type, json-key-type)
8534         (json-false, json-null, json-read-number):
8535         * minibuffer.el (completion-in-region-functions):
8536         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
8537         (cal-tex-cursor-week):
8538         * emacs-lisp/trace.el (trace-function):
8539         * eshell/em-basic.el (eshell/printnl):
8540         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
8541         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
8542         * obsolete/levents.el (allocate-event, event-key, event-object)
8543         (event-point, event-process, event-timestamp, event-to-character)
8544         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
8545         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
8546         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
8547         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
8548         (reftex-highlight-selection): Fix typos in docstrings.
8550 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
8552         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
8554 2010-03-24  Glenn Morris  <rgm@gnu.org>
8556         * mail/rmail.el (rmail-highlight-face): Restore option deleted
8557         2008-02-13 without comment; mark it obsolete.
8558         (rmail-highlight-headers): Use rmail-highlight-face once more.
8560 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
8562         * woman.el (woman2-process-escapes): Only consume the newline if
8563         the filler character is on a line by itself (Bug#5729).
8565 2010-03-24  Kenichi Handa  <handa@m17n.org>
8567         * language/indian.el (devanagari-composable-pattern): Add more
8568         consonants.
8570 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
8572         * net/trampver.el: Update release number.
8574 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
8576         * net/tramp.el (tramp-find-executable):
8577         Use `tramp-get-connection-buffer'.  Make the regexp for checking
8578         output of "wc -l" more robust.
8579         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
8580         (tramp-open-connection-setup-interactive-shell): Remove workaround
8581         for OpenSolaris bug, it is not needed anymore.
8583 2010-03-24  Glenn Morris  <rgm@gnu.org>
8585         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
8587 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
8589         * files.el (auto-mode-alist): Accept more verilog file patterns.
8591 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8593         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
8595 2010-03-24  Glenn Morris  <rgm@gnu.org>
8597         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
8598         log-edit-before-checkin-process.
8600         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
8602         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
8604         * vc-dispatcher.el (vc-start-logentry): Doc fix.
8605         (log-view-process-buffer, log-edit-extra-flags): Declare.
8607         * log-edit.el (log-edit-before-checkin-process): Doc fix.
8609 2010-03-23  Sam Steingold  <sds@gnu.org>
8611         Fix bug#5620: recalculate all markers on compilation buffer
8612         modifications, not on file modifications.
8613         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
8614         the buffer modification time, for buffers not associated with files.
8615         (compilation-mode): Create it.
8616         (compilation-filter): Update it.
8617         (compilation-next-error-function): Use it instead of
8618         `visited-file-modtime' for timestamp.
8620 2010-03-23  Juri Linkov  <juri@jurta.org>
8622         Implement Occur multi-line matches.
8623         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
8625         * replace.el (occur): Doc fix.
8626         (occur-engine): Set `begpt' to the beginning of the first line.
8627         Set `endpt' to the end of the last match line.  At first, count
8628         line numbers between `origpt' and `begpt'.  Split out code from
8629         `out-line' variable to new let-bindings `match-prefix' and
8630         `match-str'.  In `out-line' add non-numeric prefix to all
8631         non-first lines of multi-line matches.  Finally, count lines
8632         between `begpt' and `endpt' and add to `lines'.
8634 2010-03-23  Juri Linkov  <juri@jurta.org>
8636         * replace.el (occur-accumulate-lines, occur-engine):
8637         Use `occur-engine-line' instead of duplicate code.
8638         (occur-engine-line): New function created from duplicate code
8639         in `occur-accumulate-lines' and `occur-engine'.
8641         * replace.el (occur-engine-line): Add optional arg `keep-props'.
8642         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
8644 2010-03-23  Juri Linkov  <juri@jurta.org>
8646         * finder.el: Remove TODO tasks.
8648         * info.el (Info-finder-find-node): Add node "all"
8649         with all package info.  Handle a list of multiple keywords
8650         separated by comma.
8651         (info-finder): In interactive use with a prefix argument,
8652         use `completing-read-multiple' to read a list of keywords
8653         separated by comma.
8655 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8657         Add a new completion style `substring'.
8658         * minibuffer.el (completion-basic--pattern): New function.
8659         (completion-basic-try-completion, completion-basic-all-completions):
8660         Use it.
8661         (completion-substring--all-completions)
8662         (completion-substring-try-completion)
8663         (completion-substring-all-completions): New functions.
8664         (completion-styles-alist): New style `substring'.
8666 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8668         Get rid of .elc files after removal of the corresponding .el.
8669         * Makefile.in (compile-clean): New target.
8670         (compile-main): Use it.
8672 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
8674         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
8675         don't do make there.  When compiling with separate object dir, there
8676         is no Makefile there.
8678 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8680         Get rid of the ELCFILES abomination, again.
8681         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8682         (all, compile): Don't call compile-last.
8683         (compile-main): Build the "elcfiles" list dynamically.
8684         (compile-targets): New (internal) target.
8686 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
8688         * Makefile.in (top_srcdir): Define.
8689         (abs_top_builddir): Define.
8690         (srcdir): Don't append `/..'.
8691         (EMACS): Use ${abs_top_builddir}.
8692         (all, compile, compile-always, compile-last): Don't set emacswd.
8693         (update-subdirs, update-authors): Use $(top_srcdir) instead of
8694         $(srcdir).
8695         (lisp): Use $(srcdir) instead of @srcdir@.
8697 2010-03-21  Juri Linkov  <juri@jurta.org>
8699         Fix message of multi-line occur regexps and multi-buffer header lines.
8700         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
8702         * replace.el (occur-1): Don't display regexp if it is longer
8703         than window-width.  Use `query-replace-descr' to display regexp.
8704         (occur-engine): Don't display regexp in the buffer header for
8705         multi-buffer occur.  Display a separate header line with total
8706         match count and regexp for multi-buffer occur.
8707         Use `query-replace-descr' to display regexp.
8709 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
8711         * net/secrets.el: Fix parenthesis.
8712         (secrets-enabled): Fix parenthesis.
8714 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8716         Use more relative file and directory names.
8717         * Makefile.in (EMACS): Arrange for it to work when we chdir.
8718         (setwins, setwins_almost, setwins_for_subdirs):
8719         Don't `cd'; output relative names.
8720         (all, compile, compile-always, compile-last): Set emacswd.
8721         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
8722         Just cd to the lisp source dir so we can use relative file names.
8724         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
8726 2010-03-20  Glenn Morris  <rgm@gnu.org>
8728         * textmodes/rst.el: Use faces for font-lock customization, and make the
8729         old -face variables obsolete.
8730         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
8731         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
8732         (rst-block-face, rst-external-face, rst-definition-face)
8733         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
8734         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
8735         Make obsolete.
8736         (rst-font-lock-keywords-function): Update for above changes.
8738 2010-03-20  Juri Linkov  <juri@jurta.org>
8740         * s-region.el:
8741         * obsolete/s-region.el: Move to obsolete.
8743 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
8745         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
8747 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
8749         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
8751 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
8753         Add special markup processing for commit logs.
8754         * log-edit.el (log-edit-extra-flags): New variable.
8755         (log-edit): Add new argument MODE.  Use that mode when non-nil
8756         instead of the log-view-mode.
8757         (log-view-process-buffer): New function.
8759         * vc.el: Document that the checkin method takes optional
8760         arguments.  Document new backend specific method: log-view-mode.
8761         (vc-default-log-edit-mode): New function.
8762         (vc-checkin): Use a backend specific log-view-mode.
8763         Pass extra arguments to the checkin method.
8764         (vc-modify-change-comment): Pass a dummy extra argument.
8766         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
8767         log-edit.
8768         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
8769         (vc-finish-logentry): Process the log buffer before passing it
8770         down.  Pass log-edit-extra-flags.
8772         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
8773         command.
8774         (log-edit-extra-flags, log-edit-before-checkin-process):
8775         New declarations.
8777         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
8778         command.
8779         (log-edit-extra-flags, log-edit-before-checkin-process):
8780         New declarations.
8781         (vc-hg-log-edit-mode): New derived mode.
8783         * vc-arch.el (vc-arch-checkin):
8784         * vc-cvs.el (vc-cvs-checkin):
8785         * vc-git.el (vc-git-checkin):
8786         * vc-mtn.el (vc-mtn-checkin):
8787         * vc-rcs.el (vc-rcs-checkin):
8788         * vc-sccs.el (vc-sccs-checkin):
8789         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
8791 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8793         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
8794         parent typo).
8796 2010-03-19  Glenn Morris  <rgm@gnu.org>
8798         * password-cache.el (password-cache, password-cache-expiry): Autoload.
8800 2010-03-18  Glenn Morris  <rgm@gnu.org>
8802         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
8804         * replace.el (query-replace-history): Give it a doc string.
8805         (map-query-replace-regexp): Use query-replace-from-history-variable
8806         and query-replace-to-history-variable.
8808         * mail/hashcash.el (declare-function): Remove duplicate definition.
8810         * mail/emacsbug.el (report-emacs-bug-pretest-address):
8811         Make it an obsolete alias for report-emacs-bug-address.
8812         (message-strip-special-text-properties): Declare.
8813         (report-emacs-bug): Remove test for a pretest bug address.
8814         Combine message-mode-specific code.
8816         * mail/supercite.el: Don't require sendmail.
8817         (mh-in-header-p): Declare rather than using with-no-warnings.
8818         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
8819         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
8821         * calendar/cal-french.el: Convert to utf-8.
8823         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
8824         Emacs scripts.
8826 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
8828         * net/secrets.el (secrets-enabled): New variable.  Use it instead
8829         of a subfeature.
8831 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
8833         * net/secrets.el (top): Register the D-Bus signals only when the
8834         service "org.freedesktop.secrets" can be pinged.
8835         Provide subfeature `enabled'.
8837 2010-03-14  Juri Linkov  <juri@jurta.org>
8839         Add finder unknown keywords.
8841         * finder.el (finder-unknown-keywords): New function.
8843         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
8844         to create a Finder node with unknown keywords.
8846 2010-03-14  Juri Linkov  <juri@jurta.org>
8848         * finder.el (finder-compile-keywords): Replace `princ' with
8849         `prin1' on a list of symbols interned from keyword strings.
8851         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
8852         a comma, then split keywords using a comma and optional whitespace.
8853         Otherwise, split by whitespace.
8855         * complete.el:
8856         * face-remap.el:
8857         * log-view.el:
8858         * net/hmac-def.el:
8859         * net/hmac-md5.el:
8860         * net/netrc.el:
8861         * progmodes/mixal-mode.el: Fix keywords.
8863 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
8865         * Makefile.in (ELCFILES): Add net/secrets.elc.
8867         * net/secrets.el: New file.
8869 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8871         * facemenu.el (list-colors-display, list-colors-print): New arg
8872         callback.  Use it to allow selecting colors.
8874         * wid-edit.el (widget-image-insert): Insert image prop even if the
8875         current display is non-graphic.
8876         (widget-field-value-set): New fun.
8877         (editable-field): Use it.
8878         (widget-field-value-get): Clean up unused var.
8879         (widget-color-value-create, widget-color--choose-action):
8880         New funs.  Allow using list-colors-display to choose color.
8882 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8884         * cus-edit.el: Resort topmost custom groups.
8885         (custom-buffer-sort-alphabetically): Default to t.
8886         (customize-apropos): Use apropos-parse-pattern.
8887         (custom-search-field): New var.
8888         (custom-buffer-create-internal): Add custom-apropos search field.
8889         (custom-add-parent-links): Don't display parent doc.
8890         (custom-group-value-create): Don't sort top-level custom group.
8891         (custom-magic-value-create): Show visibility button before option name.
8893         (custom-variable-state): New fun, from custom-variable-state-set.
8894         (custom-variable-state-set): Use it.
8895         (custom-group-value-create): Hide options with standard values
8896         using the :hidden-states property.  Use progress reporter.
8898         (custom-show): Simplify.
8899         (custom-visibility): Disable images by default.
8900         (custom-variable): New property :hidden-states.
8901         (custom-variable-value-create): Enable images for
8902         custom-visibility widgets.  Use :hidden-states property to
8903         determine initial visibility.
8905         * wid-edit.el (widget-image-find): Give images center ascent.
8906         (visibility): Add :on-image and :off-image properties.
8907         (widget-visibility-value-create): Use them.
8909 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8911         * cus-edit.el (processes): Remove from development group.
8912         (oop, hypermedia): Delete group.
8913         (comm): Promote to top-level group.
8915         * net/browse-url.el (browse-url):
8916         * net/xesam.el (xesam):
8917         * net/tramp.el (tramp):
8918         * net/goto-addr.el (goto-address):
8919         * net/ange-ftp.el (ange-ftp): Put in comm group.
8921         * view.el (view): Remove from editing group.
8923         * uniquify.el (uniquify): Put in files group.
8925         * net/browse-url.el (browse-url):
8926         * ps-print.el (postscript): Put in external group.
8928         * cus-edit.el (outlines):
8929         * textmodes/text-mode.el (text-mode-hook):
8930         * textmodes/table.el (table):
8931         * textmodes/picture.el (picture):
8932         * outline.el (outlines): Put in wp group.
8934         * nxml/nxml-mode.el (nxml): Remove from wp group.
8936         * net/tramp-imap.el (tramp-imap): Put in tramp group.
8938         * mail/metamail.el (metamail): Remove from hypermedia group.
8940         * cus-edit.el (abbrev):
8941         * whitespace.el (whitespace):
8942         * vcursor.el (vcursor):
8943         * reveal.el (reveal):
8944         * hl-line.el (hl-line): Put in convenience group.
8946         * epg-config.el (epg): Put in data group.
8948         * emulation/pc-select.el (pc-select): Put in emulations group.
8950         * calculator.el (calculator): Put in applications group.
8952 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
8954         Add .dir-locals.el support for file-less buffers.
8955         * files.el (hack-local-variables): Split out code to apply local
8956         variable settings ...
8957         (hack-local-variables-apply): ... here.  New function.
8958         (hack-dir-local-variables): Use the default directory for when the
8959         buffer does not have an associated file.
8960         (hack-dir-local-variables-non-file-buffer): New function.
8961         * diff-mode.el (diff-mode):
8962         * vc-annotate.el (vc-annotate-mode):
8963         * vc-dir.el (vc-dir-mode):
8964         * log-edit.el (log-edit-mode):
8965         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
8967 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
8969         Add support for shelving snapshots and for showing shelves.
8970         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
8971         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
8972         New functions.
8973         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8974         (vc-bzr-extra-menu-map): Map them.
8976 2010-03-11  Glenn Morris  <rgm@gnu.org>
8978         * cus-edit.el (customize-changed-options-previous-release):
8979         Bump to 23.1.
8981         * image.el (image-animate-max-time): Fix :version tag.
8983 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
8985         * Branch for 23.2.
8987 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8989         * vc-git.el (vc-git-revision-table): Include remote branches.
8991 2010-03-10  Kim F. Storm  <storm@cua.dk>
8993         Animated image API.
8994         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
8996         * image.el (image-animate-max-time): New defcustom.
8997         (image-animated-types): New defconst.
8998         (create-animated-image, image-animate-timer)
8999         (image-animate-start, image-animate-stop, image-animate-timeout)
9000         (image-animated-p): New functions.
9002         * image-mode.el (image-toggle-display-image):
9003         Replace `create-image' with `create-animated-image'.
9005 2010-03-09  Miles Bader  <miles@gnu.org>
9007         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9008         instead of "format:"; this ensures that the output is
9009         newline-terminated.
9011 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
9013         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9014         that all errors are caught, and that the return value is always a
9015         list (Bug#5692).
9017 2010-03-08  Kenichi Handa  <handa@m17n.org>
9019         * language/misc-lang.el (windows-1256): New coding system.
9020         (cp1256): New alias of windows-1256 (bug#5690).
9022 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
9024         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9025         call to rfc822-bad-address.  (Bug#5692)
9027 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9029         * vc-git.el (vc-git-annotate-extract-revision-at-line):
9030         Use vc-git-root as default directory for revision path (Bug#5657).
9032 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
9034         * calculator.el (calculator): Don't bind split-window-keep-point
9035         (Bug#5674).
9037 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9039         * vc-git.el: Re-flow to fit into 80 columns.
9040         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9041         Remove spurious `quote' element in each case alternative.
9042         (vc-git-show-log-entry): Use prog1.
9043         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9045 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9047         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9049 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
9051         * macros.el (insert-kbd-macro): Look up keyboard macro using the
9052         definition, not the name (Bug#5481).
9054 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9056         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9057         argument with a local variable.  (Bug#5670)
9059 2010-03-02  Juri Linkov  <juri@jurta.org>
9061         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
9063 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
9065         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9066         error when FILENAME and NEWNAME are existing remote directories.
9068         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9069         parameter DIR-FLAG.
9071 2010-03-02  Glenn Morris  <rgm@gnu.org>
9073         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9074         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9076 2010-03-01  Kenichi Handa  <handa@m17n.org>
9078         * language/burmese.el (burmese-composable-pattern): Rename from
9079         myanmar-composable-pattern.
9081         * international/characters.el (script-list):
9082         * international/fontset.el (script-representative-chars):
9083         Change myanmar to burmese.
9084         (otf-script-alist): Likewise.
9085         (setup-default-fontset): Likewise.  Re-fix :otf spec.
9087 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
9089         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9091 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
9093         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9095 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
9097         * net/tramp.el (tramp-handle-write-region): START can be a string.
9098         Take care in the checks.  Reported by Dan Davison
9099         <davison@stats.ox.ac.uk>.
9101 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
9103         * net/dbus.el (dbus-introspect, dbus-get-property)
9104         (dbus-set-property, dbus-get-all-properties):
9105         Use `dbus-call-method' when noninteractive.  (Bug#5645)
9107 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
9109         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9110         * emacs-lisp/elint.el (elint-add-required-env):
9111         * calendar/icalendar.el (icalendar--add-diary-entry):
9112         * calc/calcalg2.el (math-tracing-integral):
9113         * files.el (recover-session-finish): Use with-current-buffer
9114         instead of save-excursion.
9116 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9118         Fix in-buffer completion when after-change-functions modify the buffer.
9119         * minibuffer.el (completion--replace): New function.
9120         (completion--do-completion): Use it and use relative movement.
9122 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
9124         * international/fontset.el (setup-default-fontset): Fix :otf spec.
9126 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
9128         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9129         Allow the characters _<> in the stack entry (Bug#5653).
9131 2010-02-26  Kenichi Handa  <handa@m17n.org>
9133         * language/burmese.el: Fix entries in composition-function-table.
9134         (myanmar-composable-pattern): New variable.
9136         * international/fontset.el (setup-default-fontset): Add an entry
9137         for myanmar.
9139         * international/characters.el (script-list): Add Myanmar
9140         Extended-A.
9142 2010-02-26  Glenn Morris  <rgm@gnu.org>
9144         * custom.el (custom-initialize-delay): Doc fix.
9146         * mail/sendmail.el (send-mail-function): Autoload the call
9147         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9149 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
9151         * files.el (hack-local-variables-filter): For eval forms, also
9152         check safe-local-variable-p (Bug#5636).
9154 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
9156         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9157         setting the modes by `ignore-errors'.  It might fail, for example
9158         if the file is not owned by the user but the group.
9159         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9161 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
9163         * files.el (directory-listing-before-filename-regexp): Use
9164         stricter matching for iso-style dates, to avoid false matches with
9165         date-like filenames (Bug#5597).
9167         * htmlfontify.el (htmlfontify): Doc fix.
9169         * eshell/eshell.el (eshell): Doc fix.
9171         * startup.el (fancy-about-screen): In mode-line, apply
9172         mode-line-buffer-id face only to the buffer name (Bug#5613).
9174 2010-02-20  Kevin Ryde  <user42@zip.com.au>
9176         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9177         In `watcom' anchor regexp to start of line, to avoid slowness
9178         (Bug#5599).
9180 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
9182         * subr.el (remove-yank-excluded-properties): Explain in a comment
9183         why `category' property is removed.
9185 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
9187         * isearch.el (isearch-update-post-hook, isearch-update): Revert
9188         2010-02-17 change.
9190 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
9192         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9193         (icalendar--convert-weekly-to-ical)
9194         (icalendar--convert-yearly-to-ical)
9195         (icalendar--convert-block-to-ical)
9196         (icalendar--convert-cyclic-to-ical)
9197         (icalendar--convert-anniversary-to-ical): Take care of time
9198         specifications where hour has 1-digit only (Bug#5549).
9200 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
9202         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9203         of disassemble output in GDB 7.1.
9205 2010-02-19  Glenn Morris  <rgm@gnu.org>
9207         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9208         property.  (Bug#5593)
9210 2010-02-18  Sam Steingold  <sds@gnu.org>
9212         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9214 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9216         Use abbreviated file names in bookmarks (bug#5591).
9217         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9218         calls to expand-file-name.
9219         (bookmark-relocate): Use abbreviated file names in bookmarks.
9220         (bookmark-load): Use abbreviated file names in messages.
9222 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
9224         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9225         expand "." and "..".  Reported by Thierry Volpiatto
9226         <thierry.volpiatto@gmail.com>.
9228 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
9230         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9231         permissions of the temporary file to "0600".  In case the remote
9232         file has no read permissions for the owner, there might be
9233         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
9235 22010-02-18  Glenn Morris  <rgm@gnu.org>
9237         * emacs-lisp/authors.el (authors-renamed-files-alist):
9238         Add entries for INSTALL.CVS.
9240 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
9242         * vc-bzr.el: Fix typo in Known Bugs section.
9244         * isearch.el (isearch-update-post-hook): New hook.
9245         (isearch-update): Use the new hook.
9247 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
9249         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9250         Fix errors in copying directories.
9251         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9252         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9253         (tramp-handle-delete-file)
9254         (tramp-handle-dired-recursive-delete-directory)
9255         (tramp-handle-write-region): Flush also the cache for the upper
9256         directory.
9258 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
9260         * simple.el (save-interprogram-paste-before-kill): Doc fix.
9262         * cus-edit.el (hardware): Doc fix.
9264         * man.el (man): Add to external custom group.
9266         * delim-col.el (columns): Move to wp custom group.
9268         * doc-view.el (doc-view): Add to data custom group.
9270         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9272         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9273         by ispell-parse-output (Bug#5575).
9275 2010-02-16  Kenichi Handa  <handa@m17n.org>
9277         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9278         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9279         (skkdic-convert): Use `euc-japan' coding system for writing.
9281 2010-02-16  Glenn Morris  <rgm@gnu.org>
9283         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9284         tex-main-file before using it.  (Bug#5562)
9286 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9288         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9289         warnings, since it is annoying for the user to see them each time he
9290         runs the code.
9292 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
9294         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9295         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9296         instead of PROC for caching "first-password-request".  Otherwise,
9297         new processes would not profit from passwords already entered.
9299         * net/tramp-cache.el (tramp-dump-connection-properties):
9300         Don't save "first-password-request" property.
9302 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
9304         * outline.el (outline-head-from-level):
9305         * simple.el (with-wrapper-hook):
9306         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9307         (elint-defun, elint-buffer-env, elint-top-form-logged)
9308         (elint-unbound-variable):
9309         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9310         Fix typos in docstrings.
9312 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
9314         * files.el (insert-directory): When WILDCARD-REGEXP and
9315         FULL-DIRECTORY-P are nil, insert the file entry instead of the
9316         whole directory.  (Bug#5551)
9318         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
9319         dired's alignment sanity.  (Bug#5516)
9321 2010-02-14  Juri Linkov  <juri@jurta.org>
9323         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9324         Remove remaining ^H with their preceding chars.  (Bug#5566)
9326 2010-02-13  Glenn Morris  <rgm@gnu.org>
9328         * simple.el (transpose-subr): Give it a doc-string.
9330         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9331         Doc fixes.
9333 2010-02-12  Juri Linkov  <juri@jurta.org>
9335         * arc-mode.el (archive-unique-fname): Make directories for nested
9336         archives.  (Bug#5540)
9338 2010-02-12  Juri Linkov  <juri@jurta.org>
9340         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
9342 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9344         * subr.el (copy-overlay): Handle deleted overlays.
9346         * man.el (Man-completion-table): Don't signal an error if we can't run
9347         manual-program (bug#4056).
9349 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
9351         * textmodes/artist.el (artist-mt): Fix typos in docstring.
9353 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9355         * info.el (Info-bookmark-jump): Simplify.
9357         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
9358         (bookmark-default-handler): Accept new bookmark field `buffer'.
9360 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
9362         * iswitchb.el (iswitchb-completions): Revert last change.
9364 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
9366         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
9367         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
9368         This prevents file names like "~/" being listed literally.
9370 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
9372         * term/xterm.el (xterm-maybe-set-dark-background-mode):
9373         Remove dead code.  (Bug#5546)
9375 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
9377         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
9378         correctly (Bug#5548).
9380 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
9382         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
9383         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
9385 2010-02-08  Kenichi Handa  <handa@m17n.org>
9387         * international/mule-util.el (with-coding-priority): Add autoload
9388         cookie for putting `lisp-indent-function'.
9390 2010-02-07  Glenn Morris  <rgm@gnu.org>
9392         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
9393         Move F2003 named interfaces from keywords-2 to keywords-1, and
9394         use function-name-face rather than constant-face.
9395         Simplify "abstract interface" regexp.
9397 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
9399         * eshell/esh-util.el (eshell-file-attributes): New optional arg
9400         ID-FORMAT.  Pass it to `file-attributes'.
9402         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
9404 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
9406         * faces.el (set-face-attribute): Allow calling
9407         internal-set-lisp-face-attribute with 'unspecified family and
9408         foundry argument (Bug#5536).
9410 2010-02-07  Glenn Morris  <rgm@gnu.org>
9412         * progmodes/f90.el (f90-font-lock-keywords-2)
9413         (f90-looking-at-type-like, f90-looking-at-program-block-end):
9414         Handle F2003 named interfaces.
9416 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
9418         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
9419         beg and end before calling c-get-state-before-change-functions.
9421 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
9423         * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
9425 2010-02-05  Juri Linkov  <juri@jurta.org>
9427         * doc-view.el (doc-view-mode):
9428         * image-mode.el (image-mode): Put property mode-class=special.
9429         (Bug#4896)
9431 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
9433         * vc-svn.el (vc-svn-revision-table): New function.
9435 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
9437         * net/ange-ftp.el (ange-ftp-insert-directory):
9438         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9439         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9440         Handle also directories.  (Bug#5478)
9442 2010-02-05  Glenn Morris  <rgm@gnu.org>
9444         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
9446 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
9448         * startup.el (command-line-1): Convert options beginning with a
9449         single dash as well (Bug#5519).
9451 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9453         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
9454         * minibuffer.el (completion-initials-expand): Only check the presence
9455         of delims *within* the boundaries, since otherwise the / delim is
9456         always found for files.
9458         Fix up various corner case problems.
9459         * doc-view.el (doc-view-last-page-number): New function.
9460         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
9461         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
9462         (doc-view-kill-proc): Avoid inf-loop in freak cases.
9463         (doc-view-reconvert-doc): Use the new recursive delete-directory.
9464         (doc-view-convert-current-doc): Don't create the resolution.el file
9465         here any more.
9466         (doc-view-pdf/ps->png): Do it here instead.
9467         (doc-view-already-converted-p): Check that resolution.el is present.
9468         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
9469         windows that are not yet showing images.
9471 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
9473         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
9474         `dired-uncache' for every elemnt which is an absolute file name.
9476         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
9477         directory, handle its directory component.
9478         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
9479         function is called permanently and creates noise, otherwise.
9481         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9482         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9483         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
9485 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
9487         * macros.el (apply-macro-to-region-lines):
9488         Minor simplification.  (Bug#5485)
9490 2010-02-04  Glenn Morris  <rgm@gnu.org>
9492         * mail/rmail.el (rmail-show-message-1): Handle malformed
9493         quoted-printable text.  (Bug#5441)
9495         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
9497         * simple.el (visual-line-mode): Capitalize lighter.
9499 2010-02-03  John Wiegley  <jwiegley@gmail.com>
9501         * iswitchb.el (iswitchb-completions): Add bookmark files to the
9502         list of files considered for "virtual buffer" completions.
9504 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
9506         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
9507         also in case of (and (not full) (not wildcard)).  This is needed
9508         when dired is called with a list of files, which are not in
9509         `default-directory'.  (Bug#5478)
9511 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9513         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
9515 2010-02-02  Juri Linkov  <juri@jurta.org>
9517         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
9518         from unidiff to allow function-line after @@.
9520 2010-02-02  Juri Linkov  <juri@jurta.org>
9522         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
9523         '(RCS SCCS) with inverted condition.
9525 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
9527         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
9528         messages.
9530 2010-02-01  Juri Linkov  <juri@jurta.org>
9532         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
9533         compare with "pkunzip" and "pkzip" instead of only "pkzip".
9534         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
9535         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
9537 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9539         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
9540         (doc-view-revert-buffer): New command.
9541         (doc-view-mode-map): Use it.
9543 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
9545         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
9546         pending merge is detected.
9548 2010-01-31  Juri Linkov  <juri@jurta.org>
9550         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
9551         beginning of interactive spec like all other grep commands do.
9552         Put "all" in front of "gz".  (Bug#5260)
9554 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
9556         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
9558 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
9560         * dirtrack.el (dirtrack): Warn instead of signalling error if the
9561         regexp is incorrect (Bug#5476).
9563 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
9565         * net/tramp.el (tramp-handle-insert-directory): Handle also
9566         symlinks, when FILENAME is not in `default-directory'.
9568 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
9570         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
9571         FILE is not in `default-directory'.  (Bug#5478)
9573         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
9574         of SWITCHES.  Handle the case, FILENAME is not in
9575         `default-directory'.  (Bug#5478)
9576         (tramp-register-file-name-handlers): Add safe-magic property.
9578 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
9580         * arc-mode.el (archive-zip-extract): Quote the argument passed to
9581         unzip (Bug#5475).
9583 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
9585         * progmodes/flymake.el (flymake-allowed-file-name-masks)
9586         (flymake-master-make-header-init): Add other C++ filename masks.
9587         (flymake-find-possible-master-files)
9588         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
9590 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
9592         Fix some busybox annoyances.
9594         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
9595         not responding." string.
9596         (tramp-open-connection-setup-interactive-shell): Dump stty
9597         settings.  Enable "neveropen" arg for all `tramp-send-command'
9598         calls.  Handle "=" in variable values properly.
9599         (tramp-find-inline-encoding): Raise an error, when no encoding is
9600         found.
9601         (tramp-wait-for-output): Check, whether PROC buffer is available.
9602         Remove spurious " ^H" sequences, sent by busybox.
9603         (tramp-get-ls-command): Suppress coloring, if possible.
9605 2010-01-28  Glenn Morris  <rgm@gnu.org>
9607         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
9609         * log-edit.el (log-edit-strip-single-file-name): Add missing
9610         :safe, :group, and :version tags.
9612 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
9614         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
9615         buffers.  (Bug#5477)
9617 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
9619         * files.el (delete-directory): Handle moving to trash without
9620         first doing recursion (Bug#5436).
9622 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
9624         * vc-hooks.el (vc-path): Mark as obsolete.
9626 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
9628         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
9629         names too.
9631         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
9632         for the short log.
9633         (vc-bzr-log-view-mode): Adjust regexp for the above change.
9635 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
9637         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
9639         * vc-bzr.el (vc-bzr-revision-table): New function.
9641 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
9643         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
9644         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
9646 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
9648         Remove support for adding --signoff on commit.
9649         Future support will use an incompatible generic mechanism.
9650         * vc-git.el (vc-git-add-signoff): Remove variable.
9651         (vc-git-toggle-signoff): Remove function.
9652         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9654         * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
9655         from xterm-set-background-mode.  Return t if the background mode
9656         was set.
9657         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9658         earlier, call it again in case the background mode has changed.
9660 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
9662         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
9663         (Bug#3541).
9665 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
9667         * emacs-lisp/assoc.el (aelement): Doc fix.
9668         (aput, adelete, amake): Use lexical-let (Bug#5450).
9670 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
9672         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
9673         is the same as subprogram call, not declaration.  (Bug#5435).
9675 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
9677         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
9678         (tramp-smb-maybe-open-connection): Use it.
9680 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
9682         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
9684 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9686         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
9687         just because we see "encoding: 8bit".
9688         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
9690 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
9692         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
9694 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
9696         * jka-compr.el (jka-compr-load): If load-file is not in
9697         load-history, try its file-truename version.  (bug#5447)
9699 2010-01-21  Alan Mackenzie  <acm@muc.de>
9701         Fix a situation where deletion of a cpp construct throws an error.
9702         * progmodes/cc-engine.el (c-invalidate-state-cache):
9703         Before invoking c-with-all-but-one-cpps-commented-out, check that the
9704         special cpp construct is still in the buffer.
9705         (c-parse-state): Record the special cpp with markers, not numbers.
9707 2010-01-21  Kenichi Handa  <handa@m17n.org>
9709         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
9710         process last-command-event, as it is now decoded first (Bug#5380).
9712 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
9714         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
9716 2010-01-20  Glenn Morris  <rgm@gnu.org>
9718         * indent.el (tab-always-indent): Fix custom-type.
9720 2010-01-19  Alan Mackenzie  <acm@muc.de>
9722         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
9723         buffer throws "args out of range".
9724         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
9725         playing the role of delimiter.
9727 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
9729         * progmodes/ada-mode.el: Fix bug#5400.
9730         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
9731         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
9732         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
9733         Improve comments in "is" portion.  Handle null procedure declaration.
9734         (ada-move-to-end): Improve doc string.
9736 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
9738         * ido.el (ido-cur-list): Initialize to nil.
9739         Remove obsolete information from commentary.
9740         (ido-choice-list): Initialize to nil.
9741         (ido-get-bufname): Reject minibuffers.
9742         (ido-make-buffer-list): If "default" is a nonexistent
9743         buffer, ignore it, as per the function's comment.
9744         (ido-kill-buffer-internal): New function.
9745         (ido-kill-buffer-at-head): Use it.
9746         (ido-visit-buffer): Likewise.
9748 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
9750         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
9752 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
9754         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
9755         Fix typos in chart titles.
9757         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
9758         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
9759         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
9760         (describe-class, eieio-describe-generic, describe-generic):
9761         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
9762         (eieio-speedbar-expand):
9763         * emulation/viper-cmd.el (viper-exec-form-in-vi)
9764         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
9765         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
9766         (viper-del-backward-char-in-replace, viper-backward-indent)
9767         (viper-brac-function, viper-register-to-point, viper-submit-report):
9768         * net/tramp.el (tramp-remote-coding-commands):
9769         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
9770         Fix typos in docstrings.
9772 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
9774         * mail/sendmail.el (mail-yank-original): Set the mark if the
9775         specified function for yanking does not do it.
9777 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
9779         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
9781         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
9782         resyncing a directory.
9784 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
9786         * progmodes/ada-mode.el: Fix bug#1920.
9787         (ada-ident-re): Delete ., allow multibyte characters.
9788         (ada-goto-label-re): New; matches goto labels.
9789         (ada-block-label-re): New; matches block labels.
9790         (ada-label-re): New; matches both.
9791         (ada-named-block-re): Deleted; callers changed to use
9792         `ada-block-label-re' instead.
9793         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
9794         Use `ada-block-label-re'.
9795         (ada-indent-on-previous-lines): Improve handling of goto labels.
9796         (ada-get-indent-block-start): Special-case block label.
9797         (ada-get-indent-label): Split into `ada-indent-block-label' and
9798         `ada-indent-goto-label'.
9799         (ada-goto-stmt-start, ada-goto-next-non-ws):
9800         Optionally ignore goto labels.
9801         (ada-goto-next-word): Simplify.
9802         (ada-indent-newline-indent-conditional): Insert newline before
9803         trying to fix indentation; doc fix.
9805 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
9807         * calc/calc.el (calc-command-flags): Give it an initial value.
9809 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
9811         * files.el (minibuffer-with-setup-hook):
9812         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
9813         (artist-key-draw-continously, artist-key-do-continously-continously)
9814         (artist-key-set-point-continously, artist-mouse-draw-continously):
9815         Fix typos in docstrings.
9817 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
9819         * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
9820         return t (Bug#3898).
9822 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
9824         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
9825         can parse the output of the external commands (Bug#5279).
9827 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
9829         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
9831 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
9833         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
9835         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
9837         * startup.el (command-line): Remove unused --icon-type arg.
9838         Handle --display arg, passing it to command-line-1 (Bug#5392).
9840 2010-01-16  Mario Lang  <mlang@delysid.org>
9842         * emacs-lisp/chart.el (chart-translate-namezone):
9843         * textmodes/artist.el (artist-compute-popup-menu-table):
9844         Remove duplicated words in doc-strings.
9846 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
9848         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
9849         to mairix-search to suppress threading (Bug#5342).
9851 2010-01-15  Kenichi Handa  <handa@m17n.org>
9853         * international/mule-cmds.el (canonicalize-coding-system-name):
9854         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
9856 2010-01-15  Glenn Morris  <rgm@gnu.org>
9858         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
9860         * wid-edit.el (widget-keymap): Doc fix.
9862         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
9863         former seems to be more widely accepted by various svn versions.
9865 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9867         * find-cmd.el (find-constituents):
9868         * vc-arch.el (vc-arch-root):
9869         * window.el (window-body-height, pop-up-frames):
9870         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
9871         * progmodes/ada-stmt.el (ada-if):
9872         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
9873         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
9874         (ispell-encoding8-command, ispell-aspell-supports-utf8)
9875         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
9877         * progmodes/flymake.el (flymake-post-syntax-check):
9878         Fix typo in error message.
9880 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9882         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
9883         which is always a string.  (Bug#5313)
9885 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9887         * progmodes/ada-xref.el (ada-default-prj-properties):
9888         Simplify previous change.
9890 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9892         * progmodes/ada-xref.el (ada-default-prj-properties):
9893         Default ada_project_path to $ADA_PROJECT_PATH.
9895 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9897         * progmodes/ada-mode.el (ada-create-keymap):
9898         Override `narrow-to-defun' with `ada-narrow-to-defun'.
9900 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9902         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
9903         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
9904         (ada-get-current-indent, ada-imenu-generic-expression)
9905         (ada-which-function): Check for it.
9907 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9909         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
9910         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
9912 2010-01-14  Glenn Morris  <rgm@gnu.org>
9914         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
9916 2010-01-14  Kenichi Handa  <handa@m17n.org>
9918         * composite.el (auto-composition-mode): Make it a buffer local
9919         variable (permanent-local).
9920         (auto-composition-function): Set the default value to
9921         auto-compose-chars.
9922         (auto-composition-mode): Make it a simple function, not a minor mode.
9923         (global-auto-composition-mode): Likewise.
9924         (turn-on-auto-composition-if-enabled): Delete it.
9926 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
9928         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
9930 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
9932         * files.el (copy-directory): Compute target for recursive
9933         directories with identical names.  (Bug#5343)
9935 2010-01-12  Glenn Morris  <rgm@gnu.org>
9937         * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
9938         it to bug-gnu-emacs rather than emacs-pretest-bug.
9940 2010-01-11  Sam Steingold  <sds@gnu.org>
9942         * imenu.el (imenu-default-create-index-function): Detect infinite
9943         loops caused by imenu-prev-index-position-function.
9945 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
9947         * htmlfontify.el (htmlfontify-load-rgb-file)
9948         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
9949         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
9950         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
9951         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
9952         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
9953         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
9954         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
9955         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
9956         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
9957         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
9958         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
9959         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
9960         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
9961         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
9962         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
9963         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
9964         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
9965         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
9966         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
9967         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
9968         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
9969         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
9970         backslash-quoting from parentheses, etc.
9972 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
9974         * progmodes/js.el: Autoload javascript-mode alias.
9976 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
9978         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
9979         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
9980         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
9981         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
9982         Fix typos in docstrings.
9983         (ffap-url-regexp): Doc fix.
9984         (ffap-at-mouse): Fix typo in message.
9986 2010-01-11  Glenn Morris  <rgm@gnu.org>
9988         * version.el (emacs-copyright): Set copyright year to 2010.
9990 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9992         * format.el (format-annotate-function): Only set
9993         write-region-post-annotation-function after running to-fn so as not to
9994         affect nested write-region calls (bug#5273).
9996 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
9998         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
9999         wisent/python.el.
10001 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
10003         * man.el (Man-goto-section): Signal error if the section is not
10004         found (Bug#5317).
10006 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
10008         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10009         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
10011 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
10013         * progmodes/compile.el: Don't treat compile-command as safe if
10014         compilation-read-command might be nil (Bug#4218).
10016 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
10018         * startup.el (command-line-1): Use orig-argi to check for ignored X and
10019         NS options.
10021 2010-01-08  Kenichi Handa  <handa@m17n.org>
10023         * international/fontset.el (build-default-fontset-data):
10024         Exclude characters in scripts kana, hangul, han, or cjk-misc.
10026 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
10028         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10029         to `create-file-buffer' as it expects, not just a buffer name.
10030         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10031         to help uniquify.  (Bug#3224)
10033 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
10035         * font-setting.el (font-setting-change-default-font): Use user-spec
10036         instead of name.
10038 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
10040         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10042 2010-01-05  Tom Tromey  <tromey@redhat.com>
10044         * progmodes/python.el (python-font-lock-keywords):
10045         Handle qualified decorators (Bug#881).
10047 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
10049         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10050         in a lightweight checkout.
10052 2010-01-05  Kenichi Handa  <handa@m17n.org>
10054         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
10056 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
10058         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10060 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
10062         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10063         checkouts.  (Bug#618)
10064         (vc-bzr-log-view-mode): Also highlight the author.
10065         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10066         (vc-bzr-shelve-menu-map):
10067         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10068         (vc-bzr-shelve-apply): Make prompt more explicit.
10070 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
10072         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10073         They are valid characters in URL paths (rfc3986), and at least
10074         Firefox does not understand the encoded version (Bug#3166).
10076 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
10078         * progmodes/octave-mod.el (octave-end-keywords)
10079         (octave-block-begin-or-end-regexp, octave-block-match-alist):
10080         Add "end" keyword (Bug#3061).
10081         (octave-end-as-array-index-p): New function.
10082         (calculate-octave-indent): Use it.
10084 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10086         * bookmark.el: Consistently put the text property on the bookmark name.
10087         (bookmark-bmenu-marks-width): Bump back to 2, to include
10088         annotation marks.
10089         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10090         property on the bookmark name, instead of not putting it at all.
10091         (bookmark-bmenu-list): Fix where we put the text property.
10093 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10095         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10096         for showing buffer modified state (as added in the previous change).
10098 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10100         * bookmark.el: Show modified state of bookmark buffer more accurately.
10101         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10102         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10103         (with-buffer-modified-unmodified): New macro.
10104         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10105         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
10106         Use new macro to preserve the buffer modified state.
10108 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10110         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
10111         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10112         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10113         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10114         (bookmark-bmenu-rename, bookmark-bmenu-locate)
10115         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10116         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
10118 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
10120         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10121         Make the lines in the generated doc string shorter.  (Bug#4668)
10123 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
10125         * net/rcirc.el: Add follow-link binding (Bug#4738).
10127 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
10129         * Makefile.in (bzr-update): Rename from cvs-update.
10130         (cvs-update): New target for backward compatibility.
10132         * makefile.w32-in (bzr-update): Rename from cvs-update.
10133         (cvs-update): New target for backward compatibility.
10135 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10137         * bookmark.el: Remove gratuitous gratitude.
10139 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10141         * bookmark.el (bookmark-bmenu-any-marks): New function.
10142         (bookmark-bmenu-save): Clear buffer modification if no marks.
10144 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10146         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
10147         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10148         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10149         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10151         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10152         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10153         To: emacs-devel {_AT_} gnu.org
10154         Subject: bookmark.el bug report
10155         Date: Mon, 28 Dec 2009 14:19:16 +0800
10156         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10158 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10160         * bookmark.el: Improvements suggested by Drew Adams:
10161         (bookmark-bmenu-ensure-position): New name for
10162         `bookmark-bmenu-check-position'.  Just ensure the position,
10163         don't return any meaningful value.
10164         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10165         New constants.
10167 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
10169         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10170         (bookmark-yank-point, bookmark-bmenu-check-position):
10171         Fix typos in docstrings.
10172         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10173         (bookmark-name-from-full-record, bookmark-get-position)
10174         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10175         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10176         Remove useless quoting of parenthesis, etc. in docstrings.
10178         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10179         (ediff-append-custom-diff): Fix typo in error message.
10180         (ediff-meta-mark-equal-files): Fix typos in messages.
10182         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10184         * net/imap-hash.el (imap-hash-make): Doc fix.
10185         (imap-hash-test): Fix typo in error message; reflow docstring.
10186         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10187         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10188         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10189         Fix typos in docstrings.
10190         (imap-hash-open-connection): Fix typo in error message.
10192         * play/gomoku.el (gomoku): Fix typos in docstring.
10194         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10195         (gdb-jsonify-buffer): Fix typos in docstring.
10196         (gdb-goto-breakpoint): Fix typo in error message.
10197         ("Display Other Windows"): Fix typo in help message.
10198         (gdb-speedbar-expand-node): Fix typo in question.
10200         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10201         (idlwave-html-system-help-location, idlwave-html-help-location)
10202         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10203         (idlwave-help-browser-generic-args, idlwave-help-directory)
10204         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10205         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10206         (idlwave-online-help, idlwave-help-html-link)
10207         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10208         Fix typos in docstrings.
10209         (idlwave-help-with-source, idlwave-help-find-routine-definition):
10210         Reflow docstrings.
10211         (idlwave-help-assistant-start): Fix typo in error message.
10213         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10214         (octave-electric-space): Fix typos in docstrings.
10216 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
10218         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10220 2010-01-01  Juri Linkov  <juri@jurta.org>
10222         * comint.el (comint-input-ring-size): Make it a defcustom and
10223         increase the default to 500 (Bug#5148).
10225 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
10227         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10228         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10229         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10231 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
10233         Show working revision correctly for mercurial.
10234         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
10235         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
10237 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
10239         Declare some functions for the byte-compiler.
10240         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10241         (speedbar-timer-fn, speedbar-change-expand-button-char)
10242         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10244 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
10246         This changeset reverts GDB Graphical Interface to use annotations.
10247         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10249 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
10251         Make vc-dir work on subdirectories of the bzr root.
10252         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.  Return
10253         file names relative to it.
10254         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10255         relative directory to vc-bzr-after-dir-status.
10257 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
10259         * font-lock.el (font-lock-refresh-defaults): New function, which
10260         can be used to let font-lock react to external changes in
10261         variables like font-lock-defaults and keywords.
10262         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10264 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
10266         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10268         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10270 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
10272         Supersede color.diff settings in git log (bug#5211).
10274         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10275         escape chars in its output when the user has color.diff set to `always'.
10276         This fix works on git 1.4.2 and newer (released on 2006-08-13).
10278 2009-12-26  Kevin Ryde  <user42@zip.com.au>
10280         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10281         node.  Keep previous "Index" name to work with past coreutils too.
10283         * man.el (man): Revise docstring a bit to show -a and -l as
10284         examples.  Add -k description since support for it has otherwise
10285         been a secret.  (Further to bug#3717.)
10286         (Man-bgproc-sentinel): When "-k foo" produces no output show error
10287         "no matches" rather than "Can't find manpage", as the latter reads
10288         like -k was interpreted as a page name, which is not so.  (Bug#5431)
10290 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
10292         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10293         switches.  Check also for //SUBDIRED// line.
10295 2009-12-25  Kenichi Handa  <handa@m17n.org>
10297         * language/indian.el (devanagari-composable-pattern): Fixed to
10298         handle ZWNJ and ZWJ.  Use it in composition-function-table for
10299         Devanagari.
10300         (malayalam-composable-pattern): Fix previous change.
10302 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10304         * ps-print.el (ps-face-attributes): It was not returning the
10305         attribute face for faces specified as string.  Reported by harven
10306         <harven@free.fr>.  (Bug#5254)
10307         (ps-print-version): New version 7.3.5.
10309 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
10311         * calendar/icalendar.el (icalendar--convert-tz-offset):
10312         Fix timezone names.
10313         (icalendar--convert-tz-offset): Fix the "last-day-problem".
10314         (icalendar--add-diary-entry): Remove the trailing blank that
10315         diary-make-entry inserts.
10317 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
10319         Make `file-expand-wildcards' work for remote files.
10321         * files.el (file-expand-wildcards): In case of remote files, check
10322         only local file name part for wildcards.  Provide feature 'files
10323         and subfeature 'remote-wildcards.  (Bug#5198)
10325         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10326         if there is already an established connection.
10327         (tramp-advice-file-expand-wildcards): Remove it.
10329         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
10330         (tramp-advice-file-expand-wildcards): Move from tramp.el.
10331         Activate advice for older GNU Emacs versions.  (Bug#5237)
10333 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
10335         Some doc fixes (more needed).
10337         * find-cmd.el (find-constituents): Reflow docstring.
10338         (find-cmd, find-prune, find-command): Fix typos in docstrings.
10339         (find-generic): Doc fix.
10341 2009-12-17  Juri Linkov  <juri@jurta.org>
10343         Fix regression from 23.1 to allow multiple modes in Local Variables.
10345         * files.el (hack-local-variables-filter): While ignoring duplicates,
10346         don't take `mode' into account.
10347         (hack-local-variables-filter, hack-dir-local-variables):
10348         Don't remove duplicate `mode' from local-variables-alist (like `eval').
10350 2009-12-17  Juri Linkov  <juri@jurta.org>
10352         Make `dired-diff' safer.  (Bug#5225)
10354         * dired-aux.el (dired-diff): Signal an error when `file' equals to
10355         `current' or when `file' is a directory of the `current' file.
10357 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
10359         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
10360         unconditionally preloaded files.
10362 2009-12-16  Juri Linkov  <juri@jurta.org>
10364         Revert to old 23.1 logic of using the file at the mark as default.
10365         * dired-aux.el (dired-diff): Use the file at the mark as default
10366         if it's not the same as the current file, and the target dir is
10367         the current dir or the mark is active.  Add the current file
10368         as the arg of `dired-dwim-target-defaults'.  Use the default file
10369         in the prompt.  (Bug#5225)
10371 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
10373         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
10374         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
10375         (tramp-check-for-regexp): Check also, when an echoing shell stops
10376         to echo sent commands.
10378 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
10380         * Makefile.in: Revert last change (Bug#5191).
10382 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
10384         * vc-hg.el (vc-hg-print-log): Fix argument order.
10385         (vc-hg-working-revision): Make sure the command is executed in a
10386         known environment so that we can parse the output.  (Bug#4417)
10388 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
10390         * progmodes/python.el (python-symbol-completions): Remove text
10391         properties from symbol string before calling python-send-receive.
10393 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
10395         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
10396         when there are values for both file and line.  (Bug#5060)
10398 2009-12-14  Juri Linkov  <juri@jurta.org>
10400         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
10401         whitespace after the file name of the first line of unified format,
10402         because git-diff doesn't output whitespace and file modification time
10403         after the file name.
10405 2009-12-14  David Kastrup  <dak@gnu.org>
10407         * info.el (Info-hide-cookies-node): Before hiding a cookie,
10408         check if it already has the `display' property added by
10409         `Info-display-images-node', and not put the `invisible' property
10410         in this case.
10412 2009-12-13  Glenn Morris  <rgm@gnu.org>
10414         * mail/emacsbug.el (message-sort-headers): Define for compiler.
10415         (report-emacs-bug): In message-mode, sort manually before storing
10416         original report text.  (Bug#5178)
10417         Remove superfluous save-excursion.
10419 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
10421         * net/dbus.el (dbus-property-handler): Filter lambda forms out
10422         when responding to "GetAll" properties.
10424 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
10426         * simple.el (compose-mail): Remove mail-setup-with-from from
10427         customization checks.
10429 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
10431         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
10432         RAR archives created on Unix systems.
10434 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10436         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
10437         the varalias that was accidentally removed by the 2009-11-19 change
10438         (bug#5186).
10440 2009-12-12  Kenichi Handa  <handa@m17n.org>
10442         * language/indian.el (indian-compose-regexp): New function.
10443         (malayalam-composable-pattern): Fix the pattern.
10444         (composition-function-table): Set malayalam-composable-pattern for
10445         Malayalam characters.
10447 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
10449         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
10450         rather than down-mouse-1, based on follow-link conventions.
10452         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
10453         are compiled.
10455 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
10457         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
10458         (verilog-vmm-statement-re, verilog-ovm-statement-re)
10459         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
10460         (verilog-leap-to-head, verilog-backward-token):
10461         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
10463 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
10465         * progmodes/verilog-mode.el (verilog-auto-lineup)
10466         (verilog-nameable-item-re): Cleanup user-visible spelling and
10467         documentation errors.  One reported by Gary Delp.
10468         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
10469         (verilog-read-decls): Fix AUTOWIRE with types declared in a
10470         package, bug195.  Reported by Pierre-David Pfister.
10472 2009-12-11  Glenn Morris  <rgm@gnu.org>
10474         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
10476         * mail/emacsbug.el: No longer require sendmail.
10477         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
10478         (report-emacs-bug-orig-text): Doc fix.
10479         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
10480         New local variables, to adapt to different mail-user-agents.
10481         (report-emacs-bug): Fix test for a gnu.org address.
10482         Use overlays for emphasis, since font-lock defeats 'face property.
10483         Pretest bugs also end up at the newsgroup these days.
10484         Stop message-mode stripping text properties.
10485         Set and use the new buffer-local variables.
10486         (report-emacs-bug-hook): Add doc-string.
10487         Remove some unnecessary save-excursions and simplify.
10488         Use the appropriate hook and send-command.
10490         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
10491         capitalization of some menu entries.
10493 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10495         * whitespace.el (whitespace-display-char-on):
10496         Ensure `buffer-display-table' is unique when two or more windows are
10497         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
10498         New version 12.1.
10500 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
10502         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
10503         characters in the Attribute field.
10505 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
10507         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
10509 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10511         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
10512         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10513         Disregard autoload-excludes.
10514         (update-directory-autoloads): Obey autoload-excludes here instead.
10515         But don't store its contents in no-autoloads and remove entries that
10516         refer to excludes files.
10518 2009-12-10  Glenn Morris  <rgm@gnu.org>
10520         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
10521         (expand-mail-aliases): Define for compiler.
10523         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
10524         Define for compiler.
10526         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
10527         appropriate for the mail-user-agent in use.
10529 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
10531         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
10533 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
10535         Fix short log parsing and fontification.
10536         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
10537         Fix fontification for the [merge] label.
10539 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
10541         Drop some properties to avoid surprises (bug#5002).
10542         * htmlfontify.el (hfy-ignored-properties): New defcustom.
10543         (hfy-fontify-buffer): Use it.
10545 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10547         Minor cleanup.
10548         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
10549         Adjust all callers.
10550         (ffap-locate-file): Remove unused arg `dir-ok' and make other
10551         args compulsory.  Adjust callers.
10552         (ffap-gopher-at-point): Remove unused var `name'.
10554         Get rid of the ELCFILES abomination.
10555         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10556         (compile-elcfiles): New phony target.
10557         (compile-main): Compute ELCFILES dynamically.
10558         (compile-clean): New target to remove left-over elc files.
10559         (compile, all): Use it.
10561 2009-12-09  Kenichi Handa  <handa@etlken>
10563         * international/mule-diag.el: Require help-mode instead of help-fns.
10565 2009-12-09  Kenichi Handa  <handa@m17n.org>
10567         * international/mule-cmds.el (ucs-names): Supply sufficiently
10568         fine ranges instead of pre-calculating accurate ranges.
10569         Iterate with bigger gc-cons-threshold.
10571 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
10573         Add support for stashing a snapshot of the current tree.
10574         * vc-git.el (vc-git-stash-snapshot): New function.
10575         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
10577 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
10579         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
10580         instead of `(beginning|end)-of-line'.
10582 2009-12-08  Glenn Morris  <rgm@gnu.org>
10584         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
10586         * Makefile.in (ELCFILES): Regenerate.
10588 2009-12-07  Juri Linkov  <juri@jurta.org>
10590         Don't lazy-highlight the comint output in history Isearch mode.
10592         * comint.el (comint-history-isearch-search): Instead of
10593         `comint-line-beginning-position', use `comint-after-pmark-p'
10594         to check if point if before the process mark, and go to
10595         `process-mark' in this case.
10597 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10599         * textmodes/tex-mode.el (latex-complete)
10600         (latex-indent-or-complete): Remove.
10601         (latex-mode): Set completion-at-point-functions instead.
10603         Provide a standard completion command and hook it into TAB.
10604         * minibuffer.el (completion-at-point-functions): New var.
10605         (completion-at-point): New command.
10606         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
10607         * progmodes/python.el (python-mode-map): Use completion-at-point.
10608         (python-completion-at-point): Rename from python-partial-symbol and
10609         adjust for use in completion-at-point-functions.
10610         (python-mode): Setup completion-at-point for Python completion.
10611         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
10612         extracted from lisp-complete-symbol.
10613         (lisp-complete-symbol): Use it.
10614         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
10615         setup completion-at-point for Elisp completion.
10616         (emacs-lisp-mode-map, lisp-interaction-mode-map):
10617         Use completion-at-point.
10618         * ielm.el (ielm-map): Use completion-at-point.
10619         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
10620         * progmodes/sym-comp.el: Move to...
10621         * obsolete/sym-comp.el: Move from progmodes.
10623 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
10625         Prevent save-buffer in Rmail buffers from using the coding-system
10626         of the current message, and from clobbering the encoding mnemonics
10627         in the mode line (Bug#4623).
10629         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
10630         flag, too.
10631         (rmail-message-encoding): New variable.
10632         (rmail-write-region-annotate): Record the encoding of the current
10633         message in rmail-message-encoding.
10634         (rmail-after-save-hook): New function, restores the encoding of
10635         the current message after the message collection is saved.
10637 2009-12-07  Juri Linkov  <juri@jurta.org>
10639         * progmodes/grep.el (grep-read-files): Use `completing-read'
10640         instead of `read-string'.  Set its `collection' arg to
10641         `read-file-name-internal'.  (Bug#4301)
10643 2009-12-07  Juri Linkov  <juri@jurta.org>
10645         Correctly restore original Isearch point.  (Bug#4994)
10647         * isearch.el (isearch-mode): Move `isearch-push-state' after
10648         `(run-hooks 'isearch-mode-hook)'.
10649         (isearch-cancel): When `isearch-push-state-function' is defined,
10650         let-bind `isearch-cmds' to the first state (the last element of
10651         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
10652         function and restores the original point).  Otherwise, move point
10653         to `isearch-opoint'.
10655 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10657         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
10658         chars that don't have names, so the table can be built much faster at
10659         run-time.
10661 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
10663         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
10664         change.  Suggested by David Kastrup.
10666         * simple.el (compose-mail): Check for incompatibilities and warn.
10667         (compose-mail-user-agent-warnings): New option.
10669 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10671         Support showing a single log entry from vc-annotate.
10672         * vc.el (print-log): Add a new argument: START-REVISION.
10673         (vc-print-log-internal): Add a new optional argument and
10674         pass it to the backend.
10675         (vc-print-log, vc-print-root-log): Adjust callers.
10676         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
10677         buffer already displays the requested log entry, use it.
10678         Otherwise display only the log entry in question.
10679         * vc-svn.el (vc-svn-print-log):
10680         * vc-mtn.el (vc-mtn-print-log):
10681         * vc-hg.el (vc-hg-state):
10682         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
10683         (vc-git-show-log-entry): Return t on success.
10684         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
10685         (vc-bzr-show-log-entry): Return t on success.
10686         * vc-rcs.el (vc-rcs-print-log):
10687         * vc-sccs.el (vc-sccs-print-log):
10688         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
10690 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10692         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
10693         Add menus to the meta mode.  (Bug#5043)
10695 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
10697         * ediff-init.el (ediff-event-key): Use event-to-character instead of
10698         event-key.
10700         * ediff.el (ediff-buffers-internal): Add unwind-protect.
10702 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
10704         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
10705         Berbain <raphael.berbain@gmail.com>.
10707         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
10708         characters.
10709         (tramp-initial-end-of-output): New defconst.
10710         (tramp-methods, tramp-find-shell)
10711         (tramp-open-connection-setup-interactive-shell)
10712         (tramp-maybe-open-connection): Use it.
10713         (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
10714         existence of `#' and `$'.
10716         * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
10717         `tramp-initial-end-of-output'.
10719 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10721         Get the background mode from the terminal for xterm, and set
10722         faces accordingly.
10723         * term/xterm.el (xterm-set-background-mode): New function.
10724         (terminal-init-xterm): Use it in case xterm supports background
10725         color queries.  Recompute faces after getting the background
10726         color.
10728 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
10730         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
10731         number comment back on its own line, for easier parsing.
10733 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10735         Make it work for non-file buffers (bug#5102).
10736         * doc-view.el (doc-view-current-cache-dir):
10737         Use doc-view-buffer-file-name rather than buffer-file-name.
10738         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
10740 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
10742         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
10743         author field is too short.
10745 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
10747         * vc-git.el (vc-git-print-log): Handle a limit argument.
10748         Display the short log in graph form and with labels.
10749         (vc-git-log-view-mode): Handle labels.
10751         Make vc-revert change VC state from 'added to 'unregistered.
10752         * vc-git.el (vc-git-revert): Call git reset first.
10754 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
10756         * net/newst-backend.el, net/newst-plainview.el:
10757         * net/newst-reader.el, net/newst-ticker.el:
10758         * net/newst-treeview.el, net/newsticker.el:
10759         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
10761 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
10763         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
10765         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
10766         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
10767         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
10768         Update annotation regexp.
10770         * simple.el (beginning-of-visual-line): Constrain to field
10771         boundaries (Bug#5106).
10773 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
10775         * xml.el (xml-substitute-numeric-entities): Move
10776         newsticker--decode-numeric-entities in newst-backend.el to
10777         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
10778         * net/newst-backend.el (newsticker--parse-generic-feed)
10779         (newsticker--parse-generic-items)
10780         (newsticker--decode-numeric-entities): Move
10781         newsticker--decode-numeric-entities in newst-backend.el to
10782         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
10784 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
10786         * progmodes/js.el (js--js-not): Add null to the list of values.
10788 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
10790         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
10792 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10794         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
10795         delimiter if it is at the end of the current line.
10796         (bibtex-generate-url-list): Fix docstring.
10798 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10800         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
10801         minibuffer's content with itself.
10802         Fold the confirm-after-completion case into the `confirm' case.
10803         (completion-pcm-word-delimiters): Add : and / to the delimiters.
10805 2009-12-06  Kevin Ryde  <user42@zip.com.au>
10807         * ffap.el (ffap-rfc-path): Make this a defcustom since
10808         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
10810         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
10811         manuals, similar to existing setup for help-mode.  (Bug#3913.)
10813 2009-12-05  Juri Linkov  <juri@jurta.org>
10815         Save and restore dired buffer's point positions too.  (Bug#4880)
10817         * dired.el (dired-save-positions): Return in the first element
10818         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
10819         Doc fix.
10820         (dired-restore-positions): First restore buffer's position.
10821         While restoring window's positions, check if window still displays
10822         the original buffer.
10824 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
10826         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
10827         if possible.
10829         * shell.el (shell): Require ansi-color (Bug#5113).
10831         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
10833         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
10835 2009-12-05  Alan Mackenzie  <acm@muc.de>
10837         * progmodes/cc-mode.el (c-before-hack-hook)
10838         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
10839         `c-file-style' to work again.  This reversion restores the current
10840         software to its state in Emacs 23.1.  (Bug#4146)
10842 2009-12-05  Kevin Ryde  <user42@zip.com.au>
10844         * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
10845         comment-start-skip to comment-end-skip as comment (Bug#4781).
10847 2009-12-05  Juri Linkov  <juri@jurta.org>
10849         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
10850         for virtual nodes.  (Bug#4147)
10851         (Info-find-node-2): Set `Info-current-node-virtual' to nil
10852         when moving from a virtual node.
10853         (Info-mode-menu): Add `Info-virtual-index' to the menu.
10854         (Info-mode): Add `Info-virtual-index' to the docstring.
10856 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10858         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
10859         track of the buffer position of the end of a BibTeX entry as this
10860         position may change during reformatting.
10861         (bibtex-format-entry): Remove whitespace before processing
10862         numerical fields so that we recognize the latter properly.
10863         (bibtex-reformat): Do not use push which changes the global value
10864         of bibtex-entry-format.
10865         (bibtex-field-braces-alist, bibtex-field-strings-alist)
10866         (bibtex-field-re-init): Replace only space characters by regexp
10867         for whitespace.
10868         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
10869         (bibtex-initialize): Also update bibtex-strings.
10870         (bibtex-kill-field): Preserve white space at end of entry.
10871         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
10872         Update bibtex-reference-keys.
10874 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10876         * minibuffer.el (completion-pcm--merge-try): Also consider placing
10877         point after a star, if that's the only place where modifications can
10878         make progress.
10880 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
10882         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
10883         in docstrings.
10885 2009-12-04  Juri Linkov  <juri@jurta.org>
10887         * proced.el (proced): Call `(proced-update t)' to update process
10888         information instead of only running proced-post-display-hook.
10889         (proced-send-signal): Add a leading space to the buffer name
10890         " *Marked Processes*" to make this buffer ephemeral.
10892 2009-12-04  Juri Linkov  <juri@jurta.org>
10894         * dired.el (dired-auto-revert-buffer): New defcustom.
10895         (dired-internal-noselect): Use it.
10897 2009-12-04  Juri Linkov  <juri@jurta.org>
10899         Change roles of modes and functions in image-mode.el (Bug#5062).
10901         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
10902         in `auto-mode-alist'.
10903         (image-mode-previous-major-mode): New variable.
10904         (image-minor-mode-map): Rename from `image-mode-text-map'.
10905         (image-mode): Move graceful error-handling code from
10906         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
10907         (image-minor-mode): Remove all image-handling code.
10908         Replace `image-mode-text-map' with `image-minor-mode-map'.
10909         Check for `image-type' in mode-line format string.
10910         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
10911         (image-mode-as-text): New function with most code from
10912         `image-mode-maybe'.
10913         (image-toggle-display-text): Move code that removes image
10914         properties from `image-toggle-display' to here.
10915         (image-toggle-display-image): New function with code that adds
10916         image properties copied from `image-toggle-display'.
10917         (image-toggle-display): Remove most code with leaving only code
10918         that toggles between `image-mode-as-text' and `image-mode'.
10920 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
10922         * net/newst-treeview.el
10923         (newsticker--treeview-list-highlight-start): Restored call to
10924         save-excursion: Selected item was stuck.
10925         (newsticker--treeview-list-select): New.
10926         (newsticker--treeview-item-show-text)
10927         (newsticker--treeview-item-show)
10928         (newsticker--treeview-item-update): Use new
10929         newsticker-treeview-item-mode.
10930         (newsticker-treeview-update): Keep current item.
10931         (newsticker-treeview-next-new-or-immortal-item): Doc change.
10932         (newsticker--treeview-first-feed): Doc change.
10933         (newsticker-treeview-list-menu)
10934         (newsticker-treeview-item-menu): Added menu entries.
10935         (newsticker-treeview-item-mode): New.
10937         * net/newst-backend.el (newsticker-customize): Delete other
10938         windows.
10940 2009-12-04  Sam Steingold  <sds@gnu.org>
10942         * log-view.el (log-view-mode-map): "q" calls quit-window,
10943         like in all the other non-self-insert buffers.
10945 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10947         Minor cleanup.
10948         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
10949         key decoding rather than do it manually via last-input-event +
10950         ascii-character.
10951         (term-exec): Use delete-and-extract-region.
10952         (term-handle-ansi-terminal-messages): Remove unused var `end'.
10953         (term-process-pager): Remove unused var `i'.
10954         (term-dynamic-simple-complete): Make obsolete.
10955         (serial-update-config-menu): Remove unused vars `y' and `str'.
10956         (term-update-mode-line): Remove unused var `temp'.
10958 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10960         Limit the number of log entries displayed by default.
10961         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
10962         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
10963         using a prefix argument.
10965 2009-12-03  Glenn Morris  <rgm@gnu.org>
10967         * progmodes/idlwave.el (class): Restore still useful declaration.
10969 2009-12-03  Alan Mackenzie  <acm@muc.de>
10971         Enhance `c-parse-state' to run efficiently in "brace deserts".
10973         * progmodes/cc-mode.el (c-basic-common-init):
10974         Call c-state-cache-init.
10975         (c-neutralize-syntax-in-and-mark-CPP): Rename from
10976         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
10977         placing `category' properties value 'c-cpp-delimiter at its boundaries.
10979         * progmodes/cc-langs.el (c-before-font-lock-function):
10980         c-extend-and-neutralize-syntax-in-CPP has been renamed
10981         c-neutralize-syntax-in-and-mark-CPP.
10983         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
10984         with `category' properties now, not `syntax-table' ones.
10986         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
10987         enhanced (but slower) version of c-end-of-macro that won't land
10988         inside a literal or on another awkward character.
10989         (c-state-cache-too-far, c-state-cache-start)
10990         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
10991         (c-state-nonlit-pos-cache-limit, c-state-point-min)
10992         (c-state-point-min-lit-type, c-state-point-min-lit-start)
10993         (c-state-min-scan-pos, c-state-brace-pair-desert)
10994         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
10995         buffer local variables.
10996         (c-state-literal-at, c-state-lit-beg)
10997         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
10998         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
10999         (c-state-cache-top-paren, c-state-cache-after-top-paren)
11000         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11001         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11002         (c-renarrow-state-cache)
11003         (c-append-lower-brace-pair-to-state-cache)
11004         (c-state-push-any-brace-pair, c-append-to-state-cache)
11005         (c-remove-stale-state-cache)
11006         (c-remove-stale-state-cache-backwards, c-state-cache-init)
11007         (c-invalidate-state-cache-1, c-parse-state-1)
11008         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11009         (c-parse-state): Enhance and refactor.
11010         (c-debug-parse-state): Amend to deal with all the new variables.
11012         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11013         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11014         modify to use category text properties rather than syntax-table ones.
11015         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11016         to switch off/on the syntactic paren property of C++ template
11017         delimiters using the category property.
11018         (c-with-<->-as-parens-suppressed): Macro to invoke code with
11019         template delims suppressed.
11020         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11021         New constant/macros which apply category properties to the start
11022         and end of preprocessor constructs.
11023         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11024         "comment out" the syntactic value of characters in preprocessor
11025         constructs.
11026         (c-with-cpps-commented-out)
11027         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11028         with characters in all or all but one preprocessor constructs
11029         "commented out".
11031 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11033         * proced.el (proced-filter-alist): Use regexp-quote.
11035 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
11037         Cleanup.
11038         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11039         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
11040         arguments.  Expand `default-directory'.
11042         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11043         the benefit of returning an expanded localname.
11044         (tramp-tramp-file-p): Handle the case NAME is not a string.
11046 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
11048         Add support for bzr shelve/unshelve.
11049         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11050         (vc-bzr-extra-menu-map): New variables.
11051         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11052         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11053         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11054         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11055         (vc-bzr-dir-extra-headers): Display shelves.
11057         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11059 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11061         * textmodes/bibtex.el (bibtex-complete-internal):
11062         Use completion-in-region.
11063         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11065 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
11067         Support applying stashes.  Improve UI.
11068         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11069         (vc-git-stash-apply, vc-git-stash-pop)
11070         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11071         (vc-git-stash-menu): New functions.
11072         (vc-git-stash-menu-map): New variable.
11073         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11075 2009-12-03  Glenn Morris  <rgm@gnu.org>
11077         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11078         (vc-print-log-internal): Fix previous change.
11079         (vc-revert): Correct pluralization.
11081 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11083         * progmodes/make-mode.el (makefile-special-targets-list): No need for
11084         it to be an alist any more.
11085         (makefile-complete): Use completion-in-region.
11087         * progmodes/octave-mod.el (octave-complete-symbol):
11088         Use completion-in-region.
11090         Misc cleanup.
11091         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11092         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11093         (idlwave-complete-class): Don't quote lambda.
11094         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11095         (idlwave-mode-map): Move initialization into declaration.
11096         (idlwave-action-and-binding): Use backquotes.
11097         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11098         Simplify.
11099         (idlwave-is-pointer-dereference): Remove unused var `pos'.
11100         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11101         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11102         `parts', and `all-parts'.
11103         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11104         (idlwave-convert-xml-system-routine-info): Remove unused string
11105         `version-string'.
11106         (idlwave-display-user-catalog-widget): Use dolist.
11107         (idlwave-scanning-lib): Declare dynamically-scoped var.
11108         (idlwave-scan-library-catalogs): Remove unused var `flags'.
11109         (completion-highlight-first-word-only): Declare to silence bytecomp.
11110         (idlwave-popup-select): Tighten scope of `resp'.
11111         (idlwave-find-struct-tag): Remove unused var `beg'.
11112         (idlwave-after-load-rinfo-hook): Declare.
11113         (idlwave-sintern-class-info): Remove unused var `taglist'.
11114         (idlwave-find-class-definition): Remove unused var `list'.
11115         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11116         (idlwave-what-module-find-class): Remove unused var `classes'.
11118 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
11120         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11122 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11124         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11125         buffers visited.  Remove redundant current-buffer-saving.
11127 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11129         Use completion-in-buffer and remove uses of dynamic scoping.
11130         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11131         (pascal-buffer-to-use, pascal-flag): Don't declare.
11132         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11133         (pascal-get-completion-decl, pascal-keyword-completion):
11134         Add `pascal-str' argument, save-excursion,
11135         return the found completions, and don't filter with pascal-pred.
11136         (pascal-completion-cache): New var.
11137         (pascal-completion): Don't switch buffer any more (it was never
11138         necessary).  Don't save-excursion any more (it's done by the called
11139         subroutines).  Use a cache to avoid redundant computations.
11140         Use complete-with-action rather than pascal-completion-response and
11141         let it apply the predicate as well.
11142         (pascal-complete-word): Use completion-in-buffer when
11143         pascal-toggle-completions is nil.
11144         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11145         not used any more.
11146         (pascal-comp-defun): Don't change buffer any more.
11147         Use complete-with-action rather than pascal-completion-response and
11148         let it apply the predicate as well.
11149         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11150         when neded.
11152 2009-12-02  Kenichi Handa  <handa@m17n.org>
11154         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11155         shape for all Indic scripts.
11157 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11159         Use completion-in-buffer.
11160         * wid-edit.el (widget-field-text-end): New function.
11161         (widget-field-value-get): Use it.
11162         (widget-string-complete, widget-file-complete)
11163         (widget-color-complete): Use it and completion-in-region.
11164         (widget-complete): Don't narrow the buffer.
11166 2009-12-02  Glenn Morris  <rgm@gnu.org>
11168         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
11169         (rmail-select-summary): Use rmail-pop-to-buffer.
11170         * mail/rmailsum.el: Replace all pop-to-buffer calls with
11171         rmail-pop-to-buffer, to prevent horizontal splits.
11173         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11174         save-excursion with save-current-buffer.
11175         Widen before searching.  (Bug#5093)
11176         (diary-list-sexp-entries): Remove superfluous save-excursion.
11178 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
11180         * woman.el (woman-make-bufname): Handle man-pages with "." in the
11181         name.  (Bug#5038)
11183 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
11185         * ido.el (ido-file-internal): Handle filenames at point that do
11186         not have a directory part.  (Bug#5049)
11188 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
11190         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11191         (mpc-songs-jump-to, mpc-resume): Doc fixes.
11193 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
11195         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11196         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11197         any more.
11199 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11201         * comint.el (comint-insert-input): Ignore clicks to the right of
11202         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11204         * vc.el (vc-print-log-internal): Don't wait for the process to
11205         terminate before setting up the major mode.
11207         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11208         in case.
11210         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11211         the last element.
11213         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11215 2009-12-01  Glenn Morris  <rgm@gnu.org>
11217         * window.el (window--display-buffer-2): Fix previous changes.
11219 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
11221         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11223 2009-12-01  Glenn Morris  <rgm@gnu.org>
11225         * Makefile.in (ELCFILES): Add mpc.elc.
11227 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11229         * mpc.el: New file.
11231 2009-12-01  Glenn Morris  <rgm@gnu.org>
11233         * window.el (window-to-use): Define for compiler.
11235         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11236         consistent with others (no final period).
11238         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11239         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
11241 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
11243         Make vc-print-log buttons work.
11244         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
11246 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
11248         * savehist.el (savehist-autosave-interval): Allow setting to nil
11249         through customize.  (Bug#5056)
11251 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
11253         Fix references to jit-lock properties.
11254         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11255         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11256         (perl-font-lock-special-syntactic-constructs):
11257         Quote jit-lock-defer-multiline property.
11259 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
11261         * vc-git.el (vc-git-registered): Call vc-git-root only once.
11263 2009-11-30  Juri Linkov  <juri@jurta.org>
11265         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11266         value `buffer' of `multi-isearch-next-buffer-current-function'.
11267         Use `(current-buffer)' when `buffer' is nil.
11268         (multi-isearch-next-buffer-from-list): Don't fallback to
11269         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
11271 2009-11-30  Juri Linkov  <juri@jurta.org>
11273         * misearch.el (multi-isearch-read-buffers): Move canonicalization
11274         of buffers with `get-buffer' to `multi-isearch-buffers'.
11275         (multi-isearch-buffers, multi-isearch-buffers-regexp):
11276         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
11277         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11278         FILES with `expand-file-name' converting relative file names
11279         to absolute.  Doc fix.  (Bug#4727)
11281 2009-11-30  Juri Linkov  <juri@jurta.org>
11283         * misearch.el (multi-isearch-read-buffers)
11284         (multi-isearch-read-matching-buffers): New functions.
11285         (multi-isearch-buffers, multi-isearch-buffers-regexp):
11286         Use them in the `interactive' spec.  Doc fix.
11287         (multi-isearch-read-files, multi-isearch-read-matching-files):
11288         New functions.
11289         (multi-isearch-files, multi-isearch-files-regexp):
11290         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
11292 2009-11-30  Juri Linkov  <juri@jurta.org>
11294         * doc-view.el (doc-view-continuous):
11295         Rename from `doc-view-continuous-mode'.
11296         (doc-view-menu): Move "Toggle display" to the top.
11297         Add submenu "Continuous" with radio buttons "Off"/"On"
11298         and "Save as Default".
11299         (doc-view-scroll-up-or-next-page)
11300         (doc-view-scroll-down-or-previous-page)
11301         (doc-view-next-line-or-next-page)
11302         (doc-view-previous-line-or-previous-page): Rename
11303         `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
11305 2009-11-30  Juri Linkov  <juri@jurta.org>
11307         * comint.el (comint-mode-map): Rebind `M-r' from
11308         `comint-previous-matching-input' to
11309         `comint-history-isearch-backward-regexp'.
11310         Unbind `M-s' to allow global key binding `M-s'.
11311         Add menu items for `comint-history-isearch-backward' and
11312         `comint-history-isearch-backward-regexp'.  (Bug#3746)
11314 2009-11-30  Juri Linkov  <juri@jurta.org>
11316         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11317         For def=recenter, replace `recenter' with `recenter-top-bottom'
11318         that is called with `this-command' and `last-command' let-bound
11319         to `recenter-top-bottom'.  When the last `def' was not `recenter',
11320         set `recenter-last-op' to nil.  (Bug#4981)
11322 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11324         Minor cleanup and simplification.
11325         * filecache.el (file-cache-add-directory)
11326         (file-cache-add-directory-recursively)
11327         (file-cache-add-from-file-cache-buffer)
11328         (file-cache-delete-file-regexp, file-cache-delete-directory)
11329         (file-cache-files-matching-internal, file-cache-display): Use dolist.
11330         (file-cache-temp-minibuffer-message): Delete function.
11331         (file-cache-minibuffer-complete): Use minibuffer-message instead.
11333         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11334         Don't signal an error when bumping into EOB in tr, s, or y.
11336 2009-11-29  Juri Linkov  <juri@jurta.org>
11338         * startup.el (fancy-about-text): Fix wording of Guided Tour.
11339         (Bug#4960)
11341         * descr-text.el (describe-char-unidata-list): Use lowercase name
11342         for "Unicode name" like in other tags.
11344 2009-11-29  Juri Linkov  <juri@jurta.org>
11346         * ediff-util.el (ediff-minibuffer-with-setup-hook):
11347         New compatibility macro.
11348         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
11350 2009-11-29  Juri Linkov  <juri@jurta.org>
11352         Add defcustom to define the cycling order of `recenter-top-bottom'.
11353         (Bug#4981)
11355         * window.el (recenter-last-op): Doc fix.
11356         (recenter-positions): New defcustom.
11357         (recenter-top-bottom): Rewrite to use `recenter-positions'.
11358         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
11360 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
11362         Improve integration of Tramp and ange-ftp in eshell.
11364         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
11365         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
11366         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
11368         * eshell/esh-util.el (top): Require also Tramp when compiling.
11369         (eshell-directory-files-and-attributes): Check for FTP remote
11370         connection.
11371         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
11372         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
11373         (eshell-file-attributes): Handle ".".  Return `entry'.
11375         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
11376         (ange-ftp-directory-files-and-attributes)
11377         (ange-ftp-real-directory-files-and-attributes): New defuns.
11379         * net/tramp.el (tramp-maybe-open-connection): Open the remote
11380         shell with "exec" when possible.  This prevents trailing prompts
11381         in `start-file-process'.
11383 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11385         Try and remove assumptions about point-min==1.
11386         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
11387         (rng-compute-mode-line-string): Show the validation percentage in
11388         terms of the narrowed text, not the widened text.
11389         (rng-do-some-validation): Don't catch internal errors when debugging.
11390         (rng-first-error): Simplify.
11391         (rng-after-change-function): Remove work around.  AFAIK the bug has
11392         been fixed a while ago.
11394         * image-mode.el (image-minor-mode): Exit more gracefully when the image
11395         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
11397         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
11399         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
11400         `cd' doesn't always do it for us (bug#5067).
11402         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
11403         on 2009-10-25 as part of some other change (bug#5067).
11405 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11407         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
11408         `suspicious'.
11409         (byte-compile-warnings): Use byte-compile-warning-types.
11410         (byte-compile-save-excursion): Warn about use of set-buffer right
11411         after save-excursion.
11413         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11414         the excursion as well.
11416 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
11418         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
11419         providing a Tramp related implementation of "su" and "sudo".
11420         (eshell-unix-initialize): Add "su" and "sudo".
11422 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
11424         * net/socks.el (socks-send-command): Convert binary request to
11425         unibyte before sending.  This fixes mishandling of some port
11426         numbers such as 129.
11428 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11430         * help.el (describe-bindings-internal): Remove `interactive'.
11432         * man.el (Man-completion-table): Trim a terminating "(".
11433         Remove the space between name page a section.
11434         Add the command's description on the `help-echo' property.
11435         Remove `process-connection-type' binding since it's unused by
11436         call-process.
11437         Provide completion for the "<section> <name>" format as well.
11438         (Man-default-man-entry): Remove spurious var shadowing the argument.
11440 2009-11-26  Kevin Ryde  <user42@zip.com.au>
11442         * log-view.el: Add "Keywords: tools", since its other keywords
11443         aren't in finder-known-keywords, and following vc.el.
11445         * sha1.el (sha1-string-external): default-directory "/" in case
11446         otherwise non-existent.  process-connection-type pipe for touch of
11447         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
11449 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11451         Misc coding convention cleanups.
11452         * htmlfontify.el (hfy-init-kludge-hook): Rename from
11453         hfy-init-kludge-hooks.
11454         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
11455         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
11456         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
11457         and push.
11458         (hfy-slant, hfy-weight): Use tables rather than code.
11459         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
11460         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
11461         (hfy-face-attr-for-class): Initialize `face-spec' directly.
11462         (hfy-face-to-css): Remove `nconc' with single arg.
11463         (hfy-p-to-face-lennart): Use `or'.
11464         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
11465         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
11466         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
11467         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
11468         (hfy-force-fontification): Use run-hooks.
11470 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
11472         Various minor fixes.
11473         * htmlfontify.el (hfy-default-header): Add toggle_invis since
11474         Javascript belongs in the header, not the body.
11475         (hfy-javascript): Remove.
11476         (hfy-fontify-buffer): Don't insert it any more.
11477         (hfy-face-at): Handle (face0 face1 face2) style face properties.
11478         Fix bug in invis handling when there were no invis props in a chunk.
11480 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11482         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
11484 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
11486         * finder.el (finder-mode-map): Add a menu.
11488 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
11490         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
11491         "unsigned" structs.
11493         (verilog-leap-to-head, verilog-backward-token): Handle "disable
11494         fork" statement better.
11496 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
11498         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
11499         (verilog-delete-auto, verilog-delete-empty-auto-pair)
11500         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
11501         Reported by Clay Douglass.
11503         (verilog-auto-inst, verilog-auto-star-safe)
11504         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
11505         Fix removing "// Interfaces" when saving .* expansions.  Reported by
11506         Pierre-David Pfister.
11508 2009-11-26  Glenn Morris  <rgm@gnu.org>
11510         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
11511         the scope.
11513 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
11515         * vc-annotate.el (vc-annotate-revision-previous-to-line):
11516         Really use previous revision.
11518 2009-11-25  Kevin Ryde  <user42@zip.com.au>
11520         * man.el (Man-completion-table): default-directory "/" in case
11521         doesn't otherwise exist.  process-environment COLUMNS=999 so as
11522         not to truncate long names.  process-connection-type pipe to avoid
11523         any chance of hitting the pseudo-tty TIOCGWINSZ.
11524         (man): completion-ignore-case t for friendliness and since man
11525         itself is case-insensitive on the command line.
11526         Further to Bug#3717.
11528         * arc-mode.el: Add "Keywords: files", so the details in its
11529         commentary can be reached from finder-by-keyword.
11530         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
11531         editing mode, but it's comms related and sgml-mode.el has "comm"
11532         on that basis too.
11533         * textmodes/bibtex-style.el: Add "Keywords: tex".
11534         * international/isearch-x.el, international/ja-dic-cnv.el:
11535         * international/ja-dic-utl.el, international/kkc.el:
11536         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
11538 2009-11-25  Juri Linkov  <juri@jurta.org>
11540         * man.el (Man-completion-table): Modify regexp to include
11541         section names to completion strings.  (Bug#3717)
11543 2009-11-25  Juri Linkov  <juri@jurta.org>
11545         Search recursively in gzipped files.  (Bug#4982)
11547         * progmodes/grep.el (grep-highlight-matches): Add new options
11548         `always' and `auto'.  Doc fix.
11549         (grep-process-setup): Check `grep-highlight-matches' for
11550         `auto-detect' to determine the need to compute grep defaults.
11551         Move Windows/DOS specific --colors settings handling
11552         to `grep-compute-defaults'.  Check `grep-highlight-matches'
11553         to get the value of "--color=".
11554         (grep-compute-defaults): Compute `grep-highlight-matches' when it
11555         has the value `auto-detect'.  Move Windows/DOS specific settings
11556         from `grep-process-setup'.
11557         (zrgrep): New command with alias `rzgrep'.
11559 2009-11-25  Juri Linkov  <juri@jurta.org>
11561         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
11562         to nil instead of switching off view-mode.  (Bug#4896)
11564 2009-11-25  Juri Linkov  <juri@jurta.org>
11566         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
11568         * mwheel.el (mwheel-scroll-up-function)
11569         (mwheel-scroll-down-function): New defvars.
11570         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
11571         `scroll-up', and `mwheel-scroll-down-function' instead of
11572         `scroll-down'.
11574         * doc-view.el (doc-view-scroll-up-or-next-page)
11575         (doc-view-scroll-down-or-previous-page): Add optional ARG.
11576         Use this ARG in the call to image-scroll-up/image-scroll-down.
11577         Change `interactive' spec to "P".  Goto next/previous page only
11578         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
11579         SPC/DEL case).  Doc fix.
11580         (doc-view-next-line-or-next-page)
11581         (doc-view-previous-line-or-previous-page): Rename arg to ARG
11582         for consistency.
11583         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
11584         `doc-view-scroll-up-or-next-page', and buffer-local
11585         `mwheel-scroll-down-function' to
11586         `doc-view-scroll-down-or-previous-page'.
11588 2009-11-25  Juri Linkov  <juri@jurta.org>
11590         Provide additional default values (directories at other Dired
11591         windows) via M-n in the minibuffer of some Dired commands.
11593         * dired-aux.el (dired-diff, dired-compare-directories)
11594         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
11595         `minibuffer-default' in `minibuffer-with-setup-hook'.
11596         (dired-dwim-target-directory): Find a window that displays Dired
11597         buffer instead of failing when the next window is not Dired.
11598         Use `get-window-with-predicate' to find for the next Dired window.
11599         (dired-dwim-target-defaults): New function.
11601         * ediff-util.el (ediff-read-file-name):
11602         Use `dired-dwim-target-defaults' to set `minibuffer-default'
11603         in `minibuffer-with-setup-hook'.
11605 2009-11-25  Juri Linkov  <juri@jurta.org>
11607         Provide additional default values (file name at point or at the
11608         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
11610         * minibuffer.el (read-file-name-defaults): New function.
11611         (read-file-name): Reset `minibuffer-default' to nil when
11612         it duplicates initial input `insdef'.
11613         Bind `minibuffer-default-add-function' to lambda that
11614         calls `read-file-name-defaults' in `minibuffer-selected-window'.
11615         (minibuffer-insert-file-name-at-point): New command.
11617         * files.el (file-name-at-point-functions): New defcustom.
11618         (find-file-default): Remove defvar.
11619         (find-file-read-args): Don't use `find-file-default'.
11620         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11621         to `read-file-name'.
11622         (find-file-literally): Use `read-file-name' with
11623         `confirm-nonexistent-file-or-buffer'.
11625         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
11627         * dired.el (dired-read-dir-and-switches):
11628         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11629         to `read-file-name'.
11630         (dired-file-name-at-point): New function.
11631         (dired-mode): Add hook `dired-file-name-at-point' to
11632         `file-name-at-point-functions'.
11634 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11636         Really make the *Completions* window soft-dedicated (bug#5030).
11637         * window.el (window--display-buffer-2): Add `dedicated' argument.
11638         (display-buffer): Pass it when needed so the dedicated flag is set
11639         after calling set-window-buffer, which would otherwise reset it.
11641 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11643         * progmodes/meta-mode.el (meta-complete-symbol):
11644         * progmodes/etags.el (complete-tag):
11645         * mail/mailabbrev.el (mail-abbrev-complete-alias):
11646         Use completion-in-region.
11648         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
11649         (dabbrev-completion): Use completion-in-region.
11650         (dabbrev--abbrev-at-point): Simplify regexp.
11652         * abbrev.el (abbrev--before-point): Use word-motion functions
11653         if :regexp is not specified (bug#5031).
11655         * subr.el (string-prefix-p): New function.
11657         * man.el (Man-completion-cache): New var.
11658         (Man-completion-table): Use it.
11660         * vc.el (vc-print-log-internal): Make `limit' optional for better
11661         compatibility (e.g. with vc-annotate.el).
11663 2009-11-24  Kevin Ryde  <user42@zip.com.au>
11665         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
11666         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
11668         * emacs-lisp/elint.el (elint-add-required-env): Better error message
11669         when .el source file not found or other error.
11671 2009-11-24  Markus Triska  <markus.triska@gmx.at>
11673         * linum.el (linum-update-window): Ignore intangible (bug#4996).
11675 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11677         Handle the [back] button properly (bug#4979).
11678         * descr-text.el (describe-text-properties): Add a `buffer' argument.
11679         Use help-setup-xref, help-buffer, and with-help-window.
11680         (describe-char): Add `buffer' argument.
11681         Pass proper command to help-setup-xref.  Don't meddle with
11682         help-xref-stack-item directly.
11683         (describe-text-category): Use with-help-window and help-buffer.
11685         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
11686         for the displayed buffer (bug#4887).
11688         * man.el (Man-completion-table): New function.
11689         (man): Use it.
11691 2009-11-24  David Reitter  <david.reitter@gmail.com>
11693         * vc-git.el (vc-git-registered): Use checkout directory (where
11694         .git is) rather than the file's directory and a relative path spec
11695         to work around a bug in git.
11697 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
11699         Improve handling of processes on remote hosts.
11701         * eshell/esh-util.el (eshell-path-env): New defvar.
11702         (eshell-parse-colon-path): New defun.
11703         (eshell-file-attributes): Use `eshell-parse-colon-path'.
11705         * eshell/esh-ext.el (eshell-search-path):
11706         Use `eshell-parse-colon-path'.
11707         (eshell-remote-command): Remove argument HANDLER.
11708         (eshell-external-command): Check for FTP remote connection.
11710         * eshell/esh-proc.el (eshell-gather-process-output):
11711         Use `file-truename', in order to start also symlinked files.
11712         Apply `start-file-process' instead of `start-process'.
11713         Shorten `command' to the local file name part.
11715         * eshell/em-cmpl.el (eshell-complete-commands-list):
11716         Use `eshell-parse-colon-path'.
11718         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
11720         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
11721         to `eshell-directory-change-hook'.
11723 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
11725         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
11726         because it could be enabled automatically if view-read-only is non-nil.
11728 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
11730         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
11731         made on 2009-11-22.
11733 2009-11-24  Glenn Morris  <rgm@gnu.org>
11735         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
11736         deleted variable bookmark-bmenu-bookmark-column.
11738 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11740         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
11742 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
11744         * net/browse-url.el (browse-url-filename-alist): On Windows, add
11745         two slashes to the "file:" prefix.
11746         (browse-url-file-url): De-munge Cygwin filenames before passing
11747         them to Windows browser.
11748         (browse-url-default-windows-browser): Use call-process.
11750 2009-11-23  Juri Linkov  <juri@jurta.org>
11752         Implement DocView Continuous mode.  (Bug#4896)
11753         * doc-view.el (doc-view-continuous-mode): New defcustom.
11754         (doc-view-mode-map): Bind C-n/<down> to
11755         `doc-view-next-line-or-next-page', C-p/<up> to
11756         `doc-view-previous-line-or-previous-page'.
11757         (doc-view-next-line-or-next-page)
11758         (doc-view-previous-line-or-previous-page): New commands.
11760 2009-11-23  Juri Linkov  <juri@jurta.org>
11762         Implement Isearch in comint input history.  (Bug#3746)
11763         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
11764         `isearch-mode-hook'.
11765         (comint-history-isearch): New defcustom.
11766         (comint-history-isearch-backward)
11767         (comint-history-isearch-backward-regexp): New commands.
11768         (comint-history-isearch-message-overlay): New buffer-local variable.
11769         (comint-history-isearch-setup, comint-history-isearch-end)
11770         (comint-goto-input, comint-history-isearch-search)
11771         (comint-history-isearch-message, comint-history-isearch-wrap)
11772         (comint-history-isearch-push-state)
11773         (comint-history-isearch-pop-state): New functions.
11775 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
11777         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
11778         return.
11779         (tramp-handle-make-symbolic-link)
11780         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
11781         Quote file names.
11782         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
11783         (tramp-handle-process-file): Use it.
11785 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11787         * window.el (move-to-window-line-last-op): Remove.
11788         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
11790 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
11792         Make M-r mirror the new cycling behavior of C-l.
11793         * window.el (move-to-window-line-last-op): New var.
11794         (move-to-window-line-top-bottom): New command.
11795         (global-map): Bind M-r move-to-window-line-top-bottom.
11797 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
11799         * dired-x.el (dired-guess-shell-alist-default):
11800         Support xz format.  (Bug#4953)
11802 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
11804         * emulation/viper-cmd.el: Use viper-last-command-char instead of
11805         last-command-char/last-command-event.
11806         (viper-prefix-arg-value): Do correct conversion of event-char for
11807         XEmacs.
11809         * emulation/viper-util.el, emulation/viper.el:
11810         Use viper-last-command-char instead of
11811         last-command-char/last-command-event.
11813         * ediff-init.el, ediff-mult.el, ediff-util.el:
11814         Replace last-command-char and last-command-event
11815         with (ediff-last-command-char) everywhere.
11817         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
11818         created in fundamental mode.
11820         * ediff.el (ediff-version): Revert the change of interactive-p to
11821         called-interactively-p.
11823 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
11825         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
11826         generation from word-movement command names.
11828 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
11830         * cus-start.el (all): Add native condition for font-use-system-font.
11832 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
11834         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
11835         Correct the patch from 2009-11-18.  (Bug#3910)
11837 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
11839         * progmodes/subword.el: Rename from lisp/subword.el.
11841         * subword.el: Rename to progmodes/subword.el.
11843         * Makefile.in (ELCFILES): Adapt to subword.el move.
11845 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11846             Stefan Monnier  <monnier@iro.umontreal.ca>
11848         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
11849         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
11850         (bookmark-bmenu-show-filenames): Use push.
11851         (bookmark-bmenu-hide-filenames): Use local var instead of
11852         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
11853         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
11854         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
11855         filenames now that the bookmark names are always available.
11857 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11859         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
11860         (bookmark-search-pattern): Move and leave unbound.
11861         (bookmark-bmenu-mode-map): Change binding.
11862         (bookmark-read-search-input): Simplify.
11863         Don't use text-char-description.  Don't error on non-char events.
11864         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
11865         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
11866         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
11867         Use a local var for the timer.
11868         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
11869         (i.e. bookmark-bmenu-search).
11871 2009-11-21  Glenn Morris  <rgm@gnu.org>
11873         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
11875 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
11877         * net/browse-url.el (browse-url-default-windows-browser):
11878         Use cygstart for cygwin.
11880 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
11882         * bookmark.el: Formatting and doc fixes only:
11883         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
11884         (bookmark-bmenu-search): Wrap to fit within 80 columns.
11885         Minor grammar and punctuation fixes in doc string.
11886         (bookmark-read-search-input): Adjust to fit within 80 columns.
11888 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
11890         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
11891         (c-backward-into-nomenclature): Adapt to subword renaming.
11893         * subword.el (subword-forward, subword-backward, subword-mark)
11894         (subword-kill, subword-backward-kill, subword-transpose)
11895         (subword-downcase, subword-upcase, subword-capitalize)
11896         (subword-forward-internal, subword-backward-internal):
11897         Rename from forward-subword, backward-subword, mark-subword,
11898         kill-subword, backward-kill-subword, transpose-subwords,
11899         downcase-subword, upcase-subword, capitalize-subword,
11900         forward-subword-internal, backward-subword-internal.
11902 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11904         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
11905         New options.
11906         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
11907         New vars.
11908         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
11909         (bookmark-bmenu-filter-alist-by-regexp)
11910         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
11911         (bookmark-bmenu-search): New command.
11912         (bookmark-bmenu-mode-map): Bind it.
11914 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
11916         * progmodes/cc-cmds.el: declare-functioned forward-subword and
11917         backward-subword to quit the byte-compiler.
11919         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
11921         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
11923         * progmodes/cc-cmds.el (c-update-modeline)
11924         (c-forward-into-nomenclature, c-backward-into-nomenclature):
11925         Refer to subword.el functions instead of cc-subword.el.
11927         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
11928         subword.el functions instead of cc-subword.el.
11930         * progmodes/cc-subword.el: Rename to subword.el.
11931         * subword.el: Rename from progmodes/cc-subword.el.
11932         (subword-mode-map): Rename from c-subword-mode-map.
11933         (subword-mode): Rename from c-subword-mode.
11934         (global-subword-mode): New global minor mode.
11935         (forward-subword): Rename from c-forward-subword.
11936         (backward-subword): Rename from c-backward-subword.
11937         (mark-subword): Rename from c-mark-subword.
11938         (kill-subword): Rename from c-kill-subword.
11939         (backward-kill-subword): Rename from c-backward-kill-subword.
11940         (transpose-subwords): Rename from c-tranpose-subword.
11941         (downcase-subword): Rename from c-downcase-subword.
11942         (capitalize-subword): Rename from c-capitalize-subword.
11943         (forward-subword-internal): Rename from c-forward-subword-internal.
11944         (backward-subword-internal): Rename from c-backward-subword-internal.
11946 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
11948         * vc.el (vc-deduce-fileset): Allow non-state changing operations
11949         from a dired buffer.
11950         (vc-dired-deduce-fileset): New function.
11951         (vc-root-diff, vc-print-root-log): Use it.
11953         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
11954         nil LIMIT argument to vc-print-log-internal.
11956 2009-11-20  Glenn Morris  <rgm@gnu.org>
11958         * Makefile.in (ELCFILES): Regenerate.
11960 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
11962         * calc/calc.el (calc-set-mode-line):
11963         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11964         (math-format-number): Rename `math-format-complement-signed' to
11965         `math-format-twos-complement'.
11967         * calc/calc-bin.el (math-format-twos-complement): Rename from
11968         math-format-complement-signed.
11969         (calc-radix): Rename `calc-complement-signed-mode' to
11970         `calc-twos-complement-mode'.
11971         (calc-octal-radix, calc-hex-radix): Add an argument for
11972         two's complement.
11974         * calc/calc-embed.el (calc-embedded-mode-vars):
11975         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11977         * calc/calc-ext.el (calc-init-extensions):
11978         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11979         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
11981         * calc/calc-units.el (math-build-units-table-buffer):
11982         Let `calc-twos-complement-mode' be nil.
11984         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
11985         entries.
11987         * calc/calc-vec.el (calcFunc-vunpack):
11988         * calc/calc-aent.el (calc-do-calc-eval):
11989         * calc/calc-forms.el (math-format-date):
11990         * calc/calc-graph.el (calc-graph-plot):
11991         * calc/calc-math.el (math-use-emacs-fn):
11992         * calc/calccomp.el (math-compose-expr):
11993         Let `calc-twos-complement-mode' be nil.
11995 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11997         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
11998         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
11999         * minibuffer.el (completion-in-region-functions): New hook.
12000         (completion-in-region): New function.
12001         * emacs-lisp/lisp.el (lisp-complete-symbol):
12002         * pcomplete.el (pcomplete-std-complete): Use it.
12004 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12006         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12007         (latex-complete-alist): New vars.
12008         (latex-string-prefix-p, latex-complete-bibtex-keys)
12009         (latex-complete-envnames, latex-complete-refkeys)
12010         (latex-complete-data): New functions.
12011         (latex-complete, latex-indent-or-complete): New commands.
12013         * window.el (display-buffer-mark-dedicated): New var.
12014         (display-buffer): Obey it.
12015         * minibuffer.el (minibuffer-completion-help): Use it.
12017         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12019         * filecache.el (file-cache-add-file): Use push and cons.
12020         (file-cache-delete-file-regexp): Use push.
12021         (file-cache-complete): Use completion-in-region.
12023         * simple.el (with-wrapper-hook): Fix thinko.
12025         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12026         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12027         Use with-current-buffer and string-to-number.
12028         (hfy-fallback-colour-values): Use assoc-string.
12029         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12030         (hfy-face-at): Remove unused var `found-face'.
12031         (hfy-compile-stylesheet): Remove unused var `css'.
12032         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12033         and `orig-buffer'.
12034         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12035         Use with-current-buffer.
12036         (hfy-text-p): Use expand-file-name and fewer setq.
12038 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
12040         * htmlfontify.el, hfy-cmap.el: New files.
12042 2009-11-19  Juri Linkov  <juri@jurta.org>
12044         * minibuffer.el (completions-format): New defcustom.
12045         (completion--insert-strings): Implement vertical format.
12047         * simple.el (switch-to-completions): Move point to the first
12048         completion when point was at the beginning of the buffer.
12050 2009-11-19  Juri Linkov  <juri@jurta.org>
12052         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
12054         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12056 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
12058         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12059         (mail-signature): Change default to t.
12060         (mail-from-style): Deprecate `system-default' value.
12061         (mail-insert-from-field): For default value of mail-from-style,
12062         default to `angles' unless `angles' needs quoting and `parens'
12063         does not.
12064         (mail-citation-prefix-regexp): Use citation regexp from
12065         message-mode.
12067 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
12069         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12070         Set variables for computing the prompt for reading password.
12072 2009-11-19  Glenn Morris  <rgm@gnu.org>
12074         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
12076         * textmodes/flyspell.el (sgml-lexical-context): Declare.
12078         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12079         (newsticker-treeview-listwindow-height): Fix custom type.
12081 2009-11-19  Kenichi Handa  <handa@m17n.org>
12083         * descr-text.el (describe-char-padded-string): Compose with TAB
12084         only if there's a font for CH.
12085         (describe-char): Fix the condition for detecting a trivial composition.
12087 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
12089         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
12090         more accurate version of the regexp.  (Bug#3910)
12092 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
12094         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12096 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
12098         * font-setting.el (font-use-system-font): Declare for byte-compiler.
12099         (font-setting-change-default-font): Fix typo in docstring.
12101 2009-11-18  Alan Mackenzie  <acm@muc.de>
12103         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12105 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
12107         * font-setting.el (font-use-system-font): Move ...
12109         * cus-start.el (all): ... to here.
12111 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
12113         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12114         Don't set `ad-return-value' if `ad-do-it' doesn't.
12116         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12117         modification time.
12119 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
12121         * menu-bar.el: Put "Use system font" in Option-menu.
12122         (menu-bar-options-save): Add font-use-system-font.
12124         * loadup.el: If feature system-font-setting or font-render-setting is
12125         there, load font-setting.
12127         * Makefile.in (ELCFILES): Add font-settings.el.
12128         * font-setting.el: New file.
12130 2009-11-17  Glenn Morris  <rgm@gnu.org>
12132         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12134         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12135         Preserve point in the list buffer.  (Bug#4939)
12136         Use point-at-eol.
12137         (newsticker--treeview-list-update-highlight)
12138         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12140 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
12142         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12143         Remove.
12145         * calc/calc-ext.el (calc-init-extensions): Remove references to
12146         symclip.
12148         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12150         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
12151         * calc/calc-help.el (calc-b-prefix-help): Remove references to
12152         `calc-symclip'.
12154 2009-11-16  Kevin Ryde  <user42@zip.com.au>
12156         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12157         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12159         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12160         (lm-keywords-list): Allow comma-only separator like "foo,bar".
12161         Ignore trailing spaces by omit-nulls to split-string (fixing
12162         regression from Emacs 21 due to the incompatible split-string
12163         change).  (Bug #4928.)
12165 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
12167         * vc.el (vc-log-show-limit): Default to 2000.
12168         (vc-print-log-internal): Insert buttons to request more entries
12169         when limiting the output.
12171         * vc-sccs.el (vc-sccs-print-log):
12172         * vc-rcs.el (vc-rcs-print-log):
12173         * vc-cvs.el (vc-cvs-print-log):
12174         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12175         LIMIT is non-nil.
12177 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
12179         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12180         error when `tramp-gvfs-dbus-event-vector' is set.
12181         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12183 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12185         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12187 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
12189         * net/dbus.el (dbus-unregister-service): New defun.
12190         (dbus-register-property): Register the handlers of
12191         "org.freedesktop.DBus.Properties" for SERVICE.
12192         (dbus-property-handler): Fix docstring.
12194 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12196         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12197         Quote doc string reference in defvaralias as it is not in special form.
12198         (byte-compile-output-docform): Doc fix.
12200 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
12202         * calc/calc.el (math-2-word-size, math-half-2-word-size)
12203         (calc-complement-signed-mode): New variables.
12204         (calc-set-mode-line): Add indicator for twos-complements.
12205         (math-format-number): Format twos-complement notation.
12207         * calc/calc-bin.el (calc-word-size): Reset the variables
12208         `math-2-word-size' and `math-half-2-word-size'.
12209         (math-format-complement-signed, math-symclip, calcFunc-symclip)
12210         (calc-symclip): New functions.
12212         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12214         * calc/calc-embed.el (calc-embedded-mode-vars):
12215         Add `calc-complement-signed-mode' to the list of modes.
12217         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
12218         (calc-b-oper-keys): Add `calc-symclip' to list.
12220         * calc/calc-ext.el (math-read-number-fancy): Read complement
12221         signed numbers.
12222         (calc-init-extensions): Add binding for `calc-symclip'.
12223         Add autoload for `calcFunc-symclip' and `calc-symclip'.
12225         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12226         `calc-symclip'.
12227         (calc-modes-menu): Add item for twos complement mode.
12229         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
12231 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
12233         * register.el (jump-to-register, insert-register): Handle Semantic
12234         tags.  From commented-out advice in semantic/senator.el.
12236 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
12238         * vc.el (vc-log-show-limit): New variable.
12239         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
12240         when using a prefix argument.
12241         (vc-print-log-internal): Add new argument LIMIT.
12243         * vc-svn.el (vc-svn-print-log):
12244         * vc-mtn.el (vc-mtn-print-log):
12245         * vc-hg.el (vc-hg-print-log):
12246         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
12247         pass it to the log command when set.  Make the BUFFER argument
12248         non-optional.
12250         * vc-sccs.el (vc-sccs-print-log):
12251         * vc-rcs.el (vc-rcs-print-log):
12252         * vc-git.el (vc-git-print-log):
12253         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12254         ignore it.  Make the BUFFER argument non-optional
12256         * bindings.el (mode-line-buffer-identification): Do not purecopy.
12258 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
12260         * dired.el (dired-mode-map): Move encryption items to "Operate"
12261         menu (Bug#4703).
12263         * strokes.el (strokes-update-window-configuration): Make strokes
12264         buffer current before erasing (Bug#4906).
12266 2009-11-15  Juri Linkov  <juri@jurta.org>
12268         * simple.el (set-mark-default-inactive): Add :type, :group
12269         and :version.  (Bug#4876)
12271 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
12273         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12274         (archive-unique-fname): ... here.  (Bug#4929)
12276 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12278         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12279         with a real fix.
12281         * novice.el (disabled-command-function): Add useful args.
12282         Setup the help buffer so that [back] works.
12283         Remove redundant call to help-mode.
12284         (disabled-command-function): Use `case'.
12285         (en/disable-command): New function extracted from enable-command.
12286         (enable-command, disable-command): Use it.
12288 2009-11-14  Glenn Morris  <rgm@gnu.org>
12290         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12291         constants.  (Bug#4913)
12293         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12295 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
12297         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12298         defined in C that have no doc-strings.  (Bug#1063)
12300 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
12302         * cus-edit.el (data, files):
12303         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
12305 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
12307         * simple.el (shell-command): Doc fix (Bug#4891).
12309         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12311 2009-11-14  Glenn Morris  <rgm@gnu.org>
12313         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12314         statements for vc-diff, emerge-quit, and rmail-cease-edit.
12315         If they are already loaded, eval-after-load will do the right thing.
12317         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12318         compiling.
12320         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12322         * simple.el (x-selection-owner-p): Declare.
12323         (read-mail-command): Use custom radio type rather than choice.
12324         (completion-no-auto-exit): Doc fix.
12326         * custom.el (defgroup):
12327         * epg-config.el (epg): Doc fixes.
12329 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
12331         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12332         * international/ccl.el (define-ccl-program): Do not purecopy the
12333         docstring, defconst does it anyway.
12335 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12337         * add-log.el (add-change-log-entry): Avoid displaying the changelog
12338         a second time.
12340         * x-dnd.el (x-dnd-maybe-call-test-function):
12341         * window.el (split-window-vertically):
12342         * whitespace.el (whitespace-help-on):
12343         * vc-rcs.el (vc-rcs-consult-headers):
12344         * userlock.el (ask-user-about-lock-help)
12345         (ask-user-about-supersession-help):
12346         * type-break.el (type-break-force-mode-line-update):
12347         * time-stamp.el (time-stamp-conv-warn):
12348         * terminal.el (te-set-output-log, te-more-break, te-filter)
12349         (te-sentinel, terminal-emulator):
12350         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
12351         (term-write-input-ring, term-check-source, term-start-output-log):
12352         (term-display-buffer-line, term-dynamic-list-completions):
12353         (term-ansi-make-term, serial-term):
12354         * subr.el (selective-display):
12355         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
12356         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
12357         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
12358         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
12359         (speedbar-remove-localized-speedbar-support)
12360         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
12361         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
12362         (speedbar-buffers-line-directory):
12363         * simple.el (shell-command-on-region, append-to-buffer)
12364         (prepend-to-buffer):
12365         * shadowfile.el (shadow-save-todo-file):
12366         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
12367         (scroll-bar-maybe-set-window-start):
12368         * sb-image.el (speedbar-image-dump):
12369         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
12370         (load-save-place-alist-from-file):
12371         * ps-samp.el (ps-print-message-from-summary):
12372         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
12373         (ps-background-image, ps-begin-job, ps-do-despool):
12374         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
12375         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
12376         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
12377         (pr-call-process, pr-file-list, pr-interface-save):
12378         * novice.el (disabled-command-function)
12379         (enable-command, disable-command):
12380         * mouse.el (mouse-buffer-menu-alist):
12381         * mouse-copy.el (mouse-kill-preserving-secondary):
12382         * macros.el (kbd-macro-query):
12383         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
12384         * informat.el (batch-info-validate):
12385         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
12386         * hippie-exp.el (try-expand-dabbrev-visible):
12387         * help-mode.el (help-make-xrefs):
12388         * help-fns.el (describe-variable):
12389         * generic-x.el (bat-generic-mode-run-as-comint):
12390         * finder.el (finder-mouse-select):
12391         * find-dired.el (find-dired-sentinel):
12392         * filesets.el (filesets-file-close):
12393         * files.el (list-directory):
12394         * faces.el (list-faces-display, describe-face):
12395         * facemenu.el (list-colors-display):
12396         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
12397         * epg.el (epg--process-filter, epg-cancel):
12398         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
12399         (epa--read-signature-type):
12400         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
12401         (emerge-file-names):
12402         * ehelp.el (electric-helpify):
12403         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
12404         * ediff-vers.el (rcs-ediff-view-revision):
12405         * ediff-util.el (ediff-setup):
12406         * ediff-mult.el (ediff-append-custom-diff):
12407         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
12408         (ediff-wordify):
12409         * echistory.el (Electric-command-history-redo-expression):
12410         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
12411         * disp-table.el (describe-display-table):
12412         * dired.el (dired-find-buffer-nocreate):
12413         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12414         * dabbrev.el (dabbrev--same-major-mode-p):
12415         * chistory.el (list-command-history):
12416         * apropos.el (apropos-documentation):
12417         * allout.el (allout-obtain-passphrase):
12418         (allout-copy-exposed-to-buffer):
12419         (allout-verify-passphrase): Use with-current-buffer.
12421 2009-11-13  Glenn Morris  <rgm@gnu.org>
12423         * Makefile.in (ELCFILES): Regenerate.
12425 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
12427         * net/dbus.el (dbus-registered-objects-table): Rename from
12428         `dbus-registered-functions-table', because it contains also properties.
12429         (dbus-unregister-object): Unregister also properties.
12430         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12431         Use a timeout of 500 msec, in order to not block.
12432         (dbus-register-property, dbus-property-handler): New defuns.
12434 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12436         * simple.el (minibuffer-default-add-completions): Drop deprecated
12437         4th arg.
12439 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
12441         * textmodes/artist.el (artist-mouse-choose-operation):
12442         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
12443         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
12444         (artist-compute-up-event-key): New function.
12445         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
12447 2009-11-13  Kenichi Handa  <handa@m17n.org>
12449         * language/japan-util.el: Make sure that the value of jisx0208
12450         property is jisx0208 character.
12452 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
12454         * international/mule.el (auto-coding-regexp-alist): Only purecopy
12455         car or each item, not the whole list.
12457 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12459         * minibuffer.el (minibuffer-completion-help):
12460         Use minibuffer-hide-completions.
12462 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
12464         * dired.el (dired-save-positions, dired-restore-positions): New funs.
12465         (dired-revert): Use them (bug#4880).
12467 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
12469         * tooltip.el (tooltip-frame-parameters): Undo previous change.
12471 2009-11-12  Juri Linkov  <juri@jurta.org>
12473         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
12474         New functions.
12475         (find-file-literally-at-point): Alias of `ffap-literally'.
12477 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
12479         * textmodes/ispell.el (ispell-skip-region-alist):
12480         * textmodes/css-mode.el (auto-mode-alist):
12481         * progmodes/compile.el (auto-mode-alist):
12482         * international/mule.el (ctext-non-standard-encodings-alist)
12483         (ctext-non-standard-encodings-regexp):
12484         * simple.el (shell-command-switch, text-read-only):
12485         * replace.el (occur-mode-map):
12486         * paths.el (rmail-file-name):
12487         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
12488         * find-file.el (ff-special-constructs):
12489         * files.el (file-name-handler-alist):
12490         * composite.el: Purecopy strings.
12492         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
12494 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
12496         * widget.el (define-widget): Purecopy the docstring.
12497         * international/mule-cmds.el (charset): Do not purecopy the
12498         docstring here, define-widget does it.
12500         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
12501         * textmodes/bibtex-style.el (auto-mode-alist):
12502         * progmodes/inf-lisp.el (inferior-lisp-prompt):
12503         * progmodes/compile.el (compile-command):
12504         * language/korea-util.el (default-korean-keyboard):
12505         * international/mule-conf.el (file-coding-system-alist):
12506         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
12507         * tooltip.el (tooltip-frame-parameters):
12508         * newcomment.el (comment-end, comment-padding):
12509         * dired.el (dired-trivial-filenames):
12510         * comint.el (comint-file-name-prefix): Purecopy initial values.
12512 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
12514         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
12515         (tramp-advice-minibuffer-electric-tilde): Unload advices via
12516         `tramp-unload'.
12517         (tramp-advice-make-auto-save-file-name)
12518         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
12519         after removing the advice.
12521 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
12523         * progmodes/grep.el (grep-regexp-alist):
12524         * international/mule-cmds.el (iso-2022-control-alist):
12525         * emacs-lisp/timer.el (timer-duration-words):
12526         * subr.el (version-separator, version-regexp-alist):
12527         * minibuffer.el (completion-styles-alist):
12528         * faces.el (face-attribute-name-alist, list-faces-sample-text):
12529         Change defvars to defconsts.
12531         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
12532         * loadup.el ("international/mule-conf"): Load the byte compiled version.
12533         * international/mule-conf.el: Allow to be byte compiled.
12535         * international/mule.el (define-charset): Purecopy props.
12536         (load-with-code-conversion): Purecopy doc string and file name.
12537         (put-charset-property): Purecopy strings.
12538         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
12540         * international/mule-cmds.el (register-input-method): Purecopy arguments.
12541         (define-char-code-property): Correctly purecopy the table.
12543         * international/ccl.el (define-ccl-program): Purecopy the docstring.
12545         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
12547         * subr.el (add-hook): Purecopy strings.
12548         (eval-after-load): Purecopy load-history-regexp and the form.
12550         * custom.el (custom-declare-group): Purecopy load-file-name.
12552         * subr.el (menu-bar-separator): New defconst.
12553         * net/eudc.el (eudc-tools-menu):
12554         * international/mule-cmds.el (set-coding-system-map)
12555         (mule-menu-keymap):
12556         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12557         * vc-hooks.el (vc-menu-map):
12558         * replace.el (occur-mode-map):
12559         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
12560         (menu-bar-edit-menu, menu-bar-goto-menu)
12561         (menu-bar-custom-menu, menu-bar-showhide-menu)
12562         (menu-bar-options-menu, menu-bar-tools-menu)
12563         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
12564         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
12565         (menu-bar-help-menu):
12566         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
12567         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
12569         * term/x-win.el (x-gtk-stock-map):
12570         * progmodes/vera-mode.el (auto-mode-alist):
12571         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
12572         (inferior-lisp-program, inferior-lisp-load-command):
12573         * progmodes/hideshow.el (hs-special-modes-alist):
12574         * progmodes/gud.el (same-window-regexps):
12575         * progmodes/grep.el (grep-program, find-program, xargs-program):
12576         * net/telnet.el (same-window-regexps):
12577         * net/rlogin.el (same-window-regexps):
12578         * language/ethiopic.el (font-ccl-encoder-alist):
12579         * vc-sccs.el (vc-sccs-master-templates):
12580         * vc-rcs.el (vc-rcs-master-templates):
12581         * subr.el (cl-assertion-failed):
12582         * simple.el (next-error-overlay-arrow-position):
12583         * lpr.el (lpr-command):
12584         * locate.el (locate-ls-subdir-switches):
12585         * info.el (same-window-regexps, info)
12586         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
12587         * image-mode.el (image-mode, auto-mode-alist):
12588         * hippie-exp.el (hippie-expand-ignore-buffers):
12589         * format.el (format-alist):
12590         * find-dired.el (find-ls-subdir-switches, find-grep-options)
12591         (find-name-arg):
12592         * facemenu.el (facemenu-keybindings):
12593         * dired.el (dired-listing-switches, dired-chown-program):
12594         * diff.el (diff-switches, diff-command):
12595         * cus-edit.el (same-window-regexps):
12596         * bindings.el (mode-line-mule-info)
12597         (mode-line-buffer-identification): Purecopy strings.
12599 2009-11-11  Juri Linkov  <juri@jurta.org>
12601         * simple.el (dired-get-filename) <declare-function>:
12602         Tell the byte-compiler about dired-get-filename.
12603         (shell-command): In Dired mode, get filename from the current line
12604         as the default value.
12606 2009-11-10  Glenn Morris  <rgm@gnu.org>
12608         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
12609         * calendar/holidays.el, progmodes/cperl-mode.el:
12610         Update x-popup-menu declarations.
12612         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
12613         (list-load-path-shadows): Use dolist.
12614         (list-load-path-shadows): Use with-current-buffer.
12616 2009-11-10  Juri Linkov  <juri@jurta.org>
12618         * minibuffer.el (read-file-name): Support a list of default values
12619         in `default-filename'.  Use the first file name where only one
12620         element is required.  Doc fix.
12622 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
12624         * net/dbus.el (dbus-unregister-object): Release service, if no
12625         other method is registered for it.
12627 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
12629         * bookmark.el (bookmark-completing-read): Sort bookmark names if
12630         bookmark-sort-flag is non-nil (Bug#4653).
12632 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
12634         * emulation/cua-base.el: Add CUA property to some CC mode commands
12635         (Bug#4100).
12637 2009-11-08  Kevin Ryde  <user42@zip.com.au>
12639         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
12640         at end of sentence (Bug#4818).
12642 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
12644         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12645         Handle "see declaration of" MSFT statements (Bug#4100).
12647 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
12649         * net/tramp.el (tramp-advice-make-auto-save-file-name)
12650         (tramp-advice-file-expand-wildcards): Unload via
12651         `ad-remove-advice'.
12653         * net/trampver.el: Update release number.
12655 2009-11-08  Kevin Ryde  <user42@zip.com.au>
12657         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
12658         `ad-do-it'.
12660 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
12662         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
12663         in order to keep context in SELinux.
12665 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
12667         * dired-aux.el (dired-query): Place cursor in echo area and allow
12668         C-g.
12670         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
12671         menu item if not on a directory (Bug#4701).
12673 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
12675         Sync with Tramp 2.1.17.
12677         * net/tramp.el (tramp-handle-copy-directory): Don't use
12678         `file-remote-p' (due to compatibility).
12680         * net/tramp-compat.el (tramp-compat-copy-directory)
12681         (tramp-compat-delete-directory): New defuns.
12683         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12684         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
12685         `tramp-compat-delete-directory'.
12687         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12688         (tramp-smb-handle-delete-directory): Use
12689         `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12691         * net/trampver.el: Update release number.
12693 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
12695         * tar-mode.el (tar-copy): Call write-region on the right buffer
12696         (Bug#4857).
12698         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
12699         by hand, if necessary (Bug#4878).
12701 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
12703         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
12704         align size column (Bug#4839).
12706         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
12707         statement.
12709 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
12711         * progmodes/ld-script.el (auto-mode-alist):
12712         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
12714         * cus-face.el (custom-declare-face): Purecopy face spec.
12716 2009-11-06  Kenichi Handa  <handa@m17n.org>
12718         * international/uni-bidi.el: Re-generated.
12719         * international/uni-category.el: Re-generated.
12720         * international/uni-combining.el: Re-generated.
12721         * international/uni-mirrored.el: Re-generated.
12723 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
12725         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
12726         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
12727         (tex-start-options, slitex-run-command, latex-run-command)
12728         (tex-run-command, tex-directory):
12729         * textmodes/ispell.el (ispell-html-skip-alists)
12730         (ispell-tex-skip-alists, ispell-tex-skip-alists):
12731         * textmodes/fill.el (adaptive-fill-first-line-regexp):
12732         (adaptive-fill-regexp):
12733         * textmodes/dns-mode.el (auto-mode-alist):
12734         * progmodes/python.el (interpreter-mode-alist):
12735         * progmodes/etags.el (tags-compression-info-list):
12736         * progmodes/etags.el (tags-file-name):
12737         * net/browse-url.el (browse-url-galeon-program)
12738         (browse-url-firefox-program):
12739         * mail/sendmail.el (mail-signature-file)
12740         (mail-citation-prefix-regexp):
12741         * international/mule-conf.el (eight-bit):
12742         * international/latexenc.el (latex-inputenc-coding-alist):
12743         * international/fontset.el (x-pixel-size-width-font-regexp):
12744         * emacs-lisp/warnings.el (warning-type-format):
12745         * emacs-lisp/trace.el (trace-buffer):
12746         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
12747         (emacs-lisp-mode-map):
12748         * calendar/holidays.el (holiday-solar-holidays)
12749         (holiday-bahai-holidays, holiday-islamic-holidays)
12750         (holiday-christian-holidays, holiday-hebrew-holidays)
12751         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
12752         (hebrew-holidays-1, holiday-oriental-holidays)
12753         (holiday-general-holidays):
12754         * x-dnd.el (x-dnd-known-types):
12755         * tool-bar.el (tool-bar):
12756         * startup.el (site-run-file):
12757         * shell.el (shell-dumb-shell-regexp):
12758         * rfn-eshadow.el (file-name-shadow-tty-properties)
12759         (file-name-shadow-properties):
12760         * paths.el (remote-shell-program, news-directory):
12761         * mouse.el ([C-down-mouse-3]):
12762         * menu-bar.el (menu-bar-tools-menu):
12763         * jka-cmpr-hook.el (jka-compr-load-suffixes)
12764         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
12765         (jka-compr-compression-info-list):
12766         * isearch.el (search-whitespace-regexp):
12767         * image-file.el (image-file-name-extensions):
12768         * find-dired.el (find-ls-option):
12769         * files.el (directory-listing-before-filename-regexp)
12770         (directory-free-space-args, insert-directory-program)
12771         (list-directory-brief-switches, magic-fallback-mode-alist)
12772         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
12773         (automount-dir-prefix):
12774         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
12775         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
12776         (face-font-registry-alternatives, face-font-registry-alternatives)
12777         (face-font-family-alternatives):
12778         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
12779         (facemenu-foreground-menu, facemenu-face-menu):
12780         * epa-hook.el (epa-file-name-regexp):
12781         * dnd.el (dnd-protocol-alist):
12782         * textmodes/rst.el (auto-mode-alist):
12783         * button.el (default-button): Purecopy strings.
12785 2009-11-06  Glenn Morris  <rgm@gnu.org>
12787         * Makefile.in (ELCFILES): Update.
12789 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12791         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
12792         * emacs-lisp/levents.el: Move to obsolete/levents.el.
12794         * nxml/xsd-regexp.el (xsdre-gen-categories):
12795         * nxml/xmltok.el (xmltok-parse-entity):
12796         * nxml/rng-parse.el (rng-parse-validate-file):
12797         * nxml/rng-maint.el (rng-format-manual)
12798         (rng-manual-output-force-new-line):
12799         * nxml/rng-loc.el (rng-save-schema-location-1):
12800         * nxml/rng-cmpct.el (rng-c-parse-file):
12801         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
12802         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
12804 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
12806         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
12807         Remove extra save-excursions and make-variable-buffer-local's.
12808         Suggested by Stefan Monnier.
12810         (verilog-getopt-file, verilog-module-inside-filename-p)
12811         (verilog-set-define): Merge GNU 1.35 and repair changes from
12812         switching to using with-current-buffer.
12814         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
12815         being treated as a number and confusing AUTORESET.
12816         Reported by Dan Dever.
12818         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
12819         Add verilog-auto-ignore-concat to fix backward compatibility with
12820         older verilog-modes.  Reported by Dan Katz.
12822         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
12823         containing closing anchors "...$".
12825         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
12826         Reported by Wade Smith.
12828         (verilog-batch-execute-func): Comment on function usage.
12830 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
12832         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
12833         for labels.
12835         (verilog-label-re, verilog-calc-1): Support proper indent of named
12836         asserts.
12838         (verilog-backward-token, verilog-basic-complete-re)
12839         (verilog-beg-of-statement, verilog-indent-re): Support proper
12840         indent of the assert statement at the beginning of a block of text.
12842         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
12843         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
12844         tokens as begins.
12846 2009-11-05  Glenn Morris  <rgm@gnu.org>
12848         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
12849         Emacs 19.  (Bug#1531)
12850         (byte-compile-fix-header): Update for the above change.
12851         Drop test for epoch::version.
12853         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
12854         * cus-dep.el (custom-make-dependencies):
12855         * finder.el (finder-compile-keywords):
12856         Use autoload-rubric's feature argument.
12858         * calendar/diary-lib.el (top-level): Make load behave more like require.
12860         * vc-git.el (vc-git-stash-map): Move definition before use.
12862 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
12864         * custom.el (custom-declare-group): Purecopy standard-value.
12865         (custom-declare-group): Purecopy custom-prefix.
12867         * international/mule.el (load-with-code-conversion):
12868         Call do-after-load-evaluation unconditionally.
12870         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
12872 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12874         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
12876 2009-11-04  Glenn Morris  <rgm@gnu.org>
12878         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
12879         (byte-compile-compatibility): Remove option.
12880         (byte-compile-close-variables, byte-compile-fix-header)
12881         (byte-compile-insert-header, byte-compile-output-docform)
12882         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
12883         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
12884         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
12885         (byte-compile-insert, byte-compile-defun):
12886         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
12887         (byte-defop-compiler19): Remove.
12888         Without byte-compile-compatibility, the 'emacs19-opcode property is not
12889         used by anything.  Replace all calls with byte-defop-compiler.
12891 2009-11-04  Juri Linkov  <juri@jurta.org>
12893         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
12894         (menu-bar-options-menu): Don't quote the `prop' arg of
12895         `menu-bar-make-mm-toggle'.
12897 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
12899         * calendar/calendar.el (cal-loaddefs):
12900         * calendar/diary-lib.el (diary-loaddefs):
12901         * calendar/holidays.el (hol-loaddefs):
12902         * eshell/esh-module.el (esh-groups): Load rather than require.
12904 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12906         * calendar/todo-mode.el (todo-add-category): Don't hardcode
12907         point-min==1.
12908         (todo-top-priorities): Only display-buffer when called interactively.
12909         (todo-item-start): Don't save excursion point.
12910         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
12911         (todo-insert-item-here, todo-file-item, todo-remove-item):
12912         Adjust uses of todo-item-start and todo-item-end.
12914         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
12915         (autoload-rubric): Don't use any more.
12917         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
12918         and only put a prop if it is non-nil.
12920 2009-11-03  Juri Linkov  <juri@jurta.org>
12922         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
12923         (menu-bar-options-menu): Fix list quoting (Bug#4429).
12925         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
12926         and "Menu" to make top-level menu item visually one unit (like
12927         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
12928         multi-word menu items).  Fix :help string for quit-window.
12930 2009-11-03  Glenn Morris  <rgm@gnu.org>
12932         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
12933         (byte-compile-file-form-define-abbrev-table)
12934         (byte-compile-file-form-custom-declare-variable)
12935         (byte-compile-variable-ref, byte-compile-defvar):
12936         Whether or not a warning is enabled should only affect whether we issue
12937         the warning, not whether or not we collect the relevant data.
12938         Eg warnings can be turned on and off throughout the course of a file.
12940         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
12941         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
12943 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12945         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
12946         * play/mpuz.el (mpuz-create-buffer):
12947         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
12948         (lm-print-y,s,noise, lm-print-w0, lm-init):
12949         * play/gomoku.el (gomoku-prompt-for-move):
12950         * play/fortune.el (fortune-in-buffer):
12951         * play/dissociate.el (dissociated-press):
12952         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
12953         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
12954         * mail/supercite.el (sc-eref-show):
12955         * mail/smtpmail.el (smtpmail-send-it):
12956         * mail/rmailsum.el (rmail-summary-next-labeled-message)
12957         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
12958         (rmail-summary-undelete-many, rmail-summary-rmail-update)
12959         (rmail-summary-goto-msg, rmail-summary-expunge)
12960         (rmail-summary-get-new-mail, rmail-summary-search-backward)
12961         (rmail-summary-add-label, rmail-summary-output-menu)
12962         (rmail-summary-output-body):
12963         * mail/rfc822.el (rfc822-addresses):
12964         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
12965         * mail/mailpost.el (post-mail-send-it):
12966         * mail/hashcash.el (hashcash-generate-payment):
12967         * mail/feedmail.el (feedmail-run-the-queue)
12968         (feedmail-queue-send-edit-prompt-help-first)
12969         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
12970         (feedmail-deduce-address-list):
12971         * eshell/esh-ext.el (eshell-remote-command):
12972         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
12973         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
12974         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
12975         (viper-save-string-in-file, viper-valid-marker):
12976         * emulation/viper-keym.el (viper-toggle-key):
12977         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
12978         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
12979         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
12980         * emulation/viper-cmd.el (viper-exec-form-in-vi)
12981         (viper-exec-form-in-emacs, viper-brac-function):
12982         * emulation/viper.el (viper-delocalize-var):
12983         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
12984         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
12985         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
12986         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
12987         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
12988         * emulation/edt.el (edt-electric-helpify):
12989         * emulation/cua-rect.el (cua--rectangle-aux-replace):
12990         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
12991         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
12992         (cua-indent-to-global-mark-column):
12993         * calendar/diary-lib.el (calendar-mark-1):
12994         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
12995         Use with-current-buffer.
12996         * emulation/viper.el (viper-delocalize-var): Use dolist.
12998 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
13000         * comint.el (comint-replace-by-expanded-history-before-point):
13001         Replace !! with the previous input string literally (Bug#1795).
13003 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
13005         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13006         to be made up of whitespace.
13008 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
13010         * minibuffer.el (read-file-name): Don't use file dialogs for
13011         remote directories (Bug#99).
13013 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
13015         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13017 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13019         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13020         instead of deleting the window or frame.
13022 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
13024         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13025         Support face colors.
13027         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13028         New function.  Support face colors (Bug#1168).
13029         (tex-common-initialization): Use it.
13031         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13032         mode allows it (Bug#1168).
13034 2009-10-31  Juri Linkov  <juri@jurta.org>
13036         * facemenu.el (list-colors-display): Don't mark buffer as
13037         modified (Bug#3948).
13039 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
13041         * international/mule-diag.el (list-character-sets-1): Minor
13042         message fix (Bug#3526).
13044         * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
13045         face property (Bug#4834).
13046         (etags-list-tags, etags-tags-apropos-additional)
13047         (etags-tags-apropos, tags-select-tags-table): Add follow-link
13048         property.
13050         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13051         items.
13053 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13055         * textmodes/two-column.el (2C-split):
13056         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13057         * textmodes/tex-mode.el (tex-set-buffer-directory):
13058         * textmodes/spell.el (spell-region, spell-string):
13059         * textmodes/reftex.el (reftex-erase-buffer):
13060         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13061         * textmodes/reftex-toc.el (reftex-toc-promote-action):
13062         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13063         (reftex-select-item):
13064         * textmodes/reftex-ref.el (reftex-label-info-update)
13065         (reftex-offer-label-menu):
13066         * textmodes/reftex-index.el (reftex-index-change-entry)
13067         (reftex-index-phrases-info):
13068         * textmodes/reftex-global.el (reftex-create-tags-file)
13069         (reftex-save-all-document-buffers, reftex-ensure-write-access):
13070         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13071         (reftex-view-crossref-from-bibtex):
13072         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13073         (reftex-extract-bib-entries-from-thebibliography)
13074         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13075         * textmodes/refbib.el (r2b-capitalize-title):
13076         (r2b-convert-buffer, r2b-help):
13077         * textmodes/page-ext.el (pages-directory)
13078         (pages-directory-goto-with-mouse):
13079         * textmodes/bibtex.el (bibtex-validate-globally):
13080         * textmodes/bib-mode.el (bib-capitalize-title):
13081         * textmodes/artist.el (artist-clear-buffer, artist-system):
13082         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13083         (local-set-scheme-interaction-buffer, xscheme-process-filter)
13084         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13085         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13086         (xscheme-send-control-g-interrupt, xscheme-start-process)
13087         (xscheme-process-sentinel, xscheme-cd):
13088         * progmodes/verilog-mode.el (verilog-read-always-signals)
13089         (verilog-set-define, verilog-getopt-file)
13090         (verilog-module-inside-filename-p):
13091         * progmodes/sh-script.el:
13092         * progmodes/python.el (python-pdbtrack-get-source-buffer)
13093         (python-pdbtrack-grub-for-buffer, python-execute-file):
13094         * progmodes/octave-inf.el (inferior-octave):
13095         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13096         (idlwave-shell-compile-helper-routines, idlwave-set-local)
13097         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13098         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13099         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13100         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13101         (idlwave-shell-filter, idlwave-shell-examine-highlight)
13102         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13103         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13104         (idlwave-shell-examine-display, idlwave-shell-run-region)
13105         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13106         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13107         * progmodes/idlw-help.el (idlwave-help-get-special-help)
13108         (idlwave-help-get-help-buffer):
13109         * progmodes/gud.el (gud-basic-call, gud-find-class)
13110         (gud-tooltip-activate-mouse-motions-if-enabled):
13111         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13112         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13113         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13114         (ebrowse-tags-next-file):
13115         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13116         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13117         (ebnf-eps-finish-and-write):
13118         * progmodes/cpp.el (cpp-edit-save):
13119         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13120         * progmodes/cc-defs.el (c-emacs-features):
13121         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13122         (antlr-directory-dependencies):
13123         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13124         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13125         (ada-find-any-references, ada-make-filename-from-adaname)
13126         (ada-make-body-gnatstub):
13127         * obsolete/rnews.el (news-list-news-groups):
13128         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
13129         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13130         * net/rcirc.el (rcirc-debug):
13131         * net/newst-treeview.el (newsticker--treeview-list-add-item)
13132         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13133         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13134         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
13135         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
13136         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13137         (newsticker--treeview-list-clear-highlight)
13138         (newsticker--treeview-list-update-highlight)
13139         (newsticker--treeview-list-highlight-start)
13140         (newsticker--treeview-tree-update-highlight)
13141         (newsticker--treeview-get-selected-item)
13142         (newsticker-treeview-mark-list-items-old)
13143         (newsticker--treeview-set-current-node):
13144         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13145         * net/newst-backend.el (newsticker--get-news-by-funcall)
13146         (newsticker--get-news-by-wget, newsticker--image-get)
13147         (newsticker--image-sentinel):
13148         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13149         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13150         (eudc-ph-close-session):
13151         * net/eudc.el (eudc-save-options):
13152         * language/thai-word.el (thai-update-word-table):
13153         * language/japan-util.el (japanese-string-conversion):
13154         * international/titdic-cnv.el (tsang-quick-converter)
13155         (ziranma-converter, ctlau-converter):
13156         * international/mule-cmds.el (describe-language-environment):
13157         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13158         (skkdic-convert-postfix, skkdic-convert-prefix):
13159         (skkdic-convert-okuri-nasi, skkdic-convert):
13160         * emacs-lisp/re-builder.el (reb-update-overlays):
13161         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13162         * emacs-lisp/gulp.el (gulp-send-requests):
13163         * emacs-lisp/find-gc.el (trace-call-tree):
13164         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13165         (eieio-describe-generic):
13166         * emacs-lisp/eieio-base.el (eieio-persistent-read):
13167         * emacs-lisp/edebug.el (edebug-outside-excursion):
13168         * emacs-lisp/debug.el (debugger-make-xrefs):
13169         * emacs-lisp/cust-print.el (custom-prin1-to-string):
13170         * emacs-lisp/chart.el (chart-new-buffer):
13171         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13172         Use with-current-buffer.
13173         * textmodes/artist.el (artist-system): Don't call
13174         copy-sequence on a fresh string.
13175         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13177 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
13179         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13180         is no item to edit.  (Bug#4820)
13181         (todo-top-priorities): Restore point and restore narrowing in Todo
13182         buffer.  (Bug#4820)
13184 2009-10-31  Glenn Morris  <rgm@gnu.org>
13186         * net/ange-ftp.el (top-level): Don't require dired when compiling.
13187         (comint-last-output-start, comint-last-input-start)
13188         (comint-last-input-end): Don't defvar when compiling.
13189         (ange-ftp-process-file): Use bound-and-true-p.
13191         * pcmpl-rpm.el (top-level): Move provide statement to end.
13192         (pcmpl-rpm): Remove unused custom group.
13194         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13196         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13198         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13199         (byte-compile-warnings): Add `constants' as an option.
13200         (byte-compile-callargs-warn, byte-compile-arglist-warn)
13201         (display-call-tree): Update for byte-compile-fdefinition possibly
13202         returning `(macro lambda ...)'.  (Bug#4778)
13203         (byte-compile-variable-ref, byte-compile-setq-default):
13204         Respect `constants' member of byte-compile-warnings.
13206 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13208         * vc-bzr.el (vc-bzr-revision-keywords): New var.
13209         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13210         to "submit:".
13212 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
13214         * textmodes/ispell.el (ispell-skip-region-alist):
13215         * international/mule-conf.el (eight-bit):
13216         * international/fontset.el (font-encoding-alist):
13217         * startup.el (pure-space-overflow-message):
13218         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13219         * paths.el (gnus-nntp-service, rmail-spool-directory)
13220         (term-file-prefix):
13221         * files.el (save-some-buffers-action-alist):
13222         * cmuscheme.el (same-window-buffer-names):
13223         * ielm.el (same-window-buffer-names):
13224         * shell.el (same-window-buffer-names):
13225         * mail/sendmail.el (same-window-buffer-names):
13226         * progmodes/inf-lisp.el (same-window-buffer-names):
13227         * bindings.el (mode-line-client)
13228         (mode-line-column-line-number-mode-map):
13229         * language/tibetan.el (tibetan-precomposition-rule-regexp)
13230         (tibetan-precomposed-regexp): Purecopy string arguments.
13232 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13234         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13235         (calcDigit-nondigit):
13236         * calc/calc-yank.el (calc-copy-to-buffer):
13237         * calc/calc-units.el (calc-invalidate-units-table):
13238         * calc/calc-trail.el (calc-trail-yank):
13239         * calc/calc-store.el (calc-insert-variables):
13240         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13241         * calc/calc-prog.el (calc-read-parse-table):
13242         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13243         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13244         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13245         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13246         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13247         (calc-graph-name, calc-graph-find-command, calc-graph-view)
13248         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13249         * calc/calc-ext.el (calc-realign):
13250         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13251         (calc-embedded-finish-edit, calc-embedded-make-info)
13252         (calc-embedded-finish-command, calc-embedded-stack-change):
13253         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13255         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13256         shell-dynamic-complete-filename in preference to
13257         comint-dynamic-complete-filename.
13259         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13260         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13261         Don't consider whether the display supports colors.
13262         (bookmark-import-new-list): Use dolist.
13263         (bookmark-bmenu-mode-map): Move initialization into declaration.
13264         (bookmark-bmenu-list): Use dolist, simplify.
13265         (bookmark-show-all-annotations): Use save-selected-window and dolist.
13266         (menu-bar-final-items): Use push.
13268 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
13270         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13271         it works on remote files.
13272         (vc-hg-diff): Don't pass any `--cwd' argument.
13274 2009-10-27  Kevin Ryde  <user42@zip.com.au>
13276         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13277         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13278         (Further to Bug#3921).
13280 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
13282         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13283         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13284         calling `tramp-imap-put-file'.  Add file size to the call.
13285         (tramp-imap-get-file-entries): Compute also user name, file size,
13286         and date.
13287         (tramp-imap-handle-insert-directory): Insert uid and gid.
13288         (tramp-imap-handle-file-attributes): Transform uid and gid
13289         according to `id-format'.
13290         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
13291         size in header X-Size.
13293 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
13295         * simple.el (transpose-subr): Give clearer error when the mark
13296         is not set.  (Bug#4807)
13298 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
13300         * net/tramp.el (tramp-perl-file-truename): New defconst.
13301         Perl code contributed by yary <not.com@gmail.com> (tiny change).
13302         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13303         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13304         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13306         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13307         Ignore `dired-call-process'.
13308         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13310 2009-10-26  Julian Scheid  <julians37@gmail.com>
13312         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13313         (tramp-get-remote-readlink): New defun.
13314         (tramp-handle-file-truename): Use it.
13315         (tramp-handle-file-exists-p): Check file-attributes cache, assume
13316         file exists if cache value present.
13317         (tramp-check-cached-permissions): New defun.
13318         (tramp-handle-file-readable-p): Use it.
13319         (tramp-handle-file-writable-p): Likewise.
13320         (tramp-handle-file-executable-p): Likewise.
13321         (tramp-handle-file-name-all-completions): Try using Perl to get
13322         partial completions.  When perl not available, combine `cd' and
13323         `ls' into single remote operation and use shell expansion to get
13324         partial remote directory contents.  Set `file-exists-p' cache for
13325         directory and any files returned by ls.  Change cache handling to
13326         support partial directory contents.  Use error message emitted by
13327         remote `cd' or Perl code for local tramp-error.
13328         (tramp-do-copy-or-rename-file-directly): Avoid separate
13329         tramp-send-command-and-check call.
13330         (tramp-handle-process-file): Merge three remote ops into one.
13331         Do not flush all caches when `process-file-side-effects' is set.
13332         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13333         file-attributes shows uid/gid to be set already.
13335 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
13337         * textmodes/tex-mode.el (tex-dvi-view-command)
13338         (tex-show-queue-command, tex-open-quote):
13339         * progmodes/ruby-mode.el (auto-mode-alist)
13340         (interpreter-mode-alist): Purecopy strings.
13342         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
13344         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
13345         string for the hook, keymap and abbrev table.
13347         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
13349         * x-dnd.el (x-dnd-xdnd-to-action):
13350         * startup.el (fancy-startup-text, fancy-about-text): Change to
13351         defconst from defvar.
13353         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
13355         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
13356         Purecopy initialization strings.
13358         * mail/sendmail.el (mail-header-separator)
13359         (mail-personal-alias-file):
13360         * mail/rmail.el (rmail-default-dont-reply-to-names)
13361         (rmail-ignored-headers, rmail-retry-ignored-headers)
13362         (rmail-highlighted-headers, rmail-secondary-file-directory)
13363         (rmail-secondary-file-regexp):
13364         * files.el (null-device, file-name-invalid-regexp)
13365         (locate-dominating-stop-dir-regexp)
13366         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
13367         (interpreter-mode-alist): Use mapcar instead of mapc.
13369         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
13371         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
13372         (completion-ignored-extensions):
13373         (debug-ignored-errors): Purecopy strings.
13375 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13377         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
13378         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
13379         (pcomplete--here): Use push.
13381         * subr.el (all-completions): Declare the 4th arg obsolete.
13383 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13385         * pcomplete.el (pcomplete-unquote-argument-function): New var.
13386         (pcomplete-unquote-argument): New function.
13387         (pcomplete--common-suffix): Always pay attention to case.
13388         (pcomplete--table-subvert): Quote and unquote the text.
13389         (pcomplete--common-quoted-suffix): New function.
13390         (pcomplete-std-complete): Use it and pcomplete-begin.
13392         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
13393         we're inside a dedicated or minibuffer window.
13395 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
13397         * bookmark.el: Update documentation, especially documentation
13398         of `bookmark-alist' and of the bookmark file format.
13399         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
13401 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
13403         * mail/emacsbug.el (report-emacs-bug): Clarify that the
13404         keybindings apply to the mail buffer (Bug#4003).  Shrink help
13405         window to buffer.
13407         * whitespace.el (whitespace-mode, whitespace-newline-mode)
13408         (global-whitespace-mode, global-whitespace-newline-mode)
13409         (whitespace-toggle-options, global-whitespace-toggle-options):
13410         Doc fix (Bug#3660).
13412         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
13413         of xmltok-start before the end tag was inserted (Bug#2840).
13415         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13416         patterns that are preceded by an open-paren (Bug#1320).
13418 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
13420         * files.el (delete-directory): Delete symlinks to directories with
13421         delete-file (Bug#4739).
13423 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
13425         * vc.el (vc-backend-for-registration): Rename from
13426         vc-get-backend-for-registration.  Update callers.
13428         * international/mule-cmds.el (set-language-info-alist):
13429         Purecopy lang-env.
13430         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
13431         (charset): Purecopy the name.
13432         (define-char-code-property): Purecopy string arguments.
13434         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13435         Purecopy string arguments.
13437         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13438         * ediff-hook.el (menu-bar-ediff-menu):
13439         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
13440         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
13442 2009-10-24  Glenn Morris  <rgm@gnu.org>
13444         * comint.el (comint-dynamic-list-completions):
13445         * term.el (term-dynamic-list-completions): Use choose-completion rather
13446         than obsolete alias mouse-choose-completion.
13448         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
13449         file-cache-choose-completion.
13450         (file-cache-choose-completion): Handle an optional event argument.
13451         (file-cache-mouse-choose-completion): Make it an obsolete alias.
13453         * progmodes/octave-mod.el (octave-complete-symbol):
13454         Use choose-completion if mouse-choose-completion is ever removed.
13456         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
13457         use.
13459         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
13460         compiler.
13462         * vc-hooks.el (vc-responsible-backend): Fix declaration.
13464 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13466         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
13467         Ignore `pred' now that we receive one.
13468         Handle test-completion specially.
13470 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
13472         * vc.el (vc-responsible-backend): Throw an error if not backend is
13473         found.  Remove the REGISTER argument.  Move the code dealing with
13474         REGISTER ...
13475         (vc-get-backend-for-registration): ... here.  New function.
13476         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
13477         of vc-responsible-backend, pass the file name instead of the
13478         directory name.
13480 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13482         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
13483         New funs.
13484         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
13485         (pcomplete-comint-setup): Don't modify a global var via
13486         accidental side-effects.
13487         (pcomplete-shell-setup): Adjust call accordingly.
13488         (pcomplete-parse-comint-arguments): Use push.
13490 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
13492         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13493         Allow uncapitalized info node names (Bug#3921).
13495         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
13496         to the DEBUG file (Bug#3781).
13498 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
13500         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
13501         dictionary entry (Bug#4579).
13503 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
13505         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
13506         from `rfn-eshadow-update-overlay-hook' when unloading.
13507         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
13508         "rsyncc".  Adjust doc string.
13509         (tramp-temp-buffer-file-name): New buffer-local defvar.
13510         (tramp-handle-insert-file-contents, tramp-handle-write-region):
13511         Keep temporary file when indicated by method ("rsync" and
13512         "rsyncc").
13513         (tramp-handle-write-region): Handle APPEND.
13514         (tramp-delete-temp-file-function): New defun.  Added to
13515         `kill-buffer-hook'.
13517 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
13519         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
13521 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
13523         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
13524         (color-name-rgb-alist, tty-standard-colors)
13525         (tty-color-mode-alist): Change to defconst.
13527         * simple.el (mark-inactive): Purecopy message.
13529         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
13530         (global-map, yank-menu):
13531         * textmodes/ispell.el (ispell-menu-map):
13532         * net/eudc.el (eudc-tools-menu):
13533         * international/mule-cmds.el (describe-language-environment-map)
13534         (setup-language-environment-map, set-coding-system-map)
13535         (mule-menu-keymap):
13536         * vc-hooks.el (vc-menu-entry, vc-menu-map):
13537         * replace.el (occur-mode-map):
13538         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
13540 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
13542         * calc/calc.el (math-read-number, math-read-number-simple): Use
13543         `save-match-data'.
13545 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13547         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
13548         rather than fiddling with global-map bindings, since it should only
13549         affect per-terminal settings.
13550         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
13552         * minibuffer.el (completion-table-with-terminator): Allow to specify
13553         the terminator-regexp.
13555         * simple.el (switch-to-completions): Look for *Completions* in other
13556         frames as well.
13558         * pcomplete.el: Allow the use of completion-tables.
13559         (pcomplete-std-complete): New command.
13560         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
13561         (pcomplete--here): Use a function for `form' rather than an expression,
13562         so it can be byte-compiled.
13563         (pcomplete-here, pcomplete-here*): Adjust accordingly.
13564         Add edebug declaration.
13565         (pcomplete-show-completions): Remove unused var `curbuf'.
13566         (pcomplete-do-complete, pcomplete-stub):
13567         Don't assume `completions' is a list of strings any more.
13569 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
13571         * find-dired.el (find-name-arg): Fix typo in docstring.
13573 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13575         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
13576         (pcmpl-linux-fs-types): Same, and update to new modules layout.
13578         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
13579         pcomplete-entries.
13581         * comint.el (comint-read-input-ring, comint-write-input-ring)
13582         (comint-substitute-in-file-name)
13583         (comint-dynamic-complete-as-filename)
13584         (comint-dynamic-simple-complete)
13585         (comint-dynamic-list-filename-completions)
13586         (comint-dynamic-list-completions)
13587         (comint-redirect-results-list-from-process): Minor simplifications.
13589 2009-10-21  Kevin Ryde  <user42@zip.com.au>
13591         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
13592         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
13593         the first form.  And insert a blank line after ";;; Code" since
13594         that's usual style.  (Bug#4612)
13596         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
13598 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13600         * minibuffer.el (completion-table-with-terminator): Properly implement
13601         boundaries, in case `terminator' appears in the suffix.
13602         (completion--embedded-envvar-table): Don't return boundaries if
13603         there's no valid completion.  Simplify.
13604         (completion-file-name-table): New completion table extracted from
13605         completion--file-name-table.
13606         (completion--file-name-table): Use it.
13607         (read-file-name-predicate): Declare obsolete.
13608         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
13609         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
13610         completion-file-name-table, and use the `pred' argument.
13611         * files.el (locate-file-completion-table): Use the `pred' arg rather
13612         than read-file-name-predicate.
13613         (abbreviate-file-name): Use \` rather than ^ for BOS.
13615 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
13617         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
13618         vc-responsible-backend to register, it causes problems.
13620 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13622         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
13624 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
13626         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
13627         (tramp-smb-handle-file-attributes): Use it.
13628         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
13629         (tramp-smb-handle-insert-directory): Use `mapc' rather than
13630         `mapcar'.  Use `tramp-smb-get-stat-capability'.
13631         Add `dired-filename' text properties.
13632         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
13633         (tramp-smb-maybe-open-connection): Simplify check for smbclient
13634         version.
13636 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13638         * subr.el (read-key-delay): Reduce to 0.01.
13639         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
13640         (bug#4751).
13642 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13644         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
13646         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
13647         (Info-menu): Remove unused vars `last' and `completions'.
13648         (Info-index-nodes): Remove unused var `node'.
13650         * info.el (Info-complete-menu-item): Use complete-with-action.
13652 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
13654         Make vc-annotate work through copies and renames.
13655         * vc-annotate.el (vc-annotate-extract-revision-at-line):
13656         Return the file name too.
13657         (vc-annotate-revision-at-line)
13658         (vc-annotate-find-revision-at-line)
13659         (vc-annotate-revision-previous-to-line)
13660         (vc-annotate-show-log-revision-at-line): Update to get the file
13661         name from vc-annotate-extract-revision-at-line.
13662         (vc-annotate-show-diff-revision-at-line-internal): Change the
13663         argument to mean whether to show a file diff or not.  Get the file
13664         name from vc-annotate-extract-revision-at-line.
13665         (vc-annotate-show-diff-revision-at-line):
13666         Update vc-annotate-show-diff-revision-at-line call.
13667         (vc-annotate-warp-revision): Add an optional file argument.
13669         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
13670         (vc-git-annotate-extract-revision-at-line): Also return the file
13671         name if found.
13673         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
13674         command.  Remove unused code.
13675         (vc-hg-annotate-re): Update to match --follow output.
13676         (vc-hg-annotate-extract-revision-at-line): Also return the file
13677         name if found.
13679         * vc.el: Update annotate-extract-revision-at-line documentation.
13681 2009-10-18  Kevin Ryde  <user42@zip.com.au>
13683         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
13684         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
13686         * net/browse-url.el (browse-url): Identify alist with "consp and
13687         not functionp" and let all other things go down the `apply' leg,
13688         as suggested by Stefan.  (Further to bug#4531.)
13690 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
13692         * minibuffer.el (read-file-name): Check for repeat before putting
13693         a default argument in file-name-history (Bug#4657).
13695         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
13696         read syntax (Bug#4737).
13698         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
13700 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
13702         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
13703         (html-tag-alist, html-tag-help): Add descriptions for undocumented
13704         entries and make note of obsolete tags.
13706 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13708         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
13710 2009-10-18  Glenn Morris  <rgm@gnu.org>
13712         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
13713         grep, so that binary files (eg international/uni-bidi.el) can match.
13714         Remove test for "UnicodeData" files, since it is hopefully unnecessary
13715         now, and in any case the file header format has changed.
13717 2009-10-17  Glenn Morris  <rgm@gnu.org>
13719         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
13720         (flyspell-get-word, flyspell-large-region)
13721         (flyspell-auto-correct-previous-word): Doc/error message fixes.
13723 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
13725         * Makefile.in (ELCFILES): Add ede/shell.
13727 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
13729         * term/common-win.el (x-colors): Purecopy it.
13731 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13733         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
13734         permissive for when the buffer is empty.
13735         (tar-header-block-tokenize): Decode the username and groupname.
13736         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
13738 2009-10-17  Eric Ludlam  <zappo@gnu.org>
13740         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
13741         contains multibyte characters, choose first applicable coding
13742         system automatically.
13744 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13746         * international/mule-cmds.el (select-safe-coding-system): If the file
13747         has a coding cookie, use it regardless of any other setting (bug#4712).
13749 2009-10-17  Glenn Morris  <rgm@gnu.org>
13751         * foldout.el (foldout-mouse-swallow-events):
13752         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
13754         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
13755         (dired-keep-marker-copy, dired-keep-marker-hardlink)
13756         (dired-keep-marker-symlink, dired-dwim-target)
13757         (dired-copy-preserve-time): Do not autoload these defcustoms.
13759         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
13760         messages from messing up the file coding.  (Bug#4623)
13762 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
13764         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
13765         if no match is found for the current dictionary.  (Bug#4578)
13767         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
13768         optional, since that is how it is documented, and this is often called
13769         with a nil argument.  (Bug#4577)
13770         (flyspell-external-point-words, flyspell-auto-correct-word)
13771         (flyspell-correct-word-before-point, flyspell-word-search-forward)
13772         (flyspell-word-search-backward): Remove nil argument in calls to
13773         flyspell-get-word, since it is not needed now.
13775 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
13777         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
13779 2009-10-16  Glenn Morris  <rgm@gnu.org>
13781         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
13783 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
13785         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
13786         (ange-ftp-file-size): New function.
13787         (ange-ftp-file-attributes): Use it.
13789 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
13791         * net/tramp-smb.el (tramp-smb-version): New defvar.
13792         (tramp-smb-maybe-open-connection): Use it, in order to avoid
13793         repeated checks.
13795 2009-10-16  Glenn Morris  <rgm@gnu.org>
13797         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
13798         Maybe copy some custom properties from old to new name.  (Bug#4706)
13800 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
13802         * subr.el (error, sit-for, start-process-shell-command)
13803         (start-file-process-shell-command): Set the calling convention
13804         after the function definition.
13806 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13808         * subr.el (error, sit-for, start-process-shell-command)
13809         (start-file-process-shell-command): Use the new
13810         set-advertised-calling-convention feature.
13812 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
13814         * international/ucs-normalize.el (ucs-normalize-version):
13815         Change to 1.2.
13816         (check-range): Adjust for Unicode 5.2.
13818 2009-10-15  Juri Linkov  <juri@jurta.org>
13820         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
13821         to the `menu-item' format.
13823 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
13825         * net/tramp.el (tramp-replace-environment-variables): Do not fail
13826         if the environment variable does not exist.
13828         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13829         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
13830         parameter.
13831         (tramp-smb-handle-add-name-to-file)
13832         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13833         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13834         (tramp-smb-handle-file-attributes)
13835         (tramp-smb-do-file-attributes-with-stat)
13836         (tramp-smb-handle-file-local-copy)
13837         (tramp-smb-handle-insert-directory)
13838         (tramp-smb-handle-make-directory)
13839         (tramp-smb-handle-make-directory-internal)
13840         (tramp-smb-handle-make-symbolic-link)
13841         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
13842         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
13843         (tramp-smb-maybe-open-connection): Apply the changed parameters.
13844         (tramp-smb-read-file-entry): Read Disk names in compressed format.
13845         Handle long file names.
13846         (tramp-smb-get-cifs-capabilities): Check, whether the connection
13847         process is running.
13848         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
13849         Read share names with "-g" option.
13851 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
13853         * net/rcirc.el (rcirc-view-log-file): New command.
13854         (rcirc-track-minor-mode-map): Remove C-c ` binding.
13855         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
13856         specified.
13858 2009-10-15  Glenn Morris  <rgm@gnu.org>
13860         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
13861         from the second command-line argument.
13862         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
13863         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
13864         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
13865         w32-batch-update-autoloads.
13866         * emacs-lisp/autoload.el (autoload-make-program): New variable.
13867         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
13869         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
13870         the headers cannot be located.  Simplify, subtracting superflous
13871         save-excursions.
13873 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13875         Replace completion-base-size by completion-base-position to fix bugs
13876         such as (bug#4699).
13877         * simple.el (completion-base-position): New var.
13878         (completion-base-size): Mark as obsolete.
13879         (choose-completion): Make it work for mouse events as well.
13880         Pass the new base-position to choose-completion-string.
13881         (choose-completion-guess-base-position): New function, extracted from
13882         choose-completion-delete-max-match.
13883         (choose-completion-delete-max-match): Use it.  Make obsolete.
13884         (choose-completion-string): Use the new base-position info.
13885         (completion-root-regexp): Delete.
13886         (completion-setup-function): Preserve completion-base-position.
13887         Eliminate obsolete base-size manipulation.
13888         * minibuffer.el (display-completion-list): Don't mess with base-size.
13889         (minibuffer-completion-help): Set completion-base-position instead.
13890         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
13891         choose-completion.
13892         * textmodes/bibtex.el (bibtex-complete):
13893         * emacs-lisp/crm.el (crm--choose-completion-string):
13894         Adjust to new calling convention.
13895         * complete.el (partial-completion-mode): Use minibufferp to avoid
13896         bumping into incompatible change to choose-completion-string-functions.
13897         * ido.el (ido-choose-completion-string): Make its calling convention
13898         more permissive.
13899         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
13900         base-size manipulation.
13901         (comint-dynamic-list-input-ring): Use dotimes and push.
13902         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
13903         fundamental-mode.  Use `or'.
13905 2009-10-14  Juri Linkov  <juri@jurta.org>
13907         * misearch.el (multi-isearch-next-buffer-from-list)
13908         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
13910 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13912         * Makefile.in (compile-onefile): Load `bytecomp' rather than
13913         `bytecomp.el'.
13915         * minibuffer.el (completion-pcm--merge-completions): Make sure the
13916         string we return is all made up of text from the completions rather
13917         than part from the completions and part from the input (bug#4219).
13919         * ido.el (ido-everywhere): Use define-minor-mode.
13921         * buff-menu.el (list-buffers, ctl-x-map):
13922         Mark the entry points with ;;;###autoload cookies.
13924 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
13926         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
13927         correctly in the detached head case.
13928         (vc-git-print-log): Remove unused binding.
13930         * vc.el (vc-responsible-backend): When a directory is passed for
13931         for registration create a VC repository if no backend is
13932         responsible for the directory argument.
13933         (vc-deduce-fileset): Tell vc-responsible-backend to register.
13935         * vc.el: Move comments about RCS and SCCS ...
13936         * vc-rcs.el:
13937         * vc-sccs.el: ... here, respectively.
13939 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13941         * minibuffer.el (completion--file-name-table): Return nil if there's
13942         no file completion, even if substitute-in-file-name changed
13943         the string (bug#4708).
13945 2009-10-13  Juri Linkov  <juri@jurta.org>
13947         * files-x.el (read-file-local-variable-value): Don't filter out
13948         minor modes from mode name completion (bug#4664).
13950 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
13952         * international/mule-cmds.el (ucs-names): Remove exclusion of
13953         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
13955 2009-10-13  Kenichi Handa  <handa@m17n.org>
13957         * international/uni-name.el: Regenerated.
13959 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
13961         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
13962         should be automatically buffer-local, but isn't.)
13964 2009-10-12  Sam Steingold  <sds@gnu.org>
13966         * progmodes/compile.el (compilation-next-error-function): Fix the
13967         timestamps if the buffer has been visited before.
13968         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
13969         non-anchored patterns, like the perl one (bug#3928).
13971 2009-10-12  Glenn Morris  <rgm@gnu.org>
13973         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
13974         Let-bind `size'.
13976 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
13978         * proced.el (proced-unload-function): New function.
13980         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
13981         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
13982         Doc fix.
13984         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
13986 2009-10-11  Juri Linkov  <juri@jurta.org>
13988         * files-x.el (read-file-local-variable-value):
13989         Provide default value only for bound variables (bug#4664).
13991 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
13993         * net/tramp.el (tramp-local-host-p): Function shall return nil for
13994         connection methods like smb.
13996         * net/tramp-cache.el (tramp-flush-connection-property): The hash
13997         can be empty.
13999         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14000         (tramp-smb-file-name-handler-alist): Add handlers for
14001         `add-name-to-file', `make-symbolic-link'.
14002         (tramp-smb-handle-add-name-to-file)
14003         (tramp-smb-do-file-attributes-with-stat)
14004         (tramp-smb-handle-make-symbolic-link)
14005         (tramp-smb-get-cifs-capabilities): New defuns.
14006         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14007         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14008         (tramp-smb-handle-file-local-copy)
14009         (tramp-smb-handle-make-directory-internal)
14010         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14011         The file name syntax depends on cifs capabilities.
14012         (tramp-smb-handle-file-attributes):
14013         Call `tramp-smb-do-file-attributes-with-stat' if possible.
14014         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14015         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14017 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
14019         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14020         (eieio-defclass): Apply deftype handler and setf-method properties
14021         directly.
14022         (eieio-add-new-slot): Avoid union function from cl library.
14023         (eieio--typep): New function.
14024         (eieio-perform-slot-validation): Use it.
14026 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
14028         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
14029         Update documentation to refer to the variables documented in r1.135.
14030         (Bug#4188)
14032 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
14034         * bookmark.el (Info-suffix-list): Remove this unused variable.
14035         (bookmark-current-point): Remove this obsolete variable.
14036         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14037         Adjust for removal of bookmark-current-point.
14039         (bookmarks-already-loaded, bookmark-current-buffer)
14040         (bookmark-yank-point): Document.  (Bug#4188)
14042 2009-10-10  Glenn Morris  <rgm@gnu.org>
14044         * frame.el (frame-height): Doc fix.
14046         * calendar/calendar.el (calendar-split-width-threshold): New option.
14047         (calendar-basic-setup): Use calendar-split-width-threshold.
14049 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
14051         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14052         Ideographic Supplement" range (U+1F200..U+1F2FF).
14054 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
14056         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
14057         since the list will have been rebuilt anyway.  (Bug#4349)
14059 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
14061         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
14062         (bookmark-bmenu-execute-deletions): Don't save here, as
14063         bookmark-delete will now do so if necessary.
14064         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
14065         (Bug#4348)
14067 2009-10-09  Glenn Morris  <rgm@gnu.org>
14069         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14071 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
14073         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14074         (bookmark-jump-other-window): Just invoke bookmark-jump with new
14075         argument now, so the two function's behaviors will match.  (Bug#3645)
14077 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
14079         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
14080         (tramp-file-name-real-host, tramp-file-name-port):
14081         Apply `save-match-data'.
14083         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14084         case both directories are remote.
14085         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
14086         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
14088 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
14090         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14092 2009-10-07  Glenn Morris  <rgm@gnu.org>
14094         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14095         of concat.
14097 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14099         * files-x.el (read-file-local-variable): Include some
14100         non-user-variables in the completion table (bug#4664).
14102 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
14104         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14105         message.
14107         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14108         (tramp-smb-file-name-handler-alist): Add handler for
14109         `copy-directory', `expand-file-name', `set-file-modes'.
14110         (tramp-smb-handle-copy-directory)
14111         (tramp-smb-handle-expand-file-name)
14112         (tramp-smb-handle-set-file-modes): New defuns.
14113         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14114         (tramp-smb-handle-file-attributes): Simplify check for retrieving
14115         entry.
14116         (tramp-smb-handle-insert-directory): Don't flush the cache.
14117         (tramp-smb-maybe-open-connection): Check for samba client and
14118         server versions.
14120 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
14122         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14123         to not error out of search for "^lisp=" fails.
14125 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
14127         * makefile.w32-in (WINS_UPDATES): New macro.
14128         (custom-deps, finder-data, autoloads): Use it.
14130 2009-10-07  Glenn Morris  <rgm@gnu.org>
14132         * Makefile.in (autoloads): Revert previous change.
14133         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14134         the list of preloaded files passed on the command-line, get
14135         it from src/Makefile.
14137         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14138         show the original buffer rather than a random one.
14140 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
14142         * help.el (describe-no-warranty): Place point in a slightly better
14143         position in the GPLv3 text.
14145 2009-10-06  Sam Steingold  <sds@gnu.org>
14147         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14148         the comm attribute is present before calling regexp-quote.
14150 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
14152         * play/animate.el (animate-string): For good effect, make sure
14153         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14155         * play/animate.el (animate-sequence, animate-birthday-present):
14156         * misc.el (butterfly): Don't set `indent-tabs-mode'.
14158 2009-10-06  Glenn Morris  <rgm@gnu.org>
14160         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14162         * emacs-lisp/autoload.el (autoload-excludes): New variable.
14163         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14164         (batch-update-autoloads): Process a string value of autoload-excludes,
14165         set during the build process.
14166         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
14168         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14169         inside with-parsed...  macro so that `v' is defined.
14171         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14172         * progmodes/fortran.el (fortran-end-of-block)
14173         (fortran-beginning-of-block):
14174         Also push mark in the macro case.
14176         * emerge.el (emerge-show-file-name):
14177         * calc/calc.el (calc-quit):
14178         * calc/calc-misc.el (calc-big-or-small):
14179         * calc/calc-graph.el (calc-graph-view):
14180         * calc/calc-ext.el (calc-reset):
14181         * calendar/calendar.el (calendar-basic-setup):
14182         Use window-full-height-p.
14184         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14185         header we don't understand, don't insert another.  (Bug#4624)
14186         If changing mime charset, insert the new one in the right place.
14188 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
14190         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14191         (cal-tex-cursor-month): Correctly increment the end date for diary and
14192         holiday listing.  (Bug#4626)
14194 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14196         * help-fns.el (describe-function-1): Don't burp if the function is not
14197         a symbol.
14199 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
14201         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14202         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14203         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14204         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14206         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14207         (eieio-default-superclass): Reflow docstrings.
14208         (this, class-option-assoc, defclass, eieio-class-un-autoload)
14209         (eieio-unbind-method-implementations, defmethod)
14210         (eieio-validate-slot-value, eieio-validate-class-slot-value)
14211         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14212         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14213         (eieio-slot-originating-class-p, eieio-slot-name-index)
14214         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14215         (constructor, initialize-instance, no-next-method, object-print)
14216         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14217         Fix typos in docstrings.
14218         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14219         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14220         (next-method-p): Doc fixes.
14221         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14222         Fix typos in error messages.
14223         (eieio-defmethod): Fix typo in description of generic method.
14225         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14226         (eieio-persistent-save-interactive, slot-missing):
14227         Fix typos in docstrings.
14228         (eieio-instance-inheritor-slot-boundp): Doc fix.
14230         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14231         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14233         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14234         (eieio-custom-object-apply-reset):
14235         Fix typos in docstrings and error messages.
14237         * emacs-lisp/eieio-datadebug.el (data-debug-show):
14238         Fix typo in docstring.
14240         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14241         (eieio-browse-tree): Doc fix.
14242         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14243         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14244         Fix typos in docstrings.
14246         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14247         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14248         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14249         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14250         Reflow docstrings.
14252 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
14254         * vc-hg.el (log-view-vc-backend): Declare for compiler.
14255         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14256         Set log-view-vc-backend so that diff can work.
14258         * log-view.el (log-view-diff): Use vc-diff-internal instead of
14259         vc-version-diff.
14260         (vc-diff-internal): Autoload this instead of vc-version-diff.
14262 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
14264         * simple.el (eval-expression): Doc fix.
14266         * progmodes/cwarn.el (cwarn-mode): Doc fix.
14268 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
14270         * files.el (directory-files-no-dot-files-regexp): New defconst.
14271         (delete-directory): Use it.
14272         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
14274         * net/tramp.el (tramp-verbose): Fix docstring.
14275         (tramp-methods): Add recursive option to `tramp-copy-args'.
14276         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
14277         "scp1_old", "scp2_old", "rsync", "rsyncc".
14278         (tramp-default-method): Check also for `auth-source-user-or-password'.
14279         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14280         Add handler for `copy-directory'.
14281         (tramp-handle-copy-directory): New defun.
14282         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14283         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14284         Optimize sent command.
14286 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14288         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14289         window if necessary.
14291         * calendar/calendar.el (calendar-basic-setup): Don't call
14292         switch-to-buffer in a dedicated window.
14294 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
14296         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14297         don't do anything related to relocating, just return nil.
14298         (bookmark-error-no-filename): New error.
14299         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14300         bookmark has no file.  Don't even attempt to handle things that
14301         are not files; the whole point of custom handlers is to keep that
14302         knowledge elsewhere anyway.  Tighten some comments.
14303         (bookmark-file-or-variation-thereof): Remove now-unused function.
14304         (bookmark-location): Doc string fix.
14305         (Bug#4250)
14307 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14309         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14310         don't use a file dialog, because they usually don't know how to read
14311         a directory target from the user.  (Bug#4230)
14312         Also, make sure the prompt can display directories as well as files.
14314 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14316         * bookmark.el (bookmark-set, bookmark-buffer-name):
14317         Improve doc strings.  (Bug#1193)
14319 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14321         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14322         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14323         (bookmark-get-annotation, bookmark-set-annotation)
14324         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14325         (bookmark-set-position, bookmark-get-front-context-string)
14326         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14327         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14328         (bookmark-jump-other-window, bookmark-handle-bookmark)
14329         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14330         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14331         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
14332         Improve doc strings to say whether bookmark can be a string or
14333         a record or both, and make other consistency and clarity fixes.
14334         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14335         (bookmark-default-annotation-text, bookmark-yank-word)
14336         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14337         (bookmark-import-new-list, bookmark-maybe-rename)
14338         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14339         (bookmark-bmenu-bookmark): Give these doc strings.
14340         (bookmark-bmenu-check-position): Give this a doc string, but also
14341         add a FIXME comment about how the function may be pointless.
14342         (bookmark-default-handler): Rework doc string and change a
14343         parameter name, to clarify that this takes a bookmark record
14344         not a bookmark name.
14345         (bookmark-set): Change a parameter name to indicate its meaning,
14346         and improve the doc string a bit.
14347         (Bug#4188)
14349 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14351         * bookmark.el (bookmark-alist): Document the new `handler' element
14352         in the param alist.
14353         (bookmark-make-record-function): Adjust documentation for above.
14354         (Bug#4193)
14356 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14358         * info.el (Info-bookmark-make-record): Document this function.
14359         (Info-bookmark-jump): Document with a doc string, not just a comment.
14360         (Bug#4203)
14362 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
14364         * files.el (copy-directory): New defun.
14366         * dired-aux.el (dired-copy-file-recursive): Use it.
14368 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
14370         * files-x.el (modify-dir-local-variable)
14371         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
14372         docstrings.
14374         * recentf.el (recentf-unload-function): New function.
14376 2009-10-04  Glenn Morris  <rgm@gnu.org>
14378         * window.el (window-full-height-p): Add doc string.
14380 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
14382         * window.el (window-full-height-p): New function.  (Bug#4543)
14384 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
14386         * vc.el: Remove commented out code.
14387         (vc-derived-from-dir-mode): Remove, unused.
14388         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
14390 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
14392         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
14393         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
14394         there could be recursive loading when `default-directory' is a
14395         remote file name.  (Bug#4614)
14397 2009-10-03  Glenn Morris  <rgm@gnu.org>
14399         * calendar/calendar.el (calendar-basic-setup): Handle the case where
14400         the frame is wide.
14401         (calendar-generate-window): Test for shrinkability rather than width.
14403         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
14404         reusing existing buffers, in case we happen to visit two files with the
14405         same basename.  (Bug#4593)
14407 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
14409         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
14410         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
14411         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
14412         subdirs of cedet as well.
14413         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
14415 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14417         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
14418         Obey advertised-signature-table.
14420         * help-fns.el (help-function-arglist): Don't check
14421         advertised-signature-table.
14422         (describe-function-1): Do it here instead so it also applies to subrs.
14424 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
14426         * simple.el (start-file-process): Say in the doc-string, that file
14427         handlers might not support pty association, if PROGRAM is nil.
14429         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
14430         HOST and USER are strings.  They are nil, when there are
14431         incomplete entries in ~/.netrc, for example.
14432         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
14433         root directory ("device busy" error otherwise).
14435         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
14436         Flush file properties of created directory.
14438 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
14440         * makefile.w32-in (WINS_BASIC): Remove cedet.
14441         (WINS_CEDET): Add cedet.
14442         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
14444 2009-10-02  Kevin Ryde  <user42@zip.com.au>
14446         * net/browse-url.el (browse-url): Pass any symbol in
14447         browse-url-browser-function to `apply', since if you've mistakenly put
14448         an unbound symbol then the error is clearer.  (Bug#4531)
14450 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
14452         * allout.el (allout-init, allout-back-to-current-heading)
14453         (allout-beginning-of-current-entry, allout-ascend-to-depth)
14454         (allout-ascend, allout-up-current-level, allout-end-of-level)
14455         (allout-previous-visible-heading, allout-forward-current-level)
14456         (allout-backward-current-level, allout-show-children):
14457         * apropos.el (apropos-describe-plist):
14458         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
14459         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
14460         * completion.el (add-completion, add-permanent-completion):
14461         * descr-text.el (describe-text-category, describe-char):
14462         * desktop.el (desktop-lazy-abort):
14463         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
14464         * dired.el (dired-build-subdir-alist):
14465         * ediff.el (ediff-version):
14466         * elide-head.el (elide-head, elide-head-show):
14467         * emerge.el (emerge-version):
14468         * env.el (getenv):
14469         * face-remap.el (variable-pitch-mode):
14470         * faces.el (describe-face):
14471         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
14472         (dired-at-point):
14473         * files.el (find-file-existing, auto-save-mode):
14474         * font-lock.el (font-lock-fontify-buffer):
14475         * help-fns.el (describe-function, describe-variable)
14476         (describe-syntax, describe-categories):
14477         * help.el (view-lossage, describe-bindings, describe-key)
14478         (describe-mode):
14479         * hexl.el (hexl-current-address):
14480         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
14481         * info.el (Info-goto-emacs-key-command-node):
14482         * log-edit.el (log-edit-insert-cvs-template)
14483         (log-edit-insert-cvs-rcstemplate):
14484         * menu-bar.el (menu-bar-mode):
14485         * mouse.el (mouse-appearance-menu):
14486         * newcomment.el (comment-indent-new-line):
14487         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
14488         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
14489         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
14490         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
14491         * recentf.el (recentf-mode):
14492         * savehist.el (savehist-mode, savehist-save):
14493         * shadowfile.el (shadow-copy-files):
14494         * simple.el (kill-ring-save, next-line, previous-line)
14495         (normal-erase-is-backspace-mode):
14496         * strokes.el (strokes-update-window-configuration)
14497         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
14498         (strokes-xpm-for-stroke):
14499         * time.el (emacs-uptime, emacs-init-time):
14500         * tutorial.el (tutorial--describe-nonstandard-key)
14501         (tutorial--detailed-help):
14502         * type-break.el (type-break-mode)
14503         (type-break-mode-line-message-mode, type-break-query-mode)
14504         (type-break-guesstimate-keystroke-threshold):
14505         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
14506         * version.el (emacs-version):
14507         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
14508         * winner.el (winner-mode):
14509         * calendar/timeclock.el (timeclock-in, timeclock-out)
14510         (timeclock-status-string, timeclock-change)
14511         (timeclock-workday-remaining-string)
14512         (timeclock-workday-elapsed-string)
14513         (timeclock-when-to-leave-string):
14514         * calendar/todo-mode.el (todo-add-category):
14515         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
14516         * emacs-lisp/autoload.el (update-file-autoloads):
14517         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
14518         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
14519         (checkdoc-message-text, checkdoc-defun):
14520         * emacs-lisp/debug.el (debugger-list-functions):
14521         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14522         * emacs-lisp/eieio-opt.el (eieio-describe-class)
14523         (eieio-describe-generic):
14524         * emacs-lisp/lisp-mnt.el (lm-synopsis):
14525         * emacs-lisp/shadow.el (list-load-path-shadows):
14526         * emulation/cua-base.el (cua-mode):
14527         * emulation/edt.el (edt-set-scroll-margins):
14528         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
14529         (tpu-toggle-regexp, tpu-toggle-search-direction)
14530         (tpu-toggle-rectangle, tpu-toggle-control-keys):
14531         * emulation/tpu-extras.el (tpu-set-scroll-margins):
14532         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14533         (viper-set-parsing-style-toggling-macro)
14534         (viper-set-emacs-state-searchstyle-macros):
14535         * emulation/viper.el (viper-set-hooks):
14536         * eshell/esh-mode.el (eshell-truncate-buffer):
14537         * international/mule-cmds.el (prefer-coding-system)
14538         (describe-input-method, describe-language-environment):
14539         * international/mule-diag.el (list-character-sets)
14540         (describe-character-set, describe-coding-system)
14541         (describe-fontset, list-fontsets, list-input-methods):
14542         * mail/sendmail.el (mail-signature):
14543         * net/ange-ftp.el (ange-ftp-copy-file):
14544         * net/browse-url.el (browse-url):
14545         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
14546         * net/quickurl.el (quickurl-add-url):
14547         * net/rcirc.el (names, topic):
14548         * net/xesam.el (xesam-mode):
14549         * play/5x5.el (5x5-new-game):
14550         * play/yow.el (apropos-zippy):
14551         * progmodes/ada-mode.el (ada-mode-version):
14552         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
14553         (f90-end-of-block)
14554         (f90-beginning-of-block):
14555         * progmodes/fortran.el (fortran-end-of-block)
14556         (fortran-beginning-of-block):
14557         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
14558         * progmodes/python.el (python-describe-symbol, python-shell):
14559         * term/ns-win.el (ns-print-buffer):
14560         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
14561         * textmodes/flyspell.el (flyspell-mode-on):
14562         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
14563         (pages-directory-for-addresses):
14564         * textmodes/table.el (table-recognize-cell)
14565         (table-query-dimension, table-generate-source)
14566         (table-insert-sequence, table--warn-incompatibility):
14567         * textmodes/tex-mode.el (tex-validate-buffer):
14568         * textmodes/texinfmt.el (texinfmt-version)
14569         (texinfo-format-buffer):
14570         Use `called-interactively-p' instead of `interactive-p'.
14572 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
14574         * image-mode.el (image-toggle-display):
14575         * emacs-lisp/elp.el (elp-instrument-function):
14576         * emacs-lisp/advice.el (ad-make-advised-definition):
14577         * emacs-lisp/easy-mmode.el (define-minor-mode):
14578         * net/browse-url.el (browse-url-maybe-new-window):
14579         * progmodes/sh-script.el (sh-learn-buffer-indent):
14580         Pass new argument 'any to `called-interactively-p'.
14582 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
14584         * international/uni-bidi.el:
14585         * international/uni-category.el:
14586         * international/uni-combining.el:
14587         * international/uni-comment.el:
14588         * international/uni-decimal.el:
14589         * international/uni-decomposition.el:
14590         * international/uni-digit.el:
14591         * international/uni-lowercase.el:
14592         * international/uni-mirrored.el:
14593         * international/uni-name.el:
14594         * international/uni-numeric.el:
14595         * international/uni-old-name.el:
14596         * international/uni-titlecase.el:
14597         * international/uni-uppercase.el:
14598         Regenerate from Unicode 5.2.0 data.
14600 2009-10-01  Glenn Morris  <rgm@gnu.org>
14602         * Makefile.in (ELCFILES): Regenerate.
14604 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14606         * subr.el (interactive-p): Mark obsolete.
14607         (called-interactively-p): Make the optional-ness of `kind' obsolete.
14608         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
14609         advertised-signature-table for subroutines as well.
14611         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
14612         (set-advertised-calling-convention): New function.
14613         (make-obsolete, define-obsolete-function-alias)
14614         (make-obsolete-variable, define-obsolete-variable-alias):
14615         Make the optional-ness of `when' obsolete.
14616         (define-obsolete-face-alias): Make `when' non-optional.
14617         * help-fns.el (help-function-arglist):
14618         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
14619         Use advertised-signature-table.
14621 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
14623         * files.el (delete-directory): New defun.  The original function
14624         in fileio.c has been renamed to `delete-directory-internal'.
14626         * dired.el (dired-delete-file): Call `delete-directory' with
14627         RECURSIVE parameter.
14629         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
14630         parameter RECURSIVE.  Implementation is missing.
14632         * net/tramp.el (tramp-handle-make-directory): Flush upper
14633         directory's file properties.
14634         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
14635         (tramp-handle-dired-recursive-delete-directory): Flush directory
14636         properties after the remove command only.
14638         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14639         Handle optional parameter RECURSIVE.
14641         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14642         Handle optional parameter RECURSIVE.
14644         * net/tramp-smb.el (tramp-smb-errors): Add error message for
14645         connection timeout.
14646         (tramp-smb-handle-delete-directory): Handle optional parameter
14647         RECURSIVE.
14649 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14651         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
14652         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
14653         (byte-compile-defmacro): Use backquotes.
14655         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
14657         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
14658         has no associated file.
14659         (vc-resynch-buffer): Use vc-dir-buffers.
14661 2009-10-01  Glenn Morris  <rgm@gnu.org>
14663         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
14664         (chart-file-count):
14665         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
14666         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
14667         * emacs-lisp/eieio-opt.el (eieio-describe-class):
14668         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
14669         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
14670         (eieio-copy-parents-into-subclass, make-instance, class-children)
14671         (eieio-generic-form):
14673         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
14674         match-data.  (Bug#4555).
14676         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
14677         rather than parsing it as a regexp.  This relaxes the layout
14678         requirements and makes errors easier to detect.
14679         (check-declare-verify): Check file is regular.
14680         (check-declare-directory): Doc fix.
14681         * subr.el (declare-function): Doc fix.
14683         * ibuffer.el (ibuffer-format-qualifier):
14684         * isearch.el (hi-lock-regexp-okay):
14685         * calc/calc.el (math-zerop):
14686         * mail/uce.el (rmail-msgbeg, rmail-msgend):
14687         * term/w32-win.el (setup-default-fontset, set-fontset-font):
14688         Remove unused declarations.
14690 2009-09-30  Eric Ludlam  <zappo@gnu.org>
14692         * emacs-lisp/eieio.el (boolean-p): Delete.
14694 2009-09-30  Glenn Morris  <rgm@gnu.org>
14696         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
14698         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
14699         filename is not a string.
14701 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
14703         * files.el (safe-local-eval-forms): Fix typo.
14705 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14707         * vc-hooks.el (vc-dir-buffers): New var.
14708         (vc-state-refresh): New function.
14709         (vc-state): Use it.
14710         (vc-after-save): Always ask the backend to recompute the new state.
14711         Always call vc-dir if necessary, using vc-dir-buffers.
14712         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
14713         Use vc-dir-buffers.
14714         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
14715         (vc-dir-prepare-status-buffer, vc-dir-update)
14716         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
14717         Don't call expand-file-name on default-directory.
14719 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
14721         * speedbar.el (speedbar-item-delete):
14722         * calc/calc-prog.el (calc-kbd-if):
14723         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
14725         * epa.el (epa-key-list-mode-map):
14726         * hi-lock.el (hi-lock-menu): Fix typos in menus.
14728         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
14729         (hs-show-hook): Fix typo in docstring.
14731 2009-09-29  Glenn Morris  <rgm@gnu.org>
14733         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
14734         file-name-nondirectory call preventing location of cedet files.
14735         (check-declare-verify): Use literal search rather than re-search.
14736         Add basic defmethod and defclass, and define-overloadable-function.
14738         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14739         Use tramp-compat-file-attributes rather than nonexistent
14740         tramp-compat-handle-file-attributes.
14742         * Makefile.in (lisptagsfiles4): New.
14743         (AUTOGENEL): Add cedet loaddefs files.
14744         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
14745         (update-elclist, compile-always, backup-compiled-files)
14746         (bootstrap-clean): Add yet another directory level.
14747         (update-elclist): Use LC_COLLATE rather than COLLATE.
14748         (ELCFILES): Update, via `make update-elclist'.
14750 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
14752         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
14753         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
14754         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
14756 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
14758         * Makefile.in (lisptagsfiles3): Define.
14759         (TAGS, TAGS-LISP): Use it.
14760         (update-elclist): Add third directory level to look for elc files.
14761         (compile-always): Likewise.
14762         (backup-compiled-files): Likewise.
14763         (bootstrap-clean): Likewise.
14764         (ELCFILES): Update.
14766 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
14768         * Makefile.in (ELCFILES): Add CEDET files.
14770 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
14772         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
14774         * net/tramp.el (top): Require tramp-imap.
14776         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14777         Use `tramp-compat-handle-file-attributes'.
14779 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
14781         * net/tramp-imap.el: New package.
14783 2009-09-28  Eric Ludlam  <zappo@gnu.org>
14785         * emacs-lisp/chart.el:
14786         * emacs-lisp/eieio-base.el:
14787         * emacs-lisp/eieio-comp.el:
14788         * emacs-lisp/eieio-custom.el:
14789         * emacs-lisp/eieio-datadebug.el:
14790         * emacs-lisp/eieio-opt.el:
14791         * emacs-lisp/eieio-speedbar.el:
14792         * emacs-lisp/eieio.el: New files.
14794 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14796         * whitespace.el (whitespace-trailing-regexp)
14797         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
14798         Fix doc string.
14800 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
14802         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
14803         menu.
14805         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
14806         menu-bar-ediff-menu.
14808         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
14809         define-overloadable-function.
14811         * progmodes/autoconf.el: Provide autoconf as well, so that this
14812         file can be `require'd.
14814         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
14816         * emacs-lisp/autoload.el (generated-autoload-feature)
14817         (generated-autoload-load-name): New vars.
14818         (autoload-rubric, autoload-generate-file-autoloads): Use them.
14819         (make-autoload): Recognize define-overloadable-function and
14820         defclass forms (for EIEIO).
14822         * Makefile.in (update-subdirs): Exclude cedet directory.
14824 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
14826         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
14828         * faces.el: Default light-background background for region face to
14829         ns_selection_color under NS.
14831 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
14833         * net/imap-hash.el: New library, see NEWS.
14835         * Makefile.in (ELCFILES): Add imap-hash.el.
14837 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14839         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
14840         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
14841         * help-macro.el (make-help-screen): Avoid using an ambiguous function
14842         definition where the docstring could be taken for the return value.
14844 2009-09-26  Glenn Morris  <rgm@gnu.org>
14846         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
14847         Add option to only show images below a certain size.
14848         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
14849         save-excursion calls.
14851 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
14853         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
14854         subdirectories) and eieio.
14856 2009-09-26  Alan Mackenzie  <acm@muc.de>
14858         * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
14859         buggy bracketing.  (Bug#4289)
14861         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
14862         character constants (as case labels).  (Bug#4289)
14864 2009-09-25  Juri Linkov  <juri@jurta.org>
14866         * files.el (safe-local-eval-forms): Allow time-stamp in
14867         before-save-hook (Bug#4554).
14869 2009-09-25  Drew Adams  <drew.adams@oracle.com>
14871         * menu-bar.el (list-buffers-directory): Doc fix.
14873 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14875         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
14876         Try and avoid copying twice the same paragraph.
14877         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
14878         Remove save-excursion.
14879         (log-edit-changelog-entry): Do it here instead.
14881 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
14883         * bs.el (bs--get-file-name): Use `list-buffers-directory'
14884         when available, instead of hardcoding mode names.  Doc fix.
14886         * menu-bar.el (list-buffers-directory): Add docstring.
14887         Make automatically buffer-local.
14889         * dired.el (dired-mode):
14890         * files.el (cd-absolute):
14891         * pcvs.el (cvs-temp-buffer):
14892         * pcvs-util.el (cvs-get-buffer-create):
14893         * shell.el (shell-mode):
14894         * vc-dir.el (vc-dir-mode):
14895         Don't make `list-buffers-directory' buffer local.
14897 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
14899         * comint.el (comint-exec, comint-run, make-comint):
14900         Doc fixes (Bug#4542).
14902 2009-09-25  Glenn Morris  <rgm@gnu.org>
14904         * mail/rmailmm.el (rmail-mime): New custom group.
14905         Move all defcustoms in this file into this group.
14906         (rmail-mime-media-type-handlers-alist): Revert previous change.
14907         (rmail-mime-show-images): New option.
14908         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
14909         references to it, since it wasn't actually used for anything.
14910         (rmail-mime-insert-image): New function.
14911         (rmail-mime-image): Use rmail-mime-insert-image.
14912         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
14913         obey the value of `rmail-mime-show-images' option.  Print the size of
14914         attachments.
14916 2009-09-25  David Engster  <deng@randomsample.de>
14918         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
14920 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14922         * whitespace.el: Does not highlight trailing spaces While point is
14923         at end of line.  Does not highligt spaces at beginning of buffer
14924         while point is at beginning of buffer.  Does not highlight spaces
14925         at end of buffer while point is at end of buffer.  (Bug#4177)
14926         New version 12.0.
14927         (whitespace-display-mappings): Adjust initialization.
14928         (whitespace-point, whitespace-font-lock-refontify): New vars.
14929         (whitespace-color-on, whitespace-color-off): Adjust code.
14930         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
14931         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
14932         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
14934 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
14936         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
14938         * textmodes/sgml-mode.el: Remove xml-mode alias.
14940         * files.el (auto-mode-alist, conf-mode-maybe)
14941         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
14943 2009-09-24  Alan Mackenzie  <acm@muc.de>
14945         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
14946         c-forward-conditionals, but it doesn't move point and doesn't set
14947         the mark.
14948         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
14949         (c-down-conditional-with-else, c-backward-conditional)
14950         (c-forward-conditional): Refactor to use c-scan-conditionals.
14952 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
14954         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
14955         (help-default-arg-highlight): Remove.
14956         (help-highlight-arg): New function.
14957         (help-do-arg-highlight): Use it.
14958         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
14960 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14962         * term.el (term-set-scroll-region, term-handle-ansi-escape):
14963         Undo last change, which didn't fix the problem and introduced others.
14965 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
14967         * progmodes/gdb-mi.el: Don't require speedbar.
14968         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
14970 2009-09-24  Glenn Morris  <rgm@gnu.org>
14972         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
14974         * term/ns-win.el (ns-reg-to-script): Define for compiler.
14976         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
14977         there is no newline after the final mime boundary.  (Bug#4539)
14978         Move markers on insertion so that any buttons inserted don't end up in
14979         the next part of a multipart message.
14980         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
14981         (rmail-mime-bulk-handler): Optionally handle images.
14982         (rmail-mime-image): New button action.
14983         (rmail-mime-image-handler): New function.
14984         (rmail-mime-mode): New mode.
14985         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
14987 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14989         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
14990         than just dropping elements from it (bug#4504).
14992         * term.el (term-set-scroll-region): Don't move cursor any more.
14993         (term-handle-ansi-escape): Call term-goto here instead.
14994         Suggested by Ivan Kanis <apple@kanis.eu>.
14996         * term.el: Require CL.
14997         (term-ansi-reset): New function.
14998         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
14999         (term-handle-colors-array): Simplify.
15001 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
15003         * allout.el (allout-overlay-interior-modification-handler)
15004         (allout-obtain-passphrase):
15005         * epa-file.el (epa-file-write-region):
15006         * ps-print.el (ps-begin-job):
15007         * vc-hooks.el (vc-toggle-read-only):
15008         * vc-rcs.el (vc-rcs-rollback):
15009         * vc-sccs.el (vc-sccs-rollback):
15010         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15011         (vc-version-diff, vc-revert, vc-rollback):
15012         * wdired.el (wdired-check-kill-buffer):
15013         * emacs-lisp/authors.el (authors):
15014         * net/socks.el (socks-open-connection):
15015         * net/zeroconf.el (zeroconf-service-add-hook):
15016         * obsolete/vc-mcvs.el (vc-mcvs-register):
15017         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15018         (gdb-select-frame):
15019         * progmodes/grep.el (lgrep, rgrep):
15020         * progmodes/idlw-help.el (idlwave-help-check-locations)
15021         (idlwave-help-html-link, idlwave-help-assistant-open-link):
15022         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15023         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15024         (reftex-toc-rename-label): Fix typos in error messages.
15026         * dired-aux.el (dired-do-shell-command): Reflow docstring.
15027         (dired-copy-how-to-fn): Doc fix.
15028         (dired-files-attributes, dired-read-shell-command):
15029         Fix typos in docstrings.
15031         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15032         (dired-x-find-file-other-window): Reflow docstrings.
15033         (dired-omit-marker-char, dired-read-shell-command)
15034         (dired-x-submit-report): Fix typos in docstrings.
15036         * shell.el (shell-mode-hook):
15037         * view.el (View-scroll-line-forward):
15038         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15039         Fix typos in docstrings.
15041         * net/dig.el (dig-invoke): Fix typo in docstring.
15042         (query-dig): Reflow docstring.
15044         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15045         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15046         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15047         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15048         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15049         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15050         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15051         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15052         (idlwave-completion-map, idlwave-current-indent)
15053         (idlwave-custom-ampersand-surround, idlwave-customize)
15054         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15055         (idlwave-define-abbrev, idlwave-determine-class-special)
15056         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15057         (idlwave-end-block-reg, idlwave-end-of-statement)
15058         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15059         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15060         (idlwave-explicit-class-listed, idlwave-file-header)
15061         (idlwave-fill-paragraph, idlwave-find-class-definition)
15062         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15063         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15064         (idlwave-in-quote, idlwave-indent-action-table)
15065         (idlwave-indent-expand-table, idlwave-indent-line)
15066         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15067         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15068         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15069         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15070         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15071         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15072         (idlwave-outlawed-buffers, idlwave-popup-select)
15073         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15074         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15075         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15076         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15077         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15078         (idlwave-statement-type, idlwave-struct-skip)
15079         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15080         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15081         (idlwave-what-module-find-class): Fix typos in docstrings.
15082         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15083         (idlwave-calculate-cont-indent, idlwave-expand-equal)
15084         (idlwave-find-module, idlwave-find-structure-definition)
15085         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15086         (idlwave-list-load-path-shadows, idlwave-next-statement)
15087         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15088         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15089         (idlwave-template): Reflow docstrings.
15091         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15092         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15093         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15094         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15095         (idlwave-shell-display-line, idlwave-shell-display-wframe)
15096         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15097         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15098         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15099         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15100         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15101         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15102         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15103         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15104         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15105         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15106         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15107         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15108         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15109         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15110         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15111         Fix typos in docstrings.
15112         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15113         (idlwave-shell-hide-output, idlwave-shell-mode)
15114         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15115         Reflow docstrings.
15117         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15119 2009-09-24  Ivan Kanis  <apple@kanis.eu>
15121         * term.el (term-bold-attribute): New var.
15122         (term-handle-colors-array): Use it.
15124 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
15126         * progmodes/gdb-mi.el (gdb-version): New variable.
15127         (gdb-non-stop-handler): Set gdb-version.
15128         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15129         Condition "--thread" option on gdb-version.
15130         (gdb-invalidate-threads): Remove unused argument.
15132 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15134         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15135         to looking-back to avoid ridiculous slow down in large files (bug#4511).
15137 2009-09-23  Glenn Morris  <rgm@gnu.org>
15139         * mail/rmail.el (rmail-reply): Don't try to add a References header when
15140         replying to mail without References or Message-Id.  (Bug#4525)
15142 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
15144         * term/ns-win.el (ns-reg-to-script): New variable.
15146 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
15148         * epg.el (epg-wait-for-status): Preserve existing 'error results.
15150 2009-09-22  Sam Steingold  <sds@gnu.org>
15152         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
15153         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15154         to 1 because hg returns status 1 when nothing is found.
15155         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
15157 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15159         * textmodes/fill.el: Convert to utf-8 encoding.
15160         (fill-french-nobreak-p): Remove redundant » and « inherited from our
15161         pre-Unicode days.
15163         * add-log.el (change-log-fill-forward-paragraph): New function.
15164         (change-log-mode): Use it so fill-region DTRT.
15165         Set fill-indent-according-to-mode here rather than in
15166         change-log-fill-paragraph.
15167         (change-log-fill-paragraph): Remove.
15169 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
15171         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15172         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
15174 2009-09-22  Glenn Morris  <rgm@gnu.org>
15176         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15177         the scroll-bar scroll the calendar window rather than the buffer.
15179         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15180         commands that move point (as opposed to scrolling).
15182         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15184         * emacs-lisp/elint.el (elint): New custom group.
15185         (elint-log-buffer): Make it a defcustom.
15186         (elint-scan-preloaded, elint-ignored-warnings)
15187         (elint-directory-skip-re): New options.
15188         (elint-builtin-variables): Doc fix.
15189         (elint-preloaded-env): New variable.
15190         (elint-unknown-builtin-args): Add an entry for encode-time.
15191         (elint-extra-errors): Make it a variable rather than a constant.
15192         (elint-preloaded-skip-re): New constant.
15193         (elint-directory): Skip files matching elint-directory-skip-re.
15194         (elint-features): New variable, local to linted buffers.
15195         (elint-update-env): Initialize elint-features.  Possibly add
15196         elint-preloaded-env to the buffer's environment.
15197         (elint-get-top-forms): Bind elint-current-pos, for log messages.
15198         Skip quoted forms.
15199         (elint-init-form): New function, extracted from elint-init-env.
15200         Make non-list forms a warning rather than an error.
15201         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
15202         easy-menu-define, put that adds an error-condition, and provide.
15203         When requiring cl, also require cl-macs.  Really require cl, to handle
15204         some cl macros.  Store required libraries in the list elint-features,
15205         so as not to re-load them.  Treat cc-require like require.
15206         (elint-init-env): Call elint-init-form to do the work.
15207         Handle eval-and-compile and such like.
15208         (elint-add-required-env): Do not clear messages.
15209         (elint-special-forms): Add handlers for function, defalias, if, when,
15210         unless, and, or.
15211         (elint-form): Add optional argument to ignore elint-special-forms,
15212         useful to prevent recursive calls from handlers.  Doc fix.
15213         Respect elint-ignored-warnings.
15214         (elint-form): Respect elint-ignored-warnings.
15215         (elint-bound-variable, elint-bound-function): New variables.
15216         (elint-unbound-variable): Respect elint-bound-variable.
15217         (elint-get-args): Respect elint-bound-function.
15218         (elint-check-cond-form): Add some simple handling for (f)boundp and
15219         featurep tests.
15220         (elint-check-defalias-form): New handler.
15221         (elint-check-let-form): Make an empty let a warning rather than an
15222         error.
15223         (elint-check-setq-form): Make an empty setq a warning rather than an
15224         error.  Respect elint-ignored-warnings.
15225         (elint-check-defvar-form): Accept null doc-strings.
15226         (elint-check-conditional-form): New handler.  Does some simple-minded
15227         checking of featurep and (f)boundp tests.
15228         (elint-put-function-args): New function.
15229         (elint-initialize): Use elint-scan-doc-file rather than
15230         elint-find-builtin-variables.  Use elint-put-function-args.
15231         Possibly scan preloaded-file-list.
15232         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15233         extend to handle functions as well.
15235 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
15237         * linum.el (linum-delete-overlays, linum-update-window):
15238         Do not modify the right margin.  (Bug#3971)
15240 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
15242         * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
15243         nxml-mode instead of xml-mode.
15245 2009-09-21  Kevin Ryde  <user42@zip.com.au>
15247         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
15249 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15251         * net/dig.el (dig-mode): Use define-derived-mode.
15253 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
15255         * vc-dispatcher.el (vc-do-command): Return the process object in
15256         the asynchronous case.  Use when instead of if.  Do not run
15257         vc-exec-after to display a message if not enabled.  (Bug#4463)
15259         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15260         properties to the stash strings.
15261         (vc-git-stash-list): Return a list of strings.
15262         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15263         (vc-git-stash-show-at-point): New functions.
15264         (vc-git-stash-map): New keymap.
15266         * register.el (ctl-x-r-map): Define the keys here instead of
15267         using autoload.
15269 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
15271         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15272         list, to workaround performance problem (bug#4485).
15274 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
15276         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15278 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
15280         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15281         Document that this option is not recommended to use.
15283 2009-09-19  Glenn Morris  <rgm@gnu.org>
15285         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15286         variable `var'.
15288         * calc/calc-alg.el (var):
15289         * calc/calcalg2.el (var): Define for compiler.
15291 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
15293         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15294         Doc fix (Bug#3932).
15296         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15298         * time-stamp.el (time-stamp-month-dd-yyyy)
15299         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15300         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15301         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15302         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15303         Remove functions that have been obsolete since 1995 (Bug#4436).
15305         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15306         indent buffer only if called interactively (Bug#4452).
15308 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
15309             Eli Zaretskii  <eliz@gnu.org>
15311         This fixes bug#4197 (merged to bug#865, though not identical).
15312         * server.el (server-auth-dir): Add docstring note about FAT32.
15313         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15314         but warn against using them.
15316 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
15318         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15319         older GDB where there is no has_more field.
15321 2009-09-19  Glenn Morris  <rgm@gnu.org>
15323         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15325 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
15327         * files.el (auto-mode-alist): Change default for XML files to nXML
15328         mode (Bug#4169).
15330 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
15332         * server.el (server-ensure-safe-dir): Pass 'integer
15333         to `file-attributes', as suggested.
15335 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15337         * dired-aux.el (dired-query-alist): Remove spurious backslash.
15338         (dired-query): Use read-key.
15340 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
15342         * cus-start.el (ns-use-qd-smoothing): Remove.
15344 2009-09-18  Glenn Morris  <rgm@gnu.org>
15346         * allout.el (top-level): Remove unnecessary progn.
15348         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
15350         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
15351         definition of abbrev table.
15353         * speedbar.el (speedbar-track-mouse):
15354         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
15355         * net/eudc.el (eudc-expand-inline):
15356         * net/newst-backend.el (newsticker--cache-read-feed):
15357         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
15358         condition-case handlers.
15360 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
15362         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
15363         (gdb-var-list): Add an element for has_more field.
15364         (gdb-non-stop-handler): Enable pretty printing for STL containers.
15365         (gdb-var-create-handler, gdb-var-list-children-handler-1)
15366         (gdb-var-update-handler-1): Parse output of dynamic variable
15367         objects (STL containers).
15368         (gdb-var-delete-1): Pass var1 as an explicit second argument.
15369         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
15371         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
15372         gdb-var-list.
15373         (gud-speedbar-buttons): Make node expandable if expression "has more"
15374         children.
15376 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
15378         * startup.el (emacs-quick-startup): Remove variable and all uses.
15379         (command-line): Set `inhibit-x-resources' instead.
15380         (command-line-1): Use `inhibit-x-resources' instead.
15382 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
15384         * subr.el: Fix last change to avoid using the `unless' macro,
15385         which breaks bootstrapping.
15387 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15389         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
15390         extended definitions, in case we reload subr.el after having
15391         loaded CL.
15392         (eval-next-after-load): Mark as obsolete.
15394 2009-09-17  Juri Linkov  <juri@jurta.org>
15396         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
15397         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
15398         (menu-bar-showhide-menu, menu-bar-tools-menu)
15399         (menu-bar-describe-menu, menu-bar-help-menu)
15400         (minibuffer-local-completion-map, minibuffer-local-map):
15401         Fix list quoting.
15403 2009-09-17  Glenn Morris  <rgm@gnu.org>
15405         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
15406         arguments, whether or not it has a handler.
15408         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
15410         * simple.el (hard-newline): Give it a doc-string.
15412         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15413         (lisp-mode-syntax-table): Give them doc-strings.
15415 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
15417         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
15418         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
15419         (menu-bar-options-menu, menu-bar-showhide-menu)
15420         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
15421         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
15422         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
15423         (menu-bar-options-menu, menu-bar-tools-menu)
15424         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
15425         (menu-bar-help-menu):
15426         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
15427         string arguments.
15429         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
15430         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
15431         calls for the menu names and :help.
15433 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15435         * mouse.el (minor-mode-menu-from-indicator): Pay attention
15436         to :minor-mode-function (bug#4455).
15438 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15440         * startup.el (command-line): Initialize the window-system after
15441         processing the command-line.
15443         * textmodes/page.el (what-page): Make sure we don't inf-loop if
15444         page-delimiter matches the empty string.
15446 2009-09-16  Glenn Morris  <rgm@gnu.org>
15448         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
15449         byte-compile-not-obsolete-var.  It's a list now.
15450         (byte-compile-not-obsolete-funcs): New variable.
15451         (byte-compile-warn-obsolete): Don't warn about functions if they are in
15452         byte-compile-not-obsolete-funcs.
15453         (byte-compile-variable-ref, byte-compile-defvar): Update for
15454         byte-compile-not-obsolete-vars name-change and list nature.
15455         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
15456         and variables behind (f)boundp tests.
15457         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
15459 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
15461         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
15463 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15465         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
15466         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
15467         Don't autoload.
15469 2009-09-15  Stephen Eglen  <stephen@gnu.org>
15471         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
15472         the virtual-buffers, use the name of the buffer specified by
15473         find-file-noselect, as the match may be a symlink.  (This was a
15474         problem if the target and the symlink had different names.)
15476 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15478         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
15480         * desktop.el (desktop-path): Check user-emacs-directory.
15482         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
15484         * loadup.el: Use after-load-functions to GC after loading each file.
15485         Remove the explicit GC calls that used to be sprinkled around.
15487         * subr.el (after-load-functions): New hook.
15488         (do-after-load-evaluation): Run it.  Use string-match-p to detect
15489         `obsolete' packages, rather than painfully extracting the relevant
15490         directory name.
15492 2009-09-15  Glenn Morris  <rgm@gnu.org>
15494         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
15495         free variable `doc'.
15497         * dired.el (dired-mode-map): Add menu entry for async shell command.
15499         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
15500         variables, also consider the .elc files, since the .el files are
15501         normally gzipped (subsequent code locates the .el.gz from the .elc).
15503         * calc/calc-prog.el (arglist): Define for compiler.
15505         * calendar/diary-lib.el (diary-display-function): Change the default to
15506         fancy display.
15507         (body): Define for compiler.
15509         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
15510         (byte-compile-file-form, byte-compile-lambda)
15511         (byte-compile-top-level-body, byte-compile-form)
15512         (byte-compile-variable-ref, byte-compile-setq)
15513         (byte-compile-setq-default, byte-compile-body)
15514         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
15515         (batch-byte-compile): Give some more local variables with common names
15516         a "bytecomp-" prefix to avoid masking warnings about free variables.
15518         * startup.el (command-line-1): Give local variables with common names a
15519         distinguishing prefix, so as not to hide free variable warnings during
15520         bootstrap.
15522         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
15523         clever and add a suffix to make a unique name, just let the user decide
15524         whether or not to overwrite it.  If the input is a directory, write the
15525         default filename to that directory.  (Bug#4388)
15526         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
15527         is a filename-as-a-directory.
15529 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15531         * textmodes/page.el (what-page): Don't move to beginning of line.
15532         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
15534 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
15536         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
15538 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
15540         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
15541         * help.el (help-for-help-internal): Add purecopy calls for text.
15543         * vc.el (top): print-log method now takes an optional SHORTLOG
15544         argument.  Add a new method: root.
15545         (vc-root-diff, vc-print-root-log): New functions.
15546         (vc-log-short-style): New variable.
15547         (vc-print-log-internal): Add support for showing short logs.
15549         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
15550         vc-print-root-log and vc-print-root-diff.
15552         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
15553         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
15554         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
15555         short logs.
15557         * vc-cvs.el (vc-cvs-print-log):
15558         * vc-mtn.el (vc-mtn-print-log):
15559         * vc-rcs.el (vc-rcs-print-log):
15560         * vc-sccs.el (vc-sccs-print-log):
15561         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
15562         that is ignored for now.
15564         * vc-mtn.el (vc-mtn-annotate-command):
15565         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
15567 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15569         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
15570         to function-key-map, and give them ascii-character property.
15571         * term/x-win.el (x-alternatives-map):
15572         * term/ns-win.el (ns-alternatives-map):
15573         * term/internal.el (msdos-key-remapping-map):
15574         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
15576 2009-09-14  Glenn Morris  <rgm@gnu.org>
15578         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
15579         temp-buffers (2009-09-12).
15581 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15583         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
15584         the new read-key function.
15586 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
15588         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
15589         is defined (Bug#4405).
15591 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
15593         * recentf.el (recentf-cleanup): Use a hash table to find
15594         duplicates (Bug#4407).
15596 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
15598         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
15599         kp-0 to ascii equivalents (Bug#4325).
15601 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
15603         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
15605         * eshell/em-hist.el:
15606         * eshell/em-dirs.el (eshell-complete-user-reference):
15607         Declare pcomplete functions and variables to avoid compiler warnings.
15609 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
15611         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
15612         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
15613         * eshell/em-alias.el (eshell-aliases-file):
15614         * eshell/em-hist.el (eshell-history-file-name):
15615         Use expand-file-name instead of concat to make file names (Bug#4308).
15617 2009-09-13  Glenn Morris  <rgm@gnu.org>
15619         * ediff-merg.el (ediff-do-merge):
15620         * filesets.el (filesets-run-cmd):
15621         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
15622         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
15623         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
15624         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
15625         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
15626         Replace empty `let's with `progn'.
15628 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15630         * mail/sendmail.el (send-mail-function):
15631         * tooltip.el (tooltip-mode):
15632         * simple.el (transient-mark-mode):
15633         * rfn-eshadow.el (file-name-shadow-mode):
15634         * frame.el (blink-cursor-mode):
15635         * font-core.el (global-font-lock-mode):
15636         * files.el (temporary-file-directory)
15637         (small-temporary-file-directory, auto-save-file-name-transforms):
15638         * epa-hook.el (auto-encryption-mode):
15639         * composite.el (global-auto-composition-mode):
15640         Use custom-initialize-delay.
15641         * startup.el (command-line): Don't explicitly call
15642         custom-reevaluate-setting for all the above vars.
15643         * custom.el (custom-initialize-safe-set)
15644         (custom-initialize-safe-default): Delete.
15646 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15648         * term/x-win.el (x-initialize-window-system):
15649         * term/w32-win.el (w32-initialize-window-system):
15650         * term/ns-win.el (ns-initialize-window-system): Don't call
15651         mouse-wheel-mode since it's enabled globally by default already.
15653         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
15654         actually define the variable, but only silences the byte-compiler.
15655         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
15656         before looking it up.
15657         (mouse-wheel-scroll-amount): Also reset the bindings if this value
15658         is changed.
15660 2009-09-12  Glenn Morris  <rgm@gnu.org>
15662         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
15663         1000.
15664         (elint-add-required-env): Don't beep on error.
15665         (elint-forms): In case of error, return ENV unchanged.
15666         (elint-init-env): Skip non-list forms.
15667         (elint-log): Handle unknown file positions.
15669 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
15671         * epg.el (epg-make-context): Add autoload cookie.
15672         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
15673         (epg-decrypt-string, epg-start-verify, epg-verify-file)
15674         (epg-verify-string, epg-start-sign, epg-sign-file)
15675         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
15676         (epg-encrypt-string, epg-start-export-keys)
15677         (epg-export-keys-to-file, epg-export-keys-to-string)
15678         (epg-start-import-keys, epg-import-keys-from-file)
15679         (epg-import-keys-from-string, epg-start-receive-keys)
15680         (epg-receive-keys, epg-import-keys-from-server)
15681         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
15682         (epg-sign-keys, epg-start-generate-key)
15683         (epg-generate-key-from-file, epg-generate-key-from-string):
15684         Remove autoload cookie.
15686 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
15688         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
15689         reevaluation of trash-directory.
15691         * mwheel.el: Fix last change.
15692         (mouse-wheel-mode): New defvar.
15693         (mouse-wheel-mode): Remove autoload cookie.
15695 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15697         * mwheel.el (mwheel-installed-bindings): New var.
15698         (mouse-wheel-mode): Use it, so as to make sure we really remove all
15699         the bindings we set last time.  Use custom-initialize-delay.
15700         * loadup.el: Load mwheel after term/*-win.el.
15701         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
15702         and mouse-wheel-up-event now that their first evaluation is done
15703         sufficiently late to be correct.
15705         * startup.el (tutorial-directory): Make it a defcustom.
15706         Use custom-initialize-delay rather than eval-at-startup to set it.
15707         * image.el (image-load-path): Make it a defcustom.
15708         Use custom-initialize-delay rather than eval-at-startup to set it.
15709         * subr.el (eval-at-startup): Remove.
15710         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
15712         * subr.el (do-after-load-evaluation): Warn the user after loading an
15713         obsolete package.
15715 2009-09-12  Glenn Morris  <rgm@gnu.org>
15717         * proced.el (proced-mark-alt): Remove alias.
15718         (proced-mode-map): Remove proced-mark-alt.
15720         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
15721         Elint file and directory.  Remove initialization entry.
15723         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
15724         commands.
15725         (elint-current-buffer): Set mode-line-process.
15726         (elint-init-env): Handle define-derived-mode.
15727         Fix declare-function with unspecified arglist.  Guard against odd
15728         defalias statements (eg iso-insert's 8859-1-map).
15729         (elint-add-required-env): Use a temp buffer.
15730         (elint-form): Just print the function/macro name, not the whole form.
15731         Return env unchanged if we fail to parse a macro.
15732         (elint-forms): Guard against parse errors.
15733         (elint-output): New function, to handle batch mode.
15734         (elint-log-message): Add optional argument.  Use elint-output.
15735         (elint-set-mode-line): New function.
15737 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
15739         * emacs-lisp/elp.el (elp-not-profilable): Add more
15740         functions (Bug#4233).
15742 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
15744         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
15745         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
15747 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
15749         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
15750         (gdb-var-list-children): Use json parsing.
15752 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
15754         * progmodes/js.el (js--proper-indentation): Handle the case where
15755         char-before is null.  Reported by Deniz Dogan.
15757 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
15759         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
15761 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
15763         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
15764         (epg-digest-algorithm-alist): Add SHA224.
15765         (epg-context-set-passphrase-callback)
15766         (epg-context-set-progress-callback): Add description about
15767         callback function.
15769 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15771         * custom.el (custom-delayed-init-variables): New var.
15772         (custom-initialize-delay): New function.
15773         * startup.el (command-line): "Re"evaluate all vars in
15774         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
15775         explicitly any more.
15776         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
15777         to avoid creating a ~/.emacs.d at build-time (bug#4347).
15779         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
15781 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
15783         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
15784         (gdb-var-update-handler): Use json parsing.
15786 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
15788         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
15789         decode annotated text, regardless of language environment.  (Bug#2741)
15791 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15793         * Makefile.in (autoloads): Make rmail.el writable as well.
15795 2009-09-11  Glenn Morris  <rgm@gnu.org>
15797         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
15798         loaddefs.el.
15799         * dired.el: Regenerate with extracted autoloads.
15800         * Makefile.in (autoloads): Make dired.el writable.
15802         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
15803         * ibuffer.el: Regenerate with extracted autoloads.
15804         * Makefile.in (autoloads): Make ibuffer.el writable.
15806         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
15807         * version.el (emacs-copyright, emacs-major-version)
15808         (emacs-minor-version): Reformat doc-strings for make-docfile.
15810         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
15811         functions and variables, since they must be stuff specific to some other
15812         platform.
15813         (apropos-print): Make mouse-click message less specific about button.
15815         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
15816         that records where a macro was defined.
15817         * help-fns.el (describe-function-1): Mention if a function has a
15818         compiler-macro.
15819         * help-mode.el (help-function-cmacro): New button.
15821         * locate.el (top-level): Always require dired.
15822         (locate-mode-map): Initialize inside the defvar.
15824         * net/ange-ftp.el (dired-compress-file): Declare.
15825         (ange-ftp-dired-compress-file): Add doc string.
15827         * term/ns-win.el (x-display-name, x-setup-function-keys):
15828         Unify doc-strings with X versions.
15830 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15832         * emulation/crisp.el (crisp-mode-map): Move initialization
15833         into declaration.
15834         (crisp-mode): Use define-minor-mode.
15836         * progmodes/xscheme.el (xscheme-evaluation-commands):
15837         Put a :advertised-binding property rather than using
15838         advertised-xscheme-send-previous-expression.
15839         (advertised-xscheme-send-previous-expression): Declare obsolete.
15840         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
15841         `advertised-undo'.
15842         (crisp-mode): Add corresponding bindings to
15843         undo's :advertised-binding instead.
15844         * dired.el (dired-mode-map): Put a :advertised-binding property rather
15845         than using dired-advertised-find-file.
15846         (dired-advertised-find-file):
15847         * simple.el (advertised-undo):
15848         * wid-edit.el (advertised-widget-backward): Declare obsolete.
15849         (widget-keymap): Put a :advertised-binding property rather
15850         than using advertised-widget-backward.
15851         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
15852         than using advertised-undo.
15853         * tutorial.el (tutorial--default-keys): Adjust accordingly.
15855 2009-09-10  Simon South  <ssouth@slowcomputing.org>
15857         * progmodes/delphi.el (delphi-tab): Indent region when Transient
15858         Mark mode is enabled and region is active; otherwise indent or
15859         insert TAB as usual.
15860         (delphi-mode): Update description of TAB-key binding.
15862 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15864         * subr.el (define-key-rebound-commands): Mark obsolete.
15865         * startup.el (precompute-menubar-bindings): Remove.
15866         (normal-top-level): Remove obsolete code that tried to precompute
15867         menubar bindings.
15868         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
15869         define-key-rebound-commands and precompute-menubar-bindings.
15871 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
15873         * net/imap.el (imap-interactive-login): Better messages.
15874         (imap-open): Fix bug with renamed buffer on reconnect.
15875         (imap-authenticate): Add buffer-local imap-last-authenticator variable
15876         for easier debugging and cleaner code.  On successful (guessed based on
15877         server capabilities) secondary authentication, set imap-state
15878         correctly.
15879         (imap-last-authenticator): Define imap-last-authenticator as a variable
15880         to avoid warnings.
15882 2009-09-10  Glenn Morris  <rgm@gnu.org>
15884         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
15886         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
15887         (byte-compile-file-form-autoload): Don't warn about unknown functions
15888         where the autoload statement comes after the use.
15889         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
15890         that any handlers inside the body (eg require) are in turn respected.
15892         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
15893         effects.
15895         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
15896         and syntax and abbrev tables basic docs, if they don't have any.
15898         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
15900         * international/mule-cmds.el (top-level): Require cl when compiling.
15901         (view-hello-file): Use default-value rather than
15902         default-enable-multibyte-characters.
15904         * progmodes/fortran.el: Move all safe and risky properties into the
15905         defcustoms.
15907         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
15908         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
15909         * mail/undigest.el:
15910         Put autoloads in rmail.el rather than loaddefs.el.
15911         * mail/rmail.el: Regenerate with extracted autoloads.
15913         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
15914         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
15916 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
15918         Reported in thread for Bug#4375.
15919         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
15920         "-data-evaluate-expression" instead of print.
15921         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
15922         (gdb-tooltip-print): Parse output from above MI command.
15923         (gdb): Revert 2009-08-11 change.  User should detach inferior
15924         manually.
15926         Remove the word "separate" from IO functions as inferior
15927         output is now never displayed in the GUD buffer.
15929 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
15931         * startup.el (command-line-normalize-file-name): On Windows and
15932         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
15934 2009-09-10  Juri Linkov  <juri@jurta.org>
15936         * isearch.el (isearch-text-char-description): Propertize escape
15937         character sequences with the `escape-glyph' face.  (Bug#4344)
15939         * simple.el (shell-command): Set asynchronous process filter to
15940         `comint-output-filter'.  (Bug#4343)
15942         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
15943         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
15944         the list.  Move "asm" to the bottom.
15945         (grep-find-ignored-directories): Add `choice' with nil value
15946         to empty the list easily.
15947         (grep-find-ignored-files): New option.
15948         (grep-files-history): Set to nil by default instead of '("ch" "el").
15949         (grep-compute-defaults): Add "<X>" to `grep-template'.
15950         (grep-read-files): Bind new local variables `default-alias' and
15951         `default-extension'.  Use a list of default values for the file prompt.
15952         (lgrep): Add `--exclude=' command line options composed from
15953         `grep-find-ignored-files'.
15954         (rgrep): Add `-name' command line options composed from
15955         `grep-find-ignored-files'.  (Bug#4301)
15957 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15959         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
15960         (bug#4368).
15962 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
15964         * calendar/time-date.el (autoload):
15965         Expand define-obsolete-function-alias into defalias and make-obsolete
15966         for old Emacsen that Gnus supports.
15967         (with-no-warnings): Define it for old Emacsen.
15968         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
15969         is available.
15970         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
15971         float-time is available; suppress compile warning for time-to-seconds.
15973 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
15975         * net/imap.el (imap-message-map): Docstring fix.
15977 2009-09-09  Glenn Morris  <rgm@gnu.org>
15979         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
15980         line numbers too.  (Bug#4374)
15982 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15984         * smerge-mode.el (smerge-remove-props, smerge-refine):
15985         Use with-silent-modifications (bug#4342).
15987         * subr.el (with-silent-modifications): New macro.
15989 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
15991         * files.el (top-level): Require `cl' when compiling.
15993 2009-09-07  Glenn Morris  <rgm@gnu.org>
15995         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
15997         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
15998         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
16000 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
16002         * vc-git.el (vc-git-annotate-command): Use separator to parse
16003         arguments correctly.
16005 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
16007         * proced.el (proced-mode): Doc fix.
16009 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
16011         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16012         lstat fails.
16013         (tramp-do-file-attributes-with-ls): Check for file existence at
16014         remote end.
16015         (tramp-do-file-attributes-with-stat): Likewise.
16016         (tramp-convert-file-attributes): Return nil when attr is nil.
16018 2009-09-05  Glenn Morris  <rgm@gnu.org>
16020         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16021         properties to this button.
16022         (diary-fancy-display): Don't extend the button to the final newline.
16023         (diary-fancy-display-mode): Continue to define "q" as a local key.
16025         * calendar/cal-china.el (holiday-chinese): Make it slightly more
16026         efficient.
16028         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16030         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16031         (byte-compile-dest-file-function): New option.
16032         (byte-compile-dest-file): Doc fix.
16033         Obey byte-compile-dest-file-function.
16034         (byte-compile-cl-file-p): New function.
16035         (byte-compile-eval): Only suppress noruntime warnings about cl functions
16036         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
16037         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16038         than for file being previously loaded.
16039         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16040         (byte-compile-file-form-require): Handle the case where requiring a file
16041         indirectly causes CL to be loaded.
16043 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
16045         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16046         before killing the old buffer, since by the time `kill-buffer' is
16047         run so many buffer variables have been set to nil that it may not
16048         behave as expected.  (Bug#4061)
16050 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
16052         * files.el (find-alternate-file): If the old buffer is modified
16053         and visiting a file, behave similarly to `kill-buffer' when
16054         killing it, thus reverting to the pre-1.878 behavior; see
16055         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16056         for discussion.  Also, consult `buffer-file-name' as a variable
16057         not as a function, for consistency with the rest of the code.
16059 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
16061         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16062         also when adding a new directory.
16064         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
16065         defun.
16067 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16069         * files.el (locate-file-completion-table): Make it provide boundary
16070         information, so partial-completion works better.
16072 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
16074         * mail/footnote.el (Footnote-text-under-cursor):
16075         Check footnote-text-marker-alist before using it (bug#4324).
16077 2009-09-04  Glenn Morris  <rgm@gnu.org>
16079         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16080         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16081         * play/solitaire.el, play/tetris.el:
16082         Remove leading * from defcustom and defface docs.
16084         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16085         necessary.
16086         (diary-fancy-overriding-map): New variable.
16087         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16088         Use view-mode.
16090         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16091         goto-line.
16093 2009-09-03  Glenn Morris  <rgm@gnu.org>
16095         * arc-mode.el (archive-mode):
16096         * dos-fns.el (set-default-process-coding-system):
16097         * man.el (Man-getpage-in-background):
16098         * menu-bar.el (menu-bar-describe-menu):
16099         * server.el (server-process-filter):
16100         * startup.el (command-line):
16101         * tar-mode.el (tar-header-block-tokenize, tar-extract):
16102         * w32-fns.el (set-default-process-coding-system):
16103         * x-dnd.el (x-dnd-handle-file-name):
16104         * international/mule-cmds.el (mule-menu-keymap)
16105         (set-default-coding-systems, language-info-alist, set-language-info)
16106         (set-language-environment, standard-display-european-internal)
16107         (set-locale-environment):
16108         * international/mule-diag.el (mule-diag):
16109         * mail/emacsbug.el (report-emacs-bug):
16110         * mail/rmail.el (rmail-mode):
16111         * mail/sendmail.el (mail-setup):
16112         Use default-value rather than default-enable-multibyte-characters.
16114         * progmodes/f90.el: Move all safe properties into the defcustoms.
16115         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16117         * calendar/appt.el (appt-check):
16118         * calendar/diary-lib.el (diary-set-header, diary-live-p)
16119         (diary-check-diary-file, diary-list-entries)
16120         (diary-include-other-diary-files, diary-simple-display)
16121         (diary-fancy-display, diary-print-entries)
16122         (diary-mark-included-diary-files, diary-make-entry):
16123         Don't call substitute-in-file-name on diary-file.
16125 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
16126             Stefan Monnier  <monnier@iro.umontreal.ca>
16128         * mail/footnote.el (footnote-prefix): Make it a defcustom.
16129         (footnote-mode-map): Move initialization into the declaration.
16130         (footnote-minor-mode-map): Define it rather than changing global-map.
16131         (footnote-mode): Use define-minor-mode.
16133 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
16135         * net/tramp.el (tramp-handle-file-attributes-with-ls)
16136         (tramp-do-file-attributes-with-perl)
16137         (tramp-do-file-attributes-with-stat): Rename from
16138         `tramp-handle-file-attributes-with-*'.
16139         (tramp-handle-file-attributes): Use them.
16140         (tramp-do-directory-files-and-attributes-with-perl)
16141         (tramp-do-directory-files-and-attributes-with-stat): Rename from
16142         `tramp-handle-directory-files-and-attributes-with-*'.
16143         (tramp-handle-directory-files-and-attributes): Use them.
16144         (tramp-method-out-of-band-p): Additional parameter SIZE.
16145         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16146         (tramp-handle-write-region): Use it.
16147         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
16148         (tramp-handle-vc-registered): Check, whether the first run did
16149         return files to be tested.
16150         (tramp-advice-make-auto-save-file-name): Do not call directly
16151         `tramp-handle-make-auto-save-file-name', because this would bypass
16152         the locking mechanism.
16154         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
16155         (file-remote-p, process-file, start-file-process, set-file-times)
16156         (tramp-compat-file-attributes): Compatibility functions shall not
16157         call directly `tramp-handle-*', because this would bypass the
16158         locking mechanism.
16159         (tramp-compat-number-sequence): New defun.
16161 2009-09-02  Glenn Morris  <rgm@gnu.org>
16163         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16164         alias for float-time.
16165         (time-to-number-of-days): In Emacs, use float-time.
16166         * net/newst-backend.el (time-add): Suppress warnings from compat
16167         function.
16168         * time.el (emacs-uptime, emacs-init-time):
16169         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16170         Use float-time rather than time-to-seconds.
16172         * minibuffer.el (completion-initials-expand): Fix typo.
16174         * faces.el (modeline, modeline-inactive, modeline-highlight)
16175         (modeline-buffer-id):
16176         * info.el (info-menu-5): Mark these face aliases as obsolete.
16178 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
16180         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16181         space ...
16182         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16183         no "--thread" option.
16184         (gdb-stopped): Don't print "Switched to thread" message when it is
16185         unchanged.
16187 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16189         * minibuffer.el (completion-try-completion)
16190         (completion-all-completions): Remove ill-defined (and
16191         mistakenly installed and luckily never used nor documented)
16192         `completion-styles' property.
16193         (completion-initials-expand, completion-initials-all-completions)
16194         (completion-initials-try-completion): New functions.
16195         (completion-styles-alist): Add doc to each entry.
16196         Add new `initials' entry.
16198 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
16200         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16201         MI command -var-evaluate-expression.
16202         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16203         and tweak for case of string child.
16204         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
16206 2009-09-01  Glenn Morris  <rgm@gnu.org>
16208         * add-log.el (change-log-date-face, change-log-name-face)
16209         (change-log-email-face, change-log-file-face, change-log-list-face)
16210         (change-log-conditionals-face, change-log-function-face)
16211         (change-log-acknowledgement-face):
16212         * cus-edit.el (custom-invalid-face, custom-rogue-face)
16213         (custom-modified-face, custom-set-face, custom-changed-face)
16214         (custom-saved-face, custom-button-face, custom-button-pressed-face)
16215         (custom-documentation-face, custom-state-face, custom-comment-face)
16216         (custom-comment-tag-face, custom-variable-tag-face)
16217         (custom-variable-button-face, custom-face-tag-face)
16218         (custom-group-tag-face-1, custom-group-tag-face):
16219         * diff-mode.el (diff-header-face, diff-file-header-face)
16220         (diff-index-face, diff-hunk-header-face, diff-removed-face)
16221         (diff-added-face, diff-changed-face, diff-function-face)
16222         (diff-context-face, diff-nonexistent-face):
16223         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16224         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16225         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16226         (Info-title-4-face):
16227         * isearch.el (isearch-lazy-highlight-face):
16228         * log-view.el (log-view-file-face, log-view-message-face):
16229         * paren.el (show-paren-match-face, show-paren-mismatch-face):
16230         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16231         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16232         (cvs-msg-face):
16233         * smerge-mode.el (smerge-mine-face, smerge-other-face)
16234         (smerge-base-face, smerge-markers-face):
16235         * wid-edit.el (widget-documentation-face, widget-button-face)
16236         (widget-field-face, widget-single-line-field-face)
16237         (widget-inactive-face, widget-button-pressed-face):
16238         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16239         (woman-addition-face):
16240         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16241         (eshell-ls-executable-face, eshell-ls-readonly-face)
16242         (eshell-ls-unreadable-face, eshell-ls-special-face)
16243         (eshell-ls-missing-face, eshell-ls-archive-face)
16244         (eshell-ls-backup-face, eshell-ls-product-face)
16245         (eshell-ls-clutter-face):
16246         * eshell/em-prompt.el (eshell-prompt-face):
16247         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
16248         * obsolete/old-whitespace.el (whitespace-highlight-face):
16249         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16250         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16251         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16252         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16253         (antlr-font-lock-literal-face):
16254         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16255         (ebrowse-root-class-face, ebrowse-file-name-face)
16256         (ebrowse-default-face, ebrowse-member-attribute-face)
16257         (ebrowse-member-class-face, ebrowse-progress-face):
16258         * progmodes/make-mode.el (makefile-space-face):
16259         * progmodes/sh-script.el (sh-heredoc-face):
16260         * textmodes/flyspell.el (flyspell-incorrect-face)
16261         (flyspell-duplicate-face):
16262         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
16263         * textmodes/texinfo.el (texinfo-heading-face):
16264         Mark face aliases with "-face" suffix as obsolete.
16266         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16267         compiler.
16269         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16270         (eudc-bob-sound-menu): Use defvar rather than defconst, since
16271         easy-menu-define wants to modify these.
16273         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16275         * net/browse-url.el (browse-url-file-url):
16276         * term/internal.el (dos-codepage-setup):
16277         Use default-value rather than default-enable-multibyte-characters.
16279         * progmodes/etags.el (etags-goto-tag-location):
16280         * progmodes/flymake.el (flymake-highlight-line)
16281         (flymake-goto-file-and-line, flymake-goto-line):
16282         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16283         (gdb-goto-breakpoint):
16284         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16285         * progmodes/python.el (python-find-function)
16286         (python-pdbtrack-track-stack-file):
16287         * progmodes/verilog-mode.el (verilog-surelint-off):
16288         * term/ns-win.el (ns-open-file-select-line):
16289         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16290         Use forward-line rather than goto-line.
16292         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16293         * textmodes/reftex-index.el (reftex-display-index):
16294         * textmodes/reftex-ref.el (reftex-offer-label-menu):
16295         * textmodes/reftex-toc.el (reftex-toc):
16296         Remove unnecessary bindings of default-major-mode (all are followed by
16297         major-mode check and possible mode switch).
16299 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
16301         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16302         Handle watchpoints (bug#4282).
16303         (def-gdb-thread-buffer-command): Enable thread to be selected by
16304         clicking without selecting threads buffer first.
16305         (gdb-current-context-command): Use selected frame so that "up",
16306         "down" etc work in the GUD buffer.
16307         (gdb-update): Find selected frame before rendering stack buffer.
16308         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16310 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16312         * progmodes/sym-comp.el (displayed-completions): Remove.
16313         (symbol-complete): Use minibuffer-complete.
16315 2009-08-31  Glenn Morris  <rgm@gnu.org>
16317         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16319         * apropos.el (apropos-symbols-internal):
16320         Handle (obsolete) face aliases.
16322         * faces.el (describe-face): Adjust the output format to be more like
16323         describe-variable, and to mention (obsolete) face aliases.
16324         Adjust the whitespace so that help-setup-xref works.
16326         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16327         * calendar/diary-lib.el (diary-button-face):
16328         Mark these face aliases as obsolete.
16330         * calendar/calendar.el (calendar-today): Doc fix.
16332 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
16334         * progmodes/gdb-mi.el (gdb-control-all-threads)
16335         (gdb-control-current-thread): Force tool bar update.
16336         (gdb-non-stop-handler): New function.
16337         (gdb-init-1): Use it to test if non-stop mode is supported.
16338         Remove unused gdbmi buffer type.
16340 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
16342         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
16343         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
16345 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
16347         * comint.el (comint-exec-1): Check command is non-null first.
16348         Part of gdb-mi.el change (2009-08-28).
16350 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16352         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
16354 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
16356         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
16357         instead of `dolist' to avoid a recursive require when bootstrapping.
16359 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16361         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
16363         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
16365         * net/imap.el (imap-send-command): Simplify.
16366         (imap-wait-for-tag): point-max -> buffer-size.
16368         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
16370         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
16371         with constant argument.
16373         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
16375         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
16377         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
16378         Change default, since most of our files don't have a history.
16379         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
16380         the user.
16382         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16383         Add comint-run.
16385         * calc/calc.el: Improve commenting convention.
16386         (calc-digit-map, toplevel): Simplify.
16388         * comint.el (comint-insert-input): Be careful to only set point if we
16389         don't delegate to some other command.
16391         * proced.el (proced-signal-list): Make it an alist.
16392         (proced-grammar-alist): Capitalize names.
16393         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
16394         Disable undo manually and make it read-only.
16395         Use completion-annotate-function.
16397         * minibuffer.el (minibuffer-message): If the current buffer is not
16398         a minibuffer, insert the message in the echo area rather than at the
16399         end of the buffer.
16400         (completion-annotate-function): New variable.
16401         (minibuffer-completion-help): Use it.
16402         (completion--embedded-envvar-table): Environment vars are
16403         always case-sensitive.
16405 2009-08-30  Glenn Morris  <rgm@gnu.org>
16407         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
16408         from fortran-current-defun.
16409         (fortran-beginning-of-subprogram): Be more precise about finding the
16410         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
16411         (fortran-end-of-subprogram): Simplify.
16412         (fortran-current-defun): Use fortran-start-prog-re.
16414 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
16416         * subr.el (do-after-load-evaluation): Simplify.
16418 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
16420         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
16422         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
16423         (vc-rcs-print-log): Use it.
16425         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
16427 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16429         * paths.el (abbrev-file-name): Move to abbrev.el.
16430         * abbrev.el (abbrev-file-name): Move from paths.el.
16431         Obey user-emacs-directory.
16432         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
16433         user-emacs-directory.
16434         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
16435         abbrev-file-name and calc-settings-file any more.
16436         * startup.el (command-line): Recompute abbrev-file-name and
16437         abbreviated-home-dir.
16438         (normal-no-mouse-startup-screen): Improve the generic code and get rid
16439         of the special code for when C-h bindings haven't been changed.
16440         (display-startup-echo-area-message): Use with-current-buffer.
16441         (command-line-1): Use a list of strings, rather than a list of lists
16442         of strings for longopts.
16444         * files.el (get-free-disk-space): Use / for default-directory.
16446         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
16447         Use with-current-buffer.
16449         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
16450         Recognize immutable variables like most-positive-fixnum.
16451         (byte-compile-setq-default): Check and warn if trying to assign
16452         to an immutable variable, or a non-variable.
16454         * progmodes/cc-vars.el (c-comment-continuation-stars):
16455         * progmodes/cc-engine.el (c-looking-at-bos):
16456         * progmodes/cc-cmds.el (c-toggle-auto-state)
16457         (c-forward-into-nomenclature, c-backward-into-nomenclature)
16458         (c-comment-line-break-function): Add version of obsolescence.
16460 2009-08-28  Juri Linkov  <juri@jurta.org>
16462         * files.el (magic-fallback-mode-alist): Add ZIP magic number
16463         associated with `archive-mode'.
16465         * image.el (image-type-header-regexps): Use only JPEG magic number
16466         to determine JPEG images, and don't use `image-jpeg-p' because
16467         Emacs can display non-JFIF non-Exif JPEG images.
16469 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
16471         * arc-mode.el (archive-mode):
16472         * emacs-lisp/re-builder.el (re-builder-unload-function):
16473         Protect against the default value of `major-mode' being nil.
16475 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
16477         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
16478         Fix typos in docstrings.
16480         * progmodes/js.el (js--macro-decl-re): Doc fix.
16481         (js--plain-method-re, js--split-name): Refloc docstring.
16482         (js--class-styles, js--make-merged-item, js--splice-into-items):
16483         Fix typos in docstrings; reflow docstrings.
16484         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
16485         (js--variable-decl-matcher, js--inside-pitem-p)
16486         (js--parse-state-at-point, js--get-all-known-symbols)
16487         (js--symbol-history, js-find-symbol, js--js-references)
16488         (js--moz-interactor, js--js-encode-value, js--read-tab):
16489         Fix typos in docstrings.
16491 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16493         * textmodes/reftex.el (reftex-get-file-buffer-force):
16494         * progmodes/verilog-mode.el (verilog-batch-execute-func):
16495         * emulation/viper.el (viper-go-away, viper-set-hooks):
16496         * emacs-lisp/re-builder.el (re-builder-unload-function):
16497         * emacs-lisp/bytecomp.el (byte-compile-file):
16498         * ses.el (ses-unload-function):
16499         * hexl.el (hexl-find-file):
16500         * files.el (normal-mode):
16501         * ehelp.el (with-electric-help):
16502         * autoinsert.el (auto-insert-alist):
16503         * arc-mode.el (archive-mode):
16504         Use (default-value 'major-mode) instead of default-major-mode.
16506         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
16507         * international/mule.el (load-with-code-conversion):
16508         * emacs-lisp/debug.el (debug):
16509         * ediff-vers.el (ediff-rcs-get-output-buffer):
16510         * dired.el (dired-internal-noselect): Don't let-bind
16511         default-major-mode around code that doesn't use it.
16512         E.g. buffer creation via get-buffer-create doesn't use it.
16514 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
16516         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
16517         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
16518         when writing the temp file.  Otherwise, epa-file gets confused.
16519         (tramp-register-file-name-handlers): Make it a defun.  Move also
16520         `epa-file-handler' to the front of `file-name-handler-alist'.
16522 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16524         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
16525         start right after a ^M.
16526         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
16527         (tramp-completion-file-name-regexp-separate)
16528         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
16529         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
16530         Don't modify last-coding-system-used by accident.
16531         (tramp-completion-file-name-handler): Apply the checks here,
16532         instead during registration.
16533         (tramp-register-file-name-handlers): Renamed from
16534         `tramp-register-file-name-handler'.  Register both
16535         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
16536         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
16538 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
16540         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
16541         Remove variable ...
16542         (gdb-init-1, gdb-display-separate-io-buffer)
16543         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
16544         references to it.
16545         (gdb-inferior-io-mode): Use make-comint-in-buffer.
16546         (gdb-inferior-filter): Use comint-output-filter to stop
16547         echoing and remove ^M characters.
16549 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16551         * emulation/viper-init.el (viper-restore-cursor-type):
16552         * emulation/cua-base.el (cua--update-indications):
16553         Replace default-cursor-type with (default-value 'cursor-type).
16555         * mail/sendmail.el (mail-recover-1):
16556         * international/mule-diag.el (describe-current-coding-system-briefly)
16557         (describe-current-coding-system):
16558         * international/mule-cmds.el (select-safe-coding-system)
16559         (select-message-coding-system)
16560         (set-language-environment-coding-systems, set-locale-environment):
16561         * hexl.el (hexl-insert-multibyte-char):
16562         * dos-w32.el (find-buffer-file-type-coding-system):
16563         * simple.el (what-cursor-position):
16564         Replace uses of default-buffer-file-coding-system
16565         with (default-value 'buffer-file-coding-system).
16567         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
16568         Replace uses of default-cursor-in-non-selected-windows
16569         with (default-value 'cursor-in-non-selected-windows).
16570         Use with-current-buffer.
16572         * mail/feedmail.el: Use CL macros.
16573         (feedmail-run-the-queue, feedmail-send-it-immediately):
16574         * dos-w32.el (find-buffer-file-type): Replace uses of
16575         default-buffer-file-type with (default-value 'buffer-file-type).
16577 2009-08-28  Glenn Morris  <rgm@gnu.org>
16579         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
16580         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
16581         Use default-value of major-mode rather than default-major-mode.
16583 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16585         * Makefile.in (update-elcfiles): Report left over elc files.
16587         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
16588         expand-file-name and with-current-buffer.
16589         (mail-get-names, mail-directory): Use with-current-buffer.
16591         * vc.el (vc-read-revision): New function.
16592         (vc-version-diff, vc-merge): Use it.
16594 2009-08-27  Sam Steingold  <sds@gnu.org>
16596         * simple.el (kill-do-not-save-duplicates): New user option.
16597         (kill-new): When it is non-nil, and the new string is the same as
16598         the latest kill, set replace to t to avoid duplicates in kill-ring.
16600 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
16602         * net/tramp.el (tramp-handle-process-file): Do not flush all
16603         caches when `process-file-side-effects' is set.
16604         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
16605         instead of `tramp-find-file-exists-command'.
16606         Unset `process-file-side-effects'.
16608 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
16610         * net/tramp.el (tramp-methods): New method "rsyncc".
16611         (top): Add completion function for "rsyncc".
16612         (tramp-message-show-message): New defvar.
16613         (tramp-message, tramp-error): Use it.
16614         (tramp-do-copy-or-rename-file-directly): Extend check for direct
16615         remote copying.
16616         (tramp-do-copy-or-rename-file-out-of-band): Handle new
16617         `tramp-methods' entry `copy-env' of "rsyncc".
16618         (tramp-vc-registered-read-file-names): New defconst.
16619         (tramp-vc-registered-file-names): New defvar.
16620         (tramp-handle-vc-registered): Implement optimization strategy.
16621         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
16622         (tramp-vc-file-name-handler): New defun.
16623         (tramp-get-ls-command, tramp-get-test-command)
16624         (tramp-get-file-exists-command, tramp-get-remote-ln)
16625         (tramp-get-remote-perl, tramp-get-remote-stat)
16626         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
16628         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
16629         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
16630         timestamps.
16631         (tramp-get-file-property): Check for timestamps in
16632         `tramp-cache-inhibit-cache'.
16633         (tramp-set-file-property): Write timestamp.
16635 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
16637         * language/japan-util.el (japanese-symbol-table): Add entries for
16638         cp932-2-byte.
16640         * international/characters.el: Add category `j' to cp932-2-byte.
16642 2009-08-27  Kenichi Handa  <handa@m17n.org>
16644         * international/fontset.el (build-default-fontset-data): New macro.
16645         (setup-default-fontset): Use build-default-fontset-data for CJK,
16646         tibetan, ethiopic, and ipa.
16648 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16650         * cus-start.el (default-major-mode): Customize `major-mode' instead.
16651         (enable-multibyte-characters): Not customizable any more.
16653         * subr.el (default-mode-line-format, default-header-line-format)
16654         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
16655         (default-direction-reversed, default-truncate-lines)
16656         (default-left-margin, default-tab-width, default-case-fold-search)
16657         (default-left-margin-width, default-right-margin-width)
16658         (default-left-fringe-width, default-right-fringe-width)
16659         (default-fringes-outside-margins, default-scroll-bar-width)
16660         (default-vertical-scroll-bar, default-indicate-empty-lines)
16661         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
16662         (default-fringe-cursor-alist, default-scroll-up-aggressively)
16663         (default-scroll-down-aggressively, default-fill-column)
16664         (default-cursor-type, default-buffer-file-type)
16665         (default-cursor-in-non-selected-windows)
16666         (default-buffer-file-coding-system, default-major-mode)
16667         (default-enable-multibyte-characters): Mark as obsolete.
16669 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
16671         * vc-dir.el (vc-dir-update): Remove debug helper.
16673         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
16675 2009-08-26  Sam Steingold  <sds@gnu.org>
16677         * simple.el (save-interprogram-paste-before-kill): New user option.
16678         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
16679         save the interprogram-paste into kill-ring before overriding it
16680         with the Emacs kill.
16682 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
16684         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
16685         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
16686         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
16687         and move to vc-rcs.el.
16688         (vc-default-next-revision): Rename to vc-rcs-next-revision and
16689         move to vc-rcs.el.
16690         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
16691         (vc-rcs-update-changelog): Remove.
16692         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
16693         and move to vc-rcs.el.
16695         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
16696         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
16697         renaming.
16698         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
16699         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
16700         vc.el, renamed to be RCS specific.
16702         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
16703         New functions.
16704         (vc-cvs-update-changelog): Move here from vc.el.
16706         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
16707         New functions.
16709 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16711         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
16713 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
16715         * vc-git.el (vc-git-register): Use "git add" for directories.
16716         (vc-git-stash, vc-git-stash-show): New functions.
16717         (vc-git-extra-menu-map): Bind them.
16719         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
16720         directory correctly in case the item is a directory itself.
16722         * vc.el: Document the desired behavior for reverted files in the
16723         `added' state.
16724         (vc-default-prettify-state-info): Remove function, unused.
16726         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
16728 2009-08-26  Glenn Morris  <rgm@gnu.org>
16730         * bindings.el (standard-mode-line-format): Reposition dashes in
16731         which-func entry.  (Bug#4217)
16733         * files.el (enable-local-variables, enable-local-eval)
16734         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
16735         the defcustoms.
16736         (auto-mode-alist, ignored-local-variables)
16737         (save-some-buffers-action-alist): Move risky declarations to the
16738         definitions.
16739         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
16740         (font-lock-defaults, format-alist, imenu--index-alist)
16741         (imenu-generic-expression, input-method-alist, minor-mode-alist)
16742         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
16743         (mode-line-modified, mode-line-mule-info, mode-line-position)
16744         (mode-line-process, mode-line-remote, outline-level)
16745         (parse-time-rules, rmail-output-file-alist)
16746         (special-display-buffer-names, vc-mode):
16747         Move risky declarations to the relevant files.
16748         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
16749         (mode-line-modified, mode-line-process, mode-line-position)
16750         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
16751         * font-core.el (font-lock-defaults):
16752         * format.el (format-alist):
16753         * vc-hooks.el (vc-mode):
16754         * window.el (special-display-buffer-names):
16755         * international/mule-cmds.el (input-method-alist):
16756         Define riskiness here (dumped file) rather than in files.el.
16757         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
16758         * imenu.el (imenu-generic-expression, imenu--index-alist):
16759         * outline.el (outline-level):
16760         * time.el (display-time-string):
16761         * calendar/parse-time.el (parse-time-rules):
16762         * mail/rmailout.el (rmail-output-file-alist):
16763         Autoload riskiness here, rather than placing in files.el.
16765 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
16767         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
16769 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
16771         * simple.el (process-file-side-effects): New defvar.
16773         * dired-aux.el (dired-show-file-type):
16774         * vc.el (vc-diff-internal):
16775         * vc-arch.el (vc-arch-diff):
16776         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
16777         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
16778         * vc-git.el (vc-git-registered, vc-git-working-revision)
16779         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
16780         (vc-git--empty-db-p):
16781         * vc-hooks.el (vc-user-login-name):
16782         * vc-svn.el (vc-svn-registered, vc-svn-state)
16783         (vc-svn-dir-extra-headers, vc-svn-find-revision):
16784         * progmodes/grep.el (grep-probe): Let-bind
16785         `process-file-side-effects' with nil.
16787         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
16789         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
16790         daemon.  Replace ping by checking for running service for bluez
16791         and zeroconf.  (Bug#4239)
16793 2009-08-25  Kevin Ryde  <user42@zip.com.au>
16795         * net/dig.el (dig): Add autoload cookie.
16797 2009-08-25  Glenn Morris  <rgm@gnu.org>
16799         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
16800         load-history for absolute file-names.
16801         (byte-compile-file-form-require): Warn about use of the cl package.
16803         * format.el (format-alist): Doc fix.
16805         * play/bubbles.el (top-level): Don't require cl at run-time.
16807         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
16808         run-time cl).
16810 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
16812         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
16813         from cl package.
16814         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
16816 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
16818         * calc/calc-alg.el (math-trig-rewrite)
16819         (math-hyperbolic-trig-rewrite): New functions.
16820         (calc-simplify): Simplify trig functions when asked.
16822 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16824         * diff-mode.el (diff-find-source-location): Avoid goto-line.
16826 2009-08-24  Kenichi Handa  <handa@m17n.org>
16828         * language/ind-util.el (mapthread): Delete it.
16829         (combinatorial): New function.
16830         (indian--puthash-cv): Use combinatorial instead of mapthread.
16832 2009-08-22  Kevin Ryde  <user42@zip.com.au>
16834         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
16835         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
16836         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
16837         Clarify docstring that the value is strings not symbols.
16838         (checkdoc-list-of-strings-p): New function.
16840 2009-08-22  Glenn Morris  <rgm@gnu.org>
16842         * files.el (auto-mode-alist):
16843         * hippie-exp.el (he-concat-directory-file-name):
16844         * lpr.el (lpr-windows-system, printer-name):
16845         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
16846         * ps-print.el (ps-windows-system):
16847         * startup.el (command-line):
16848         * emulation/viper-ex.el (viper-glob-function):
16849         * international/mule-cmds.el (set-language-environment-coding-systems):
16850         * net/ange-ftp.el (ange-ftp-write-region):
16851         * obsolete/fast-lock.el (fast-lock-cache-name):
16852         Remove code for defunct system-types emx, macos, mswindows, next-mach,
16853         unisoft-unix, vax-vms, win32, w32.
16855         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
16856         given name if the pattern is not more specific.
16858         * calendar/lunar.el (lunar-phase-names): New option.
16859         (lunar-phase): Doc fix.
16860         (lunar-cycles-per-year): New constant.
16861         (lunar-index): New function.
16862         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
16863         (lunar-phase-name): Use lunar-phase-names.
16864         (calendar-lunar-phases): Use format.
16865         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
16867         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
16868         Copy imenu-example--name-and-position function here for own use.
16869         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
16871         * bs.el (bs--redisplay):
16872         * cus-edit.el (custom-redraw):
16873         * ibuffer.el (ibuffer-bury-buffer):
16874         * server.el (server-goto-line-column):
16875         * startup.el (command-line-1):
16876         * strokes.el (strokes-xpm-for-stroke):
16877         * term.el (term-display-buffer-line):
16878         * view.el (View-goto-line):
16879         * calc/calc.el (calc-do, calc-trail-buffer):
16880         * play/gamegrid.el (gamegrid-add-score-insecure):
16881         * progmodes/ada-mode.el (ada-compile-goto-error):
16882         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
16883         (ebrowse-select-1st-to-9nth):
16884         * progmodes/cperl-mode.el (cperl-time-fontification):
16885         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
16886         * progmodes/gud.el (gud-display-line):
16887         (idlwave-shell-display-line):
16888         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
16889         * progmodes/make-mode.el (makefile-browser-toggle):
16890         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
16891         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
16892         * textmodes/picture.el (picture-draw-rectangle):
16893         * textmodes/reftex-index.el (reftex-index-goto-letter):
16894         (reftex-select-jump-to-previous):
16895         * textmodes/reftex-sel.el (reftex-find-start-point)
16896         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
16897         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
16898         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
16899         * textmodes/tex-mode.el (tex-compilation-parse-errors):
16900         * textmodes/two-column.el (2C-associated-buffer):
16901         Use forward-line rather than goto-line.
16903         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
16904         goto-line.
16906         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
16907         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
16908         (quick-check-list-to-regexp): Declare.
16910         * progmodes/make-mode.el (makefile-browser-insert-selection):
16911         Use goto-char rather than goto-line.
16913         * progmodes/prolog.el (compilation-error-regexp-alist)
16914         (compilation-forget-errors): Declare.
16916 2009-08-22  Juri Linkov  <juri@jurta.org>
16918         * progmodes/grep.el (lgrep, rgrep): At the beginning
16919         set `dir' to `default-directory' unless `dir' is a non-nil
16920         readable directory.  (Bug#4052)
16921         (lgrep, rgrep): Change a weird way to report an error
16922         from using `read-string' to using `error'.
16923         Instead of using interactive arguments in the function body,
16924         add new argument `confirm'.
16926 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16928         * textmodes/remember.el (remember-buffer):
16929         * progmodes/cperl-mode.el (cperl-vc-header-alist):
16930         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
16931         (icalendar-extract-ical-from-buffer):
16932         * net/newst-treeview.el (newsticker-groups-filename):
16933         * net/newst-backend.el (newsticker-cache-filename):
16934         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
16935         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
16936         (speedbar-add-ignored-path-regexp, speedbar-line-path)
16937         (speedbar-buffers-line-path, speedbar-path-line)
16938         (speedbar-buffers-line-path):
16939         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
16940         (epg-sign-keys):
16941         * epa.el (epa-display-verify-result):
16942         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
16944 2009-08-21  Glenn Morris  <rgm@gnu.org>
16946         * progmodes/js.el (inferior-moz-process): Fix declaration.
16948         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
16950         * obsolete/rnewspost.el (news-mail-reply):
16951         Use goto-char rather than goto-line.
16953         * term/ns-win.el (ns-open-file-select-line):
16954         Use line-beginning-position rather than goto-line.
16956         * apropos.el (apropos-command):
16957         * ehelp.el (electric-helpify):
16958         * printing.el (pr-show-setup):
16959         * strokes.el (strokes-help):
16960         * tutorial.el (tutorial--describe-nonstandard-key)
16961         (tutorial--detailed-help):
16962         * woman.el (woman-mini-help, woman-display-extended-fonts):
16963         * calc/calc-help.el (calc-describe-key):
16964         * emulation/edt.el (edt-electric-helpify):
16965         * international/mule-diag.el (mule-diag):
16966         * play/yow.el (apropos-zippy):
16967         * progmodes/python.el (python-describe-symbol):
16968         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
16969         * textmodes/table.el (*table--cell-describe-mode)
16970         (*table--cell-describe-bindings):
16971         Use help-print-return-message rather than the now obsolete alias.
16973         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
16974         (calendar-cursor-to-visible-date):
16975         * play/5x5.el (5x5-position-cursor):
16976         * play/decipher.el (decipher):
16977         * play/gomoku.el (gomoku-goto-xy):
16978         * play/landmark.el (lm-goto-xy):
16979         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
16980         (mpuz-paint-digit):
16981         Use forward-line, not goto-line.
16983         * mail/rmail.el (rmail-obsolete): Delete custom group.
16984         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
16985         (rmail-remote-password, rmail-remote-password-required):
16986         Remove unneeded :set-after and :set properties.
16988 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
16990         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
16992 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
16994         * loadup.el: Remove leftover macos code.
16996         * vc-git.el (vc-git-annotate-command): Run asynchronously.
16997         Explicitly pass the date format to git blame so that user local
16998         so that the output format can be parsed.
17000 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
17002         * net/dbus.el (top): Don't check for (getenv
17003         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
17005 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
17007         * log-edit.el (log-edit-strip-single-file-name): New var.
17008         (log-edit-insert-changelog): Use it.  Bug#3571
17010 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17012         * subr.el (read-passwd): Use read-key so keypad keys work as well.
17013         Bug#3287
17015         * help.el (help-print-return-message): Rename from
17016         print-help-return-message.
17018         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17019         cvs-mode-map parent hack.
17020         (log-view-mode): Derive from special-mode.
17022         * linum.el (linum-mode): window-size-change-functions is redundant.
17023         Adapt to new window-configuration-change-hook behavior.
17024         (linum-after-size, linum-after-config): Remove.
17026         * imenu.el (imenu-example--name-and-position)
17027         (imenu-example--lisp-extract-index-name)
17028         (imenu-example--create-lisp-index, imenu-example--create-c-index):
17029         Mark as obsolete.
17031         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17032         (inferior-prolog-mode): Use it.
17033         (inferior-prolog-load-file): Reset list of errors.
17035 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
17037         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17039         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17041 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
17043         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17044         is running already.
17046 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17048         * subr.el (listify-key-sequence-1): Use normal syntax since those
17049         integers are nowadays always represented by the same (positive) number
17050         on all platforms.
17051         (read-key-empty-map): New const.
17052         (read-key-delay): New var.
17053         (read-key): New function.
17054         (force-mode-line-update): Use with-current-buffer.
17055         (locate-user-emacs-file): Don't forget to abbreviate the file name.
17056         (start-process-shell-command, start-file-process-shell-command):
17057         Discourage the use of command-args.
17059 2009-08-19  Glenn Morris  <rgm@gnu.org>
17061         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17063 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17065         * simple.el (choose-completion-string): Don't rely on
17066         minibuffer-completing-file-name and ad-hoc checks to decide whether
17067         to continue completion or not.
17069         * minibuffer.el (minibuffer-hide-completions): New function.
17070         (completion--do-completion): Use it.
17071         (completions-annotations): New face.
17072         (completion--insert-strings): Use it.
17073         (completion-pcm--delim-wild-regex): Add docstring.
17074         (completion-pcm--string->pattern): Add support for 0-width delimiters
17075         in completion-pcm--delim-wild-regex.
17077 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17079         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17080         Remove unused var `buffer-modified-p'.
17082         * minibuffer.el (completion--do-completion): Move point for the #b001
17083         case as well (bug#4176).
17084         (minibuffer-complete, minibuffer-complete-word): Don't move point.
17086 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
17088         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
17089         and :session buses.
17091 2009-08-18  Kenichi Handa  <handa@m17n.org>
17093         * international/ucs-normalize.el (ucs-normalize-version):
17094         Change to 1.1.
17095         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17096         (utf-8-hfs): Make it perform normalization on encoding too.
17098         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
17099         (sentence-end-without-space): Delete duplicated chars.
17100         (sentence-end-base): Likewise.
17102         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
17103         (html-mode): Delete duplicated chars from sentence-end-base.
17105         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
17106         (texinfo-mode): Delete duplicated chars from sentence-end-base.
17108 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
17110         * files.el (hack-one-local-variable): If the mode function is for
17111         a minor mode, pass it an argument (Bug#4148).
17113 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
17115         * net/tramp.el (tramp-register-completion-file-name-handler):
17116         Check also for (member 'partial-completion completion-styles).
17118 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
17120         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17121         abbrev (Bug#3943).
17123 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
17125         * progmodes/cperl-mode.el: Merge upstream 6.2.
17126         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17127         (cperl-forward-re): Check cperl-brace-recursing.
17128         (cperl-highlight-charclass): New function.
17129         (cperl-find-pods-heres): Use it.
17130         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
17131         (cperl-beautify-regexp-piece): Fix column calculation.
17132         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
17133         (cperl-beautify-level): Don't process entire regexp.
17134         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17135         calling man.
17136         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17137         (cperl-init-faces): Build a list in the normal way.
17139 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
17141         * calendar/parse-time.el (parse-time-string-chars): Save match
17142         data.
17144 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17146         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17147         (sql-product): Use it.
17148         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17149         (sql-set-product): Add completion.
17150         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17151         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17152         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17153         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17154         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17155         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17156         (sql-highlight-db2-keywords): Remove.
17157         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17158         (sql-highlight-product): Use derived-mode-p.
17159         (sql-set-sqli-buffer): Use with-current-buffer.
17160         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17161         Simplify.
17163         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17165         * term.el: Fix commenting convention, turn comments into docstrings.
17167 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
17169         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17171 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
17173         * calendar/parse-time.el (parse-time-string-chars): Compute using
17174         character classes, to handle non-ascii characters (Bug#3190).
17176 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
17178         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17179         another heredoc if the user adds another < (Bug#3226).
17181         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17182         Don't initialize based on window-system (Bug#4124).
17184         * facemenu.el (facemenu-read-color): Use a completion function
17185         that accepts any defined color, such as RGB triplets (Bug#3677).
17187         * files.el (get-free-disk-space): Change fallback default
17188         directory to /.  Expand DIR argument before switching to fallback.
17189         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17191 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
17193         * files.el (load-library): Doc fix.
17195 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
17197         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
17198         (viper-if-string): Redefine C-s in the minibuffer to insert the last
17199         incremental search string.
17201         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
17202         XEmacs.
17204         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17205         (ediff-merge-region-is-non-clash)
17206         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
17207         Also check if the job is really a merge job.
17209         * ediff.el (ediff-current-file): New function.
17211 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
17213         * progmodes/js.el: Edit docstrings throughout to follow Emacs
17214         conventions.
17215         (js-insert-and-indent): Delete function.
17216         (js-mode-map): Don't bind keys to js-insert-and-indent.
17217         (js-beginning-of-defun): Rename from js--beginning-of-defun.
17218         (js-end-of-defun): Rename from js--end-of-defun.
17219         (js-auto-indent-flag): Delete variable.
17221 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
17223         * progmodes/js.el: Remove proclaim statement.
17224         Defvar which-func-imenu-joiner-function to silence compiler.
17226         * files.el (auto-mode-alist): Use js-mode for .js files.
17228         * progmodes/js2-mode.el: Remove file.
17230         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17232         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17234         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17236 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
17237             Karl Landstrom  <karl.landstrom@brgeight.se>
17239         * progmodes/js.el: New file.
17241 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
17243         * timezone.el (timezone-parse-date): Add ability to understand ISO
17244         basic format (minimal separators) dates in addition to the
17245         already-supported extended format dates.
17247 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
17249         * international/ucs-normalize.el: Add a `coding' file variable.
17251         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17253 2009-08-14  Sam Steingold  <sds@gnu.org>
17255         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
17257 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
17259         * faces.el (help-argument-name): Define it here instead of
17260         help-fns.el, because in daemon mode help-fns.el may be loaded when
17261         faces are still uninitialized (Bug#1078).
17263         * help-fns.el (help-argument-name): Move defface to faces.el.
17265 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
17267         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17268         create buffer with a pty but no process so that GDB can make the
17269         inferior the controlling process.
17271 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
17273         * international/ucs-normalize.el: New file.
17275 2009-08-13  Richard Stallman  <rms@gnu.org>
17277         * mail/rmail.el (rmail-get-attr-names):
17278         Accept an attribute header that is too short.
17280         * mail/rmail.el (rmail-forget-messages):
17281         Ignore nil elt in rmail-message-vector.  Use dotimes.
17283         * progmodes/compile.el (compilation-goto-locus):
17284         Use next-error-move-function.
17286         * simple.el (next-error-move-function): New variable.
17288 2009-08-12  Juri Linkov  <juri@jurta.org>
17290         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17291         always non-nil.  (Bug#4052)
17293         * replace.el (read-regexp): Return empty string when
17294         `default-value' is nil.
17295         (keep-lines-read-args): Don't use empty string as the
17296         default value for `read-regexp'.  (Bug#2495)
17298 2009-08-12  Juri Linkov  <juri@jurta.org>
17300         * international/mule-cmds.el (ucs-insert): Change arguments
17301         from `arg' to `character', `count', `inherit' to be the same
17302         as in `insert-char'.  Doc fix.  (Bug#4039)
17304         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17306 2009-08-12  Juri Linkov  <juri@jurta.org>
17308         * files-x.el: New file.
17310         * files.el: Move code that deals with adding/deleting
17311         file/directory-local variables to files-x.el.
17313         * Makefile.in (ELCFILES): Add files-x.elc.
17315 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
17317         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17318         to use `goto-line'.
17319         (gdb-place-breakpoints, gdb-get-location): Rewritten without
17320         `goto-line'.
17321         (gdb-invalidate-disassembly): Do not refresh upon receiving
17322         'update signal.  Instead, update all disassembly buffers only after
17323         threads list.
17324         (gdb): Send -target-detach when buffer is killed (Bug#3794).
17325         (gdb-starting): Moved -data-list-register-names...
17326         (gdb-stopped): ...here so it's sent when first thread stops.
17327         (gdb-registers-handler-custom): Do nothing if register names are
17328         unknown yet.
17330         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17331         from `gdb-mi.el' to avoid extra tangling.
17333         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
17334         change which breaks `gud-def' definitions used in `gdb'.
17335         (gdb-update-gud-running): No extra fuss for updating frame number.
17337 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17339         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
17340         (describe-language-environment-map, setup-language-environment-map)
17341         (set-coding-system-map): Move initialization into declaration.
17342         (set-language-info-alist): Last arg to define-key-after can be skipped.
17344         * international/quail.el (quail-completion-1): Simplify.
17345         (quail-define-rules): Use slightly more compact code.
17346         (quail-insert-decode-map): Propertize keys, compact columns.
17348         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17349         Add goto-line.
17351 2009-08-10  Miles Bader  <miles@gnu.org>
17353         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
17354         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
17355         (js2-instance-member, js2-private-member, js2-private-function-call)
17356         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
17357         (js2-magic-paren, js2-external-variable):
17358         Remove "-face" suffix from face names.
17359         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
17360         (js2-highlight-undeclared-vars, js2-peek-token)
17361         (js2-parse-function-params, js2-mode-show-errors)
17362         (js2-mode-show-warnings, js2-make-magic-delimiter)
17363         (js2-mode-highlight-magic-parens): Update to use new face names.
17365 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
17367         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
17368         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
17370 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
17372         * subr.el: Provide hashtable-print-readable.
17374         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
17375         hs-c-like-adjust-block-beginning.
17376         (hs-hide-block-at-point): Stop hiding at the beginning of
17377         hs-block-end-regexp (Bug#700).
17379 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
17381         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
17382         a macro.
17383         (gdb-registers-handler-custom): Do not fail when register names
17384         are unavailable.
17386 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
17388         * progmodes/gdb-mi.el (gdb-control-all-threads)
17389         (gdb-control-current-thread): Interactive setters for
17390         `gdb-gud-control-all-threads' to use in menu.
17391         (gdb-show-run-p): Show «Go» when process is not active.
17392         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
17393         gud/thread.xpm and gud/all.xpm.
17395 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
17397         * net/net-utils.el (net-utils-font-lock-keywords): New var.
17398         (nslookup-font-lock-keywords): Make it a variable.
17399         (net-utils-mode): New mode for viewing diagnostic network output.
17400         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
17401         (net-utils-run-simple): New function.
17402         (ifconfig, iwconfig, netstat, arp, route): Use it.
17404 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
17406         * progmodes/gdb-mi.el (gdb-read-memory-custom)
17407         (gdb-memory-set-address, def-gdb-set-positive-number)
17408         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
17409         after changing settings.
17410         (gdb-invalidate-disassembly): Update when first shown.
17411         (gdb-edit-locals-value): Fixed.
17412         (gdb-registers-handler-custom): Print registers in right order and
17413         allow changing register values (only for current thread yet).
17414         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17415         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17416         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17417         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
17418         info in mode name.
17419         (gdb-registers-mode-map): TAB to switch to locals.
17421 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
17423         * mail/rmail.el (rmail-add-mbox-headers)
17424         (rmail-set-message-counters-counter): Search for
17425         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
17427 2009-08-08  Glenn Morris  <rgm@gnu.org>
17429         * Makefile.in (ELCFILES): Update.
17431 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
17433         * mail/sendmail.el (mail-yank-original): Set
17434         buffer-file-coding-system from the one used by the message whose
17435         text is yanked.
17437         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17438         to "windows" when "pgnuplot" is used.
17439         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
17440         call accept-process-output if "pgnuplot" is used.
17441         (calc-graph-init): Don't send -display and -geometry to
17442         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
17443         running "pgnuplot -V" with shell-command-to-string.
17445         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
17446         the default.
17448 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
17450         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
17451         org/org-latex.elc.
17453 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
17455         * vc-dispatcher.el (vc-resynch-window): Update comment.
17457         * term.el (term-handle-ansi-escape): Add comments with the
17458         terminfo capabilities implemented.
17460 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
17462         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
17463         (gdb-var-create-handler): Rewritten using JSON parser.
17464         (gdb-propertize-header): Moved earlier.
17465         (gdb-set-header): Removed to avoid duplication.
17466         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
17467         Refresh disassembly buffers only after threads list have been
17468         update.
17469         (gdb-threads-header, gdb-registers-header): Per-buffer header line
17470         variables.
17472 2009-08-04  Juri Linkov  <juri@jurta.org>
17474         * files.el: Commands to add/delete file/directory-local variables.
17475         (read-file-local-variable, read-file-local-variable-value)
17476         (read-file-local-variable-mode, modify-file-local-variable)
17477         (modify-file-local-variable-prop-line)
17478         (modify-dir-local-variable): New functions.
17479         (add-file-local-variable, delete-file-local-variable)
17480         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
17481         (add-dir-local-variable, delete-dir-local-variable)
17482         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
17483         (copy-dir-locals-to-file-locals-prop-line): New commands.
17485 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
17487         * abbrev.el (insert-abbrev-table-description): Prettify output.
17488         Suggested by Karl Chen.
17490 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
17492         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
17493         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
17494         (gdb-overlay-arrow-position, gdb-thread-position)
17495         (gdb-disassembly-position): Declare variables.
17496         (gdb-wait-for-pending): Function now.
17497         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
17498         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
17499         compilation goes smoothly.
17500         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
17501         (gdb-non-stop-setting): New customization setting which replaces
17502         `gdb-non-stop' so changing it doesn't break active GDB session.
17503         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
17504         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
17505         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
17506         (gdb-show-threads-by-default): New customization options.
17507         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
17508         routines.
17509         (gdb-get-buffer-create): Send buffers update signal when they are
17510         created.
17511         (gdb-invalidate-locals, gdb-invalidate-registers)
17512         (gdb-invalidate-breakpoints)
17513         (gdb-invalidate-threads, gdb-invalidate-disassembly)
17514         (gdb-invalidate-memory): Accept update signal.
17515         (gdb-current-context-command): Use --frame option.
17516         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
17517         Implement `gdb-frame-number' selection logic.
17518         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
17519         whether to show GUD toolbar buttons.
17520         (gdb-thread-exited): Unselect current thread when it exits.
17521         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
17522         (gdb-mark-line): Routine which sets overlay arrow or inverses
17523         video on fringeless displays.
17524         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
17525         to build aligned columns of data in GDB buffers and set text
17526         properties line-by-line.
17527         (gdb-invalidate-breakpoints)
17528         (gdb-breakpoints-list-handler-custom)
17529         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
17530         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
17531         (gdb-registers-handler-custom): Align data columns.
17532         (gdb-locals-handler-custom): Now prints data like in variable
17533         declarations.
17534         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
17535         Removed confusing buttons.
17536         (gdb-invalidate-threads): Append --frame.
17537         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
17538         between breakpoints/threads buffers.
17539         (gdb-set-window-buffer): Now can ignore dedicated windows.
17540         (gdb-propertize-header): Use `gdb-set-window-buffer'.
17541         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
17542         (def-gdb-thread-buffer-gud-command): Replaces
17543         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
17544         for fine thread control.
17545         (gdb-preempt-existing-or-display-buffer): New function used to
17546         display bound buffers without breaking window layout.
17547         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
17548         (gdb-select-frame): New version of `gdb-frames-select' which now
17549         sets `gdb-frame-number' so commands may use --frame option instead
17550         of inner debugger state.
17551         (gdb-frame-handler): Do not set `gdb-frame-number'.
17552         (gdb-threads-mode-map): Select threads with mouse.
17554         * progmodes/gud.el (gdb-gud-context-call): Declare function to
17555         avoid compilation warning.
17556         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
17557         `gdb-show-stop-p`.
17559         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
17560         Argument `key' renamed to `buffer-type'.
17561         (gdb-current-context-buffer-name): Do not add thread info to
17562         buffer name when no thread is selected.
17563         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
17564         command (bug 3794).
17565         (gdb-thread-selected): Handle `=thread-selected' notification.
17566         (gdb-wait-for-pending): New macro to deal with congestion problems.
17567         (gdb-breakpoints-list-handler-custom): Don't fail on pending
17568         breakpoints.
17569         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
17570         This fixes problem similar to one described in bug 3947.
17571         (gud-menu-map): More menu items.
17572         (gdb-init-1): Reset `gdb-thread-number' to nil.
17574         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
17575         non-stop settings.
17577         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
17578         (gdb-current-context-command): Do not append --thread if
17579         `gdb-thread-number' is nil.
17580         (gdb-running-threads-count, gdb-stopped-threads-count): New
17581         variables.
17582         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
17583         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
17584         customization options.
17585         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
17586         GUD commands.
17587         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
17588         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
17589         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
17590         set `gdb-thread-number' and update `gud-running' properly.
17591         (gdb-running): Update threads list when new threads appear.
17592         (gdb-stopped): Support non-stop operation and new thread switching
17593         logic.
17594         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
17595         (gdb-json-partial-output): New set of JSON routines.
17596         (def-gdb-auto-update-trigger): New `signal-list' optional
17597         argument.
17598         (gdb-thread-list-handler-custom): Update `gud-running',
17599         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
17600         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
17601         (gdb-continue-thread, gdb-step-thread): New commands for fine
17602         thread execution control.
17603         (gud-menu-map): New menu items to switch non-stop options.
17604         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
17605         (gdb-send): Mimic RET properly (bug 3794).
17607         * progmodes/gdb-mi.el (gdb-rules-name-maker)
17608         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
17609         gdb-buffer-rules.
17610         (def-gdb-auto-update-handler): New nopreserve optional argument.
17611         (gdb-stack-list-frames-custom): Print stack from top to bottom.
17613         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
17614         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
17615         (gdb-parent-mode): New mode to derive other GDB modes from.
17616         (gdb-display-disassembly-for-thread)
17617         (gdb-frame-disassembly-for-thread): New commands for threads
17618         buffer.
17620         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
17621         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
17622         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
17623         (gdb-update): We now store all GDB buffers in a list so that they
17624         can be updated by traversing a list instead of calling invalidate
17625         triggers explicitly.
17626         (def-gdb-trigger-and-handler): New macro to define trigger-handler
17627         pair for GDB buffer.
17628         (gdb-stack-buffer-name): Add thread information.
17629         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
17630         handle pending triggers.
17631         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
17632         (def-gdb-thread-buffer-simple-command)
17633         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
17634         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
17635         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
17636         New commands which show buffers bound to thread.
17637         (gdb-stack-list-locals-regexp): Removed unused regexp.
17639         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
17640         (gdb-locals-buffer-name, gdb-registers-buffer-name)
17641         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
17642         to (gud-comint-buffer) in *-buffer-name functions
17643         because (gdb-get-target-string) already does that.
17644         (gdb-locals-handler-custom, gdb-registers-handler-custom)
17645         (gdb-changed-registers-handler): Rewritten without regexps.
17647         * progmodes/gdb-mi.el: Basic thread selection support.
17648         (gdb-thread-number): New variable.
17649         (gdb-current-context-command): New macro which adds --thread
17650         option to command.
17651         (gdb-threads-mode-map): Select thread with SPC.
17652         (gdb-thread-list-handler-custom): Mark current thread with overlay
17653         arrow.  Synchronize GDB thread and Emacs thread.
17654         (gdb-select-thread): New command which selects current thread.
17655         (gdb-invalidate-frames, gdb-invalidate-locals)
17656         (gdb-invalidate-registers): Use --thread option.
17658 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
17660         * net/tramp.el (top): Make check for tramp-gvfs loading more
17661         robust.  (Bug#3977)
17662         (tramp-handle-insert-file-contents): `unwind-protect' must be
17663         inside `with-parsed-tramp-file-name'.
17665         * net/tramp-gvfs.el (top): Remove superfluous message when loading
17666         fails.
17668 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
17670         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
17671         directory if CLASSPATH is not set.
17673 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
17675         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
17676         New defconst.
17677         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
17679 2009-08-02  Kevin Ryde  <user42@zip.com.au>
17681         * net/newst-backend.el (newsticker--raw-url-list-defaults):
17682         Update freshmeat link.  Delete newsforge.com as it seems gone.
17684 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
17686         * select.el (x-set-selection): Doc fix (Bug#4021).
17688         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
17690         * help-fns.el (describe-variable): Treat list return values from
17691         dir-locals-find-file properly (Bug#4005).
17693 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
17695         * net/tramp.el (tramp-debug-message): Print also microseconds.
17697 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
17699         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
17700         or END is non-nil.
17701         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
17702         (tramp-get-debug-buffer): Change `outline-regexp' according to new
17703         format.
17705         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
17706         (tramp-get-file-property): Use it.
17708         * autorevert.el (auto-revert-handler): Allow
17709         `auto-revert-tail-mode' for remote files.
17711 2009-08-02  Jason Rumney  <jasonr@gnu.org>
17713         * minibuffer.el (read-file-name): Treat confirm options to
17714         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
17716 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
17718         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
17719         (font-lock-variable-name-face, font-lock-constant-face): Darken
17720         the colors for light backgrounds.
17722 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
17724         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
17725         month names.  (Bug#3987)
17727 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
17729         * simple.el (line-move-finish): Pass whole number to
17730         line-move-to-column.
17731         (line-move-visual): Perform hscroll to the recorded position.
17733 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
17735         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
17737 2009-07-29  Alan Mackenzie  <acm@muc.de>
17739         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
17741 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
17743         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
17744         (gdb-place-breakpoints): Use full path when setting breakpoints.
17746 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
17748         * calc/calc.el (calc-mode-map): Add keybinding for
17749         `calc-transpose-lines'.
17751 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
17753         * calc/calc-misc.el (calc-transpose-lines): New function.
17755 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
17757         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
17758         Simplify check for out-of-band methods.
17759         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
17760         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
17762 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
17764         * vc-git.el (vc-git-checkin): Fix typo.
17766 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
17768         * progmodes/js2-mode.el: New file.
17770 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
17772         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
17773         (gud-menu-map): Adjust tooltip accordingly.
17775 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
17777         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
17778         (vc-bzr-log-view-mode): Adjust log-view-file-re.
17780         * add-log.el (change-log-mode-map): Add a menu.
17782 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
17784         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
17785         function returns nil.
17786         (dbus-handle-event): Handle special return value :ignore.
17787         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
17789 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
17791         * view.el (view-mode-enable): Don't define Helper-return-blurb if
17792         it's not needed.
17794 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
17796         Fix Bug#3888:
17798         * w32-vars.el (x-select-enable-clipboard): Doc fix.
17800         * term/pc-win.el (x-display-name, x-colors)
17801         (x-select-enable-clipboard, x-select-text): Doc fix.
17803         * term/common-win.el (x-display-name, x-colors): Doc fix.
17805         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
17806         (xw-defined-colors): Doc fix.
17808         * w32-fns.el (x-select-text, x-setup-function-keys)
17809         (x-get-selection, x-set-selection): Doc fix.
17811         * term/x-win.el (x-select-text, x-setup-function-keys)
17812         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
17814         * select.el (x-set-selection): Doc fix.
17816 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
17818         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
17819         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
17820         "IsNSSSupportAvailable" method is not available.  Reported by
17821         Steve Youngs <steve@sxemacs.org>.
17823 2009-07-24  Kenichi Handa  <handa@m17n.org>
17825         * international/characters.el: Fix setting of category ?C, ?|, ?K,
17826         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
17827         (build-unicode-category-table): Fix range checks.
17829 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
17831         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
17832         the buffer we try to sync is current when calling
17833         vc-resynch-buffer.
17835         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
17836         not show up to date files.
17838 2009-07-24  Glenn Morris  <rgm@gnu.org>
17840         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
17841         Add autoload cookies.  If necessary, initialize.
17842         (elint-log): Handle non-file buffers.
17843         (elint-initialize): Add optional argument to reinitialize.
17844         (elint-find-builtin-variables): Save excursion.
17846 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
17848         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
17849         for Lint.
17851 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
17853         * vc.el (vc-print-log-internal): New function, split out from ...
17854         (vc-print-log): ... here.
17855         (vc-dir-move-to-goal-column): Declare.
17857         * vc-git.el (vc-git-add-signoff): New variable.
17858         (vc-git-checkin): Use it.
17859         (vc-git-toggle-signoff): New function.
17860         (vc-git-extra-menu-map): Bind it to menu.
17861         (vc-git--run-command-string): Accept a nil FILE argument.
17862         (vc-git-stash-list): New function.
17863         (vc-git-dir-extra-headers): Use it.
17865 2009-07-23  Glenn Morris  <rgm@gnu.org>
17867         * help-fns.el (describe-variable): Describe ignored and risky local
17868         variables in a similar way to that in which we describe safe ones.
17870         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
17871         (byte-compile-output-file-form, byte-compile-output-docform)
17872         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
17873         Give some more local variables with common names a "bytecomp-" prefix,
17874         so as not to shadow things during compilation.
17875         * emacs-lisp/cl-macs.el (load-time-value)
17876         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
17877         `outbuffer' to `bytecomp-outbuffer'.
17879         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
17880         since the next two variables cover them automatically now.
17881         (elint-builtin-variables, elint-autoloaded-variables): New.
17882         (elint-unknown-builtin-args): Remove all members, since they can be
17883         parsed automatically now.
17884         (elint-extra-errors): New.
17885         (elint-env-add-env, elint-env-add-macro): Use cadr.
17886         (elint-current-buffer): Use or.  Change final message.
17887         (elint-get-top-forms): Use line-end-position.
17888         (elint-init-env): Use cadr.  Handle autoload, declare-function,
17889         and defalias.
17890         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
17891         (regexp-assoc): Remove unused function.
17892         (elint-top-form): Set elint-current-pos, to record the start of the
17893         top-level form, for compilation-mode.
17894         (elint-form): Trap errors in macro expansion.  Use dolist.
17895         (elint-unbound-variable): Use elint-builtin-variables and
17896         elint-autoloaded-variables.
17897         (elint-get-args): Use cadr, or.
17898         (elint-check-cond-form): Use dolist, cadr.
17899         (elint-check-condition-case-form): Doc fix.  Use cadr.
17900         Use elint-extra-errors.
17901         (elint-log): New function.
17902         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
17903         Distinguish errors and warnings.
17904         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
17905         Use a bytecomp-style format.
17906         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
17907         (elint-get-log-buffer): Use compilation mode.  Disable undo.
17908         Don't truncate lines.
17909         (elint-initialize): Set builtin and autoloaded variable lists.
17910         Only process elint-unknown-builtin-args if non-nil.
17911         (elint-find-builtin-variables, elint-find-autoloaded-variables):
17912         New functions.
17913         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
17915 2009-07-22  Kevin Ryde  <user42@zip.com.au>
17917         * net/newst-backend.el (newsticker--parse-atom-1.0)
17918         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
17919         (newsticker--parse-rss-1.0):
17920         * progmodes/idlwave.el (idlwave-mode):
17921         * progmodes/idlw-shell.el (idlwave-shell-mode):
17922         * progmodes/vera-mode.el (vera-mode):
17923         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
17924         * progmodes/vhdl-mode.el (vhdl-mode):
17925         * textmodes/table.el (table-generate-source)
17926         (table--warn-incompatibility):
17927         Hyperlink urls in docstrings with URL `...'.
17929 2009-07-22  Glenn Morris  <rgm@gnu.org>
17931         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
17932         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
17933         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
17934         Remove leading * from defcustom docs.
17936         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
17938         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
17939         defcustom doc.
17940         (list-load-path-shadows): Optionally, just return shadows as a string.
17942         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
17944 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
17946         * mail/rmailedit.el (rmail-edit-mode): Use
17947         auto-save-include-big-deletions.
17949         * mail/rmail.el (rmail-variables): Use
17950         auto-save-include-big-deletions.
17952         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
17953         changes.
17955 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
17957         * calc/calc.el (calc-undo-length): New variable.
17958         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
17960 2009-07-21  Richard Stallman  <rms@gnu.org>
17962         * files.el (auto-save-mode): Handle buffer-save-size = -2
17963         for toggling mode.
17965 2009-07-21  Glenn Morris  <rgm@gnu.org>
17967         * textmodes/ispell.el (ispell-looking-back): Update declaration.
17969         * calendar/todo-mode.el (calendar-current-date): Update declaration.
17971         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
17972         silence compiler.  Instead...
17973         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
17974         (ps-print-ensure-fontified): Update for above function name changes.
17976         * printing.el (pr-mh-get-msg-num, pr-mh-show)
17977         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
17978         silence compiler.  Instead...
17979         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
17980         (mh-show-buffer): Only define for compiler.
17981         (pr-mh-current-message): Update for above function name changes.
17983         * files.el (abort-if-file-too-large): Explicitly pass `filename'
17984         as an argument.
17985         (find-file-noselect, insert-file-1): Update for above change.
17987         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
17989         * mail/mailclient.el (mailclient-send-it): Fix message.
17991         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
17992         (edebug-eval): Check cl-debug-env is bound.
17993         (print-level, print-circle): Don't redefine built-in variables.
17995         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
17996         (custom-print-vectors): Remove old comments from doc.
17998         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
17999         (emerge-version): Make the variable an obsolete alias for the
18000         emacs-version variable.  Make the function obsolete.
18001         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18002         Emerge options, rather than merging in into the main Options menu.
18003         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
18004         and auto advance modes.  Disable edit/fast items when not relevant.
18006 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
18008         * term/vt420.el (terminal-init-vt420): Fix typo.
18010 2009-07-20  Sam Steingold  <sds@gnu.org>
18012         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18013         variable (removed from compile.el on 2004-03-11).
18015 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
18017         * files.el (hack-local-variables-filter): Fix last change.
18019 2009-07-19  Juri Linkov  <juri@jurta.org>
18021         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18022         (dir-local-variables-alist): New buffer-local variable.
18023         (hack-local-variables-filter): If variable is not dir-local,
18024         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18025         because file-local overrides dir-local.
18026         (c-postprocess-file-styles) <declare-function>:
18027         Remove obsolete declaration.
18028         (hack-dir-local-variables): Add dir-local variable/value pair to
18029         `dir-local-variables-alist' and remove duplicates.  Doc fix.
18031         * help-fns.el (describe-variable): Add information about
18032         file-local and dir-local variables.
18034 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
18036         * files.el (hack-local-variables-filter): Rewrite.
18038 2009-07-19  Glenn Morris  <rgm@gnu.org>
18040         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18041         Silence compiler by only defining on XEmacs.
18043         * international/mule.el (auto-coding-regexp-alist): Only match
18044         BABYL... at the start of buffer, not of lines.  (Bug#3790)
18046         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18047         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
18048         (cal-menu-context-mouse-menu): Doc fix.
18050         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18052         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
18054 2009-07-18  Juri Linkov  <juri@jurta.org>
18056         * info.el: Virtual Info keyword finder.
18057         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
18058         (Info-finder-file): New variable.
18059         (Info-finder-find-file): New function.
18060         (finder-known-keywords, finder-package-info)
18061         (find-library-name, lm-commentary): Use defvar and
18062         declare-function to silence compiler warnings.
18063         (Info-finder-find-node): New function.
18064         (info-finder): New command.
18066         * subr.el (process-kill-buffer-query-function): New function.
18067         (add-hook)<kill-buffer-query-functions>: Add hook
18068         `process-kill-buffer-query-function'.
18070 2009-07-18  Alan Mackenzie  <acm@muc.de>
18072         * progmodes/cc-mode.el (c-before-hack-hook)
18073         (c-postprocess-file-styles): Give invocation of `c-set-style'
18074         DONT-OVERRIDE parameter of t.  Already set style variables will
18075         thus not be overridden by style settings given by `c-file-syle'.
18077         * files.el (hack-local-variables-filter): Remove entries with
18078         duplicate keys from `file-local-variables-alist'.
18080 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
18082         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18083         x-set-selection if display-selections-p returns nil for the
18084         current frame.
18086 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
18088         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18090 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
18092         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18093         Accept nil in addition to a regexp.
18094         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18095         Accept nil in addition to a regexp.
18096         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18097         buffers that have an associated file.  Handle nil values of
18098         desktop-buffers-not-to-save and desktop-files-not-to-save.
18099         (Bug#3833)
18101         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18102         (x-disown-selection-internal): New functions.
18104 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
18106         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18107         warning.
18108         (gdb-breakpoints-header): Move forward to avoid compiler warning.
18109         (gdb-make-header-line-mouse-map): Remove duplicate definition.
18111 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
18113         * simple.el (set-mark): Revert last change.
18115 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
18117         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18118         rendering of pngs is not possible instead of messaging a long
18119         description.
18121 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
18123         * w32-fns.el (x-selection-owner-p): New function.
18125         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18126         (mouse-yank-at-click, mouse-yank-primary): If
18127         select-active-regions is non-nil, deactivate the mark before
18128         insertion.
18130         * simple.el (deactivate-mark, set-mark): Only save selection if we
18131         own it.
18133 2009-07-17  Kenichi Handa  <handa@m17n.org>
18135         * case-table.el (describe-buffer-case-table): Fix for the case
18136         that KEY is a cons.
18138 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
18140         * vc-rcs.el (vc-rcs-find-file-hook):
18141         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18143 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
18145         * net/tramp.el (tramp-wait-for-output): Handle the case when
18146         commands do not return a newline but a null byte before the shell
18147         prompt.  (Bug#3858)
18149 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
18151         * term/ns-win.el (ns-set-alpha): Don't declare.
18152         (ns-set-background-alpha): Remove function.
18154 2009-07-16  Kevin Ryde  <user42@zip.com.au>
18156         * emacs-lisp/copyright.el (copyright-update): Save match-data across
18157         y-or-n-p, for safety.
18159 2009-07-16  Richard Stallman  <rms@gnu.org>
18161         * files.el (auto-save-mode): If buffer-saved-size is -2,
18162         don't clobber it.
18164         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18165         (rmail-retry-ignored-headers): Add more uninteresting fields.
18167 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
18169         * net/rcirc.el (rcirc): Use history variables.
18170         (rcirc-server-name-history, rcirc-nick-name-history)
18171         (rcirc-server-port-history): New variables.
18173 2009-07-15  Kenichi Handa  <handa@m17n.org>
18175         * international/mule-cmds.el (set-language-environment-charset):
18176         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18177         ignore them.
18179         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18180         Delete unibyte-display.
18182 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
18184         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18186 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
18188         * simple.el (deactivate-mark): Optional argument FORCE.
18189         (set-mark): Use deactivate-mark.
18191         * info.el (Info-search): No need to check transient-mark-mode
18192         before calling deactivate-mark.
18194         * select.el (x-set-selection): Doc fix.
18195         (x-valid-simple-selection-p): Allow buffer values.
18196         (xselect--selection-bounds): Handle buffer values.  Suggested by
18197         David De La Harpe Golden.
18199         * mouse.el (mouse-set-region, mouse-drag-track): Call
18200         copy-region-as-kill before setting the mark, to let
18201         select-active-regions work.
18203 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
18205         * simple.el (deactivate-mark): If select-active-regions is
18206         non-nil, copy the selection data into a string.
18207         (activate-mark): If select-active-regions is non-nil, set the
18208         selection to the current buffer.
18209         (set-mark): Update selection if select-active-regions is non-nil.
18211         * select.el (x-valid-simple-selection-p): Allow buffer values.
18213 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18215         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18216         and more featureful message-mode.
18218 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
18220         * select.el (x-set-selection): Doc fix.
18221         (x-valid-simple-selection-p): Disallow selection data consisting
18222         of a list or cons of integers, since that is not used.
18223         (xselect--selection-bounds, xselect--int-to-cons): New functions.
18224         (xselect-convert-to-string, xselect-convert-to-length)
18225         (xselect-convert-to-filename, xselect-convert-to-charpos)
18226         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18228 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
18230         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18231         output in -break-info command (Emacs bug #3794).
18233 2009-07-14  Glenn Morris  <rgm@gnu.org>
18235         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18236         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18237         (edebug-print-length, edebug-print-level, edebug-print-circle)
18238         (edebug-sit-for-seconds, edebug-view-outside)
18239         (edebug-bounce-point, edebug-set-global-break-condition)
18240         (edebug-Go-nonstop-mode, edebug-trace-mode)
18241         (edebug-Trace-fast-mode, edebug-continue-mode)
18242         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18243         (edebug-visit-eval-list): Doc fixes.
18245         * subr.el (def-edebug-spec): Doc fix.
18247 2009-07-14  Kenichi Handa  <handa@m17n.org>
18249         * international/characters.el: Fix setting of category ?C.
18251 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
18253         * term/ns-win.el (x-select-font): defalias x-select-font to
18254         ns-popup-font-panel instead of generate-fontset-menu.
18256 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
18258         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
18260 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
18262         * arc-mode.el (archive-find-type): Allow for a PK00 string before
18263         the PK\003\004 header (Bug#3770).
18265 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
18267         * pcomplete.el (pcomplete-comint-setup): Check for
18268         shell-dynamic-complete-filename too.
18270 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
18272         * simple.el (temporary-goal-column): Change the value for
18273         line-move-visual to a cons cell.
18274         (line-move-visual): Record or set the window hscroll, if
18275         necessary (Bug#3494).
18276         (line-move-1): Handle cons value of temporary-goal-column.
18278 2009-07-11  Kenichi Handa  <handa@m17n.org>
18280         * international/mule-diag.el (describe-character-set): Don't show
18281         width.
18283 2009-07-10  Sam Steingold  <sds@gnu.org>
18285         * progmodes/compile.el (compilation-mode-font-lock-keywords):
18286         Omake sometimes indents the errors it prints, so allow all
18287         regexps to start with spaces.
18289 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
18291         * cus-edit.el (customize-changed-options-previous-release):
18292         Bump value to 22.1.  (Bug#3804)
18294 2009-07-08  Sam Steingold  <sds@gnu.org>
18296         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18297         to be a cons cell (test . ignored-directory) to selectively ignore
18298         some directories depending on the location of the search.
18300 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
18302         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18303         remote user is root, on the local host.
18304         (tramp-local-host-p): Either the local user or the remote user
18305         must be root.  (Bug#3771)
18307 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
18309         * progmodes/gdb-mi.el (gdb): Remove description of
18310         gdb-use-separate-io-buffer.
18311         (menu): Don't allow toggling of or enable
18312         gdb-use-separate-io-buffer from menubar.
18314 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
18316         * mail/unrmail.el (unrmail): Make sure the message ends with two
18317         newlines (Bug#3769).
18319 2009-07-08  Glenn Morris  <rgm@gnu.org>
18321         * calendar/calendar.el (calendar-current-date): Rework previous change.
18323 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
18325         * calendar/calendar.el (calendar-current-date):
18326         Add an optional argument giving an offset from today.
18328 2009-07-08  Glenn Morris  <rgm@gnu.org>
18330         * tutorial.el (tutorial--describe-nonstandard-key):
18331         Adjust the message for when a key has been unbound.
18332         (help-with-tutorial): Hide the arch-tag.
18334 2009-07-08  Kenichi Handa  <handa@m17n.org>
18336         * international/fontset.el (setup-default-fontset): For each
18337         script, append (not set) font-specs.
18339         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
18340         docstring.
18342 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
18344         * progmodes/gdb-mi.el (gdb-init-1): Move sending
18345         -data-list-register-names to ...
18346         (gdb-starting): ... here because GDB 7.0 requires execution to
18347         have started when using this MI command.
18348         (gdb-set-header): New function to distinguish select and
18349         unselected tabs in gdb buffers.
18350         (gdb-propertize-header): New macro that uses gdb-set-header.
18351         (gdb-breakpoints-header, gdb-locals-header): Use it.
18352         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
18354 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
18356         * Makefile.in (ELCFILES): Remove fadr.elc.
18358 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
18360         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
18361         may contain frame information, so `string-match' should be used.
18362         (gdb-update): Disassembly is invalidated through
18363         `gdb-get-selected-frame'.
18364         (gdb-pad-string): New function to pad string with spaces.
18365         (gdb-invalidate-disassembly): Invalidate only if the buffer
18366         exists.
18367         (gdb-disassembly-handler-custom): Column alignment.
18368         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
18369         placing new ones.
18370         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
18371         end of line, too.
18372         (gdb-frame-handler): Match convention to for disassembly buffer
18373         mode name.
18374         (gdb-stack-list-frames-handler): Rewritten without regexps.
18375         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
18376         not highlight breakpoints without line information.
18377         (gdb-input): Add trailing newline to command.
18379         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
18380         buffer properly.
18381         (gdb-breakpoints-list-handler-custom): Replacement for
18382         `gdb-break-list-handler'.  Using real parser instead of regexps
18383         now.
18384         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
18385         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
18386         to place breakpoints.
18387         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
18388         functions.
18389         (gdb-disassembly-handler-custom): Show overlay arrow.
18390         (gdb-disassembly-place-breakpoints): Show breakpoints in
18391         disassembly buffer.
18392         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
18393         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
18394         instead of parsing breakpoints buffer.  Fixed old menu references
18395         in `gud-menu-map'.
18397         * fadr.el: Remove.
18399         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
18400         (gdb-memory-address): New variable which holds top address of
18401         memory page shown in memory buffer.
18402         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
18403         customization variables.
18404         New functions:
18405         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18406         display the memory buffer.
18407         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
18408         buffer display parameters.
18409         (def-gdb-memory-format, gdb-memory-format-binary)
18410         (gdb-memory-format-octal, gdb-memory-format-unsigned)
18411         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
18412         Functions for setting memory buffer format.
18413         (gdb-memory-unit-word, gdb-memory-unit-halfword)
18414         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18415         unit size used in memory buffer.
18416         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
18417         to next/previous page of memory buffer.
18418         Now using (bindat-get-field) instead of fadr functions.
18420 2009-07-07  Sam Steingold  <sds@gnu.org>
18422         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
18423         non-top-level files.
18425 2009-07-07  Kenichi Handa  <handa@m17n.org>
18427         * international/mule-cmds.el (reset-language-environment): Put
18428         the highset priority to the charset iso-8859-1.
18430 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
18432         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
18433         to the end of the line when locating the block (Bug#700).
18435 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
18437         * net/tramp.el (tramp-handle-write-region): Flush file properties
18438         in case of short track.
18440 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
18442         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
18443         Coded custom representation of verilog error regular expressions
18444         to work with Emacs-22's new format.
18445         (verilog-error-regexp-xemacs-alist): Coded custom representation
18446         of verilog error regular expressions to work with XEmacs format.
18447         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
18448         error recognition into XEmacs.
18449         (verilog-error-regexp-add-emacs): Hook routine to install verilog
18450         error recognition into Emacs-22.
18452 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
18454         * woman.el: Remove stand-alone closing parentheses.
18455         (woman-file-name, woman2-format-paragraphs)
18456         (woman-leave-blank-lines): Code cleanup.
18457         (woman-use-own-frame): Change default to nil.
18458         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
18459         defaults to inherit from default faces.
18460         (woman2-process-escapes): Consume the newline after a stand-alone
18461         filler character (Bug#3651).
18463 2009-07-06  Glenn Morris  <rgm@gnu.org>
18465         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
18466         (top-level): Move provide to the end.
18467         (ffap): Remove defunct URL from custom group.
18469         * subr.el (eval-after-load): Doc fix.
18471 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
18473         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
18474         `calc-embedded-word' is called twice.
18476 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18478         * files.el (find-alternate-file-other-window, find-alternate-file):
18479         Obey confirm-nonexistent-file-or-buffer.
18481 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
18483         * dired-aux.el (dired-show-file-type): Handle remote files.
18485 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
18487         * desktop.el (desktop-globals-to-save):
18488         Add file-name-history (Bug#2750).
18490 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
18492         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
18494 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
18496         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
18497         property on entire argument since this is what eshell-lisp-command
18498         expects.
18500 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
18502         * net/tramp-gvfs.el (tramp-gvfs-methods)
18503         (tramp-gvfs-zeroconf-domain)
18504         (tramp-bluez-discover-devices-timeout): Add version flag.
18505         (tramp-gvfs-handler-mounted-unmounted)
18506         (tramp-gvfs-connection-mounted-p): Polish handling of
18507         incompatibilities between GVFS 0.2 and 1.0.
18509 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
18511         * cus-start.el (all): Add make-pointer-invisible.
18513 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
18515         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
18516         formatted correctly.
18518 2009-07-02  Juri Linkov  <juri@jurta.org>
18520         * info.el: Virtual Info files and nodes.
18521         (Info-virtual-files, Info-virtual-nodes): New variables.
18522         (Info-current-node-virtual): New variable.
18523         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
18524         New functions.
18525         (Info-file-supports-index-cookies): Use Info-virtual-file-p
18526         to check for a virtual file instead of checking a fixed list
18527         of node names.
18528         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
18529         instead of ad-hoc processing of "dir" and (apropos history toc).
18530         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
18531         instead of ad-hoc processing of "dir" and (apropos history toc).
18532         Reread a file when moving from a virtual node.
18533         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
18534         (Info-directory-toc-nodes, Info-directory-find-file)
18535         (Info-directory-find-node): New functions.
18536         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
18537         (Info-history): Move part of code to
18538         `Info-history-find-node'.
18539         (Info-history-toc-nodes, Info-history-find-file)
18540         (Info-history-find-node): New functions.
18541         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
18542         (Info-toc): Move part of code to `Info-toc-find-node'.
18543         (Info-toc-find-node): New function.
18544         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
18545         the current Info file name to references because now the node
18546         "*TOC*" belongs to the same Info manual.
18547         (Info-toc-build): Rename from `Info-build-toc'.
18548         (Info-toc-nodes): Rename input argument `file' to `filename'.
18549         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
18550         instead of ad-hoc processing of ("dir" apropos history toc).
18551         (Info-index-nodes): Use Info-virtual-file-p
18552         to check for a virtual file instead of checking a fixed list
18553         of node names.
18554         (Info-index-node): Add check for `Info-current-node-virtual'.
18555         Raise `save-match-data' higher up the tree to contain
18556         `search-forward' too (bug fix).
18557         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
18558         (Info-virtual-index-nodes): New variable.
18559         (Info-virtual-index-find-node, Info-virtual-index): New functions.
18560         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
18561         (Info-apropos-file, Info-apropos-nodes): New variables.
18562         (Info-apropos-toc-nodes, Info-apropos-find-file)
18563         (Info-apropos-find-node, Info-apropos-matches): New functions.
18564         (info-apropos): Move part of code to `Info-apropos-find-node' and
18565         `Info-apropos-matches'.
18566         (Info-mode-map): Bind "I" to `Info-virtual-index'.
18567         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
18568         for a virtual file instead of checking a fixed list of node names.
18570         * simple.el (async-shell-command): New command.
18572         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
18574         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
18575         instead of `mount-info'.
18577 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
18579         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
18580         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
18582 2009-07-02  Kenichi Handa  <handa@m17n.org>
18584         * international/mule.el (set-keyboard-coding-system): Force *-unix
18585         coding-system to avoid eol conversion.
18587 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
18589         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18590         Add handler for `process-file', `shell-command' and
18591         `start-file-process'.
18592         (tramp-gvfs-handle-shell-command)
18593         (tramp-gvfs-handle-start-file-process)
18594         (tramp-gvfs-handle-process-file): New defuns.
18595         (tramp-synce-list-devices): Simplify check for existence of property.
18597 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
18599         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
18601 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
18603         * language/korean.el (set-language-info-alist): Add korean-cp949,
18604         cp949 to spec.
18606 2009-07-01  Kenichi Handa  <handa@m17n.org>
18608         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
18610         * international/encoded-kb.el: Deleted.
18612         * international/mule.el (set-keyboard-coding-system): Perform the
18613         necessary setup here instead of calling encoded-kbd-setup-display.
18615 2009-07-01  Glenn Morris  <rgm@gnu.org>
18617         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
18619 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
18621         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
18623 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
18625         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
18626         Handle also the 'rename case, when setting file modes.  (Bug#3712)
18627         (tramp-default-file-modes): Remove execute permissions.
18629         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
18630         (top): Add a default for "synce" in `tramp-default-user-alist'.
18631         Add completion function for "synce" method.
18632         (tramp-hal-service, tramp-hal-path-manager)
18633         (tramp-hal-interface-manager, tramp-hal-interface-device):
18634         New defconst.
18635         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
18636         (tramp-synce-list-devices, tramp-synce-parse-device-names):
18637         New defuns.
18639         * net/trampver.el: Update release number.
18641 2009-06-30  Kenichi Handa  <handa@m17n.org>
18643         * international/fontset.el (setup-default-fontset): Add CJK fonts
18644         for symbols and the other miscellaneous characters.
18646         * language/korea-util.el (setup-korean-environment-internal):
18647         Make char-width-table suitable for Korean environments.
18648         (exit-korean-environment): Cancel above.
18650         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
18651         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
18652         setup-function to make char-width-table suitable for respective
18653         environments, and an exit-function to cancel that.
18655         * language/japan-util.el (setup-japanese-environment-internal):
18656         Call use-cjk-char-width-table with arg `ja_JP'.
18658         * international/characters.el (cjk-char-width-table): Delete it.
18659         (cjk-char-width-table-list): New variable.
18660         (use-cjk-char-width-table): New arg local-name.
18661         (use-default-char-width-table): Fix for the case that Emacs is
18662         already using the default char-width-table.
18664 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
18666         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
18667         modes mandatory.  (Bug#3712)
18669 2009-06-29  Alan Mackenzie  <acm@muc.de>
18671         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
18672         correction between the visible width of TABs and their number of bytes.
18674 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
18676         * server.el (server-buffer-done): Prevent kill-buffer from
18677         prompting by clearing the buffer modification flag (Bug#3696).
18679 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
18681         * progmodes/verilog-mode.el (verilog-beg-of-statement)
18682         (verilog-endcomment-reason-re): Support unique case and priority case.
18683         (verilog-basic-complete-re): Support localparam lineup.
18684         (verilog-beg-of-statement-1): Fix for robustness, unique case.
18685         (verilog-set-auto-endcomments): Fix for unique case, always_comb
18686         commenting.
18687         (verilog-leap-to-case-head): Now support *nested* unique &
18688         priority case statements.
18689         (verilog-auto-lineup): Make just declarations the default (as it
18690         had been).
18691         (verilog-leap-to-case-head): Support priority/unique case statements.
18692         (verilog-auto-lineup): Rework to give users radio buttons to
18693         select the various styles of automatic lineup.
18694         (verilog-error-regexp-alist): Rework to support the XEmacs style
18695         of error regular expressions from compilers, lint tools &
18696         simulators.  Note that GNU Emacs has made it impossible for a mode
18697         to load such things.
18698         (electric-verilog-terminate-line, verilog-indent-declaration)
18699         (verilog-auto-wiure): Rework for radio button selection of
18700         auto-lineup selection of specification of auto lineup.
18701         (verilog-beg-of-statement-1): Redesign to support proper operation
18702         in additional code, based on testing with auto-lineup.
18703         (verilog-calculate-indent, assignments & declarations)
18704         (verilog-backward-token): Enhance to support auto-lineup of
18705         assignments & declarations.
18706         (verilog-in-directive-p, verilog-at-struct-p): New function for
18707         easy test of whether we are.
18708         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
18709         to support safe execution at almost anyline.
18710         (verilog-calc-1): Properly support indenting deep inside generate
18711         blocks.
18712         (verilog-init-font): Remove definition & use of verilog-init-font,
18713         as it is redundant with font-lock-defaults.
18714         (verilog-mode): Alter the definition of verilog-font-lock-defaults
18715         to avoid circular calls if syntax-ppss is a function (as is the
18716         case now in 22.x GNU Emacs) as that function would sometimes call
18717         itself, leading to (nearly) infinite recursion.
18718         (verilog-ovm-begin-re, verilog-ovm-end-re)
18719         (verilog-ovm-statement-re, verilog-leap-to-head)
18720         (verilog-backward-token): Add support for OVM macros.  Some are
18721         complete statements, and others open and close scopes like begin
18722         and end.
18723         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
18724         (verilog-defun-level-generate-only-re): Really fix the defun-list
18725         compilation issue.
18726         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
18727         coverpoint, constraint and cross statements.
18728         (verilog-defun-level-list, verilog-generate-defun-level-list)
18729         (verilog-all-defun-level-list): Redo these specifications - it is
18730         too hard to support eval-when compile aggregation of lists also
18731         built at when-compile time.
18732         (verilog-defun-level-list): Place defconsts of variables used in
18733         building regular expressions which are built in eval-when-compile
18734         bodies in the same eval-when-compile body to facilitate compile
18735         without load.
18736         (verilog-beg-block-re-ordered): Support indenting
18737         virtual/protected tasks and functions.
18738         (verilog-defun-level-list, verilog-in-generate-region-p)
18739         (verilog-backward-ws&directives, verilog-calc-1): Speed up
18740         indentation of some module items (generate items).
18741         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
18742         across virtual/protected tasks and functions.
18744 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
18746         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
18747         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
18748         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
18749         in concatenations.  Reported by Yishay Belkind.
18750         (verilog-auto-ascii-enum): Support one-hot state machines in
18751         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
18752         (verilog-auto-inst, verilog-auto-inst-port): Include interface
18753         modport in AUTOINST and add vl-modport for users.  Reported by
18754         David Rogoff.
18755         (verilog-auto-inout-module, verilog-auto-inst)
18756         (verilog-decls-get-interfaces, verilog-insert-definition)
18757         (verilog-insert-one-definition, verilog-read-decls)
18758         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
18759         (verilog-sig-modport, verilog-signals-combine-bus)
18760         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
18761         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
18762         Suggested by David Rogoff.
18763         (verilog-repair-open-comma): Fix non-insertion of comma when
18764         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
18765         (verilog-make-width-expression): Simplify [A-1:0] expression
18766         widths to just {A{1'b0}}.
18767         (verilog-mode): Cleanup checkdoc warnings.
18768         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
18769         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
18770         inputs/outputs or data type.  Suggested by Vasu Kandadi.
18771         (next-error-last-buffer): Fix byte-compiler warning.
18772         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
18773         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
18774         or shell command text during AUTO expansion.  Suggested by Tad Truex.
18775         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
18776         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
18777         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
18778         in AUTOINOUT.  Reported by Matthew Lovell.
18779         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
18780         causing use of <= assignments.  Reported by Alex Reed.
18781         (verilog-read-decls): Fix triand, trior, wand, wor to be
18782         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
18783         (verilog-extended-complete-re): Support import "DPI-C" functions.
18784         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
18785         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
18786         (verilog-insert-date, verilog-insert-year)
18787         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
18788         Windows systems.  Reported by Michael Potts.
18789         (verilog-read-module-name): Fix AUTOINST when the child module
18790         declaration's name is a tick define.  Reported by Elliot Mednick.
18791         (verilog-read-decls): Fix V2K parameter bit subscripts getting
18792         passed to next parameter's definition.  Reported by Bruce T.
18793         (verilog-read-decls): Fix detecting "parameter int" when using
18794         AUTOINSTPARAM.  Reported by Bruce T.
18795         (verilog-goto-defun): Fix goto not finding modules unless first
18796         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
18797         (verilog-mode): Expand -f flag arguments on entry to mode so
18798         verilog-goto-defun will work.  Reported by Lawrence Butcher.
18799         (verilog-getopt): Expand environment variables in -f file
18800         arguments.  Suggested by Lawrence Butcher.
18801         (verilog-set-define): Fix "Symbol's value as variable is void"
18802         when reading enumerations.
18803         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
18804         Suggested by Stephen Peltan.
18805         (verilog-read-defines): Fix reading of enumerations in include
18806         files.  Reported by Steve Peltan.
18808 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
18810         * files.el (trash-directory): Fix defcustom type.
18812 2009-06-28  Juri Linkov  <juri@jurta.org>
18814         * help-fns.el (describe-function-1): Correctly locate adviced
18815         functions in hyperlink (Bug#2438).
18817 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
18819         * files.el (trash-directory): Change default to nil.
18820         (move-file-to-trash): If trash-directory is nil and
18821         system-move-file-to-trash is unbound, perform freedesktop-style
18822         trashing.
18824 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
18826         * files.el (move-file-to-trash): Add freedesktop trash
18827         support (Bug#973).
18829 2009-06-28  Glenn Morris  <rgm@gnu.org>
18831         * autorevert.el (global-auto-revert-non-file-buffers)
18832         (global-auto-revert-mode): Doc fixes.
18834 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
18836         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
18838 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
18840         * faces.el (x-handle-named-frame-geometry): Ensure that we have
18841         opened an X connection before calling x-get-resource (Bug#3194).
18843         * play/doctor.el: Remove reference to obsolete website.
18844         (make-doctor-variables): Correct grammar mistake (Bug#2633).
18846 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
18848         Remove find-file-not-found-hook VC method.  (Bug#2757)
18849         * vc-hooks.el (vc-file-not-found-hook)
18850         (vc-default-find-file-not-found-hook): Remove functions.
18851         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
18852         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
18853         * vc.el:
18854         * vc-hg.el:
18855         * vc-git.el: Do not mention find-file-not-found-hook VC method.
18857 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
18859         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
18860         compatibility function for `looking-back'.
18862         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
18863         Use `ispell-looking-back'.
18865 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
18867         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
18868         rather than `filename'.
18870 2009-06-23  Miles Bader  <miles@gnu.org>
18872         * face-remap.el (text-scale-set): New function.
18874 2009-06-23  Glenn Morris  <rgm@gnu.org>
18876         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
18878         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
18880         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
18882         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
18884         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
18885         Simplify Persian conditionals.
18887         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
18888         variable `filename'.
18890         * comint.el (comint-insert-input): Doc fix.
18892         * Makefile.in (ELCFILES): Fix typo in previous change.
18894 2009-06-23  Miles Bader  <miles@gnu.org>
18896         * cus-start.el: Add entry for `recenter-redisplay'.
18898 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
18900         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
18901         Add an optional argument for the backend, use it instead of
18902         calling vc-backend.
18903         (vc-mode-line): Add an optional argument for the backend.
18904         Pass the backend to vc-state and vc-working-revision.  Move code for
18905         special handling for vc-state being a buffer to ...
18907         * vc-rcs.el (vc-rcs-find-file-hook):
18908         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
18910         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
18911         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
18912         vc-stay-local-p and vc-mode-line calls.
18914         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
18915         (vc-cvs-diff, vc-cvs-annotate-command)
18916         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
18917         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
18918         vc-mode-line calls.
18920         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
18921         direct comparison.
18922         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
18923         backend when calling vc-mode-line.
18924         (vc-register): Do not create a closure for calling the vc register
18925         function, call it directly.
18927 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
18929         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
18930         to make it obvious item can be clicked.
18932         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
18934 2009-06-23  Kenichi Handa  <handa@m17n.org>
18936         * language/korea-util.el (korean-key-bindings): Change the binding
18937         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
18938         same command.
18940 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
18942         Sync with Tramp 2.1.16.
18944         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
18946         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
18947         when a loading of a package fails.  Completion function for rsync
18948         is `tramp-completion-function-alist-ssh'.
18949         (all): Replace all calls of `split-string' and
18950         `tramp-split-string' by `tramp-compat-split-string'.
18951         (tramp-default-method): Use `tramp-compat-process-running-p'.
18952         (tramp-default-proxies-alist): Allow also Lisp forms.
18953         (tramp-remote-path): Add choice "Private Directories".
18954         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
18955         (tramp-domain-regexp): Allow also "-", "_" and ".".
18956         (tramp-end-of-output): Remove newlines, and add "$" at the end.
18957         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
18958         (tramp-debug-message): Insert header line in debug buffer.
18959         (tramp-handle-directory-files-and-attributes-with-stat):
18960         Care about filenames with spaces, or starting with "-".
18961         (tramp-handle-dired-uncache): New defun.
18962         (tramp-handle-insert-directory): Don't flush the directory from
18963         cache, this is handled by `dired-uncache' now.
18964         (tramp-handle-insert-file-contents): Improve error handling.
18965         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18966         Quote `tramp-end-of-output'.
18967         (tramp-action-password): Improve trace message.
18968         (tramp-check-for-regexp): Both echoes must be present, before removing.
18969         (tramp-open-connection-setup-interactive-shell): Trace coding system.
18970         (tramp-compute-multi-hops): Eval cons cells of
18971         `tramp-default-proxies-alist'.
18972         (tramp-maybe-open-connection): Use the same command pattern for
18973         first hop and further hops.
18974         (tramp-wait-for-output): Remove handling of newlines.
18975         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
18976         (tramp-split-string): Remove function.  It is handled in
18977         tramp-compat now.
18979         * net/tramp-cmds.el (tramp-bug):
18980         Recommend `tramp-cleanup-all-connections' in the bug mail.
18982         * net/tramp-compat.el (tramp-compat-split-string)
18983         (tramp-compat-process-running-p): New defuns.
18985         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
18986         for `dired-uncache'.
18988         * net/tramp-gvfs.el: New package.
18990         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18991         Add handler for `dired-uncache'.
18992         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
18994         * net/trampver.el: Update release number.  Make version check fit
18995         for SXEmacs 22.
18997 2009-06-22  Jim Meyering  <meyering@redhat.com>
18999         Automatically handle .xz suffix (XZ-compressed files), too.
19000         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19001         XZ is the successor to LZMA: <http://tukaani.org/xz/>
19003 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
19004             Nick Roberts  <nickrob@snap.net.nz>
19006         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19007         repository (http://sphinx.net.ru/hg/gdb-mi/).
19009 2009-06-22  Glenn Morris  <rgm@gnu.org>
19011         * files.el (dir-locals-collect-mode-variables): Allow for any number of
19012         `mode' and `eval' entries.  (Bug#3430)
19014         * Makefile.in (ELCFILES): Add fadr.elc.
19016         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19017         differing behavior of \n and ^ in strings.  (Bug#3385)
19019         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19021         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19022         property.
19023         (lisp-indent-function): Make it a defcustom.
19025 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
19027         * progmodes/gdb-ui.el: Replace with ...
19028         * progmodes/gdb-mi.el: ... this file.
19029         * progmodes/gud.el: Modify for gdb-mi.el.
19031 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
19033         * fadr.el: New file.
19035 See ChangeLog.14 for earlier changes.
19037 ;; Local Variables:
19038 ;; coding: utf-8
19039 ;; End:
19041   Copyright (C) 2009, 2010  Free Software Foundation, Inc.
19043   This file is part of GNU Emacs.
19045   GNU Emacs is free software: you can redistribute it and/or modify
19046   it under the terms of the GNU General Public License as published by
19047   the Free Software Foundation, either version 3 of the License, or
19048   (at your option) any later version.
19050   GNU Emacs is distributed in the hope that it will be useful,
19051   but WITHOUT ANY WARRANTY; without even the implied warranty of
19052   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19053   GNU General Public License for more details.
19055   You should have received a copy of the GNU General Public License
19056   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.